#sc-detail-container{
    display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;

    flex-flow: row wrap;
    -webkit-flex-flow: row wrap;

    justify-content: space-around;
    -webkit-justify-content: space-around;

    background-color: #f6f6f7;
    margin: 0 auto;
    font-size: 12px;
    width: 100%;
    box-sizing: border-box;
    padding: 0 0 3% 0;
    position: relative;
}
#sc-detail-search-container{
    display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;

    flex-flow: row wrap;
    -webkit-flex-flow: row wrap;

    justify-content: space-around;
    -webkit-justify-content: space-around;

    width: 100%;
    margin: 2% auto 0;
    padding: 1% 0;
    background-color: #52A9D7;
    color: #FFF;
    border: 2px solid #000;
}
#sc-detail-search-container.scroll{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    box-sizing: border-box;
    /*
    margin:0 0 0 -24%;
    width: 45.5%;
    left: 50%;
    */
}
.admin-bar #sc-detail-search-container.scroll{
    top: 15px;
}

.sc-search-item{
    -webkit-flex:  0 0 auto;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;

    display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;

    flex-flow: column nowrap;
    -webkit-flex-flow: column nowrap;

    align-items: center;
    -webkit-align-items: center;

    box-sizing: border-box;
    width: 25%;
}
.sc-search-item select{
    width: 75%;
}
#sc-detail-mobile-wrapper{
    display: none;
    width: 100%;
}
#mobile-image-wrapper{
    background-color: #EAEAEA;
    width: 25px;
    height: 25px;
    border-radius: 60%;

    display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;

    flex-flow: column nowrap;
    -webkit-flex-flow: column nowrap;

    justify-content: space-around;
    -webkit-justify-content: space-around;

    align-items: center;
    -webkit-align-items: center;

    cursor: pointer;
    border: 2px solid #000;
    box-shadow: 3px 3px 6px #888888;
}
#mobile-image-wrapper:hover{
    border-color: #FFF;
    background-color: #00a025;
    box-shadow: none;
}
#mobile-image-wrapper img{
    width: 70%;
}
#sc-detail-mobile-wrapper.active #mobile-image-wrapper{
    background-color: red;
}
div.sc-search-item.mobile{
    display: block;
    width: 90%;
    margin: 1% auto;
    text-align: right;
}
div.sc-search-item.mobile label{
    margin: 0 2% 0 0;
}

