/* Menu */

.menu--desktop {
    display: block;
}

.menu--mobile {
    display: none;
}

.menu--desktop ul.no-list {
    display: flex;
    align-items: baseline;
}

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

    .menu--mobile {
        display: block;
    }

    ul.no-list {
        display: block;
    }

    .menu__item {
        display: block;
        width: 100%;
    }

    .menu__link {
        display: block;
        font-size: 1.083rem;
    }

    .menu__item--depth-1 {
        /* 	border-top: 2px solid #3F69B8 !important; */
    }

    .menu__item--depth-1 {
        border-top: 2px solid #ced4db;
        padding: 0;
    }

    .menu__item--depth-1 > .menu__link {
        padding: 18px 26px;
    }

    ul.menu__submenu.no-list {
        border: none;
        border-radius: 0;
        box-shadow: none;
        position: static;
        transform: unset;
        width: 100%;
    }

    .menu__submenu .menu__item {
        background-color: #d6dee5;
        border-bottom: none;
        border-top: 2px solid #d6dee5;
        padding: 0;
    }

    .menu__submenu .menu__link {
        display: block;
        padding: 0.7rem 2rem;
        transition: none;
        width: 100%;
    }

    .menu__submenu .menu__item .menu__link:hover,
    .menu__submenu .menu__item .menu__link:focus {
        background-color: inherit;
        transition: none;
    }

    .menu__item--has-submenu > .menu__link {
        width: 70%;
    }

    .menu__submenu--level-3 .menu__item .menu__link {
        padding: 0.7rem 3rem;
    }

    .menu__child-toggle {
        background-position: center right 30px;
        background-repeat: no-repeat;
        background-size: 20px;
        border: none;
        cursor: pointer;
        height: 55px;
        padding: 15px 0;
        position: absolute;
        right: 0;
        top: 0;
        width: 30%;
    }

    .menu__child-toggle-icon {
        /* background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M7.56421 8.24406L13.2665 2.01462C13.5778 1.65221 13.5778 1.09719 13.2665 0.755938C12.9552 0.414687 12.4296 0.414687 12.1183 0.755938L7 6.36687L1.88165 0.755938C1.55106 0.414687 1.04476 0.414687 0.733469 0.755938C0.422177 1.09719 0.422177 1.65222 0.733469 2.01462L6.41603 8.24406C6.74662 8.58531 7.25292 8.58531 7.56421 8.24406Z' fill='%23311189' stroke='%23311189'/%3e%3c/svg%3e");
        background-repeat: no-repeat; */
        display: block;
        height: 20px;
        margin-left: auto;
        margin-right: 1.05rem;
        transition: transform 0.4s;
        width: 20px;
        margin-top: 12px;
    }

    .menu__item--open > .menu__child-toggle .menu__child-toggle-icon {
        /* background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M7.56421 8.24406L13.2665 2.01462C13.5778 1.65221 13.5778 1.09719 13.2665 0.755938C12.9552 0.414687 12.4296 0.414687 12.1183 0.755938L7 6.36687L1.88165 0.755938C1.55106 0.414687 1.04476 0.414687 0.733469 0.755938C0.422177 1.09719 0.422177 1.65222 0.733469 2.01462L6.41603 8.24406C6.74662 8.58531 7.25292 8.58531 7.56421 8.24406Z' fill='%23311189' stroke='%23311189'/%3e%3c/svg%3e");
        background-repeat: no-repeat; */
        display: block;
        height: 20px;
        margin-left: auto;
        margin-right: 1.05rem;
        transition: transform 0.4s;
        width: 20px;
    }

    .mobile-search {
        display: flex;
        flex-direction: row;
        gap: 15px;
        justify-content: flex-end;
        align-items: center;
        padding: 10px 20px;
    }
    .mobile-search-input {
        flex-grow: 1;
    }

    .menu--mobile .mobile-utility {
        padding: 10px 26px;
    }

    .menu--mobile .mobile-utility a {
        color: #ff6f71;
    }

    .mobile-btn-wrapper {
        position: relative;
        padding: 20px 30px;
        text-align: center;
    }

    .menu__item .menu__item--depth-2 > a.menu__link {
        background-color: #d6dee5 !important;
        font-size: 15px !important;
        font-style: normal !important;
        font-weight: 400 !important;
        line-height: normal;
        padding: 17px 26px;
        border-top: 1px solid #bcc9d4;
    }

    .menu__item .menu__item--depth-2 .menu__child-toggle {
        background: #2653a7;
    }

    .menu__item .menu__item--depth-3 > a.menu__link {
        /* background-color:opacity: 0.6; */
        background: #3560b1;
        color: #fff;
        font-size: 15px !important;
        font-style: normal !important;
        font-weight: 700 !important;
        line-height: normal;
        padding: 17px 26px;
    }

    .mega-menu-primary {
        display: none;
    }
}

/* Menu items */

.menu__item {
    position: relative;
}

.menu__link {
    font-style: normal;
    text-decoration: none;
    position: relative;
    font-weight: 700;
}

.menu__link:hover,
.menu__link:focus,
.menu__link:active {
}

.menu__link--toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Menu items - top level */

.menu__item--depth-1 {
    display: inline-block;
    padding: 0.7rem 0.875rem;
}

/* Top level nav items - uppercase and bold */
.menu__item--depth-1 > .menu__link {
    text-transform: uppercase;
    font-weight: bold;
}

/* Menu items - submenus */

