/* Main header style */
.site-header {
    position: absolute;
    top: 0px;
    width: 100%;
}

.header_row {
    justify-content: space-between;
    padding: 30px 0px;
    align-items: center;
    border-bottom: 1px solid #CCCCCC;
}

.header_col {
    width: 212px;
}

/* switch button */
.switch {
    position: relative;
    display: inline-block;
    width: 38px;
    height: 20px;
    margin: 0px 6px;
    border: 1px solid #ffff;
    border-radius: 100px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: transparent;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 1px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: transparent;
}

input:focus+.slider {
    box-shadow: 0 0 1px transparent;
}

input:checked+.slider:before {
    -webkit-transform: translateX(16px);
    -ms-transform: translateX(16px);
    transform: translateX(16px);
}

.slider.round {
    border-radius: 100px;
}

.slider.round:before {
    border-radius: 50%;
}

.language_sec {
    justify-content: flex-end;
    align-items: center;
}

.language_sec p {
    font-size: 14px;
    color: #fff;
    font-family: "RivieraNights-Regular";
}

/* ========== navigation style ========== */


.navbar-toggler,
.btn-close {
    background: transparent;
    border: none;
    padding: 0px;
    border-radius: 0px;
    cursor: pointer;
    color: white;
    font-family: "RivieraNights-Regular";
    text-transform: uppercase;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.navbar-toggler img {
    margin-right: 11px;
    width: 22px;
    margin-top: -1px;
}

.btn-close img {
    margin-right: 11px;
    width: 15px;
    margin-top: -1px;
}

/* Offcanvas Backdrop */
.offcanvas-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / 83%);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.offcanvas-backdrop.show {
    opacity: 1;
    visibility: visible;
}

/* Offcanvas Container */
.offcanvas {
    position: fixed;
    top: 0;
    height: 100%;
    /* background: #000000d4; */
    background-image: url('../images/nav_img.webp');
    z-index: 1050;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    visibility: hidden;
    transition: transform 0.6s ease-in-out, visibility 0.6s ease;
}

/* Offcanvas Start (Left) */
.offcanvas-start {
    left: 0;
    width: 100%;
    max-width: 495px;
    transform: translateX(-100%);
}

.offcanvas-start.show {
    transform: translateX(0);
    visibility: visible;
}


/* Offcanvas Header */
.offcanvas-header {
    display: flex;
    align-items: center;
    padding: 50px 70px 10px 70px;
}

.offcanvas-header h2 {
    color: var(--white);
    font-size: 20px;
}

.offcanvas-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

/* Offcanvas Body */
.offcanvas-body {
    flex-grow: 1;
    padding: 55px 70px;
    overflow-y: auto;
    text-align: end;
}

/* Navigation Links */
.nav-link {
    display: block;
    padding: 4px 0px;
    color: #979797;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s linear;
    margin-bottom: 32px;
    text-transform: uppercase;
    letter-spacing: 1.1px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

.nav_listing {
    margin: 0px;
    padding: 0px;
    list-style-type: none;
}

/* header sub menu styling */

nav ul {
    transition: opacity 0.4s ease, transform 0.4s ease, height 0.4s ease;
}

/* MAIN MENU (default visible) */
.nav_listing_main {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    position: relative;
}

/* SUB MENU (default hidden) */
.sub_menu_items_1 {
    opacity: 0;
    transform: translateX(20px);
    pointer-events: none;
    position: relative;
    height: 0;
    overflow: hidden;
}

/* VISIBLE state */
.show_menu {
    opacity: 1 !important;
    transform: translateX(0) !important;
    pointer-events: auto !important;
    height: auto !important;
}

/* HIDDEN state */
.hide_menu {
    opacity: 0 !important;
    transform: translateX(-20px) !important;
    pointer-events: none !important;
    height: 0 !important;
}

.back_to_main.nav-link {
    color: #fff;
}

.side_arrow {
    display: inline-block;
    width: 8px;
    margin-right: 10px;
    opacity: 0.4;
    transition: all 0.2s linear;
}

.nav-link:hover .side_arrow {
    opacity: 1;
}

.back_to_main .side_arrow {
    opacity: 1;
}

/* ============ nav animation style starts ============ */










/* responsive */

@media only screen and (min-width: 1680px) {

    .navbar-toggler,
    .btn-close {
        font-size: 18px;
    }

    .navbar-toggler img {
        margin-right: 15px;
        width: 26px;
    }

    .btn-close img {
        margin-right: 15px;
        width: 23px;
    }
}

@media only screen and (max-width: 991px) {
    .header_row {
        padding: 15px 0px;
    }
}

@media only screen and (max-width: 575px) {
    .header_col {
        width: 33%;
    }

    .language_sec p,
    .navbar-toggler,
    .btn-close {
        font-size: 13px;
    }

    .navbar-toggler img {
        margin-right: 9px;
        width: 21px;
    }

    .btn-close img {
        margin-right: 9px;
        width: 14px;
    }

    .offcanvas-body {
        padding: 55px 35px;
    }

    .offcanvas-header {
        padding: 35px 35px 10px 35px;
    }


}