body{
    font-size: .8rem;
}
.c-main {
    padding-top: 1rem;
}
.c-main>.container-fluid{
    padding-left: 15px;
    padding-right: 15px;
}
.c-header.c-header-fixed{
    position: static;
    position: sticky;
}
.ck-editor__editable,
textarea {
    min-height: 150px;
}

.datatable {
    width: 100% !important;
}

table.dataTable tbody td.select-checkbox::before,
table.dataTable tbody td.select-checkbox::after,
table.dataTable tbody th.select-checkbox::before,
table.dataTable tbody th.select-checkbox::after {
    top: 50%;
}

.dataTables_length,
.dataTables_filter,
.dt-buttons {
    margin-bottom: 0.333em;
    margin-top: .2rem;
}

.dataTables_filter {
    margin-right: .2rem;
}

.dt-buttons .btn {
    margin-left: 0.333em;
    border-radius: 0;
}

.table.datatable {
    box-sizing: border-box;
    border-collapse: collapse;
}

table.dataTable thead th {
    border-bottom: 2px solid #c8ced3;
}

.dataTables_wrapper.no-footer .dataTables_scrollBody {
    border-bottom: 1px solid #c8ced3;
}

.select2 {
    max-width: 100%;
    width: 100% !important;
}

.select2-selection__rendered {
    padding-bottom: 5px !important;
}

.has-error .invalid-feedback {
    display: block !important;
}

.btn-info,
.badge-info {
    color: white;
}

table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc {
    background-image: none;
}

.dataTables_paginate .pagination .page-link{
    color: #0F6583;
    font-size: 0.8rem;
}
.sidebar .nav-item {
    cursor: pointer;
}

.btn-default {
    color: #23282c;
    background-color: #f0f3f5;
    border-color: #f0f3f5;
}

.btn-default.focus,
.btn-default:focus {
    box-shadow: 0 0 0 .2rem rgba(209, 213, 215, .5);
}

.btn-default:hover {
    color: #23282c;
    background-color: #d9e1e6;
    border-color: #d1dbe1;
}

.btn-group-xs > .btn,
.btn-xs {
    padding: 1px 5px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
    width: max-content;
    margin-bottom: 2px;
}
.btn-manager{
    margin: 3px;
}

.searchable-title {
    font-weight: bold;
}
.searchable-fields {
    padding-left:5px;
}
.searchable-link {
    padding:0 5px 0 5px;
}
.searchable-link:hover   {
    cursor: pointer;
    background: #eaeaea;
}
.select2-results__option {
    padding-left: 0px;
    padding-right: 0px;
}

.form-group .required::after {
    content: " *";
    color: red;
}

.form-check.is-invalid ~ .invalid-feedback {
    display: block;
}

.breadcrumb{
    border: 0 !important;
    margin-bottom: 0 !important;
}

.c-sidebar-brand .c-sidebar-brand-full:hover {
    color: inherit;
}

.c-sidebar{
    background-color: #137ea4;
}

