/* Модальные окна */

.modal {
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0px;
    top: 0px;
    display: block;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    z-index: 1000;
}

.modal * {
    pointer-events: none;
}

.modal.show {
    pointer-events: all;
    opacity: 1;
    z-index: 1200;
}

.modal.show * {
    pointer-events: all;
}

.modal .modal-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    flex: none;
    align-items: center;
    overflow: auto;
}

.modal .modal-body {
    flex: none;
    position: relative;
    opacity: 0;
    transition-duration: 0.5s;
    font-size: 0.85rem;
    border-radius: 20px;
    padding: 40px 60px 70px 60px;
}

.modal.modal-small .modal-body {
    max-width: 600px;
}

.modal.modal-standart .modal-body {
    max-width: 900px;
}

.modal.out .modal-body {
    margin-top: -300px;
    opacity: 0;
}

.modal.in .modal-body {
    margin-top: 10px;
	margin-bottom: 10px;
    opacity: 1;
}

.modal .modal-body .modal-dismiss-btn {
    width: 40px;
    height: 40px;
    position: absolute;
    right: 10px;
    top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    overflow: hidden;
    color: #b0b0b1;
}

.modal .modal-body .modal-dismiss-btn:hover {
    color: #666666;
}

.modal .modal-body .modal-dismiss-btn:active {
    color: #333333;
}

.modal .modal-body .modal-dismiss-btn::after {
    content: "\00D7";
    font-weight: lighter;
    font-size: 45px;
}

.modal .modal-body .modal-title {
    margin-bottom: 35px;
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
}

.modal .modal-body label {
    font-size: 1rem;
    font-weight: bold;
}

.modal .modal-body .alert-warning {
    border-radius: 5px;
}

.modal .modal-background {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0px;
    top: 0px;
    background: rgba(0, 0, 0, 0.7);
    z-index: -1;
}

/* Сокрытие скролла, пока открыты модальные окна */
.disable-scroll {
   /*  overflow: hidden!important; */
}

@media(max-width:767px) {
    .modal .modal-body {
        padding: 50px 30px;
		width: 95%;
    }
}