body
{
    margin: 0;
    padding: 0;
    background-color: #101014;
    font-family: 'Geometria', sans-serif;
}
header{
    margin: 0 0 30px 0 ;
    width: 100%;
    border-bottom: 1px solid #36393F;
    height: 65px;

}
.tabl_check
{
    width: 250px;
    margin-left: 8px;
}
.privelegii {
    display: flex;
    align-items: center;
    float: right;
    margin-bottom: 5px;
}
.privelegii p {
    color: white;
    height: 9px;
    margin: 0 5px 11px 0 ;
    font-size: 14px;

}
.img_check
{
    display: flex;
    align-items: center;
    float: right;
    margin-right: 4px;
    margin-bottom: 4px;
    height: 15px;
}
.img_check img
{
    margin-left: 7px;
}
.img_check p
{
    color: white;
    font-size: 11px;

    margin: 0 15px 0 0 ;
}
.privelegii input {
    margin-right: 5px;
}
.body_header
{
    max-width: 785px;
    min-width: 300px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: space-between;
    box-sizing: border-box;
    padding-top: 14px;
    position: relative;

}

#big_menu{
    all: unset;
    position: relative;
    top: 7px;
}
#big_menu * {
    all: unset
}
#big_menu li
{
    color: white;
    margin-right: 15px;

}
.men
{
    margin-right: 30px;
}
.logo{
    margin-top: 3px;
    margin-left: 15px;

}
.down{
    position: absolute;
    top: 17px;
    right: -5px;
}
.foto{
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    margin-right: 10px;
    height: 36px;
    width: 36px;
    border-radius: 10px;
}
.accaunt{
    position: relative;
    height: 65px;
    width: 47px;
    margin-right: 15px;
    cursor: pointer;
}

.menu_accaunt{

    position: absolute;
    right: 0px;
    top: -180px ;
    background-color: #1B1A20;
    border-radius: 20px;
    padding: 8px 8px ;
    font-size: 12px;
    text-align: center;
    height: 58px;
    width: 83px;
    color: white;
    z-index:1;
    box-shadow: 10px 10px 10px #0C0F10;
    transition: top 0.9s ease-in-out 0s;

}

.tooltip {
    position: relative;
}
.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    top:-100% ;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.menu_accaunt_ul *
{

}

.menu_accaunt_ul li
{

    display: block;
    background: none;
    box-shadow: none;
    height: 10px;
    padding: 0;
    margin:0 0 8px 0;
}
.menu_accaunt_ul li a
{

    all: unset;
    cursor: pointer;
}
a {
    cursor: pointer;
    text-decoration: none;
    color: white;/* no underline */
    font-family: 'Geometria', sans-serif;

}
.menu
{
    display: none;
}

.name_link{
    color: white;
    font-weight: 700;
    margin: 0 ;
    font-size: 24px;
}
.contener
{
    max-width: 785px;
    min-width: 300px;
    margin-left: auto;
    margin-right: auto;
}
.zagolov
{
    display: flex;
    justify-content: space-between;
    box-sizing: border-box;
    width: 192px;
    margin-left: 17px;
    height: 24px;
    margin-bottom: 37.5px;
}
.dip_z {
    justify-content: normal !important;
}
.dip_p
{
    margin-left:10px !important;
}
.men{
    cursor: pointer;
}

.picture_lick{
    margin-top: 5.25px;
}
.spisok{
    margin: 0 42.5px 0 12px ;
}
ul{
    width: 100%;
    margin: 0;
    padding: 0;
    list-style-type: none;
}
li{
    width: 100%;
    background: #1B1A20;
    border-radius: 20px;
    box-shadow: 10px 10px 10px #0C0F10;
    padding: 11.5px 21.34px 11.5px 16px ;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

}



.phone_call p{
    color: white;
    font-family: 'Geometria', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 16px;
    display: block;
    margin: 0;
    width: 155px;
    float: right;

}
.phone_call img {
    float:left;
    display: block;
}
.phone_call
{
    position: relative;
    top: 3px;
    width: 100%;
    max-width: 181px;
    height: 18px;
}



.name_call p {
    display: block;
    color: white;
    font-family: 'Geometria', sans-serif;
    font-weight: 700;
    font-size: 16px;
    height: 22px;
    line-height: 21.6px;
    margin: 0;
}
.name_call
{
    width: 248px;
    position: relative;
    top: -2.5px;
    margin-right: 29px;
}
.people_name
{
    margin-top: 8px;
}
.people_img
{
    width: 36px;
    height: 36px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 10px;
    float: left;
    margin-right: 8px;"
}



.function_call
{
    position: relative;
    float: right;
    top: 1.9px;
    width: 55px;
    height: 17px;
}
.basket
{
    display: block;
    float: right;
}
.pencel
{
    display: block;
    float: left;
}



.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 100; }

