#pop-chief {
    width: 100%;
    height: 100%;
    z-index: 10;
    visibility: hidden;
    opacity: 0;
    backdrop-filter: blur(20px);
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;

} 
#chief-header {
    border-bottom: solid 1px rgba(255, 255, 255, 0.2);
    padding: 15px;
    background-color: rgba(255,255,255,0.3);
    
}
#chief-content {
    padding: 20px;

}
#chief-footer {
    border-top: solid 1px rgba(255, 255, 255, 0.2);
    padding: 15px;
    background-color: rgba(33, 37, 41, 0.7);
}
#pop-chief-message {
    width: fit-content;
    height: auto;
    max-height: 90dvh;
    background-color: rgba(33, 37, 41, 0.7);
    color: white;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    z-index: 4;
    padding: 0;
    border-radius: 20px;
    text-align: center;
    cursor: default;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    user-select: none;
    overflow: hidden;
}
#pop-chief-message span {
    color: white;
    font-size: x-large;

   
}
#chief-button {
    width: fit-content;
    padding: 10px 20px;
    background-color: white;
    color: black;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px auto;
    transition: 0.2s;
    user-select: none;
    border: none;
}
#chief-button:hover {
    background-color: #5c636a;
    color: white;
}
#chief-button-close {
    width: 10%;
    display: block;
    padding: 0px 0;
    color: white;
    cursor: pointer;
    margin: 0 auto;
    font-weight: 900;
    opacity: 0.5;
    font-weight: 100;
}
#menu-uslugi {
    text-align: center;
    display: contents;
}
#uslugi {
    padding: 10px 0px;
    left: 50px;
    top: 50px;
    background-color: var(--bs-body-color);
    font-size: 20px;
    border-radius: 15px;
}
#uslugi-footer, .uslugi-divider, #uslugi-header {
    display: none;
}
#menu-bolshe {
    text-align: center;
    display: contents;
}
#bolshe {
    padding: 10px 0px;
    left: 50px;
    top: 50px;
    padding-bottom: 40px;
    width: 90%;
    background-color: var(--bs-body-color);
    font-size: 20px;
    column-count: 2;
    border-radius: 15px;
}
#bolshe-header, .bolshe-divider, #bolshe-header {
    display: none;
}
.dropdown-item-parameter {
    color: var(--bs-body-bg);
    white-space: normal;
    line-height: 1.1;
    padding: 10px 30px;
    transition: 0.3s;

}
.dropdown-item-parameter:hover {
    color: var(--bs-body-bg);
    background-color: var(--bs-body-color);
    opacity: 0.5;
}
.top-dropdown-divider {
    border-color: var(--bs-body-bg);
    filter: opacity(0.4);
    position: sticky;
}
.bottom-dropdown-divider {
    border-color: var(--bs-body-bg);
    filter: opacity(0.4);
    display: none;
}
#uslugi-chief {
    position: relative;
}
#uslugi-chief span {
    margin-left: 10px;
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
    padding: 0px 5px 2px 5px ;
    border-radius: 5px;

    font-size: 20px;
}
@media screen and (max-width:992px) {
    #uslugi {
        padding-bottom: 0;
        padding-top: 0;
        overflow: hidden;
    }
    .uslugi-divider {
        display: block;
        margin: 0;
        padding: 0;
        top: 50px;
        position: absolute;
        left: 0;
        width: 100%;
        color: var(--bs-body-bg);
        filter: opacity(0.4);
    }
    #uslugi-header {
        height: 50px;
        background-color: var(--bs-body-color);
        position: sticky;
        top: 0;
        left: 0;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    #uslugi-title {
        color: var(--bs-body-bg);
    }
    #uslugi-footer {
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .uslugi-footer-divider{
        position: absolute;
        bottom: 50px;
        left: 0;
        width: 100%;
        margin: 0;
        padding: 0;
        color: var(--bs-body-bg);
        filter: opacity(0.4);
    }
    #uslugi-close {
        width: 10%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0px 0;
        color: var(--bs-body-bg);
        cursor: pointer;
        margin: 0 auto;
        opacity: 0.5;
        font-weight: 100;
    }
    .bottom-dropdown-divider {
        display: block;
    }




.bolshe-wrapper {
    overflow-y: auto;
}

    #bolshe {
        padding-bottom: 0;
        padding-top: 0;
    }
    .bolshe-divider {
        display: block;
        margin: 0;
        padding: 0;
        top: 50px;
        position: sticky;
        left: 0;
        width: 100%;
        color: var(--bs-body-bg);
        filter: opacity(0.4);
        z-index: 1;
    }
    #bolshe-header {
        height: 50px;
        background-color: var(--bs-body-color);
        position: sticky;
        top: 0;
        left: 0;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;

    }
    #bolshe-title {
        color: var(--bs-body-bg);
    }
    #bolshe-footer .bottom-dropdown-divider {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        margin: 0;
        padding: 0;
    }
    #bolshe-footer {
        position: sticky;
        bottom: 0;
        height: 50px;
        display: flex;
        align-items: center;
        background-color: var(--bs-body-color);
    }
    #bolshe-button-close {
        width: 10%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0px 0;
        color: var(--bs-body-bg);
        cursor: pointer;
        margin: 0 auto;
        font-weight: 900;
        opacity: 0.5;
        font-weight: 100;
        position: absolute;
        bottom: 50%;
        left: 50%;
        transform: translate(-50%, 50%);
       
    }
    #uslugi-chief {
        display: flex;
        justify-content: space-between;
    }
    #uslugi-chief span {
        height: 25px;
    }
    #pop-chief-message {
        font-size: 22px;
        width: 90%;
    }
    #chief-content {
        padding-bottom: 0;
    }
    #chief-button {
        border-radius: 5px;
        padding: 10px 20px;
    }
    #chief-footer {
        position: sticky;
        bottom: 0;
        height: 60px;
        background-color: rgba(33, 37, 41, 1);
        backdrop-filter: blur(10px);
    }
    #uslugi {
        position: absolute;
        top: 55%;
        left: 50%;
        transform: translate(-50%, -50%);
        max-height: 95dvh;
        width: 90%;
    }
    #bolshe {
        column-count: unset;
        position: absolute;
        top: 55%;
        left: 50%;
        transform: translate(-50%, -50%);
        max-height: 70%;
        overflow-y: auto;
    }

}
@media screen and (max-width:576px) {
    #pop-chief-message {
        font-size: 18px;
        
        border-radius: 10px;
        
    }
    #chief-button-close {
        padding: 0;
    }
}