nav {
    /*margin-top: 9px;*/
    width: 100%;
    height: 50px;
    /*outline: 1px solid red;*/
    font-weight: 700;
    font-size: 13px;
}

.nav_sections {
    height: 100%;
    margin: auto;
    width: 950px;
    /*width: 65%;*/
    /*outline: 1px solid blue;*/
    display: flex;
    /*justify-content: space-between;*/
    /*justify-content: center;*/
    /*grid-column-gap: 0px;*/
}



.nav_section {
    flex-grow: 1;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    color: #5d799f;
    transition: 0.1s ease-in;
    background: linear-gradient(to right, white, rgba(97, 97, 253, 0.13));
}
.nav_section:hover .subsections {
    display: block;
    background: inherit;
    color: white;
    z-index: 1;
    font-size: 13px;
}
.nav_section:hover {
    color: white;
    font-weight: 700;
    /*font-size: 14px;*/
    border-radius: 0;
}
.nav_section.company:hover {
    background: #5d799f;
}
.nav_section.contacts:hover {
    background: #5d799f;
}
.nav_section.bms:hover {
    background: #ffcc0a;
}
.nav_section.elevator_equipment:hover {
    background: #5caf2c;
}
.nav_section.our_service:hover {
    background: #b50c69;
}
.nav_section.our_projects:hover {
    background: #8a8b85;
}




.section_title {
    /*height: 100%;*/
    padding: 0 10px 0 10px;
    color: inherit;
}

.subsections {
    position: absolute;
    top: 40px;
    left: 0;
    /*display: none;*/
    /*outline: 1px solid red;*/
    display: none;
    font-weight: 500;
    transition: 0s;
}


.subsections > a {
    display: block;
    border-bottom: 1px solid rgba(128, 128, 128, 0.55);
    padding: 15px;
    transition: 0s;
}

.subsections > a:hover {
    background: rgba(79, 79, 79, 0.73);
    /*transform: scale(105%);*/
    /*font-size: 14px;*/
    font-weight: 700;
}

.nav_section.company, .nav_section.contacts {
    border-top: 9px solid #5d799f;
}

.nav_section.bms {
    border-top: 9px solid #ffcc0a;
}

.nav_section.elevator_equipment {
    border-top: 9px solid #5caf2c;
}

.nav_section.our_service {
    border-top: 9px solid #b50c69;
}

.nav_section.our_projects {
    border-top: 9px solid #8a8b85;
}


