/*
   1 - DEFAULT
   2 - LAYOUT
   3 - TABLE
   4 - VALIDATE MSG
   5 - LOGIN
   6 - IRO
   7 - LIGTHCASE
   8 - BOX TOOLS
   9 - FULL CALENDAR
   10 - BOX TOOLS ACTIONS
   11 - MODAL DEFAULT
   12 - SIDEBAR
   13 - DATATABLE
   14 - SMALL BOX
   15 - CALLOUT FILTERS
   16 - TIMELINE PESSOA
   17 - BTN AÇÕES
   18 - COLLAPSE FILTERS
   19 - MULTISELECT CHECKBOX
   20 - PAINEL DE CHAMADOS - KANBAN
   21 - GANTT
   22 - ASIDE
   23 - CUSTOM SCROLL
   24 - DATATABLES
*/

/* ***************************
    1 - DEFAULT
*************************** */
.d-block {
    display: block;
}
.d-none {
    display: none;
}
.mg-tp30 {
    margin-top: 30px;
}
.pd-bt0 {
    padding-bottom: 0;
}
.nowrap {
    white-space: nowrap;
}
.popover .table {
    margin-bottom: 0;
}
hr.separator {
    border-color: #eee;
    margin-top: 5px;
}
.border-separator:after {
    top: 5px;
    right: 0px;
    width: 1px;
    bottom: 5px;
    content: "";
    position: absolute;
    background-color: rgba(0,0,0,0.1);
}
.text-overflow {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.pd-bt10 {
    padding-bottom: 10px;
}
.c-pointer {
    cursor: pointer;
}
.bg-white {
    background-color: #FFF !important;
}
.br-l5-info {
    border-left: 4px solid #0097bc !important;
}
.br-l5-danger {
    border-left: 4px solid #c23321 !important;
}
.text-white {
    color: #fff;
}
.pr-0 {
    padding-right: 0;
}
.w-100 {
    width: 100%;
}
.h-100 {
    height: 100%;
}
/* ***************************
    2 - LAYOUT
*************************** */
.content-header>.breadcrumb {
    float: left;
    position: initial;
}
.checkbox, .radio {
    margin-top: 0;
}
.dl-horizontal dd img {
    margin-top: 5px;
}
table.mceLayout, textarea.tinyMCE, textarea.form-control {
    width: 100% !important;
    max-width: 100% !important;
}
table.table>tbody>tr>td, table.table>tbody>tr>th {
    vertical-align: middle;
}
.btn-social-custom>:first-child {
    line-height: 50px;
}
.btn-social-custom p {
    overflow: hidden;
    text-overflow: ellipsis;
}
iframe {
    border: 0;
}

/* ***************************
    3 - TABLE
*************************** */
td .row, td .col-xs-12 {
    margin: 0;
    padding: 0;
}
td .alert {
    margin-bottom: 0;
}
.table .dropdown-menu {
    right: 0;
    left: auto;
}
table .btn-box-tool {
    padding: 0;
}
.filtros th {
    white-space: nowrap;
}
.filtros .fa-stack {
    width: 1.5em;
    height: 1.5em;
    line-height: 1.5em;
}
.alert-custom .alert {
    padding: 5px 35px 5px 15px;
}
.table label.checkbox {
    margin: 0;
}
/* ***************************
    4 - VALIDATE MSG
*************************** */
.form .state-error label, .form .error label {
    color: #dd4b39;
}
.form .state-error .form-control, .form .error .form-control {
    border-color: #dd4b39;
    box-shadow: none;
}
.form .error-message {
    color: #dd4b39;
}
/* ***************************
    5 - LOGIN
*************************** */
.login-box .login-logo img {
    margin: auto;
}
.login-box .login-box-body img {
    height: 88px;
}
.login-box .form label {
    font-weight: unset;
}
/* ***************************
    6 - IRO
*************************** */
#color-picker-container .iro__colorPicker {
    margin: auto;
}

