/* 
 * CSS añadidas y nuevas para la parte vieja.
 */

/*
 * Enlaces
 */
a.mp-decorated {
  text-decoration: underline;
}

/*
 * Iconos
 */

/* Estados */
[class^="mp-icon-state-"] {
  border-radius: 100px;
  -webkit-border-radius: 100px;
  -moz-border-radius: 100px;
  display: inline-block;
  width: 15px;
  height: 15px;
}

.mp-icon-state-CANCELED {
  background: #b20000;
}

.mp-icon-state-COMPLETE {
  background: #cc0000;
}

.mp-icon-state-CONFIRMATION-PENDING {
  background: #B75F00;
}

.mp-icon-state-CONFIRMED {
  background: #598206;
}

.mp-icon-state-WAITINGLIST {
  background: #9c27b0;
}

.mp-icon-paid {
  display: inline-block;
  width: 30px;
  height: 20px;
}

/* Transportes */
.mp-icon-transport {
  display: inline-block;
  height: 24px;
  width: 20px;
}

.mp-icon-bus {
  background: transparent url("../images/icon-bus.png") no-repeat scroll left center;
}

.mp-icon-flight {
  background: transparent url("../images/icon-fly.png") no-repeat scroll left center;
}

.mp-icon-ship {
  background: transparent url("../images/icon-ship.png") no-repeat scroll left center;
}

.mp-icon-train {
  background: transparent url("../images/icon-train.png") no-repeat scroll left center;
}

/* Misc. */
.mp-icon-details {
  background: url("../images/icon-card.png") no-repeat scroll center center transparent;
  display: inline-block;
  height: 17px;
  width: 19px;
  vertical-align: text-bottom;  
}

/*
 * Botones solo icono
 */
.mp-button-print-doc {
  background: #a36a00;
  border: 0;
  color: #fff;
  padding: 2px 6px;
}

.mp-button-send-doc {
  background: #00327C;
  border: 0;
  color: #fff;
  padding: 2px 6px;
}

.mp-button-grey {
  background: #333;
}

.mp-button-tpv {
  background: #598206;
  border: 0;
  color: #fff;
  padding: 2px 6px;
}

.mp-button-print-doc:focus,
.mp-button-send-doc:focus,
.mp-button-tpv:focus {
  border: 1px solid #fff;
  outline: 0;
  -webkit-box-shadow: 0 0 1px 2px #0d4859;
  box-shadow: 0 0 1px 2px #0d4859;
}

/*
 * Botón tipo switch
 */
.mp-switch {
  margin-bottom: 1.5rem;
}

.mp-switch-label {
  display: flex;
}

.mp-switch-options {
  box-sizing: border-box;
  display: inline-block;
  flex-shrink: 0;
  height: 2.25rem;
  margin-right: 10px;
  margin-top: 3px;
  position: relative;
  width: 10rem;
}

.mp-switch-options span {
  color: #fff;
  display: inline-block;
  line-height: 1;
  position: absolute;
  top: 0.35rem;  
}

.mp-switch-options .mp-switch-on {
  display: none;
  right: 2.5rem;
}

.mp-switch-options .mp-switch-off {
  left: 2.5rem;
}

.mp-switch-input:checked ~ .mp-switch-label .mp-switch-on {
  display: inline-block;
}
.mp-switch-input:checked ~ .mp-switch-label .mp-switch-off {
  display: none;
}

.mp-switch-options::before {
  background-color: #666;
  border-radius: 1.25rem;
  box-sizing: border-box;
  color: #fff;
  content: '';
  display: block;
  height: 2.25rem;
  position: absolute;
  width: 100%;
}

.mp-switch-input:focus ~ .mp-switch-label .mp-switch-options {
  outline-color: #13708a;
  outline-offset: 2px;
  outline-width: 2px;
  outline-style: solid
}

.mp-switch-input:checked ~ .mp-switch-label .mp-switch-options::before {
  background-color: #B75F00;
}

.mp-switch-options::after {
  background-color: #fff;
  border-radius: 50%;
  box-sizing: border-box;
  content: '';
  display: block;
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 70ms cubic-bezier(0.2, 0, 1, 0.9), -webkit-transform 70ms cubic-bezier(0.2, 0, 1, 0.9);
}

.mp-switch-input:checked ~ .mp-switch-label .mp-switch-options::after {
  background-color: #fff;
  left: auto;
  right: 0.5rem;
}

.mp-switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  visibility: visible;
  white-space: nowrap;
}
 
/*
 * Rows, simulación tabla
 */
.mp-as-table-header {
  background: #666;
  color: #fff;
  padding: 5px 6px;
}
.mp-as-table-header label {
  color: #fff;
}
.mp-as-table-row {
  padding: 5px 6px;
  background: #eeeeee;
}
.mp-as-table-row-even {
  padding: 5px 6px;
  background: #dfdfdf;
}
.mp-as-table-row-odd {
  padding: 5px 6px;
  background: #eeeeee;
}

