#colors,
.designNewStaria {
    width: 100vw;
    margin-left: calc(-50vw + 50%) !important;
    max-width: initial;
}
#colors > div {
    margin: 0 7%;
}

.content-img-overlap {
    position: relative;
    width: 100%;
    height: auto;
}

.content-img-overlap .thumb {
    position: relative;
    width: 100%;
}

.content-img-overlap .pc-img {
    display: block;
    width: 100%;
    height: auto;
}

/* зона 360 */
.area-content {
    position: absolute;
    inset: 0;
}

.screen {
    position: absolute;
    inset: 0;
}
/* машина */

.vr360_car_image_container {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}
.vr360_car_image_container img {
    max-width: 940px;
}

.vr_car_image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: grab;
    user-select: none;
    touch-action: none;
}

.vr_car_image:active {
    cursor: grabbing;
}
/* кнопки кольорів */

.viewer-controller {
    position: relative;
    z-index: 10;
}

.exterior-tabs {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

.exterior-tabs li,
.model-tab-menu li {
    list-style: none;
}

.exterior-tabs button {
    background: none;

    border: 0;
}

.exterior-tabs .thumb {
    display: block;
    width: 80px;
    height: 40px;
    background-size: cover;
}

.exterior-tabs li.active button::before,
.section-bottom ul.imgTab .active button::before {
    content: "";
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: #0198bd;
    border-radius: 50%;
}

.exterior-tabs li.active button::after,
.section-bottom ul.imgTab .active button::after {
    content: "";
    position: absolute;
    top: 16px;
    right: 20px;
    width: 7px;
    height: 12px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

section.colors > div {
    height: 100%;
}
.area-tab-menu {
    position: absolute;
    top: 62%;
    z-index: 9;
    left: 0;
    right: 0;
    margin: auto;
    list-style: none;
}
.area-tab-menu ul {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* початковий стан */

.wrap-tab-area > [data-js="tabContent"]:not(.active) {
    display: none;
}

.wrap-tab-area > [data-js="tabContent"].active {
    display: block;
}
.btn-control.play {
    position: absolute;
    bottom: 21%;
    z-index: 9;
    left: 0;
    right: 0;
    margin: auto;
    width: 50px;
    background: url(/sites/all/themes/responsive/images/staria-new/design/ico_360play.png)
        no-repeat top;
    background-size: 100%;
    width: 30px;
    height: 30px;
    border: none;
    cursor: pointer;
}
.btn-control.play.paused {
    background: url(/sites/all/themes/responsive/images/staria-new/design/ico_360pause.png)
        no-repeat top;
    background-size: 100%;
}
/* ---------- Interior ---------- */

.carousel .wrap-sliding {
    position: relative;
}

.carousel .slide {
    display: none;
    text-align: center;
}

.carousel .slide.active {
    display: block;
}

.carousel .slide img {
    width: 100%;
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

.tabContent .wrap-utils .arrows.type-dimSquare {
    width: 100%;
}

.imgTab {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.imgTab .tab {
    list-style: none;
}

.imgTab button {
    background: none;
    border: 0;
    cursor: pointer;
}

.imgTab .thumb {
    width: 80px;
    height: 40px;
    display: block;
    background-size: cover;
    background-position: center;
}

.imgTab .title {
    font-size: 13px;
    margin-top: 0px;
    margin-bottom: 0;
}

.wrap-utils {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.arrows {
    display: flex;
    gap: 15px;
}

.arrow {
    width: 48px;
    height: 48px;
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer;
    position: relative;
}

.arrow:hover {
    background: #f4f4f4;
}

.arrow.prev::before,
.arrow.next::before {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    border-top: 2px solid #222;
    border-right: 2px solid #222;
    top: 50%;
    left: 50%;
}

.arrow.prev::before {
    transform: translate(-35%, -50%) rotate(-135deg);
}

.arrow.next::before {
    transform: translate(-65%, -50%) rotate(45deg);
}

.model-tab-menu li button {
    min-width: 110px;
    padding: 10px;
    cursor: pointer;
    background-color: transparent;
    border: none;
    font-family: HyundaiSansTextRegular;
    border: 1px solid #666;
    background-color: #fff;
    color: #000;
}
.model-tab-menu li:first-of-type button {
    background-color: #007fa8 !important;
    color: #fff !important;
}

.section-bottom {
    margin: 20px 0;
}
.section-bottom ul {
    padding-left: 0;
    justify-content: flex-start;
}
.section-bottom ul li,
.section-bottom ul .tab {
    flex: 1;
    max-width: 190px;
}
.section-bottom ul button {
    width: 100%;
    padding: 0;
    position: relative;
}
.section-bottom .exterior-tabs .thumb,
.imgTab .tab .thumb {
    display: block;
    width: 100%;
    height: 90px;
    background-size: cover;
    cursor: pointer;
}
.section-bottom ul .title {
    font-family: HyundaiSansTextRegular;
    padding-top: 10px;
    display: block;
    font-weight: 600;
    text-align: left;
}
.wrap-tab-area .slide .box-text {
    display: none;
}
.wrap-tab-area .wrap-utils {
    display: none;
}

.carousel.animation-fade .thumb img {
    max-height: 550px;
    object-fit: cover;
}
@media (max-width: 1600px) {
    .area-tab-menu {
        top: 60%;
    }
}
@media (max-width: 1470px) {
    .area-tab-menu {
        top: 59%;
    }
}
@media (max-width: 1400px) {
    .area-tab-menu {
        top: 53%;
    }
}
@media (max-width: 1250px) {
    .area-tab-menu {
        top: 50%;
    }
}
@media (max-width: 1100px) {
    .area-tab-menu {
        top: 36px;
    }
    .wrap-title h2.title-main {
        padding-bottom: 50px;
    }
    .section-bottom ul li,
    .section-bottom ul .tab {
        flex: initial;
        max-width: 190px;
        width: 25%;
    }
    .section-bottom ul {
        padding-left: 0;
        justify-content: space-around;
    }
    .content-img-overlap {
        min-height: 250px;
    }
    .content-img-overlap .pc-img {
        min-height: 250px;
        object-fit: cover;
    }
}

#colors h2.title-main{
    margin: 80px 0 60px;
    text-align: center;
}
#colors{
    margin-bottom: 70px;
}
@media(max-width: 768px) {
    div.designNewStaria div.text-blade p.text__headline-main-background-text {
            font-size: 50px;
            margin-bottom: -25px;
    }
    .designNewStaria .text-blade h3.text-blade--heading.h2 {
        font-size: 30px;
            line-height: 30px;
    }
    .designNewStaria div.staria-tabs button {
        flex: 0 0 calc(100% / 1);
        max-width: calc(100% / 1);

    }
    .designNewStaria #colors h2.title-main {
        margin: 0px 0 30px;
    }
    .designNewStaria .area-tab-menu {
        top: -50px;
    }
    
    .designNewStaria .hyu-component.padding-top-lg {
        padding-top: 0;
    }
}



    #block-block-1235 .content {
    width: 100vw;
    margin-left: calc(-50vw + 49.5%);
    position: relative;
}
#block-block-1235 h1.banner-text-1,
    #block-block-1235 div.content div.banner-text-2{
        margin-left: 6%;
    }