﻿:root {
    --purple: #4e2683;
    --white: #FFFFFF;
    --green: #006E87;
    --purple-tint: #E9E4F1;
    --blue-tint: #E2E7ED;
    --dark-grey: #221138;
    --mid-grey: #585857;
    --light-grey: #F7F7F7;
}


/* HEADER */
header {
    position: relative;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 16%);
}

.header-top {
    background-color: var(--light-grey);
}

.header-navbar {
    background-color: var(--yellow);
}

.navbar-brand {
    display: flex;
    align-items: center;
    width: fit-content;
    padding-top: 25px;
    padding-bottom: 25px;
}

.header-navbar .container {
    display: flex;
    justify-content: space-between;
}

.navbar-brand img {
    max-height: 50px;
}

#header-inner {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--white);
    border-bottom: 1px var(--grey) solid;
    z-index: 99;
}

.header-wrap {
    display: flex;
    width: 100%;
    justify-content: space-between;
    position: relative;
}

nav {
    display: flex;
    align-items: center;
}

.menuitem-wrapper {
    height: 100%;
    padding-left: 12px;
    padding-right: 12px;
    position: relative;
}
    .menuitem-wrapper:hover .menuitem-top:after {
        content: "";
        position: absolute;
        top: 80%;
        height: 3px;
        width: 100%;
        background-color: #4E2683;
        left: 0;
    }

    .menuitem-wrapper .menuitem-top {
        font-size: 15px;
        font-weight: bold;
        height: 100%;
        display: flex;
        align-items: center;
        color: #231f20;
        text-decoration: none;
        position: relative;
    }

    .header-navbar .menuitem-wrapper:hover {
        color: var(--purple);
    }

.header-search {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: flex-end;
    position: relative;
}

.search-icon {
    width: 30px;
    height: 30px;
    background-image: url('../assets/search-icon-black.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    cursor: pointer;
}

.menu-search-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 25px;
}

.lang-dropdown {
    position: relative;
    padding-left: 20px;
}
.lang-dropdown:after {
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    content: '';
    border-left: 1px solid #D8D8D8;
}

.language.topmenu-header {
    display: flex;
    align-items: center;
    cursor: pointer;
    height: 50px;
}

    .language.topmenu-header p {
        font-size: 16px;
        line-height: 27px;
        font-family: 'Interstate';
        color: var(--mid-grey);
        margin-bottom: 0px;
        padding: .5rem;
    }

.img-topmenu-flag {
    width: 25px;
    margin: .5rem;
}
.img-topmenu-arrow {
    width: 15px;
    margin-right: .5rem;
}

.lang-dropdown .lang-drop {
    position: absolute;
    background-color: rgba(216,216,216,1);
    min-width: 300px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease-in-out;
    right: 0;
    min-width: 150px;
}

.lang-drop-item {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: var(--mid-grey);
    text-decoration: none;
    padding-left: 10px;
    height: 50px;
 }
    .lang-drop-item:hover {
        background-color: rgba(255,255,255,0.5);
    }
    .lang-drop-item p {
        font-size: 16px;
        color: var(--mid-grey);
        margin-bottom: 0px;
        padding: .5rem;
    }

.lang-dropdown:hover .lang-drop {
    opacity: 1;
    pointer-events: all;
}

#menu-search-show {
    display: none;
    margin-right: 24px;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--purple);
    padding: 12px;
    width: 250px;
    height: 50px;
    z-index: 1001;
}

    #menu-search-show.show {
        display: flex;
    }

#txtSiteSearch {
    border: 1px solid #D6D6D6;
    border-right: none;
    background-color: #F7F7F7;
    opacity: .62;
}

#btnSiteSearch {
    outline: none;
    border: none;
    background-color: var(--yellow);
    height: 100%;
    width: 46px;
    background-image: url('../assets/search-icon.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 20px 20px;
}

#mobileBurgerMenu {
    display: none;
    cursor: pointer;
}

    #mobileBurgerMenu.active {
        background-image: url('../assets/close-icon-white.svg');
    }

#mobileSideNav {
    position: fixed;
    top: 150px;
    left: 0;
    width: 100vw;
    height: calc(100vh - 150px);
    z-index: 99;
    background: #fff;
    color: #fff;
    transform: translateX(100%);
    transition: all 0.3s ease;
    background-color: rgba(78, 38, 131, 1);
    overflow-y: scroll;
}

    #mobileSideNav.active {
        transform: translateX(0);
    }

#menu-search-show-mobile {
    padding: 10px;
    display: flex;
}

#txtSiteSearchMobile {
    border: 1px solid #D6D6D6;
    border-right: none;
    padding: 11px 16px;
    width: calc(100% - 50px);
}

#btnSiteSearchMobile {
    outline: none;
    border: none;
    background-color: var(--yellow);
    height: 50px;
    width: 46px;
    background-image: url('../assets/search-icon.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 20px 20px;
}

