/** header **/

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
    background: rgba(255, 255, 255, 0.75);
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    padding: 0px 24px;
    border-bottom-left-radius: 24px;
    -webkit-box-shadow: 0 3px 1px rgba(180, 154, 74, 1);
    box-shadow: 0 3px 1px rgba(180, 154, 74, 1);
}

header .logo {
    display: flex;
    align-items: center;
}

header .logo img {
    margin: 0px 12px;
    height: 4rem;
    width: auto;
    -webkit-transition: ease-in-out 0.3s;
    transition: ease-in-out 0.3s;
}

header .logo img:hover {
    transform: scale(1.1);
}

header .logo .company-name {
    text-align: left;
}

header .logo .company-name h3 {
    text-transform: uppercase;
    letter-spacing: 2px;
    word-spacing: 6px;
}

header .logo .company-name h4 {
    margin-top: 0.5rem;
    position: relative;
    text-transform: capitalize;
}

header .logo .company-name h4::before {
    position: absolute;
    content: "";
    top: -0.5rem;
    left: 0;
    width: 100%;
    height: 0.125rem;
    background: linear-gradient(90deg, hsla(41, 66%, 67%, 1) 0%, hsla(40, 46%, 43%, 1) 100%);
    background: -moz-linear-gradient(90deg, hsla(41, 66%, 67%, 1) 0%, hsla(40, 46%, 43%, 1) 100%);
    background: -webkit-linear-gradient(90deg, hsla(41, 66%, 67%, 1) 0%, hsla(40, 46%, 43%, 1) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr="#E3C075", endColorstr="#A1803C", GradientType=1);
}

