.widget_aci_menu_widget ul li a{
    font-family: 'Roboto Condensed', sans-serif;
}

@media screen and (min-width: 1025px){
    .widget_aci_menu_widget ul{
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        margin: 0;
    }

    .widget_aci_menu_widget ul li svg{
        cursor: pointer;
    }

    .widget_aci_menu_widget ul li.menu-item-0 {
        padding: 15px 0;
        margin-bottom: 0;
        border-bottom: 2px solid transparent;

        display: flex;
        align-items: center;
    }

    .widget_aci_menu_widget ul li.menu-item-0 > a{
        font-size: 18px;
        line-height: 150%;
        color: #F6F9FE;
    }

    .widget_aci_menu_widget ul li.menu-item-0 > svg{
        margin-left: 10px;
    }

    .widget_aci_menu_widget .submenu-level-2-wrapper{
        opacity: 0;
        display: none;
        visibility: hidden;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #fff;
        padding: 20px;
        min-height: 345px;
        width: 100vw;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        z-index: 10;
        list-style: none;
        transition: opacity 0.5s ease, height 0.5s ease;
    }

    .widget_aci_menu_widget .submenu-level-2-content{
        width: 100%;
        max-width: 1400px;
        margin: 0 auto;

        display: flex;
        flex-direction: row;
        justify-content: space-between;
        gap: 40px;
    }

    .widget_aci_menu_widget .submenu-level-2-content-title{
        margin: 25px 0 30px;

        font-size: 26px;
        line-height: 130%;
        font-weight: bold;
        text-transform: uppercase;
        color: #081F3D !important;
    }

    ul.submenu-level-2{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
		align-items: flex-start;
        position: relative;

        max-width: 720px;
    }

    ul.submenu-level-2 li.menu-item-1 {
        width: 48%;
        margin-bottom: 10px !important;
        position: relative;
        vertical-align: top;

        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

	 ul.submenu-level-2 li.menu-item-1 {
		width: 100%;
	}

	.submenu-level-2:has(.menu-item:nth-child(5)) li.menu-item-1{
		width: 48%;
	}

    ul.submenu-level-2 li.menu-item-1 > a {
        font-size: 18px;
        line-height: 145%;
        color: #081F3D;
    }
    ul.submenu-level-2 li.menu-item-1:hover > a{
        color: #003A8C;
    }
    ul.submenu-level-2 li.menu-item-1:hover > svg path{
        stroke: #003A8C;
    }


    .widget_aci_menu_widget .submenu-level-3-wrapper{
        opacity: 0;
        visibility: hidden;
        position: absolute;
        left: 100%;
        top: 0;
        background-color: #fff;
        padding-left: 40px;
        padding-bottom: 20px;
        padding-right: 40px;
        width: calc(100% + 5vw);
        z-index: 10;
        list-style: none;
        transition: opacity 0.5s ease, height 0.5s ease;
    }


    ul.submenu-level-3{
        display: flex;
        flex-direction: column;
    }

    ul.submenu-level-3 li.menu-item-2 > a,
    ul.submenu-level-3 li.menu-item-3 > a{
        font-size: 16px;
        line-height: 145%;
        color: #081F3D;
    }

    ul.submenu-level-3 li.menu-item-3::before{
        margin-left: 25px;
    }

    ul.submenu-level-3 li.menu-item-2::before,
    ul.submenu-level-3 li.menu-item-3::before{
        content: '';
        display: inline-block;
        width: 10px;
        height: 2px;
        background-color: #FC1262;
        margin-right: 10px;
        vertical-align: middle;
    }

    ul.submenu-level-3 li.menu-item-2 > a:hover,
    ul.submenu-level-3 li.menu-item-3 > a:hover{
        color: #003A8C;
    }
    .widget_aci_menu_widget ul li.menu-item-0:hover{
        border-bottom: 2px solid #FC1262;
    }

    .menu-item-0:hover .submenu-level-2-wrapper,
    .menu-item-1:hover .submenu-level-3-wrapper,
    .menu-item-0 svg:hover .submenu-level-2-wrapper,
    .menu-item-1 svg:hover .submenu-level-3-wrapper{
        opacity: 1;
        visibility: visible;
        display: block;
    }

    /*
     * Scroll
     */
    .widget_aci_menu_widget .submenu-level-3-wrapper {
        scrollbar-width: thin;
        scrollbar-color: #FC1262 #f1f1f1;
        overflow-y: auto;
    }

    .widget_aci_menu_widget .submenu-level-3-wrapper::-webkit-scrollbar {
        width: 12px;
    }

    .widget_aci_menu_widget .submenu-level-3-wrapper::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

    .widget_aci_menu_widget .submenu-level-3-wrapper::-webkit-scrollbar-thumb {
        background-color: #FC1262;
        border-radius: 10px;
        border: 2px solid #f1f1f1;
    }

    /*
     * Info block
     */
    .menu-info-block{
        background-color: #DDE9F4;
        padding: 55px;
        max-width: 550px;

        color: #081F3D !important;
    }
    .menu-info-block-title{
        font-size: 24px;
        line-height: 130%;
    }

    .menu-info-block p, .menu-info-block a{
        font-size: 16px;
        line-height: 150%;
    }

    .menu-info-block a{
        display: inline-block;
        float: right;
        margin-top: 80px;
        font-weight: bold;
        color: #003A8C !important;
        border-bottom: 1px solid #003A8C;
    }

    .aci-mobile-menu-toggle,
    .widget_aci_menu_widget .submenu-back-button,
    .widget_aci_menu_widget .submenu-level-3-content-title,
    .widget_aci_menu_widget .aci-top-menu,
    .widget_aci_menu_widget .aci-menu-search,
    .widget_aci_menu_widget .aci-menu-social{
        display: none;
    }

}

@media screen and (max-width: 1280px){
    .widget_aci_menu_widget ul li.menu-item-0 > a{
        font-size: 16px;
    }
    .widget_aci_menu_widget ul li.menu-item-0 > svg{
        margin-left: 5px;
    }
}

@media screen and (max-width: 1024px){
   .widget_aci_menu_widget{
        display: none;
        opacity: 0;
    }
    #header-social, .menu-info-block{
        display: none;
    }
}