.c-sidebar .c-sidebar-nav-dropdown-toggle:hover, .c-sidebar .c-sidebar-nav-link:hover {
    color: #424d5f;
    background: #eeeeee;
}
.c-sidebar .c-active.c-sidebar-nav-dropdown-toggle, .c-sidebar .c-sidebar-nav-link.c-active {
    color: #424d5f;
    background: #eeeeee;
}
.c-sidebar .c-sidebar-nav-dropdown.c-show .c-sidebar-nav-link.c-active,
.c-sidebar .c-sidebar-nav-dropdown.c-show .c-sidebar-nav-link:hover,
.c-sidebar .c-sidebar-nav-dropdown.c-show .c-sidebar-nav-dropdown-toggle:hover {
    color: #3c4b64
}
.c-sidebar .c-sidebar-nav-dropdown.c-show .c-sidebar-nav-link.c-active .c-sidebar-nav-icon,
.c-sidebar .c-sidebar-nav-link.c-active .c-sidebar-nav-icon,
.c-sidebar .c-sidebar-nav-link:hover .c-sidebar-nav-icon,
.c-sidebar .c-sidebar-nav-dropdown.c-show .c-sidebar-nav-dropdown-toggle:hover .c-sidebar-nav-icon{
    color: rgba(66,77,95,.5);
}
.c-header .c-header-nav .c-header-nav-btn, .c-header .c-header-nav .c-header-nav-link {
    color: #3c4b64;
}
.c-sidebar-nav-dropdown-items {
    overflow-x: hidden;
}
/* Верхнее меню */
.dropdown-menu.multi-level{
    margin-top: 17px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
    transition: ease 1s all;
}
/* .dropdown-menu.multi-level > li> a{
    font-weight: 500;
} */
b.caret{
margin-left: 5px;
}
.dropdown-submenu {
    position: relative;
    transition: ease 1s all;
}
.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -9px;
    margin-left: -0px;
    -webkit-border-radius: 0 0px 6px 0px;
    -moz-border-radius: 0 0px 6px 0px;
    border-radius: 0 0px 6px 0px;
    transition: ease 1s all;
    box-shadow: 3px 6px 12px rgba(0,0,0,.175);
}
.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}
.dropdown-submenu>a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #ccc;
    margin-top: 5px;
    margin-right: -10px;
}
.dropdown-submenu:hover>a:after {
    border-left-color: #fff;
}
.dropdown-submenu.pull-left {
    float: none;
}
.dropdown-submenu.pull-left>.dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}
.dropdown-menu>li>a:hover, .dropdown-menu>li>a:focus {
    color: #262626;
    text-decoration: none;
    background-color: #f5f5f5;
}
.dropdown-menu>li>a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: 400;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
}




div.dataTables_wrapper div.dataTables_length select {
    padding-right: 1rem !important;
    background-position-x: 2rem;
}
.btn-primary {
    color: #fff;
    background-color:#137ea4;
    border-color: #137ea4;
}
.btn-primary.disabled, .btn-primary:disabled {
    color: #fff;
    background-color: #137ea4;
    border-color: #137ea4;
}
.btn-primary:hover {
    color: #fff;
    background-color: #0F6583;
    border-color: #0F6583;
}
.btn-light {
    color: #3c4b64;
}
.h4{
    color: inherit;
}

.table.dataTable thead th, .table.dataTable td {
    padding: 3px;
    font-size: 11px;
}
.table.dataTable td.select-checkbox {
    padding: 8px;
}

table.dataTable thead>tr>th.sorting, table.dataTable thead>tr>td.sorting_asc, table.dataTable thead>tr>td.sorting_desc, table.dataTable thead>tr>td.sorting {
    padding-right: 20px;
}
.table thead th {
    vertical-align: middle;
}
.table th.details-control{
    min-width: 20px;
}
.table tbody td{
    transition: ease 1s all;
}
.table-bordered, .table-bordered td, .table-bordered th {
    color: #212529;
}
.table tbody td.details-control {
    background: url('/assets/img/plus.png') no-repeat center center;
    cursor: pointer;
    opacity: 0.6;
    transition: ease 1s all;
}
tr.shown td.details-control {
    background: url('/assets/img/minus.png') no-repeat center center;
    transition: ease 1s all;
}
.td-long{
    max-width: 300px;
}
#toPrint{
    width: fit-content;
    text-align: center;
}
#toPrint canvas{
    /* display: none; */
}
.card-header > span{
    font-weight: bold;
}

@media (min-width: 992px){
    .c-sidebar-unfoldable:not(:hover).c-sidebar-fixed {
        z-index: 1031;
        width: 55px;
    }
    html:not([dir=rtl]) .c-sidebar.c-sidebar-lg-show:not(.c-sidebar-right).c-sidebar-fixed.c-sidebar-minimized~.c-wrapper, html:not([dir=rtl]) .c-sidebar.c-sidebar-lg-show:not(.c-sidebar-right).c-sidebar-fixed.c-sidebar-unfoldable~.c-wrapper, html:not([dir=rtl]) .c-sidebar.c-sidebar-show:not(.c-sidebar-right).c-sidebar-fixed.c-sidebar-minimized~.c-wrapper, html:not([dir=rtl]) .c-sidebar.c-sidebar-show:not(.c-sidebar-right).c-sidebar-fixed.c-sidebar-unfoldable~.c-wrapper {
        margin-left: 55px;
    }
}


