#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: #FFF;
    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: 0 auto 10px;
    padding: 1% 0;
    background-color: #52A9D7;
    color: #000000;
    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;
}

div#sc-detail-vehicles-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    align-content: center;
    justify-content: center;
}

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

    min-width: 330px;
    width: 50%;
    box-sizing: border-box;
    border: 2px solid #000;
    padding: 1%;
    box-shadow: 6px 6px 4px #888888;
    font-size: 12px;
}

.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: 15px 0 0;
    position: relative;
}

.sc-detail-buttons {
    display: block;
    position: absolute;
    top: 20px;
    left: 5px;
}

.sc-detail-button {
    display: block;
    padding: 1px 4px;
    background-color: #52A9D7;
    margin: 0 0 4px;
    color: #FFF;
    font-size: 80%;
    cursor: pointer;
}

.sc-detail-button:hover {
    background-color: #000;
}

.sc-detail-price-wrapper {
    display: block;
    position: absolute;
    top: 15px;
    right: 0;
    background-color: #000;
    color: #FFF;
    padding: 0 5px;
}

.sc-detail-price-wrapper .text {
    display: none;
}

.sc-detail-top-two {
    display: block;
    background-color: #000;
    color: #FFF;
}

.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: 5px 5% 0;
    font-size: 130%;
    line-height: 110%;
    width: 90%;
}

.sc-detail-title-wrapper span {
    margin: 0 4px 0 0;
}

.sc-detail-top-info {
    display: block;
    font-size: 90%;
    margin: 5px 0 0 5%;
}

.top-info-value span {
    color: #ABABAB;
}

.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 25%;
    -webkit-flex: 0 0 25%;
    -ms-flex: 0 0 25%;

    position: initial;
}

.active .sc-detail-top-one img {
    width: 100%;
}

.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: 0 0 0 10px;
}

.active .sc-detail-price-wrapper {
    top: 5px;
    font-size: 180%;
}

.active .sc-detail-top-two {
    font-size: 120%;
    width: 100%;
}

.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: #F1F1F1;
    padding: 1%;
    box-sizing: border-box;
}

.sc-detail-image {
    width: 100%;
}

.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;
    color: #52A9D7;
}

.bottom-button {
    display: block;
    padding: 0 10px;
    cursor: pointer;
}

.bottom-button:hover {
    color: #000;
}

.bottom-button.active {
    border-bottom: 1px solid #000
}

.sc-detail-bottom-two {
    display: block;
    width: 100%;
    border: 4px solid #F1F1F1;
    box-sizing: border-box;
    padding: 1%;
}

.bottom-content {
    display: none;
}

.bottom-content.active {
    display: block;
}

.vehicle_info-data {
    display: block;
    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 15%;
    -webkit-flex: 0 0 15%;
    -ms-flex: 0 0 15%;
}

.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: 2% 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;

    border: 2px solid #000;
    border-bottom: none;
    box-sizing: border-box;
    color: #000;
    background-color: #F1F1F1;
    cursor: pointer;
    margin: 0 1%;
}

.bottom-tab-buttons-wrapper .tab-button:hover {
    opacity: .7;
}

.bottom-tab-buttons-wrapper .tab-button.active {
    font-weight: bold;
    border-color: #000;
    background-color: #52A9D7;
    color: #FFF;
}

.bottom-tab-content-wrapper {
    width: 98%;
    margin: 0 auto;
    overflow: hidden;
    display: block;
    border-top: 2px solid #000;
}

.bottom-tab-content-wrapper .tab-content {
    display: none;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 400px;
    width: 100%;
    border-top: 4px solid #FFF;
    box-sizing: border-box;
    padding: 2% 0 1%;
}

.bottom-tab-content-wrapper .tab-content.active {
    display: block;
}

.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;
}

img.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: #52A9D7;
    border: 2px solid #F1F1F1;
    color: #FFF;
    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;
}