.embarcacao-color {
    width: 15px;
    height: 15px;
    display: inline-block;
    border-radius: 8px;
    margin-top: 3px;
}
/* ***************************
    7 - LIGHTCASE
*************************** */
.lightcase img {
    max-height: 80px;
}
.lightcase img.img-lg {
    margin: 0 5px 5px 0;
    float: none;
}
/* ***************************
    8 - BOX TOOLS
*************************** */
.box-tools.box-tools-custom {
    position: relative;
    right: 0;
    top: 11px;
}
.nav-tabs-custom {
    margin-bottom: 0;
    background: transparent;
    box-shadow: 0 0 1px rgba(0,0,0,0.1);
    border-radius: 3px;
    margin-top: -13px;
    transition-duration: 1s;
}
.box-tools-custom .nav-tabs-custom {
    margin-top: -24px;
}
@media(max-width: 991px) {
    .box-tools.box-tools-custom {
        top: 5px;
        float: none !important;
    }
    .box-tools-custom .nav-tabs-custom {
        margin-top: 0;
    }
}
/* ***************************
    9 - FULL CALENDAR
*************************** */
@media(max-width: 991px) {
    #calendar .fc-left {
        margin-bottom: 15px;
    }
    #calendar .fc-left, #calendar .fc-right {
        float: none;
    }
    #calendar .fc-left>*, #calendar .fc-right>* {
        float: none;
    }
}
@media(max-width: 767px) {
    #calendar .fc-right>.btn-group {
        width: 100%;
        margin: auto;
    }
    #calendar .fc-right>.btn-group>button {
        float: none;
    }
    #calendar .fc-right>.btn-group:first-of-type {
        margin-bottom: 5px;
    }
}
/* ***************************
    10 - BOX TOOLS ACTIONS
*************************** */
.btn-box-tool-actions {
    padding: 1px 5px;
    margin: -2px 0 0 5px !important;
}
li.div-box-tool-actions>a {
    padding-right: 45px;
}
li.div-box-tool-actions>div.btn-group {
    position: absolute;
    right: 15px;
    top: 13px;
}
li.div-box-tool-actions>div.btn-group>ul.dropdown-menu {
    margin-top: 2px;
}
/* ***************************
    11 - MODAL DEFAULT
*************************** */
#modal-default {
    z-index: 1070;
}
/* ***************************
    12 - SIDEBAR
*************************** */
.user-panel {
    display: table-cell;
    vertical-align: middle;
    width: 100vw;
}
.user-panel>.image {
    min-width: 30px;
    min-height: 30px;
}
.user-panel>.image img {
    margin: auto;
}
.user-panel>.info {
    top: 50%;
    right: 0;
    padding: 15px 5px 5px 15px;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}
/* ***************************
    13 - DATATABLE
*************************** */
#datatable-manutencao, #datatable-reserva {
    width: 100% !important;
}
#datatable-manutencao thead label, #datatable-reserva thead label {
    margin-bottom: 0;
}
/* ***************************
    14 - SMALL BOX
*************************** */
.modal .small-box h3 {
    font-size: 30px;
}
.modal .small-box:hover {
     color: inherit;
}
/* ***************************
    15 - CALLOUT FILTERS
*************************** */
.box-body.no-padding .callout-filters {
    margin: 10px;
}
.callout-primary-custom {
    border-color: #3c8dbc;
}
.callout-primary-custom a {
    text-decoration: none;
    color: #337ab7;
}
.callout-primary-custom a:hover {
    color: #114d81;
}

