/* =========================
   HEADER SCRAP STYLE
========================= */

.syn-header-wrapper {
    position: relative;
    z-index: 99999;
}

#main-header {
    line-height: 23px;
    font-weight: 500;
    top: 0;
    width: 100%;
    position: fixed;
    z-index: 99999;
    background-color: transparent;
    box-shadow: none !important;
    transition: background-color .3s ease, box-shadow .3s ease, min-height .3s ease;
}

#main-header .container.et_menu_container {
    background: #f6f6f6;
    border-radius: 35px;
    top: 25px;
    width: calc(100% - 90px);
    max-width: 100%;
    padding-right: 25px;
    padding-left: 25px;
    position: relative;
    min-height: 70px;
    transition:
        min-height .3s ease,
        padding .3s ease,
        top .3s ease,
        border-radius .3s ease,
        width .3s ease,
        box-shadow .3s ease;
}

#main-header .container.et_menu_container::after {
    content: "";
    display: block;
    clear: both;
}

.logo_container {
    float: left;
    display: flex;
    align-items: center;
    height: 70px;
    position: relative;
    z-index: 2;
    transition: height .3s ease;
}

span.logo_helper {
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    width: 0;
}

#logo {
    width: auto;
    max-height: 100%;
    display: inline-block;
    vertical-align: middle;
    transition: max-height .3s ease, max-width .3s ease;
}

.header-right-zone {
    float: right;
    position: relative;
    z-index: 2;
}

#et-top-navigation {
    float: right;
    padding: 0 !important;

    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 0;

    position: relative;
    z-index: 2;

    height: 70px;
    top: 0;

    margin-right: 0;

    transition:
        height .3s ease,
        padding .3s ease,
        margin-right .3s ease;
}

.mobile_menu_bar.et_toggle_slide_menu {
    display: flex;
    gap: 0;
    cursor: pointer;
    width: 56px;
    min-width: 56px;
    text-align: center;
    position: relative;
    color: #ed9725;
    background: transparent;
    border: none;
    padding: 0;
    appearance: none;
    justify-content: center;
}

.mobile_menu_bar.et_toggle_slide_menu img {
    width: 24px;
    height: 24px;
    display: block;
}

.mobile_menu_bar.et_toggle_slide_menu p {
    color: #ed9725;
    font-size: 17px;
    font-weight: 700;
    margin: 0;
    line-height: 1;
}

.mobile_menu_bar.et_toggle_slide_menu::before {
    display: none !important;
    content: none !important;
}

/* right floating widgets */
.header-right-zone {
    float: right;
    position: relative;
    z-index: 2;
}

.zone-search,
.zone-number {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ico-search-bar,
.ico-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .25s ease;
    color: #ed9725;
    padding: 0;
}

.ico-search-bar:hover,
.ico-number:hover {
    background: rgba(255,255,255,0.12);
}

.ico-search-bar img,
.ico-number img {
    width: 24px;
    height: 24px;
    display: block;
}

.ico-search-bar::before,
.ico-number::before {
    display: none !important;
    content: none !important;
}

.extra-option {
    display: none !important;
}

#search-bar,
.sub-header-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 12px);
    background: #fff;
    min-width: 240px;
    padding: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,.12);
    border-radius: 3px;
}
.sub-header-menu {
    min-width: max-content;
}

#search-bar form {
    display: flex;
    gap: 8px;
}

#search-bar input {
    flex: 1;
    border: 1px solid #ddd;
    padding: 10px 12px;
    font-size: 14px;
    color: #000;
}

#searchsubmit_header {
    width: 40px;
    background: #ed9725;
    border: none;
    cursor: pointer;
    position: relative;
}

#searchsubmit_header::before {
    content: "\f002";
    font-family: "FontAwesome";
    font-weight: 900;
    color: #fff;
    font-size: 15px;
}

.sub-header-menu .textwidget p {
    margin: 0;
    padding: 0;
}

.sub-header-menu .textwidget a {
    color: #000;
    font-size: 16px;
    text-decoration: none;
    font-weight: 600;
}

/* slide menu */
.et_slide_in_menu_container {
    overflow: auto;
    right: -420px;
    position: fixed;
    top: 0;
    background: #ed9725;
    z-index: 999999;
    height: 100%;
    width: 300px;
    max-width: 300px;
    transition: right .45s ease;
    padding-top: 0 !important;
}

.et_slide_in_menu_container.is-open {
    right: 0;
}

.syn-menu-close {
    position: absolute;
    top: 112px;
    left: -72px;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: #ed9725;
    font-size: 26px;
    cursor: pointer;
    z-index: 1000000;
}

.syn-menu-close:hover {
    opacity: .8;
}

.et_pb_fullscreen_nav_container {
    width: 100%;
    height: 100%;
}

#mobile_menu_slide.et_mobile_menu {
    display: block !important;
    background: none;
    border: none;
    box-shadow: none;
    padding: 26px 38px 40px;
    list-style: none !important;
    margin: 0;
}

#mobile_menu_slide li {
    list-style: none !important;
    margin: 0;
    padding: 0;
}

#mobile_menu_slide li a {
    display: block;
    padding: 10px 0;
    color: #fff;
    border: none;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .2px;
}

#mobile_menu_slide .hide-parent > a {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    color: #fff;
}

#mobile_menu_slide .menu-arrow {
    font-size: 14px;
}

#mobile_menu_slide .sub-menu {
    padding-left: 0;
    margin-top: 4px;
}

#mobile_menu_slide .sub-menu li a {
    opacity: 1;
    font-size: 14px;
    font-weight: 700;
    padding: 8px 0;
}
#mobile_menu_slide .menu-item-has-children {
    display: block;
}

#mobile_menu_slide .menu-parent-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

