.bootstrap-dialog {
    /* dialog types */
    /**
     * Icon animation
     * Copied from font-awesome: http://fontawesome.io/
     **/
    /** End of icon animation **/ }

.bootstrap-dialog .modal-header {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px; }

/*.bootstrap-dialog .bootstrap-dialog-title {
  color: #fff;
  display: inline-block;
  font-size: 16px;
}*/

.bootstrap-dialog .bootstrap-dialog-title {
    width: 100%;
    font-weight: bold;
}

/*.bootstrap-dialog .bootstrap-dialog-message {
  font-size: 14px; }*/

.bootstrap-dialog .bootstrap-dialog-button-icon {
    margin-right: 3px; }

.bootstrap-dialog .bootstrap-dialog-close-button {
    float: right;
    margin-top: -10px;
    margin-right: 0;
    opacity: 0.9;
    filter: alpha(opacity=90); }

.bootstrap-dialog .bootstrap-dialog-close-button:hover {
    cursor: pointer;
    opacity: 1;
    filter: alpha(opacity=100); }

@media (min-width: 1172px) {
    .bootstrap-dialog .modal-xl {
        max-width: 95%; } }

.bootstrap-dialog .modal-lg .bootstrap4-dialog-button:first-child {
    margin-top: 8px; }

.bootstrap-dialog.type-default .modal-header {
    background-color: #fff; }

.bootstrap-dialog.type-default .bootstrap-dialog-title {
    color: #333; }

.bootstrap-dialog.type-info .modal-header {
    background-color: #17a2b8; }

/*.bootstrap-dialog.type-primary .modal-header {
  background-color: #007bff;
}*/

.bootstrap-dialog.type-primary .modal-header {
    background-color: #fff;
}

.bootstrap-dialog.type-secondary .modal-header {
    background-color: #6c757d; }

.bootstrap-dialog.type-success .modal-header {
    background-color: #28a745; }

.bootstrap-dialog.type-warning .modal-header {
    background-color: #ffc107; }

.bootstrap-dialog.type-danger .modal-header {
    background-color: #dc3545; color: #fff;}

.bootstrap-dialog.type-light .modal-header {
    background-color: #f8f9fa; }

.bootstrap-dialog.type-dark .modal-header {
    background-color: #343a40; }

.bootstrap-dialog.size-large .bootstrap-dialog-title {
    font-size: 24px; }

.bootstrap-dialog.size-large .bootstrap-dialog-close-button {
    font-size: 30px; }

.bootstrap-dialog.size-large .bootstrap-dialog-message {
    font-size: 18px; }

.bootstrap-dialog .icon-spin {
    display: inline-block;
    -moz-animation: spin 2s infinite linear;
    -o-animation: spin 2s infinite linear;
    -webkit-animation: spin 2s infinite linear;
    animation: spin 2s infinite linear; }

.bootstrap-dialog-footer-buttons {
    display: flex; }

@-moz-keyframes spin {
    0% {
        -moz-transform: rotate(0deg); }
    100% {
        -moz-transform: rotate(359deg); } }

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg); }
    100% {
        -webkit-transform: rotate(359deg); } }

@-o-keyframes spin {
    0% {
        -o-transform: rotate(0deg); }
    100% {
        -o-transform: rotate(359deg); } }

@-ms-keyframes spin {
    0% {
        -ms-transform: rotate(0deg); }
    100% {
        -ms-transform: rotate(359deg); } }

@keyframes spin {
    0% {
        transform: rotate(0deg); }
    100% {
        transform: rotate(359deg); } }

.bootstrap-dialog-header {
    display: contents; }



.bootstrap-dialog .modal-footer .js-cancel {
    margin-right: auto;
}

/*.modal-header {
    padding: .5rem;
}*/
.modal-header {
    padding: 10px;
    border-bottom: 0;
}
.modal-header .close {
    margin: -1.2rem -1rem -1rem auto;
}
.modal-body {
    padding: .4rem 1rem 0rem 1rem;
}
.modal-footer {
    padding: 0.5rem 1rem;
    border-top: 0;
}









.bootstrap-dialog-footer-buttons {
    display: flex;
}





.fullscreen-modal .modal-dialog {
    position: fixed;
    margin: 0;
    width: 100%;
    max-width: calc(100% - 30px) !important;
    height: calc(100% - 20px)!important;
    margin-top: 10px !important;
    padding: 0;
}

.fullscreen-modal .modal-content {
    position: absolute;
    top: 15px;
    right: 15px;
    bottom: 15px;
    left: 15px;
    border-radius: 10px;
    box-shadow: none;
    border: 0;
}

.fullscreen-modal .modal-header {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    /*  height: 40px; */
    /*  padding: 10px; */
    border: 0;
}

/*
.fullscreen-modal .modal-title {
  font-weight: 300;
  font-size: 2em;
  line-height: 30px;
}
*/

.fullscreen-modal .modal-body {
    position: absolute;

    top: 42px;
    bottom: 42px;
    padding: 0;

    /*top: 50px;
    bottom: 60px;*/
    width: 100%;
    /*font-weight: 300;*/
    overflow: auto;
}

.fullscreen-modal .modal-footer {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 60px;
    padding: 10px;
}

@media only screen and (max-width: 480px) {
    .fullscreen-modal .modal-dialog {
        width: 100% !important;
        max-width: 100% !important;
        height: 95% !important;
        margin-top: 5% !important;
    }
    .fullscreen-modal .modal-content {
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
    }
}

@media only screen and (min-width: 480px) and (max-width: 640px) {
    .fullscreen-modal .modal-dialog {
        width: 100% !important;
        max-width: 100% !important;
        height: 95% !important;
        margin-top: 8% !important;
    }
    .fullscreen-modal .modal-content {
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
    }
}
/* fullscreen-modal - */


/* half + */

.half-modal .modal-dialog {

    width: 70%;
    height: calc(100% - 20px);
    max-width:1000px;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 auto !important;
}

.half-modal .modal-content {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: 10px;
    box-shadow: none;
}

.half-modal .modal-header {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    padding: 10px;
    border: 0;
    border-top-left-radius: 10px !important;
    border-top-right-radius: 10px !important;
}

.half-modal .modal-title {
    font-weight: 300;
    font-size: 2em;
    line-height: 30px;
}

.half-modal .modal-body {
    position: absolute;

    top: 42px;
    bottom: 45px;
    padding: 0;

    /*top: 50px;
    bottom: 60px;*/
    width: 100%;
    font-weight: 300;
    overflow: auto;
}

.half-modal .modal-footer {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 60px;
    padding: 10px;
}

@media only screen and (max-width: 480px) {
    .half-modal .modal-dialog {
        width: 100% !important;
    }
}

@media only screen and (min-width: 480px) and (max-width: 640px) {
    .half-modal .modal-dialog {
        width: 90% !important;
    }
}

.half-modal.no-height .modal-dialog {
    height: auto;
}
.half-modal.no-height .modal-content {
    position: relative;
}
.half-modal.no-height .modal-header {
    position: relative;
}
.half-modal.no-height .modal-body {
    position: relative;
    top: 0;
    min-height: 100px;
}
.half-modal.no-height.max-height .modal-body {
    max-height: 70vh;
}
.half-modal.no-height .modal-footer {
    position: relative;
}

.half-modal.max-height .bootstrap-dialog-message > div {
    overflow: auto;
}
/* half - */


.bootstrap-dialog-close-button .close{
    color: #fff;
    opacity: 1;
}

/*.bootstrap-dialog .modal-header {
    padding: 10px 15px;
    -webkit-user-select: none;
    user-select: none;
}*/

.bootstrap-dialog .modal-header.bootstrap-dialog-draggable {
    cursor: move;
}

.bootstrap-dialog .modal-footer {
    height: 46px;
    padding: 0 10px;
}




.bootstrap-dialog .modal-footer .js-cancel {
    float: left;
    border: 1px solid;
}



/* на всю высоту + */
/*.bootstrap-dialog-body, .bootstrap-dialog-message, .bootstrap-dialog-message > div, .row_full_height, .row_full_height > div {
    height: 100%;
}*/
.bootstrap-dialog-body, .bootstrap-dialog-message, .bootstrap-dialog-message > div {
    height: 100%;
}

.col_full_height{
    display: flex;
    flex-direction: column;
}

.col_full_height_no_scroll {
    height: initial;
}


@media screen and (max-height: 480px), (orientation: portrait){
    .col_full_height.col_full_height_no_scroll {
        height: inherit;
        overflow: unset;
    }
}
@media screen and (max-width: 640px), (orientation: landscape){
    .col_full_height.col_full_height_no_scroll {
        height: inherit;
        overflow: unset;
    }
}
@media screen and (max-width: 990px){
    .col_full_height.col_full_height_no_scroll {
        height: initial !important;
        overflow: unset !important;
    }
}
/* на всю высоту - */