﻿.header_nav {
    background: var(--mtc-blue);
    position: fixed;
    width: 100%;
    z-index: 19;
}

.nav_header_div {
    color: white;
    display: flex;
    justify-content: space-between;
    height: 90px;
    padding: 25px 90px;
    align-items: center;
    transition: all .5s ease-in-out;
}
@media(max-width: 1400px){
    .nav_header_div{
        padding: 25px 60px;
    }
}
@media(max-width: 1200px){
    .nav_header_div{
        height: 50px;
        padding: 15px 60px;
    }
}
@media(max-width: 768px){
    .nav_header_div{
        padding: 15px 0;
        margin: auto;
        width: 90%;
    }
}
@media(max-width: 500px){
    .nav_header_div{
        padding: 10px 0;
        height: 40px;
    }
}

.scroll_nav {
    height: 60px;
    padding: 10px 60px;
}

.nav_header_div .logo_container{
    display: block;
    height: inherit;
}

.nav_header_div .mtc_nav_logo {
    height: 100%;
    display: block;
}

.nav_header_div #mobile_nav_open {
    display: none;
}

.nav_header_div .links_background_div {
    width: 60%;
}
@media(max-width: 1400px) {
    .nav_header_div .links_background_div {
        width: 65%;
    }
}
@media(max-width: 1200px) {
    .nav_header_div .links_background_div {
        display: none;
        position: fixed;
        top: 80px;
        right: 0;
        padding: 20px 0 40px;
        row-gap: 30px;
        z-index: 99;
        width: 100%;
        border: 2px solid var(--mtc-blue);
        backdrop-filter: blur(5px);
    }
    .nav_header_div #mobile_nav_open:checked ~ .links_background_div {
        display: unset;
    }
}
@media(max-width: 768px){
    .nav_header_div .links_background_div {
        height: calc(100% - 140px);
    }
}
@media(max-width: 500px){
    .nav_header_div .links_background_div {
        top: 60px;
        height: calc(100% - 120px);
    }
}
.nav_header_div .links_background_div::before {
    display: none;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(7, 85, 100, 1);
    opacity: 0.85;
    box-shadow: 4px 4px 4px rgb(0 0 0 / 25%);
}
@media(max-width: 1200px) {
    .nav_header_div #mobile_nav_open:checked ~ .links_background_div::before {
        display: unset;
    }
}

.nav_header_div .links_list {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
@media(max-width: 1200px){
    .nav_header_div .links_list {
        justify-content: space-around;
        height: 100%;
        max-height: 800px;
        flex-direction: column;
        margin: auto;
        width: fit-content;
        align-items: flex-start;
        row-gap: 10px;
    }
}
@media(max-width: 768px){
    .nav_header_div .links_list{
        row-gap: 0;
    }
}

.nav_header_div .links_list li {
    position: relative;
}

.nav_header_div .links_list a {
    font-size: 18px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
    position: relative;
}
@media(max-width: 1200px){
    .nav_header_div .links_list a {
        font-size: 40px;
        line-height: 50px;
        font-weight: 600;
    }
}
@media(max-width: 768px){
    .nav_header_div .links_list a {
        font-weight: 600;
        font-size: 28px;
        line-height: 38px;
    }
}

.nav_header_div .links_list a.nav_link:hover,
.nav_header_div .links_list a.nav_link.current_link {
    color: var(--mtc-orange);
}

.nav_header_div .links_list a .down_arrow {
    display: inline-block;
    font-size: 8px;
    vertical-align: bottom;
}
@media(max-width: 1200px){
    .nav_header_div .links_list a .down_arrow {
        display: none;
    }
}
.nav_header_div .links_list li:hover a .down_arrow {
    transform: rotate(180deg);
}



.nav_header_div .nav_submenu {
    background: var(--mtc-blue);
    visibility: hidden;
    opacity: 0;
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    z-index: 20;
    padding: 20px;
    row-gap: 15px;
    top: 20px;
    left: -8px;
}
@media(max-width: 1200px){
    .nav_header_div .nav_submenu {
        visibility: visible;
        opacity: 1;
        position: relative;
        padding: 0 0 0 10px;
        background: inherit;
        top: 0;
        left: 0;
        row-gap: 5px;
    }
}

.nav_header_div .links_list li ul li a {
}
@media(max-width: 1200px){
    .nav_header_div .links_list li ul li a {
        font-size: 20px;
        line-height: 24px;
    }
}
@media(max-width: 768px){
    .nav_header_div .links_list li ul li a{
        font-size: 18px;
        line-height: 20px;
        font-weight: 400;
    }
}

.nav_header_div .links_list li:hover ul {
    visibility: visible;
    opacity: 1;
}

.nav_header_div .links_list .success_submenu {
    width: 136px;
}
@media(max-width: 1200px){
    .nav_header_div .links_list .success_submenu {
        width: unset;
    }
}
@media(max-width: 768px){
    .nav_header_div .links_list .success_submenu{
        display: none;
    }
}

.nav_header_div .links_list .resources_submenu {
    width: 150px;
}
@media(max-width: 1200px){
    .nav_header_div .links_list .resources_submenu {
        width: unset;
    }
}

.nav_header_div .links_list a.contact_link {
    z-index: 20;
}
.nav_header_div .links_list a.contact_link:hover,
.nav_header_div .links_list a.contact_link.current_link {
    color: var(--mtc-blue);
    background: var(--mtc-sunrays);
}


.nav_header_div .open_nav_lines{
    display: none;
}
@media(max-width: 1200px){
    #mobile_nav_open:checked~.open_nav_lines{
        display: none;
    }
    #mobile_nav_open:not(:checked)~.open_nav_lines{
        display: block;
    }
}
.nav_header_div .open_nav_lines:hover {
    cursor: pointer;
}


.nav_header_div .close_nav_x{
    display: none;    
}
@media(max-width: 1200px){
    #mobile_nav_open:checked~.close_nav_x{
        display: block;
    }
    #mobile_nav_open:not(:checked)~.close_nav_x{
        display: none;
    }
}
.nav_header_div .close_nav_x:hover{
    cursor: pointer;
}
.nav_header_div .close_nav_x img{
    width: 35px;
}