/* ***************************
    16 - TIMELINE PESSOA
*************************** */
.timeline>li>.timeline-item {
    box-shadow: none;
    border: 1px solid #ddd;
}
.timeline>li>.timeline-item dl {
    margin-bottom: 0;
}
/* ***************************
    17 - BTN AÇÕES
*************************** */
.btn-group ul.dropdown-menu>li>a>i {
    width: 15px;
    text-align: center;
    margin-left: -5px;
}
/* ***************************
    18 - COLLAPSE FILTERS
*************************** */
.collapse-filter {
    color: initial !important;
    text-decoration: none !important;
}
.collapse-filter h4::after {
    content: "\f056";
    margin-left: 5px;
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.collapse-filter.collapsed h4::after {
    content: "\f055";
    margin-left: 5px;
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ***************************
    19 - MULTISELECT CHECKBOX
*************************** */
.multiselect-container.dropdown-menu {
    width: 100%;
}
.multiselect-container .multiselect-all .form-check,
.multiselect-container .multiselect-group .form-check,
.multiselect-container .multiselect-option .form-check {
    padding: 5px 0 10px;
}
.multiselect-container .multiselect-option.dropdown-item {
    padding-right: 9px;
}
.multiselect-container .multiselect-all .form-check input,
.multiselect-container .multiselect-group .form-check input,
.multiselect-container .multiselect-option .form-check input {
    margin-right: 5px;
}
.multiselect-container .multiselect-all .form-check label,
.multiselect-container .multiselect-group .form-check label,
.multiselect-container .multiselect-option .form-check label {
    font-weight: normal;
}
.multiselect-container .multiselect-filter i {
    position: absolute;
    left: 1px;
    top: 10px;
}
.multiselect-container .multiselect-filter > input.multiselect-search {
    margin-left: 0;
    padding-left: 2.7rem;
    font-weight: normal;
}
/* ***************************
    20 - PAINEL DE CHAMADOS - KANBAN
*************************** */
.scrumboard {
    overflow-x: auto;
}
.draggable {
    display: block;
    height: 100%;
}
.qb {
    position: relative;
    min-height: 1px;
    float: left;
    margin-right: 10px;
    padding-left: 0;
    width: 230px;
}
.qb .box {
    box-shadow: none;
    margin-bottom: 15px;;
}
.qb .box-title {
    font-size: 16px;
}
.qb .box-header h3 {
    padding: 0 5px;
}
.qb ul.qb-content {
    margin-bottom: 0;
}
.qb ul.qb-content>li.qb-item {
    margin-top: 3px;
    margin-bottom: 0;
    border: none;
    padding: 0;
}
.qb ul.qb-content>li.qb-item:hover {
    box-shadow: 0px 2px 5px rgb(0 0 0 / 45%)
}
.qb .qb-item-header {
    padding: 10px 15px;
}
.qb .qb-item-header>a {
    color: inherit;
}
.qb .qb-item-body {
    border-bottom: 3px solid;
}
.qb .qb-item.bg-danger .qb-item-body {
    border-color: #f2dede;
}
.qb .qb-item.bg-gray-light .qb-item-body {
    border-color: #f7f7f7;
}
.qb .qb-item-header a i {
    width: 25px;
    text-align: center;
}
.qb .qb-item-more {
    background-color: #d2d6de;
}
.qb .qb-item-more>div {
    -webkit-transition: background-color 5s ease-out;
    -moz-transition: background-color 5s ease-out;
    -o-transition: background-color 5s ease-out;
    transition: background-color 5s ease-out;
}
.qb .qb-item-more.bg-danger.qb-item-more-load>div {
    background-color: #f56954;
}
.qb .qb-item-more.bg-gray-light.qb-item-more-load>div {
    background-color: #d2d6de;
}
@media (min-width: 992px) {
    .qb:last-child .qb-item-header ul.dropdown-menu {
        right: 0;
        left: auto;
    }
}
@media (max-width: 991px) {
    .scrumboard > div:first-child {
        width: 100% !important;
    }
    .qb {
        width: 100% !important;
    }
    .qb .dropdown-menu {
        left: unset;
        right: 0;
    }
}

ul.column.ui-sortable {
    min-height: 50px;
}
.portlet-placeholder {
    border: 1px dotted black;
    margin: 0;
    height: 120px;
    list-style-type: none;
    background-color: rgba(100, 100, 100, 0.25);
}

/* ***************************
    21 - GANTT
*************************** */
.gantt-container {
    height: calc(100vh - calc(3.5rem + 1px) - calc(3.5rem + 1px));
}
.gantt-container .gantt_task_line.gantt_project {
    background-color: #65c16f;
    border: 1px solid #3c9445;
}
.gantt-container .weekend {
    background: #f4f7f4;
}
.gantt-container .gantt_selected .weekend {
    background: #f7eb91;
}
.gantt-container .default {
    border: 2px solid #34c461;
    background: #34c461;
}
.gantt-container .default .gantt_task_content {
    color: #fff;
    padding: 0 5px;
}
.gantt-container .default .gantt_task_progress {
    background: #23964d;
}

.gantt-container .baixa {
    border: 1px solid #ddd;
    background: #f5f5f5;
}
.gantt-container .baixa .gantt_task_content {
    color: #333;
    padding: 0 5px;
}
.gantt-container .baixa .gantt_task_progress {
    background: #a5a5a5;
}
.gantt-container .baixa.gantt_task_line.gantt_selected {
    box-shadow: 0 0 5px #999;
}

.gantt-container .normal {
    border: 1px solid #bce8f1;
    background: #d9edf7;
}
.gantt-container .normal .gantt_task_content {
    color: #31708f;
    padding: 0 5px;
}
.gantt-container .normal .gantt_task_progress {
    background: #6ba8e3;
}
.gantt-container .normal.gantt_task_line.gantt_selected {
    box-shadow: 0 0 5px #6ba8e3;
}

.gantt-container .alta {
    border: 1px solid #faebcc;
    background: #fcf8e3;
}
.gantt-container .alta .gantt_task_content {
    color: #8a6d3b;
    padding: 0 5px;
}
.gantt-container .alta .gantt_task_progress {
    background: #d8d0a6;
}
.gantt-container .alta.gantt_task_line.gantt_selected {
    box-shadow: 0 0 5px #8a6d3b;
}
.gantt-container .critica {
    border: 1px solid #ebccd1;
    background: #f2dede;
}
.gantt-container .critica .gantt_task_content {
    color: #a94442;
    padding: 0 5px;
}
.gantt-container .critica .gantt_task_progress {
    background: #ffc5c5;
}
.gantt-container .critica.gantt_task_line.gantt_selected {
    box-shadow: 0 0 5px #a7767e;
}

/* ***************************
    22 - ASIDE
*************************** */
.treeview-menu > li > a > .fa,
.treeview-menu > li > a > .glyphicon,
.treeview-menu > li > a > .ion {
    margin-left: 10px;
}

/* ***************************
    23 - CUSTOM SCROLL
*************************** */
/* custom scrollbar */
/* .custom-scroll::-webkit-scrollbar {
    width: 20px;
}

.custom-scroll::-webkit-scrollbar-track {
    background-color: transparent;
}

.custom-scroll::-webkit-scrollbar-thumb {
    background-color: #d6dee1;
    border-radius: 20px;
    border: 6px solid transparent;
    background-clip: content-box;
}

.custom-scroll::-webkit-scrollbar-thumb:hover {
    background-color: #a8bbbf;
} */

/* ***************************
    24 - DATATABLES
*************************** */
div.dataTables_wrapper div.dataTables_filter {
    text-align: left;
}