html {
  --tabulator-bg-color: #485665;
  --tabulator-header-color: white;

  --context-menu-background-color: #29384c;
  --context-menu-color: white;

  --context-menu-item-border-color: #3fa1af36;
  --context-menu-item-background-color: #29384c;
  --context-menu-item-color: white;

  --context-menu-icon-color: white;

  --context-menu-item-hover-color: #29384c;
}

.ghds-navbar-menu .dropdown-menu .dropdown-item {
  color: #000 !important;
}

.invoiced.odd {
  background-color: #a1cca5 !important;
}
.invoiced.even {
  background-color: #8fb996 !important;
}

.cancelled.odd {
  background-color: #ffa4a4 !important;
}
.cancelled.even {
  background-color: #ffd6d6 !important;
}

.delete_vip {
  background-color: #ffd6d6 !important;
}
.cancel_vip {
  background-color: #fcc6ae !important;
}
.lmcnx_vip {
  background-color: #aef9fc !important;
}
.report_vip {
  background-color: #fcfbae !important;
}

.cancelled_odd {
  background-color: #ffa4a4 !important;
}
.cancelled_even {
  background-color: #ffd6d6 !important;
}
.brand-image {
  padding: 3px;
  background: white;
}

/* LOGIN PAGE */
.h-100vh {
  height: 100vh;
}

body.login-page-background .content-wrapper::before {
  background-image: url("/images/cargo-eurotransmex-background.jpg") !important;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-blend-mode: luminosity;
  background-color: gray;
  content: " ";
  width: 100vw;
  height: 100vh;
  position: absolute;
  z-index: -1;
  opacity: 0.6;
  filter: blur(1px);
  top: 0px;
}

body.login-page-background .wrapper .content-wrapper {
  overflow-x: hidden;
}

body.login-page-background .main-footer {
  background: #000000ab;
}

.login-box,
.register-box {
  width: 380px;
}

body.login-page-background .login-card-body .input-group .input-group-text,
body.login-page-background .register-card-body .input-group .input-group-text {
  color: white;
}

body.login-page-background .btn-primary {
  background-color: #13568c;
  border-color: #115286 !important;
}

body.login-page-background .btn-primary:hover {
  background-color: #13131a;
  border-color: #13131a;
}

body.login-page-background .btn-primary:active {
  background-color: #223768 !important;
  border-color: #223768 !important;
}
body.login-page-background .btn-primary:active:focus {
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.125),
    0 0 0 0.1rem rgba(77, 21, 19, 0.5) !important;
}

.adminlte3-layout .main-header.navbar {
  background-color: #789cb9;
}

.brand-image {
  background: transparent;
  padding: 0px;
}

.adminlte3-layout table.dataTable thead > tr > th,
table.dataTable thead > tr > th.sorting:first-child {
  background-color: #485665 !important;
  color: white;
  border: none;
}

.control-sidebar-dark .nav-sidebar > .nav-item:first-child {
  font-size: 11px;
}

/* LOGIN PAGE */

/* DOCMAN PDF Viewer */
object#pdf_viewer {
  width: 100%;
  height: 100%;
}
/* DOCMAN PDF Viewer */

/* DOCMAN PENDING DOCUMENTS */
.docman-table-txt-cell {
  max-width: 50px;
  overflow-x: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.odd > .read-err {
  background-color: #ffa4a4 !important;
}
.even > .read-err {
  background-color: #ffd6d6 !important;
}

.no-read.odd {
  background-color: #ffa4a4 !important;
}
.no-read.even {
  background-color: #ffd6d6 !important;
}
/* DOCMAN PENDING DOCUMENTS */

.notoc-separate {
  font-weight: bold;
  background-color: #d1eef8;
}
.notoc-overpack {
  font-weight: bold;
  background-color: #e4bfab;
}
.notoc-apio {
  font-weight: bold;
  background-color: #a690df;
}
.notoc-ovp-apio {
  font-weight: bold;
  background-color: #e1aee8;
}
.notoc-line-error.odd {
  background-color: #ffa4a4 !important;
}
.notoc-line-error.even {
  background-color: #ffd6d6 !important;
}
.notoc-form-pkg {
  border: 1px solid #dee2e6;
  border-radius: 5px;
  padding-bottom: 0.5rem;
}
.cr {
  background-color: #fff;
}
.notocSlider {
  position: absolute;
  left: 107rem;
  top: 0.75rem;
}

#att_deconsolDropzone > form {
  min-height: 125px;
  padding: 0px 0px;
}

