/*main {*/
/*    width: 80%;*/
/*    border: 2px solid red;*/
/*}*/

section.view-tour {
    margin-bottom: 5vw;
    padding: 3vw 5vw;
    width: 100%;
    min-height: 100vh;
    position: relative;
    justify-content: start;
    overflow: hidden;
    gap: 2.2vw;
}

section.view-tour > h1 {
    margin-top: 3vw;
    margin-bottom: 1vw;
    width: 100%;
    position: relative;
}

section.view-tour > h1::before {
    content: "";
    width: 1vw;
    height: 3.5vw;
    background: var(--red);
    position: absolute;
    left: -1.5vw;
}

section.view-tour > h1::after {
    content: "";
    width: 15vw;
    height: 0.2vw;
    background: var(--blue);
    position: absolute;
    top: 110%;
    left: 0.4vw;
}

section.view-tour .swiper {
    width: 80vw;
    padding-top: 50px;
    padding-bottom: 50px;
}

section.view-tour .swiper-slide {
    background-position: center;
    background-size: cover;
    width: 30vw!important;
    height: 18vw!important;
    border-radius: 0.3vw;
    overflow: hidden;
}

section.view-tour .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
}

.image-popUp-magnifier-container {
    width: 100vw;
    height: 100vh;
    transition: all 0.25s;
    z-index: 1000;
    position: fixed;
    top: 0;
    left: 0;
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
}

.image-popUp-magnifier-container.open {
    opacity: 1;
    visibility: visible;
}

.img-zoomer-box-container {
    margin-top: 1vw;
    width: 80vw;
    height: 42vw;
    background-color: #e1e1e1;
    border-radius: 0.8vw;
    box-shadow: 0 0 1vw rgba(0, 0, 0, 0.4);
    transition: all 0.25s;
    /*position: relative;*/
}

#img-zoomer-box {
    transform: translateY(-2.5vw);
    width: 70%;
    height: 80%;
    position: relative;
    border-radius: 0.8vw;
}

#img-zoomer-box #img-1 {
    width: 100%;
    border-radius: 0.8vw;
}

#img-zoomer-box:hover, #img-zoomer-box:active {
    cursor: zoom-in;
    display: block;
}

#img-zoomer-box:hover #img-2, #img-zoomer-box:active #img-2 {
    opacity: 1;
}

#img-2 {
    width: 340px;
    height: 340px;
    /*background: no-repeat #FFF;*/
    /*background-image: url("http://localhost:63342/images/Mazda-5-CX-slide2.webp");*/
    box-shadow: 0 5px 10px -2px rgba(0,0,0,0.3);
    background-repeat: no-repeat;
    background-size: 400%;
    pointer-events: none;
    position: absolute;
    opacity: 0;
    border: 4px solid goldenrod;
    z-index: 99;
    border-radius: 100%;
    display: block;
    transition: opacity .2s;
}

.img-zoomer-box-container button.close {
    padding: 0.5vw;
    width: 2vw;
    height: 2vw;
    background: transparent;
    border: none;
    position: relative;
    left: -45%;
    top: 0;
    cursor: pointer;
    outline: none;
    transition: all 0.4s;
    border-radius: 0.4vw;
}

.img-zoomer-box-container  button.close:hover {
    box-shadow: 0 0 0.8vw goldenrod;
}

.img-zoomer-box-container  button.close::before {
    content: "";
    width: 90%;
    height: 0.25vw;
    border-radius: 0.2vw;
    background-color: var(--blue);
    position: absolute;
    transition: all 0.4s;
    transition-delay: 0.3s;
}

.img-zoomer-box-container  button.close::after {
    content: "";
    width: 90%;
    height: 0.25vw;
    border-radius: 0.2vw;
    background-color: var(--blue);
    position: absolute;
    transition: all 0.4s;
    transition-delay: 0.3s;
}

.image-popUp-magnifier-container.open button.close::before {
    transform: rotate(135deg);
}

.image-popUp-magnifier-container.open button.close::after {
    transform: rotate(-135deg);
}

.tour-iconic-options {
    padding: 1vw;
    width: 80%;
    min-height: 5vw;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 10vw);
    gap: 1vw;
}

.tour-iconic-options > div {
    border-radius: 0.8vw;
    background-color: var(--light-bg);
    box-shadow: 0 0 0.8vw rgba(0, 0, 0, 0.35);
    gap: 0.25vw;
}

body.dark .tour-iconic-options > div {
    background-color: var(--dark-box-bg);
    box-shadow: 0 0 0.8vw rgba(0, 0, 0, 0.5);
    font-size: 1.5vw;
}

.tour-iconic-options > div i {
    font-size: 1.8vw;
}

.tour-iconic-options > div h2 {
    padding: 0 1vw;
    font-size: 1vw;
    opacity: 0.7;
    text-align: center;
}

.tour-iconic-options > div h4 {
    padding: 0 1vw;
    font-size: 1.1vw;
    text-align: center;
}

.tour-info-text-content {
    padding: 1vw;
    width: 90%;
    min-height: 10vw;
}

.tour-info-text-content p {
    text-align: justify;
}

.tour-buying-box {
    margin-bottom: 14vw;
    padding: 1vw;
    width: 60%;
    min-height: 5vw;
    background-color: var(--light-bg);
    border-radius: 1vw;
    box-shadow: 0 0 1vw rgba(0, 0, 0, 0.35);
    position: relative;
    gap: 1vw;
}

