body{
  overflow-x: hidden;
}

.mpajax_result_inner.flex-row.inactive_timing:hover .book_now_wrap {
    visibility: visible;
    opacity: 1;
    display: flex;
}
.inactive_timing .book_now_wrap {
    opacity: 1!important;
    visibility: visible!important;
    border-top: 1px solid #e4e4e4;
}
.inactive_timing:hover:before {
    content: "Please select a time atleast THREE hours time difference from the OUtbound Journey.";
    position: absolute;
    width: 100%;
    z-index: 99;
    width: 100%;
    height: 100%;
    background: #ffffffd9;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    text-transform: capitalize;
    left: 0;
    top: 0;
}
.inactive_timing .ticket_detail_opener {
     display: none;
}
.inactive_timing a#book_now_btn {
    display: none;
}

.radio_container {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
span.cur_name {
    font-size: 12px;
    font-weight: bold!important;
    margin-right: 5px;
}
ul.menu-dropdown li:hover {
    background: #a47c00!important;
}



/* Hide the browser's default radio button */
.radio_container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

/* Create a custom radio button */
.radio_container .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: #eee;
  border-radius: 50%;
}

/* On mouse-over, add a grey background color */
.radio_container:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the radio button is checked, add a blue background */
.radio_container input:checked ~ .checkmark {
  background-color: #2196F3;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the indicator (dot/circle) when checked */
.radio_container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the indicator (dot/circle) */
.radio_container .checkmark:after {
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
    left: 0;
    right: 0;
    margin: 0 auto;
    transform: translateY(-50%);
}

.form-container {
    display: block;
    position: relative;
    width: 100%;
    min-height: 0px;
    background-color: #ffffff;
    padding: 35px ;
    -webkit-box-shadow: 0 15px 75px 0 rgba(0, 0, 0, 0.06);
    box-shadow: 0 15px 75px 0 rgba(0, 0, 0, 0.06);
        margin-bottom: 30px;
}
.form-field {
    padding: 0 15px;
}
.flex-row {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-flow: row wrap;
    -webkit-justify-content: space-around;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    align-items: center;
}
.flex-col {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.flex-col button{
      height: 50px;
      outline: none;
      border: none;
      text-decoration: none;
      text-transform: uppercase;
      padding: 0px 30px;
      border-radius: 3px;
      -webkit-transition: all 0.3s;
      transition: all 0.3s;
      font-family: "Montserrat", Helvetica, Arial, sans-serif;
      background: -webkit-gradient(linear, left top, right top, from(#7f82f0), to(#5ad2d4));
      background: -webkit-linear-gradient(left, #7f82f0 0%, #5ad2d4 100%);
      background: linear-gradient(to right, #7f82f0 0%, #5ad2d4 100%);
      -webkit-box-shadow: 0px 11px 27px 0px rgba(154, 49, 188, 0.33);
      box-shadow: 0px 11px 27px 0px rgba(154, 49, 188, 0.33);
      color: #FFF;
      font-weight: 500;
      letter-spacing: 0.2px;
      text-align: center;
      width: 100%;
      padding: 0px 28px;
}

.flex-col select, .flex-col input[type=text] {
    text-overflow: ellipsis;
    background: none;
    width: 100%;
    height: 50px;
    border: 0px;
    border-bottom: 2px solid #E5E5E5;
    min-width: 0;
    padding: 7px 8px;
    color: #7a7a7a;
    line-height: 24px;
    -webkit-box-shadow: inset 0 0 0 rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 0 0 rgba(0, 0, 0, 0.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    width: 100%;
}

.flex-col select:focus, 
.flex-col select:hover,
.flex-col input[type=text]:focus,
 .flex-col input[type=text]:hover{
  outline:0;
  border-bottom: 2px solid #222;
    border-radius: 0px;
    outline: none;
}

/*Tren*/
 .cabecera-viaje {
    background: #011435;
    color: #fff;
    position: relative;
}
.cabecera-viaje div {
    display: inline-block;
    vertical-align: top;
    height: 47px;
    margin: 0 0 0 0;
    line-height: 47px;
    width: 33%;
    text-align: center;
}
div#cabeceraTarifasIda {
    text-align: center;
    background: #eeeeee;
    padding: 10px 15px;
    font-weight: 700;
    color: #878787;
}
.cabecera-viaje div.journey_type_div {
    background: #335794;
    padding: 0 20px;
    width: inherit;
}
.mpajax_result_inner {
    text-align: center;
    padding: 20px 15px;    
    position: relative;
    overflow: hidden;
}
.mpajax_result {
    background-color: #ffffff;
    -webkit-box-shadow: 0 15px 75px 0 rgba(0, 0, 0, 0.06);
    box-shadow: 0 15px 75px 0 rgba(0, 0, 0, 0.06);
}
.mpajax_result_inner:nth-child(even) {
    background: #f9f9f9;
}

.train_name {
    text-align: left;
}
.divColumTrenes, .train_name_col {
    min-width: 320px;
}

.aguascalientes-bus .divColumTrenes {
    min-width: 160px;
}

input#date_return[disabled] {pointer-events: none;text-decoration: line-through;background: #f6f6f6;}
.book_now_wrap {
    position: absolute;
    right: 0;
    visibility: hidden;
    opacity: 0;
    height: 100%;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
}

a#book_now_btn {
    background: #335794;
    padding: 10px 20px;
    color: #fff;
}

a#book_now_btn:hover {
    opacity: .9;
}

.mpajax_result_inner:hover .book_now_wrap {
    visibility: visible;
    opacity: 1;
}
/*Loader*/
.mp_ajax_loader{
    display: inline-block;
    vertical-align: middle;
    display: none;
    margin-left: 1px;
}
.mp_ajax_loader:after {
    content: " ";
    display: block;
    width: 14px;
    height: 14px;
    margin: 1px;
    border-radius: 50%;
    border: 2px solid #fff;
    border-color: #fff transparent #fff transparent;
    animation: lds-dual-ring 1.2s linear infinite;
}
.lds-dual-ring {
  width: 64px;
  height: 64px;
  position: absolute;
  left: 50%;
  top: 50%;
}
.lds-dual-ring:after {
  content: " ";
  display: block;
  width: 46px;
  height: 46px;
  margin: 1px;
  border-radius: 50%;
  border: 5px solid #333;
  border-color: #333 transparent #333 transparent;
  animation: lds-dual-ring 1.2s linear infinite;
}
.ajax-search-loader,.ajax-loader {
    position: fixed;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    z-index: 9999999;
    left: 0;
    top: 0;
    justify-content: center;
    display: none;
    width: 100%;opacity: 1!important;
}
.lds-dual-ring2 {
  width: 64px;
  height: 64px;
  position: absolute;
  left: 50%;
  top: 50%;
}
.lds-dual-ring2:after {
  content: " ";
  display: block;
  width: 46px;
  height: 46px;
  margin: 1px;
  border-radius: 50%;
  border: 5px solid #333;
  border-color: #333 transparent #333 transparent;
  animation: lds-dual-ring 1.2s linear infinite;
}

@keyframes lds-dual-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.qty-selector {
    position: absolute;
    height: 100%;
    width: 100%;
    background: rgba(234, 234, 234, 0.95);
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    transform: translateY(100%);
    transition: transform .3s ease;
}

.qty-selector-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.qty-selector-inner>div {
    margin: 0 15px;
    width: 140px;
    display: flex;
    align-items: center;
}

.qty-selector-inner label {
    margin-right: 8px;
}

.this_is_bus .qty-selector-inner>div {
    width: unset;
}

.this_is_bus .divColumTrenes, 
.this_is_bus .train_name_col {
    min-width: 250px;
}

.qty-action-btn button {
    height: 42px;
    border: 0;
    background: #335794;
    color: #fff;
    padding-left: 20px;
    padding-right: 20px;
    margin-right: 2px;
}

.qty-action-btn {}

.qty-action-btn #cancel-qty {
    background: #842020;
}

.qty-action-btn button:hover {
    opacity: .8;
}
.active.qty-selector {
    transform: translateY(0);
}

/*QTY SELECTOR*/
.qty-selector .quantity {
  position: relative;
}
.qty-selector input[type=number]::-webkit-inner-spin-button,
.qty-selector input[type=number]::-webkit-outer-spin-button {
  height:42px;
  opacity: .6;
}
.qty-selector input[type=number]:hover::-webkit-inner-spin-button,
.qty-selector input[type=number]:hover::-webkit-outer-spin-button,
.qty-selector input[type=number]:focus::-webkit-inner-spin-button,
.qty-selector input[type=number]:focus::-webkit-outer-spin-button{

  opacity: 1;
}
.qty-selector input[type=number] {

}
.qty-selector .quantity select,
.qty-selector .quantity input {
  width: 70px;
  height: 42px;
  line-height: 1.65;
  float: left;
  display: block;
  margin: 0;
  padding: 0 10px;
  border: 1px solid #ccc;
  text-align: center;
}
.qty-selector .quantity input:focus {
  outline: 0;
}
/*end */

/*Mini cart*/

#compra {
  position: fixed;
  top: 10px;
  right: -320px;
  z-index: 9999999;
  -webkit-box-shadow: -1px 1px 21px 3px rgba(50, 50, 50, 0.61);
  -moz-box-shadow: -1px 1px 21px 3px rgba(50, 50, 50, 0.61);
  box-shadow: -1px 1px 21px 3px rgba(50, 50, 50, 0.61);
  width: 320px;
      transition: right .3s ease;
      display: none;
}
#compra a {
  background: #1a345f;
  display: block;
  position: absolute;
  top: 91px;
  color: #fff;
  text-transform: uppercase;
  text-align: center;
  font-size: 13px;
}
div#compra.open {
    right: 0;
}
#compra a:focus, #compra a:hover {
  text-decoration: none;
}

