*,
*:before,
*:after {
    padding: 0;
    margin: 0;
    border: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
}

body {
    height: 100%;
    background-color: #E5EEF1;
}

.header_container {
    margin: 0 auto;
    max-width: 1440px;
}

.container {
    margin: 0px 7.5%;

}

.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 50;
    background-color: #E5EEF1;
}
.header.-active{
    height: 232px;
}

.header:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.header_body {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: space-between;
    min-height: 112px;
    align-items: center;
}
.header_body.scrolled{
    min-height: 88px;
}

.header_list {
    display: flex;
    position: relative;
    z-index: 2;
}

.header_list li {
    list-style: none;
    margin: 0px 0px 0px 40px;
}

.header_link {
    color: black;
    font-family: loos-normal, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    text-decoration: none;
}
.header_link:hover,
.header_link:active{
    border-bottom: 2px solid black;
    padding-bottom: 6px;
}

.header_sublink {
    color: white;
    font-family: loos-normal, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    text-decoration: none;
}
.header_sublink:hover,
.header_sublink:active{
    text-decoration: underline;
}

.header_logo {
    height: 80px;
    flex: 0 0 70px;
    overflow: hidden;
    position: relative;
    z-index: 3;
}
.header_logo.scrolled{
    height: 64px;
    flex: 0 0 56px;
}
.header_logo img {
    max-width: 100%;
    max-height: 100%;
    display: block;
}
.dropbtn {
    background-color: transparent;
    color: black;
    padding: 0px;
    border: none;
    cursor: pointer;
    font-family: loos-normal, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
}
.dropdown {
    margin: 0px 0px 0px 40px;
    position: relative;
    display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    margin-top: 48px;
    display: none;
    position: absolute;
    min-width: 250px;
    z-index: 1;
}
.dropbtn:after {

    content: url(/img/dropbtn-black-down.svg);
    padding-left: 5px;
}

.dropbtn.-active:after {
    content: url(/img/dropbtn-black-up.svg);

}

