/* AdminLTE override rules */
.skin-blue .main-header .navbar,
.skin-blue .main-header.navbar {
  background-color: rgba(36, 67, 122, 0.9) !important;
}
.skin-blue .main-header li.user-header {
  background-color: rgba(36, 67, 122, 0.9);
}

.employee-profile.widget-user .box-footer {
  padding-top: 40px;
  padding-bottom: 20px;
}

.employee-week .info-box {
  min-height: 30px;
}

.employee-week .info-box-icon {
  height: 55px;
  font-size: 30px;
  line-height: 55px;
}

.mt-10 {
  margin-top: 10px !important;
}
.mb-0 {
  margin-bottom: 0px !important;
}

.input-group-fullwidth > div.input-group {
  width: 100%;
}

.input-mandatory,
select.input-mandatory + span.select2 .select2-selection {
  border-left: 1.5px solid #ffc107 !important;
}

.cr.input-mandatory {
  border-left: 1.5px solid #ffc107 !important;
  margin-left: -1.5px !important;
}

.input-mandatory.is-invalid,
select.input-mandatory.is-invalid + span.select2 .select2-selection {
  border-left: 1.5px solid red !important;
}

.cr.input-mandatory.is-invalid {
  border-left: 1.5px solid red !important;
  margin-left: -1.5px !important;
}

/* Label size */
.lb-sm {
  font-size: 12px;
}

.lb-md {
  font-size: 16px;
}

.lb-lg {
  font-size: 20px;
}

/* Zones */
.Z1-arr {
  background-color: #9960bc;
}
.Z1-dep {
  background-color: #9960bc;
}
.Z2-arr {
  background-color: #79bc60;
}
.Z2-dep {
  background-color: #76bc60;
}
.Z3-arr {
  background-color: #60bcbc;
}
.Z3-dep {
  background-color: #60bcbc;
}
.Z4-arr {
  background-color: #608bbc;
}
.Z4-dep {
  background-color: #608bbc;
}
.Z5-arr {
  background-color: #bcb860;
}
.Z5-dep {
  background-color: #bcb860;
}
.Z6-arr {
  background-color: #bc6060;
}
.Z6-dep {
  background-color: #bc6060;
}
.Zn-arr {
  background-color: #bcbcbc;
}
.Zn-dep {
  background-color: #bcbcbc;
}

/* Modal */
.modal-body {
  background-color: #f4f4f4;
}

/* Hr scheduled shift */
.event_SHIFT.event_CO {
  background-color: #00c0ef;
  border-color: #00acd6;
  color: white;
}
.event_SHIFT.event_AG {
  background-color: #f39c12;
  border-color: #e08e0b;
  color: white;
}
.event_SHIFT.event_PN {
  background-color: #00a65a;
  border-color: #008d4c;
  color: white;
}
.event_SHIFT.event_SM {
  background-color: #337ab7;
  border-color: #008d4c;
  color: white;
}

.span-label-error {
  color: red;
  font-weight: bold;
}

.event_SHIFT {
  background-color: #337ab7;
  color: white;
}
.event_CLOCK {
  background-color: #33b769;
  color: white;
}

.event_BREAK {
  background-color: #f39c12;
  color: white;
}

.event_ABSENTEEISM {
  background-color: #dd4b39;
  color: white;
}

.event_HOLIDAYS {
  background-color: #39cccc;
  color: white;
}
.event_HOLIDAY.REQUEST {
  background-color: #89b7b7;
  color: white;
}

.photobooth {
  margin: 0 auto;
}
.photobooth ul {
  display: none;
}

table.dataTable,
div.dataTables_scrollHeadInner {
  width: 100% !important;
}
.dataTables_scrollBody {
  overflow-x: hidden !important;
}

/* High light dropable row on tables */
.highlight_droppable {
  background-color: #b2bec4 !important;
}
.row-noasign {
  color: #000;
}
.row-asign {
  background-color: #bcecbc !important;
}
/* Narrow and wide body background */
.bg-narrowbody {
  background-color: #30bbbb !important;
  color: white !important;
}
.bg-widebody {
  background-color: #7d1128 !important;
  color: white !important;
}
.bg-narrowbody.panel-heading .btn-box-tool,
.bg-widebody.panel-heading .btn-box-tool {
  color: white !important;
}
/*Helper F1 Ayuda*/
.row#info-help {
  position: absolute;
  bottom: 0;
  left: 15px;
  z-index: 1000;
  width: 100%;
  margin-bottom: 60px;
}

