.cat_primary ul, .cat_state ul {
    background-color: #f8f8f8;
    padding: 0;
}

.cat_primary li, .cat_state li {
    list-style: none;
    padding: 7px 15px;
    margin: 0;
    border-bottom: 1px solid #eaeaea;
    cursor: pointer;
    position: relative;
}

.cat_primary li.current, .cat_primary li.current:hover,
.cat_state li.current, .cat_state li.current:hover {
    background-color: #50b4a1;
    color: white !important;
}

.cat_primary > lin .cat_state > li {
    padding:10px;
    border-bottom: 1px solid #eaeaea;
    cursor: pointer;
}

.cat_primary li:hover, .cat_state li:hover {
    background-color: #f5f5f5;
}

.tab_panel {
    padding: 10px;
}

.tab_panel .lines {
    color: #7e7e7e;
    font-weight: 300;
    border-bottom: 1px solid #eaeaea;
    padding: 15px;
}

.tab_panel .lines:last-child {
    border: none;
    padding-bottom: 0;
}

.tab_panel .lines:first-child {
    padding-top: 0;
}

.card-header {
    cursor: pointer;
}

.panel_planning > .row {
    border-top: 0px solid #cccccc;
}

.panel_planning > .row > div {
    border-top: 1px solid #e1e1e1;
    border-left: 1px solid #e1e1e1;
    padding-top: 5px;
    padding-left: 5px;
    height: 120px;
}

.panel_planning > .row > div > span {
    cursor: pointer;
}

.panel_planning > .row > div.disabled {
    background-color: #f1f1f1;
}

.panel_planning > .row > div:last-child {
    border-right: 1px solid #e1e1e1;
}
.panel_planning > .row:last-child {
    border-bottom: 1px solid #e1e1e1;
}

.panel_planning div.subcontent {
    height: inherit;
    background: inherit;
    background-color: #FBFBFC;

    -moz-box-shadow: inset 0px -5px 10px -5px #656565;
    -webkit-box-shadow: inset 0px -5px 10px -5px #656565;
    -o-box-shadow: inset 0px -5px 10px -5px #656565;
    box-shadow: inset 0px -5px 10px -5px #656565;
    filter:progid:DXImageTransform.Microsoft.Shadow(color=#656565, Direction=90, Strength=10);
}

.panel_planning div.subcontent > div {
    height: inherit;
    background: inherit;
}

.panel_planning .subcontent {
    padding: 0 0 15px 0 !important;
}

.panel_planning .subtitle {
    background-color: #50b4a1 !important;
    color: #FFFFFF;
    padding: 15px;

    -moz-box-shadow: inset 0px 5px 10px -5px #656565;
    -webkit-box-shadow: inset 0px 5px 10px -5px #656565;
    -o-box-shadow: inset 0px 5px 10px -5px #656565;
    box-shadow: inset 0px 5px 10px -5px #656565;
    filter:progid:DXImageTransform.Microsoft.Shadow(color=#656565, Direction=180, Strength=10);
}

.btn {
    cursor: pointer;
}

.right > .input-group {
    width: 130px;
    float: left;
}

.modal-footer .input-group {
    width: 120px;
}

.dropdown-menu .form-check-label {
    white-space: nowrap;
}

.dropdown-menu .form-check-label small {
    color: #999;
    font-weight: 300;
    white-space: initial;
}

.dropdown-menu label {
    margin-bottom: 8px;
}

.dropdown-menu label:last-child {
    margin-bottom: 0;
}

.dropdown-menu .form-check-input {
    margin-right: 5px;
}

#filters {
    position: absolute;
    right: 15px;
}

.badge_num {
    position: absolute;
    right: 0px;
    border-left: 1px solid #eaeaea;
    top: 0px;
    bottom: 0px;
    width: 30px;
    text-align: center;
    padding-top: 10px;
}

.ui-datepicker {
    z-index: 9999 !important;
}

.td_select {
    cursor: pointer;
}

.td_select.active {
    background-color: #fa7e5b !important;
    font-weight: bold;
    color: white;
}

.new_task td {
    padding: .50rem;
}

.delete_task {
    cursor: pointer;
}

.all_cat, #all_states {
    border-bottom: 2px solid #eaeaea !important;
}

.fc-event.state-0 {
    background-color: #666 !important;
    border: 1px solid #666 !important;
}
.fc-event.state-1 {
    background-color: #ffba37 !important;
    border: 1px solid #ffba37 !important;
}
.fc-event.state-2 {
    background-color: #28a745 !important;
    border: 1px solid #28a745 !important;
}

.fc-event.late {
    background-color: #d62425 !important;
    border: 1px solid #d62425 !important;
}