/*
 * Mobile
 */

@media screen and (max-width: 1024px){
    #widget_aci_menu_widget-row .fl-row-content-wrap{
        background-color: #ffffff;
    }

    #aci-mobile-menu-toggle-col,
    #aci-mobile-menu-toggle-col .fl-col-content,
    #aci-mobile-menu-toggle-col .fl-module{
        width: 36px;
    }
    #aci-mobile-menu-toggle-col .fl-col-content{
        align-items: flex-end;
    }

    #aci-mobile-menu-toggle-col{
        margin-right: 30px;
    }

    .aci-mobile-menu-toggle,
    .aci-mobile-menu-toggle:hover{
        background: none;
        border: none;
        padding: 0;
    }

    .icon-burger, .icon-close {
        width: 36px;
        height: 36px;
    }
    .mobile-menu-open .icon-burger {
        display: none !important;
    }

    .mobile-menu-open .icon-close {
        display: inline-block !important;
    }

    body.mobile-menu-open{
        overflow: hidden;
    }


    /*
     * Top Menu
     */
    .aci-top-menu{
        margin: 30px 0 50px;
    }
    .aci-top-menu ul{
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }

    .widget_aci_menu_widget .aci-top-menu ul li{
        color: #006cc0;
        background-color: #fff;
        padding: 10px 15px !important;
        font-size: 14px;
        letter-spacing: 0.05em !important;
        box-shadow: 2px 8px 16px -2px rgba(0, 0, 0, 0.2);

        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        line-height: normal !important;
        text-transform: uppercase !important;
        text-decoration: none !important;
        transform: scale(1) !important;

        margin-bottom: 0;
    }

    .aci-top-menu ul li:before{
        content: "";
        transition: 0.2s ease;
        z-index: -1;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: scale(1);
        border: none;
        color: white;
        position: absolute;
        transform-origin: bottom right;
        background: linear-gradient(116deg, #003A8C 23%, #05398B 32%, #143788 41%, #2D3484 52%, #50307E 64%, #7C2B76 76%, #B2246C 88%, #EC1E63 100%);
    }

    /*
     * Main Menu
     */
    .widget_aci_menu_widget .aci-main-menu ul.menu{
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .mobile-menu-open .widget_aci_menu_widget{
        height: 100vh;
        padding: 0 30px;
        transition: opacity 0.5s ease, height 0.5s ease;
    }

    .widget_aci_menu_widget .aci-main-menu{
        position: relative;
    }

    .widget_aci_menu_widget .submenu-level-2-content,
    .widget_aci_menu_widget .submenu-level-3-content{
        transition: opacity 0.5s ease, height 0.5s ease;
        height: 100%;
        min-height: 500px;
        margin: 0 auto;
    }


    .submenu-back-button{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        font-size: 14px;
        line-height: 1;
        font-weight: 600;
        color: rgba(8, 31, 61, 0.6) !important;
        width: fit-content;
    }

    .submenu-back-button svg{
        margin-right: 15px;
    }

    .widget_aci_menu_widget .aci-main-menu ul.menu li{
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;

        padding: 0;
        margin-bottom: 15px;
    }

    .widget_aci_menu_widget .aci-main-menu ul.menu li a{
        color: #081F3D;
        line-height: 150%;
        font-size: 18px;
    }
    .widget_aci_menu_widget .aci-main-menu ul li.menu-item-0 > svg{
        transform: rotate(270deg);
        margin: 0;
    }

    .widget_aci_menu_widget .aci-main-menu ul li > svg{
        padding: 10px;
        width: 36px;
        height: 36px;
    }

    .widget_aci_menu_widget .aci-main-menu ul li.menu-item-0 > svg path{
        stroke: #081F3D;
    }

    .widget_aci_menu_widget .submenu-level-2-wrapper,
    .widget_aci_menu_widget .submenu-level-3-wrapper{
        opacity: 0;
        display: none;
        visibility: hidden;
        position: absolute;
        background-color: #fff;
        z-index: 10;
        list-style: none;
        transition: opacity 0.5s ease, visibility 0.5s ease;

        top: 0;
        left: 0;
        padding: 0;
        width: 100%;
    }

    ul.submenu-level-2{
        flex-direction: column;
        justify-content: space-between;
        flex-wrap: nowrap;
    }
    .widget_aci_menu_widget .submenu-level-2-content-title,
    .widget_aci_menu_widget .submenu-level-3-content-title{
        margin: 30px 0 25px;
        font-size: 22px;
        line-height: 130%;
        font-weight: bold;
        text-transform: uppercase;
        color: #081F3D !important;
    }

    .widget_aci_menu_widget ul.menu li.menu-item-3{
        justify-content: flex-start;
    }

    ul.submenu-level-3 li.menu-item-3::before{
        margin-left: 25px;
    }

    ul.submenu-level-3 li.menu-item-3::before{
        content: '';
        display: inline-block;
        width: 10px;
        height: 2px;
        background-color: #FC1262;
        margin-right: 10px;
        vertical-align: middle;
    }

    /*
     * Social
     */

    .widget_aci_menu_widget .aci-menu-social{
        margin-top: 25px;
    }

    .widget_aci_menu_widget .aci-menu-social-title{
        color: rgba(8, 31, 61, 0.6) !important;
        font-size: 14px;
        margin-bottom: 10px;
    }
    .widget_aci_menu_widget .aci-menu-social-list{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        gap: 40px
    }

    .widget_aci_menu_widget .aci-menu-social-list li a i{
        width: auto;
        font-size: 28px;
        color: #003A8C !important;
    }

    /*
     * Search
     */
    .aci-menu-search{
        margin-top: 25px;
        padding-bottom: 30px;
    }

    .aci-menu-search .search-icon-wrapper {
        position: relative;
        width: 100%;
    }

    .aci-menu-search .search-field {
        width: 100%;
        padding: 12px 18px;
        padding-right: 40px;
        border: none;

        background-color: #abd7ff4f;
        color: #003A8C;
        font-size: 18px;
    }

    .aci-menu-search  .search-field::placeholder {
        color: #003A8C;
        font-size: 18px;
    }

    .aci-menu-search .search-submit {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        color: #4A90E2;
        font-size: 18px;
        cursor: pointer;
    }

    .aci-menu-search .search-submit:hover {
        color: #357ABD;
    }
}
@media screen and (max-width: 1024px) and (max-height: 768px) {
    .widget_aci_menu_widget{
        overflow-y: scroll;
        height: calc(100vh - 120px) !important;
    }
}
@media screen and (max-width: 450px){
    #aci-mobile-menu-toggle-col{
        margin-right: 0;
    }

    .aci-top-menu{
        margin: 0 0 30px;
    }

    .widget_aci_menu_widget .aci-main-menu ul.menu li{
        margin-bottom: 10px;
    }

    .widget_aci_menu_widget .submenu-level-2-content,
    .widget_aci_menu_widget .submenu-level-3-content{
        min-height: 480px;
    }

}
@media screen and (max-width: 450px) and (max-height: 768px) {
     .widget_aci_menu_widget{
         overflow-y: scroll;
         height: calc(100vh - 120px) !important;
     }
}
@media screen and (max-width: 320px){
    .mobile-menu-open .widget_aci_menu_widget,
    .widget_aci_menu_widget{
        padding: 0 10px;
    }

    .widget_aci_menu_widget .submenu-level-2-content,
    .widget_aci_menu_widget .submenu-level-3-content{
        height: 400px;
    }

    .widget_aci_menu_widget .aci-top-menu ul li{
        padding: 7px 10px !important;
    }

    .widget_aci_menu_widget .aci-main-menu ul.menu li a{
        line-height: 120%;
        font-size: 16px;
    }

    .aci-menu-search  .search-field::placeholder {
        color: #003A8C;
        font-size: 14px;
    }
}
