.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: 0.5rem;
    max-width: 100%;
}
.modal-dialog-centered {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    min-height: calc(100% - (0.5rem * 2));
}
.modal-dialog-centered:before {
    display: block;
    height: calc(100vh - (0.5rem * 2));
    content: "";
}
.modal-content {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    background-color: #FFF;
    background-clip: padding-box;
    outline: 0;
    padding: 30px;
    border-radius: 2px;
}
.modal-message__wrapper {
    position: relative;
    width: 100%;
    background-color: #FFF;
    outline: 0;
    padding: 30px;
    border-radius: 2px;
    display: none;
}
.modal-message {}
.modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    background-color: #000;
}
.modal-backdrop.fade {
    opacity: 0;
}
.modal-backdrop.show {
    opacity: 0.6;
}
.modal-close {
    position: absolute;
    width: 20px;
    height: 20px;
    top: 35px;
    right: 30px;
    z-index: 200;
    cursor: pointer;
    transition: color 0.3s ease;
    color: #2B2B2B;
}
.modal-close:before {
    content: "\e931";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: "baikal-icons";
    font-size: 15px;
    font-weight: normal;
    line-height: 1;
    transition: color 0.3s ease;
}
.modal-close:hover {}
.modal-header {
    margin-bottom: 30px;
    padding-right: 32px;
}
.modal-title {
    font-weight: bold;
    font-size: 22px;
    line-height: 1.36;
    color: #2B2B2B;
    margin: 0;
}
.modal-scrollbar-measure {
    position: absolute;
    top: -9999px;
    width: 50px;
    height: 50px;
    overflow: scroll;
}

@media screen and (min-width: 768px) {
    .modal-dialog {
        max-width: 600px;
        margin: 0.5rem auto;
    }
    .modal-dialog_md {
        max-width: 750px;
    }
    .modal-dialog_lg {
        max-width: 1150px;
    }
    .modal-header {
       padding-right: 64px;
    }
    .modal-close {
        top: 25px;
        right: 25px;
        position: fixed;
        color: rgba(255,255,255,0.5);
    }
    .modal-close:hover {
        color: #fff;
    }
}
@media screen and (prefers-reduced-motion: reduce) {
    .modal.fade .modal-dialog {
        transition: none;
    }
}
@media screen and (max-width: 767px) {
    
}