/*
 * Tabla, presentación genérica.
 */
.mp-table {
  width: 100%
}

.mp-table th,
.mp-table td {
  color: #333;
  text-align: left;
  padding: 5px 6px;
}

.mp-table td {
  padding-bottom: 10px;
  padding-top: 10px;
  vertical-align: middle;
}
.mp-table.mp-vertical-align-top td {
  vertical-align: top;
}

.mp-table th:first-child,
.mp-table td:first-child {
  padding-left: 12px;
}

.mp-table th:last-child,
.mp-table td:last-child {
  padding-right: 12px;
}

.mp-table > thead {
  background: #666;
}

.mp-table > thead th {
  color: #fff;
  font-weight: normal;
  text-align: left;
}

.mp-table > tbody > tr:nth-child(even) {
  background: #dfdfdf;
}

.mp-table > tbody > tr:nth-child(odd) {
  background: #eee;
}

/* Tabla, presentación blanca. */
.mp-table.mp-white-table > thead > tr {
  border: 1px solid #939393;  
}

.mp-table.mp-white-table > tbody > tr,
.mp-table.mp-white-table > tfoot > tr {
  background: #fff;
  border: 1px solid #939393;
}

.passengers .mp-table.mp-white-table > tfoot >tr {
  background: #eee;
}

/* Elementos comunes en tablas. */

.mp-table a:not(.btn) {
  color: #333;
  text-decoration: underline;
}

.mp-table a:not(.btn):hover {
  color: #333;
  text-decoration: underline;
}

.mp-table a:not(.btn):focus {
  color: #333;
  text-decoration: underline;
  outline-color: #333;
}

.mp-table .mp-divider {
  border-bottom: 1px dotted #8a8a8a;
  width: 100%;
}

.mp-table a.mp-with-icon,
.mp-table a.mp-with-icon:hover,
.mp-table a.mp-with-icon:focus {
  text-decoration: none;
}

.mp-table a.mp-with-icon span:not([class^="mp-icon-"]) {
  text-decoration: underline;
}

.mp-table .btn {
  padding: 3px 8px;
  font-size: 1.200rem;
}

/* Esto está para anular una CSS genérica de mp-layout. Pero no debería existir. */
.mp-table .btn .glyphicon {
  margin-right: 0;
}

.mp-table [class^="mp-icon-state-"] {
  vertical-align: text-top;
}

.mp-table .mp-price-text {
  color: #00327C;
  font-size: 1.600rem;
  font-weight: bold;
  text-align: right;
  white-space: nowrap;
}

/* Quitar layout tabla para pantallas pequeñas. */
@media screen and (max-width: 768px) {
  .mp-table,
  .mp-table thead,
  .mp-table tbody,
  .mp-table tr {
    display: block;
  }

  .mp-table td,
  .mp-table th {
    display: inline-block;
    width: 32%;
    text-align: left;
  }

  .mp-table th:first-child,
  .mp-table td:first-child,
  .mp-table th:last-child,
  .mp-table td:last-child {
    padding: 5px 6px;
  }
}

@media screen and (max-width: 480px) {
  .mp-table td,
  .mp-table th {
    display: block;
    width: 100%;
  }
}

/*
 * Tabla listado de productos
 */
@media screen and (min-width: 768px) {
  .mp-product-list-table th.mp-price-col {
    text-align: center;
  }

  .mp-product-list-table td.mp-actions-col {
    text-align: right;
  }
}

.mp-product-list-table .mp-icon-transport {
  vertical-align: middle;
}

/*
 * Tablas elementos del producto
 */
.mp-product-hotel-table {}

.mp-product-shuttle-table .mp-icon-transport,
.mp-product-transport-table .mp-icon-transport {
  vertical-align: middle;
}

@media (min-width: 768px) and (max-width: 991px) {
  .mp-product-shuttle-table .shuttle-itstop > div {
    width: 180px!important;
  }
}

@media screen and (max-width: 768px) {
  .mp-product-shuttle-table thead {
    width: 105px;
  }
  .mp-product-shuttle-table td:has(> .btn-group) {
    overflow: visible;
  }
  .mp-product-shuttle-table td > .form-control {
    background-color: transparent;
  }
  .mp-product-transport-table thead {
    width: 105px;
  }
}

/*
 * Tabla de servicios extra
 */
.mp-booking-extra-table {}

@media screen and (min-width: 768px) {
  .mp-booking-extra-table .mp-price-col {
    text-align: right;
  }
}

@media screen and (max-width: 768px) {
  .mp-booking-extra-table .mp-price-col {
    width: 95px;
  }
}