.contentAccreditationsIcons {
  margin: 0px auto;
}

/* DATA TABLES ******************/

.dataTables_scrollHeadInner,
.dataTables_scrollHeadInner table {
  width: 100% !important;
}

.contentAccreditationsIcons .fa-layers-counter {
  font-size: 44px;
  font-weight: bold;
  right: -3px;
  top: -7px;
  background-color: #337ab7;
}

.contentAccreditationsIcons .fa-layers,
.contentAccreditationsIcons .no-counter {
  margin-left: 5px;
  margin-right: 5px;
}

.contentAccreditationsIcons .no-counter {
  width: 1.25em;
  display: inline-block;
  height: 1em;
  vertical-align: -0.125em;
}

.bg-gtds {
  background-color: #375486;
  color: white;
}

.label-docman {
  font-size: 1em;
}

.label-docman svg {
  margin-right: 5px;
}

.dataTables_scrollHeadInner {
  width: unset !important;
}

/* Custom checkbox icon */
.checkbox .cr .cr-icon,
.radio .cr .cr-icon {
  top: 45%;
}

/* GHDS_CARD ******************************************/

.card-tools.custom-card-tools {
  top: 0.25rem;
}

/********** FULL CALENDAR ******************/
/* AdminLTE override rules */

#calendar_div table.dataTable tbody td {
  padding: 0px;
  line-height: 0px;
  border: none;
  border-bottom: 1px solid #ddd;
  border-left: 0.5px solid #ddd;
  width: 189.5px;
}

#calendar_div table.dataTable tbody td:nth-child(2) {
  border-left: none;
}

#calendar_div table.dataTable {
  height: 1px;
}

.input-group.td-event-calendar {
  width: 100%;
  float: left;
  height: 28px;
  border-collapse: unset;
}

.over-drag.input-group.td-event-calendar .input-group-btn.event_draggable {
  background-color: #b1bcd0 !important;
}

.input-group.td-event-calendar.empty-field {
  width: calc(100% - 2px);
  float: left;
  border-collapse: unset;
  min-height: 27px;
  background-color: transparent;
  border: 1px dashed gray;
  margin-top: 1px;
  margin-left: 1px;
  margin-right: 1px;
  cursor: default;
}

.over-drag.input-group.td-event-calendar.empty-field {
  background-color: #b1bcd0;
  border: 1px dashed #375486;
}

.input-group.td-event-calendar.empty-field span.txt,
.input-group.td-event-calendar.empty-field span.add {
  height: 25px;
  display: none;
  font-size: 10.5px;
  color: gray;
  position: relative;
  cursor: pointer;
}

.input-group.td-event-calendar.empty-field span.add {
  display: inline-block;
}

.input-group.td-event-calendar:nth-last-child(2) {
  margin-bottom: 30px;
}

.input-group.td-event-calendar.td-not-editable:nth-last-child(2),
.input-group.td-event-calendar.pill:nth-last-child(2) {
  margin-bottom: 0px;
}

.input-group.td-event-calendar .input-group-btn {
  width: calc(100% - 2px);
  display: inline-block;
  height: 27px;
  border-radius: 3px;
  margin-top: 1px;
}

.input-group.td-event-calendar .event-type {
  width: 30px;
  border: 0px;
  height: 100%;
  line-height: 27px;
  margin: 0px;
  background-color: transparent;
  color: white;
  text-align: center;
  float: left;
  padding: 0px;
}

.input-group.td-event-calendar .event-type.btn-default.event_SM {
  background-color: #b3b3b3;
}

.input-group.td-event-calendar .event-interval {
  width: calc(100% - 70px);
  float: left;
  border: 0px;
  height: 100%;
  line-height: 17px;
  margin: 0px;
  background: transparent;
  color: white;
  padding: 5px;
}

#edit_employee_shifts_layer {
  height: 100% !important;
}

.btn-delete-turn,
.btn-delete-holiday-request,
.btn-edit-turn {
  height: 100% !important;
  width: auto;
  padding: 0px !important;
  background: transparent;
  border: none;
  margin-right: 5px !important;
  cursor: pointer;
}

.btn-turn-calendar-content {
  height: 100%;
  width: 40px;
}

.btn-turn-calendar-content .btn {
  display: none;
}

