.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% - (20px * 2));
}
.modal-dialog-centered:before {
    display: block;
    height: calc(100vh - (20px * 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: 20px;
}
.modal-header {
    margin-bottom: 32px;
    /*padding-right: 36px;*/
}
.modal-title {
    font-weight: 500;
    font-size: 22px;
    line-height: 1.25;
    color: #000000;
}
.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: 25px;
    height: 25px;
    top: 12px;
    right: 12px;
    z-index: 200;
    cursor: pointer;
    transition: color 0.3s ease;
}
.modal-close:before {
    content: "\e902";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: "ak-icons";
    font-size: 18px;
    font-weight: normal;
    line-height: 1;
    color: #aaa;
    transition: color 0.3s ease;
}
.modal-close:hover:before {
    color: #111;
}
.modal-scrollbar-measure {
    position: absolute;
    top: -9999px;
    width: 50px;
    height: 50px;
    overflow: scroll;
}




@media screen and (max-width: 767px) {
    
}
@media screen and (min-width: 768px) {
    .modal-dialog {
        max-width: 600px;
        margin: 20px auto;
    }
    .modal-dialog_sm {
        max-width: 330px;
    }
    .modal-dialog_md {
        max-width: 400px;
    }
    .modal-dialog_xl {
        max-width: 728px;
    }
    .modal-dialog_xxl {
        max-width: 900px;
    }
    .modal-content {
        padding: 40px;
    }
    /*.modal-close {
        top: 48px;
        right: 50px;
    }
    .modal-close:before {
        font-size: 25px;
    }*/
    .modal-title {
        font-size: 28px;
    }
}
@media screen and (min-width: 992px) {
    .modal-dialog_xl {
        max-width: 952px;
    }
}
@media screen and (min-width: 1200px) {
    .modal-dialog_xl {
        max-width: 1140px;
    }
}
@media screen and (prefers-reduced-motion: reduce) {
    .modal.fade .modal-dialog {
        transition: none;
    }
}