﻿

.popup {
    box-shadow: 0 7px 5px 2px #999999;
    padding-bottom: 1%;
    border: 1px #FFFFFF solid;
}

.popupHeader {
    width: 98%;
    height: 5%;
    padding-left: 2%;
    padding-top: 1%;
    font-weight: bold;
    font-size: 2.5vh;
    border-bottom: 1px #FFFFFF solid;
}

.popupText {
    width: 92%;
    height: 15%;
    padding-top: 1.5%;
    padding-left: 2%;
    padding-right: 4%;
    padding-bottom: 1.5%;
    font-size: 2.2vh;
}

.postDealPopupText {
    width: 92%;
    height: 15%;
    padding-top: 3%;
    padding-left: 4%;
    padding-right: 4%;
    font-size: 2.2vh;
}

.popupCover {
    width: 100%;
    height: 100%;
    top: 0%;
    left: 0%;
    position: absolute;
    background-color: RGBA(255,255,255, .93);
    z-index: 1010;
}

.popupCover.optionable
{
    background-color: RGBA(255,255,255, .93);
}
.popupCover.zoom
{
    background-color: RGBA(255,255,255, .93);
}

.popupCover.alert
{
    background-color: RGBA(255,255,255, .93);
}

.popupCover.category
{
    background-color: RGBA(255,255,255, .93);
}

.popupClose {
    font-size: 2vh;
    float: right;
    margin-right: 2%;
    margin-top: .75%;
    font-weight: bold;
    background: red;
    color: white;
    border-radius: 2px;
    padding-left: .5%;
    padding-right: .5%;
    cursor: pointer;
}

.categoryPopupLabel {
    width: 60%;
    font-size: 3vh;
    margin-left: 1%;
    margin-top: 1%;
    font-weight: bold;
}

.categoryPopupItem {
    width: 30.5%;
    height: 20%;
    margin-top: 1%;
    margin-left: 1%;
    display: inline-block;
    background: white;
    color: black;
    box-shadow: 4px 4px 7px 3px #555555;
    vertical-align: top;
    border-radius: 2px;
    cursor: pointer;
}

.categoryPopupItem.selected {
    background: grey;
}

.categoryPopupImage {
    float: left;
    max-width: 31.5%;
    margin: 2.5%;
    height: 85%;
}

.categoryPopupName {
    width: 60%;
    margin-top: 1%;
    font-weight: bold;
    font-size: 2.3vh;
    display: inline-block;
}

.categoryPopupDesc {
    width: 60%;
    font-size: 1.8vh;
    display: inline-block;
}

.popupTable {
    display: inline-block;
    width: 98.5%;
    margin-left: 0.5%;
    margin-top: 1%;
    font-size: 10px;
    font-size: 2.6vh;
    border-collapse: collapse;
}

.popupTableFinance {
    display: inline-block;
    width: 98.5%;
    margin-left: 0.5%;
    margin-top: 0.5%;
    font-size: 10px;
    font-size: 2.4vh;
    border-collapse: collapse;
}

.popupTable input {
    font-size: 2.6vh;
    height: auto;
}

.popupTable select {
    font-size: 2.6vh;
    float: right;
}

.sizeFilterPopupLabel {
    width: 9%;
    font-weight: bold;
    display: inline-block;
    vertical-align: middle;
    color: black;
    font-size: 2.2vh;
    text-align: right;
    margin-right: 2%;
    margin-top: 3.5%;
    float: left;
}

.sizeFilterButtonContainer {
    width: 89%;
    height: 100%;
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
}

.sizeFilterPopupButton {
    width: 11.5%;
    height: 99%;
    display: inline-block;
    cursor: pointer;
    margin: 0% .5% 0% .5%;
}

.sizeFilterPopupButtonImage.selected {
    box-shadow: 0px 0px 4px 3px black;
}

.sizeFilterPopupButtonImage {
    height: 70%;
    border-radius: 2px;
    border: 1px solid black;
    background: white;
    position: relative;
}

.sizeFilterPopupButtonText {
    width: 100%;
    height: 25%;
    color: black;
    font-size: 1.8vh;
    text-align: center;
}

.sizeFilterPopupButtonText.disabled {
    color: RGBA(0,0,0,.5);
}

.sizeFilterPopupButtonCover {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1010;
    background: RGBA(170, 170, 170, .5)
}

.trimPopupContent {
    width: 93%;
    height: 82%;
    margin-left: 3%;
    overflow: hidden;
    border-bottom: 1px solid #000000;
}

