ul.tabs {
    width: 450px;
    height: 80px;
    margin: 0px;
    margin-left: 50px;
    list-style: none;
    overflow: hidden;
  padding: 0;
}
ul.tabs li {
    float: left;
    width: 160px;


}
ul.tabs li a {
    position: relative;
    display: block;
    height: 30px;
    margin-top: 40px;
    padding: 10px 0 0 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    text-align: center;
    text-decoration: none;
    color: #ffffff;
    background: #5E5E5E;
    -webkit-box-shadow: 8px 12px 25px 2px rgba(0,0,0,0.4);
       -moz-box-shadow: 8px 12px 25px 2px rgba(0,0,0,0.4);
            box-shadow: 8px 12px 25px 2px rgba(0,0,0,0.4);
            	border: 0px solid #000000;
    -webkit-transition: padding 0.2s ease, margin 0.2s ease;
       -moz-transition: padding 0.2s ease, margin 0.2s ease;
         -o-transition: padding 0.2s ease, margin 0.2s ease;
        -ms-transition: padding 0.2s ease, margin 0.2s ease;
            transition: padding 0.2s ease, margin 0.2s ease;
}
.tabs li:first-child a {
    z-index: 3;
  -webkit-border-top-left-radius: 8px;
-moz-border-radius-topleft: 8px;
border-top-left-radius: 8px;
}
.tabs li:nth-child(2) a {
    z-index: 2;
}
.tabs li:last-child a {
    z-index: 1;
  -webkit-box-shadow: 2px 8px 25px -2px rgba(0,0,0,0.3);
       -moz-box-shadow: 2px 8px 25px -2px rgba(0,0,0,0.3);
            box-shadow: 2px 8px 25px -2px rgba(0,0,0,0.3);
  -webkit-border-top-right-radius: 8px;
-moz-border-radius-topright: 8px;
border-top-right-radius: 8px;
}
ul.tabs li a:hover {
    margin: 35px 0 0 0;
    padding: 10px 0 5px 0;
 text-decoration: none;
 color: #FAE500;
}
ul.tabs li a.active {
    margin: 30px 0 0 0;
    padding: 10px 0 10px 0;
    background: #000;
 color: #FAE500;
    z-index: 4;
    outline: none;
    font-weight: bold;
}
.group:before,
.group:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}
.group:after {
    clear: both;
}
#tabs-content {
  width: 99%;
  height: auto;
  margin: 0 auto;
  background: #000;
-webkit-box-shadow: 2px 8px 25px -2px rgba(0,0,0,0.3);
   	   -moz-box-shadow: 2px 8px 25px -2px rgba(0,0,0,0.3);
   	        box-shadow: 2px 8px 25px -2px rgba(0,0,0,0.3);
  -webkit-border-bottom-right-radius: 8px;
-webkit-border-bottom-left-radius: 8px;
-moz-border-radius-bottomright: 8px;
-moz-border-radius-bottomleft: 8px;
border-bottom-right-radius: 8px;
border-bottom-left-radius: 8px;
color: #fff;
}

#tabs-content > div {
    margin:0px;
    padding: 30px;
    display: none;
}

#tabs-content > div.tab-active {
    display:  block;
}

#tab1 {

}
#tab2 {

}





.main.main_advanced_search {
 padding: 0px;
}

.main.main_advanced_search .content.content_advanced_search {
    max-width: 100%;
    padding: 20px;
}

#as_loadingDiv {
    position:fixed;
    width:100%;
    left:0;right:0;top:0;bottom:0;
    background-color: rgba(255,255,255,0.8);
    z-index:9999;
    display:none;
    vertical-align: middle;
    text-align: center;
}

#as_loadingDiv img {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.content_advanced_search h1 {
    margin: 2px;
    padding: 1px;
    font-size: 26px!important;
}

.as_intro {
    font-size: 15px;
    line-height: 1.3;
    color: #696969;
}

form#advanced_form {
    margin-top: 20px;
}

.form_container {
     display: flex;
     flex-direction: row;
     flex-wrap: nowrap;
}

.form_container div {
/*    background-color:  #90EE90;  */
    margin:5px;
}

.form_container div label {
 display: block;
 font-size: 16px;
 margin-top: 5px;
}

.form_container div select {
 display: block;
 font-size: 16px;
 width: 170px;
 margin-top: 10px;
 padding: 5px 1px;
}