#openSearchMobile {
    display: none;
}

#menu-search-show-mobile {
    display: none;
}

    #menu-search-show-mobile.active {
        display: flex;
    }

.mobile-menuitem-wrapper {
    width: 100%;
    padding: 10px;
}

    .mobile-menuitem-wrapper a {
        color: #fff;
    }

    .mobile-menuitem-wrapper .megamenu {
        display: none;
    }

    .mobile-menuitem-wrapper.has-children {
        position: relative;
    }

        .mobile-menuitem-wrapper.has-children:after {
            content: '';
            position: absolute;
            top: 22px;
            right: 12px;
            width: 14px;
            height: 8px;
            background-image: url('../assets/chevron-down.svg');
            background-size: contain;
            background-repeat: no-repeat;
        }

        .mobile-menuitem-wrapper.has-children .menuitem-top {
            display: block;
            width: 100%;
        }

.menuitem-wrapper:hover .megamenu {
    opacity: 1;
    pointer-events: all;
}



.megamenu {
    position: absolute;
    background-color: #4E2683;
    min-width: 300px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease-in-out;
    top: calc(100% + 0px);
    left: 0;
}

.mm-item {
    list-style: none;
}

.mm-item a {
    color: #fff;
    padding: 16px 32px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    line-height: 15px;
    text-align: center;
}

.mm-item a:hover {
    background-color: rgba(255,255,255,0.2);
}

#mobileSideNav .megamenu {
    position: unset;
    opacity: 1;
    box-shadow: unset;
    border-radius: 0px;
    flex-direction: column;
    background-color: var(--White);
    padding: 0px 16px 18px 16px;
    width: 100%;
}

.mobile-mm-links li {
    list-style-type: none;
    padding-left: 16px;
    margin-bottom: 6px;
}

    .mobile-mm-links li a {
        color: #777;
    }

.menuitem-top.has-dropdown {
    padding-right: 18px;
}

    .menuitem-top.has-dropdown:before {
        content: '';
        position: absolute;
        top: 50%;
        right: 0;
        width: 12px;
        height: 10px;
        background-image: url('../assets/arrow-down-black.png');
        background-size: contain;
        background-repeat: no-repeat;
        transform: translateY(-50%);
    }

.hamburger-btn {
    height: 100%;
    width: 95px;
    cursor: pointer;
    line-height: 70px;
    text-align: center;
    display: table;
    float: right;
    background-color: var(--purple);
    border: none;
}

    .hamburger-btn .line-container {
        transition: transform .3s ease-in-out;
        transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        display: table;
        margin: auto;
    }

.line-container .bg-white:nth-child(1) {
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}
.hamburger-btn.active .line-container .bg-white:nth-child(1) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    top: 0px;
    left: 0px;
}

.line-container .bg-white:nth-child(2) {
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}
.hamburger-btn.active .line-container .bg-white:nth-child(2) {
    width: 0%;
    opacity: 0;
}

.line-container .bg-white:nth-child(3) {
    top: 36px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}
.hamburger-btn.active .line-container .bg-white:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top: 0px;
    left: 0px;
}

.hamburger-btn span {
    height: 3px;
    width: 30px;
    display: block;
    margin: 7px auto;
    transition: all .3s ease;
    background-color: #fff;
}

#mobileSideNav a {
    font-size: 15px;
    color: #FFF;
    text-transform: uppercase;
    line-height: 3;
    text-decoration: none;
    font-weight: bold;
}

#mobileSideNav .mobile-menuitem-wrapper {
    border-bottom: 1px solid rgba(255,255,255,0.3);
}

.mobile-menuitem-wrapper.has-children {
    position: relative;
}
.mobile-menuitem-wrapper.has-children:after {
    position: absolute;
    content: '';
    width: 20px;
    height: 20px;
    background-image: url("../assets/arrow-right-white.png");
    transition: all .2s linear;
}
    .mobile-menuitem-wrapper.has-children.open:after {
        transform-origin: center;
        transform: rotate(90deg);
    }

.mobile-nav {
    padding-left: 10px;
}

.mobile-mm-links a{
    line-height: 1.2 !important;
    font-size: 80% !important;
    display: block;
    padding-top: 5px;
    padding-bottom: 10px;
}

/* HEADER */
/* Footer */
.top-footer {
    background-color: #221138;
}
    .top-footer p {
        font-size: 14px;
        opacity: .7;
    }
        .top-footer p span {
            font-size: 14px;
        }
.footer-links-cont {
    display: flex;
    flex-direction: column;
}
.footer-links-cont a {
    cursor: pointer;
    color: inherit;
    font-size: 16px;
    text-decoration: underline !important;
    margin-bottom: .5rem;
}
footer .footer-logo {
    max-width: 200px;
    margin-left: auto;
}
/*Footer*/

