/*#header {*/
/*margin-bottom: 20px;*/
/*}*/
.panel-body{
    padding: 5px !important;
}
.left-menu {
    height: calc(100vh - 50px);
    border-right: 1px dotted #E0E0E0;
    overflow: auto;
    background-color: #f1f1f1;
}
input[readonly]:focus-visible {
    outline: none;
}
.main-conten {
    min-height: calc(100vh - 50px);
    background-color: white;
}

.material-switch > input[type="checkbox"], .su_cover > input[type="checkbox"] {
    display: none;
}

.material-switch > label, .su_cover > label {
    cursor: pointer;
    height: 0px;
    position: relative;
    width: 40px;
}

.material-switch > label::before, .su_cover > label::before {
    background: rgb(0, 0, 0);
    box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    content: '';
    height: 16px;
    margin-top: -8px;
    position: absolute;
    opacity: 0.3;
    transition: all 0.4s ease-in-out;
    width: 40px;
}
.su_cover > label::before {
    width: 80px;
}
.material-switch > label::after, .su_cover > label::after {
    background: rgb(255, 255, 255);
    border-radius: 16px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
    content: '';
    height: 24px;
    left: -4px;
    margin-top: -8px;
    position: absolute;
    top: -4px;
    transition: all 0.3s ease-in-out;
    width: 24px;
}



.material-switch > input[type="checkbox"]:checked + label::before, .su_cover > input[type="checkbox"]:checked + label::before  {
    background: inherit;
    opacity: 0.5;
}

.material-switch > input[type="checkbox"]:checked + label::after {
    background: inherit;
    left: 20px;
}
.su_cover > input[type="checkbox"]:checked + label::after {
    background: inherit;
    left: 60px;

}


#filter_store_list {
    color: red;
    font-size: 18px;
    height: 36px;
}

#filter_site_list {
    color: red;
    font-size: 14px;
    height: 30px;
}

.checkbox {
    /*display: inline-block;*/
    margin-bottom: 15px;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

.checkbox:hover {
    /*cursor: pointer;*/
}

.checkbox .fa {
    width: 25px;
    margin-top: -5px;
}

.indent {
    padding-left: 30px;
}

.indent .fa {
    margin-left: -30px;
}

.checkbox input[type="checkbox"] {
    display: none;
}

.checkbox input[type="checkbox"] + i:before {
    content: "\f096";
    position: relative;
    bottom: -4px;
    margin-right: 5px;
    color: #999;
}

.checkbox:hover input[type="checkbox"] + i:before {
    color: green;
}

.checkbox input[type="checkbox"]:checked + i:before {
    content: "\f046";
    color: green;
}
.checkbox input[type="checkbox"][readonly] + i:before,
.checkbox input[type="checkbox"][readonly]:checked + i:before {
    color: red;
    opacity: 0.5;
    cursor: not-allowed;
}
.checkbox input[type="checkbox"]:disabled + i:before,
.checkbox input[type="checkbox"]:disabled:checked + i:before {
    color: #ddd;
}

label span {
    font-size: 12px;
    word-wrap: normal;
    display: inline-block;
    height: 21px;
    position: relative;
    bottom: 1px;
}

.checkbox .no-action {
    display: inline-block;
    width: 3px;
    cursor: default;
    margin-left: -3px;
    margin-right: -4px;
    bottom: 3px;
    position: relative;
    height: 21px;
}

.table-sorter-decorator {
    display: inline-block;
    margin-left: 5px;
}

#order-list-table thead th {
    cursor: pointer;
    font-size: 9px;
    white-space: nowrap;
}

#num-record, .checked-result {
    font-size: 18px;
    font-weight: bold;
    color: #e8e8e8;

}

.empty-order {
    width: 100%;
    line-height: calc(100vh - 50px);
    color: red;
    text-align: center;
    font-weight: bold;
    font-size: 36px;
}

table.options th:not(:last-child), table.options td:not(:last-child) {
    border-right: 1px dotted gray;
}

#product_list .checkbox label {
    padding-left: 10px;
}

#product_list .checkbox {
    margin-bottom: 0px;
}

.row.top-content {
    margin-bottom: 10px;
}

.row.top-content div {
    line-height: 30px;
}

.pink {
    background-color: #dbf8ff !important;
}

.tab-pane > div {
    margin-bottom: 10px;
    /*border: 1px solid lightgrey;*/
    /*background-color: #D8F3DE;*/
    padding: 10px;
}
.alert-primary {
    border: 1px solid lightgrey;
    background-color: #D8F3DE;
    text-align: center;
    font-size: larger;
}

