.modal .close {
    font-size: 30px;
    font-weight: bold;
    line-height: 1;
    color: #fff;
    filter: alpha(opacity=80);
    opacity: .8;
    width: 30px;
    height: 30px;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1051;
    outline: 0;
}
.modal .close:hover,
.modal .close:focus {
    text-decoration: none;
    cursor: pointer;
    filter: alpha(opacity=100);
    opacity: 1;
}
button.close {
    -webkit-appearance: none;
    padding: 0;
    cursor: pointer;
    background: transparent;
    border: 0;
}
.modal-open {
    overflow: hidden;
}
.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1051;
    display: none;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    outline: 0;
}
.modal.fade .modal-dialog {
    -webkit-transition: -webkit-transform .3s ease-in-out;
    -o-transition:      -o-transform .3s ease-in-out;
    transition:         transform .3s ease-in-out;
    -webkit-transform: translate(0, -25%);
    -ms-transform: translate(0, -25%);
    -o-transform: translate(0, -25%);
    transform: translate(0, -25%);
}
.modal.in .modal-dialog {
    -webkit-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    -o-transform: translate(0, 0);
    transform: translate(0, 0);
}
.modal-dialog-centered {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    min-height: calc(100% - (50px * 2));
}
.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0 !important;
}
.modal-dialog {
    height: auto;
    width: 100%;
    margin: 50px auto;
    padding: 20px;
    box-sizing: border-box;
}
.modal-dialog.small {
    max-width: 500px;
}
.modal-dialog.medium {
    max-width: 700px;
}
.modal-dialog.large {
    max-width: 1000px;
}

.modal .close {
    top: -40px;
}
.modal .video .modal-body {
    padding: 0;
    margin: 0;
}
.modal .video .modal-body p {
    margin-bottom: 0;
}

.modal-content {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    -webkit-border-radius: 7px;
    border-radius: 7px;
    -webkit-box-shadow: 0 10px 40px 0 rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0 10px 40px 0 rgba(0, 0, 0, 0.15);
    box-shadow: 0 10px 40px 0 rgba(0, 0, 0, 0.15);
    outline: 0;
}
.modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    background-color: #0b1b48;
}
.modal-backdrop.fade {
    filter: alpha(opacity=0);
    opacity: 0;
}
.modal-backdrop.in {
    filter: alpha(opacity=30);
    opacity: 0.3;
}
.modal-header {
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
}
.modal-header .close {
    margin-top: -2px;
}
.modal-title {
    margin: 0;
    line-height: 1.42857143;
}
.modal-body {
    position: relative;
    padding: 40px;
}
.modal-footer {
    padding: 15px;
    text-align: right;
    border-top: 1px solid #e5e5e5;
}
.modal-footer .btn + .btn {
    margin-bottom: 0;
    margin-left: 5px;
}
.modal-footer .btn-group .btn + .btn {
    margin-left: -1px;
}
.modal-footer .btn-block + .btn-block {
    margin-left: 0;
}
.modal-scrollbar-measure {
    position: absolute;
    top: -9999px;
    width: 50px;
    height: 50px;
    overflow: scroll;
}