#as_response {
    display: none;
    margin-top: 10px;
    background-color: #fff;
    color: #000;
}
#as_response_vin {
    display: none;
    margin-top: 10px;
    background-color: #fff;
    color: #000;
}

.as_car_params_flex {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
}


.as_car_params {
    flex: 1;
 margin: 10px;
 border: 1px solid #bababa;
}

.as_car_params h3 {
 margin: 0px;
 padding: 0px;
background-color: #FAE500;
 color: #000!important;
 text-align: left;
 font-size: 26px;
 text-indent: 20px;
}

.as_car_params h4 {
 margin: 0px;
 padding: 0px;
 text-align: left;
 font-size: 19px;
 text-indent: 20px;
 margin-top: 20px;
}



.as_car_params table {
    border: 1px solid #bababa;
    border-collapse: collapse;
    margin: 10px;
    font-size: 13px;
}

.as_car_params table tr td {
    border: 1px solid #bababa;
 padding: 3px;
    font-size: 13px;
}

.as_car_params table tr td.td1 {

}
.as_car_params table tr td.td2 {
 font-weight: bold;
}

.as_car_params ul {
 list-style:  disc;
 border-bottom: 1px solid #bababa;
 padding-bottom: 10px;
 margin-top: 10px;
}

.as_car_params ul li {
}

.as_car_params ul li a {
 color: #000;
 font-size:15px;
 font-weight: bold;
}

.as_car_params ul li a:hover {
 color: #1E90FF;
}


.as_model_photos {
 display: flex;
 flex-wrap: no-wrap;
 justify-content: flex-start;
 height: 80px;
 overflow-x: scroll;
 width: 600px;
 border: 1px solid #696969
}

.as_model_photos a {
 margin: 5px;
}

.as_model_photos a img {
    max-height: 50px;
}

.vendor_logo img {
    max-height: 50px;
}


form#vin_form {
    margin-top: 20px;
}

label.lbl_vin {
    margin-bottom: 5px;
}


input#vin {
flex-grow: 1;
 font-family: "Courier New", Courier, monospace;
 margin-right: 10px;
}

div.sbmDiv {
    align-self: flex-end;
 vertical-align: bottom;
}

a.vin_exp {
    font-size: 14px!important;
    color: #DCDCDC!important;
}

p.vin_example {
    font-size: 9px;
    color: #696969;
 font-family: "Courier New", Courier, monospace;
}

.alert-vin {
    background-color: #FFCEBD;
    padding:20px;
    color: #FF0000;
    border:2px solid #FF0000;
    text-align: left;
}


a.advanced_search_button {
    position:  fixed;
    right: 0px;
    top: 45%;
    width: 50px;
    height:200px;
    background: url(/assets/img/as2.png) center no-repeat #FAE500;
/*  transform: translate(-50%, -50%);*/
z-index:999999;
}

a.advanced_search_button:hover {
 box-shadow: -4px 3px 5px 3px #808080;
}

#advanced_search_popup {
    position: absolute;
    width: 1000px;
    background-color: #fff;
    right:50px;
    top: 25%;
    min-height:500px;
/*  transform: translate(-50%, -50%);  */
  display: none;

box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 25px -5px, rgba(0, 0, 0, 0.04) 0px 10px 10px -5px;
 border-radius: 10px;
 border: 1px solid #bababa;

}


@media screen and (max-width: 900px){

#advanced_search_popup {
    position: absolute;
    width: 90%;
    background-color: #fff;
    right:50px;
    top: 25%;
    min-height:500px;
/*  transform: translate(-50%, -50%);  */
  display: none;

    box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 25px -5px, rgba(0, 0, 0, 0.04) 0px 10px 10px -5px;
    border-radius: 10px;
    border: 1px solid #bababa;

}



.form_container {
     display: flex;
     flex-direction: column;
     flex-wrap: nowrap;
}

div.sbmDiv {
  align-self: auto;
  vertical-align: bottom;
}

.form_container div select {
 display: block;
 font-size: 16px;
 width: 100%;
 margin-top: 10px;
 padding: 5px 1px;
}

#vin_form button.mybtn {
    width: 100%;
}

input#vin {
    height: 40px;
    line-height: 40px;
    text-indent: 10px;
    font-size: 20px;
    margin-top: 5px;
 font-family: "Courier New", Courier, monospace;
 width:100%;
}



    .as_car_params_flex {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: flex-start;
    }




}

