.Header {
    background-color: var(--black);
}

.HeaderLogo {
    width: 300px;
    padding: 35px 0px 60px 0px;
    position: relative;
    left: 0 !important;
}

.menu {
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.menu-container {
    position: relative;
}

header .nav-list {
    font-size: 22px;
    line-height: 31px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--cream);
    display: flex;
    align-items: center;
}

header .nav-list>li {
    margin: 0px 35px;
    padding: 35px 0px;
    position: relative;
    cursor: pointer
}

header .nav-list>li:last-child {
    margin-right: 0px;
}

.nav-list li>a {
    -webkit-transition: color 0.3s ease;
    -o-transition: color 0.3s ease;
    transition: color 0.3s ease;
    width: 100%;
    display: block;
}

header .nav-list li a:hover,
header .nav-list .current-menu-item>a,
footer .current-menu-item>a {
    color: var(--lightblue);
}

header .nav-list .sub-menu {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    /* top: calc(100% - 25px); */
    top: 100%;
    left: -35px;
    min-width: 373px;
    width: 100%;
    padding: 25px 31px 25px 31px;
    z-index: -1;
    font-size: 18px;
    line-height: 25px;
    font-weight: normal;
    color: var(--cream);
    background-color: var(--black);
    border: 3px solid var(--lightblue);
    transition: visibility 0.3s linear, opacity 0.3s ease;
    -webkit-transition: visibility 0.3s linear, opacity 0.3s ease;
    -o-transition: visibility 0.3s linear, opacity 0.3s ease;
    transition: visibility 0.3s linear, opacity 0.3s ease;
}

header .nav-list li:focus .sub-menu,
header .nav-list li:focus-within .sub-menu,
header .nav-list li:hover .sub-menu {
    visibility: visible;
    opacity: 1;
    z-index: 999;
}

header .nav-list .sub-menu li {
    padding-bottom: 5px;
}

/* FOOTER CSS */

footer {
    padding: 95px 0px 70px 0px;
    border-top: 3px solid var(--footerborder);
}

footer a {
    color: var(--cream);
    -webkit-transition: color 0.4s ease-in-out;
    -o-transition: color 0.4s ease-in-out;
    transition: color 0.4s ease-in-out;
}

footer a:hover {
    color: var(--lightblue);
}

footer .flexWrap {
    align-items: flex-end;
}

.footerLeft {
    width: 75%;
}

.footerLeft .Wrapper:nth-child(1) {
    max-width: 390px;
}

.footerLeft .Wrapper:nth-child(2) {
    padding-left: 15%;
    max-width: 500px;
}

.footerLeft .Wrapper:nth-child(2) p {
    padding-bottom: 20px;
}

.footerLeft .socialicon {
    background-color: var(--lightblue);
    border-radius: 5px;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 5px;
    margin-top: 20px;
    -webkit-transition: background-color 0.4s ease-in-out;
    -o-transition: background-color 0.4s ease-in-out;
    transition: background-color 0.4s ease-in-out;
}

.footerLeft .socialicon:hover {
    background-color: var(--cream);
}


.FooterLogo {
    padding-bottom: 40px;
    max-width: 270px;
}

.footerRight {
    width: 25%;
}

.footerRight {
    font-size: 14px;
    line-height: 21px;
}

.footerRight .Wrapper {
    padding-top: 117px;
}

.footerRight ul {
    padding-bottom: 13px;
}

.footerRight ul li {
    display: inline-flex;
}

.footerRight ul li:not(:first-child)::before {
    content: "|";
    position: relative;
    display: inline-block;
    margin: 0px 10px;
}

.footerRight .seperator {
    margin: 0px 10px;
}



@media screen and (min-width: 1280px) and (max-width: 1440px) {
    header .nav-list>li {
        margin: 0px 35px;
    }

    .footerLeft {
        width: 65%;
    }

    .footerRight {
        width: 35%;
    }

    .footerLeft .Wrapper:nth-child(1) {
        max-width: 340px;
    }

    .footerLeft .Wrapper:nth-child(2) {
        padding-left: 8%;
        max-width: 340px;
    }

}

