/*JQUERY DIALOG FIX */
.ui-dialog {
    z-index: 1005;
    max-width: calc(100% - 30px);
}

.ui-dialog .ui-dialog-titlebar {
    min-height: 20px;
    box-sizing: initial;
    /*background:#025AA5;
    color:#ffffff;*/
}

.ui-dialog .ui-dialog-titlebar-close span {
    margin: -8px !important;
}

.ui-dialog .ui-dialog-content {
    position: initial;
    min-width: 300px;
    max-height: 800px !important;
}

.ui-dialog .bootstrap-select > select {
    max-height: 20px;
}

.ui-widget-content {
    color: inherit;
}

.ui-widget.ui-widget-content {
    border: 1px solid #677685;
}

/*DATEPICKER FIX DO NOT REMOVE*/
.ui-datepicker {
    display: none;
    z-index: 1010;
}

.modal-open{
    overflow:auto;
    overflow-x:hidden;
}

.table > thead > tr > th {
    border-top: 0px;
    vertical-align: middle;
}

.table > tbody > tr > td {
    vertical-align: middle;
}

table.no-hover tr,
table.no-hover td,
table.no-hover th,
table.no-hover tr:hover,
table.no-hover td:hover,
table.no-hover th:hover {
    background-color: white;
}

.table-hover tbody tr:hover {
    background-color: #bdd7ec;
}

.table.table-horizontal tr th {
    width: 38%;
}

/*TABLE-HORIZONTAL-WIDE*/

.message-label + form{
    margin-top:20px;
}

.table.table-horizontal-wide {
    margin-bottom: 0px;
    border: 1px solid #dee2e6;
    position: relative;
}

.dialog .table.table-horizontal-wide {
    min-width:450px;
}

.table.table-horizontal-wide > tbody > tr > th {
    white-space: nowrap;
    position: absolute;
    margin-top: -17px;
    background: white;
    margin-left: 8px;
    padding: .5rem;
    border: 0px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    font-weight: normal;
    width: auto;
    max-width: 90%;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #000000b8;
}

.table.table-horizontal-wide > tbody > tr > th:empty {
    margin: 0px;
    padding: 0px;
    background: none;
}

.table.table-horizontal-wide > tbody > tr > td {
    padding: 1.25rem .5rem;
    padding-left: 1.5rem;
}

.table.table-horizontal-wide > tbody > tr > td:not(.text-color):not(.btn),
.table.table-horizontal-wide > tbody > tr > td *:not(.text-color):not(.btn) > *:not(.text-color):not(.btn) {
    color: #808080ed;
}

.table.table-horizontal-wide > tbody > tr:hover,
.table.table-horizontal-wide > tbody > tr:active,
.table.table-horizontal-wide > tbody > tr:focus {
    border-left: 1px solid black;
}

.table.table-horizontal-wide > tbody > tr:hover > td,
.table.table-horizontal-wide > tbody > tr:active > td,
.table.table-horizontal-wide > tbody > tr:focus > td {
    position:relative;
}

.table.table-horizontal-wide > tbody > tr:hover > th,
.table.table-horizontal-wide > tbody > tr:active > th,
.table.table-horizontal-wide > tbody > tr:focus > th,
.table.table-horizontal-wide > tbody > tr:hover > td:not(.text-color),
.table.table-horizontal-wide > tbody > tr:active > td:not(.text-color),
.table.table-horizontal-wide > tbody > tr:focus > td:not(.text-color),
.table.table-horizontal-wide > tbody > tr:hover > td:not(.text-color) *:not(.text-color):not(.btn),
.table.table-horizontal-wide > tbody > tr:active > td:not(.text-color) *:not(.text-color):not(.btn),
.table.table-horizontal-wide > tbody > tr:focus > td:not(.text-color) *:not(.text-color):not(.btn) {
    color: black;
}

/*TABLE-VERTICAL-WIDE*/

.table.table-vertical-wide {
    margin-bottom: 0px;
    position: relative;
}

.table.table-vertical-wide tr th,
.table.table-hover.table-vertical-wide th {
    background: white;
    padding: .5rem;
    border: 0px;
    border-bottom:1px solid #a9acb0;
    font-weight: normal;
    vertical-align: bottom;
}

.table.table-vertical-wide tr td,
.table.table-hover.table-vertical-wide td {
    padding-left: .75rem;
    /*border: 0px;*/
}