/*
 * Tabla de servicios opcionales
 */
.mp-booking-extras-table {}

.mp-booking-extras-table .mp-price-col {
  width: 20%;
}

@media screen and (max-width: 768px) {
  .mp-booking-extras-table .mp-price-col {
    width: 65px;
  }
}

/*
 * Tablas listados de pasajeros
 */
.mp-pax-data-table th.mp-room-number-col {
  width: 150px;
}

@media screen and (max-width: 768px) {
  .mp-pax-data-table thead {
    width: 100px;
  }
  .mp-pax-data-table th.mp-room-number-col {
    width: unset;
  }
  .mp-pax-data-table td:has(.specials-services) {
    overflow: auto;
  }
}

.mp-pax-table {}
.mp-pax-complete-table {}
.mp-pax-ssr-table {}
.mp-pax-price-table {}

.mp-pax-price-table.mp-white-table tfoot tr {
  background: #00327C;
  color: #fff;
  font-size: 1.800rem;
}

.mp-pax-price-table.mp-white-table tfoot tr td {
  color: #fff;
  font-size: 1.800rem;
}

@media screen and (min-width: 768px) {
  .mp-pax-price-table .mp-base-price-col,
  .mp-pax-price-table .mp-extras-col,
  .mp-pax-price-table .mp-fee-col,
  .mp-pax-price-table .mp-total-price-col {
    text-align: right;
  }
}

.mp-pax-price-table tbody td.mp-total-price-col {
  color: #00327C;
  font-weight: bold;
  white-space: nowrap;
}

.mp-pax-price-table tfoot td.mp-total-price-col {
  font-weight: bold;
  white-space: nowrap;
}

/*
 * Tabla listado de reservas
 */
@media screen and (min-width: 768px) {
  .mp-bookings-list-table .mp-actions-col {
    text-align: center;
  }
}

/*
 * Tabla de programación
 */
.mp-scheduler-table .mp-destination-col {
  width: 58%;
}

@media screen and (min-width: 768px) {
  .mp-scheduler-table .mp-actions-col,
  .mp-scheduler-table .mp-turn-col {
    text-align: center;
  }

  .mp-scheduler-table .mp-price-col {
    text-align: right;
  }
}

/* Estilos para el icono de Whatsapp flotante y de cabecera. */
.btn-wsp {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  position: fixed;
  width: 65px;
  height: 65px;
  bottom: 30px;
  right: 30px;
  background-color: green;
  color: white;
  border-radius: 50px;
}
.btn-wsp-header svg {
  margin-bottom: -6px;
}

/*
 * Tabla responsive genérica
 */
@media screen and (max-width: 768px) {
  .mp-custom-table-responsive {
    display: block;
    width: 100%;
    margin: 1em 0;
  }

  .mp-custom-table-responsive > thead, .mp-custom-table-responsive > thead > tr, .mp-custom-table-responsive > thead > tr > th,
  .mp-custom-table-responsive > tbody, .mp-custom-table-responsive > tbody > tr,
  .mp-custom-table-responsive > tfoot, .mp-custom-table-responsive > tfoot > tr{
    display: block;
  }
  .mp-custom-table-responsive > thead {
    float: left;
    background: #666;
  }
  .mp-custom-table-responsive > tbody,
  .mp-custom-table-responsive > tfoot{
    width: auto;
    position: relative;
    overflow-x: auto;
  }
  .mp-custom-table-responsive > thead th {
    color: #fff;
    font-weight: normal;
    text-align: left;
    background: rgba(0, 0, 0, 0.14);
    border-bottom: 1px dashed #aaa;
    padding: .625em;
    line-height: 1.5em;
    border-bottom: 1px dashed #ccc;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: auto;
  }
  .mp-custom-table-responsive > tbody td,
  .mp-custom-table-responsive > tfoot td{
    color: #333;
    padding: .625em;
    line-height: 1.5em;
    border-bottom: 1px dashed #ccc;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: auto;
  }
  .mp-custom-table-responsive > tbody > tr:nth-child(odd) {
    background: #eee;
  }
  .mp-custom-table-responsive > tbody > tr:nth-child(even) {
    background: #dfdfdf;
  }
  .mp-custom-table-responsive > tbody > tr {
    display: table-cell;
    min-width: 200px;
  }
  .mp-custom-table-responsive > tfoot > tr {
    display: table-row;
  }
  .mp-custom-table-responsive > tbody td {
    display: block;
  }
  .mp-custom-table-responsive > tfoot td {
    display: table-cell;
  }
  .mp-custom-table-responsive > thead > tr:nth-child(odd),
  .mp-custom-table-responsive > tbody > tr:nth-child(odd) {
    background: rgba(0, 0, 0, 0.07);
  }
}

