body, html{
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

#logo{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    z-index: -1;
    opacity: 0.7;
    filter: saturate(30%);
    -webkit-filter: saturate(70%);
}

.wrapper{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    width: 100%;
    height: 100%;
    border-radius: 14px;
}

.sidebar{
    width: 400px;
    min-height: 100%;
    position: fixed;
    top: 0;
    left: -400px;
    background-color: #f2f2f298;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: left .5s;
    z-index: 1;
    box-shadow: 5px 0px 5px lightgrey;
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
}

.sidebarActive{
    left: 0;
}

.sidebarHeader{
    position: absolute;
    top:10px;
    left:50%;
    transform:translateX(-50%);
    padding:10px;
    font-size:24px;
    font-weight: bold;
    color: lightskyblue;
}

.sidebarHeader_label{
    position: absolute;
    right:-25px;
    width: 25px;
    height: 45px;
    border: none;
    background-color: #f2f2f2c4;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top-right-radius: 14px;
    border-bottom-right-radius: 14px;
    cursor: pointer;
    user-select: none;
    font-weight: bold;
    font-size: 20px;
    box-shadow: 5px 0px 5px lightgrey;
    color: lightskyblue;
    transition: .3s;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.sidebarHeader_label:hover{
    box-shadow: 5px 0px 5px rgb(93, 156, 196);
    color:rgb(93, 156, 196);
}

.content{
    position: absolute;
    top: 0;
    left: 0;
    overflow-x: hidden;
    overflow-y: auto;
    display: flex;
    align-items: center;
    justify-content: start;
    width: 100%;
    padding: 10px;
    padding-bottom: 110px;
}

.menuItems{
    list-style-type: none;
    font-size: 20px;
    display: flex;
    align-items: start;
    justify-content: center;
    flex-direction: column;
    gap: 50px;
    color: rgb(93, 156, 196);
}

.menuItem:hover{
    color:lightskyblue;
    text-shadow: 5px 0px 5px lightskyblue;
    cursor: pointer;
}


.contentBlock{
    z-index: 0;
    width:100%;
    height:100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    justify-content: start;
    padding: 20px 30px;
}

.place_add_btn_wrapper{
    display: flex;
    align-items: start;
    justify-content: center;
    padding: 15px;
    background: slategray;
    position: fixed;
    bottom:30px;
    left: 80px;
    border-radius: 14px;
    width: 370px;
    gap:20px;

    label{
        color: white;
        font-size:20px;
    }

    .filter{
        width: 75px;
    }

    span{
        font-size: 16px;
        color: white;
    }
}

.add_btn{
    height: 35px;
    border: 2px dashed rgb(93, 156, 196);
    padding: 5px;
    border-radius: 14px;
    font-size: 46px;
    font-weight: bold;
    color: rgb(93, 156, 196);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s;
    user-select: none;
    cursor: pointer;  
    background: #f2f2f295;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
}

.add_btn:hover{
    border: 2px dashed lightskyblue;
    color:lightskyblue;
    background: #312e2e;
}

.small{
    width: 100px;
    height: 50px;
    text-align: center;
    position: fixed;
    bottom: -110px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0;
}

.place{
    flex-direction: column;
    text-align: center;
}

.placeTable{
    border: 1px solid rgb(93, 156, 196);
    border-collapse:collapse;
    padding: 5px;
    box-shadow: 5px 0px 5px lightgrey;
    width: 95%;
    background: #f2f2f295;
    box-shadow: 5px 0px 5px lightgrey;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    color: #312e2e;    
}

td{
    border: 1px solid rgb(93, 156, 196);
    border-collapse:collapse;
    padding: 10px;
    cursor: pointer;
}

tr{
    transition: .5s;
}

tr:has(td):hover:nth-child(n+4){
    box-shadow: 0px 1px 5px rgb(93, 156, 196) inset;
    background: white;
    cursor: pointer;
}


.placeTableHead{
    background: lightgray;
    font-weight: bold;
}

.tal{
    text-align: left;
}

.sign{
    width: 60px;
}

.placeFormWrapper{
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: fixed;
    top:50%;
    left:50%;
    transform: translateX(-50%) translateY(-50%);
    z-index: 2;
    background: rgba(133, 132, 132, 0.699);
    color: rgb(93, 156, 196);
}

.placeFormFormWrapper{
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80%;
    height: 90%;
    background-color: red;
    border-radius: 14px;
    border: 1px solid rgb(93, 156, 196);
    background: #ffffff95;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    box-shadow: 5px 0px 5px rgb(93, 156, 196);
    overflow-y: scroll;
    overflow-x: hidden;
}

.placeForm{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 50px;
    flex-direction: column;
    width: 90%;
    height: calc( 90% - 150px);
    color: #312e2e;

    h2{
        position: absolute;
        top:30px;
        left: 50%;
        transform:translateX(-50%);
        color: rgb(93, 156, 196);
    }
}

.placeForm_long{
    min-width: 400px;
}

.placeFormFormBlock{
    display: flex;
    align-items: center;
    justify-content: start;
    flex-direction: row;
    gap: 100px;
    background: #ffffff95;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    box-shadow: 5px 0px 5px rgb(93, 156, 196);
    border: 1px solid rgb(93, 156, 196);
    border-radius: 14px;
    padding: 30px;
    width: 100%;

    label{
        user-select: none;
    }

    input{        
        border: 1px solid rgb(93, 156, 196);
        border-radius: 14px;
        padding: 3px 3px;
    }

    select{        
        border: 1px solid rgb(93, 156, 196);
        background: #ffffff95;
        border-radius: 14px;
        padding: 3px 3px;
    }
}

.placeFormSection{
    display: flex;
    gap: 10px;
}

.dtp_item{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 20px;

    .firstRow{
        display: flex;
        align-content: center;
        justify-content:space-beetwen;
        gap:10px;
        flex-direction: column;

        label{
            min-width: 69px;
        }

        input{
            min-width: 177px;
        }
    }
}

.deleteDtp_item{
    width: 45px;
    height: 45px;
    font-weight: bold;
    color: rgb(209, 150, 150);
    border: 2px solid rgb(209, 150, 150);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    cursor: pointer;
    user-select: none;
    transition: .2s;
    margin-left: 30px;
}

.deleteDtp_item:hover{
    background-color: rgb(151, 79, 79);
    border: 2px solid rgb(151, 79, 79);
    color: white;
}

#AddDtpInFormButton{
    position: sticky;
    bottom: 30px;
    left: 10px;
    transform: translateX(-50%);
    height: 45px;
    border: 2px dashed rgb(93, 156, 196);
    border-radius: 14px;
    font-size: 46px;
    font-weight: bold;
    color: rgb(93, 156, 196);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s;
    user-select: none;
    cursor: pointer;   
    width: 45px;
    background: #f2f2f295;
    box-shadow: 5px 0px 5px lightgrey;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
}


