#td-container{width:100%;display:inline-flex;flex-direction:row;justify-content:center;flex-wrap:wrap}#form_brand select{color:#000;width:250px;padding:10px;border:1px solid #ccc;margin-bottom:15px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:all 0.5s ease;-moz-transition:all 0.5s ease;-o-transition:all 0.5s ease;transition:all 0.5s ease}#form_model select{color:#000;width:250px;padding:10px;border:1px solid #ccc;margin-bottom:15px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:all 0.5s ease;-moz-transition:all 0.5s ease;-o-transition:all 0.5s ease;transition:all 0.5s ease}#form_sub_model select{color:#000;width:250px;padding:10px;border:1px solid #ccc;margin-bottom:15px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:all 0.5s ease;-moz-transition:all 0.5s ease;-o-transition:all 0.5s ease;transition:all 0.5s ease}label{font-size:14px;}#form_brand > label:first-child{font-size:14px;text-transform:uppercase}
.overlay-ww {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10;
    display: none;
    background-color: rgba(0, 0, 0, 0.65);
    position: fixed; /* фиксированное поцизионирование */
    cursor: default; /* тип курсара */
}
.overlay-ww:target {
    display: block;
}

.overlay-ww:target+.popup-ww {
    -webkit-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    -o-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    top: 20%;
}
.close-ww {
   color:#F13E36;
    top: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    position: absolute;
    padding: 0 0 0 4px;
    border: 2px solid #ccc;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
    border-radius: 15px;
    background-color: #F13E36;
    -webkit-box-shadow: 0px 0px 10px #000;
    -moz-box-shadow: 0px 0px 10px #000;
    box-shadow: 0px 0px 10px #000;
    text-decoration: none;
    font: 13px/16px 'Tahoma', Arial, sans-serif;
    font-weight: bold;
    -webkit-transition: all ease .8s;
    -moz-transition: all ease .8s;
    -ms-transition: all ease .8s;
    -o-transition: all ease .8s;
    transition: all ease .8s;
    z-index: 9999;

}
.close-ww:before {
    color: #fff;
    content: "X";
    text-shadow: 0 -1px rgba(0, 0, 0, 0.9);
    font-size: 16px;
}
.close-ww:hover {
    background-color: rgba(252, 20, 0, 0.8);
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);    
}
.popup-ww img {
    width: 100%;
    height: auto;
}
.pic-left-ww, 
.pic-right-ww {
    width: 25%;
    height: auto;
}
.pic-left-ww {
    float: left;
    margin: 5px 15px 5px 0;
}
.pic-right-ww {
    float: right;
    margin: 5px 0 5px 15px;
}
.popup-ww embed, 

.popup-ww h2 { /* заголовок 2 */
    margin: 0;
/*    color: grey;*/
    padding: 5px 0px 10px;
    text-align: center;
    font-weight: 400;
    font-size: 1.2em;
    line-height: 1.3;
}
/* параграфы */
.popup-ww p {margin: 0; padding: 5px 0}

td {
   border-right:1px solid #A8A8A8;
   border-bottom:1px solid #A8A8A8;
   font-size: 14px;
   text-align: center;
   padding: 5px;
}

th {
   border-right:1px solid #A8A8A8;
   border-bottom:1px solid #A8A8A8;
   font-size: 18px;
   padding: 10px;
   background: #D5DCE0;

}


th > span{
   margin-left:   10px;
}


table tr:last-child{
   border-bottom: none;
}


td > span{
   margin: 15px;
}

table td:last-child{
   border-right: none;
}

table th:last-child{
   border-right: none;
}


td > span > a{
   color: red;
}
.popup-test{
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0,.7);
    z-index:99999;
}
.popup-test .popup-body{
    width:1000px;
    height:500px;
    border-radius: 5px;
    background-color: #fff;
    position: absolute;
    top: calc(50% - 300px);
    left:calc(50% - 500px);
    overflow: auto;
}
@media only screen and (max-width: 580px)  {
.popup-test .popup-body{
    width:100%;
    height:100%;
    border-radius: 5px;
    background-color: #fff;
        top: calc(0% - 0px);
    left:calc(0% - 0px);

}
th {
   border-right:1px solid #A8A8A8;
   border-bottom:1px solid #A8A8A8;
   font-size: 14px;
   padding: 10px;
   background: #D5DCE0;

}

}

.popup-test .popup-body .x-close{
   position: absolute;
    top: 10px;
    right: 10px;
}

select#car_brand, select#car_model, select#car_sub_model{
   -webkit-appearance: button;
   -webkit-border-radius: 2px;
   -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
   -webkit-padding-end: 20px;
   -webkit-padding-start: 2px;
   -webkit-user-select: none;
   background-image: url(/catalog/view/theme/BurnEngine/image/15xvbd5.png), -webkit-linear-gradient(#FAFAFA, #F4F4F4 40%, #E5E5E5);
   background-position: 97% center;
   background-repeat: no-repeat;
   border: 1px solid #AAA;
   color: #555;
   font-size:16px;
   margin: 5px;
   overflow: hidden;
   padding: 5px 10px;
   text-overflow: ellipsis;
   white-space: nowrap;
   width: 250px;
}

select#customer_register, select#shipping_address_country_id, select#shipping_address_zone_id, select#shipping_address_city{
   -webkit-appearance: button;
   -webkit-border-radius: 2px;
   -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
   -webkit-padding-end: 20px;
   -webkit-padding-start: 2px;
   -webkit-user-select: none;
   background-image: url(/catalog/view/theme/BurnEngine/image/15xvbd5.png), -webkit-linear-gradient(#FAFAFA, #F4F4F4 40%, #E5E5E5);
   background-position: 97% center;
   background-repeat: no-repeat;
   border: 1px solid #AAA;
   color: #555;
   font-size:14px;
   margin: 5px;
   overflow: hidden;
   padding: 5px 10px;
   text-overflow: ellipsis;
   white-space: nowrap;
   width: 460px;
}