body.dark .tour-buying-box {
    background-color: var(--dark-box-bg);
    box-shadow: 0 0 1vw rgba(0, 0, 0, 0.45);
}

.tour-buying-box form {
    width: 100%;
    padding: 1vw;
    min-height: 5vw;
    gap: 2vw;
}

.tour-input-group {
    gap: 1vw;
}

.confirm-tour.btn {
    padding: 1vw;
    background-color: #00a27c;
    font-weight: bold
}

.confirm-tour.btn:hover {
    background-color: #00cc9c;
}

@media screen and (max-width: 992px) {
    section.view-tour {
        padding: 40px;
        min-height: 70vh;
        gap: 4vw;
    }

    section.view-tour > h1 {
        margin-top: 75px;
        margin-left: 5vw;
        margin-bottom: 7vw;
        font-size: 4.5vw;
    }

    section.view-tour > h1::before {
        width: 3vw;
        height: 10vw;
        left: -30px;
        border-radius: 0.17vw;
    }

    section.view-tour > h1::after {
        width: 40vw;
        height: 0.2vw;
        top: 110%;
        right: 0.4vw;
    }

    section.view-tour .swiper {
        width: 100%;
        padding-top: 50px;
        padding-bottom: 50px;
    }

    section.view-tour .swiper-slide {
        width: 70vw;
        height: 45vw;
        border-radius: 6px;
    }

}

@media screen and (max-width: 450px) {
    section.view-tour {
        margin-bottom: 20vw;
        padding: 20px;
        min-height: 95vh;
        background-size: 200vw;
        gap: 6vw;
    }

    section.view-tour > h1 {
        margin-left: 40px;
        margin-bottom: 7vw;
        font-size: 6vw;
    }

    section.view-tour > h1::before {
        width: 3.6vw;
        height: 13vw;
        left: -5vw;
        border-radius: 0.3vw;
    }

    section.view-tour > h1::after {
        width: 50vw;
        height: 1px;
        top: 110%;
        right: 10px;
    }

    section.view-tour .swiper {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    section.view-tour .swiper-slide {
        width: 50vw!important;
        height: 40vw!important;
        border-radius: 6px;
    }

    .img-zoomer-box-container {
        margin-top: 1vw;
        padding-top: 4vw;
        width: 95vw;
        height: 60vw;
        border-radius: 10px;
        box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
    }

    #img-zoomer-box {
        border-radius: 6px;
    }

    #img-zoomer-box #img-1 {
        width: 100%;
        border-radius: 6px;
    }

    #img-2 {
        width: 340px;
        height: 340px;
        box-shadow: 0 5px 10px -2px rgba(0,0,0,0.3);
        background-repeat: no-repeat;
        background-size: 300%;
        border: 4px solid goldenrod;
        z-index: 99;
    }

    .img-zoomer-box-container button.close {
        padding: 0.5vw;
        width: 35px;
        height: 35px;
        left: -42%;
        top: -3%;
        border-radius: 6px;
        z-index: 10!important;
    }

    .img-zoomer-box-container  button.close:hover {
        box-shadow: 0 0 10px goldenrod;
    }

    .img-zoomer-box-container  button.close::before {
        height: 3px;
        border-radius: 3px;
    }

    .img-zoomer-box-container  button.close::after {
        height: 3px;
        border-radius: 3px;
    }

    #img-zoomer-box {
        width: 80%;
        border-radius: 6px;
        transform: translateY(-5vw);
    }

    .tour-iconic-options {
        padding: 1vw;
        width: 100%;
        min-height: 10vw;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 30vw);
        gap: 2vw;
    }

    .tour-iconic-options > div {
        border-radius: 10px;
        background-color: var(--light-bg);
        box-shadow: 0 0 12px rgba(0, 0, 0, 0.35);
        gap: 1vw;
    }

    body.dark .tour-iconic-options > div {
        background-color: var(--dark-box-bg);
        box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
        font-size: 3.5vw;
    }

    .tour-iconic-options > div i {
        font-size: 4.5vw;
    }

    .tour-iconic-options > div h2 {
        padding: 0 1vw;
        font-size: 3vw;
        opacity: 0.7;
    }

    .tour-iconic-options > div h4 {
        padding: 0 1vw;
        font-size: 3.1vw;
    }

    .tour-info-text-content {
        padding: 2vw;
        width: 100%;
        min-height: 10vw;
    }

    .tour-info-text-content p {
        font-size: 3.8vw;
    }

    .tour-buying-box {
        margin-bottom: 34vw;
        padding: 3vw;
        width: 90%;
        min-height: 5vw;
        border-radius: 10px;
        box-shadow: 0 0 12px rgba(0, 0, 0, 0.35);
        gap: 12px;
    }

    body.dark .tour-buying-box {
        background-color: var(--dark-box-bg);
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.45);
    }

    .tour-buying-box h1 {
        font-size: 4.5vw;
    }

    .tour-buying-box form {
        padding: 1vw;
        min-height: 20vw;
        gap: 3vw;
        flex-direction: column!important;
    }

    .tour-input-group {
        width: 100% !important;
        flex-direction: column!important;
        gap: 2vw;
    }

    .tour-input-group .input-group {
        width: 100% !important;
    }

    .tour-input-group .input-group input {
        width: 100% !important;
    }

    .confirm-tour.btn {
        margin-top: 4vw;
        padding: 3vw;
        font-size: 4vw;
        border-radius: 10px;
        font-weight: bold
    }

    .confirm-tour.btn:hover {
        background-color: #00cc9c;
    }
}