.td-event-calendar .input-group-btn:hover .btn-turn-calendar-content .btn {
  display: inline-block;
  color: white;
}

.calendar-scroll-content {
  overflow-y: auto;
  height: calc(100vh - 315px);
  padding-right: 5px !important;
}

#tab-calendar .box {
  border-top: none;
}

.calendarTabContentTitle {
  float: left;
  font-size: 24px;
  font-weight: 500;
}

.calendarTabContent {
  display: inline-block;
  margin-left: 15px;
  margin-top: 3px;
}

/*PLUGIN BarRating*/
.br-theme-bars-movie .br-widget a {
  height: 30px;
  background-color: #dcc894;
}
.br-theme-bars-movie .br-widget a.br-active,
.br-theme-bars-movie .br-widget a.br-selected {
  background-color: #b38614;
}
.br-theme-bars-movie .br-widget .br-current-rating {
  color: #312506;
}

/*Fuel Level Custom Style*/
#edit_val_survey .br-theme-bars-movie .br-widget a {
  width: 50px;
}
.fc-row.fc-rigid .fc-content-skeleton {
  z-index: 0;
}

.fc-event-link {
  margin: 0px;
}

.fc-event-content {
  padding: 5px;
}

/********** GENERIC STYLES AND UTILS ******************/

/* MARGINS */
.mr-5 {
  margin-right: 5px;
}

.mr-10 {
  margin-right: 10px;
}

.ml-5 {
  margin-left: 5px;
}

.mb-10 {
  margin-bottom: 10px;
}

.mb-15 {
  margin-bottom: 10px;
}

/* DISPLAY */
.display-ib {
  display: inline-block;
}

/******************************************************/
.event_turn {
  display: inline-block;
  margin-left: 10px;
  min-width: 160px;
  text-align: center;
}

.event_turn:first-child {
  margin-left: 0px;
}

.content-childrens-event {
  display: inline-block;
}

.content-childrens-event div {
  display: inline-block;
  border-left: 1px solid white;
  margin-left: 5px;
  padding-left: 5px;
}

.scroll-content {
  overflow-y: auto;
  height: calc(100vh - 197px);
  padding-right: 5px;
}

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

.fc-unthemed td.fc-today {
  background: transparent;
}

.fc .fc-row .fc-content-skeleton td.fc-today {
  background-color: #fcf8e3;
}

.fc .fc-row .fc-content-skeleton td.fc-today .fc-day-number {
  font-weight: bold;
}

.table-employees-icon-size {
  width: 24px;
  height: 24px;
  padding-top: 5px;
  display: inline-block;
}

#filters_actuals .panel {
  border-radius: 0px;
}

.employee-content {
  display: inline-block;
  width: 100%;
  height: 100%;
  background-color: #f4f4f4;
  border-right: 1px solid #ffffff;
}

.employee-content div,
.employee-content button {
  display: inline-block;
  height: 100%;
  border: 0px;
  border-radius: 0px;
}

.employee-content .btn {
  width: 40px;
  height: 100%;
  display: inline-block;
}

.employee-content .employee-name:before {
  content: "";
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  margin-right: -0.25em; /* Adjusts for spacing */
}

.employee-content .employee-name strong,
.employee-content .employee-name em {
  display: inline-block;
  vertical-align: middle;
}

.employee-content .employee-name {
  height: 100%;
  display: inline-block;
  width: 260.5px !important;
}

.employee-content .employee-badge {
  height: 100%;
  display: inline-block;
}

.employee-content .employee-badge .badge {
  height: 25px;
  display: inline-block;
  width: calc(100% - 2px);
  line-height: 18px;
  border-radius: 3px;
  margin-top: 1px;
  background-color: #a9a7a7;
}

.employee-content .employee-badge .badge.badge-danger {
  background-color: #d9534f;
}

.employee-content .employee-badge .badge .fa-hourglass {
  margin-left: 5px;
}

.add-event-cell {
  height: 28px;
  position: absolute;
  width: 100%;
  bottom: 0px;
}

.btn-add-shift-cell {
  height: 28px;
  line-height: 1;
  width: 100%;
  background-color: #eaeaea;
  border-radius: 0px;
}

.btn-add-shift-cell .txt-btn {
  display: none;
}

.btn-add-shift-cell:hover {
  background-color: #dad9d9;
}

.btn-add-shift-cell:hover .txt-btn {
  display: inline-block;
}