.belmond #compra a {
  background-color: #e05a10;
}

#compra a {
  left: -100px;
  padding: 10px;
  width: 100px;
}
#compra a img {
  vertical-align: middle;
  display: block;
  margin: 0 auto 4px;
  position: relative;
  width: 24px;
}
#compra a span {
  color: #acc8de;
  font-size: 13px;
  display: block;
}

.belmond #compra a span {
  color: white;
}

#compra .title-responsive {
  display: none;
}
#compra .detalle-compra {
  background: #fff;
}
#compra .cabecera-compra {
  background: #1a345f;
  color: #fff;
  line-height: 40px;
  text-align: center;
  margin: 0;
  font-size: 16px;
}

.belmond #compra .cabecera-compra {
  background-color: #e05a10;
}

#compra .destino {
  text-align: center;
  border-bottom: 1px solid #acc8de;
  padding: 25px;
  color: #878787;
  font-size: 14px;
}
#compra .detalle {
  font-size: 14px;
  padding: 15px 22px;
}
#compra .detalle div {
  display: inline-block;
  vertical-align: top;
  line-height: 18px;
}
#compra .detalle .row {
  width: 280px;
  margin: 0;
}
#compra .detalle .firts {
  width: 70px;
  text-transform: uppercase;
  font-size: 12px;
}
#compra .detalle .precio-servicio-adicional {
  font-size: 20px;
  vertical-align: super;
  margin-bottom: 10px;
}
#compra .pasajeros {
  background: #f4f4f4;
  color: #878787;
  font-size: 14px;
  line-height: 18px;
  padding: 5px 22px;
}
#compra .pasajeros div {
  display: inline-block;
}
#compra .pasajeros .firts {
  display: inline-block;
  width: 160px;
}
#compra .subtotal {
  text-align: center;
  font-size: 14px;
  /*height: 45px;*/
  height: 35px;
  line-height: 45px;
  padding: 5px 0 0 0;
  color: #878787;
  display: flex;
  align-items: center;
  justify-content: center;
}
#compra .subtotal span {
  font-weight: bold;
}
#compra .subtotal .price-subtotal {
  margin: 0 0 0 5px;
}
#compra .total {
  background: #878787;
  text-align: center;
  color: #fff;
  font-size: 14px;
  padding: 6px 0;
}
#compra .total .price-box .price-dolar {
  display: flex;
  align-items: center;
  justify-content: center;
}
#compra .total .price-box .price-dolar .texto-total {
  font-size: 15px;
  margin: 0 8px 0 0;
}
#compra .total .price-box .price-soles span {
  font-size: 18px;
}
#compra .total span {
  font-size: 18px;
}
#compra .total .incluye {
  color: #eeeeee;
  font-size: 12px;
}

