html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

/*----стиль для автокомплита----*/
.autocomplete-results {
    display: none;
    position: absolute;
    max-height: 350px;
    max-width: 400px;
    overflow-y: auto;
    background-color: #fff;
    z-index: 1000;
    min-width: 250px;
    margin-top: 3px;
}

 
    .autocomplete-results.active {
        display: block;
        border: 1px solid #ced4da;
    }
    .autocomplete-results :hover {
        background-color: #e9ecef;
    }
    .autocomplete-results div {
        padding: 4px;
        cursor: pointer;
        border-bottom: 1px solid #eee;
        color: #212529;
    }

        .autocomplete-results div:last-child {
            border-bottom: none;
        }

/*--------*/
nav {
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

.back-to-list {
    padding-bottom: 20px;
}

.terminal-ok {
    color: #155724 !important;
    background-color: #d4edda !important;
    border-color: #c3e6cb !important;
}

.terminal-danger {
  
    background-color: #f8d7da !important;
    border-color: #f5c6cb !important;
}

.terminal-warning {
    color: #856404 !important;
    background-color: #fff3cd !important;
    border-color: #ffeeba !important;
}

.mt-2 {
    margin-top: .5rem !important;
}

.mt-3 {
    margin-top: 1rem !important;
}

.mt-4 {
    margin-top: 1.5rem !important;
}

.mb-2 {
    margin-bottom: .5rem !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.text-break-word {
    overflow-wrap: break-word;
}

.date {
    position: relative;
}

.form-control-feedback {
    position: absolute;
    top: 25%;
    right: 10px; /* регулируйте отступ от края сюда */
    transform: translateY(-50%);
    font-size: 18px;
}
/*стиль иконки для модальных окон*/
.fa-calendar-modal {
    right: 60px !important;
}
/*.daterangepicker .ranges li.active {
    background-color: #08c;
    color: #fff;
}*/

.bg-1 {
    background-color: #fcf8e3;
}

#DateRange {
    width: 320px;
    height: 35px;
}

#DateToDisplay {
    width: 320px;
    height: 35px;
}
#TimeStartPeriodDisplay {
    width: 300px;
    height: 35px;
}

.bg-2 {
    background-color: #afd9ee;
    /* Top Menu */
}

.dropbtn {
    background-color: #5BC0DE;
    color: white;
    /*padding: 16px;*/
    /*font-size: 15px;*/
    margin-top: 5px;
    text-align: center;
    border: none;
    cursor: pointer;
    height: 34px;
    width: 100px;
    border-radius: 3px;
}

/*.btnd:disabled {
    display: none;
}

.dropbtn:disabled {
    background-color: #87D1E7;
    cursor: not-allowed;
}
*/

.btnd {
    width: 100px;
    height: 34px;
    color: #fff;
    background-color: #5BC0DE;
    color: white;
    text-align: center;
    border: none;
    cursor: pointer;
    border-radius: 3px;
}

    .btnd:hover {
        background-color: #26B99A;
    }


.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    z-index: 1;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    background-color: #31b0d5;
}

/*img {
    height: 95%;
    cursor: grab;
    text-align: center;
    z-index: 999;
}*/

.sortTopMenu {
    position: absolute;
    bottom: -15px;
    left: -10px;
    border: 2px solid #2A3F54;
    border-radius: 100%;
    width: 25px;
    height: 25px;
    color: black;
}

.checkboxImeges {
    position: absolute;
    top: 0px;
    right: 0px;
    transition: transform var(--transition);
}

    .checkboxImeges:active {
        transform: scale(0.9);
    }

.x_panel_img {
    width: 130px;
    height: 130px;
    border-radius: 5px;
    background-color: #EAEEEF;
    padding: 20px 10px;
    opacity: 1;
    position: relative;
    display: inline-block;
    margin: 20px 5px 5px 20px;
    justify-content: space-around;
    text-align: center;
    z-index: 980;
}

.imgsFree:hover {
    cursor: cell;
}

.imgsFree {
    opacity: 0.7;
}

.imgs:active {
    cursor: grabbing;
    z-index: 999;
}

.x_panel_img:hover {
    transform: scale(1.1);
    background-color: #CFD8FF;
    border: 1px solid #7B97B3;
    z-index: 995;
}

/* Pager */


.pagination {
    display: inline-block;
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
}

    .pagination > li {
        display: inline;
    }

        .pagination > li > a,
        .pagination > li > span {
            position: relative;
            float: left;
            padding: 6px 12px;
            margin-left: -1px;
            line-height: 1.428571429;
            text-decoration: none;
            background-color: #ffffff;
            border: 1px solid #dddddd;
        }

        .pagination > li:first-child > a,
        .pagination > li:first-child > span {
            margin-left: 0;
            border-bottom-left-radius: 4px;
            border-top-left-radius: 4px;
        }

        .pagination > li:last-child > a,
        .pagination > li:last-child > span {
            border-top-right-radius: 4px;
            border-bottom-right-radius: 4px;
        }

        .pagination > li > a:hover,
        .pagination > li > span:hover,
        .pagination > li > a:focus,
        .pagination > li > span:focus {
            background-color: #eeeeee;
        }

    .pagination > .active > a,
    .pagination > .active > span,
    .pagination > .active > a:hover,
    .pagination > .active > span:hover,
    .pagination > .active > a:focus,
    .pagination > .active > span:focus {
        z-index: 2;
        color: #ffffff;
        cursor: default;
        background-color: #428bca;
        border-color: #428bca;
    }

    .pagination > .disabled > span,
    .pagination > .disabled > a,
    .pagination > .disabled > a:hover,
    .pagination > .disabled > a:focus {
        color: #999999;
        cursor: not-allowed;
        background-color: #ffffff;
        border-color: #dddddd;
    }