/* Links inside the dropdown */
.dropdown-content a {
    margin-left: -40px;
    color: black;
    margin-top: 14px;
    text-decoration: none;
    display: block;
    color: black;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover,
.dropdown-content a:active{

}

/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show {
    display: block;
}
.underline_header {
    display: block;
    border-bottom: 0.5px solid #515E61;
    opacity: 70%;
    margin-left: 7.5%;
    margin-right: 7.5%;
    position: relative;
    z-index: 2;
}

.header_burger {
    display: none;
}

@media (max-width: 767px) {
    body.lock {
        overflow: hidden;
    }
    .header_body{
        min-height: 88px;
    }
    .header_body.scrolled{
        min-height: 56px;
    }
    .header_logo{
        height: 64px;
        flex: 0 0 56px;
    }
    .header_logo.scrolled{
        height: 40px;
        flex: 0 0 35px;
    }
    .header_burger {
        display: block;
        position: relative;
        width: 30px;
        height: 20px;
        z-index: 3;
    }
    .header_burger:before,
    .header_burger:after {
        content: "";
        background-color: black;
        position: absolute;
        width: 100%;
        height: 2px;
        left: 0;
        transition: all 0.3s ease 0s;
    }
    .header_burger.active:before,
    .header_burger.active:after {
        background-color: white;
    }
    .header_burger:before {
        top: 0;
    }
    .header_burger:after {
        bottom: 0;
    }
    .header_burger.active:before {
        transform: rotate(45deg);
        top: 9px;
    }
    .header_burger.active:after {
        transform: rotate(-45deg);
        bottom: 9px;
    }
    .header_burger.active span {
        transform: scale(0);
    }
    .header_burger span {
        position: absolute;
        background-color: black;
        left: 0;
        width: 100%;
        height: 2px;
        top: 9px;
        transition: all 0.3s ease 0s;
    }
    .header_menu {
        position: fixed;
        top: -100vh;
        left: 0;
        width: 100%;
        overflow: auto;
        background-color: black;
        height: auto;
        padding: 128px 0px 0px 0px;
        transition: all 0.5s ease 0s;
    }
    .header_menu.scrolled{
        padding: 80px 0px 0px 0px;
    }
    .header_menu.active {
        top: 0;
    }

    .header_link {
        font-size: 24px;
        color: white;
    }

    .header_sublink {
        font-size: 18px;
        margin: 0;
    }

    .header_list {
        display: block;
        margin-left: 20%;
    }

    .header_list li {
        margin: 0px 0px 32px;
        0px;
    }

    .header_list li:last-child {
        margin: 32px 0px 61px 0px;
    }

    .header_sublist li {
        margin: 0px 0px 0px;
        0px;
    }

    .header_sublist li:last-child {
        margin: 0;
    }

    .dropbtn {
        font-size: 24px;
        color: white;
    }
    .dropbtn:after {
        content: url(/img/dropbtn-down-white.svg);
        padding-left: 5px;
    }

    .dropbtn.-active:after {
        content: url(/img/dropbtn-up-white.svg);
    }
    .dropdown {
        margin: 0px 0px 0px 0px;
    }
    .dropdown-content {
        position: relative;
        margin: 0;
        margin-top: 15px;
        margin-bottom: 0px;
        margin-left: 20px;
        margin-right: 19px;
    }
    .dropdown-content a {
        margin: 0px 0px 0px 0px;
        padding-top: 8px;
        padding-bottom: 8px;
        color: white;
    }
}

/*********************************
Блок с контактами
*********************************/
.contacts {
    margin: 0 auto;
    max-width: 1440px;
}

.container_contacts {
    margin: 0px 7.5%;
    padding-top: 268px;
    padding-bottom: 168px;
}

.content_contacts {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 50px;

}


.link_contacts h1{
    font-family: loos-extrawide, sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 40px;
    line-height: 120%;
}
.link_contacts li{
    display: flex;
    flex-direction: column;
    margin-top: 63px;
    list-style: none;
}
.link_contacts a{
    color: black;
    text-decoration: none;
    margin-top: 24px;
    font-family: loos-normal, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 140%;
    width: fit-content;
    border-bottom: 0.5px solid black;

}
.link_contacts a:first-child{
    margin-top: 0;
}
.link_contacts p{
    margin-top: 36px;
    font-family: loos-normal, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 140%;
}
.link_contacts .tg {
    margin-top: 16px;
    display: block;
    text-decoration: none;
    background-color: black;
    color: white;
    padding: 13px 18px;
    border-radius: 8px;
    font-family: loos-normal, sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
}
.map_contacts{
    width: 618px;
    height: 444px;
}
.map_contacts iframe{
    width: 100%;
    height: 444px;
    filter: drop-shadow(0px 27px 58px rgba(0, 0, 0, 0.0140573)) drop-shadow(0px 11.28px 24.231px rgba(0, 0, 0, 0.0201946)) drop-shadow(0px 6.0308px 12.9551px rgba(0, 0, 0, 0.025)) drop-shadow(0px 3.38082px 7.2625px rgba(0, 0, 0, 0.0298054)) drop-shadow(0px 1.79553px 3.85706px rgba(0, 0, 0, 0.0359427)) drop-shadow(0px 0.747159px 1.60501px rgba(0, 0, 0, 0.05));
    border-radius: 16px;
}

@media(max-width: 860px){
    .content_contacts{
        flex-wrap: wrap;
    }
}

/*********************************
футер
*********************************/
.footer {
    padding-top: 50px;
    padding-bottom: 64px;
    margin: 0 auto;
    clear: both;
    max-width: 1440px;
}

.container-footer {
    margin-left: 7.5%;
    margin-right: 7.5%;
}

.footer-underline {
    max-width: 1440px;
    height: 0px;
    display: block;
    border-bottom: 0.5px solid #06191D;
    opacity: 30%;
}


.footer-contact {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-flow: wrap;
    gap: 150px;

}

.footer-contact a {
    font-family: loos-normal, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    color: black;
    margin-top: 24px;
    text-decoration: none;
    width: fit-content;
    border-bottom: 0.5px solid black;
}


.footer-contact-left {
    display: flex;
    flex-direction: column;
    width: auto;
}


.footer-contact-left a {}

.footer-contact-left a:first-child {
    font-family: loos-normal, sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 140%;
    cursor: default;
    border-style: none;
}


.footer-contact-right {
    display: flex;
    flex-direction: column;
    width: auto;
    align-items: flex-end;


}



/**********MEDIA****************/
@media(max-width: 670px) {
    .footer-contact {
        flex-direction: column;
        gap: 0px;
    }

    .footer-contact-right {
        align-items: flex-start;
    }
}