ul.menu__submenu.no-list {
    border-radius: 3px;
    display: none !important;
    left: 0;
    position: absolute;
    text-align: left;
    text-transform: none;
    top: 100%;
    width: 270px;
    z-index: 99;
}

.menu__item--open > ul.menu__submenu.no-list {
    display: block !important;
}

.menu__submenu--level-2 {
    transform: unset;
}

/* Keeps the first menu item's drop down menu aligned to the left of the top level menu item */

.menu__item--depth-1:first-child .menu__submenu--level-2 {
    transform: unset;
}

.menu__submenu .menu__item {
    /* border-bottom: 2px solid #3f69b8; */
    padding: 0;
    width: 100%;
}

.menu__submenu .menu__item:hover {
    border-bottom: none;
}

/* .menu__submenu .menu__item:active {
    border-bottom: 2px solid #44bcd2;
} */

.menu__submenu .menu__link {
    display: block;
    padding: 0.7rem 1.05rem;
    transition: all 0.3s ease-in-out;
    width: 100%;
}

.menu__submenu--level-3 {
    left: 100%;
    top: 0;
}

/* Flyouts for the last two top level menu items go left to keep page responsive */

.menu__item--depth-1:nth-last-child(-n + 2) .menu__submenu--level-3 {
    left: auto;
    right: 100%;
    top: 0;
}

/* Accounts for child toggle */

.menu__submenu .menu__item--has-submenu > .menu__link {
    padding-right: 3rem;
}

/* Creates the triangle at the top of the submenu drop down */

@media (min-width: 768px) {
    .menu__child-toggle-icon {
        display: none !important;
    }
}

/* Menu icons */

@media (min-width: 769px) {
    .menu__submenu .menu__child-toggle {
        margin-left: auto;
        padding: 0 1.05rem;
    }

    .menu__child-toggle {
        position: absolute;
        right: 5px;
        top: 30px;
        z-index: 2;
    }

    .menu__item--depth-1 > .menu__child-toggle {
        position: static;
        right: 0;
        top: 0;
        vertical-align: middle;
    }

    .menu__child-toggle-icon {
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top-style: solid;
        border-top-width: 7px;
        display: block;
        height: 0;
        margin-left: 1px;
        width: 0;
    }
}

.mobile-search-form-submit {
    background: none;
    border: none;
    padding: 0;
}
.mobile-search-form-submit:focus {
    border: none;
}

/* Mega Menu Styles */
.mega-menu-primary ul {
    margin-bottom: 0;
}

.mega-menu-primary li {
    list-style: none;
}

.cta-li {
    padding: 5px 0 0 20px;
}

.mega-menu-wrapper {
    background: transparent;
    width: 100%;
}

.mega-menu-wrapper h5 {
    font-family: Poppins;
    font-size: 16px;
    font-style: normal;
    font-weight: 700 !important;
    line-height: normal;
    margin-bottom: 14px;
    color: #fff;
}

.mega-col {
    padding: 44px 0;
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 40px;
}

.mega-col:first-child {
    border-left: none;
}

.mega-col ul {
    display: flex;
    flex-direction: column;
}

.mega-row {
    justify-content: space-between;
}

.mega-link {
    list-style: none;
    padding: 10px 20px 40px;
}

/* Mega menu top level nav items - uppercase and bold */
.mega-link a {
    text-transform: uppercase;
    font-weight: bold;
}

/* Teal chevron indicator for mega menu items with submenus */
.mega-link-icon a::after {
    content: "";
    display: inline-block;
    width: 13px;
    height: 8px;
    margin-left: 10px;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='13' height='8' viewBox='0 0 13 8' fill='none'%3e%3cpath d='M12.811 1.70643L6.02014 8L-0.810178 1.66829C-0.931342 1.55597 -1 1.40322 -1 1.24448C-1 1.08574 -0.931342 0.932986 -0.810178 0.820674L-0.113891 0.175216C0.00727333 0.0628967 0.172053 -1.00491e-06 0.343293 -1.01239e-06C0.514533 -1.01988e-06 0.679323 0.0628967 0.800473 0.175216L6.02014 5.01385L11.2003 0.213361C11.4532 -0.0202709 11.8619 -0.0202709 12.1139 0.213361L12.811 0.859567C12.9321 0.971886 13 1.12389 13 1.28337C13 1.44212 12.9321 1.59412 12.811 1.70643Z' fill='%236FFFB7'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    vertical-align: middle;
}

.mega-menu-primary li:last-child {
    padding-right: 0;
}

.mega-link a:hover {
    /* 	color: */
}

.mega-col .hs-menu-depth-1 .hs-menu-item li {
    margin-bottom: 14px !important;
}

#hs_menu_wrapper_navigation_ > ul > li {
    margin-bottom: 14px;
}

.mega-col .hs-menu-item a {
    font-family: Poppins;
    font-size: 16px;
    font-style: normal;
    font-weight: 400 !important;
    line-height: normal;
}

.mega-label {
    color: #fff;
}

.mega-col .hs-menu-item a:hover {
    text-decoration-line: none;
    border-bottom: none;
}

.mega-col .hs-menu-item .hs-menu-depth-1 {
    margin-bottom: 14px;
}

.mega-menu-wrapper {
    display: none;
}

.mega-menu-wrapper.active {
    display: block;
    position: absolute;
    width: 100%;
    height: auto;
    left: 0;
    top: 145px;
    padding-top: 2px;
    z-index: 10;
}
