input[class~="btn"]:disabled,
span[disabled],
span[disabled]:hover,
button[class~="btn"]:disabled,
a[class~="btn"][disabled="disabled"],
a[class~="btn"][disabled="disabled"]:active,
a[class~="btn"][disabled="1"],
a[class~="btn"][disabled="1"]:active {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
    cursor: not-allowed;
}

select {
    cursor: pointer;
}

.hover {
    cursor: pointer;
}

/*FORM-GROUP-LABEL*/
:root {
    --form_group_border_color: #ced4da;
    --form_group_border_h_color: #a3a9af;
}

.form-group-label {
    padding: 5px;
    position: relative;
    top: 19px;
    left: 10px;
    background-color: white;
    z-index: 5;
    font-size: 16px;
    border-radius: 5px;
}

.bg_gray {
    background-color: rgba(0, 0, 0, .05);
}

.bg_white {
    background-color: #fff;
}

.table-striped tbody tr:nth-of-type(odd).bg_gray {
    background-color: rgba(0, 0, 0, .05);
}

.table-striped tbody tr:nth-of-type(odd).bg_white {
    background-color: #fff;
}

.table-striped tbody tr:nth-of-type(odd).bg_gray:hover,
.table-striped tbody tr:nth-of-type(odd).bg_white:hover {
    background-color: #bdd7ec;
}

.table > thead > tr > th > .form-group-label {
    top: 15px;
    color: black;
    font-weight: normal;
}

.form-group-label:empty {
    display: none;
}

.form-group-label.active + .form-group-sibling {
    border: 1px solid var(--form_group_border_h_color);
}

.form-group-label-right,
.form-group-label-right-elem {
    float: right;
    margin-top: -25px;
    background: white;
    padding: 0px 5px;
    z-index: 100;
    position: relative;
}

.label-normal,
.label-normal th {
    font-weight: normal;
    color: black;
}

.bootstrap-select + .form-group-label-right-elem {
    margin-top: -77px;
}

.form-group-label-right-elem {
    margin-top: -70px;
    margin-right: 10px;
}

/*all sub elements*/
.form-group-label + .form-group-sibling {
    display: block;
    min-height: calc(2em + .75rem + 2px);
    height: auto;
    padding-top: 5px;
    border: 1px solid var(--form_group_border_color);
}

.form-group-label + .form-group-sibling.empty-label {
    display: block;
    padding-top: 5px;
    padding-bottom: 5px;
    min-height: 10px;
    margin-top: 10px;
}

/*
.form-group-label + .form-group-sibling.bootstrap-select .dropdown-menu .inner .dropdown-menu li.active a.active span.text{
    color:white;
}
*/
.form-group-label + .form-group-sibling.bootstrap-select .dropdown-menu .inner .dropdown-menu li a span.text {
    color: black;
}

.form-group-label + .form-group-sibling:not(.text-color),
.form-group-label + .form-group-sibling:not(.text-color) *:not(.text-color):not(.btn-primary):not(.btn-danger):not(.btn-warning):not(.btn-secondary):not(.btn-success):not(.btn-info):not(.btn-dark) {
    color: grey;
}

.form-group-elem:active {
    position: relative;
    z-index: 6;
}

/*checkbox*/
.form-group-label + .check_row {
    display: block;
    min-height: calc(2em + .75rem + 10px);
    height: auto;
    line-height: calc(2em + 0.2rem);
    padding-top: 10px;
    padding-bottom: 10px;
    vertical-align: middle;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid var(--form_group_border_color);
    border-radius: .25rem;
    transition: border-color .15s
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
    background-color: inherit !important;
}

.form-group-label + span.form-group-sibling,
.form-group-label + div.form-group-sibling,
.form-group-label + textarea.form-group-sibling {
    min-height: calc(2em + .75rem + 10px);
    padding-top: 10px;
}

.form-group-label + .form-group-sibling:hover,
.form-group-label + .form-group-sibling:active,
.form-group-label + .form-group-sibling:focus,
.form-group-label:hover + .form-group-sibling,
.form-group-label:active + .form-group-sibling,
.form-group-label:focus + .form-group-sibling,
.form-control.form-group-sibling:hover,
.form-control.form-group-sibling:active,
.form-control.form-group-sibling:focus {
    -webkit-box-shadow: none;
    box-shadow: none;
    border: 1px solid var(--form_group_border_h_color);
    border-radius: .25rem;
    outline: none;
}