#btn-deconsolidate-file {
  position: absolute;
  z-index: 2;
  top: 5px;
  right: 15px;
}
#att_dua_split_importDropzone > form {
  min-height: 125px;
  padding: 0px 0px;
}

#btn-dua_split_import-file {
  position: absolute;
  z-index: 2;
  top: 5px;
  right: 15px;
}

.OvpApio {
  font-size: 12px;
  margin: 1px 0px 1px 1px;
  line-height: 27px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 99%;
  float: left;
  padding: 0.5rem;
  border-radius: 5px;
}

.bg-error.odd {
  background-color: #ffa4a4 !important;
}
.bg-error.even {
  background-color: #ffd6d6 !important;
}

.offload.odd {
  background-color: #f1c772 !important;
}
.offload.even {
  background-color: #f0d399 !important;
}

#message_agent_list > div:nth-child(even) {
  background-color: #eee;
}

.left-panel-templates-body {
  height: 30rem;
  max-height: 30rem;
}

.g3-attachment-panel {
  position: relative;
}

.g3-attachment-panel button {
  position: absolute;
  right: 1em;
  top: 0.35em;
}

.checkbox .cr .cr-icon,
.radio .cr .cr-icon {
  top: 20%;
}

.right_border {
  border-right: 2px solid grey;
}

/* Table elements style */
.table-filter-label {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #e9ecef;
  color: #495057;
  border: 1px solid #ced4da;
  border-radius: 5px 0px 0px 5px;
}

.table-field-box {
  border: 1px solid #c3cfd9;
  border-radius: 5px;
  background-color: #fff;
  width: 3em;
  position: relative;
}

.table-field-box.underline::before {
  content: "";
  background-color: #788896;
  position: absolute;
  width: 50%;
  height: 0.25em;
  border-radius: 5px;
  left: 26%;
  bottom: 0.2em;
}

.table-field-box.info {
  border-color: #1aae9f;
}

.table-field-box.warning {
  border-color: #f7c325;
}
.table-field-box.error {
  border-color: #d3455b;
}

.table-field-box.danger {
  border-color: #d3455b;
  color: #d3455b;
  background-color: #f6dade;
}
.table-field-box.disabled {
  border-color: #c3cfd9;
  background-color: #c3cfd9;
}

/* Table elements style */

/* AMC FLIGHTS TABLE */
#amc_flights_table .tabulator-row .tabulator-cell {
  border-top: none;
  font-family: source sans pro, -apple-system, BlinkMacSystemFont, segoe ui,
    Roboto, helvetica neue, Arial, sans-serif, apple color emoji, segoe ui emoji,
    segoe ui symbol;
  font-size: 0.75rem;
}
#amc_flights_table .tabulator-cell-wrapper {
  flex-wrap: nowrap;
  gap: 1px;
}
#amc_flights_table .tabulator-row-odd,
#amc_flights_table .tabulator-row-even {
  background-color: #fff;
}
#amc_flights_table .tabulator-row:hover,
#amc_flights_table .tabulator-selected {
  background-color: #ececec;
}

.blink {
  -webkit-animation: alert-change 750ms infinite; /* Safari 4+ */
  -moz-animation: alert-change 750ms infinite; /* Fx 5+ */
  -o-animation: alert-change 750ms infinite; /* Opera 12+ */
  animation: alert-change 750ms infinite; /* IE 10+, Fx 29+ */
}

@-webkit-keyframes alert-change {
  0%,
  49% {
    /* border: 2px solid #f7c325;
    color: #f7c325; */
    /* color: transparent; */
    opacity: 0;
  }
  50%,
  100% {
  }
}

/* Flight data block definition */
#amc_flights_table .tabulator-row .tabulator-cell .arrivalColumns,
#amc_flights_table .tabulator-row .tabulator-cell .departureColumns {
  border-bottom: 1px solid #c3cfd9;
}
#amc_flights_table
  div.tabulator-row
  > div.tabulator-cell.arrivalColumns:nth-child(1 of div.arrivalColumns),
