@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#main-header .header-container .desktop-nav ul {
    margin: -12px 0 0;
}

#main-header .header-container .desktop-nav ul li {
    margin: 0;
}

#main-header .header-container .logo {
    z-index: 21;
}

.menu-container {
    align-items: center;
    display: flex;
    justify-items: flex-end;
}

@media (max-width: 1100px) {
    .menu-container {
        display: none;
    }
}

.aa-mega-menu {
    padding-right: 25px;
}

.aa-mega-menu-list {
    align-items: center;
    display: flex;
    justify-content: flex-end;
    list-style: none;
    margin: 0;
    padding: 0;
}

.aa-mega-menu-list li {
    padding: 12px 20px 30px;
    margin-bottom: 0;
}

.aa-mega-menu-list li a {
    font-weight: 700;
    position: relative;
    text-decoration: none;
}


.aa-mega-menu-list > li:hover:not(.active) > a::before,
.aa-mega-menu-list > li.selected:not(.active) > a::before {
    background: #ee6148;
    content: "";
    display: block;
    height: 2px;
    left: 0;
    position: absolute;
    right: 0;
    top: calc(100% + 7px);
    z-index: 99;
}

.aa-mega-menu-list > li:hover:not(.active) > a::after,
.aa-mega-menu-list > li.selected:not(.active) > a::after {
    background-image: url(../images/darr-orange.svg);
    content: "";
    display: block;
    height: 6px;
    left: 50%;
    margin-left: -5px;
    position: absolute;
    top: calc(100% + 8px);
    width: 11px;
    z-index: 99;
}

.aa-mega-menu-list li .sub-menu {
    display: none;
    height: 0;
    opacity: 0;
    overflow: hidden;
    width: 0;
}

