.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    display: none;
    overflow: hidden;
    outline: 0;
}
.modal-open {
    overflow: hidden;
}
.modal-open .modal {
    overflow-x: hidden;
    overflow-y: scroll;
}
.modal-dialog {
    position: relative;
    width: auto;
    margin: 15px;
    max-width: 100%;
}
.modal-dialog-centered {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    min-height: calc(100% - (16px * 2));
}
.modal-dialog-centered:before {
    display: block;
    height: calc(100vh - (16px * 2));
    content: "";
}
.modal-dialog-scrollable {
    height: calc(100% - 32px);
}
.modal-dialog-scrollable .modal-scrollbar {
    flex: 1 1 auto;
}

.modal-content {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    background-clip: padding-box;
    outline: 0;
    height: 100%;
    background: #000;
    border: 1px solid rgba(255,255,255,0.25);
    padding: 20px 20px 0;
}
.modal-dialog_full {
    max-width: 100%;
    min-height: 100%;
    margin: 0;
    background: #000;
}
.modal-dialog_full .modal-content {
    background: none;
    border: none;
    padding: 0 !important;
}
.modal-container {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    background-clip: padding-box;
    outline: 0;
    height: 100%;
}
.modal-header {
    padding: 20px 0;
    flex: 0 0 auto;
    position: relative;
}
.modal-header__inner {
    display: flex;
    align-items: center;
    padding-right: 40px;
    position: relative;
}
.modal-logo {
    margin-right: 55px;
}
.modal-logo__img {
    width: auto;
    max-height: 60px;
}
.modal-slogan {
    font-weight: 700;
    font-size: 16px;
    line-height: 1.25;
    color: #FFFFFF;
    text-transform: uppercase;
}
.modal-title {
    font-family: var(--font-secondary);
    font-weight: bold;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #FFFFFF;
}
.modal-title__helper {
    text-transform: none;
    opacity: 0.6;
    letter-spacing: 0;
    font-size: 16px;
}
.modal-body {
    padding: 20px 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
}
.modal-close {
    position: absolute;
    top: 50%;
    right: 0;
    width: 20px;
    height: 20px;
    transform: translate(0,-50%);
    z-index: 10;
    cursor: pointer;
    transition: opacity 0.3s ease, color 0.3s ease;
    color: #fff;
    opacity: 0.5;
}
.modal-close:before {
    content: "\e902";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    font-family: "ural-icons";
    font-size: 20px;
    line-height: 1;
    font-style: normal;
    font-weight: normal;
}
.modal-close:hover {
    opacity: 1;
}
.modal-close_corner {
    top: 15px;
    right: 15px;
    transform: none;
}
.modal-scrollbar-measure {
    position: absolute;
    top: -9999px;
    width: 50px;
    height: 50px;
    overflow: scroll;
}

.modal_corner {
    top: auto;
    left: auto;
}

@media screen and (min-width: 768px) {
    .modal-content {
        padding: 20px 60px;
    }
    .modal .modal-dialog {
        max-width: 850px;
        margin: 15px auto;
    }
    .modal .modal-dialog_md {
        max-width: 550px;
    }
    .modal .modal-dialog_full {
        max-width: 100%;
        height: 100%;
        margin: 0;
    }
    .modal .modal-dialog_sm {
        max-width: 445px;
    }
    .modal-header {}
    .modal-body {}
    .modal-title {
        font-size: 24px;
    }
    .modal_corner .modal-dialog {
        margin: 15px;
    }
    .modal_corner .modal-content {
        padding: 20px;
    }
}