body {
    padding-top: 50px;
    background-color: #254969;
    margin-bottom: 30px;
}

body.print {
    padding-top: 0px;
    background-color: #ffffff;
}

#content {
    margin-top: 50px;
}

#content.print {
    margin-top: 0px;
}

th.sticky-table-header {
    position: sticky;
    top: 58px;
    z-index: 10;
}

.disabled {
    pointer-events: none;
    cursor: default;
}

.past-day {
    cursor: pointer;
}

.text-striked {
    text-decoration: line-through;
}

.btn-warning, .btn-warning:hover, .btn-warning:active {
    color: #ffffff !important;
}

.sortable-list tbody tr {
    cursor: grab;
}

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

.verticalThead {
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
}

.verticalThead div {
    writing-mode: vertical-lr;
    transform: rotate(-180deg);
}

th.verticalThead {
    vertical-align: middle;   
}

.hidden {
    display: none !important;
}

.popover {
    max-width: 100%;
}

.tooltip-inner {
    white-space: nowrap;
    max-width: none;
}

.droppable-accept-hover {
    background: rgba(212, 247, 229, 0.5) !important;
}

.dashboard-planning.table td, .dashboard-planning.table th {
    padding-top: 1px;
    padding-bottom: 1px;
}

.table-bg-red {
    background-color: #9b1828;
}

.table-bg-fuschia {
    background-color: #b22d6e;
}

.table-bg-orange {
    background-color: #c1521a;
}

.table-bg-grey-hashed {
    background: repeating-linear-gradient(
            130deg,
            #dee2e6,
            #dee2e6 10px,
            #c8ccce 10px,
            #c8ccce 20px
    );
}

.table-bg-grey-thin-hashed {
    background: repeating-linear-gradient(
            130deg,
            #dee2e6,
            #dee2e6 4px,
            #c8ccce 6px,
            #c8ccce 6px
    );
}

.table-bg-white-hashed {
    background: repeating-linear-gradient(
            130deg,
            #ffffff,
            #ffffff 10px,
            #dee2e6 10px,
            #dee2e6 20px
    );
}

.table-bg-white-thin-hashed {
    background: repeating-linear-gradient(
            130deg,
            #ffffff,
            #ffffff 4px,
            #dee2e6 6px,
            #dee2e6 6px
    );
}

/* Absences */
.table-absence th, .table-absence td {
    padding: 0px;
}

.table-absence th {
    text-align: left;
}

.table-absence td {
    text-align: right;
}

.table-absence {
    margin: 0 0 5px 0;
}

/* FullCalendar */
.fc-header-toolbar h2, .fc-day-header {
    text-transform: capitalize;
}

.fc-scroller {
    overflow: hidden !important;
}

.fc-widget-content {
    cursor: pointer;
}

.fc-event {
    line-height: 2.1 !important;
}

/* Planning */
.planning-bg-green {
    background: #d4f7e5;
}

.planning-bg-yellow {
    background: #f7ecd4;
}

.planning-bg-red {
    background: #f7d2d9;
}

.planning-bg-grey {
    background: #e9ecef;
}

.planning-hover {
    background: #fcf8e3;
}

.card:not(.pdf):not(.daily) .table-planning th, .card:not(.pdf):not(.daily) .table-planning td {
    padding: 2px;
    font-size: 8px;
}

.pdf .table-planning th, .pdf .table-planning td, .pdf .card-header h6, .pdf .card-body {
    padding: 2px;
    font-size: 12px;
}

.daily .table-planning th, .daily .table-planning td, .daily .card-header h6, .daily .card-body {
    padding: 4px;
    font-size: 12px;
}

.table-planning {
    padding-right: 0px;
    margin-right: 0px;
}

.btn-group-xs > .btn, .btn-xs {
    padding  : .25rem .4rem;
    font-size  : .875rem;
    line-height  : .5;
    border-radius : .2rem;
}

.tab-content>.planning-tab.active {
    display: flex;
}

.anesthetists-list, .iades-list, .duties-list {
    padding: 0px !important;
}

.anesthetists-list ul, .iades-list ul, .duties-list ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.anesthetists-list ul li, .iades-list ul li, .duties-list ul li {
    padding: 2px;
}

.shift-actions {
    cursor: pointer;
}

.shift-actions:hover {
    background: rgba(0,0,0,.05);
}

.closed-room {
    background-color: #dee2e6 !important;
}

.surgeon.absent {
    text-decoration: line-through;
    background-color: #dee2e6 !important;
}

.surgeon.substitute {
    background-color: rgba(255, 193, 7, 0.5) !important;
    font-style: italic;
}