.sc-detail-item{
    flex: 0 0 auto;
    -webkit-flex:  0 0 auto;
    -ms-flex:  0 0 auto;

    display: block;
    clear: both;
    float: none;
    overflow: hidden;
    width:32%;
    border: 2px solid #666;
    margin: 15px auto 0;
}
.sc-detail-top-container{
    display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;

    flex-flow: column nowrap;
    -webkit-flex-flow: column nowrap;
}
.sc-detail-top-one{
    display: block;
    position: relative;
}
.sc-img-wrapper{
    display: block;
    margin: 0 auto;
    position: relative;
}
.sc-detail-buttons{
    display: block;
    position: relative;
}
.sc-detail-button{
    background: #212121;
    background: linear-gradient(to bottom, #212121 0%,#444444 50%,#0a0e0a 51%,#333333 100%) !important;
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#212121', endColorstr='#333333',GradientType=0 ) !important;
    border:2px solid #666 !important;
    font-family:'Open Sans Condensed', sans-serif !important;
    font-size:18px !important;
    font-weight:bold !important;
    letter-spacing:normal;
    color: #7cc93e !important;
    text-shadow: 0 1px 1px #000;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center !important;
    padding-top:6px;
    padding-bottom:8px;
    margin-top:-10px;
    cursor:pointer !important;
}
.sc-detail-button:hover{
    color:#fff !important;
    border-color:#32ec32 !important;
}
.sc-detail-price-wrapper{
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    background-color: #000;
    color: #FFF;
    padding: 0 5px;
}
.sc-detail-asking-price:after {
    content:"";
    width:16px;
    height:11px;
    background: transparent url('../../../../../cardealerpress_theme_extender/extra/images/canada.png') no-repeat top left;
    position:relative;
    margin-left:3px;
    top:1px;
    display:inline-block;
}
.sc-detail-price-wrapper .text{
    display: none;
}
.sc-detail-top-two{
    display: block;
    background-color: #fff;
    /*border-left:2px solid #666;*/
    /*border-right:2px solid #666;*/
    /*border-bottom:2px solid #666;*/
    color: #222;
}
.sc-detail-saleclass{
    display: inline-block;
    margin: 5px 0 0 4%;
    /*border-bottom: 1px solid #52A9D7;*/
    padding: 0 4px;
}
.sc-detail-title-wrapper{
    display: block;
    margin: 5% 5% 0;
    font-size: 130%;
    font-weight:600;
    line-height: 110%;
    width: 90%;
}
.active .sc-detail-top-two .sc-detail-title-wrapper {margin: 5px 5% 0; width:75%;}

.sc-detail-title-wrapper span{
    margin: 0 4px 0 0;
}
.sc-detail-top-info{
    display: block;
    font-size: 1.3em;
    margin: 5px 0 0 5%;
}
.top-info-value {font-weight: bold;}
.top-info-value span{
    color: #222;
}
.dealer-contact-wrapper{
    display: block;
    margin: 5px 0 4px 5%;
    font-size: 90%;
}
.dealer-number a{
    color: #52A9D7;
}

.sc-detail-item.active{
    flex: 0 0 100%;
    -webkit-flex:  0 0 100%;
    -ms-flex:  0 0 100%;
}
.active .sc-detail-top-container{
    flex-flow: row nowrap;
    -webkit-flex-flow: row nowrap;
    position: relative;
    margin: 15px 0 0 0;
}

.active .sc-detail-top-one{
    flex: 0 0 26%;
    -webkit-flex:  0 0 26%;
    -ms-flex:  0 0 26%;

    position: initial;
}
.sc-detail-top-info .more {display:none;}
.active .sc-detail-top-two .more {display:block !important;}

.active .sc-img-wrapper{
    margin: 0;
}
.active .sc-detail-buttons{
    display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;

    top: 5px;
    font-size: 120%;
}
.active .sc-detail-button{
    margin: -15px 0 0 0;
    width:100%;
}
.active .sc-detail-price-wrapper{
    top: 5px;
    font-size: 180%;
}
.active .sc-detail-top-two{
    font-size: 120%;
    width: 100%;
    border-top:2px solid #666;
    border-left:0;
}
.active .sc-detail-saleclass{
    margin-top: 8px;
}

.sc-detail-bottom-container{
    display: none;
    width: 100%;
    overflow: hidden;
}
.active .sc-detail-bottom-container{
    display: block;
}
.sc-detail-bottom-one{
    display: block;
    width: 100%;
    background-color: #ccc;
    padding: 1%;
    box-sizing: border-box;
}
.sc-detail-image{
    border:2px solid #333;
}
.sc-detail-bottom-buttons{
    display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;

    flex-flow: row nowrap;
    -webkit-flex-flow: row nowrap;

    justify-content: space-around;
    -webkit-justify-content: space-around;
}
.bottom-button{
    margin-top: 10px;
    cursor: pointer;
    font-family: 'Open Sans Condensed',sans-serif !important;
    font-size: 18px !important;
    font-weight: bold !important;
    letter-spacing: normal;
    color: #ddd !important;
    text-shadow: 0 1px 1px #000;
    width: 99%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center !important;
    padding: 6px 10px 8px;
    background-color: #333;
    border-right: 1px solid #000;
    border-left: 1px solid #666;
    border-top: 1px solid #555;
    border-bottom: 1px solid #000;
}
.bottom-button:hover{
    color:#fff !important;
    border-color:#32ec32 !important;
}
.bottom-button.active{
    background-color:#222;
    color: #fff !important;
    text-shadow: 0 0 10px #ccc;
    border-right:1px solid #000 !important;
    border-left:1px solid #666 !important;
    border-top:1px solid #555 !important;
    border-bottom:1px solid #000 !important;
    box-shadow:inset 0 0 10px #000;
}
.sc-detail-bottom-two{
    display: block;
    width: 100%;
    border: 4px solid #ccc;
    box-sizing: border-box;
    padding: 1%;
}
.bottom-content{
    display: none;
}
.bottom-content.active{
    display: block;
}
.vehicle_info-data{
    display: none;
    width: 90%;
    padding: 2% 5%;
    overflow: hidden;
    clear: both;
    float: none;
}
.vehicle_info-data .data-row{
    display: block;
    width: 40%;
    padding: 1% 2%;
    border: 2px solid #52A9D7;
    float: left;
    margin: 1% 2%;
    text-align: center;
    font-size: 120%;
    background-color: #F1F1F1;
}
.data-row .column-title{
    font-weight: bold;
}
.data-row .column-value{
    margin: 0 0 0 2%;
}
.sc-detail-photo-container{
    display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;

    flex-flow: row wrap;
    -webkit-flex-flow: row wrap;

    justify-content: space-around;
    -webkit-justify-content: space-around;
}
.sc-detail-photo-container a{
    flex: 0 0 24%;
    -webkit-flex:  0 0 24%;
    -ms-flex:  0 0 24%;
}
.sc-detail-photo-container img{
    width: 100%;
    margin: 2% 0;
}
.bottom-tab-buttons-wrapper{
    display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;

    flex-flow: row wrap;
    -webkit-flex-flow: row wrap;

    justify-content: flex-start;
    -webkit-justify-content: flex-start;

    width: 100%;
    margin: 1% auto 0;
    text-align: center;
}
.bottom-tab-buttons-wrapper .tab-button{
    -webkit-flex:  1 0 auto;
    -ms-flex: 1 0 auto;
    flex: 1 0 auto;
    box-sizing: border-box;
    color: #ddd;
    font-family:'Open Sans Condensed', sans-serif !important;
    font-size:18px !important;
    font-weight:bold !important;
    letter-spacing:normal;
    text-shadow: 0 1px 1px #000;
    width: 49%;
    justify-content: center;
    align-items: center;
    text-align: center !important;
    background-color: #333;
    border-right: 1px solid #000;
    border-left: 1px solid #666;
    border-top: 1px solid #555;
    border-bottom: 1px solid #000;
    cursor: pointer;
    padding-top:10px;
    padding-bottom:10px;
}
.bottom-tab-buttons-wrapper .tab-button:hover{
    opacity: .7;
}
.bottom-tab-buttons-wrapper .tab-button.active{
    background-color:#222;
    color: #fff !important;
    text-shadow: 0 0 10px #ccc;
    border-right:1px solid #000 !important;
    border-left:1px solid #666 !important;
    border-top:1px solid #555 !important;
    border-bottom:1px solid #000 !important;
    box-shadow:inset 0 0 10px #000;
}
.bottom-tab-content-wrapper{
    width: 98%;
    margin: 0 auto;
    overflow: hidden;
    display: block;
    font-size:1.3em;
}
.bottom-tab-content-wrapper .tab-content{
    display: none;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 500px;
    width: 100%;
    border-top: 4px solid #FFF;
    box-sizing: border-box;
    padding: 2% 0 1%;
}
.bottom-tab-content-wrapper .tab-content.active{
    display: block;
}
.bottom-tab-content-wrapper ul {
    float:left;
    display:inline-block;
    -webkit-columns: 2;
    -moz-columns: 2;
    columns: 2;
    margin-right:20px;
}
.sc-detail-option-list ul li{
    font-size: 100%;
    list-style-type: disc;
}
.sc-detail-video{
    width: 50%;
    margin: 1% auto;
    text-align: center;
    background-color: #52A9D7;
    border: 2px solid #000;
    border-radius: 8px;
    color: #FFF;
    font-size: 140%;
    padding: 1% 0;
    line-height: 100%;
    cursor: pointer;
}
.sc-detail-video:hover{
    color: #52A9D7;
    background-color: #F1F1F1;
    border-color: #52A9D7;
}
.sc-detail-video-img{
    vertical-align: middle;
    max-width: 26px;
    width: 100%;
    margin: -4px 2% 0;
}

div.ajax-loader{
    display: block;
    width: 80%;
    padding: 1%;
    margin: 2% auto;
    text-align: center;
    background-color: #ddd;
    border: 2px solid #ccc;
    color: #666;
    font-size: 120%;
}
div.ajax-loader.active{
    display: block;
}
div.ajax-loader img{
    display: block;
    margin: 2% auto;
}


.ui-dialog.sc-detail-form{
    background-color: #F1F1F1;
    padding: 1%;
    border: 4px solid #52A9D7;
}
.ui-dialog.sc-detail-form .ui-widget-header{
    text-align: right;
}
.ui-dialog.sc-detail-form button{
    color: #FFF;
    background-color: #52A9D7;
    margin: 0 auto 2%;
}
#iframe-container{
    width: 100%;
}
#iframe-dialog{
    box-sizing: border-box;
    width: 98%;
    margin: 0 auto;
    border: 2px solid #000;
    height: 100%;
}
#sc-detail-container.modal{
    opacity: .5;
}
#inventory-video-wrapper {
    width:98%;
    margin:1% auto;
    display:block;
    position: relative;
    overflow: hidden;
    padding-top: 56.25%;
    border: 2px solid #888;
}
#inventory-video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.tos-caption {display:none !important;}
.sc-detail-photo-container img {border:2px solid #888;}
.sc-detail-photo-container img:hover {border:2px solid #222;}

/***
gForm LIst
***/
.inventory-form-container{
    float: none;
    clear: both;
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
}
.list-form-wrapper{
    width: 80%;
    margin: 2% auto 0;
    background-color: #D5D5D5;
    border: 2px solid #9F0300;
}
.list-form-wrapper div.gform_wrapper .gfield_label{
    color: #000;
    margin: 0 0 0 5%;
}
.list-form-wrapper div.gform_wrapper .ginput_container input{
    margin: 0 auto;
    display: block;
    width: 80%
}
.list-form-wrapper div.gform_wrapper .ginput_container textarea.textarea{
    margin: 0 auto;
    display: block;
    width: 80%;
    max-height: 80px;
}
.list-form-wrapper div.gform_wrapper .gform_button{
    width: 50%;
    margin: 5% auto 0;
    display: block;
}
/* Popup Forms */
.pum-theme-382 .pum-container, .pum-theme-hello-box .pum-container {
    padding: 30px;
    border-radius: 40px !important;
    border: 4px solid #888 !important;
    box-shadow: 0 0 0 0 rgba( 2, 2, 2, 0.00 );
    background-color: rgba( 255, 255, 255, 1.00 );
}
.pum-content+.pum-close {
    background:#222 !important;
    border:2px solid #888 !important;
    right:0 !important;
    width:40px !important;
    height:40px !important;
    font-size:30px !important;
}

/***
Gravity Form
***/

.gform_heading {display:none !important;}
.gfield_label {font-size:14px !important; line-height:normal !important;}
body .gform_wrapper .gform_fields .gfield {
    margin: 0 0 5px !important;
}
body .gform_wrapper input[type=submit], body .gform_wrapper input[type=button], body .gform_wrapper input[type=reset] {margin:0 auto !important; width: 96% !important;}
body .gform_wrapper .chzn-choices, body .gform_wrapper .chzn-container .chzn-drop, body .gform_wrapper .chzn-container .chzn-single, body .gform_wrapper .chzn-container-multi .chzn-choices, body .gform_wrapper .chzn-container-single .chzn-single, body .gform_wrapper .chzn-container-single .chzn-single b, body .gform_wrapper .chzn-container-single .chzn-single div, body .gform_wrapper .gf_progressbar, body .gform_wrapper input[type=email], body .gform_wrapper input[type=number], body .gform_wrapper input[type=password], body .gform_wrapper input[type=tel], body .gform_wrapper input[type=text], body .gform_wrapper input[type=url], body .gform_wrapper li.gfield.gfield_error, body .gform_wrapper li.gfield.gfield_error.gfield_contains_required.gfield_creditcard_warning, body .gform_wrapper select {
    display: block;
    width: 100%;
    height: 38px !important;
    padding: 6px 6px !important;
    font-size: 16px;
    font-family: 'Open Sans', sans-serif !important;
    line-height: 1.571;
    color: #000;
    vertical-align: middle;
    background-color: #fff;
    background-image: none;
    border: 3px solid #ddd;
    border-radius: 12px;
}
body .gform_wrapper textarea {
    height: 80px!important;
}
.form-wrapper{
    display: block;
    clear: both;
    float: none;
    overflow: hidden;
    width: 100%;
    color: #000;
    padding: 0;
    margin: 0;
}
.form-display-wrap .gform_wrapper{
    padding: 0;
    margin: 0 0 2%;
    width: 100%;
    max-width: 100%;
}
.form-display-wrap div.gform_wrapper .gfield_label{
    color: #000;
    margin: 0 0 0 5%;
}
.form-display-wrap div.gform_wrapper .ginput_container input{
    margin: 0 auto;
    display: block;
    width: 80%
}
.form-display-wrap div.gform_wrapper .ginput_container textarea.textarea{
    margin: 0 auto;
    display: block;
    width: 80%;
    max-height: 80px;
}
.form-display-wrap div.gform_wrapper .gform_button{
    width: 50%;
    margin: 5% auto 0;
    display: block;
}
.form-display-wrap .gform_wrapper .gform_heading{
    width: 100%;
}
.form-display-wrap .gform_wrapper .gform_heading h3.gform_title{
    margin: 0;
    padding: 0;
    max-width: 100%;
    width: 100%;
    background: #858585;
    color: #FFF;
    font-size: 18px;
    text-transform: uppercase;
    height: 30px;
    line-height: 30px;
    text-indent: 5px;
    text-align: center;
    font-weight: normal;
}
.form-display-wrap .gform_wrapper .gform_body{
    width: 96%;
    padding: 0;
    margin: 0 auto;
}
.form-display-wrap .gform_wrapper .gform_footer{
    width: 96%;
    margin: 0 auto;
    text-align: center;
}
#form-data{
    display: block;
}
#form-button-wrapper{
    display: block;
    width: 100%;
    overflow: hidden;
    clear: both;
    float: none;
}
#form-button-wrapper .form-button{
    display: block;
    width: 96%;
    margin: 2% auto;
    text-align: center;
    padding: 1%;
    background-color: #CA204D;
    color: #FFF;
    border: 1px solid #E1E1E1;
    font-weight: bold;
    font-size: 120%;
    cursor: pointer;
}
#form-button-wrapper .form-button:hover{
    background-color: #000;
}
.sc-detail-price-wrapper {font-size:1.2em !important;}
.sc-detail-price-wrapper span.value::after {
    content: " CAD";
}
#cdp-ajax-end {display:none !important;}
.sc-detail-top-two {
    min-height: 110px;
}
/* Media Queries */
@media only screen and (max-width: 1000px) {
    .active .sc-detail-top-one {
        flex: 0 0 40%;
        -webkit-flex: 0 0 40%;
        -ms-flex: 0 0 40%;
        position: initial;
    }
    .active .sc-detail-top-two .sc-detail-title-wrapper {
        width: 70%;
    }
    .bottom-tab-content-wrapper ul {
        width: 100%;
        margin-bottom: 5% !important;
    }
}
@media only screen and (max-width: 768px) {
    .sc-detail-item {
        width: 48%;
    }
}
@media only screen and (max-width: 640px) {
    .active .sc-detail-top-one {
        flex: 0 0 60%;
        -webkit-flex: 0 0 60%;
        -ms-flex: 0 0 60%;
        position: initial;
    }
    .active .sc-detail-top-two .sc-detail-title-wrapper {
        width: 90%;
        margin-top:40px;
    }
    .sc-detail-top-info {
        font-size: 1.1em;
        line-height: 1.5em;
    }
}
@media only screen and (max-width: 600px) {
    .active .sc-detail-top-container {
        flex-flow: row wrap;
        -webkit-flex-flow: row wrap;
    }
    .active .sc-detail-top-one {
        flex: 0 0 100%;
        -webkit-flex: 0 0 100%;
        -ms-flex: 0 0 100%;
    }
    .active .sc-detail-top-two .sc-detail-title-wrapper {
        width: 90%;
        margin-top:10px;
        margin-bottom:15px;
    }
    .active .sc-detail-top-two {
        font-size: 130%;
        padding-bottom: 15px;
    }
    .sc-detail-photo-container a {
        flex: 0 0 32%;
        -webkit-flex: 0 0 32%;
        -ms-flex: 0 0 32%;
    }
}
@media only screen and (max-width: 480px) {
    .sc-detail-photo-container a {
        flex: 0 0 48%;
        -webkit-flex: 0 0 48%;
        -ms-flex: 0 0 48%;
    }
    .bottom-tab-content-wrapper ul {
        float: left;
        display: block;
        -webkit-columns: 1;
        -moz-columns: 1;
        columns: 1;
        margin-left: 100px;
    }
}
@media only screen and (max-width: 479px) {
    .sc-detail-item {
        width: 100%;
    }
}
@media only screen and (max-width: 425px) {
    .bottom-tab-content-wrapper {
        overflow:visible;
    }
    .bottom-tab-content-wrapper .tab-content {
        overflow:auto;
        max-height:none;
    }
    .bottom-tab-content-wrapper ul {
        margin-left: 80px;
    }
}
@media only screen and (max-width: 375px) {
    .bottom-tab-content-wrapper ul {margin-left: 60px;}
    .bottom-button {font-size:20px;}
}
@media only screen and (max-width: 320px) {
    .bottom-tab-content-wrapper ul {margin-left: 30px;}
}