/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

.nav_bar_container {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: var(--main_color);
    background-image: url('../img/avi_lines_full.svg');
    background-repeat: no-repeat;
    background-size: 100%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100vh;
    max-height: 100vh;
    padding: 70px 0;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: 0.4s linear;
    -o-transition: 0.4s linear;
    transition: 0.4s linear;
    z-index: 99999;
}

.navBar_active {
    visibility: visible !important;
    opacity: 1 !important;
    display: block!important;
}

.nav_bar_elements_wrapper {
    padding: 45px;
}

.nav_bar_header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.nav_bar_header img {
    width: 218px;
    height: auto;
}

.nav_bar_header i {
    font-size: 16px;
    color: white;
    cursor: pointer;
}

.nav_bar_menu_lists_wrapper {
    margin-top: 85px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 70px;
}

.nav_bar_menu_grid {
    display: flex;
    align-items: flex-start;
    gap: 32px;
}

.nav_bar_menu_list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 10px;
}

.nav_bar_menu_list_title {
    /*color: white;*/
    font-size: 16px;
    font-weight: 500;
    color: var(--neutral-600);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.nav_bar_menu_list a {
    /*color: white;*/
    font-size: 16px;
    color: #170F49;
    transition: all .15s linear;
}

.nav_bar_menu_list a:hover {
    color: var(--main_color);
    text-decoration: none;
    opacity: .7;
}

.nav_bar_menu_active {
    color: var(--main_color) !important;
}

.submenu-wrapper {
    position: absolute;
    left: 0;
    z-index: 9999;
    width: 100%;
    height: auto;
    background-color: #fff;
    box-shadow: 0 10px 14px 0 rgba(74, 58, 255, 0.01), 0 8px 16px 0 rgba(23, 15, 73, 0.03);
    opacity: 0;
    visibility: hidden;
    display: none;
}

.submenu-list {
    display: flex;
    align-items: flex-start;
    gap: 70px;
}


.header_main_menu_item-wrap {
    position: relative;
    color: #fff;
}

.sub-menu {
    position: absolute;
    top: 92px;
    left: 0;
    width: auto;
    height: auto;
    background-color: #fff;
    z-index: 9999;
    padding: 24px;
    color: var(--gray-menu);
    border-radius: 8px;
    box-shadow: 4px 16px 72px rgba(34, 39, 47, 0.1);
    display: none;
}

.sub-menu-title {
    display: block;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.sub-menu-title--active {
    text-decoration: underline;
    cursor: default;
}

.sub-menu-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sub-menu:hover a {
    color: currentColor;
}

.header_main_menu_item-wrap:hover > a.header_main_menu_item {
    color: var(--main_color);
    border-color: var(--main_color);
    text-decoration: none;
}

.header_main_menu_item-wrap:hover .sub-menu {
    display: block;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    height: 100vh;
    padding: 15px 15px 30px 15px;
    background-color: #fff;
    opacity: 0;
    visibility: hidden;
}

.mobile-menu__active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 15px;
}

.mobile-menu__content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
    padding-top: 15px;
    overflow-y: scroll;
}

.mobile-menu a {
    font-size: 16px;
    color: var(--gray-menu);
}

.mobile-menu a:hover {
    color: currentColor;
}

.mobile-menu__title {
    display: block;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.mobile-menu__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-menu--active {
    text-decoration: underline;
}



@media screen and (max-width: 1024px) {
    .submenu-list {
        gap: 30px;
    }
}

@media screen and (max-width: 1024px) {
    #nav_bar_container {
        padding: 45px 0;
    }
    .nav_bar_menu_lists_wrapper {
        margin-top: 43px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 24px;
        max-height: calc(100vh - 180px);
        overflow-x: scroll;
    }
    .nav_bar_header img {
        width: 169px;
    }
}

@media screen and (max-width: 420px) {
    .nav_bar_container {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    .nav_bar_elements_wrapper {
        padding: 15px;
    }
    .nav_bar_menu_lists_wrapper {
        margin-top: 20px;
        max-height: calc(100vh - 110px);
        gap: 20px;
    }
    .nav_bar_menu_list_title {
        font-size: 20px;
        margin-bottom: 5px;
    }
    .nav_bar_menu_list a {
        font-size: 14px;
    }
    .nav_bar_menu_list {
        gap: 5px;
    }
    .submenu-list {
        flex-direction: column;
        max-height: 100vh;
        overflow-y: scroll;
    }
}