#amc_flights_table
  div.tabulator-row
  > div.tabulator-cell.departureColumns:nth-child(1 of div.departureColumns) {
  border-left: 1px solid #c3cfd9;
}
#amc_flights_table
  div.tabulator-row
  > div.tabulator-cell.arrivalColumns:nth-last-child(1 of div.arrivalColumns),
#amc_flights_table
  div.tabulator-row
  > div.tabulator-cell.departureColumns:nth-last-child(
    1 of div.departureColumns
  ) {
  border-right: 1px solid #c3cfd9;
}

#amc_flights_table .tabulator-row-odd .arrivalColumns,
#amc_flights_table .tabulator-row-odd .departureColumns {
  background-color: #f8f8f8;
}
#amc_flights_table .tabulator-row-even .arrivalColumns,
#amc_flights_table .tabulator-row-even .departureColumns {
  background-color: #fefefe;
}
/* Flight data block definition */
.dimm_info {
  color: #7b8a98 !important;
}

/* AMC Fields specifications*/
.amc-register-column::after {
  content: attr(data-fleet);
  position: absolute;
  right: 1em;
  bottom: 0.85em;
  font-weight: bold;
  font-size: 0.65rem;
}
.amc-time-column {
  flex-direction: column;
}
.amc-time-column span:first-child {
  font-weight: bold;
  font-size: 1rem;
}

.amc-boarding-column {
  width: 4em;
  font-weight: bold;
}

.amc-alert-icon {
  padding: 0.5em;
}
.amc-alert-column {
  align-content: center;
  gap: 2px;
}

.amc-options-column {
  align-content: center;
  justify-content: end !important;
  gap: 2px;
}

.amc-fn {
  border: 1px solid #c3cfd9 !important;
  font-weight: bold;
  font-size: 0.9rem !important;
  position: relative;
  font-size: 1rem;
}
.amc-fn::before {
  content: attr(data-ldm);
  color: #293845;
  font-size: 0.5rem;
  position: absolute;
  top: -0.25em;
  left: 0.3em;
}
.amc-fn.no-actual {
  background-color: #4b5c6b !important;
  color: #fff;
}

.amc-boarding span {
  font-weight: bold;
  min-width: 3.85em;
}

.amc-slot {
  font-weight: bold;
  color: #fff;
  background-color: #1aae9f;
  border: none;
}

.amc-dly {
  justify-content: space-between !important;
}
.amc-dly span:last-child {
  color: #788896;
}

/* AMC Fields specifications*/

/* AMC TOOLTIPS */
.amc-pax-tooltip {
  padding: 0.25rem;
  width: 8rem;
}

.amc-boarding-tooltip .container-fluid .row:nth-child(1) {
  font-size: 0.75rem;
  color: #c3cfd9;
}
.tooltip .tooltip-inner {
  max-width: fit-content;
}

.amc-hld-tooltip,
.amc-cab-tooltip {
  width: 8em;
}
.amc-ttos-tooltip {
  width: 30em;
}
.amc-ttos-tooltip .row:nth-child(1),
.amc-hld-tooltip .row:nth-child(1),
.amc-cab-tooltip .row:nth-child(1) {
  font-size: 0.75rem;
  color: #c3cfd9;
}
.amc-ttos-tooltip-connect {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  padding: 0em 1.35em;
}
.amc-ttos-tooltip-connect::before {
  content: "";
  width: 0.75em;
  height: 0.75em;
  display: inline-block;
  border-radius: 500px;
}
.info.amc-ttos-tooltip-connect::before {
  background-color: #1aae9f;
}
.danger.amc-ttos-tooltip-connect::before {
  background-color: #d3455b;
}
.warning.amc-ttos-tooltip-connect::before {
  background-color: #f7c325;
}

.amc-dly-tooltip {
  width: 15em;
}
/* AMC TOOLTIPS */

/* AMC Layer tables */
div#layer_edit_dly > div#table_dly {
  max-height: 13em;
  overflow-y: auto;
}

