body .nav-sections {
    background: transparent;
    margin-bottom: 0;
    margin-left: auto;
}
body .nav-sections-item-content > .navigation {
    background: transparent;
    --bs-gutter-x: 0;
}
body .navigation > ul {
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1em 1.25em;
    font-family: var(--bs-body-font-family);
    /*font-weight: 600;*/
}
body .navigation > ul > li {
    margin: 0;
    position: relative;
}
body .navigation > ul > li.parent{
    background-image: url(../images/arrow-down-primary.svg);
    padding-right: 1.05em;
    background-size: 0.7em;
    background-repeat: no-repeat;
    background-position: right center;
}
body .navigation > ul > li > a {
	padding: 1.4em 0;
}

@media screen and (min-width:769px){
    body .navigation > ul > li:hover > a {
        color:var(--bs-link-hover-color)
    }
    body .navigation .all-links {
        display: none;
    }
    body .navigation > ul > li > ul {
        display: none;
        position: absolute;
        top: 100% !important;
        left: 50% !important;
        transform: translateX(-50%);
        --bs-link-color: var(--bs-white);
        --bs-link-hover-color: var(--bs-white);
        background-color: var(--bs-primary);
        border-radius: 0.4em;
        padding: 1em;
        min-width: 15em;
        font-weight: 400;
    }
    body .navigation > ul > li > ul:before {
        content: "";
        border-top: solid 0px transparent;
        border-right: solid 1em transparent;
        border-bottom: solid 1em var(--bs-primary);
        border-left: solid 1em transparent;
        position: absolute;
        top: -1em;
        left: 50%;
        transform: translateX(-50%);
    }
    body .navigation > ul > li:first-child > ul {
        left: 100% !important;
    }
    body .navigation > ul > li > ul > li{
        width: 100%;
        margin-right: 0 !important;
        position: relative;
        margin-bottom: 0em;
    }
    body .navigation > ul > li > ul> li > a {
        display: block !important;
        color: var(--bs-link-color) !important;
        padding: 0.5em 1em !important;
        line-height: 1.2 !important;
        border: 0px !important;
        text-transform: uppercase;
    }
    body .navigation > ul > li > ul > li:hover > a,
    body .navigation > ul > li > ul > li.active > a,
    body .navigation > ul > li > ul > li.has-active > a{
        color: var(--bs-primary) !important;
        background-color: var(--bs-white);
    }
    body .navigation .level0.parent > .level-top > .ui-menu-icon {
        transform: rotate(-90deg);
    }
    body .navigation .level0.parent > .level-top > .ui-menu-icon:after {
        font-size: 2em;
        line-height: 0.5;
    }
    body .navigation .level0 .submenu {
        background-color: var(--bs-primary);
        border: 0;
        top: 0px !important;
        left: calc(100% + 1em) !important;
        border-radius: 0.4em;
        padding: 1em;
        min-width: 14em;
        font-weight: 400;
        color: var(--bs-link-color);
    }
    .navigation .level0 .submenu a {
        color: var(--bs-link-color) !important;
        padding: 0.5em 1em !important;
        background-color: transparent;
        border: 0px !important;
    }
    .navigation .level0 .submenu > li:hover > a,
    .navigation .level0 .submenu > li.active > a{
        color: var(--bs-primary) !important;
        background-color: var(--bs-white);
    }
}

@media screen and (max-width:1199px){
    body .nav-sections {
        order: 3;
        width: 100%;
    }
    body .navigation > ul {
        justify-content: center;
        gap: 1em 3em;
    }
}

@media screen and (max-width:768px){
    .nav-open .page-wrapper {
        left: 0;
    }

    body .nav-sections {
        background: var(--bs-primary);
        height: calc(100vh - 8.5em);
        left: 0;
        top: -100%;
        margin-left: 0;
        display: none;
    }
    .nav-open body .nav-sections {
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        -ms-box-shadow: none;
        box-shadow: none;
        left: 0;
        z-index: 99;
        top: 8.6em;
        border-radius: 0px 0px 2em 0;
        display: block;
    }
    body .nav-sections .nav-sections-items{
        height: 100%;
    }
    .nav-sections-item-title {
        display: none;
    }
    .nav-sections-item-content {
        float: none;
        margin-left: 0;
        margin-top: 0;
        padding: 0;
        height: 100%;
    }
    body .nav-sections-item-content > .navigation{
        height: 100%;
    }
    body .navigation > ul {
        flex-direction: column;
        align-items: flex-start;
        --bs-link-color: var(--bs-white);
        --bs-link-hover-color: var(--bs-white);
        padding: 1em 0;
        /*font-weight: bold;*/
        font-size: 1.75em;
        gap: 0.7em
    }
    body .navigation > ul > li {
        width: 100%;
    }
    body .navigation > ul > li.parent{
        background-image: url(../images/arrow-down-white.svg);
        background-position: right top 0.5em;
        padding-right: 0em;
    }
    body .navigation > ul > li > a {
        padding: 0.1em 0;
        color: var(--bs-link-color);
    }
    body .navigation > ul > li.parent > a {
        width: calc(100% - 1.5em);
        pointer-events: none;
    }
    body .navigation > ul > li > ul {
        top: 0.3em !important;
        padding-left: 0.7em;
        font-size: 0.9em;
    }
    body .navigation > ul > li > ul > li {
        font-size: 1em !important;
        border: 0px !important;
    }
    body .navigation > ul > li > ul > li > a {
        color: var(--bs-link-color);
        padding: 0.2em 0 !important;
        text-transform: capitalize !important;
        font-weight: normal !important;
    }
    body .navigation > ul > li > ul > li > ul {
        font-size: 0.9em !important;
        border: 0 !important;
        padding-left: 0.8em !important;
    }
    body .navigation > ul > li > ul > li > ul > li {
        font-weight: normal !important;
    }
    body .navigation > ul > li > ul > li > ul > li > a {
        color: var(--bs-link-color);
        padding: 0.3em 0 !important;
    }
    body .navigation > ul > li > ul > li > a > span.ui-menu-icon {
        display: none;
    }
    body .navigation .parent .level-top:after{
        content: "" !important;
    }

}
@media screen and (max-width:767px){
    body .nav-sections {
        height: calc(100vh - 6.2em);
    }
    .nav-open body .nav-sections {
        top: 2.8em;
    }
    body .nav-sections-item-content > .navigation {
        --bs-gutter-x: 4em;
        max-width: 100% !important;
    }
    body .navigation > ul {
        padding-bottom: 6em;
    }
}
@media screen and (max-width:575px){
    body .nav-sections-item-content > .navigation {
        --bs-gutter-x: 1.5rem;
    }
    body .navigation > ul {
        padding-bottom: 5em;
    }
}