header .header-navigation {
    margin: 0;
    list-style-type: none;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

header .mobile-menu-btn {
    display: none;
    visibility: hidden;
}

header .collapse {
    display: flex;
}


/******************
*
*  sub-menu (start)
*
******************/

header .header-navigation li.has-sub-menu {
    position: relative;
    padding-right: 15px;
}

header .header-navigation .has-sub-menu .sub-menu {
    position: absolute;
    width: 280px;
    -webkit-box-shadow: -4px 4px 4px rgba(180, 154, 74, 1);
    box-shadow: -4px 4px 4px rgba(180, 154, 74, 1);
    overflow: hidden;
    top: 3rem;
    border-radius: 5px;
    opacity: 0;
    transform: translateY(+2em);
    visibility: hidden;
    z-index: -1;
}

header .header-navigation .has-sub-menu .sub-menu li {
    margin-left: 0px;
    padding-left: 0px;
    padding-right: 0px;
    background: #fff;
}

header .header-navigation .has-sub-menu .sub-menu li a {
    opacity: 1;
    display: block;
    background: #fff;
    color: var(--xiketic);
    padding-left: 20px;
    height: auto;
    line-height: 36px;
    position: relative;
    font-size: 16px;
    font-weight: 600;
    border-bottom: 1px solid var(--satin-gold);
    -webkit-transition: ease-in-out 0.4s;
    transition: ease-in-out 0.4s;
}

header .header-navigation .has-sub-menu .sub-menu li a:hover,
header .header-navigation .has-sub-menu .sub-menu li .active {
    background: #fff;
    color: var(--satin-gold);
    padding-left: 25px;
    border-right: solid 8px var(--satin-gold);
}

header .header-navigation .has-sub-menu .sub-menu li a:hover:before {
    width: 3px;
}

header .header-navigation .has-sub-menu ul.sub-menu {
    opacity: 1;
    z-index: 1;
    transform: translateY(0%);
}

header .header-navigation .has-sub-menu ul.sub-menu.dropdown {
    visibility: visible;
}

header .header-navigation .has-sub-menu .fa-chevron-down {
    display: inline-block;
    margin: auto 8px;
    cursor: pointer;
    -webkit-transition: ease-in-out 0.3s;
    transition: ease-in-out 0.3s;
}

header .header-navigation .has-sub-menu .fa-chevron-down:hover {
    color: var(--satin-gold);
}

header .header-navigation .has-sub-menu .fa-chevron-down.active-icon {
    color: var(--spanish-bistre);
    border-radius: 12px;
    border: solid 2px var(--metallic-sunburst);
}


/******************
*
*  sub-menu (end)
*
******************/

header .header-navigation li {
    padding: 0.5rem 2rem;
}

header .header-navigation li a {
    text-decoration: none;
    color: var(--xiketic);
    font-size: 20px;
    font-weight: 600;
    -webkit-transition: ease-in-out 0.4s;
    transition: ease-in-out 0.4s;
}

header .header-navigation li a:hover {
    color: var(--spanish-bistre);
    padding-bottom: 4px;
    border-bottom: var(--spanish-bistre) solid 3px;
}

header .header-navigation li .active {
    color: var(--metallic-sunburst);
    padding-bottom: 4px;
    border-bottom: var(--metallic-sunburst) solid 3px;
}


/** (end) header **/


/*******************
*
*
* Responsive CSS
*
*
********************/

@media only screen and (max-width:1200px) {
    header {
        justify-content: space-between;
        border-radius: 0;
        border-bottom-left-radius: 16px;
    }
    header .logo .company-name {
        display: none;
    }
    header .header-navigation li {
        width: 100%;
        text-align: left;
    }
    header .header-navigation li .active {
        border: none;
    }
    header .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: transparent;
        float: inline-end;
        border: none;
        margin: 0 2rem;
        visibility: visible;
    }
    header .mobile-menu-btn .toggler-icon {
        background-color: var(--black);
        width: 2rem;
        height: 0.125rem;
        display: block;
        margin: 0.4rem 0;
        border-radius: 4rem;
        position: relative;
        -webkit-transition: all 0.3s ease-out;
        transition: all 0.3s ease-out;
    }
    .mobile-menu-btn.active .toggler-icon:nth-of-type(1) {
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
        top: 0.9125rem;
    }
    .mobile-menu-btn.active .toggler-icon:nth-of-type(2) {
        opacity: 0;
    }
    .mobile-menu-btn.active .toggler-icon:nth-of-type(3) {
        -webkit-transform: rotate(135deg);
        transform: rotate(135deg);
        top: -0.9125rem;
    }
    header .collapse {
        position: fixed;
        top: 5rem;
        left: 5%;
        width: 90%;
        height: fit-content;
        margin: 0;
        background-color: #ffffff;
        z-index: 1000;
        -webkit-box-shadow: 0 0 0.375rem rgba(180, 154, 74, 1);
        box-shadow: 0 0 0.375rem rgba(180, 154, 74, 1);
        padding: 8px;
        overflow-y: scroll;
        border-top: 1px solid #ebebeb;
        visibility: hidden;
        border-radius: 16px;
    }
    header .collapse.active {
        visibility: visible;
    }
    header ul {
        white-space: nowrap;
        display: flex;
        flex-flow: column nowrap;
        text-align: left;
        list-style: none;
        /*display: inline-block;*/
    }
    header li {
        font-size: 18px;
        display: block;
        z-index: 1000;
        position: relative;
        margin: 6px 0;
        margin-left: 16px;
    }
    header li a:hover {
        transform: translateY(0);
    }
    header .header-navigation .has-sub-menu .sub-menu {
        visibility: hidden;
        opacity: 0;
        transform: translateY(0%);
        width: 100%;
        box-shadow: none;
        top: 0;
        padding: 8px;
    }
    header .header-navigation .has-sub-menu .sub-menu li a {
        border: none;
        line-height: 1.25;
    }
    header .header-navigation .has-sub-menu ul.sub-menu.dropdown {
        visibility: inherit;
        position: relative;
        opacity: 1;
    }
}

@media only screen and (max-width:768px) {
    header {
        padding: 0.5rem 1rem;
        border-radius: 0;
        border-bottom-left-radius: 16px;
    }
    header .logo img {
        height: 2rem;
        width: auto;
    }
}