/* HEADER */
header {
    position: relative;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    padding: 0;
    transition: 0.5s all ease-in-out;
    z-index: 999;
}
#page header {
    display: flex;
    transition: 0.5s all ease-in-out;
}
#page.fixed header {
    position: fixed;
    box-shadow: 0px 0 50px 38px rgba(0, 0, 0, 0.25);
}
#mobile-nav {
    display: none;
}

/* LOGO */
.header-logo {
    display: flex;
}
.header-logo.header-logo-left {
    justify-content: left;
    padding: 0 15px;
}
.header-logo.header-logo-center {
    justify-content: center;
}
.header-logo.header-logo-right {
    justify-content: right;
    padding: 0 15px;
}
.header-logo img[src$=".svg"] {
    width: 155px;
    padding: 5px 0;
}
.header-logo a {
    display: flex;
    align-items: center;
}

/* TOP NAV */
header #top-nav {
    display: flex;
    align-items: center;
    width: 100%;
}
header #top-nav .container {
    display: flex;
    justify-content: center;
}
header #top-nav.header-links-left {
    justify-content: left;
}
header #top-nav.header-links-center {
    justify-content: center;
}
header #top-nav.header-links-right {
    justify-content: right;
}
header #top-nav ul.header-links {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}
header #top-nav ul.header-links li a {
    position: relative;
    display: block;
    color: var(--blue-md);
    font-weight: 700;
    height: 100%;
    line-height: 80px;
    padding: 0 30px;
    transition: color 0.3s ease;
    text-decoration: none;
}
header #top-nav ul.header-links li a:after {
    position: absolute !important;
    content: "";
    margin: 0 auto !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    bottom: 18px !important;
    width: 7px !important;
    height: 7px !important;
    border-radius: 25px !important;
    background-color: var(--blue-lt) !important;
    opacity: 0 !important;
    transition: .5s !important;
}
header #top-nav ul.header-links li a:hover:after {
    opacity: 1 !important;
    display: inline-block;
}
header #top-nav ul.header-links li a:hover {
    color: var(--blue-lt);
}
header #top-nav .search-icon {
    padding: 0 30px;
    color: var(--white);
    font-size: 14px;
    transition: color 0.3s ease;
}
header #top-nav .search-icon:hover {
    color: var(--blue-lt);
}

/* SEARCH */
#search {
    position: absolute;
    width: 50%;
    top: 48px;
    opacity: 0;
    transition: 0.3s ease;
}
#search.active {
    opacity: 1;
}
#search .search-input {
    display: block !important;
}

/* MOBILE NAV */

#mobile-nav .enumenu_ul {
    display: none;
}

@media only screen and (max-width: 768px) {
    /* TOP NAV */
    header {
        height: 75px !important;
    }
    header #top-nav {
        display: none;
    }

    /* LOGO */
    .header-logo {
        position: relative;
        top: 50%;
        transform: translateY(-50%);
    }
    .header-logo img {
        width: 200px;
    }

    /* MOBILE NAV */
    #mobile-nav {
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
    }
    #mobile-nav .menu-icon {
        position: absolute;
        right: 0;
        top: calc(75px / 2 - 3px);
        cursor: pointer;
        z-index: 2222;
    }
    #mobile-nav .menu-icon .menu-box {
        position: relative;
        width: 25px;
        height: 14px;
        margin-right: 30px;
        top: 50%;
        transform: translateY(-50%);
    }
    #mobile-nav .menu-icon .menu-box span {
        width: 100%;
        height: 3px;
        margin-bottom: 4px;
        background: var(--grey1);
        display: block;
        border-radius: 0px;
        transition: all 0.5s;
    }
    #mobile-nav .menu-icon.active .menu-box span {
        background: var(--grey1);
    }
    #mobile-nav .enumenu_ul {
        position: absolute;
        width: 100%;
        background: var(--white);
        height: 100vh;
        overflow-y: auto;
        overflow-x: hidden;
        list-style: none;
        padding: 30px;
    }
    #mobile-nav .enumenu_ul li {
        display: inline-block;
        width: 100%;
        padding: 15px 0;
        text-align: center;
    }
    #mobile-nav .enumenu_ul li a {
        color: var(--blue-black);
        font-size: 22px;
        font-weight: 700;
        text-decoration: none;
    }
    #mobile-nav .enumenu_ul .search-input {
        position: relative;
        margin-top: 20px;
    }
    #mobile-nav .form-control.ds-input {
        border-radius: 0;
        font-size: 18px;
        padding-left: 20px;
        padding-right: 72px;
        height: calc(1.5em + 1.4rem + 2px);
        background-image: url('/wp-content/uploads/mobile-search-blue.svg');
        background-repeat: no-repeat;
        background-position: calc(100% - 26px) center;
        border: none;
        /*background-color: #007ACD;*/
        /*color: #ffffff;*/
        outline: none;
        box-shadow: none;
        font-weight: 400;
        letter-spacing: 0.01em;
        margin-bottom: 0;
    }
    #mobile-nav .btn-blank-search {
        position: absolute;
        right: 0;
        top: 0;
        height: 45px;
        padding: 0;
        border: none;
        width: 72px;
    }
}