.form-group-label + .check_row:hover,
.form-group-label + .check_row:active,
.form-group-label + .check_row:focus,
.form-group-label:hover + .check_row,
.form-group-label:active + .check_row,
.form-group-label:focus + .check_row {
    border: 1px solid var(--form_group_border_h_color);
}

.form-group-label + .form-group-sibling.bootstrap-select:hover,
.form-group-label + .form-group-sibling.bootstrap-select:active,
.form-group-label + .form-group-sibling.bootstrap-select:focus,
.form-group-label:hover + .form-group-sibling.bootstrap-select,
.form-group-label:active + .form-group-sibling.bootstrap-select,
.form-group-label:focus + .form-group-sibling.bootstrap-select {
    border: 1px solid var(--form_group_border_h_color) !important;
}

.form-group-label + .form-group-sibling:not(.text-color):hover,
.form-group-label + .form-group-sibling:not(.text-color):active,
.form-group-label + .form-group-sibling:not(.text-color):focus,
.form-group-label + .form-group-sibling:not(.text-color):hover *::placeholder,
.form-group-label + .form-group-sibling:not(.text-color):active *::placeholder,
.form-group-label + .form-group-sibling:not(.text-color):focus *::placeholder,
.form-group-label + .form-group-sibling:not(.text-color):hover *:not(.text-color):not(.btn-primary):not(.btn-danger):not(.btn-warning):not(.btn-secondary):not(.btn-success):not(.btn-info):not(.btn-dark),
.form-group-label + .form-group-sibling:not(.text-color):active *:not(.text-color):not(.btn-primary):not(.btn-danger):not(.btn-warning):not(.btn-secondary):not(.btn-success):not(.btn-info):not(.btn-dark),
.form-group-label + .form-group-sibling:not(.text-color):focus *:not(.text-color):not(.btn-primary):not(.btn-danger):not(.btn-warning):not(.btn-secondary):not(.btn-success):not(.btn-info):not(.btn-dark) {
    color: black;
}

.form-group-label + .form-group-sibling:hover .btn:not(.dropdown-toggle):not(.btn-default),
.form-group-label + .form-group-sibling:active .btn:not(.dropdown-toggle):not(.btn-default),
.form-group-label + .form-group-sibling:focus .btn:not(.dropdown-toggle):not(.btn-default),
.form-group-label + .form-group-sibling:hover * .btn:not(.dropdown-toggle):not(.btn-default),
.form-group-label + .form-group-sibling:active * .btn:not(.dropdown-toggle):not(.btn-default),
.form-group-label + .form-group-sibling:focus * .btn:not(.dropdown-toggle):not(.btn-default) {
    color: white;
}

.form-group-label:hover + .form-group-sibling:not(.text-color),
.form-group-label:active + .form-group-sibling:not(.text-color),
.form-group-label:focus + .form-group-sibling:not(.text-color),
.form-group-label:hover + .form-group-sibling:not(.text-color) *,
.form-group-label:active + .form-group-sibling:not(.text-color) *,
.form-group-label:focus + .form-group-sibling:not(.text-color) * {
    color: black;
}

/*bootstrap selectpicker*/
.form-group-label + select.selectpicker.form-group-sibling + .form-group-label-right-elem {
    display: none;
}

.form-group-label + select.selectpicker.form-group-sibling {
    display: block !important;
}

.form-group-label + .bootstrap-select > button.btn,
.form-group-label + .bootstrap-select > button.btn:hover,
.form-group-label + .bootstrap-select > button.btn:active,
.form-group-label + .bootstrap-select > button.btn:focus {
    margin-top: 2px;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background-color: transparent !important;
}

/*FORM-GROUP-LABEL END*/

.bold {
    font-weight: bold;
}

.ibox {
    clear: both;
    margin-bottom: 25px;
    margin-top: 0;
    padding: 0;
}

.ibox:after, .ibox:before {
    display: table;
}

.ibox-title {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background-color: #ffffff;
    border-color: #e7eaec;
    border-image: none;
    border-style: none none solid none;
    border-width: 2px 0px 1px 0px;
    color: inherit;
    margin-bottom: 0;
    padding: 15px 15px 7px;
    min-height: 48px;
}

.ibox-title h5 {
    display: inline-block;
    color: #676a6c;
    margin: 0 0 7px;
    padding: 0;
    text-overflow: ellipsis;
    float: left;
}

.ibox-title h5.md-font {
    font-size: 14px;
}

/*
.ibox-title:hover{
	background-color:#ebebeb;
}
*/

