header {
    text-align: center;
    font-weight: 700;
    display: flex;
    justify-content: space-around;
    flex-direction: column;
}

.nav-item img{
    height: 30px;
}

.logo{
    position: relative;
    cursor: pointer;
}

.adress{
    display: flex;
    left: 85px;
    align-items: center;
    flex-direction: row;
    justify-content: center;
}

.adress:hover{
    color: #357FB0;
    cursor: pointer;
    fill: #357FB0;
}

.decrement-order:hover{
    cursor: pointer;
    border-bottom: 2.5px solid #357FB0 !important;
}

.adress:hover svg {
    fill: #357FB0 !important;
}

.adress svg{
    fill: #2D2D2D;
}

.nav-left, .nav-right {
    text-align: center;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
}

.nav-left a, .nav-right a {
    margin-right: 60px;
    cursor: pointer;

}

.nav-right a:last-child{
    margin-right: 0;
}

.logo svg {
    margin-right: 5px;
}

.header {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    gap: 20px;
    align-items: flex-end;
    padding: 20px 50px;
}

.menu {
    background: #f0f0f0;
    color: #2d2d2d;
    font-weight: 700;
    height: 45px;
    padding-top: 10px;
}

.menu ul {
    list-style-type: none;
    margin: 0;
    /*padding-top: 10px;*/
    height: 100%;
    display: flex;
    justify-content: center;
    gap: 40px;
    align-items: center;
}

.active{
    background: #fff !important;
}

.menu li:hover  {
    background: #357FB0;

}

/*.menu li:hover a{*/
/*    color: white;*/
/*}*/

.nonactive:hover a{
    color: white;
}


.active:hover a{
    color: #2d2d2d !important;
}


.menu li {
    height: 100%;
    display: flex;
    padding: 0 14px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    transition: .3s;
    align-items: center;
}

.nav-item{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.menu a.active {
    background-color: #f0f0f0;
}

.menu a {
    text-decoration: none;
    font-size: 19px;
    color: #2d2d2d;
}

.language-switcher {
    margin-top: 10px;
    position: relative;
    top: -12px;
}


.language-switcher select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 5px;
    border: 2px solid black;
    border-radius: 6px;
    font-weight: 700;
    font-size: 16px;
    background: url('/static/media/ru.png') no-repeat;
    background-position: 90% center;
    padding-left: 10px;
    padding-right: 25px;
    margin-bottom: -40px;
}

.nav-item{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lang-dropdown {
    position: relative;
    display: inline-block;
}

.lang-dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    width: 100%;
    /*box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);*/
    z-index: 1;
    border-radius: 12px;
    overflow: hidden;
}

.lang-dropdown-content a {
    color: black;
    padding: 12px 16px;
    width: 100%;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.lang-dropdown-content img {
    width: 20px;
    height: 15px;
}

.lang-dropdown {
    position: relative;
    display: inline-block;
}

.lang-dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    width: 100%;
    /*box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);*/
    z-index: 1;
    border-radius: 12px;
    overflow: hidden;
}

.lang-dropdown-content a {
    color: black;
    padding: 12px 16px;
    width: 100%;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.lang-dropdown-content img {
    width: 20px;
    height: 15px;
}

.lang-dropdown-content a:hover {
    background-color: #f1f1f1;
}

.lang-dropdown:hover .lang-dropdown-content {
    display: block;
}

.lang-dropdown-btn {
    background-color: white;
    border: 0.50px solid #2d2d2d;
    padding: 5px 10px;
    margin-right: 0;
    cursor: pointer;
    border-radius: 12px;
    display: flex;
    align-items: center;
}

#selected-lang{
    margin-right: 0 !important;
}

.lang-dropdown-btn img {
    width: 20px;
    height: 15px;
}

.lang-dropdown-btn span {
    font-size: 16px;
    margin-right: 5px;
}

.flag-code {
    display: flex;
    width: 50px !important;
    align-items: center;
    justify-content: flex-end;
}

.flag-code img {
    width: 20px;
    height: 15px;
    margin-left: 10px;
}

.flag-code span {
    font-size: 16px;
}

