/*Настройка десктопного меню и его движения*/
#main-menu {
    /*background-color: var(--global-color);*/
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 9999;
    margin-top: 0;
    transition: 0.4s;
}

/*---------------------------------------------------*/
/*---------------------------------------------------*/

#body-s.hidden-desctop-menu main {
    padding-top: 0;
}
#body-s.hidden-desctop-menu #main-menu {
    margin-top: -3em;
}
#body-s.hidden-desctop-menu .first-block {
    min-height: 100dvh!important;
}

#main-menu menu {
    justify-content: center;
}
.mobile-invisible > a[data-menu-id="main-page"] img {
    max-height: unset;
    width: 50px;
    margin-right: 11px;
    transform: translateY(0);
}
/*.menu-item-cont {*/
/*    outline: 1px dotted #000;*/
/*}*/
#body-s .window h4 b {
    font-family: Consolas, sans-serif;
}
#body-s .inner-class.inner-element {
    display: flex;
    gap: 5px;
}
#body-s .inner-class.main-class.opened > .inner-class.inner-element input {
    display: inline-block;
    width: 100%;
    border: none;
    padding: 2px 4px;
    background-color: #fff;
}
#body-s .inner-class.inner-element {
    margin-left: 10px !important;
}
#body-s .inner-class.main-class.opened {
    padding-bottom: 13px!important;
}
#body-s .inner-class.main-class {
    max-height: 23px;
}
#body-s .inner-class.main-class.opened {
    max-height: 10000px;
}
.footer-win {
    background-color: #fff;
    width: 100%;
    flex-direction: row-reverse;
    padding: 3px 7px;
}
.city-changer {
    transition: 0.4s;
    position: fixed;
    z-index: 101;
    background-color: #fff;
    left: 20px;
    top: 6px;
    border-radius: 70px;
    padding: 10px 20px;
    box-shadow: inset 2px 1px 7px rgba(0, 0, 0, 0.27);
    cursor: pointer;
    opacity: 0.3;
}
.city-changer:has(#finder-sity),
.city-changer:hover {
    opacity: 1;
}
.city-changer:has(#finder-sity) span {
    display: none;
}
#finder-sity {
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    outline: none;
    padding: 0 12px;
}

@media screen and (max-width: 1530px) {
    .city-changer {
        top: 70px;
        box-shadow: 2px 1px 7px rgba(0, 0, 0, 0.27);
    }
    .city-changer:has(#finder-sity) {
        padding: 0;
    }
    .hidden-desctop-menu .city-changer {
        top: 20px;
    }
}

@media screen and (max-width: 950px) {
    #body-s main {

    }
    #main-menu {
        background: none;
    }
    #main-menu menu {
        justify-content: normal;
        background-color: #fff;
    }
    .control-menu .sub-menu {
        display: none;
    }
    .control-menu.show .sub-menu {
        display: flex;
    }
    .wave-header {
        position: fixed;
        left: 0;
        top: -1px;
        width: 100vw;
        height: 48px;
        pointer-events: none;
    }
    .wave-header svg {
        position: absolute;
        left: 0;
        top: 0;
        display: inline-block;
        width: 100%;
        height: 100%;
        filter: drop-shadow(0px -3px 6px rgba(0, 0, 0, 0.31));
    }
    .circle-logo {
        position: fixed;
        display: inline-block;
        left: 20px;
        top: 5px;
        width: 56px;
        height: 56px;
        filter: drop-shadow(0px 2px 2px rgba(0, 0, 0, 0.32));
        transform: translateY(-100px);
        transition: 0.2s;
    }
    .circle-logo img {
        position: absolute;
        display: inline-block;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    .city-changer {
        left: unset;
        right: 14px;
        top: 0;
        width: 50vw;
        padding: 23px 20px 7px;
        opacity: 1;
        border-radius: 9px;
        z-index: 100;
        box-shadow: inset 2px 0 7px #0000000d;
        background-color: #d6f7ff;
    }
    .city-changer:has(#finder-sity) {
        height: 50px;
    }
    #finder-sity {
        border: none;
        outline: none;
        padding: 0 12px;
        position: relative;
        display: inline-block;
        line-height: 28px;
        background: none;
        margin: 19px 10px 5px 15px;
    }
    #body-s[data-swipe="up"] .city-changer {
        top: -20px;
        opacity: 0.9;
        backdrop-filter: blur(50px);
        filter: blur(3px);
    }
}