.aa-mega-menu-list li.selected .sub-menu {
    height: auto;
    /*opacity: 1;*/
    overflow: auto;
    width: auto;

    animation: fadeInUp 0.5s ease-out forwards;
    background-color: #fff;
    display: block;
    padding: 50px 0;
    position: absolute;
    top: calc(100% - 20px);
    z-index: 20;

    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.aa-mega-menu-list li .sub-menu.type-map .container {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.aa-mega-menu-list li .sub-menu a.button.button-orange {
    background: #ee6148;
    color: #fff;
}

.aa-mega-menu-list li .sub-menu a.button.button-orange:hover {
    background: #4e7784;
}

@media (max-width: 1300px) {
    .aa-mega-menu-list li .sub-menu h2 {
        font-size: 42px;
    }
}

.aa-mega-menu-list li.selected .sub-menu.type-map .content-left {
    width: 60%;
}

.aa-mega-menu-list li.selected .sub-menu.type-map .content-right {
    position: relative;
    width: 35%;
}

.aa-mega-menu-list li.selected .sub-menu.type-map .content-right svg {
    height: 80%;
    width: 100%;
}

.aa-mega-menu-list li.selected .sub-menu.type-menu .container {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.aa-mega-menu-list li.selected .sub-menu.type-menu .links {
    border-right: 2px solid #ee6148;
    width: 250px;
}

.aa-mega-menu-list li.selected .sub-menu.type-menu .links h3 {
    color: #4e7784;
    font-family: "Better Times", cursive;
    font-size: 4.2em;
    font-weight: 500;
}

.aa-mega-menu-list li.selected .sub-menu.type-menu .links ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.aa-mega-menu-list li.selected .sub-menu.type-menu .links ul li {
    display: block;
    margin: 0;
    padding: 0 0 10px;
}

.aa-mega-menu-list li.selected .sub-menu.type-menu .links ul li a {
    display: block;
    transition: .3s color;
}

.aa-mega-menu-list li.selected .sub-menu.type-menu .links ul li.active a,
.aa-mega-menu-list li.selected .sub-menu.type-menu .links ul li a:hover {
    background-image: url(../images/larr-orange.svg);
    background-position: right center;
    background-size: contain;
    background-repeat: no-repeat;
    color: #ee6148;
}

.aa-mega-menu-list li.selected .sub-menu.type-menu .content {
    padding-left: 40px;
    width: calc(100% - 250px);
}

.aa-mega-menu-list li.selected .sub-menu.type-menu .content .item {
    display: flex;
    height: 0;
    overflow: hidden;
    opacity: 0;
    justify-content: space-between;
    visibility: hidden;
    width: 0;
}

.aa-mega-menu-list li.selected .sub-menu.type-menu .content .item.active {
    height: auto;
    overflow: auto;
    opacity: 1;
    visibility: visible;
    width: auto;
}

.aa-mega-menu-list li.selected .sub-menu.type-menu .content .item .content-left,
.aa-mega-menu-list li.selected .sub-menu.type-menu .content .item .content-right {
    width: calc(50% - 40px);
}

.aa-mega-menu-list li.selected .sub-menu.type-menu .content .item .content-right a {
    display: block;
    width: 100%;
}

.aa-mega-menu-list li.selected .sub-menu.type-menu .content .item .content-left a {
    color: #ee6148;
}

.aa-mega-menu-list li.selected .sub-menu.type-menu .content .item .content-left a:hover {
    text-decoration: underline;
}

.aa-mega-menu-list li.selected .sub-menu.type-menu .content .item .content-left a.button {
    color: #fff;
    text-decoration: none;
}

.aa-mega-menu-list li.selected .sub-menu.type-menu .content .item .content-left .row {
    display: flex;
    justify-content: space-between;
}

.aa-mega-menu-list li.selected .sub-menu.type-menu .content .item .content-left .row .col {
    width: calc(50% - 30px);
}

.aa-mega-menu-list li.selected .sub-menu.type-menu .content .item .content-left .row .col a {
    color: #2e2e2e;
    font-weight: 400;
    text-decoration: underline;
}

.aa-mega-menu-list li.selected .sub-menu.type-menu .content .item .social-links {
    display: flex;
    margin-top: 30px;
}

.aa-mega-menu-list li.selected .sub-menu.type-menu .content .item .social-links a {
    align-items: center;
    background: #567e8b;
    border-radius: 20px;
    color: #fff !important;
    display: flex;
    flex-direction: column;
    height: 32px;
    justify-content: center;
    margin-right: 15px;
    text-decoration: none;
    width: 32px;
}

.aa-mega-menu-list li.selected .sub-menu.type-menu .content .item .social-links a:hover {
    background: #ee6148;
}

.close-mega-menu {
    color: #000;
    font-size: 32px;
    height: 32px;
    line-height: 1;
    opacity: 0.7;
    padding: 4px 6px;
    position: absolute !important;
    right: -40px;
    top: -14px;
    transition: opacity 0.2s ease;
    z-index: 1;
}

.close-mega-menu:hover {
    opacity: 1;
}

.type-map .close-mega-menu {
    right: 40px;
    top: 35px;
}


/* NEW MEGA MENU */
#main-header {
    z-index: 999;
    background: white;
}

#main-header .menu-container {
    margin-top: auto;
}

@media screen and (min-width: 1200px) {
    #main-header .header-container .logo {
        width: 280px;
        margin-top: -5px;
    }
}

nav.aa-mega-menu .aa-mega-menu-list {
    margin-top: 7px;
}

nav.aa-mega-menu .aa-mega-menu-list li {
    padding: 20px 22px 40px;
}

nav.aa-mega-menu .aa-mega-menu-list li.active {
    background: #DCE4E6;
}

nav.aa-mega-menu .aa-mega-menu-list li.active a {
    color: #507783;
}

.aa-mega-menu-new {
    background: #DCE4E6;
    padding: 28px 0 30px 0;
    position: absolute;
    top: 184px;
    z-index: 99;
    width: 100%;
}

.aa-mega-menu-new .aa-mega-menu-new-inner {
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: 95%;
    margin-left: auto;
    margin-right: auto;
    max-width: 1361px;
}

.aa-mega-menu-new:not(.active) {
    display: none;
}

.aa-mega-menu-new .aa-mega-menu-new-left {
    margin-top: 29px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    width: 95%;
    max-width: 1100px;
}

@media screen and (max-width: 1550px) {
    .aa-mega-menu-new .aa-mega-menu-new-left {
        max-width: 780px;
    }
}

.aa-mega-menu-new .aa-mega-menu-new-left .aa-mega-menu-new-column > *:last-child {
    margin-bottom: 0 !important;
}

.aa-mega-menu-new .aa-mega-menu-new-right {
    width: 29.2%;
    margin-left: auto;
    max-width: 400px;
}

.aa-mega-menu-new .aa-mega-menu-new-right a {
    text-decoration: none;
}

