#midway-content {
    background-color: #fff;
}

.feature-div {
    width: 100%;
    height: calc(100% - 20px);
    padding: 0px;
    margin: 0px;
    border-width: 0px;
    position: relative;
}

.feature-div > iframe,
.feature-div > div.exterior-container {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.feature-div.exterior-feature-div {
    overflow: auto;
}

.exterior-container {
    position: relative;
}

.exterior-container img.ext-image,
.motor-tour-holder img.ext-image {
    width: inherit;
    height: inherit;
    max-width: 100%;
    max-height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    object-fit: cover;
}

.exterior-container img.csi_top_left,
.motor-tour-holder img.csi_top_left {
    position: absolute;
    top: 0px;
    left: 0px;
}

.exterior-container img.csi_top_right,
.motor-tour-holder img.csi_top_right {
    position: absolute;
    top: 0px;
    right: 0px;
}

.exterior-container img.csi_bottom_right,
.motor-tour-holder img.csi_bottom_right {
    position: absolute;
    bottom: 0px;
    right: 0px;
}

.exterior-container img.csi_bottom_left,
.motor-tour-holder img.csi_bottom_left {
    position: absolute;
    bottom: 0px;
    left: 0px;
}

.exterior-container img.csi_bottom,
.motor-tour-holder img.csi_bottom {
    position: absolute;
    bottom: 0px;
    left: 0px;
}

#panoDIV {
    width: 100% !important;
    height: 100% !important;
    position: relative;
}

#panoDIV img.csi_top_left {
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 1;
}

#panoDIV img.csi_top_right {
    position: absolute;
    top: 0px;
    right: 0px;
    z-index: 1;
}

#panoDIV img.csi_bottom_right {
    position: absolute;
    bottom: 0px;
    right: 0px;
    z-index: 1;
}

#panoDIV img.csi_bottom_left {
    position: absolute;
    bottom: 0px;
    left: 0px;
    z-index: 1;
}

#panoDIV img.csi_bottom {
    position: absolute;
    bottom: 0px;
    left: 0px;
    z-index: 1;
}

.arrows-div-left,
.arrows-div-right {
    position: fixed;
    height: 50px;
    top: 50%;
    margin-top: -25px;
    background-color: #333;
    opacity: 0.5;
    border: 1px #333 solid;
    color: #fff;
    cursor: pointer;
}

.arrows-div-left:hover,
.arrows-div-right:hover {
    opacity: 1;
    border-color: #999;
}

.arrows-div-left {
    left: 0px;
    padding: 8px 10px 1px 5px;
}

.arrows-div-right {
    right: 0px;
    padding: 8px 5px 1px 10px;
}

#interior-controls {
    position: absolute;
    right: 30px;
    top: 150px;
    z-index: 10;
}

.controls {
    position: fixed;
    right: 20px;
    bottom: 0;
    z-index: 10;
    top: 50px;
}

#interior-controls img,
.controls img {
    width: 60px;
    height: 60px;
    cursor: pointer;
    margin-bottom: 10px;
    display: block;
    filter: brightness(0);
}

#interior-controls img:hover,
.controls img:hover {
    filter: brightness(0) invert(1);
}

.loading-div {
    position: fixed;
    left: 8px;
    bottom: 8px;
    width: 50px;
    height: 50px;
    border-radius: 100%;
    font-size: 0px;
    padding: 0px;
    text-align: center;
    margin: 0px;
    z-index: 20;
    background: rgba(49, 51, 61, 0.75);
    color: #fff;
    font-family: sans-serif;
    font-size: 14px;
}

.loading-div:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 44px;
    height: 44px;
    margin: auto;
    border-radius: 50%;
    border: 2px solid #fff;
    border-top-color: transparent;
    box-sizing: border-box;

    -webkit-animation-name: Rotate;
    -webkit-animation-duration: 2.0s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;

    -moz-animation-name: Rotate;
    -moz-animation-duration: 2.0s;
    -moz-animation-iteration-count: infinite;
    -moz-animation-timing-function: linear;

    -ms-animation-name: Rotate;
    -ms-animation-duration: 2.0s;
    -ms-animation-iteration-count: infinite;
    -ms-animation-timing-function: linear;

    animation-name: Rotate;
    animation-duration: 2.0s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes Rotate {
    from {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.loading-div:after {
    content: attr(data-progress);
    font-size: 11px;
    line-height: 1;
    display: block;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.loading-div.no-animation:before {
    -webkit-animation: none;
    -moz-animation: none;
    -ms-animation: none;
    animation: none;
}

.infobox-container {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.75);
}

.infobox-container span.close {
    float: right;
    margin: 10px 10px 0px 0px;
    font-weight: bold;
    font-size: 120%;
    z-index: 11;
    cursor: pointer;
    color: #fff;
}

.infobox-holder {
    position: absolute;
    left: 50%;
    top: 50%;
    width: auto;
    height: auto;
    overflow-y: auto;
    transform: translate(-50%, -50%);
    background-color: #fff;
    color: #000;
    padding: 5px 10px;
    border: 2px #333 solid;
    box-sizing: border-box;
}

.infobox-holder img.image-text {
    max-width: 100%;
    height: auto;
}

.infobox-holder img.image-only {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}

.badge {
    display: inline-block;
    padding: .26em .6em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 50%;
    color: #fff;
    background-color: #000;
    position: relative;
    top: -1px;
}

.ms2-tab-link.w--current .badge,
.ms2-tab-link.current .badge,
.ms2-tab-link:hover .badge {
    color: #000;
    background-color: #fff;
}

@media only screen and (max-width: 991px) {
    #interior-controls img, .controls img {
        width: 35px;
        height: 35px;
    }

    .controls {
        /*bottom: 140px !important;*/
    }
    #car-slide-image .slide-container {
        height: 100%;
    }
}

@media only screen and (max-width: 720px) {
    .controls {
        top: 35px !important;
    }
}
@media only screen and (max-width: 575px) {
    .msc-main-photo-arrow-link img {
        width: 15px !important;
        height: 15px !important;
    }
    .msc-main-photo-arrow-link.thumb-left,
    .msc-main-photo-arrow-link.thumb-right{
        height: 30px !important;
        width: 30px !important;
    }
    .msc-main-photo-arrow-link {
        width: 35px !important;
        height: 35px !important;
    }

    #interior-controls img, .controls img {
        width: 30px;
        height: 30px;
    }

    .controls {
        /*bottom: 70px !important;*/
        top: 12px !important;
        right: 5px !important;
    }

    #car-slide-thumbs-holder {
        height: 15%;
    }

    .slide-container {
        height: 100% !important;
    }

    #icon-fullscreen {
        padding: 7px 10px !important;
        right: 8px !important;
    }
}

@media only screen and (max-width: 380px) {
    .controls {
        /*bottom: 55px !important;*/
    }
    #car-slide-image + #car-slide-thumbs-holder {
        bottom: -5px;
    }
}