.pagination-lg > li > a,
.pagination-lg > li > span {
    padding: 10px 16px;
    font-size: 18px;
}

.pagination-lg > li:first-child > a,
.pagination-lg > li:first-child > span {
    border-bottom-left-radius: 6px;
    border-top-left-radius: 6px;
}

.pagination-lg > li:last-child > a,
.pagination-lg > li:last-child > span {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

.pagination-sm > li > a,
.pagination-sm > li > span {
    padding: 5px 10px;
    font-size: 12px;
}

.pagination-sm > li:first-child > a,
.pagination-sm > li:first-child > span {
    border-bottom-left-radius: 3px;
    border-top-left-radius: 3px;
}

.pagination-sm > li:last-child > a,
.pagination-sm > li:last-child > span {
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}



/* scroll */
.dataTables_wrapper {
    position: relative;
    clear: both;
    zoom: 1;
    overflow-y: hidden;

    
}
#datatable_length {
    margin-bottom:5px;
}
.large-table-fake-top-scroll-container-3 {
    width: 100%;
    overflow-y: hidden;

}
    .large-table-fake-top-scroll-container-3 div {
        font-size: 1px;
        line-height: 1px;
        margin-top: 5px;
    }

.datatable_length, label {
    font-weight: bold;
}
.btn:active, .btn.active {
    background-image: none;
    outline: 0;
    -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
}

.btn-default {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}

    .btn-default:focus,
    .btn-default.focus {
        color: #333;
        background-color: #e6e6e6;
        border-color: #8c8c8c;
    }

    .btn-default:hover {
        color: #333;
        background-color: #e6e6e6;
        border-color: #adadad;
    }

    .btn-default:active,
    .btn-default.active,
    .open > .dropdown-toggle.btn-default {
        color: #333;
        background-color: #e6e6e6;
        border-color: #adadad;
    }

        .btn-default:active:hover,
        .btn-default.active:hover,
        .open > .dropdown-toggle.btn-default:hover,
        .btn-default:active:focus,
        .btn-default.active:focus,
        .open > .dropdown-toggle.btn-default:focus,
        .btn-default:active.focus,
        .btn-default.active.focus,
        .open > .dropdown-toggle.btn-default.focus {
            color: #333;
            background-color: #d4d4d4;
            border-color: #8c8c8c;
        }

    .btn-default:active,
    .btn-default.active,
    .open > .dropdown-toggle.btn-default {
        background-image: none;
    }

    .btn-default.disabled:hover,
    .btn-default[disabled]:hover,
    fieldset[disabled] .btn-default:hover,
    .btn-default.disabled:focus,
    .btn-default[disabled]:focus,
    fieldset[disabled] .btn-default:focus,
    .btn-default.disabled.focus,
    .btn-default[disabled].focus,
    fieldset[disabled] .btn-default.focus {
        background-color: #fff;
        border-color: #ccc;
    }

    .btn-default .badge {
        color: #fff;
        background-color: #333;
    }


    .btn-default:active, .btn-default.active, .open > .dropdown-toggle.btn-default {
        color: #333;
        background-color: #e6e6e6;
        border-color: #adadad;
    }

.btn-primary {
    color: #fff;
    background-color: #337ab7;
    border-color: #2e6da4;
}

    .btn-primary:focus,
    .btn-primary.focus {
        color: #fff;
        background-color: #286090;
        border-color: #122b40;
    }

    .btn-primary:hover {
        color: #fff;
        background-color: #286090;
        border-color: #204d74;
    }

    .btn-primary:active,
    .btn-primary.active,
    .open > .dropdown-toggle.btn-primary {
        color: #fff;
        background-color: #286090;
        border-color: #204d74;
    }

        .btn-primary:active:hover,
        .btn-primary.active:hover,
        .open > .dropdown-toggle.btn-primary:hover,
        .btn-primary:active:focus,
        .btn-primary.active:focus,
        .open > .dropdown-toggle.btn-primary:focus,
        .btn-primary:active.focus,
        .btn-primary.active.focus,
        .open > .dropdown-toggle.btn-primary.focus {
            color: #fff;
            background-color: #204d74;
            border-color: #122b40;
        }

    .btn-primary:active,
    .btn-primary.active,
    .open > .dropdown-toggle.btn-primary {
        background-image: none;
    }

    .btn-primary.disabled:hover,
    .btn-primary[disabled]:hover,
    fieldset[disabled] .btn-primary:hover,
    .btn-primary.disabled:focus,
    .btn-primary[disabled]:focus,
    fieldset[disabled] .btn-primary:focus,
    .btn-primary.disabled.focus,
    .btn-primary[disabled].focus,
    fieldset[disabled] .btn-primary.focus {
        background-color: #337ab7;
        border-color: #2e6da4;
    }

    .btn-primary .badge {
        color: #337ab7;
        background-color: #fff;
    }



.form-control {
    color: #555;
    font-size: 14px;
}

    .form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
        /* background-color: #dcdee1;*/
        opacity: 1;
    }

@media (min-width: 768px) {
    .form-horizontal .control-label {
        text-align: right;
    }
}

.bootstrap-select > .dropdown-toggle {
    border: 1px solid #ced4da;
    border-radius: 0;
    /* background-repeat: no-repeat;
    background-position: right .9rem center;
    background-size: 16px 12px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
*/
}


.input-group-text {
    color: rgb(85, 85, 85);
    font-size: 14px;
}