.ibox-tools {
    display: block;
    float: none;
    margin-top: 0;
    position: relative;
    padding: 0;
    text-align: right;
}

.ibox-tools a {
    cursor: pointer;
    margin-left: 5px;
    color: #c4c4c4;
}

.ibox-title.ibox-label .ibox-tools {
    position: absolute;
    right: 5px;
    margin-top: 13px;
    color: #ffffff;
}

.ibox-title.ibox-label .ibox-tools a {
    color: #ffffff;
}

.ibox-content {
    margin: 0 auto;
    background-color: #ffffff;
    color: inherit;
    padding: 15px 20px 20px 20px;
    clear: both;
}

.ibox .border {
    border-color: #e7eaec;
    border-image: none;
    border-style: none none solid none;
    border-width: 0px 0px 1px 0px;
}

.ibox .border-dark {
    border-color: #025AA5;
    border-image: none;
    border-style: none none solid none;
    border-width: 0px 0px 1px 0px;
}

.ibox-content table.table tr:first-child th, .ibox-content table.table tr:first-child td {
    border-top: 0px;
}

.tabs-loader {
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 50px;
    margin: 50px 0px;
    align-items: center;
    justify-content: center;
}

.tabs-loader img {
    width: 48px;
    height: 48px;
}

.dropdown, .dropdown-nav, .toggle {
    cursor: pointer;
}

span.toggle {
    display: block;
    min-width: 100px;
    min-height: 30px;
    width: 100%;
    height: 100%;
    padding: 0.5rem;
}

.hidden {
    display: none;
}

.badge-info-2 {
    background-color: #337ab7;
    color: white;
}

/*popup*/

.dialog-background {
    display: none;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: #0a0a0a;
    opacity: 0.5;
    z-index: 100;
}

.dialog-content {
    display: none;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    position: fixed;
    opacity: 1;
    z-index: 105;
}

.dialog-content .content {
    display: inline-block;
    background-color: white;
    padding: 25px;
    position: relative;
    width: auto;
    max-width: 80%;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);

    border-radius: 8px;
}

/*dialog*/
.dialog, .dialog-append, .dialog-new, .link, .pointer {
    cursor: pointer;
}

.dialog:active, .dialog-append:active, .dialog-new:active, .link:active {
    cursor: text;
}

.clear {
    clear: both;
}

.slideDownBox {
    display: none;
}

.paragraph-toggle {
    margin-bottom: 10px;
}

.table-fixed-header > thead {
    background: white;
    position: sticky;
    top: 0; /* Don't forget this, required for the stickiness */
    z-index: 99;
}

.table-horizontal > tbody > tr > th {
    background: #f9f9f9;
    vertical-align: middle;
}

.table-horizontal th label {
    vertical-align: middle;
    color: red;
}

.table.table-hover.table-vertical > thead > tr > th {
    font-size: calc(12px + .15vw);
    padding-left: calc(1px + .1vw);
}