.anesthetist.exchanged, .anesthetistOff.exchanged, .consultation.exchanged, .duty.exchanged {
    background-color: rgba(23, 162, 184, 0.5);
    color: #ffffff;
}

.anesthetist.substitute, .anesthetistOff.substitute, .duty.substitute, .absenceCa.substitute, .consultation.substitute, .ca.substitute {
    background-color: rgba(255, 193, 7, 0.5) !important;
    font-style: italic;
}

.csEmpty {
    background-color: rgba(220, 53, 69, 0.5);
}

.table-planning thead.sticky-thead tr:first-child th {
    position: sticky;
    top: 60px;
    z-index: 10;
}

.table-planning thead.sticky-thead tr:first-child+tr th {
    position: sticky;
    top: 76px;
    z-index: 10;
}

.select2.select2-container {
    min-width: 130px;
}

.surgeonShift + .surgeonShift {
    border-top: 2px #dee2e6 dashed !important;
}

.confirmation-content {
    margin: 0px;
    margin-top: -8px;
}

.add-contractor, .add-substitute {
    display: none;
}

.editable-day .add-contractor, .editable-day .add-substitute {
    display: block;
    color: #ffffff;
    cursor: pointer;
}

.editable-day .iades-list:hover .add-contractor {
    color: #28a745;
}

.editable-day .anesthetists-list:hover .add-substitute {
    color: #dc354580;
}

.iade.contractor {
    color: #28a745;
}

.editShift {
    cursor: pointer;
}

.card.planning-info .card-header, .card.planning-info .card-body {
    padding: 2px;
    min-width: 150px;
}

.planning-table-informations {
    background: none;
    margin: 0px;
    padding: 0px;
    width: 100%;
    border: 0px;
}

.planning-table-informations tr, .planning-table-informations td{
    border: 0px;
}

.pdf .row {
    display: -webkit-box;
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.vpaList ul {
    margin: 0px;
    padding: 0px;
    list-style-type: none;
}
.vpaList ul li {
    padding-left: 0px;
}
/* sortable */
a.sortable, a.sortable:hover, a.asc, a.asc:hover, a.desc, a.desc:hover {
    text-decoration: none;
}

a.sortable:before {
    font-family: FontAwesome;
    content: "\f0dc\00a0";
}

a.asc:before {
    font-family: FontAwesome;
    content: "\f0de\00a0";
}

a.desc:before {
    font-family: FontAwesome;
    content: "\f0dd\00a0";
}

/* Clickable row */
.clickable-row {
    cursor: pointer !important;
}

tr.clickable-row td a, tr.clickable-row td a:hover,  tr.clickable-row td a:visited {
    color: #656d78;
    display:block;
    width:100%;
    text-decoration: none;
}

/* Pagination */
.panel .panel-footer ul.pagination {
    margin: -5px;
}

/* Panel heading buttons */
.panel .panel-heading .btn-sm {
    margin: -5px;
}

/* File upload button */
.form-control-upload {
    padding: 0px;
}

.input-file {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.input-file + label {
    width: 100%;
    height: 100%;
    display: inline-block;
    cursor: pointer;
    padding: 0.4375rem 0.75rem;
    line-height: 1.5;
    font-size: 0.8125rem;
    font-weight: 300;
    margin-bottom: 0px;
}

.input-file + label:hover {
    background-color: #f5f6f7;
}

/* Card */
.card table {
    margin-bottom: 0px;
}

/* Modal */

.modal-content.info .modal-header{
    background-color: #17a2b8!important;
    color: #ffffff;
}


.modal-content.success .modal-header{
    background-color: #28a745!important;
    color: #ffffff;
}

.modal-content.warning .modal-header{
    background-color: #ffc107!important;
    color: #ffffff;
}


.modal-content.danger .modal-header{
    background-color: #dc3545!important;
    color: #ffffff;
}

/* Jquery UI Autocomplete */
.ui-autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    list-style: none;
    font-size: 14px;
    text-align: left;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    background-clip: padding-box;
}

.ui-autocomplete > li > div {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: normal;
    line-height: 1.42857143;
    color: #333333;
    white-space: nowrap;
}

.ui-state-hover,
.ui-state-active,
.ui-state-focus {
    text-decoration: none;
    color: #262626;
    background-color: #f5f5f5;
    cursor: pointer;
}

.ui-helper-hidden-accessible {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.spinner {
    background: url("../img/spinner.gif") no-repeat scroll right center !important;
}

.form-control.has-warning {
    border-color: #ffc107;
}

.form-control.has-success {
    border-color: #00c851;
}