.aa-mega-menu-new .aa-mega-menu-new-right img {
    vertical-align: middle;
}

.aa-mega-menu-new .aa-mega-menu-new-right h2 {
    font-size: 20px;
    margin-top: 15px;
    margin-bottom: 10px;
}

.aa-mega-menu-new .aa-mega-menu-new-right p {
    font-size: 17px;
}

.aa-mega-menu-new .aa-mega-menu-new-block {
    max-width: 260px;
}

@media screen and (max-width: 1550px) {
    .aa-mega-menu-new .aa-mega-menu-new-block {
        max-width: 230px;
    }
}

.aa-mega-menu-new .aa-mega-menu-new-block .aa-mega-menu-new-block__group-title {
    font-size: 22px;
    line-height: 1;
    margin-bottom: 30px;
}

.aa-mega-menu-new .aa-mega-menu-new-block .aa-mega-menu-new-block-text-description {
    padding-left: 12px;
    margin-bottom: 30px;
}

.aa-mega-menu-new .aa-mega-menu-new-block .aa-mega-menu-new-block-text-description a {
    text-decoration: none;
}

.aa-mega-menu-new .aa-mega-menu-new-block .aa-mega-menu-new-block-text-description .aa-mega-menu-block-text-description__title {
    font-size: 20px;
    margin-bottom: 10px;
}

.aa-mega-menu-new .aa-mega-menu-new-block .aa-mega-menu-new-block-text-description .aa-mega-menu-block-text-description__desp {
    font-size: 17px;
    color: #2e2e2e !important;
}

.aa-mega-menu-new .aa-mega-menu-new-block .aa-mega-menu-new-block-cta {
    padding-left: 12px;
    padding-right: 12px;
    margin-bottom: 16px;
    max-width: 250px;
}

.aa-mega-menu-new .aa-mega-menu-new-block .aa-mega-menu-new-block-cta > a {
    background: #ED6148;
    color: #F8F5ED;
    font-size: 16px;
    padding: 13px 15px 10px;
    min-width: 166px;
    line-height: 1;
    margin-bottom: 0;
    white-space: nowrap;
    width: 100%;
}

@media screen and (max-width: 1400px) {
    .aa-mega-menu-new {
        padding-left: 60px;
        padding-right: 45px;
    }
}


.aa-mega-menu-new .aa-mega-menu-new-left.column-1 {
    display: flex;


}

.aa-mega-menu-new .aa-mega-menu-new-left.column-1 .aa-mega-menu-new-block {
    max-width: 100%;
}

.aa-mega-menu-new .aa-mega-menu-new-left.column-1 .aa-mega-menu-block-text-description__title {
    font-size: 42px !important;
}

.aa-mega-menu-new .aa-mega-menu-new-left.column-1 .aa-mega-menu-block-text-description__desp {
    font-size: 16px !important;
    max-width: 640px !important;
}

.aa-mega-menu-new .aa-mega-menu-new-right.right-block-map {
    margin-right: auto;
	padding-bottom: 20px;
}

.aa-mega-menu-new-block .aa-mega-menu-new-block-text-description > a {
    position: relative;
}

.aa-mega-menu-new .aa-mega-menu-new-block .aa-mega-menu-new-block-text-description a:before {
    position: absolute;
    top: 5px;
    content: ' ';
    left: -15px;
    background-image: url('../images/right-caret.svg');
    background-size: contain;
    width: 18px;
    height: 14px;
    background-repeat: no-repeat;
    transform: translateX(0);
    transition: transform 0.4s linear;

}
.aa-mega-menu-new .aa-mega-menu-new-block .aa-mega-menu-new-block-text-description a:hover:before{
    transform: translateX(3px);
}
.aa-mega-menu-new .aa-mega-menu-new-block .aa-mega-menu-new-block-text-description a:hover .aa-mega-menu-block-text-description__title{
    text-decoration: underline;
    text-underline-offset: 5px;
}

.aa-mega-menu-new[data-mega-menu-key="header-mega-menu-0"] .aa-mega-menu-block-text-description__title {
    margin-top: 20px;
}


/* Edits: 11/6/26 */
.aa-mega-menu-new .aa-mega-menu-new-right.right-block-map .map {
    width: 100%;
}

.mobile-nav-overlay {
    z-index: 99999;
}

.mobile-icon-bar {
    z-index: 999991;
}