.mp_minicart_inner {
  overflow: auto;
  max-height: 100vh;
}
button.minicart_submit {
    display: block;
    width: 100%;
    border-radius: 0;
    margin-top: 10px;
    background: #335794;
    border: 0;
    padding: 15px 6px;
    font-weight: 700;
}

.selected_one_way,
.selected_round_way {
    /*background: #bbbbbb !important;*/
}
button.minicart_submit[disabled] {
    opacity: .5;
}
ul.cart-inline-datas {
    list-style: none;
    clear: both;
    padding: 0;
    margin-top: 10px;
}

ul.cart-inline-datas span {
    font-weight: 600;
    padding-right: 3px;
}
ul.cart-inline-datas li {
    white-space: nowrap;
}

li.inbont-start {
    clear: both;
    display: block;
    height: 8px;
}
.disabled button.minicart_submit {
    pointer-events: none;
}
label.error {
    color: #F44336;
    font-size: 9px;
}

.please-wait {
    position: absolute;
    left: 50%;
    top: 50%;
    font-size: 18px;
    z-index: 9999999;
    transform: translate(-50%,50px);
    font-weight: 700;
    width: 90%;text-align: center;
}
.please-wait span {
    display: block;
    font-size: 15px;
}
.ajax-search-loader .lds-dual-ring2,.ajax-loader .lds-dual-ring2 {
    transform: translateX(-50%);
}
.qty-selector .quantity select {
    -moz-appearance: searchfield;
    -webkit-appearance: searchfield;
}
@-webkit-keyframes changebgcolor {
  0% {
      background-color:#ed8323;
  }
  50% {
       background-color:#74c683;
  }
  
  100% {
       background-color:#ed8323;
  }
}
@keyframes changebgcolor {
  0% {
      background-color:#ed8323;
  }
  50% {
       background-color:#74c683;
  }
  
  100% {
       background-color:#ed8323;
  }
}
button.minicart_submit.blinkcolor {
    -webkit-animation: changebgcolor .7s infinite;
            animation: changebgcolor .7s infinite;
}

