html {
    position: relative;
    min-height: 100%;
}

#app {
    padding-bottom: 60px;
}

.btn-file {
    position: relative;
    overflow: hidden;
}
.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}

.jumbotron {
    margin: 20px auto;
}

.jumbotron p {
    font-size: 16px;
}

.download-btn {
    margin-right: 20px;
}

.download-btn a {
    color: #fff;
    text-decoration: none;
}

.list-group-item {
    width: 400px;
    display: inline-block;
    vertical-align: middle;
    height: 48px;
}

/*.preview {*/
    /*width: 100%;*/
    /*height: 250px;*/
    /*background: lightgray;*/
    /*display: table;*/
    /*margin: 20px 0 0 0;*/
    /*position: relative;*/
/*}*/

/*.preview:before {*/
    /*content: 'Предпросмотр';*/
    /*display: table-cell;*/
    /*vertical-align: middle;*/
    /*text-align: center;*/
    /*font-size: 20px;*/
    /*text-transform: uppercase;*/
    /*margin: 20px 0 0 0;*/
    /*color: dimgray;*/
/*}*/

/*.preview iframe {*/
    /*width: 100%;*/
    /*height: 100%;*/
    /*border: none;*/
    /*position: absolute;*/
    /*right: 0;*/
    /*z-index: 111;*/
/*}*/

.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {
    color: #fff;
    background-color: #428bca;
}

#loader {
    background-image: none!important;
    background-color: rgba(26, 28, 34, 0.31);
}
#loader .loaderWrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

#loader, .inner-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.7;
    z-index: 9999;
    background: url(../img/spin.svg) no-repeat center center #fff;
    display: none;
}

#loader span, .inner-loader span {
    position: absolute;
    width: 100%;
    bottom: 35%;
    text-align: center;
    font-size: 18px;
    color: black;
}

.spinner-background {
    min-height: 200px;
}
.spinner-background,
.spinner-background input,
.spinner-background textarea {
    background-color: rgba(0, 0, 0, 0.05);
}

.well h2 {
    font-size: 20px;
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.file {
    margin-bottom: 20px;
}
.file:last-of-type {
    margin-bottom: 0;
}

.file p {
    margin-bottom: 10px;
}

/* Uploaded documents modal */
#uploadFiles .modal-footer {
    display: none;
}

#uploadFile .modal-dialog {
    width: 800px;
}

.fa-spin {
    margin-left: 5px;
}
.fa-stack-stack {
    font-size: 9px;
    margin-left: 5px;
}
.fa-stack-stack .fa-certificate {
    color: #72bb53;
}
.fa-stack-stack .fa-check,
.fa-stack-stack .fa-times {
    color: white;
}
.fa-stack-stack-error .fa-certificate {
    color: #e61610;
}

.upload-file-error {
    color: red;
}

.uploaded-documents__item:not(:first-child) {
    margin-top: 15px;
}
.uploaded-documents__item-title {
    margin-bottom: 5px;
}

.uploaded-documents__item-file {
    margin-bottom: 3px;
}
.uploaded-documents__item-file .list-group-item {
    display: block;
    height: 10px;
    width: 100%;
    margin-top: 10px;
}
.uploaded-documents__item-file .progress-bar-striped {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
}

.uploaded-documents-results {
    margin-top: 20px;
    color: green;
    display: none;
}
.uploaded-documents-results.error {
    color: red;
}

.no-padding {
    padding-right: 0 !important;
    padding-left: 0 !important;
}

.row-fluid:after {
    content: "";
    display: table;
    clear: both;
}

.error-text {
    color: #E61610;
}

.error-message {
    font-style: normal;
    font-weight: normal;
    font-size: 33px;
    line-height: 100%;
    color: #151157;

}

.error-message-value {
    font-style: normal;
    font-weight: 300;
    font-size: 20px;
    line-height: 100%;
}

.error-logo {
    margin-bottom: 20px;
}

.error-center {
    min-height: 60vh;
    text-align: center;
    margin: 10% auto auto;
    top:-35px;
}
.error-center-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-nav {
    margin-bottom: 0 !important;
    position: absolute;
    bottom: 0;
    width: 100%;
}

.modal.support-form-modal .modal-dialog {
    width: 750px;
}

.file-preview-modal .modal-dialog {
    width: 800px;
    max-width: 100%!important;
}

.file-preview-modal .preview-iframe {
    width: 100%;
    height: 820px;
    border: none;
}

.questionary-success {
    background-color: #dff0d8;
}

.card-header {
    font-weight: bold;
}

.card-header .nav-tabs {
    font-weight: normal;
}

.switch-btn {
    width: auto!important;
    padding: 0 5px;
}

.input-value {
    margin-bottom: 8px;
}

.error-badge {
    background-color: red !important;
    margin-left: 5px;
}

.badge {
    display: inline-block;
    min-width: 10px;
    padding: 3px 7px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    background-color: #777;
    border-radius: 10px;
}