div#layer_edit_boarding > div#table_boarding_st > .row,
div#layer_edit_dly > div#table_dly > .row {
  font-size: 0.75rem;
  padding: 0.25em 0em;
}
div#layer_edit_boarding > div#table_boarding_st > .row:nth-child(odd),
div#layer_edit_dly > div#table_dly > .row:nth-child(odd) {
  background-color: #f8f8f8;
}

div#layer_edit_boarding > div#table_boarding_st > .row.currentStatus {
  border: 1px solid #1aae9f !important;
  color: #1aae9f;
}
/* AMC Layer tables */

/* AMC FLIGHTS TABLE */

/* AMC FLIGHTS STATUS LIST*/
.tabulator-cell.arrivalColumns.cancel .amc-fn,
.tabulator-cell.departureColumns.cancel .amc-fn {
  background-color: #d3455b !important;
  color: #fff;
}

.tabulator-cell.arrivalColumns.cambio .amc-fn,
.tabulator-cell.departureColumns.cambio .amc-fn {
  background-color: #f7c325 !important;
  color: #293845 !important;
}

.tabulator-cell.arrivalColumns.acople .amc-fn,
.tabulator-cell.departureColumns.acople .amc-fn {
  background-color: #f6dade !important;
  border: 1px solid #dc6a7b !important;
  color: #293845 !important;
}

.tabulator-cell.arrivalColumns.creado .amc-fn,
.tabulator-cell.departureColumns.creado .amc-fn {
  background-color: #2c88d9 !important;
  color: #fff;
}
/* AMC FLIGHTS STATUS LIST*/

#edit-header-text div {
  padding: 0.5rem 2rem;
}

#edit-header-text div:not(:last-child) {
  border-right: 5px solid #fff;
}

.edit-info-secction > div > span,
.info-panel > div > span {
  font-size: 1rem;
  color: #2c5514;
}

.edit-info-secction > div > p,
.info-panel > div > p {
  font-size: 1.25rem;
  margin: 0px;
}

.edit-info-secction {
  background-color: #f2f5f7;
  border-radius: 5px;
}

.flight-info {
  background-color: #5bac29;
  color: #fff;
}

.flight-info p {
  font-weight: bold;
}

.info-panel p#std,
.info-panel p#sta {
  font-weight: bold;
}

.info-panel p#dly {
  color: #d3455b;
}

.info-panel p#slot {
  font-weight: bold;
  color: #5bac29;
}

.pax-transits-table,
.pax-specials-table,
.cargo-details-table,
.cargo-specials-table,
.cargo-distribution-table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
}

.pax-transits-table th,
.pax-specials-table th,
.cargo-details-table th,
.cargo-specials-table th,
.cargo-distribution-table th {
  font-size: 0.75rem;
  color: #788896;
}

.pax-transits-table td,
.pax-specials-table td,
.cargo-details-table td,
.cargo-specials-table td,
.cargo-distribution-table td {
  font-weight: bold;
  font-size: 1rem;
}

.pax-transits-table tbody tr:nth-child(odd) {
  background-color: #eaedee;
}

span.important {
  background-color: #c3cfd9;
  color: #2c5514;
  padding: 0rem 0.25rem;
}

.cargo-info {
  border: 3px solid #c3cfd9;
  border-radius: 5px;
  padding: 0.5rem;
}

.cargo-info > div > p > span {
  margin: 0rem 0.5rem;
}

.info-panel > div > p > span::after,
.cargo-info > div > p > span::after {
  content: attr(data-unit);
  margin: 0rem 0.25rem;
  font-size: 1rem;
  color: #2c5514;
}

.info-panel p#flight::after {
  content: attr(data-arcsit);
  background-color: #c3cfd9;
  color: #2c5514;
  padding: 0rem 0.25rem;
  font-size: 0.75rem;
  position: relative;
  top: 1rem;
  left: -2rem;
}

.info-panel p#total_pax::after {
  content: attr(data-pax_details);
  background-color: #c3cfd9;
  color: #2c5514;
  padding: 0rem 0.25rem;
  font-size: 0.75rem;
  position: relative;
  top: 1rem;
  left: -1.5rem;
}