.table.table-header-hover > thead > tr > th {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.table.table-hover.table-vertical td {
    font-size: calc(10px + .15vw);
    padding-left: calc(1px + .1vw);
    color: #3f3f3f;
}

table.last-td-text-right tr td:last-child {
    text-align: right;
}

.table.no-border table,
.table.no-border th,
.table.no-border td {
    border: none;
    padding: 0.1rem .75rem;
}

.table.no-border td input[type="submit"].btn,
.table.no-border td a.btn {
    margin-top: 20px;
}

.table.no-border td .bootstrap-select + .form-group-label-right-elem a.btn {
    margin-top: 10px;
}

.sortable-placeholder {
    background-color: #ffffc1 !important;
}

.center {
    text-align: center;
}

.middle {
    display: inline-block;
    position: fixed;
    width: auto;
    max-width: 80%;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.ui-autocomplete {
    max-height: 500px;
    overflow-y: auto;
}

.btn-m {
    margin-left: 5px;
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
    font-weight: bold;
}

.div-md {
    display: inline-block;
    vertical-align: top;
    width: 100%;
    position: relative;
    overflow-y: hidden;
    overflow-x: scroll;
    margin-right: 20px;
}

.div-md-3 {
    display: inline-block;
    vertical-align: top;
    width: 32%;
    position: relative;
    overflow-y: hidden;
    overflow-x: scroll;
    margin-right: 20px;
}

.div-md-5 {
    display: inline-block;
    vertical-align: top;
    width: 45%;
    position: relative;
    overflow-y: hidden;
    overflow-x: hidden;
    margin-right: 20px;
}

.nav-tabs .nav-item .nav-link.active {
    /*color: #006ADA;*/
    font-weight: bold;
}

.box-shadow {
    display: inline-block !important;
    -webkit-box-shadow: 0px 0px 13px -1px rgba(0, 0, 0, 0.37);
    -moz-box-shadow: 0px 0px 13px -1px rgba(0, 0, 0, 0.37);
    box-shadow: 0px 0px 13px -1px rgba(0, 0, 0, 0.37);
    border-radius: 3px;
    margin: 10px;
}

.table-last-column > tbody > tr > td:last-child {
    white-space: nowrap;
    width: 10px;
}

.width-80,
.width-100,
.width-150,
.width-200,
.width-250 {
    display: inline-block !important;
}

.width-80 {
    max-width: 80px;
}

.width-80:focus {
    max-width: 150px;
}

.width-100 {
    max-width: 100px;
}

.width-100:focus {
    max-width: 150px;
}

.width-150 {
    max-width: 150px;
}

.width-150:focus {
    max-width: 200px;
}

.width-200 {
    max-width: 200px;
}

.width-200:focus {
    max-width: 250px;
}

.width-250 {
    max-width: 250px;
}

.width-250:focus {
    max-width: 300px;
}

.width-80 + .btn.dropdown-toggle,
.width-80 + .btn.dropdown-toggle:focus,
.width-80 + .btn.dropdown-toggle:hover {
    min-width: 75px;
}

.width-100 + .btn.dropdown-toggle,
.width-100 + .btn.dropdown-toggle:focus,
.width-100 + .btn.dropdown-toggle:hover {
    min-width: 95px;
}

.width-150 + .btn.dropdown-toggle,
.width-150 + .btn.dropdown-toggle:focus,
.width-150 + .btn.dropdown-toggle:hover {
    min-width: 145px;
}

.width-200 + .btn.dropdown-toggle,
.width-200 + .btn.dropdown-toggle:focus,
.width-200 + .btn.dropdown-toggle:hover {
    min-width: 195px;
}

.width-250 + .btn.dropdown-toggle,
.width-250 + .btn.dropdown-toggle:focus,
.width-250 + .btn.dropdown-toggle:hover {
    min-width: 245px;
}

[data-search-clear] {
    position: relative;
    display: block;
    margin-top: -30px;
    padding-right: 10px;
    font-size: 25px;
    width: 25px;
}

input.form-checkbox {
    width: 25px;
    height: 25px;
    border: 1px solid lightgrey;
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    -moz-appearance: none;
    -webkit-appearance: none;
    -o-appearance: none;
}

input.form-checkbox:checked {
    border: 1px solid #458c7c;
    background-color: #458c7c;
    color: white;
}

input.form-checkbox:checked:after {
    content: '\2713';
    color: white;
    display: block;
    margin-top: 3.5px;
    font-size: 14px;
    font-weight: bold;
}

input.form-checkbox.checkbox-l {
    width: 35px;
    height: 35px;
}

input.form-checkbox.checkbox-l:checked:after {
    margin-top: 8.5px;
}

.data-search::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: #444444 !important;
}

.data-search:hover::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: lightgrey !important;
}

@media screen and (max-width: 1900px) {
    .div-md, .div-md-3 {
        margin: 0px;
        margin-right: 10px;
        padding: 0px;
    }

    .div-md table th, .div-md table td, .div-md-3 table th, .div-md-3 table td {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

@media screen and (max-width: 1800px) {
    .div-md, .div-md-3 {
        position: relative;
        margin: 0px;
        padding: 0px;
    }

    .div-md table th, .div-md table td {
        padding-left: 0.5rem !important;
        padding-right: 0rem !important;
    }

    .div-md-3 table th, .div-md-3 table td {
        padding-left: 0.1rem !important;
        padding-right: 0rem !important;
    }
}

@media screen and (max-width: 1400px) {
    .div-md, .div-md-3 {
        display: block;
        width: 100%;
        overflow-y: visible;
        overflow-x: visible;
    }

    .div-md table, .div-md-3 table {
        display: block;
        width: 100%;
    }

    .div-md table th, .div-md table td, .div-md-3 table th, .div-md-3 table td {
        padding-left: 0.3rem;
        padding-right: 0.3rem;
    }
}

@media screen and (max-width: 1000px) {
    .table-last-column > tbody > tr > td:last-child {
        white-space: normal;
        /*width:auto;*/
    }

    .table thead th {
        white-space: normal;
        line-height: 1;
    }
}