#mobile_menu_slide .menu-parent-link {
    flex: 1;
    min-width: 0;
}

#mobile_menu_slide .menu-toggle-arrow {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #000;
}

#mobile_menu_slide .menu-toggle-arrow span {
    width: 10px;
    height: 10px;
    display: block;
    border-right: 2px solid #000;
    border-bottom: 2px solid #000;
    transform: rotate(45deg);
    transition: transform .25s ease;
    margin-top: -4px;
}

#mobile_menu_slide .menu-toggle-arrow.is-open span {
    transform: rotate(225deg);
    margin-top: 4px;
}

#mobile_menu_slide .sub-menu {
    padding-left: 18px;
    margin-top: 6px;
}

#mobile_menu_slide .sub-menu li a {
    color: rgba(255,255,255,.78);
    font-size: 15px;
    font-weight: 700;
    padding: 7px 0;
}
.syn-header-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.2);
    z-index: 999998;
}

/* =========================
   SCROLL STATE
========================= */

.syn-header-scrolled #main-header {
    background: transparent;
    box-shadow: none !important;
}

.syn-header-scrolled #main-header .container.et_menu_container {
    min-height: 74px;
    padding-left: 34px;
    padding-right: 34px;

    top: 0;
    width: calc(100% - 90px);
    border-radius: 0 0 35px 35px;

    box-shadow: 0 10px 30px rgba(0,0,0,.10);
}

.syn-header-scrolled .logo_container {
    height: 74px;
}

.syn-header-scrolled #logo {
    max-height: 58%;
    max-width: 200px;
}

.syn-header-scrolled #et-top-navigation {
    height: 74px;
    padding: 0 !important;
    margin-right: 0;
    align-items: center;
}

/* =========================
   PUSH CONTENT EFFECT
========================= */

body {
    overflow-x: hidden;
}

#page-container,
#app,
main,
footer,
.et-l,
#main-header {
    transition: transform .45s ease;
}

.syn-menu-open #page-container,
.syn-menu-open #app,
.syn-menu-open main,
.syn-menu-open footer,
.syn-menu-open .et-l,
.syn-menu-open #main-header {
    transform: translateX(-300px);
}

/* responsive */
@media all and (max-width: 980px) {
    #main-header .container.et_menu_container {
        min-height: 80px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .logo_container {
        height: 80px;
    }

    #logo {
        max-width: 180px;
        max-height: 70%;
    }

    #et-top-navigation {
        padding: 16px 0 0 0 !important;
        margin-right: 0;
        gap: 12px;
    }

    .ico-search-bar,
    .ico-number {
        width: 48px;
        height: 48px;
    }

    .ico-search-bar img,
    .ico-number img,
    .mobile_menu_bar.et_toggle_slide_menu img {
        width: 22px;
        height: 22px;
    }

    #search-bar,
    .sub-header-menu {
        right: 0;
        min-width: 210px;
    }
    .sub-header-menu {
        min-width: max-content;
    }

    .et_slide_in_menu_container {
        width: 280px;
        max-width: 280px;
        right: -320px;
    }

    .syn-menu-close {
        left: -56px;
        top: 96px;
    }

    .syn-header-scrolled #main-header .container.et_menu_container {
        min-height: 66px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .syn-header-scrolled .logo_container {
        height: 66px;
    }

    .syn-header-scrolled #et-top-navigation {
        padding-top: 10px !important;
        margin-right: 0;
    }
}

@media all and (max-width: 767px) {
     /* container */
    #main-header .container.et_menu_container {
        width: calc(100% - 24px);
        min-height: 72px;

        padding-left: 18px;
        padding-right: 18px;

        display: flex;
        align-items: center;
        justify-content: space-between;

        border-radius: 28px;

        top: 14px;
    }

    /* scroll state */
    .syn-header-scrolled #main-header .container.et_menu_container {
        width: 100%;
        top: 0;

        border-radius: 0 0 24px 24px;

        min-height: 64px;

        padding-left: 16px;
        padding-right: 16px;
    }

    /* hide search + phone */
    .zone-search,
    .zone-number {
        display: none !important;
    }

    /* logo */
    .logo_container {
        float: none;

        height: 72px;

        display: flex;
        align-items: center;
    }

    .syn-header-scrolled .logo_container {
        height: 64px;
    }

    #logo {
        max-width: 150px;
        max-height: 48px;

        width: auto;
        object-fit: contain;
    }

    /* right zone */
    .header-right-zone {
        float: none;

        display: flex;
        align-items: center;
    }

    /* nav */
    #et-top-navigation {
        height: 72px;

        display: flex;
        align-items: center;
        justify-content: flex-end;

        padding: 0 !important;

        top: 0;
        margin-right: 0;
    }

    .syn-header-scrolled #et-top-navigation {
        height: 64px;
    }

    /* menu button */
    .mobile_menu_bar.et_toggle_slide_menu {
        width: 42px;
        min-width: 42px;
        height: 42px;

        display: flex;
        align-items: center;
        justify-content: center;

        padding: 0;
    }

    .mobile_menu_bar.et_toggle_slide_menu img {
        width: 24px;
        height: 24px;
    }

    /* slide menu */
    .et_slide_in_menu_container {
        width: 260px;
        max-width: 260px;
        right: -280px;
    }
    #et-top-navigation {
        width: auto;
        margin-left: auto;
    }

    .mobile_menu_bar.et_toggle_slide_menu {
        margin-left: 14px;
    }
    .header-right-zone {
        margin-left: auto;
    }
    .syn-menu-open #page-container,
    .syn-menu-open #app,
    .syn-menu-open main,
    .syn-menu-open .et-l {
        transform: translateX(-260px);
    }
}