ul.wc-item-meta {
    list-style: none;
    display: none;
}

ul.wc-item-meta li * {display: inline;}

body.search_enable_preload .full-page-absolute {
    display: none !important;
}
.single-file p {
    clear: both;
}

input[readonly="readonly"]{
  cursor:pointer;
}

.mpajax_result_inner.flex-row.peru-rail.compnay_inactive:hover:before {
    content: attr(data-tik-com);
    position: absolute;
    width: 100%;
    z-index: 99;
    width: 100%;
    height: 100%;
    background: #ffffffd9;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    text-transform: none;
}
.mpajax_result_inner.flex-row.peru-rail.compnay_inactive{
    position:relative;
    }

.mpajax_result_inner.flex-row.peru-rail.compnay_inactive:hover .book_now_wrap {
    visibility: visible;
    opacity: 1;
    display: none;
}
.this_is_bus .flex-col.clickable.infant_tckt {
    display: none;
}
.this_is_bus .flex-col.clickable.infant_tckt:after, .flex-col.clickable.chld_tckt:after {
    content: "";
    font-size: 10px;
    position: absolute;
    top: 23px;
}
.blinkcolor_added {
    -webkit-animation: changebgcolor .7s infinite;
    animation: changebgcolor .7s infinite;
}
a.summary_purchase.blinkcolor_added:before {
    width: 100%;
    height: 100%;
    content: "Added to cart";
    font-size: 14px;
}

a.summary_purchase.blinkcolor_added {
    position: relative;
    font-size: 0px!important;
}
@media(max-width: 991px){
    
 .bus_detail_inner {
    width: 100%;
    height: 100%;
    display: block;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.bus_details.active {
    position: relative;
}
.bus_detail_icon {
    width: 100%;
    padding: 10px;
    text-align: left;
    display: block;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    flex-direction: column;
    margin-top: 22px;
}
.bus_detail_icon a#book_now_btn {
    display: none;
}   
 .bus_detail_features {
    width: 100%;
    text-align: left;
    padding: 33px 28px;
}   
.this_is_bus .tkt_sub.flex-col.clickable:before {
    position: absolute;
    top: 0;
    height: unset;
    display: flex;
    align-items: center;
    content: attr(data-title);
    padding-top: 5px;
}
.this_is_bus .tkt_sub.flex-col.clickable:after {
    position: absolute;
    content: attr(data-types)!important;
    bottom: 6px;
    color: #335794;
    font-weight: bold;
    font-size: 10px;
}    
    
.this_is_bus .flex-col.clickable {
    position: relative;
}
.this_is_bus .flex-col.clickable:before {
    position: absolute;
    top: 0;
    height: 100%;
    display: flex;
    align-items: center;
}



  .this_is_bus .flex-col.clickable.infant_tckt:after{
       content: ""!important;
    font-size: 10px;
    position: absolute;
    top: 23px;
}
.mpajax_result_inner.flex-row.peru-rail.compnay_inactive:hover:before {
    content: attr(data-tik-com);
    position: absolute;
    width: 100%;
    z-index: 99;
    width: 100%;
    height: 100%;
    background: #f1f1f199;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    
    text-transform: capitalize;
    left: 0;
}  
 .page-id-9849 #mp_train_search .form-field.trip_type_field label {
    margin-right: 18px;
    float: left;
}
    