.tab-pane > div.row {
    margin-left: 15px;
    margin-right: 15px;
}

.wait {
    width: 200px;
    max-height: 50%;
    margin: auto;
    display: block;
}

.btn .wait {
    width: 9px;
    margin: 5px 1px;
}

.group {
    cursor: pointer;
    text-transform: capitalize;
}

.fa.fa-plus-square-o {
    color: #999999;
}

.add-part {
    cursor: pointer;

}

.sklad-error {
    display: none;
    font-size: 10px;
    color: red;
}

.red-border {
    border: 1px solid red;
}

.nav-stacked.sklad {
    border-bottom: none;
}

.nav-tabs.sklad > li.active > a {
    border-right-color: transparent;
    border-bottom-color: #dddddd;
    /*background-color: #eeeeee;*/
}

.nav-tabs.sklad > li > a {
    text-transform: uppercase;
}

div.structure {
    width: 100%;
    /*max-height: 100px;*/
    overflow: hidden;
    overflow-y: auto;
}

.structure table {
    font-size: 12px;
}

.empty {
    color: red;
}

.empty.setting {
    line-height: 28px;
    font-size: 14px;
}

.empty.setting i {
    color: unset;
    cursor: pointer;
}

.tab-pane > div.invoice-tab_pan, .tab-pane > div.present-tab_pan {
    height: 460px;
    overflow: hidden;
    overflow-y: auto;
    border: none;
    background-color: transparent;
    padding: unset;
    margin: unset;
}

.q-search-wrapper {
    width: 100%;
    /*border: 1px solid lightgrey;*/

}

.q-search-wrapper a {
    display: block;
    margin: 1px 2px;
    color: black;
    text-decoration: none;
    padding: 7px 5px;
    border: 1px solid lightgrey;
}

.q-search-wrapper a:hover {
    background-color: #5897fb;
    color: white;
}

.prop {
    padding: 3px 10px;
    border: 1px dotted grey;
    background-color: #e8e8e8;
    width: 100px;
    border-radius: 5px;
    margin: 2px 0px;

}

#collapse-group {
    background-color: transparent;
    border: none;
    padding: unset;
}

.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
    vertical-align: middle;
}

.table td.input-group {
    display: table-cell;
}
.tab-pane.sklad > div.row {
    margin-bottom: unset;
    border: unset;
    background-color: transparent;
}

.tab-pane.sklad > div.row:nth-child(even) {
    background-color: #f3f3f3;
}

.tab-pane.sklad > div.row div {
    padding-left: 0px;
    padding-right: 0px;
}

.tab-pane.sklad label {
    margin-bottom: unset;
}
/*==========*/
/*COMPLAINT*/
/*==========*/
.main-wrapper {

}
.main-wrapper div.buttons {
    margin-top: 10px;
    display: flex;
    justify-content: left;
}
.main-wrapper div.buttons button:not(:first-child) {
    margin-left: 10px;
}

table.complaint-list {
    margin-top: 20px;
    border-top: 1px solid lightgrey;
}

.select2-results__option--highlighted {
    background: #2fa4e7;
    cursor: pointer;
    color: white;
}

.handle {
    cursor: pointer;
}

.show-child {
    font-size: 20px;
    color:blue;
    cursor: pointer;

}

.sign-window {
    visibility: hidden;
}

.js-complaint-sign {
    width: 100%;
}
.search-by {
    cursor:pointer;
}
div.complaint-search-answer {
    margin-top: 20px;
    max-height: 200px;
    display: none;
    height: 200px;
}
table.search-result {
    margin-top: 20px;
}
table.search-result.table-hover>tbody>tr:hover{
    background: #2fa4e7;
    color: white;
}

table.search-result tr,
table.search-result tr input{
    cursor: pointer;
}

table.check-complaint {
    background-color: transparent !important;
    margin-bottom: 0px;
}
table.check-complaint td {
    border-color: transparent !important;
}
.from_info, .to_info {
    font-size: 11px;
}
.from_info span,
.to_info span  {
    color: red;
}

span.disabledManager {
    color: red !important;
}

.order-title {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}
.order-arrow {
    width: 50px;
    text-align: center;
    cursor: pointer;
    font-size: larger;
}

.order-list {
    overflow: hidden;
    max-height: 100px;
}

.copy {
    color: #2fa4e7;
    font-size: 20px;
    cursor: pointer;
}
#progress_circle {
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.7);
    z-index:1000;
    align-items:center;
    justify-content:center;
}