@media screen and (min-width: 1080px) and (max-width: 1279px) {
    .HeaderLogo {
        width: 150px;
        left: 0px;
    }

    header .nav-list {
        font-size: 18px;
        line-height: 26px;
    }

    header .nav-list>li {
        margin: 0px 20px;
    }

    .MenuLink {
        font-size: 18px;
    }

    .footerLeft .Wrapper:nth-child(1) {
        max-width: 340px;
    }

    .footerLeft .Wrapper:nth-child(2) {
        padding-left: 8%;
        max-width: 340px;
    }

    .footerRight ul {
        display: flex;
        flex-direction: column;
    }

    .footerRight ul li:not(:first-child)::before,
    .footerRight .seperator {
        display: none;
    }

    .footerRight .linkwrapper {
        display: block;
    }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    .HeaderLogo {
        left: 0;
        width: 200px;
        padding: 30px 0px 40px 0px;
    }

    header .menu {
        padding: 45px 0px;
    }

    /* FOOTER CSS */
    footer {
        padding: 40px 0px;
    }

    footer .flexWrap {
        justify-content: space-between;
    }

    footer .Wrapper {
        max-width: 325px !important;
        width: 100% !important;
    }

    .footerLeft,
    .footerRight {
        width: 100%;
    }

    .footerLeft .Wrapper:nth-child(2) {
        padding-left: 0px !important;
    }

    .footerLeft .socialicon {
        margin-top: 0px !important;
    }

    footer .footerRight {
        align-items: flex-start;
        padding-top: 40px;
    }

    .footerRight .Wrapper {
        padding-top: 0px !important;
    }

    .footerRight .seperator {
        display: none !important;
    }

    .footerRight .linkwrapper {
        display: block;

    }


}

@media screen and (min-width: 1024px) and (max-width: 1079px) {
    .HeaderLogo {
        left: 0;
        width: 200px;
        padding: 30px 0px 40px 0px;
    }

    header .menu {
        padding: 45px 0px;
    }

    /* FOOTER CSS */
    footer {
        padding: 40px 0px;
    }

    footer .flexWrap {
        justify-content: space-between;
    }

    footer .Wrapper {
        max-width: 340px;
    }

    .footerLeft,
    .footerRight {
        width: 100%;
    }

    .footerRight .Wrapper {
        padding-top: 50px;
    }

}