.lang-dropdown-content a:hover {
    background-color: #f1f1f1;
}

.lang-dropdown:hover .lang-dropdown-content {
    display: block;
}

.lang-dropdown-btn {
    background-color: white;
    border: 0.50px solid #2d2d2d;
    padding: 5px 10px;
    margin-right: 0;
    cursor: pointer;
    border-radius: 12px;
    display: flex;
    align-items: center;
}

#selected-lang{
    margin-right: 0 !important;
}

.lang-dropdown-btn img {
    width: 20px;
    height: 15px;
}

.lang-dropdown-btn span {
    font-size: 16px;
    margin-right: 5px;
}

.flag-code {
    display: flex;
    width: 50px !important;
    align-items: center;
    justify-content: flex-end;
}

.flag-code img {
    width: 20px;
    height: 15px;
    margin-left: 10px;
}

.flag-code span {
    font-size: 16px;
}

.mobile-menu {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
}

.mobile-menu a {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.mobile-menu svg {
    width: 40px;
    height: auto;
}

.links  {
    gap: 20px;
    display: flex;
    flex-direction: row;
}

.mobile-menu{
    width: 100%;
    display: none;
    margin: 20px 0;
    justify-content: space-around;
}

#link2{
    width: 25px;
}

#link1, #link3, #link4{
    width: 30px;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: space-between;
}

.burger-menu {
    font-size: 30px;
    cursor: pointer;
    margin: 20px;
}

.m-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    display: flex;
    height: 100%;
    background-color: #fff;
    transition: 0.3s;
    /*box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);*/
    z-index: 1000;
    flex-direction: column;
    justify-content: space-between;
}

.mobile-menu .menu-header {
    text-align: left;
    border-bottom: 2px solid #D6DDDF;
    padding-top: 20px;
}

.mobile-menu .hr {
    border: 1px solid #D6DDDF;
}

.mobile-menu .menu-header__top{
    margin-right: 20px;
    margin-bottom: 20px;
}
.mobile-menu .menu-header__top hr{
    color: #D6DDDF;
    font-size: 2px;
}

.mobile-menu .menu-header .close-btn {
    font-size: 30px;
    cursor: pointer;
}

.m-menu ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.m-menu ul li {
    padding: 15px;
    font-weight: 500;
    font-size: 20px;
    line-height: 100%;
    color: #434F61;
    cursor: pointer;
}

.m-menu ul li:hover {
    background-color: #f1f1f1;
}

.menu-footer hr{
    border: 1px solid #5D6668;
}

.menu-footer {
    padding: 20px 0;
    background-color: #353C41;
    text-align: left;
    height: 30%;
    padding-bottom: 25%;
}

.menu-footer a {
    display: block;
    margin: 10px 0;
    margin-bottom: 25px;
    color: #ffffff;
    text-decoration: none;
}


.open-menu {
    right: 0;
}

.footer-phone{
    font-weight: 700;
    font-size: 18px;
    color: #fff;
}

.footer-bottom {
    display: flex;
    padding: 0 20px;
    height: inherit;
    margin: 10px 0;
    flex-direction: row;
    align-items: center;
    /*justify-content: space-around;*/
}

.menu-header__bottom{
    height: 50px;
    position: relative;
}

.menu-header__top{
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

.menu-header__bottom hr{
    position: absolute;
    bottom: 0;
}

.footer-links{
    padding: 0 20px;
}

.footer-bottom a
{
    margin: 0;
}

@media screen and (width < 1600px) {
    .header {
        padding: 20px 37px;
    }
}

@media screen and (max-width: 1170px) {
    .mobile-menu{
        display: flex;
        justify-content: space-between;
        width: auto;
        border-bottom: 1px solid #D6DDDF;
        padding: 10px 20px;
    }

    .menu {
        display: none;
    }

    .container{
        padding: 0;
    }


}

@media screen and (max-width: 720px) {
    .header {
        display: none;
    }
}

@media screen and (min-width: 1175px) {
    .header {
        display: flex;
    }

    .mobile-menu {
        display: none;
    }
}

@media (max-width: 1170px) {
    .mobile-menu {
        width: auto;
    }
}