.placeFormSavebtn{
    padding: 10px;
    border-radius: 14px;
    background: #ffffff95;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    box-shadow: 5px 0px 5px rgb(93, 156, 196);
    border: 1px solid rgb(93, 156, 196);
    cursor: pointer;
    transition: .8s;
}

.placeFormSavebtn:hover{
    background: #a5a3a395;
    box-shadow: 5px 0px 5px rgb(93, 156, 196) inset;
}

.dtps{
    flex-direction: column;
}

.placeFormControld{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 10px;position: sticky;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.placeEditWrapper{
    position: fixed;
    top:0;
    left: 0;
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: rgba(133, 132, 132, 0.699);
}

.placeEditForm{
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    width: 90%;
    height: 90%;
    background-color: red;
    border-radius: 14px;
    border: 1px solid rgb(93, 156, 196);
    background: #ffffff95;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    box-shadow: 5px 0px 5px rgb(93, 156, 196);
    overflow-y: scroll;
    overflow-x: hidden;
    padding-bottom: 30px;

    h2{
        position: static;
        left: 50%;
        color:rgb(93, 156, 196);
    }

    .placeEditFormBlock{
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        min-width: 90%;
        padding: 10px;
        border-radius: 14px;
        background: #ffffff95;
        border: 1px solid rgb(93, 156, 196);
        gap: 30px;
        box-shadow: 5px 0px 5px rgb(93, 156, 196);

        div{
            display: flex;
            align-items: center;
            gap:10px;
        }


        label{
            color: rgb(93, 156, 196);
            font-weight:bold;
        }


        input{
            border: 1px solid rgb(93, 156, 196);
            border-radius: 14px;
            padding: 3px 3px;
        }

        input[type="checkbox"]{
            margin-left: -20px;
        }

        select{
            border: 1px solid rgb(93, 156, 196);
            border-radius: 14px;
            background: white;
            padding: 3px 3px;
        }

    }

    .addres{
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-direction: row;
        width: 90%;
        gap: 30px;

        div{
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: row;
            gap: 30px;
        }

        input[type="text"]{
            min-width: 500px;
            border: 1px solid rgb(93, 156, 196);
            border-radius: 14px;
            padding: 3px 3px;
        }
        label{
            user-select: none;
            cursor: pointer;
        }
    }

    .savePlaceEditForm{
        padding: 10px;
        border-radius: 14px;
        background: #ffffff95;
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        box-shadow: 5px 0px 5px rgb(93, 156, 196);
        border: 1px solid rgb(93, 156, 196);
        cursor: pointer;
        transition: .8s;
    }
    
    .savePlaceEditForm:hover{
        background: #a5a3a395;
        box-shadow: 5px 0px 5px rgb(93, 156, 196) inset;
    }
}

.stageWrapper{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    position: relative;
}
.stageElement{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-direction: column;
    background: #ffffff95;
    height: 80%;

    border: 1px solid rgb(93, 156, 196);
    border-radius: 14px;
    padding: 10px;
    width: 16,6%;

    label{
        color: rgb(93, 156, 196);
        font-weight:bold;
    }

    input{
        border: 1px solid rgb(93, 156, 196);
        border-radius: 14px;
        padding: 3px 3px;
    }

    select{
        border: 1px solid rgb(93, 156, 196);
        border-radius: 14px;
        background: white;
        padding: 3px 3px;
    }

}


.contentFilterWrapper{
    display: none;
    align-items:center; 
    justify-content: center;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(133, 132, 132, 0.699);

    .placeFilterPane{
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        border-radius: 14px;
        border: 1px solid rgb(93, 156, 196);
        background: #ffffff95;
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        box-shadow: 5px 0px 5px rgb(93, 156, 196);
        overflow-x: hidden;
        width: 80%;
        height: 80%;
        display: grid;
        align-items: center;
        justify-items: center;
        gap: 30px;
        flex-direction: column;
        padding: 10px;
        overflow-y: hidden;
        grid-template-columns: repeat(3, 1fr);

        h2{
            position: absolute;
            top:30px;
            left: 50%;
            transform:translateX(-50%);
            color: rgb(93, 156, 196);
        }

        .filter_item{
            height: 100px;
            background: #ffffff95;
            border: 1px solid rgb(93, 156, 196);
            box-shadow: 5px 0px 5px rgb(93, 156, 196);
            border-radius: 14px;
            padding: 10px;
            display: flex;
            align-items: start;
            justify-content: center;
            position: relative;
            flex-direction: column;
            gap: 5px;
            max-width: 320px;
            align-items: center;
            justify-content: center;

            label{
                position: absolute;
                top:5px;
                left: 50%;
                transform:translateX(-50%);
                color: rgb(93, 156, 196);
                font-weight:bold;
            }

            div{
                display: flex;
                align-items: center;
                justify-content: space-between;
                width: 320px;

                span{
                    width:40px;
                    color: rgb(93, 156, 196);
                }

                input{
                    border: 1px solid rgb(93, 156, 196);
                    border-radius: 14px;
                    padding: 3px;
                }

                select{
                    border: 1px solid rgb(93, 156, 196);
                    border-radius: 14px;
                    background: white;
                    padding: 3px;
                }
            }
        }

        /* .filter_item:nth-child(2){
            margin-top: 90px;
        } */

        p{
            position: absolute;
            bottom: 30px;
            /* right: 300px; */
            padding: 3px;
            padding: 10px;
            border-radius: 14px;
            background: #ffffff95;
            backdrop-filter: blur(30px);
            -webkit-backdrop-filter: blur(30px);
            box-shadow: 5px 0px 5px rgb(93, 156, 196);
            border: 1px solid rgb(93, 156, 196);
            cursor: pointer;
            transition: .8s;
        }

        p:hover{
            background: #a5a3a395;
            box-shadow: 5px 0px 5px rgb(93, 156, 196) inset;
        }
    }
}


.doc_i_frame_wrapper{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 30px;
    background: #a5a3a397;
    z-index: 3;
}

.doc_i_frame{
    width: 90%;
    height: 90%;
    z-index: 3;
    border-radius: 14px;
}

.analitics{
    display:none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap:30px;
    padding: 30px;

    table{
        border: 1px solid rgb(93, 156, 196);
        border-collapse:collapse;
        padding: 10px;
        text-align:center;
    }

    td{
        border: 1px solid rgb(93, 156, 196);
        border-collapse:collapse;
        padding: 10px;
    }
    
    tr{
        transition: .5s;
    }
}

#blackScreenMain{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999999999999999999;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    gap:30px;
    opacity: .95;
    /* animation: blackScreen 10s forwards; */
    /* animation-play-state: pau?sed; */

    p{
        color: white;
        font-size: 48px;
        min-width: 500px;
    }

    progress{
        width: 500px;
    }

}