@media screen and (max-width: 1250px) {
    .HeaderLogo {
        left: 0;
    }

    .hamburger {
        width: 27px;
        position: relative;
        cursor: pointer;
        z-index: 99;
        display: block;
    }

    .hamburger .line {
        width: 100%;
        height: 2px;
        border-radius: 2px;
        margin: 0px;
        background-color: var(--lightblue);
        -webkit-transition: all 0.4s ease-in-out;
        -o-transition: all 0.4s ease-in-out;
        transition: all 0.4s ease-in-out;
    }

    .hamburger .line.one,
    .hamburger .line.two {
        margin-bottom: 7px;
    }

    .hamburger.active {
        z-index: 99;
    }

    .hamburger.active .one {
        -webkit-transform: translateY(10px) rotate(45deg);
        -ms-transform: translateY(10px) rotate(45deg);
        -o-transform: translateY(10px) rotate(45deg);
        transform: translateY(10px) rotate(45deg);
    }

    .hamburger.active .two {
        opacity: 0;
    }

    .hamburger.active .three {
        -webkit-transform: translateY(-8px) rotate(-45deg);
        -ms-transform: translateY(8px) rotate(-45deg);
        -o-transform: translateY(-8px) rotate(-45deg);
        transform: translateY(-8px) rotate(-45deg);
    }

    header .menu {
        padding: 0;
    }

    header .menu-container {
        position: fixed;
        top: 0px;
        right: -100%;
        left: auto;
        width: 50%;
        height: 100%;
        z-index: 9;
        padding: 120px 50px 105px 50px;
        background: var(--black);
        -webkit-transition: right 0.5s ease-in-out;
        -o-transition: right 0.5s ease-in-out;
        transition: right 0.5s ease-in-out;
        flex-direction: column;
        flex-wrap: unset;
        overflow-y: auto;
        overflow-x: hidden;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .logged-in.admin-bar header .menu-container {
        padding-top: 166px;
    }

    header .menu-container::before {
        content: '';
        display: block;
        width: 50%;
        height: 95px;
        position: fixed;
        top: 0;
        right: -100%;
        left: auto;
        bottom: 0;
        background-color: var(--black);
        z-index: 9;
        -webkit-transition: all 0.5s ease-in-out;
        -o-transition: all 0.5s ease-in-out;
        transition: all 0.5s ease-in-out;
    }

    .nav-active {
        overflow: hidden;
    }

    .nav-active header .menu-container::before,
    .nav-active .menu-container {
        right: 0;
    }


    header .nav-list {
        font-size: 30px;
        line-height: 40px;
        flex-direction: column;
        align-items: flex-start !important;
        width: 100%;
    }

    header .nav-list li {
        margin: 0px;
        width: 100%;
        padding: 10px 0px;
        display: block;
        opacity: 1;
    }

    header .nav-list .sub-menu {
        padding: 25px;
        z-index: -1;
        font-size: 18px;
        line-height: 25px;
        font-weight: normal;
        color: var(--cream);
        background-color: var(--black);
        border: 3px solid var(--lightblue);
        transition: visibility 0.3s linear, opacity 0.3s ease;
        -webkit-transition: visibility 0.3s linear, opacity 0.3s ease;
        -o-transition: visibility 0.3s linear, opacity 0.3s ease;
        transition: visibility 0.3s linear, opacity 0.3s ease;
    }

    header .nav-list li:not(:last-child) {
        padding-bottom: 10px;
    }

    header .nav-list li:not(.MenuLink) a {
        display: inline-block;
        width: calc(100% - 40px);
    }

    header .MenuLink {
        margin-top: 30px !important;
    }

    span.togglemenu {
        display: inline-block;
        width: 40px;
        padding: 10px;
    }

    header .nav-list .sub-menu,
    header .nav-list .current-menu-parent .sub-menu,
    header .nav-list .current_page_parent .sub-menu {
        position: relative;
        display: none;
        visibility: visible;
        opacity: 1;
        top: 0;
        transform: none;
        border: none;
    }

    header .nav-list .sub-menu {
        padding-top: 0;
        left: 0;
        min-width: auto;
    }

    header .nav-list .current-menu-parent .sub-menu,
    header .nav-list .current_page_parent .sub-menu {
        display: block;
    }

    header .nav-list .current-menu-item span.togglemenu {
        cursor: pointer;
    }

    header .nav-list .current-menu-item a,
    header .nav-list .current-menu-parent a {
        color: var(--white);
    }

    header .nav-list .current-menu-item span.togglemenu svg,
    header .nav-list .current-menu-parent span.togglemenu svg {
        fill: var(--white);
    }

    .overlay {
        position: fixed;
        background: rgba(0, 33, 96, 0.01);
        z-index: 3;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.5s ease-in-out;
    }

    .nav-active .overlay {
        opacity: 1;
        visibility: visible;
    }


}

/* MOBILE  */

@media screen and (min-width: 0) and (max-width: 896px) {
    @media all and (orientation: portrait) {}

    @media all and (orientation: landscape) {
        header .nav-list {
            font-size: 24px;
            line-height: 34px;
        }

        header .nav-list li {
            padding: 5px 0px;
        }

        header .MenuLink {
            margin-top: 20px !important;
        }
    }
}

@media screen and (max-width: 767px) {

    .HeaderLogo {
        width: 150px;
        padding: 30px 0px;
        z-index: 99;
    }

    header .menu-container {
        width: 100% !important;
    }

    header .menu-container::before {
        width: 100% !important;
    }

    header .menu-container {
        padding: 120px 30px 105px 30px;
    }

    header .nav-list {
        font-size: 24px;
        line-height: 34px;
    }

    header .nav-list li {
        padding: 5px 0px;
    }

    header .MenuLink {
        margin-top: 20px !important;
    }

    footer {
        font-size: 16px;
        line-height: 26px;
        padding: 50px 0px 50px 0px;
        border-top: 3px solid var(--footerborder);
    }

    footer .Wrapper {
        display: block;
        width: 100%;
    }

    footer .contentBlock>.flexWrap {
        flex-direction: column;
    }

    footer .flexWrap {
        align-items: flex-start;
    }

    .footerLeft,
    .footerRight {
        width: 100% !important;
    }

    .FooterLogo {
        max-width: 200px;
    }

    .footerLeft .Wrapper {
        padding-left: 0 !important;
        padding-bottom: 20px;
    }

    .footerLeft .socialicon {
        margin-top: 0px;
    }

    .footerLeft a {
        display: block;
    }

    .footerRight .Wrapper {
        padding-top: 30px;

    }

    .footerRight ul {
        padding-bottom: 7px;
    }

    .footerRight a {
        display: inline-block;
    }

    .footerRight .seperator {
        display: none;
    }

    .linkwrapper {
        width: 100%;
        display: block;
    }



}

/* ABOVE 1081 */

@media screen and (min-width: 1251px) {
    .hamburger {
        display: none;
    }

    span.togglemenu {
        display: none;
    }
}