/* AF Styles */

.wm-mm.justify-items-center.menu-right .wm-mm__content {
    justify-content: end;
}

.wm-page-header.wm-sticky-header .sticky-header-hide {
    display: block !important;
}

.wp-block-uagb-container.uagb-is-root-container .uagb-block-a73b5145 {
    max-width: 100%!important;
    width: 100%!important;
}

.swt-transparent-header {
	position: relative!important;
}

.swt-transparent-header.wm-sticky-header {
	position: fixed!important;
}

.full-width figure img {
    width: 100% !important;
}

.swt-transparent-header .logo-menu-wrap {
	background-color: #f1f8ff!important;
}

.swt-transparent-header .wp-block-uagb-container.sticky-header-hide {
	background-color: #ffffff00;
}

.swt-transparent-header.wm-sticky-header-active .logo-menu-wrap {
	background-color: #f1f8fff0!important;
}

.wm-mm__content>li {
    border-left: 0px!important;
}

@media only screen and (max-width: 767px) {
	.m-tac {text-align: center;}

}


/* Mobile Menu Styles */

.wp-block-wm-megamenu.open-fullscreen.is-opened {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999999999;
    height: 100vh;
}

.wp-block-wm-megamenu.open-fullscreen.is-opened  .wm-mm__content-wrapper {

}
.wp-block-wm-megamenu.open-fullscreen.is-opened .wm-mm__wrapper {
    height: 100vh !important;
}
.wp-block-wm-megamenu.open-fullscreen .wm-mm__content-wrapper {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95);
    transition: opacity 0.3s ease-in-out,
                visibility 0.3s ease-in-out,
                transform 0.3s ease-in-out;
}

.wp-block-wm-megamenu.open-fullscreen.is-opened .wm-mm__content-wrapper {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    background-color: var(--wp--preset--color--secondary);
    top: 50px !important;
}
@media only screen and (max-width: 767px) {

  
    .wm-mm .wm-mm-item__dropdown-wrapper {
        position: relative !important;
        width: 100% !important;
        padding-left:0 !important;
        padding-right: 0 !important;
        transform: translateX(0) !important;
        top: unset !important;
        left: unset !important;
        right: unset !important;
        bottom: unset !important;
    }
    .wm-mm__toggle svg {
        display: none !important;
    }

    .wm-mm__toggle {
        position: relative;
        display: block;
        padding: 0.815em 40px;
        height: 50px;
        overflow: hidden;
        line-height: 26px;
        text-align: center;
        cursor: pointer;
        margin-bottom: 0px;
        background-color: transparent !important;
        border: none !important;
        color: #17365e !important;
    }
    .wm-mm__toggle-icon-btn,
    .wm-mm__toggle-icon-btn:before,
    .wm-mm__toggle-icon-btn:after {
        position: absolute;
        top: 50%;
        left: 20px;
        height: 2px;
        width: 24px;
        -webkit-transition: all 0.25s;
        transition: all 0.25s;
        background: #17365e !important;
    }
    .wm-mm__toggle-icon-btn:before {
        content: '';
        top: -7px;
        left: 0;
    }
    .wm-mm__toggle-icon-btn:after {
        content: '';
        top: 7px;
        left: 0;
    }
    .wm-mm__toggle.is-opened .wm-mm__toggle-icon-btn:before {
        top: 0;
        -webkit-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }
    .wm-mm__toggle.is-opened .wm-mm__toggle-icon-btn:after {
        top: 0;
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
    }
    .wm-mm__toggle.is-opened .wm-mm__toggle-icon-btn {
        background: transparent !important;
    }
    .wm-mm__content>li {
        padding: 10px 15px;
        text-transform: uppercase;
        line-height: 23px;
        font-size: 15px;
        color: #fff !important;
    }
    .wm-mm-item__link a {
        color: #fff !important;
    }
    .wm-mm-item__dropdown-content .wp-block-post a { font-size: 15px !important; line-height: 22px !important; color: #fff !important;}
    .wm-mm-item__dropdown-content .wp-block-post h3 { margin: 0px !important; padding: 0px !important;}
    .is-opened .wm-mm__wrapper { background-color: var(--wp--preset--color--secondary) !important;}

    .wm-mm__content>li>.wm-mm-item__link>a{
        font-size: 15px !important;
        line-height: 22px !important;
    }

    .wm-mm.is-mobile.is-opened .wm-mm__content-wrapper {
        background-color: var(--wp--preset--color--secondary) !important;
        visibility: visible;
        z-index: 99999999;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        height: calc(100vh - 128px) !important;
    }
    .wm-mm-item__dropdown-content h4 {
        margin: 0px !important;
        padding: 0px !important;
    }
    .wm-mm-item__dropdown-content ul {
        margin: 0 0 14px 0px !important;
        padding: 0px !important;
    }
    .wm-mm-item__dropdown-content {
        padding-left: 20px !important;
        padding-top: 0 !important;
    }
    .wm-mm-item__dropdown {
        padding-bottom: 0 !important;
    }

    /* Convert wm-mm-item__toggle svg to css + sign and minus sign on toggle */
    .wm-mm-item__toggle {
        position: relative;
        z-index: 99999999;
        width: 18px;
        height: 18px;;
        display: inline-block;
    }
    .wm-mm-item__toggle svg {
        display: none !important;
    }
    .wm-mm-item__toggle span.m-toggle-icon {
        display: inline-block !important;
        width: 18px !important;
        height: 18px !important;
    }

       /* Add a plus sign using ::after */
       .wm-mm-item__toggle span.m-toggle-icon:after {
        content: "+" !important;
        font-size: 1.5em;
        color: #fff !important;
        display: inline-block;
        margin-left: 0.5em;
    }
    /* Convert plus sign to - when toggled */
    .is-opened > .wm-mm-item__link .wm-mm-item__toggle span.m-toggle-icon:after {
        content: "-" !important;
    }
 
    

}