.comission{
    display:none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap:30px;
    padding: 30px;
    width: 100%;
    height: 100%;
}

/* @keyframes blackScreen {
    from {
        opacity: .76;
    }

    to {
        opacity: .36
    }
} */


.actSelectorWrapper{
    position: fixed;
    top: 50%;
    left: 50%;
    height: 50%;
    transform: translate(-50%, -50%);
    background: #00000095;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
}

#actSelector{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    align-items: center;
    justify-items: center;
    z-index: 999999;
    background: #000000;
    height: 95%;
    width: 95%;
    padding: 10px;
    border-radius: 14px;
    background: #ffffff95;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    box-shadow: 5px 0px 5px rgb(93, 156, 196);
    border: 1px solid rgb(93, 156, 196);
    

    div{
        display: flex;
        align-items: center;
        justify-content:center;
        position: relative;
        width:100%;
        height:100%
    }

    h4{
        color: rgb(93, 156, 196);
        position: absolute;
        top:5px
    }

    iframe{
        margin-top: 10px;
        width: 90%;
        height: 90%;
        border-radius: 14px;
    }
}

.placeEditDocs{
    align-items: center;
    justify-items: center;
    flex-direction: column;
    min-width: 90%;
    padding: 10px;
    border-radius: 14px;
    background: #ffffff95;
    border: 1px solid rgb(93, 156, 196);
    gap: 30px;
    box-shadow: 5px 0px 5px rgb(93, 156, 196);
    display: grid;
    grid-template-columns: repeat(3,1fr);
    color:rgb(93, 156, 196);
    font-weight: bold;
}

.doctype{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    max-width: 20%;
    gap: 20px;

    iframe{
        min-height:500px
    }
}


.docScreen{
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: #00000095;


    iframe{
        width: 90%;
        height :90%;
        border-radius:14px;
    }
}