
.loan-window{
    display: grid;
    grid-template-columns:50% 50%;
    flex-wrap: wrap;
    max-width: calc(100vw - 100px);
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    overflow-x: auto;
    padding: 20px 30px 20px 30px
}


.loan-window > .description{ 
    padding: 2em 0;
    font-size: 1.2em;
    grid-column: 1 / -1;
}

.close-block-control{
    width:40px;
    height:40px;
    top:0;
    right:0;
    position:absolute;
    cursor:pointer;
    transform: rotate(45deg);
    transition-duration: .3s;
    transition-timing-function: ease-in-out;
}

.close-block-control:hover{
    transform: rotate(135deg) scale(2);
}

.close-block-control:before{
    position:absolute;
    content: '';
    left:50%;
    top:50%;
    transform: translate(-50%, -50%);
    width: 2px;
    height:25px;
    background-color: #FF615E;
    transition-duration: .3s;
    transition-timing-function: ease-in-out;
}

.close-block-control:after{
    position:absolute;
    content: '';
    left:50%;
    top:50%;
    
    transform: translate(-50%, -50%);
    width: 25px;
    height:2px;
    background-color: #FF615E;
        transition-duration: .3s;
    transition-timing-function: ease-in-out;

}
.close-block-control:hover:after,
.close-block-control:hover:before{
    background-color: #DB0700;
}

.blind-form{
    position:fixed;
    background-color:white;
    display:flex;
    flex-direction: column;
    padding:45px 5px 30px 5px;
    border-radius: 8px;
    left:50%;
    top:50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 8px rgba(0,0,0,0.3);
    z-index:600;
    max-height: calc(100vh - 80px);
    max-width: calc(100vw - 80px);
}

::-webkit-scrollbar {
    width: 6px; /* ширина для вертикального скролла */
    height: 8px; /* высота для горизонтального скролла */
    background-color:#E5E5E0;
}

/* ползунок скроллбара */
::-webkit-scrollbar-thumb {
    background-color: #00aa90;
    border-radius: 9em;
    box-shadow: inset 1px 1px 10px #00aa90;
}

#notifications{
    position:fixed;
    right:0;
    top:0;
    z-index:1000;
    max-width:100%;
}
#notifications .notification{
    position:relative;
    margin:10px 10px 0 10px;
    padding:10px;
    border-radius: 5px;
    animation: splash 1s normal forwards ease-in-out;
}

@keyframes splash {
    from {
        opacity: 0;
        transform: scale(0, 0);
    }
    50% {
        opacity: 1;
        transform: scale(1.1, 1.1);
    }
    to {
        transform: scale(1, 1);
    }
}

#notifications .notification span{
        margin-right: 20px;
    font-size: 20px;
    font-weight: bold;
    color: white;
}

.del-notification{
width: 30px;
    height: 30px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    cursor:pointer;
}
.del-notification:before{
    position:absolute;
    content: '';
    left:50%;
    top:50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 4px;
    height:20px;
    transition-duration: .3s;
    transition-timing-function: ease-in-out;
}

.del-notification:after{
    position:absolute;
    content: '';
    left:50%;
    top:50%;
    transform: translate(-50%, -50%)  rotate(45deg);
    width: 20px;
    height:4px;
        transition-duration: .3s;
    transition-timing-function: ease-in-out;

}
.del-notification:hover:after,
.del-notification:hover:before{
    background-color: red;
}

.del-notification:after,
.del-notification:before{
    background-color: white;
}


#notifications .notification.ok{
    background-color:#04a700db;
}

#notifications .notification.error{
    background-color:#ff5858db;
}

/* Параметры меню */

nav [type="checkbox"]{ /*  Скрываем чекбокс */
 display: none;
}  


.control-menu-window{
    grid-column: 1 / -1;
    display:flex;
    flex-wrap:wrap;
    justify-content: flex-end;
    margin-bottom: 15px;
}

.full-width-grid{
    grid-column: 1 / -1;
}

.button-list-elements-tf {
    font-family: tuiText,-apple-system,BlinkMacSystemFont,system-ui,Roboto,'Segoe UI','Helvetica Neue',sans-serif;
    color: #aaa;
    padding: 2px 4px;
    text-decoration: none;
    margin-right: 3px;
    display: block;
    border: 1px solid #aaa;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    transition-duration: .3s;
    transition-timing-function: ease-in-out;
    font-weight: 500;
    font-size: 0.8em;
}

.list_elements_tf{
    display: flex;
    flex-wrap: wrap;
    border: 1px solid #c9c9c9;
    padding: 8px 15px;
    border-radius: 5px;
    align-items: flex-start;
}

.list-choice{
    cursor: pointer;
}
.el-list{
    position:relative;
}

.del-button{
    background-color:white;
    border:1px solid black;
    position:absolute;
    width:15px;
    height:15px;
    border-radius:50%;
    bottom:-2px;
    right:-2px;
    transform: rotate(45deg);
    cursor:pointer;
}

.del-button:before {
    position: absolute;
    content: '';
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 1px;
    height: 15px;
    background-color: black;
}
.del-button:after{
    position: absolute;
    content: '';
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 15px;
    height: 1px;
    background-color: black;
}

.cursor-pointer{
    cursor:pointer;
}

.list-cell.controls{
    height: 100%;
    white-space: nowrap;
    vertical-align: middle;
}

.list-cell.controls .button-list-del,
.list-cell.controls .button-list-add{
    border: 1px dashed #4e4e53;
    width: 30px;
    height: 30px;
    line-height: 30px;
    display: inline-block;
    margin: 4px;
    border-radius: 5px;
    cursor:pointer;
}

.table-total{
    text-align: right;
    font-size: 30px;
    margin-top: 30px;
}


.list_separator:nth-child(2n){
    background-color: #ebebeb;
}