.mp_round_ajax_result .mpajax_result_inner.flex-row.compnay_active {
    display: block;
}
.flex-col.clickable.tkt_age:after,.flex-col.clickable.infant_tckt:after,.flex-col.clickable.chld_tckt:after {
    content: attr(data-subtitle);
    font-size: 10px;
    position: absolute;
    top: 23px;
}
.flex-col.clickable.tkt_age,.flex-col.clickable.infant_tckt,.flex-col.clickable.chld_tckt {
    position: relative;
}
.flex-col.clickable.tkt_age:before,.flex-col.clickable.infant_tckt:before,.flex-col.clickable.chld_tckt:before {
    position: absolute;
    top: 7px;
}


    
    
    
    
  div#ui-datepicker-div {
    position: fixed !important;
    top: 50% !important;
    transform: translateY(-50%);
    left: 0 !important;
    right: 0 !important;
    margin: 0 auto;
    text-align: center;
    z-index: 1000 !important;
  }
  body.dateactive:before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
  }

  #mp_train_search_noajax .flex-col,
  #mp_train_search .flex-col {
      width: 100%;
  }

  #mp_train_search_noajax .flex-row,
  #mp_train_search .flex-row {
      display: block;
  }

  .form-container {
      padding-left: 15px;
      padding-right: 15px;
  }
  body.dateactive {
      overflow: hidden;
  }
.mpajax_result_inner {
    display: block;
}

.mpajax_result_inner .flex-col:before {
    content: attr(data-title);
    display: inline;
    float: left;
    width: 100px;
    font-weight: 700;
    clear: both;
}

.mpajax_result_inner .flex-col>div {padding-left: 100px;}

.mpajax_result_inner .flex-col {
    text-align: left;
    padding-bottom: 10px;
    display: block;
    clear: both;
    overflow: hidden;
}

div#cabeceraTarifasIda {
    display: none;
}

.cabecera-viaje div {
    display: block;
}

.cabecera-viaje div.none {
    width: 100%;
    text-align: left;
    padding-left: 15px;
    line-height: 43px;
    vertical-align: middle;
    height: 40px;
}

.book_now_wrap {
    position: relative;
    visibility: visible;
    opacity: 1;
    background: transparent;
    display: block;
}

a#book_now_btn {
    display: block;
    margin: 10px 0;
}

.qty-selector {
}

.qty-selector.active {
    position: relative;
    display: block;
}

.qty-selector-inner {
    display: block;
    padding: 15px 0;
}

.qty-selector-inner>div {
    width: 100%;
    margin: 0;
    padding: 0 15px;
    margin-bottom: 10px;
    clear: both;
}

.qty-selector-inner label {
    width: 100px;
    text-align: left;
}

.qty-action-btn button {
    display: block;
    width: 47%;
}

.qty-action-btn {
    justify-content: space-between;
}

.qty-selector-inner>div:last-child {
    margin: 0;
}

}




option[disabled="disabled"] {
    color: rgba(0, 0, 0, 0.2);
}

.cabecera-viaje div {
    overflow: hidden;
}
/*
.page-id-10225 #compra .cabecera-compra {
    font-size: 0;
}
.page-id-10225 #compra .cabecera-compra:before {content: "Tickets";font-size: 16px;}
*/


@media only screen and (max-width:767px){
    
#compra .pasajeros .firts {
    display: inline-block;
    width: 140px;
}


}