.trimPopupButton {
    display: inline-block;
    width: 23%;
    height: 5%;
    margin-left: 1%;
    margin-top: 1%;
    border-radius: 2px;
    box-shadow: 0 0 3px 1px #333333;
    font-size: 18px;
    font-size: 2vh;
    text-align: center;
    cursor: pointer;
    overflow: hidden;
    word-break: break-word;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.trimPopupTab {
    display: inline-block;
    width: 47%;
    height: 100%;
    font-size: 18px;
    font-size: 2vh;
    text-align: center;
    cursor: pointer;
    overflow: hidden;
    word-break: break-word;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.submodelPopupContent {
    width: 93%;
    height: 65%;
    margin-left: 3%;
    overflow: hidden;
    border-bottom: 1px solid #000000;
}

.submodelPopupButton {
    display: inline-block;
    width: 23%;
    height: 7%;
    margin-left: 1%;
    margin-top: 1%;
    border-radius: 2px;
    box-shadow: 0 0 3px 1px #333333;
    font-size: 18px;
    font-size: 2vh;
    text-align: center;
    cursor: pointer;
}

.attributeQuestions
{
    display: flex;
    flex-wrap: wrap;
    width:100%;
    height:100%;
}

.attributeDiv
{
    display: inline-block;
    width: 24%;
    height: 33%;
    padding-top: 2%;
    margin-left: 1%;
    box-sizing: border-box;
}

.attributeSelect
{
    width: 100%;
    height: 90%;
    border: 1px solid #000000;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: auto;
}

.attributeSelectItem
{
    padding: .5% 2%;
    font-weight: bold;
    border-top: 1px solid grey;
}

.attributeSelectItem.selected
{
    color:red;
}
.attributeSelectItem.selected
{
    color:red;
}

.infoManufacturer {
    margin-left: 2%;
    font-size: 3.6vh;
}

.infoProductName {
    margin-left: 2%;
    font-size: 3.6vh;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.infoDescriptionTab
{
    display: inline-block;
    width: auto;
    height: 100%;
    border: 1px solid black;
    border-bottom-width: 0px;
    border-radius: 8px 8px 0px 0px;
    font-size: 1.5vh;
    font-weight: bold;
    text-align: center;
    float: left;
    padding: 1% 2% 0 2%;
    cursor: pointer;
}

.infoDescriptionTab.Space
{
    border-width: 0px 0px 1px 0px;
}

.infoDescription {
    display: inline-block;
    width: 90%;
    height: 86%;
    margin-top: 7%;
    border-bottom: 1px solid black;
    font-size: 2vh;
    overflow: hidden;
}

.infoDescription .infoDescriptionCopyright {
	margin-top: 2vh;
	font-style: italic;
}

.documentLabel {
    height: 4%;
    margin-top: 6%;
    cursor: pointer;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.documentImage {
    height: 100%;
    margin-right: 2%;
}

.infoNoView {
    font-size: 2.4vh;
}

.infoMonthly {
    font-size: 3.6vh;
    font-weight: bold;
    color: red;
}

.infoImage {
    width: 95%;
    height: 65%;
}

.infoMedia
{
    position: relative;
    width: 22%;
    height: 44%;
    margin-left: 2%;
    margin-top: 1%;
    display: inline-block;
    text-align: center;
    float: left;
    border: 1px solid lightgrey;
}

.infoMedia.video::after
{
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 25%;
    height: 25%;
    z-index: 1000;
    background-color: transparent;
    background-image: url(/icons/yt_icon_rgb.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.infoMedia > img
{
    pointer-events: none;
}

.infoMedia.selected
{
    border-color: red;
}

.interiorPopup {
    position: absolute;
    width: 60%;
    max-height: 85%;
    top: 13%;
    left: 12%;
    z-index: 999;
}

.exteriorPopup {
    position: absolute;
    width: 40%;
    top: 13%;
    left: 1.5%;
    z-index: 999;
}

.intExtpopupHeader {
    background: white;
    padding-top: 5%;
    display: inline-block;
}

.intExtpopupContent {
    width: 100%;
    height: 90%;
    overflow: hidden;
    background: white;
    font-size: 2vh;
    padding-left: 2%;
}

.exteriorSelect {
    cursor: pointer;
    width: 98%;
    margin-top: 1%;
    border: 1px solid grey;
    color: black;
    overflow:hidden;
}

.colorSquare {
    width: 10%;
    height: 100%;
    padding-top: 1%;
    padding-bottom: 1.5%;
    display: inline-block;
    overflow: hidden;
    position: relative;
    vertical-align: bottom;
}

.colorSquare:after {
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, RGBA(255, 255, 255, .33), RGBA(255, 255, 255, .09));
    -moz-border-radius: 40%;
    -webkit-border-radius: 40%;
    border-radius: 40%;
    position: absolute;
    top: -60%;
    left: -10%;
    content: "";
}

.interiorSelect {
    padding-left: 2%;
    padding-top: 2%;
    cursor: pointer;
    text-align: center;
    display: inline-table;
    color: black;
    float: left;
}

.interiorSelectImage {
    width: 100%;
}

    .interiorSelectImage > canvas {
        border: 2px solid white;
    }

.tooltip {
    position: absolute;
    max-width: 30%;
    min-width: 15%;
    min-height: 2%;
    font-size: 1.8vh;
    color: black;
    background: yellow;
    border: 5px solid red;
    border-radius: 0px 5px 5px 5px;
    z-index: 1009;
    padding: .5%;
}

.helpPopup {
    position: absolute;
    width: 24%;
    padding-top: 4.5%;
    top: 0%;
    left: 75%;
    color: black;
    background: none;
    z-index: 1009;
}

.helpPopupRow {
    width: 95%;
    padding: 1.5% 0% 1.5% 5%;
    font-size: 2.4vh;
    font-weight: bold;
    text-align: left;
    color: white;
    background: grey;
    border-bottom: 1px solid white;
    cursor: pointer;
}

    .helpPopupRow:hover {
        background: green;
    }

.financeRow {
    padding-top: 2%;
    color: #666666;
    overflow: visible;
    white-space: nowrap;
}

.financeLabel {
    display: inline-block;
    width: 44%;
}

    .financeLabel.small {
        width: 20%;
    }

.financeInput {
    width: 49%;
    display: inline-block;
    border: .18vh solid #CCCCCC;
    background: #F4F4F4;
    color: #666666;
    font-size: 15px;
    font-size: 1.8vh;
    text-align: left;
}

.financeInput.small {
    width: 21%;
}

.financeHeader {
    color: #000000;
    padding-top: 2%;
    font-weight: bold;
}


.cashLabel {
    width: 45%;
    display: inline-block;
    color: #666666;
}

.cashHeader {
    color: #000000;
    font-weight: bold;
}

.required {
    color: #FF0000;
    text-align: center;
}

.accRepReqDiv {
    display: inline-block;
    height: 3.3vh;
    width: 100%;
}

.firstSalesPersonReqDiv {
	display: inline-block;
	height: 3.3vh;
	width: 100%;
}

.secondSalesPersonReqDiv {
	display: inline-block;
	height: 3.3vh;
	width: 100%;
}

@media screen and (max-aspect-ratio: 990/550) {
    .popupHeader {
        font-size: 1.389vw;
    }

    .popupText {
        font-size: 1.222vw;
    }

    .postDealPopupText {
        font-size: 1.222vw;
    }

    .popupClose {
        font-size: 1.111vw;
    }

    .categoryPopupLabel {
        font-size: 1.667vw;
    }

    .categoryPopupName {
        font-size: 1.2777vw;
    }

    .categoryPopupDesc {
        font-size: 1vw;
    }

    input {
        height: 14px;
    }

    .popupTable {
        font-size: 1.4444vw;
    }

    .popupTableFinance {
        margin-top: 0.5%;
        font-size: 1.4vh;
    }

        .popupTable input {
            font-size: 1.4444vw;
        }

        .popupTable select {
            font-size: 1.4444vw;
        }

    .sizeFilterPopupLabel {
        font-size: 1.222vw;
    }

    .sizeFilterPopupButtonText {
        font-size: 1vw;
    }

    .trimPopupButton {
        font-size: 1.11vw
    }

    .trimPopupTab {
        font-size: 1.11vw
    }

    .submodelPopupButton {
        font-size: 1.11vw
    }

    .infoManufacturer {
        font-size: 2.0vw;
    }

    .infoProductName {
        font-size: 2.0vw;
    }

    .infoDescriptionTab
    {
        font-size: 1.111vw;
    }

    .infoDescription {
        font-size: 1.11vw;
    }

    .infoNoView {
        font-size: 1.333vw;
    }

    .infoMonthly {
        font-size: 2.0vw;
    }

    .intExtpopupContent {
        font-size: 1.111vw;
    }

    .tooltip {
        font-size: 1vw;
    }

    .helpPopupRow {
        font-size: 1.333vw;
    }

    .financeInput {
        font-size: 1vw;
        border-width: .1vw;
    }

    .accRepReqDiv {
        height: 2vw;
    }

	.firstSalesPersonReqDiv {
		height: 2vw;
	}

	.secondSalesPersonReqDiv {
		height: 2vw;
	}
}