.alert-danger {
    margin: 10px 0 0;
}

.fix-min-height-10 {
    min-height: 10px;
}

.headerSortDisabled {
    opacity: 0.6;
    cursor: default !important;
}

@media (min-width: 600px) {
    .modal-dialog {
        max-width: 600px!important;
        margin: 1.75rem auto;
    }
}

@media (min-width: 800px) {
    .modal-dialog.modal-lg {
        max-width: 800px!important;
    }
}

.days {
    display: flex;
}

.ca-detail .certificate-red {
    color: #e61610;
}

.ca-detail .certificate-green {
    color: #72bb53;
}

.ca-detail .certificate-blue {
    color: #08c;
}

.ca-detail .certificate-gray {
    color: #777;
}

.signature-icon {
    font-size: 16px;
}

.signature-icon .certificate-green {
    color: #72bb53;
}

.signature-icon .certificate-blue {
    color: #08c;
}

.signature-icon .certificate-red {
    color: #e61610;
}

.signature-icon .certificate-gray {
    color: #777;
}

.signature-icon .certificate-date-warning__interval {
    font-size: 11px;
    margin: 0 2px;
    vertical-align: middle;
}

.signature-icon .certificate-date-warning {
    color: #e67923;
}

.signature-icon .certificate-req-edit-signer {
    font-size: 14px;
    color: #949597;
}

.signature-icon .certificate-uk {
    max-width: 20px;
    display: inline;
    padding: 2px 4px 1px 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #767779;
    font-size: 9px;
    font-weight: bold;
    border: 1px solid #B1B1B1;
    background: #6b6c6e;
    background: -webkit-gradient(linear,left bottom,left top,color-stop(0,#d2d2d2),color-stop(1,#f8f8f8));
    background: -ms-linear-gradient(bottom,#d2d2d2,#f8f8f8);
    background: -moz-linear-gradient(center bottom,#d2d2d2 0%,#f8f8f8 100%);
    background: -o-linear-gradient(#f8f8f8,#d2d2d2);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f8f8f8', endColorstr='#d2d2d2', GradientType=0);
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

.dropdown .dropdown-item.important {
    color: #ff0000;
    font-weight: bold;
}

.custom-file-label {
    overflow: hidden;
}

.progress {
    position: relative;
}

.support-form-modal .file-drop-zone {
    height: auto;
}

.support-form-modal .file-drop-zone:hover {
    margin: 11px 14px 11px 11px;
}

.file-recognize-modal .modal-dialog,
.file-recognize-manual-modal .modal-dialog,
.file-recognize-ocr-modal .modal-dialog{
    min-height: 400px;
    min-width: 1100px;
    max-width: 1400px;

    overflow-y: auto;
}

.file-recognize-modal .modal-dialog .modal-body,
.file-recognize-manual-modal .modal-dialog .modal-body,
.file-recognize-ocr-modal .modal-dialog .modal-body{
    min-height: 350px;
}

.recognize-modal, .recognize-ocr-manual {
    max-width: 1100px!important;
}

@media (max-width: 920px) {
    .recognize-modal, .recognize-ocr-manual {
        max-width: 800px!important;
    }
    .recognize-modal table td, .recognize-ocr-manual table td {
        padding: 0.5rem;
        font-size: 13px;
    }
}

.file-drop-zone .explorer-caption {
  word-break: break-all;
}

@media (min-width: 576px) {
    .modal-dialog-scrollable {
        max-height: calc(100% - 3.5rem);
    }
}

@media (min-width: 576px) {
    .modal-dialog-scrollable .modal-content {
        max-height: calc(100vh - 3.5rem);
    }
}

.modal-dialog-scrollable .modal-content {
    max-height: calc(100vh - 1rem);
    overflow: hidden;
}

.modal-dialog-scrollable .modal-body {
    overflow-y: auto;
}

.modal-dialog-scrollable {
    display: flex;
    max-height: calc(100% - 1rem);
}

.recognize-modal .load-spinner, .recognize-ocr-manual .load-spinner {
    margin: auto auto 16px;
}

span.required {
    color: #ff0000;
}

.modal-backdrop {
    opacity: 0.5 !important;
}

.custom-checkbox .custom-control-label::before {
    border: 1px solid #adb5bd;
}

.document-name {
    word-wrap: anywhere
}

.green {
    color: green;
}

.primary {
    color: #08c;
}

.cursor-pointer {
    cursor: pointer;
}

.alert.alert-danger[data-notify="container"],
.alert.alert-warning[data-notify="container"],
.alert.alert-success[data-notify="container"],
.alert.alert-info[data-notify="container"] {
    z-index: 1051!important;
}

.multiselect__tags .multiselect__tag {
    background-color: #e4e4e4;
    border: 1px solid #aaa;
    border-radius: 4px;
    color: #000;
}
div.datepicker > div {
    display: block;
}