@media (min-width: 768px) {
    .mobile-menu {
        padding-top: 0; } }

/*получпрозрачный фон*/
.mobile-menu .mm__bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 20, 20, 0.8);
    z-index: 100; }
/*Контейнер мобильного меню, именно он выезжает слева*/
.mobile-menu .mm__wrapper {
    visibility: hidden;
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
    transition: all .4s ease-in-out;
    overflow-y: auto;
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 200;
    touch-action: auto;
    -ms-touch-action: auto;
    background: #101014; }

@media (min-width: 768px) {
    .mobile-menu .mm__wrapper {
        width: 35%; } }
@media (min-width: 1200px) {
    .mobile-menu .mm__wrapper {
        width: 25%; } }
/*Стили логотипа в меню (опционально)*/
.mobile-menu .h__logo {
    padding-left: 40px;
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    line-height: 1.25;
    margin-left: 20px;
    margin-top: 15px; }

/*Стили крестика закрытия меню*/
.mm__header .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    margin-right: 15px;
    margin-top: 15px; }

.close-btn {
    position: relative;
    width: 30px;
    height: 30px;
    color: white;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    cursor: pointer; }
.close-btn:before {
    width: 2px;
    height: 20px;
    left: 10px;
    top: 1px; }
.close-btn:after {
    height: 2px;
    width: 20px;
    top: 10px;
    left: 1px; }
.close-btn:before, .close-btn:after {
    content: "";
    background: #ffffff;
    position: absolute; }
.close-btn--red:before, .close-btn--red:after {
    background: #ffffff; }

.add_in_cat
{
    top:0;
    right: -20px;

}



@media (max-width: 685px)
{
    header
    {
        height: 103px;
    }
    .body_header
    {
        padding-top: 51px;
        padding-right: 8px;
    }
    #big_menu
    {
        display: none;
    }
    .menu
    {
        display: block;
        position: relative;
        left: 17px;
        top: 11px
    }
    .logo{
        position: relative;
        top:4px;
        left: 15px;
    }
    .accaunt
    {
        position: relative;

    }
    .zagolov
    {
        width: 100%;
        max-width: 600px;
        padding-right: 31px;


    }
    .name_call
    {
        max-width: 248px;
        width : 100%;
        position: relative;
        top: 9px;
        left: 16px;
        margin-right: 49px;
    }
    .name_call p {
        display: block;
        color: white;
        font-family: 'Geometria', sans-serif;
        font-weight: 700;
        font-size: 15px;
        height: 20px;
        line-height: 20.25px;
        margin: 0;
    }
    .phone_call p{
        color: white;
        font-family: 'Geometria', sans-serif;
        font-weight: 400;
        font-size: 12px;
        line-height: 12px;
        display: block;
        margin: 0;
        width: 115px;
        float: right;

    }

    .phone_call img {
        float:left;
        display: block;
        width: 12px;
        height: 12px;

    }

    .phone_call
    {
        position: relative;
        top: 21px;
        left: 17px;
        width: 100%;
        max-width: 133px;
        height: 18px;
    }
    li{
        width: 100%;
        background: #1B1A20;
        border-radius: 20px;
        padding: 0;
        box-shadow: 10px 10px 10px #0C0F10;
        height: 70px;
        margin-bottom: 10px;
        display: block;
        justify-content: normal;
        align-items: normal;


    }
    .div1
    {
        display: block;

    }
    .contener
    {
        max-width: 600px;

        margin-left: auto;
        margin-right: auto;
    }
    .spisok{
        margin: 0 12px 0 18px ;
    }
    .function_call
    {
        position: relative;
        float: right;
        top: -24px;
        right: 16.44px;
        width: 55px;
        height: 17px;
    }

    .name_polz
    {
        max-width: 248px;
        width : 100%;
        position: relative;
        top: 15px;
        left: 16px;
        margin-right: 49px;
    }

    .login_user
    {
        position: relative;
        top: 5px;!important;
        left: 45px;!important;
        width: 100%;
        max-width: 133px;
        height: 18px;
    }
    #left_menu ul
    {
        margin-left: auto;
        margin-right: auto;
        width: 85%;
        margin-top: 35px;
    }
    #left_menu li
    {
        text-align: center;
        font-size: 18px;
        padding-top: 20px;
    }
    .name_categ_m
    {
        top: 23px;
    }
    .add_categ_m
    {
        left: 100px;
        top: 8px;
        margin-right: 40px;
    }
    .fun_categ_m
    {
        top: -15px;
    }
    .add_in_cat
    {
        top: -15px;
        right: -15px;
    }
    .fun_city
    {
        top: 5px;
    }
    .name_city_m
    {
        top: 23px;
    }
}






.input-file {
    position: relative;
    display: flex;
    width: 100%;
    min-width: 200px;
    max-width: 583px;
    height: 35px;
}

.input-file-btn {
    cursor: pointer;
    outline: none;
    text-decoration: none;
    font-size: 14px;
    color: white;
    text-align: center;
    border-radius: 10px 0 0 10px;
    background: none;
    border: 1px solid #4B5158;
    line-height: 35px;
    height: 35px;
    padding: 0 20px;
    box-sizing: border-box;
    margin: 0;
    transition: background-color 0.2s;
    flex: 0 0 auto; /* Фиксированная ширина */
}

.input-file-text {
    padding: 0 10px;
    line-height: 35px;
    text-align: left;
    height: 35px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    border-radius: 0px 10px 10px 0;
    border: none;
    color: white;
    white-space: nowrap; /* Текст не переносится */
    overflow: hidden; /* Обрезаем всё за пределами блока */
    text-overflow: ellipsis;
    background-color: #34333D;
    flex: 1 1 auto; /* Автоматическая ширина, заполняющая оставшееся пространство */
}

.input-file input[type=file] {
    position: absolute;
    z-index: -1;
    opacity: 0;
    display: block;
    width: 0;
    height: 0;
}

.img_redact
{
    border-color: black;
    height: 133.33px;
    width: 100px;
    border-radius: 20px;
    margin-left: 8px;
    margin-bottom: 5px;
}

.popup {
    position: fixed;
    top: 20%;
    left: 39%;
    padding: 40px;
    width: 850px;
    margin-left: -200px;
    background-color: #101014;
    border-radius: 8px;
    z-index: 99999;
    opacity: 1;
}
.popup_image{
     position: fixed;
    top: 50%;
    left: 50%;
     padding: 0px;
    transform: translate(-50%, -50%);
    width: 400px;
     margin-left: 0px;
     background: none;

     z-index: 99999;
     opacity: 1;
 }
.popup_image img
{
    border-radius: 10px;
}
.popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
}
.popup-fade:before {
    content: '';
    background: #000;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0.7;
    z-index: 9999;
}