.table tr td.data-padding {
    padding: 1.45rem .8rem;
}

/*FORM*/
.form-control {
    padding: .3rem .5rem;
}

/*AUTOCOMPLETE*/
.ui-autocomplete {
    z-index: 1010;
}

.ui-autocomplete .ui-menu-item {
    cursor: pointer;
    padding: 10px;
    white-space: nowrap;
}

.ui-menu .ui-state-focus, .ui-menu .ui-state-active {
    margin: 0px;
}

.ui-tabs, .ui-tabs-panel {
    padding: 0px !important;
}

.ui-tabs .ui-state-active,
.ui-tabs .ui-state-active a {
    color: #fff;
    background: #0275d8;
    border-color: #0275d8;
}

.block{
    display:block;
}

.block_important {
    display: block !important;
}

/*BOOTSTRAP*/
.bootstrap-select ul.dropdown-menu li a.dropdown-item span.text {
    padding: 0.5rem;
}

select.selectpicker {
    display: none;
}

.btn-smt{
    padding: .15rem .5rem;
    line-height: 1.2;
    font-size: .795rem;
    border-radius: .2rem;
}

/*this is for required*/
select.bs-select-loaded,
select.selectpicker.bs-select-loaded {
    display: block !important;
}

.bootstrap-select button.dropdown-toggle,
.bootstrap-select button.dropdown-toggle:hover,
.bootstrap-select button.dropdown-toggle:active {
    min-width: 100px;
}

.btn-group-xs > .btn, .btn-xs {
    padding: 1px 5px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

.btn-xl {
    padding: 5px 15px;
    font-size: 30px;
    line-height: 1.5;
    border-radius: 3px;
}

.btn-warning {
    color: white;
}

.btn-default {
    border: 1px solid grey;
}

.btn-danger-light{
    background-color: #dc354552;
    border-color: #dc354552;
}

.header-filter .bootstrap-select button.dropdown-toggle {
    min-width: 200px !important;
}

.bootstrap-select-highlight,
.bootstrap-select-highlight > button.dropdown-toggle {
    background-color: #ffffc1 !important;
}
.bootstrap-select-highlight + .form-group-label-right,
.bootstrap-select-highlight + .form-group-label-right-elem {
    background-color: inherit;
}

a.btn:not([href]):not([tabindex]) {
    color: white;
}

.ui-dialog .selectpicker + .dropdown-toggle + .dropdown-menu {
    min-width: 250px !important;
    max-width: 550px !important;
    top: auto !important;
    left: auto !important;
    margin-top: 3px;
    margin-left: 0;
    transform: none !important;
    position: sticky !important;
    overflow-x: hidden;
}

.ui-dialog .selectpicker + .dropdown-toggle + .dropdown-menu > .inner.show {
    overflow-x: hidden;
}

.ui-dialog .btn-light:not(:disabled):not(.disabled).active,
.ui-dialog .btn-light:not(:disabled):not(.disabled):active,
.ui-dialog .show > .btn-light.dropdown-toggle {
    border: 0px;
}

.ui-dialog .bootstrap-select {
    position: static;
}

.ui-dialog .table-horizontal-wide {
    margin-top: 20px;
    margin-bottom: 20px;
}

.bootstrap-select > .dropdown-toggle {
    z-index: 0;
}


.datepicker.datepicker-dropdown table tr td, .datepicker table tr th {
    padding: 11px;
}

.datepicker.datepicker-dropdown table tr td.new {
    visibility: hidden;
}

.datepicker.datepicker-dropdown table tr td.old {
    visibility: hidden;
}

.fa {
    white-space: nowrap;
}

#sortable tr.ui-sortable-handle:hover {
    cursor: move;
}

#sortable tr.ui-sortable-handle.highlight {
    background-color: rgba(0, 235, 0, 0.2) !important;
}

/*FONT AWESOME*/
.fa {
    transform: translate(0, 0);
}

.label-info {
    background-color: #5bc0de;
    color:white !important;
    border: 1px solid #5bc0de;
    border-radius: 5px;
    padding:5px;
}
.label-info span{
    color:white !important;
}
.bootstrap-tagsinput{
    display:block;
    padding: 10px 5px;
}
.bootstrap-select>select{
    width: 1px!important;
}
