.overlay {
    display: block;
}

.menu .droplink .sub-menu {
    display: none;
}

.modal-content h2 {
    padding: 0;
    margin: 0;
    margin-bottom: 20px;
}

/** Formulários **/
.obrigatorio label {
    color: red;
}

.select2 {
    width: 100% !important;
}

.select2-container--disabled .select2-selection {
    background-color: #eee !important;
    cursor: not-allowed !important;
}

textarea.obrigatorio, input.obrigatorio, select.obrigatorio, .select2-container.obrigatorio .select2-selection {
    border-color: #e67679 !important;
}

.tab-content {
    background: transparent;
    border: 1px solid #ddd;
    border-top: 0;
    padding-bottom: 0;
}

.nav-tabs > li.active > a {
    background: transparent;
}

textarea {
    height: 100px !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
}

label {
    width: 100% !important;
    font-weight: bold;
}

/** Tabelas **/
table.dataTable thead th, table.dataTable thead td, table.dataTable.no-footer {
    border-bottom: 0;
}

table td, table th {
    vertical-align: middle !important;
}

table.dataTable thead .sorting, table.dataTable thead .sorting_asc {
    background-position-x: right;
    background-position-y: 20px;
}

.table-bordered {
    border-right-width: 1px;
    border-left-width: 0;
}

.table-bordered>tbody>tr>td, .table-bordered>thead>tr>td, .table-bordered>thead>tr>th {
    border-right: 0;
    border-left-width: 1px;
}

.vermelho {
    color: red;
}

.fc-day-grid-event.vermelho {
    background-color: red;
    color: white;
}

.fc-day-grid-event.verde {
    color: white;
}

.verde {
    color: green;
    padding-left: 20px;
}

.laranja {
    color: orange;
}

/** Itens fixos **/
.page-title, #acao, .topmenu-outer {
    position: fixed;
    z-index: 999;
    right: 0;
    left: 160px;
}

.menu .droplink .sub-menu {
    z-index: 9999;
}

.topmenu-outer {
    top: 0;
    left: 0;
    right: 0;
}

.page-title {
    top: 60px;
}

#acao {
    top: 130px;
}

#main-wrapper {
    margin-top: 160px;
}

body.sem-acao #main-wrapper {
    margin-top: 90px;
}

body.small-sidebar #acao, body.small-sidebar .page-title {
    left: 65px !important;
}

.small-sidebar:not(.page-sidebar-fixed) .accordion-menu > li > ul {
    top: 0 !important;
}

/** Calendário **/
.datepicker-days table tbody tr td:first-child, .datepicker-days table tbody tr td:last-child {
    background: #EEEEEE;
}

.datepicker-days table td.today {
    background: #cecece !important;
}

.datepicker-days table td.active {
    background: #e53338 !important;
}

.sortable-pai > div {
    float: left;
    position: relative;
}

.excluir {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -16px;
    margin-left: -33px;
}

.ui-sortable-handle:hover .excluir {
    display: block;
}

.note-editing-area p {
    font-size: 15px;
    line-height: 30px;
}

.radio-inline {
    display: inline-block !important;
    width: auto !important;
}

.cinza {
    color: #8c8c8c;
}

.bg-vermelho {
    background-color: red !important;
    color: white;
}

.status {
    font-size: 11pt;
    padding: 8px 16px;
    font-weight: 400;
    vertical-align: middle;
    height: 32px;
    border-radius: 0px;
    display: inline-block;
}

.btn-label {
    padding: 8px 16px;
}

.exibe_laudo {
    cursor: pointer;
}

.exibe_laudo small {
    color: darkblue;
}

.fc-event.verde {
    background-color: rgb(34, 186, 160);
    border: 1px solid rgb(34, 186, 160)
}

.fc-event.vermelho {
    border: 1px solid red
}

.fc-day-grid-event {
    padding: 5px !important;
}

@media (max-width: 767px) {
    body.small-sidebar #acao, body.small-sidebar .page-title, .page-title, #acao {
        left: 0px !important;
    }

    body.marginMaior #main-wrapper {
        margin-top: 160px;
    }

    body.marginMaior285 #main-wrapper {
        margin-top: 285px;
    }

    #acao .col-xs-12 {
        margin-bottom: 5px;
    }

    .text-center-xs {
        text-align: center;
        float: unset !important;
    }

    body.marginMaior200 #main-wrapper {
        margin-top: 200px;
    }

    body.marginMaior225 #main-wrapper {
        margin-top: 225px;
    }

    .fc-toolbar{
        display: block !important;
        text-align: center !important;
    }
    .fc-toolbar .fc-left {
        margin-top: 10px !important;
    }

    .fc-toolbar .fc-center {
        margin-top: 5px!important;
        margin-bottom: 5px!important;
    }
}

.modal-dialog {
    max-height: 90vh;
    overflow-y: auto;
}