.img_redact {
    width: 105px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: block;
    transition: filter 0.3s ease-in-out;
}

.img_redact-container {
    position: relative;
    display: inline-block;
    margin-right: 15px;
}

.img_redact-container.allow-hover:hover .img_redact {
    filter: brightness(50%);
}
.img_redact-container.allow-plass:hover .img_redact {
     filter: brightness(50%);
 }

.loading-arrow {
    display: none; /* Hide the actual file input */
}

.custom-arrow {
    position: absolute;
    bottom: 0px; /* Initial position of the arrow outside the image */
    left: 57%;
    width: 90px;
    height: 30px;
    transform: translate(-50%, -50%);
    border: white 2px solid;
    border-radius: 10px;
    color: white;
    opacity:0 ;
    display: flex;
    transition: all 0.3s ease-in-out;
    font-size: 12px; /* Size of the arrow */

    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 50px; /* Vertically center the arrow */
}
.custom-plus
{
    position: absolute;
    bottom: 0px; /* Initial position of the arrow outside the image */
    left: 57%;
    background-image: url("/image/stage/poisk.png");
    background-size: 30px;
    background-repeat: no-repeat;
    width: 30px;
    height: 30px;
    transform: translate(-50%, -50%);
    border: none;
    color: white;
    opacity:0 ;
    display: flex;
    transition: all 0.3s ease-in-out;
    font-size: 12px; /* Size of the arrow */

    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 50px;

}

.img_redact-container.allow-hover:hover .custom-arrow {
    cursor: pointer;
    bottom: 20%; /* Arrow position on hover */
    opacity: 1;

}


.img_redact-container.allow-plass:hover .custom-plus {
    cursor: pointer;
    bottom: 30%; /* Arrow position on hover */
    opacity: 1;

}
.custom-arrow:hover ~ .img_redact {
    filter: brightness(100%);
}
.custom-plus:hover ~ .img_redact {
    filter: brightness(100%);
}
#preview
{
    height: 400px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 12px;
}

.btn_close_image {
    border-radius: 50% !important;
    padding: 0.5em;
    width: 30px !important;
    height: 30px !important;
    border: 2px solid #ed1616 !important;

    color: #ed1616;
    float: right;
    right: -8px;
    top: -12px;
    position: absolute; /* Change this to absolute */
    z-index: 9999; /* Ensure it's on top of other elements */
    background: none;
}

.btn_close_image:hover {
    border: 2px solid #f60d0d;
    color: #ffffff;
}

.btn_close_image::before {
    content: " ";
    position: absolute;
    display: block;
    background-color: #ed1616;
    width: 2px;
    right: 12px;
    top: 5px;
    bottom: 5px;
    transform: rotate(45deg);
}

.btn_close_image::after {
    content: " ";
    position: absolute;
    display: block;
    background-color: #ed1616;
    height: 2px;
    top: 12px;
    left: 5px;
    right: 5px;
    transform: rotate(45deg);
}