.btn-add-shift-cell:hover svg {
  display: none;
}

.add-event-cell.actuals-shift {
  height: auto;
  z-index: 1;
}

.add-event-cell.actuals-shift .form-add-event-cell {
  height: 57px;
  border: 1px solid #8fa3b5;
  background: #abc0d2;
  border-radius: 4px;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
}

.form-add-event-cell {
  width: calc(100% + 2px);
  min-height: 28px;
  background-color: white;
  position: absolute;
  bottom: -1px;
  left: -1px;
  border: 1px solid #c7c7c7;
}

.form-add-event-cell input.form-control {
  width: 67.5px !important;
  height: 25px;
  padding: 0px 5px;
  margin-right: 2px;
}

.actuals-shift .form-add-event-cell input.form-control:first-child {
  margin-right: 2px;
}

.actuals-shift .form-add-event-cell input.form-control {
  width: calc(50% - 2px) !important;
}

.form-add-event-cell select.form-control {
  height: 25px;
  float: left;
}

.form-add-event-cell .btn {
  width: 24px;
  height: 24px;
  line-height: 1;
  padding: 4px;
  top: 0px;
  margin-top: -2px;
  margin-left: 1px;
}

.form-add-event-cell .btn:last-child {
  margin-left: 0px;
}

.form-add-event-cell .form-add-event-cell-row {
  width: 100%;
  height: 24px;
  line-height: 25px;
  float: left;
  margin: 1px;
  position: absolute;
  bottom: 2px;
}

.form-add-event-cell
  .form-add-event-cell-row
  .select2-container--bootstrap
  .select2-selection--single {
  height: 25px;
  line-height: 1;
  padding: 2px 24px 2px 12px;
}

.form-add-event-cell .form-add-event-cell-row:first-child {
  bottom: 29px;
}

.nav-tabs-custom > .nav-tabs > li.active {
  border-top-color: #375486;
}

.nav-tabs-custom > .nav-tabs > li.active > a,
.nav-tabs-custom > .nav-tabs > li.active:hover > a {
  color: #375486;
}

.box.box-primary {
  border-top-color: #375486;
}

.skin-blue .wrapper,
.skin-blue .main-sidebar,
.skin-blue .left-side {
  background-color: #ecf0f5;
}

.skin-blue .wrapper {
  overflow-y: hidden;
}

.fixed .content-wrapper {
  overflow-y: auto;
}

/* Use of \n on Tooltips */
body .ui-tooltip {
  white-space: pre-line;
}

.h-100vh {
  height: 100vh;
}

.h-20 {
  height: 20% !important;
}

.h-30 {
  height: 30% !important;
}

.h-40 {
  height: 40% !important;
}

.h-60 {
  height: 60% !important;
}

.h-70 {
  height: 70% !important;
}

.h-80 {
  height: 80% !important;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-start {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.flex-end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/**** Altura del modal employee ****/
.employee-modal-edit {
  height: 753px !important;
}

.employee-modal-edit-middle {
  max-height: 376px !important;
}

/**** Fechas que expiran ****/
.date-expired {
  background-color: rgb(220, 53, 69);
  color: white;
  font-weight: bold;
}

/* Anchos de las columnas datatables (employees:subida documentos),
  por defecto indica width=0px hay que forzarlo, deja igual filas y cabecera*/
.dt_w5 {
  width: 5% !important;
}
.dt_w15 {
  width: 15% !important;
}
.dt_w10 {
  width: 10% !important;
}
.dt_w25 {
  width: 25% !important;
}

/* Color de AereoJetWay*/
.bg-ajw {
  background-color: #0061a3;
}

/* Control de anchura de modal para desktop y movil*/
.modal-w-40 {
  margin: 0 auto;
  width: auto;
  max-width: 50%;
  min-width: 360px;
}

/* Control del scroll al ser el formulario más alto que el area de contenido del modal */
#modal_report_body {
  overflow-y: auto;
}

.report_select_yesno {
  width: 70px !important;
}

/* Vista mobile handling flights: Modal report */
@media (max-width: 900px) {
  .modal-w-40 {
    margin: 0 auto;
    width: auto;
    max-width: none !important;
    min-width: 360px;
  }

  .float-right {
    float: left !important;
  }
}

.page-counters {
  float: left;
  height: 40px;
  line-height: 40px;
  padding-right: 10px;
  font-weight: bold;
}
