/*.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto;
}*/
.bootbox.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    display: none;
    overflow: hidden;
    outline: 0;
}
.bootbox.modal .fade {
    -webkit-transition: opacity 0.15s linear;
    transition: opacity 0.15s linear;
}
.bootbox.modal .btn:focus, .bootbox.modal .btn.focus {
    box-shadow: none;
}
.bootbox.modal.fade:not(.modal-top):not(.modal-bottom) .modal-dialog {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
}
.bootbox.modal.show .modal-dialog {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
}
.bootbox.modal.fade .modal-dialog {
    -webkit-transition: -webkit-transform 0.1s ease-out;
    transition: -webkit-transform 0.1s ease-out;
    transition: transform 0.1s ease-out;
    transition: transform 0.1s ease-out, 
    -webkit-transform 0.3s ease-out;
    -webkit-transform: translate(0, -25%);
    transform: translate(0, -25%);
}
.bootbox .modal-dialog {
    margin-top: 0;
    margin-bottom: 0;
    display: -webkit-box;
    display: flex;
    height: 100%;
    position: relative;
    /* max-width: 750px; */
    pointer-events: none;
    margin: 0 auto;
    }
.bootbox .modal-content {
    position: relative;
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border-radius: 0.3rem;
    outline: 0;
    margin-top: auto;
    margin-bottom: auto;
    border: none;
    -ms-overflow-style: none;
}
.bootbox .modal-header,
.bootbox .modal-footer {
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.bootbox .modal-header {
    display: -webkit-box;
    display: flex;
    -webkit-box-align: start;
    align-items: flex-start;
    -webkit-box-pack: justify;
    justify-content: space-between;
    padding: 1.75rem;
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid #f1f2f3;
    border-top-left-radius: 0.3rem;
    border-top-right-radius: 0.3rem;
}
/**, ::before, ::after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}*/
/*.bootbox .modal-title {
    margin-bottom: 0;
    line-height: 1.9;
}*/
/*.bootbox.modal .close:not(:disabled):not(.disabled) {
    cursor: pointer;
}*/
.bootbox.modal .modal-body > .close{
    position: absolute;
    top: 0;
    right: 0;
    padding: 1rem 0.75rem;
    z-index: 1;
    font-weight: 100;
    background-color: transparent;
    border: 0;
    -webkit-appearance: none;
    font-size: 1.40625rem;
    line-height: 1;
    text-shadow: none;
    width: auto !important;
    height: auto;
    float: right;
    color: #000;
    opacity: .5;
    margin-top: 0px;
}
/*.bootbox.modal button, html [type="button"], [type="reset"], [type="submit"] {
    -webkit-appearance: button;
}*/
/*.bootbox.modal button, select {
    text-transform: none;
}*/
/*.bootbox.modal button, input {*/
    /*overflow: visible;*/
/*}*/
/*.bootbox.modal input, button, select, optgroup, textarea {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}*/
.bootbox.modal .modal-body {
    position: relative;
    -webkit-box-flex: 1;
    flex: 1 1 auto;
    padding: 1.75rem;
}
.bootbox.modal .modal-footer {
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: end;
    justify-content: flex-end;
    padding: 15px;
    border-top: 1px solid #f1f2f3;
}
.bootbox.modal .modal-footer > :not(:last-child){
    margin-right: .25rem !important;
}
.bootbox.modal .modal-footer > :not(:first-child) {
    margin-left: .25rem !important;
}
.bootbox.modal button, html [type="button"], [type="reset"], [type="submit"] {
    -webkit-appearance: button;
}
.bootbox.modal .btn-primary {
    color: #fff;
    background-color: #cb2027;
    border-color: #cb2027;
}
.bootbox.modal .btn {
    text-transform: uppercase;
    border-radius: 6px;
    font-weight: 600;
    padding: 8px 26px 6px;
    margin-bottom: 0px;
    margin-top: 0px;

    -webkit-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;

    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;

    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;

    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
}
.modal-open {
    overflow: hidden;
}
.bootbox.modal .modal-footer .btn {
    width: auto !important;
}
.bootbox.modal .modal-footer .btn:hover{
    transform: translate3d(0, -2px, 0);
-webkit-transform: translate3d(0, -2px, 0);
}
.bootbox.modal .btn-secondary {
    color: #757575;
    background-color: #e9ecf0;
    border-color: #e9ecf0;
}
.modal-backdrop.fade {
    opacity: 0;
}
.modal-backdrop.show {
    opacity: 0.5;
}
.modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    background-color: #000;
}
@media all and (max-width: 575px) {
    .bootbox.modal .modal-dialog {
       margin: 0.5rem;
       width: auto !important;
}
}