/*
---------------------------------------------------------------------------------------------
CARD
---------------------------------------------------------------------------------------------
*/

.card-info{
    background: #ECF1F7;
    border-radius: 1rem;
    border: none;
    padding: 2rem;
}
.card{
    background: #ffffff;
    border-radius: 1rem;
    border: none;
    padding: 2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.card-blue{
    box-shadow: none;
    background: #ECF1F7;
}
.card-blue.route-header{
    padding: 2rem 1.5rem;
}
.card-header{
    border-bottom: none;
}
.card-header .tilde, .user-title-bar .tilde{
    background: url('/web/img/tilde.png') no-repeat;
    background-size: contain;
    content: '';
    width: 2rem;
    height: 1rem;
    display: inline-block;
    margin-right: 1rem;
}
form .user-title{
    color: #003863;
    margin-bottom: 1rem;
}
.card-header .far,
.card-header .fal{
    margin-left: auto;
    font-size: 2rem;
    line-height: 1rem;
}

/*.card-header.simple {*/
/*    background: #003863;*/
/*    padding-bottom: 0.8875rem;*/
/*    text-transform: unset;*/
/*}*/

.card-header.simple-title {
    color: #003863 ;
    background: #ECF1F7;
    text-transform: unset;
    font-size: 1rem;
    display: flex;
    justify-content: space-between;
    border-radius: 1rem;
    padding: 1.5rem;
    font-weight: 500;
}

.card-header .direccion,
.direccion{
    background-color: #003863;
    color: white;
    border-radius: 1rem;
    margin-left: 0.5rem;
    padding: 0.25rem 0.625rem;
}

.card-header .text-right{
    margin-left: auto;
    font-size: 1rem;
    font-weight: 400;
    display: flex;
    justify-content: center;
    align-self: center;
}
.card-header .text-right button{
    background-color: #fff;
    color: #003863;
    padding: 0.625rem 2rem;
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 700;
    border: 0;
}
.card-header .text-right .fas{
    margin-right: 0.35rem;
    font-size: 0.8rem;
}
.card-header .text-right .fal{
    font-size: 1rem;
}

.card-header .text-right .login-text{
    display: none;
    color:white;
}
.card-header.simple{
    display: flex;
    background-color: #003863;
    border-radius: 16px;
    height: 6.25rem;
    background-image: url("../../web/img/aisa-logo-watermark.png");
    background-size: cover;
    background-position: 445px -7px;
    background-repeat: no-repeat;
}
.card-header.simple.card-login{
    height: auto;
}
.card-header .login-div{
    padding: 0.625rem;
}
.card-header .login-div h2{
    font-size: 1.5rem;
    color: #ffffff;
}
.card-header .login-div span,
.login-div p{
    font-size: 0.875rem;
    color: #ffffff;
}
.card-header.simple .btn-div{
    margin-left: auto;
    margin-top: 1rem;
}


/*
---------------------------------------------------------------------------------------------
SIDEBAR
---------------------------------------------------------------------------------------------
*/
.sticky-top{
    top: 1.25rem;
}

.sidebar{
    padding:0.5rem 1rem 1.25rem;
}
.sidebar .card-header{
    background: transparent;
    font-size: 1.25rem;
    text-transform: unset;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #003863;
    font-weight: 500;
}
.sidebar .card-header .fa-bus{
    background-color: #003863;
    text-align: center;
    padding: 0.97rem;
    border-radius: 50%;
    font-size: 1.563rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}
.sidebar .sidebar-card1{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.sidebar .sidebar-card2{
    display: flex;
    justify-content: space-between;
}
.sidebar .card-title{
    font-size: 0.875rem;
    font-weight: 600;
    color: #003863;
    text-align: center;
    letter-spacing: normal;
    text-transform: capitalize;
    line-height: 1.25rem;
}

.sidebar .card-body{
    background: #ffffff;
    padding: 1.5rem 1rem 1rem 1rem;
    border-radius: 0.5rem;
}

.sidebar .sb-datetimes{
    display: flex;
    flex-direction: row;
    text-align: right;
    font-size: 0.875rem;
    color: #003863;
    opacity: 60%;
}

.sidebar .sb-asientos {
    display: flex;
    flex-direction: row;
    align-items: center;
    color: #003863;
    font-size: 0.75rem;
    justify-content: space-between;
}
.sidebar .sb-asientos > span{
    font-size: 0.875rem;
}
.sidebar .sb-asientos > span:first-child{
    opacity: 60%;
}
.sidebar .sb-seat{
    display: flex;
    gap: 0.5rem;
}
.sidebar .sb-seat span {
    background: #003863;
    color: #fff;
    border-radius: 0.624rem 0.624rem 0.172rem 0.172rem;
    width: 1.625rem;
    height: 1.625rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}

.sidebar .sb-type{
    background: #ECF1F7;
    color: #003863;
    padding: 0.25rem 1rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 6.25rem;
}
.sidebar .sb-outward-bottom{
    padding-bottom:1rem;
    border-bottom: 1px dashed rgba(0, 56, 99, 0.3);
}
.sidebar .sb-return {
    padding-top:1rem;
}
.sidebar .sb-datetimes > div:nth-child(2){
    flex-grow: 1;
}

.sidebar .sb-date{
    text-align: right;
    color: #003863;
    font-weight: 600;
    font-size: 0.875rem;
}
/*.sidebar .sb-times{*/
/*    display: flex;*/
/*    text-align: right;*/
/*    font-size: 0.75rem;*/
/*    color: #003863;*/
/*    opacity: 60%;*/
/*}*/
.sidebar .sb-item-price{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: #003863;
    font-size:0.875rem ;
    font-weight: 400;
}
.sidebar .sb-item-price span{
    font-size: 0.625rem;
    color: #003863;
}
.sidebar .sb-item-price :nth-child(1) span{
    font-size: 1.3125rem;
}
.sidebar .sb-item-price .fa-angle-down{
    padding:  4px 8px;
    border-radius: 100px;
    background-color: rgba(236, 241, 247, 1);
    transition: transform .3s ease-in-out;
}
.sidebar .sb-item-price.open .fa-angle-down,
.trip-info-link.open .fa-angle-down{
    transform: rotate(180deg);
}
.sidebar .sb-item-price .fa-walking, .sidebar .sb-item-price .fa-suitcase,
.sidebar .sb-item-price .fa-walking, .sidebar .sb-item-price .fa-bicycle {
    color: #d1392c;
    font-size: 1.25rem;
    min-width: 1.75rem;
}
.sidebar .sb-item-price .fa-angle-down{
    margin-left: auto;
    color: #001476;
    font-size: 1.25rem;
}

.sidebar .sb-breakdown-info {
    display:none;
    font-size: 0.875rem;
}
.sidebar .sb-breakdown-info .sb-inner-breakdown {
    background-color: #ECF1F7;
    border-radius: 4px;
    color: #003863;
}
.sidebar .sb-breakdown-info .sb-inner-breakdown div {
    flex-grow:1;
    display: flex;
    padding: 0.5rem 0.5rem;
}
.sidebar .sb-breakdown-info .sb-inner-breakdown div:nth-child(odd){
    background: #F5F7FB;
}
.sidebar .sb-breakdown-info .sb-inner-breakdown div span, .sidebar .sb-services .sb-price{
    margin-left: auto;
    color: #003863;
}
.sidebar .sb-total{
    display: flex;
    justify-content: space-around;

}
.sidebar .sb-gestion,
.sidebar .sb-ticket-price
{
    display: flex;
    flex-direction: row;
    align-items: center;
}
.sidebar .sb-gestion {
    border-bottom: 1px dashed rgba(0, 56, 99, 0.3);
    padding-bottom: 0.5rem;
}
.sidebar .sb-gestion .sb-gestiontext,
.sidebar .sb-ticket-price .sb-tickettext
{
    font-size: 0.875rem;
    color: #003863;
    opacity: 60%;
}
.sidebar .sb-gestion .sb-gestionprice,
.sidebar .sb-ticket-price .sb-ticketprice
{
    margin-left: auto;
    color: #003863;
    opacity: 60%;
    font-size: 0.875rem;
}

.sidebar .card-footer{
    padding: 1rem;
    background: #fff;
    border-top: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    border-radius: 0.5rem;
    margin-top: 1rem;
}
.sidebar .card-footer .sb-totaltext{
    line-height: 1;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 3px;
}
.sidebar .card-footer .sb-totaltext span:nth-child(1){
    display: block;
    font-size: 1.125rem;
    font-weight: 400;
    color: #003863;
}
.sidebar .card-footer .sb-totaltext span:nth-child(2){
    font-size: 0.75rem;
    font-weight: 400;
    color: #003863;
    opacity: 60%;
}
.sidebar .card-footer .sb-totalprice{
    margin-left: auto;
    color: #003863;
    font-size: 1.75rem;
    font-weight: 500;
}
.sidebar .card-footer .sb-totalprice span{
    font-size: 1.375rem;
}
.sidebar .card-sb-resumen{
    display: flex;
    flex-direction: column;
    align-items: normal;
    gap: 0.5rem;
}
/* Continuar */
.btn-continue{
    display: flex;
    justify-content: left;
    align-items: center;
}
.btn-continue .fal{
    margin-left: auto;
}

/*Mensaje de validacion SB*/
.sb-error {
    font-size: 1rem;
    color: rgba(0, 56, 99, 0.82);
}
.sb-error b,
.sb-error strong{
    color: #003863;
}

/*
---------------------------------------------------------------------------------------------
FORMS
---------------------------------------------------------------------------------------------
*/
.form-group{
    margin-bottom: 1.25rem;
}
label{
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 400;
    color: #003863;
    line-height: 1em;
    display: block;
}
label.datos{
    color:  rgba(0, 56, 99, 0.82);
    margin-bottom: 1rem;
}
label .fa-question-circle{
    color: #003863;
}
.form-control,
.select2-container--bootstrap .select2-selection--single,
.form-group-datos .select2-selection.select2-selection--single{
    color: #003863;
    font-size: 1rem;
    font-weight: 500;
    height: 3.125rem;
    padding: 0.5rem 1rem;
    -webkit-appearance:none;
    cursor: pointer;
    border: 0;
    border-radius: 8px;

}

.select2-container--bootstrap .select2-results__option--highlighted[aria-selected] {
    background-color: #003863;
}

.form-control-datos{
    padding: 1rem 1.5rem;
    border: 1px solid rgba(0, 56, 99, 0.3);
    border-radius: 100px;
    color: #003863;
}

.form-control-datos.type-seat{
    width: 100%;
}
.reset-seat{
    color: #003863;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 3.75rem 0;
    cursor: pointer;
}

.title-pass{
    padding: 0.75rem 1rem;
}
.title-pass p{
    color: rgba(0, 56, 99, 0.82);
}
.title-pass .icon-check i{
    color: rgba(110, 110, 110, 1);
    border-radius: 50%;
    padding: 5px;
    font-size: 16px;
}
.title-pass .icon-check i.select-passenger{
    color: rgba(41, 178, 254, 1);
}
.title-pass .seat-passenger{
    font-weight: 500;
    margin-left: 0.5rem;
}
.reset-seat span{
    background: rgba(236, 241, 247, 1);
    border-radius: 100px;
    width: 28px;
    height: 29px;
    padding: 4px 8px;
    font-size: 0.75rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.reset-seat p{
    font-size: 0.875rem;
    margin-bottom: 0;
}
.form-control-datos::placeholder,
.form-control-datos .select2-container--bootstrap .select2-selection--single .select2-selection__rendered::placeholder{
    color: rgba(0, 56, 99, 0.82);
}
.form-group-datos .select2-selection.select2-selection--single{
    border: 1px solid rgba(0, 56, 99, 0.3);
    border-radius: 100px;
    padding: 0.5rem 1rem;
}
.form-group-datos .select2-container--open .select2-selection.select2-selection--single {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
}
.custom-control-label{
    display: inline-block;
    color: #003863;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.2rem;
    cursor: pointer;
}
.custom-control-label.custom-text,
.custom-control-text{
    font-size: 0.85rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: #003863;
}
.custom-control-label.custom-text a,
.custom-control-text a{
    text-decoration: underline;
}

.form-control:focus{
    box-shadow: unset;
    color: #003863;
    border-color:#003863;

}
.asterisk{
    color: #003863;
}

.was-validated .form-control:invalid,
.form-control.is-invalid{
    background: unset;
}
.was-validated .form-control:invalid:focus,
.form-control.is-invalid:focus{
    box-shadow: unset;
}
.invalid-feedback{
    font-size: 0.875rem;
    margin-top: 0.5rem;
}


.datepicker.form-control:disabled,
.datepicker.form-control[readonly] {
    background: #fff;
}

.form-group .fa-user,
.form-group .fa-clock {
    position: absolute;
    right: 2rem;
    top: 3rem;
    font-size: 1rem;
    /* opacity: 0.6; */
    pointer-events: none;
    color: #003863;
}
.duration .fa-clock,
.stops .fa-info-circle{
    margin-bottom: 0.188rem;
}
.form-group .fa-calendar-alt{
    position: absolute;
    right: 2rem;
    top: 2.5rem;
    font-size: 1rem;
    font-weight: 400;
    pointer-events: none;
    color: #003863;
}
.datepicker td, .datepicker th,
.datepicker .datepicker-switch{
    color: #003863;
    padding: 0.625rem;
}
.datepicker table tr td.active.active,.datepicker table tr td.active:hover.active{
    background: #003863;
}

/*
---------------------------------------------------------------------------------------------
SELECT2
---------------------------------------------------------------------------------------------
*/
.select2-container--bootstrap{
    width: 100% !important;
}
.card-buscador .select2-container--bootstrap .select2-selection--single,
.select2-container--bootstrap .select2-selection--single .select2-selection__rendered,
.form-group-datos .select2-selection.select2-selection--single{
    display: flex;
    align-items: center;
}
.form-group-datos .select2-selection.select2-selection--single{
    padding: 1rem 1.5rem;
}
.select2-container--bootstrap .select2-selection--single .select2-selection__rendered{
    color: #003863; !important;
}
.card-buscador .select2-container--bootstrap .select2-selection--single .select2-selection__rendered{
    color: #003863;
}
.select2-container--bootstrap .select2-selection--single .select2-selection__arrow b,
.select2-container--bootstrap.select2-container--open .select2-selection .select2-selection__arrow b{
    border-color: #003863 transparent transparent;
    margin-left: -11px;
}

.select2-container--bootstrap .select2-selection--single{
    box-shadow: unset;
    line-height: 1.5em;
}
.select2-container--bootstrap .select2-results__option{
    color: #003863;
}

/*
---------------------------------------------------------------------------------------------
BUSCADOR
---------------------------------------------------------------------------------------------
*/

.card-buscador .buscador{
    background: #ECF1F7;
    border-radius: 1rem;
    border: none;
    padding: 2rem 2rem 0.75rem 2rem;
}

div.div-change{
    position: relative;

}

/* Boton cambio */
button.btn-change,
button.btn-change2{
    display:flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    background: white;
    color: #003863;
    font-size: 1rem;
    font-weight: 500;
    border: 0;
    border-radius: 1.5rem;
    z-index: 10;
    box-shadow: 0 0 6px 2px rgba(0, 0, 0, 0.1);
}

button.btn-change{
    position: absolute;
    top: 1.9375rem;
    left: calc(50% - 18px);
}

button.btn-change2{
    flex-shrink: 0;
}

/*
---------------------------------------------------------------------------------------------
BUSCANDO
---------------------------------------------------------------------------------------------
*/

#searching-modal .modal-dialog{
    min-width: 44rem;
}
#searching-modal .modal-content {
    border-color: #D7D8D8;
    border-radius: 1rem;
}
#searching-modal .modal-body{
    padding: 4rem;
}
#searching-modal .logo {
    width: 50%;
    margin: 0 auto 2rem auto;
    text-align: center;
}
#searching-modal .logo img {
    width: 50%;
}
#searching-modal .text1{
    width: 70%;
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: #003863;
    margin: 0 auto;
}
#searching-modal .text2{
    text-align: center;
    font-size: 1.25rem;
    font-weight: 500;
    color: #003863;
}
#searching-modal .anim{
    padding: 4rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
#searching-modal .anim img {
    width: 100%;
}
#searching-modal .anim .circle{
    border-radius: 50%;
    background: #d1392c;
    width: 0.6875rem;
    height: 0.6875rem;
}
#searching-modal .anim .circle.circle16{
    width: 1rem;
    height: 1rem;
}
#searching-modal .anim .circle.circle20{
    width: 1.25rem;
    height: 1.25rem;
}
#searching-modal .anim .circle.circle25{
    width: 1.5625rem;
    height: 1.5625rem;
}

@keyframes searchingAnim {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.25;
    }
    100% {
        opacity: 1;
    }
}
#searching-modal .anim > span {
    animation: searchingAnim 2000ms infinite;
}
#searching-modal .anim > span:nth-child(2){animation-delay: 100ms;}
#searching-modal .anim > span:nth-child(3){animation-delay: 200ms;}
#searching-modal .anim > span:nth-child(4){animation-delay: 300ms;}
#searching-modal .anim > span:nth-child(5){animation-delay: 400ms;}
#searching-modal .anim > span:nth-child(6){animation-delay: 500ms;}
#searching-modal .anim > span:nth-child(7){animation-delay: 600ms;}
#searching-modal .anim > span:nth-child(8){animation-delay: 700ms;}
#searching-modal .anim > span:nth-child(9){animation-delay: 800ms;}

/*
---------------------------------------------------------------------------------------------
RESULTADOS
---------------------------------------------------------------------------------------------
*/

/* Cabecera de la ruta */
.route-header .card-body{
    display: flex;
    flex-direction: row;
    padding: 0;
    align-items: center;
}

.route-header .card-body > div{
    padding: 0 1.5rem;
}
.route-header .card-body .rh-route{
    flex-grow: 1;
    padding-left: 0;
}
.route-header .card-body .rh-modifyDate{
    padding:0;
}
.route-header .card-body .rh-precio{
    flex-shrink: 0;
}

.route-header .rh-origindestination{
    display: flex;
    flex-direction: row;
    flex-grow: 1;
    align-items: center;
    font-size: 1.25rem;
}
.route-header .rh-origindestination > :nth-child(1),
.route-header .rh-origindestination > :nth-child(3){
    flex: 1 1 49%;
    min-width: 7.5rem;
}
.route-header .rh-name{
    font-size: 1.25rem;
    line-height: 1.1;
    font-weight: 500;
    color: #003863;
    text-align: left;
}
.route-header .rh-date{
    color: #003863;
    font-size: 1rem;
    text-align: left;
    padding-top: 0.5rem;
}
.route-header .rh-origindestination > :nth-child(3) .rh-name,
.route-header .rh-origindestination > :nth-child(3) .rh-date{
    text-align: right;
}

.route-header .rh-origindestination > :nth-child(2){
    flex: 100 1 80%;
    max-width: 15rem;
    margin: 0 1rem;
}
.route-header .rh-origindestination > :nth-child(2) > :nth-child(1){
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
.route-header .rh-origindestination > :nth-child(2) > :nth-child(2){
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
.route-header .rh-origindestination .dot{
    z-index : 2;
    flex-grow: 0;
    display: block;
    width: 12px;
    height: 12px;
    border: 4px solid rgba(0, 56, 99, 0.82);
    border-radius: 50%;
}
.route-header .rh-origindestination form{
    flex-grow: 1;
    display: flex;
    align-items: center;
    position: relative;
}
.route-header .rh-origindestination form:before,
.route-header .rh-origindestination form:after{
    flex-grow: 1;
    display: inline-block;
    width: 50%;
    height: 16px;
    content: '';
    color: #00386399;
    background: url('/web/img/flecha-horarios.png') center right no-repeat;
    background-size: 75px;
    margin: 0 1rem 0 0.5rem;
}
.route-header .rh-origindestination form:after{
    margin: 0 0.5rem 0 1rem;
}

.route-header .rh-origindestination .rh-type{
    text-align: center;
    color: #003863;
    white-space: nowrap;
    font-size: 0.875rem;
    padding-top: 0.5rem;
}

.rh-modifyDate{
    text-align: right;
}
.rh-modifyDate button {
    color: #003863;
    background: #ffffff;
    border: 0;
    padding: 1rem 1rem;
    border-radius: 6.25rem;
    width: 8.313rem;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.rh-modifyDate button:hover {
    color: #004b85;
}
.rh-modifyDate button > span{
    display: flex;
    align-items: center;
    justify-content: center;
}
.rh-modifyDate button > span:nth-child(1) .fas{
    margin-right: 0.625rem;
}
.rh-modifyDate button > span:nth-child(2) .far{
    margin-left: 0.625rem;
}

.rh-modifyDate button > span:nth-child(2){
    display: none;
}
.rh-modifyDate button.open > span:nth-child(1){
    display: none;
}
.rh-modifyDate button.open > span:nth-child(2){
    display: block;
}
.rh-search {
    padding-bottom: 0.75rem;
}
.rh-search .btn .far{
    margin-right: 0.625rem;
}

/* Viajes */

.route .card-header{
    cursor: pointer;
}
.route .card-body{
    padding: 0;
}

.trip{
    cursor: pointer;
    padding: 0;
    transition: transform .3s ease-in-out;
    margin-bottom: 1rem;
    border: 0;
    background: #ffffff;
    box-shadow: 0 0 6px 2px rgba(0, 56, 99, 0.12);
    border-radius: 1rem;
}
.trip:not(.unavailable):not(.disabled):hover {
    transform: scale(1.05);
    box-shadow: 0 0 3px rgba(0,0,0,0.2);
    z-index: 2;
    border-radius: 1rem;
}
.trip .trip-inner{
    padding: 1.5rem;
}
.trip-content{
    display: flex;
}

.trip .trip-inner2{
    flex: 1 1 99%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.trip .trip-check{
    flex-shrink: 0;
    padding: 0 1.875rem;
    font-size: 1.5rem;
}
.trip .trip-check .far{
    color: #C4C5C5;
    display: block;
}
.trip .trip-check .fas{
    color: #d1392c;
    display: none;
}

.trip .trip-price{
    margin-left: 1.875rem;
    flex-shrink: 0;
    border: 1px dashed rgba(0, 56, 99, 0.3);
    padding: 2rem;
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
}
.trip .trip-price .price{
    display: flex;
    flex-direction: column;
    color: #003863;
}
/*.trip .trip-price :nth-child(1){*/
/*    font-size: 1.375rem*/
/*}*/
.trip .trip-price .price span:nth-child(1){
    font-size: 1.25rem;
}
.trip .trip-price .price span:nth-child(2){
    font-size: 1.5rem;
    font-weight: 700;
}

.trip .trip-price .trip-tarifa{
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
    background: rgba(209, 57, 44, 1);
    text-align: center;
    width: 6.125rem;
    padding: 0.5rem 1rem;
    border-radius: 6.25rem;
}
.trip .trip-tariffs .tariff {
    padding: 1rem;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    border: 2px solid rgba(0,56,99,0.3);
    margin: 0;
}
.trip .trip-tariffs .tariff .info {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.trip .trip-tariffs .tariff .text {
    display: block;
    color: #003663;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.trip .trip-tariffs .tariff .price{
    color: #003863;
    font-size: 1.5rem;
    font-weight: 700;
}
.trip .trip-tariffs .tariff .price span{
    font-size: 1.25rem;
}
.trip .trip-tariffs .tariff .small-text {
    font-size: 0.875rem;
    color: #003863;
    opacity: 60%;
}
.trip .trip-tariffs input[type='radio'] {
    display: none;
}

.trip .trip-tariffs .tariff .check-icon{
    font-size: 1.625rem;
}

.trip .trip-tariffs .tariff .check-icon .far {
    color: rgba(0, 56, 99, 0.3);
}

.trip .trip-tariffs .tariff .check-icon .fas {
    color: #d1392c;
    display: none;
}
.trip .trip-tariffs input[type='radio']:checked + label.tariff {
    border-color: #003863;
    background-color: #fefefe;
}

.trip .trip-tariffs input[type='radio']:checked + label.tariff .far {
    display: none;
}

.trip .trip-tariffs input[type='radio']:checked + label.tariff .fas {
    display: inline-block;
}

.trip .trip-price :nth-child(3){
    font-size: 0.875rem;
    font-weight: 400;
    color: #003863;
    text-align: right;
}
.trip .trip-info-link a{
    color: #003863;
}


.trip .trip-show-stops{
    margin: 0 1.875rem 0 1.875rem;
    border: 1px solid #C4D6ED;
    border-radius: 5px;
    padding: 1rem 0.5rem;
    display: flex;
    align-items: center;
    cursor: pointer;
}
.trip .trip-show-stops .far {
    font-size: 1.5rem;
    color: #001476;
    margin-right: 0.75rem;
}
.trip .trip-show-stops span:nth-child(2){
    font-size: 0.875rem;
    line-height: 1.1;
    color: #5F6369;
}

.trip .trip-info{
    border-bottom: 1px dashed rgba(0, 56, 99, 0.3);

}
.trip .trip-info-origindestination{
    display: flex;
    flex-direction: row;
    align-items: center;
    position: relative;
    margin-top: 0.75rem;
    margin-bottom: 1.5rem;
    color: #003863;
    opacity: 60%;
    font-size: 1.125rem;
}
.trip .trip-info-origindestination > :nth-child(1),
.trip .trip-info-origindestination > :nth-child(3){
    flex-shrink: 0;
}
.trip .trip-info-origindestination > :nth-child(3){
    margin-left: auto;
}
.trip .trip-info-origindestination > :nth-child(2){
    flex-grow: 1;
    text-align: center;
    position: absolute;
    top:0;
    left: 50%;
    transform: translateX(-50%);
}
.trip .trip-info-origindestination > :nth-child(2) span{
    color: #D6E3F2;
}

.trip .trip-info-times{
    display: flex;
    flex-direction: row;
    align-items: center;
}
.trip-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.9em;
    color: #003863;
    margin-top: 0.8rem;
}

.trip-details span{
    display: flex;
    align-items: center;
    gap: 5px;
    color: #003863;
}
.trip .trip-details i{
    border-radius: 50%;
}
.trip-info-resumen{
    display: flex;
    gap: 1rem;
    color: #003863;
}
.trip-info-resumen .duration{
    margin-right: 0.5rem;
}

.trip .trip-info-times > :nth-child(1),
.trip .trip-info-times > :nth-child(3){
    flex-shrink: 0;
    font-size: 2rem;
    font-weight: 500;
    color: #003863;
    min-width: 4.2rem;
    text-align: center;
}
.trip .trip-info-times > :nth-child(2){
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.trip .trip-info-times .dot{
    display: inline-block;
    margin: 0 0 0 0.5rem;
    background: #DCE5F5;
    border-radius: 50%;
    z-index : 2;
    flex-grow: 0;
}
.trip .trip-info-times .dot:first-child{
    position: relative;
    left: 2%;
}
.trip .trip-info-times .dot span {
    display: block;
    width: 5px;
    height: 5px;
    background: #d1392c;
    border-radius: 50%;
}
.trip .trip-info-times .dot:first-child{
    margin: 0 0 0 0.75rem;
}
.trip .trip-info-times .dot:last-child{
    background: #ffffff;
    margin: 0 0.75rem 0 0;
}
.trip .trip-info-times .dot:last-child span{
    background: #d1392c;
}
.trip .trip-info-times .bus{
    flex-grow: 1;
    display: flex;
    align-items: center;
    position: relative;
}
.trip .trip-info-times .bus .fa-bus{
    padding: 10px 10px;
    color: #003863;
    border-radius: 323px;
    background-color: rgba(236, 241, 247, 1);
}
.trip .trip-info-times .bus .fa-bus:before{
    display: flex;
    justify-content: center;
}
.trip .trip-info-times .bus:before,
.trip .trip-info-times .bus:after{
    flex-shrink: 1;
    width: 50%;
    display: inline-block;
    height: 2px;
    content: '';
    background: url('/web/img/flecha-horarios.png') right center repeat;
    margin: 0 0 0 0.5rem;
}
.trip .trip-info-times .bus:after{
    margin: 0 ;
}

.trip .trip-info-times .bus .duration{
    position: absolute;
    top: 1.6rem;
    left: 0;
    width: 100%;
    text-align: center;
}

/* Paradas del viaje */

.trip .trip-stops{
    display: none;
}
.trip .trip-stops-inner{
    margin-top: 1rem;
}
.trip .trip-stops-title{
    padding-top: 0.5rem;
    color: #003863;
}
.trip .trip-stops-inner ul {
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
    margin-bottom:1rem;
    color: #003863;
}
.trip .trip-stops-inner ul li {
    list-style: none;
    position: relative;
    flex: 100% 1 1;
    font-size: 1rem;
    display: flex;
    flex-direction: row;
    text-align: left;
    padding: 0.2rem 0;
    align-items: center;
    cursor: pointer;
}
.trip .trip-stops-inner ul li:before {
    content: '';
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 100%;
    display: block;
    margin: 0 0.875rem 0 0;
    background-color: #D1392C;
    border: 2px solid #D1392C;
    flex-shrink: 0;
    transition: border 0.3s ease-in-out;
    z-index : 2;
}
.trip .trip-stops-inner ul li:after {
    content: "";
    position: absolute;
    background-color: #E1EAF6;
    z-index : 1;
    width: 2px;
    height: 100%;
    top: -50%;
    left: 0.26rem;
}
.trip .trip-stops-inner ul li:first-child:after {
    content: none;
}
.trip .trip-stops-inner ul li span:nth-child(1){
    color: #000;
    font-weight: 500;
    margin-right: 1rem;
}
.trip .trip-stops-inner ul li span .asterisk {
    margin-right:0;
    color: #003863;
    font-size:0.75rem;
}

.trip .trip-stops .trip-message {
    text-align: right;
    line-height: 1;
    font-size:0.75rem;
}

/* Viaje seleccionado */

.trip.selected .trip-inner .trip-price{
    /*border-color: #003863;*/
}
.trip.selected .trip-check .far{
    display: none;
}
.trip.selected .trip-check .fas{
    display: block;
}

/* Viaje deshabilitado */

.trip.disabled {
    display:none;
    cursor:not-allowed;
    opacity: 0.8;
}

/* Viaje no disponible online */

.trip.unavailable {
    cursor:not-allowed;
}
.trip.unavailable .trip-check .far{
    color: #F1F1F1;
    background: #F1F1F1;
    border-radius: 50%;
}

.trip .unavailable{
    text-align:center;
    background: #EDEDED;
    padding: 0.625rem 1rem;
    color: #5F6369;
}

.trip.unavailable.past {
    cursor:not-allowed;
    opacity: 0.8;
}
.trip.unavailable.past .trip-info-times > :nth-child(1),
.trip.unavailable.past .trip-info-times > :nth-child(3),
.trip.unavailable.past .trip-info-times .bus .fa-bus,
.trip.unavailable.past .trip-show-stops .far,
.trip.unavailable.past .trip-show-stops span:nth-child(2){
    color: #8A8C8C;
}

.trip.unavailable.past .trip-info-times .dot,
.trip.unavailable.past .trip-info-times .dot:last-child{
    border: 5px solid #F9F9F9;
    background: #EDEDED;
}
.trip.unavailable.past .trip-info-times .dot span,
.trip.unavailable.past .trip-info-times .dot:last-child span{
    border: 4px solid #EDEDED;
    background: #8A8C8C;
}

/* SELECTOR DE PASAJEROS INDEX */

/*Desplegable pasajeros*/
.select-passenger-div input[name="passengers"]{
    cursor: pointer;
}

.select-passenger-div .form-control:disabled,
.select-passenger-div .form-control[readonly] {
    background-color: #ffffff !important;
}

.select-passengers{
    display: none;
    box-shadow: 0 0 4px rgba(0,0,0,0.2);
    border-radius: 3px;
    position: absolute;
    z-index: 11;
    color: #555;
    width: calc(100% - 30px);
    background: #fff;
    padding: 1rem;
    top: 100%;
}
.select-passengers > div{
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}
.select-passengers > div:last-child{
    margin-bottom: 0;
}
.select-passengers .text{
    line-height: 1.1;
}
.select-passengers .help{
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #b2b2b2;
}
.select-passengers .btn-group{
    margin-left: auto;
}
.select-passengers .btn{
    font-size: 1.125rem;
    font-weight: 800;
    border: none;
    width: 2.3125rem;
    height: 2.3125rem;
    background: #0F4DBC;
}
.select-passengers .btn:hover {
    background-color: #d1392c;
    border-color: #d1392c;
}
.select-passengers .btn:focus,
.select-passengers .btn.focus {
    background-color: #d1392c;
    border-color: #d1392c;
}

.select-passengers .quantity {
    width: 2.3125rem;
    height: 2.3125rem;
    line-height: 2.3125rem;
    font-weight: 600;
    cursor: default;
    text-align: center;
    border: 0;
}

/*
---------------------------------------------------------------------------------------------
PASAJEROS
---------------------------------------------------------------------------------------------
*/

.copy-contact-info,
.copy-pax-info{
    font-size: 0.875rem;
    color: #8A8C8C;
}

.tariff-group{
    background: #ECF1F7;
    border-radius: 8px;
    padding: 0.75rem 0.5rem;
    display: flex;
    align-items: center;
    cursor: pointer;
}
.tariff-group .custom-control-label{
    font-size: 1rem;
}
.tariff-group .custom-control-input:not(:disabled):active ~ .custom-control-label::before,
.tariff-group .custom-control-input:checked ~ .custom-control-label::before {
    background-color: #D1392C;
    border-color: #D1392C;
}
.tariff-group .custom-control-label::before,
.tariff-group .custom-control-label::after {
    top: 0.22rem;
}
.tariff-group > .fas{
    margin-left: auto;
    color: #003863;
}

.row-fn-data .far {
    top: 3rem;
}

/*
---------------------------------------------------------------------------------------------
ASIENTOS
---------------------------------------------------------------------------------------------
*/

/* Estilos generales */
.title-seats{
    font-size: 1.5rem;
    font-weight: 600;
    color: #003863;
}
.desc-seats{
    font-size: 1rem;
    font-weight: 400;
    color: rgba(0, 56, 99, 0.82);
}
.desc-seats span{
    font-weight: 700;
}
.bus-container {
    position: relative;
    overflow: hidden;
    width:750px;
    height: 600px;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #ccc;
    border-radius: 8px;
}

.bus-inner {
    padding: 20px;
    text-align: center;
}

.bus-inner h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #444;
}

/*!* Estilos del autobús *!*/
.bus-route {
    margin-bottom: 2rem;
}
.bus-route .bus-select {
    padding: 1rem;
    background:#ECF1F7;
    border-radius:0.625rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #003863;
    cursor:pointer;
}
.bus-route .bus-select.selected {
    background:#003863;
    color: #ECF1F7;
}
.bus-route .bus-select span:first-child {
    background: #003863;
    color: #ECF1F7;
    text-align: center;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 6.25rem;
    padding: 0.3rem 0.7rem;
    margin-right: 0.5rem;
}
.bus-route .bus-select.selected span:first-child {
    background: #ECF1F7;
    color: #003863;
}

.legend .circle {
    height: 15px;
    width: 15px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 10px;
}
.legend .circle.circle-tuasiento {
    background-color: #D1392C;
}
.legend .circle.circle-ocupado {
    background-color: #A5BACB;
}
.legend .circle.circle-libre {
    background-color: #003863;
}

.div-legends{
    margin-top: 5rem;
}
.div-legends .legend {
    white-space: nowrap;
}

.passengers{
    display: flex;
    align-self: start;
    flex-direction: column;
}
.passengers h4{
    font-size: 1.125rem;
    color: #003863;
    font-weight: 400;
    margin-bottom: 2rem;
}
.passengerInfo{
    border: 1px solid white;
    cursor: pointer;
    margin-bottom:0.25rem;
}
.passengerInfo.selected {
    font-weight: bold;
}
.passengerInfo.selected, .passengerInfo:hover{
    border-radius: 5px;
    border: 1px solid rgba(0, 56, 99, 0.3);
}
.passengerInfo p{
    margin: 0 0.5rem 0 1rem;
}

/*!* Asiento *!*/
.seatmap {
    width: 242px;
    height: 720px;
    background-image: url("../../web/img/bus-silueta.svg");
}

.seatmap .seat {
    position: absolute;
    cursor:pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #003863;
    border-radius: 10px 10px 3px 3px;
    width: 34px;
    height: 34px;
}
.seatmap .seat.seatStatus-P {
    background: none;
    cursor: default;
}
.seatmap .seat.seatStatus-O {
    background: #A5BACB;
    cursor: not-allowed;
}
.seatmap .seat.seatStatus-L {
    transition: all 0.3s ease-in-out;
}
.seatmap .seat.seatStatus-L.selected {
    background: #D1392C;
    color: white;
    cursor: default;
}

.seatmap .seat span {
    text-align: center;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
}

.seatmap .seat.seatStatus-L:hover {
    transform: scale(1.1);
}

/*!* Otros *!*/

.div-text-seats{
    font-size: 0.85rem;
    font-weight: 400;
}

.container-continue{
    display: flex;
    justify-content: center;
}
.line-separate{
    border-top: 4px solid rgba(0, 56, 99, 0.3);
    opacity: 25%;
}
.btn-seats{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.btn-continue{
    padding: 0.8125rem 2rem;
    background-color: #D1392C;
    border-radius: 3.125rem;
    border: none;
    color: white;
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    font-size: 1.125rem;
    font-weight: 700;
}
.btn-continue .text {
    color:white;
}

/*
---------------------------------------------------------------------------------------------
DATOS
---------------------------------------------------------------------------------------------
*/
.container.logout-text{

}
.container .title-datos{
    font-size: 1rem;
    font-weight: 500;
    color: #003863;
    line-height: 1.172rem;
}
.card .title-passenger{
    color: #003863;
    font-weight: 600;
}
.card .title-passenger span{
    display: flex;
    font-size: 0.75rem;
    font-weight: 400;
}
.custom-control-switch{
    color: #003863;
    font-weight: 500;
}
/**CONTRASEÑA*/
.custom-checkbox-switch{
    display: flex;
    justify-content: space-between;
}
/* Contenedor del interruptor */
.toggle-switch {
    position: relative;
    width: 50px;
    height: 25px;
}

.toggle-switch input {
    display: none;
}

.toggle-switch .slider {
    position: absolute;
    cursor: pointer;
    top: 0.438rem;
    left: 0;
    right: 0.375rem;
    bottom: -0.813rem;
    background-color: rgba(0, 56, 99, 0.4);
    border-radius: 1.563rem;
    transition: background-color 0.3s ease-in-out;
}

.toggle-switch .slider:before {
    position: absolute;
    content: '';
    height: 1.125rem;
    width: 1.125rem;
    left: 0.125rem;
    bottom: 0.156rem;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s ease-in-out;
}

.toggle-switch input:checked + .slider {
    background-color: #003863;
}

.toggle-switch input:checked + .slider:before {
    transform: translateX(22px);
}
.password-wrapper {
    position: relative;
}

.password-wrapper .toggle-password {
    position: absolute;
    right: 25px;
    top: 13px;
    cursor: pointer;
    color: #003863;
    max-width: 18px;
    max-height: 18px;
}

.password-wrapper .toggle-password:hover {
    color: rgba(0, 56, 99, 0.82);
}
/*
---------------------------------------------------------------------------------------------
PAGO
---------------------------------------------------------------------------------------------
*/

label .service-ico{
    margin-right: 0.5rem;
    color: #888;
}
label .precio{
    margin-left: 0.5rem;
    color: #888;
    font-size: 0.875rem;
}

.gateways {
}

.gateways input[type='radio'] {
    display: none;
}

.gateways label.payment-card {
    display: flex;
    flex-direction: column;
    align-items: start;
    text-align: center;
    position: relative;
    border-radius: 1rem;
    padding: 2rem;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 8px rgba(0, 56, 99, 0.12);
    border: 1px solid #fff;
    background: #fff;
    margin: 0;
}

.gateways label.payment-card .ico {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.5rem;
}

.gateways label.payment-card .ico img {
    max-width: 131px;
    height: auto;
}

.gateways label.payment-card .text {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(0, 56, 99, 0.82);
}

.gateways label.payment-card .check-icon{
    position: absolute;
    top: 0;
    right: -6px;
    font-size: 1.625rem;
    padding: 2rem;
}

.gateways label.payment-card .check-icon .far.is-invalid{
    color: #d1392c;;
}
.gateways label.payment-card .far {
    color: rgba(0, 56, 99, 0.3);
}
.gateways label.payment-card .fas {
    color: #d1392c;
    display: none;
}

.gateways input[type='radio']:checked + label.payment-card {
    border: 1px solid #003863;
    background-color: #fefefe;
}

.gateways input[type='radio']:checked + label.payment-card .far {
    display: none;
}

.gateways input[type='radio']:checked + label.payment-card .fas {
    display: inline-block;
}



/*
---------------------------------------------------------------------------------------------
CONFIRMACION
---------------------------------------------------------------------------------------------
*/
.step3-container{
    margin: 0 auto;
}

.step3-container h2{
    color: #003863;
    font-size: 1.5rem;
}
.step3-container h2 .fas{
    color: #d1392c;
    font-size: 1.625rem;
    vertical-align: middle;
    margin-right: 1rem;
}
.step3-container .intro{
    color: #003863;
    font-weight: 600;
}
.step3-container .intro span{
    font-weight: 400;
}

.c-header .card-body{
    display: flex;
    padding: 1.25rem 2rem;
}

.c-header .resume-trip{
    display: flex;
    justify-content: space-between;
}

.c-header .card-body .route{
    flex: 0 1 66.66%;
    display: flex;
    flex-direction: column;
}

.c-header .card-body .route .type {
    font-size: 0.875rem;
    color: #003863;
    text-align: center;
}
.c-header .card-body .route .originDestination{
    display: flex;
    flex-direction: row;
    flex-grow: 1;
    align-items: center;
    margin: 0 0 0.35rem 0;
}
.c-header .card-body .route .originDestination > :nth-child(1),
.c-header .card-body .route .originDestination > :nth-child(3){
    flex: 1 1 49%;
    font-size: 1.375rem;
    font-weight: 500;
    color: #003863;
    text-align: left;
    padding: 0 1.25rem 0 0;
}
.c-header .card-body .route .originDestination > :nth-child(3){
    text-align: right;
    padding: 0 0 0 1.25rem;
}
.c-header .card-body .route .originDestination > :nth-child(2){
    flex: 10 1 40%;
    display: flex;
    flex-direction: row;
    align-items: center;
}
.c-header .card-body .route .originDestination .dot{
    display: inline-block;
    flex-grow: 0;
}
.c-header .card-body .route .originDestination .dot span {
    display: block;
    width: 12px;
    height: 12px;
    border: 4px solid rgba(0, 56, 99, 0.82);
    border-radius: 50%;
}

.c-header .card-body .route .originDestination .bus{
    flex-grow: 1;
    display: flex;
    align-items: center;
}
.c-header .card-body .route .originDestination .bus .fa-bus{
    font-size: 1.375rem;
    color: #003863;
    flex-shrink: 0;
    padding: 0.625rem;
    border-radius: 323px;
    background-color: rgba(236, 241, 247, 1);
}
.c-header .card-body .route .originDestination .bus:before,
.c-header .card-body .route .originDestination .bus:after{
    flex-grow: 1;
    display: inline-block;
    width: 50%;
    height: 16px;
    content: '';
    background: url('/web/img/flecha-horarios.png') right center no-repeat;
    margin: 0 0.5rem;
}
.c-header .card-body .route .originDestination .bus:after {
    background: url('/web/img/flecha-horarios.png') right center no-repeat;
}
.c-header .card-body .route .date-type{
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #003863;
    font-size: 1rem;
    width: 100%;
}
.c-header .resume-trip .share-dwl{
    display: flex;
    align-items: center;
}
.c-header .resume-trip .share-dwl .share{
    border: 1px solid rgba(209, 57, 44, 1);
    border-radius: 100px;
    padding: 0.625rem 1rem 0.5rem 1rem;
    width: 3rem;
    height: 3rem;

}
.c-header .resume-trip .share-dwl .share i{
    color: #003863;
}

.c-header .card-body .download{
    display: flex;
    justify-content: center;
    align-items: center;
}
.c-header .card-body .download .btn{
    border-radius: 2rem;
    padding: 0.625rem 2rem;
}

.c-pax .card-header{
    display: block;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}
.c-pax .card-header .row div{
    white-space: nowrap;
}
.intro .c-header{
    padding: 0.25rem;
}

.card-info.c-pax{
    padding-bottom: 1rem;
}
.c-pax .card-body{
    display: block;
}
.c-pax .card-body .row:not(:last-child){
    margin-bottom: 0.5rem;
}
.c-pax .card-body .row{
    align-items: center;
}

.c-pax .info-pax{
}
.c-pax .pax-name{
    font-size: 1.25rem;
    color: #003863;
    font-weight: 500;
    margin-bottom: 0.5rem;
}
.c-pax .pax-tarifa{
    display: flex;
    flex-direction: row;
    gap: 1rem;
}
.c-pax .pax-tarifa span:first-child{
    color:rgba(0, 56, 99, 0.82);
}
.c-pax .pax-tarifa span:not(:first-child){
    font-size: 1rem;
    background: #ffffff;
    padding: 0 0.25rem;
    color: #003863;
    border-radius: 0.25rem;
}

.c-pax .resume-trip{
    display: flex;
    flex-direction: row;
    gap: 2rem;
    justify-content: flex-end;
}
.c-pax .localizador{
    display: flex;
    flex-direction: column;
    margin-bottom: 0.875rem;
}
.c-pax .localizador span{
    color: rgba(0, 56, 99, 0.82);
    font-size: 1rem;
    font-weight: 400;
}
.c-pax .localizador span:nth-child(2){
    font-size: 2rem;
    line-height: 1.15;
    font-weight: 500;
    color: #003863;
}


.c-resume .route-header{
    background: rgba(236, 241, 247, 1);
    color: #003863;
    padding: 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.c-resume .route-inner{
    padding: 0 1.5rem;
    color: #003863;
}

.c-resume .route-prices{
    padding: 0 1.5rem;
    color: #003863;
}
.c-resume .route-prices .total-text{
    font-weight: 700;
}
.c-resume .route-prices .total-text-iva{
    color: rgba(0, 56, 99, 0.3);
}
.c-resume .route-prices .total-price{
    font-weight: 700;
    font-size: 1.25rem;
}
.c-resume .route-prices .total-price span{
    font-size: 1rem;
}

.c-resume hr{
    border-top: 1px dashed #00386399;
    margin-bottom: 1.5rem;
}

.card.c-payment{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;

    color:#003863;
}
.c-payment .icon{
    display: flex;
    flex-direction: column;
    width: 5.625rem;
}
.c-payment .icon img{
    width: 100%;
    height: auto;
}
.c-payment .content p{
    margin: 0;
}
.c-payment .content p span{
    font-weight: 700;
}

.c-estacion{
}
.c-estacion .card-body{
    padding: 0;
}
.c-estacion {
    display: flex;
}
.c-estacion .fal{
    color: #003863;
    margin: 0.35rem 1rem 0 0;
    flex-shrink: 0;
}
.c-estacion .content{
    flex-grow: 1;
}
.c-estacion .title{
    color: #003863;
    display: block;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}
.c-estacion .text{
    display: block;
    color: #6688A1;
}

/*
---------------------------------------------------------------------------------------------
LOGIN
---------------------------------------------------------------------------------------------
*/

#login-modal .modal-content{
    border: 0;
    border-radius: 16px;
}
#login-modal .modal-close{
    display: flex;
    justify-content: end;
    padding: 0.5rem 0.5rem 0 1.5rem;
}
#login-modal .modal-close .close{
    font-size: 1.5rem;
    font-weight: 400;
    padding: 0.25rem 1rem;
    color: #003863;
    opacity: 1;
}

#login-modal .modal-header{
    border: 0;
    padding: 0 2rem 2rem;
    display: flex;
    justify-content: center;
}

#login-modal .modal-header .modal-title{
    color: #003863;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

#login-modal .modal-body {
    padding: 0 2.5rem 1rem 2.5rem;
}
#login-modal .modal-body label{
    font-size: 1rem;
    color: rgba(0, 56, 99, 0.82);
    margin-bottom: 1rem;
}
#login-modal .modal-body .form-control-datos{
    padding: 1rem 1.5rem;
    border: 1px solid rgba(0, 56, 99, 0.3);
    border-radius: 100px;
    color: #003863;
}
#login-modal .modal-body .form-control.disabled{
    background: #E4E4E4;
}
#login-modal .fa-calendar-alt {
    right: 2rem;
    top: 2.2rem;
}
#login-modal .modal-body .password-show{
    cursor: pointer;
    position: absolute;
    top: 48px;
    right: 2rem;
    opacity: 0.75;
    color:#003863;
}
#login-modal .modal-body .password-show:hover{
    opacity: 1;
}
#login-modal .modal-body .div-remember-password{
    display: flex;
    justify-content: space-between;
}
#login-modal .modal-body .div-remember-password .remember-text{
    font-size: 0.875rem;
    color: rgba(0, 56, 99, 0.82);
}
#login-modal .modal-footer{
    border: 0;

}
#login-modal .modal-footer > *{
    margin: 0
}

/*
---------------------------------------------------------------------------------------------
MEDIAQUERIES
---------------------------------------------------------------------------------------------
*/

/* Desktop */
@media (max-width: 1024px) {
    .trip-info-resumen{
        gap: 0.25rem;
    }

    .route-header .rh-origindestination .dot:first-child span {
        left: 28%;
    }
    .route-header .rh-origindestination .dot:last-child span {
        right: 61%;
    }
    .route-header .rh-origindestination .bus:after{
        margin: 0 0.75rem 0 0;
    }
    .route-header .rh-origindestination .bus:before{
        margin: 0 2.5rem 0 0.5rem;
    }

    /*AUTOBUS*/
    .passengerInfo p {
        margin:0;
        padding-right: 0.5rem
    }
    /*.sidebar-container {
        margin-top: 2rem;
    }*/
    .card-header.simple{
        height: 7.125rem;
    }
}

/*Tablet*/
@media (max-width: 991px) {

    .trip-info-resumen {
        gap: 1rem;
    }
    .route-header .rh-origindestination .dot:first-child span {
        left: 105%;
    }
    .route-header .rh-origindestination .dot:last-child span{
        right: 61%;
    }
    .card-header.simple{
        height: auto;
    }
    .c-header .resume-trip {
        display: flex;
        flex-direction: column;
    }
    .c-header .resume-trip .share-dwl{
        display: flex;
        justify-content: center;
        margin-top: 1rem;
    }
    .c-pax .resume-trip{
        justify-content: flex-start;
    }
    #searching-modal .modal-dialog{
        min-width: 0;
    }

}

/*Movil horizontal*/
@media (max-width: 767px){

    #searching-modal .modal-body{
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .route-header .card-body{
        flex-direction: column;
    }
    .route-header .card-body .rh-route{
        width: 100%;
        border-right: 0;
        padding: 0 0 1.25rem 0;
        border-bottom: 1px solid #C4D6ED;
        margin-bottom: 1.25rem;
    }
    .route-header .rh-origindestination{
        flex-wrap: wrap;
    }
    .route-header .rh-origindestination > :nth-child(1){
        order:1;
        width: 50%;
    }
    .route-header .rh-origindestination > :nth-child(3){
        order:2;
        width: 50%;
    }
    .route-header .rh-origindestination > :nth-child(2){
        order:3;
        width: 100%;
        margin: 1rem auto 0 auto;
    }
    .route-header .rh-origindestination .bus .type{
        top: 1.5rem;
        color:  #003863;
    }
    .route-header .card-footer-inner{
        padding: 0 1.25rem 0 1.25rem;
    }

    .trip .trip-tarifa,
    .trip-price{
        padding: 0 1rem;
    }
    .trip .trip-tarifa {
        background: rgba(209, 57, 44, 1);
        padding: 0.5rem 1rem;
        border-radius: 100px;
    }
    .trip .trip-tarifa span{
        font-size: 0.875rem;
        color: #ffffff;
    }

    .step3-container h2{
        font-size: 1.6rem;
    }
    .c-header .card-body{
        flex-direction: column;
    }
    .c-header .card-body .route .originDestination{
        flex-direction: column;
        align-items: unset;
    }
    .c-header .card-body .route .originDestination > :nth-child(1),
    .c-header .card-body .route .originDestination > :nth-child(3){
        padding: 0;
        text-align: left;
    }
    .c-header .card-body .route .originDestination > :nth-child(2){
        margin: 0.5rem 0;
    }

    .c-resume .route-inner,
    .c-resume .route-prices{
        padding: 0;
    }
    .card-header.simple .btn-div {
        margin-top: 1rem;
    }


}

/*Movil verical*/
@media (max-width: 575px) {
    .div-change{
       width: 100%;
    }
    button.btn-change{
        top: -16px;
    }
    button.btn-change{
        transform: rotate(90deg);
    }
    .trip .trip-show-stops {
        margin-left: 1rem;
        text-align: center;
    }
    .trip-content{
        display: flex;
        flex-direction: column;
    }
    .trip .trip-info{
        margin: 0 1rem 0 1rem;
    }
    .trip .trip-show-stops .far {
        display: none;
    }
    .trip-details {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .trip .trip-price{
        margin-left: 1rem;
        margin-right: 1rem;
        /*display: flex;
        flex-direction: row;
        justify-content: space-between;
        padding: 0.75rem;*/
    }
    /*.trip .trip-price .price{
        display: flex;
        flex-direction: column;
        color: #003863;
        text-align: start;
    }*/
    /*.trip .trip-price .price span:nth-child(1){
        font-size: 0.75rem;
    }
    .trip .trip-price .price span:nth-child(1) span{
        font-size: 1.625rem;
    }*/

    .trip .trip-info-link {
        font-size: 1rem;
        margin: 0 0 1.5rem 0.5rem;
    }
    .trip-info-resumen{
        font-size: 1rem;
    }

    .trip .trip-info-times .bus .duration {
        width: 7rem;
        left: 50%;
        transform: translateX(-50%);
    }
    .title-pass {
        padding: 0.5rem 0.25rem;
    }

    .passengerInfo p {
        padding-right: 0
    }
    .bus-route .bus-select span:first-child {
        display:block;
        margin: 0 0 0.5rem 0;
    }
    .route-header .rh-origindestination .bus:before{
        margin: 0 5.5rem 0 0.5rem;
    }
    .toggle-switch{
        width: 64px;
    }
    .toggle-switch input:checked + .slider:before {
        transform: translateX(13px);
    }
    .form-group.pl-0 {
        padding-left: 15px;
    }
    .card-header .login-div span {
        font-size: 0.75rem;
    }

    .card-header .text-right {
        margin-left: 0;
    }
    .card-header .text-right button{
        white-space: nowrap;
        padding: 0.625rem 1.625rem;
    }
    .card-header.simple{
        display: flex;
        flex-direction: column;
        padding-bottom: 1.5rem;

    }
    .card-header .login-div h2 {
     font-size:1rem;
    }
    .login-div p {
        font-size: 0.75rem;
    }
    .card-header.simple .btn-div{
        margin-left: 0;
        text-align: center;
        margin-top: 0;
    }

    /*.c-header .resume-trip .share-dwl {*/
    /*    display: flex;*/
    /*    justify-content: space-around;*/
    /*}*/
    /*.c-header .card-body .download{*/
    /*    margin: 0;*/
    /*}*/
    .c-header .card-body .route .originDestination > :nth-child(1),
    .c-header .card-body .route .originDestination > :nth-child(3){
        text-align: center;
    }
    .c-header .card-body .route .date-type span:nth-child(2){
        margin-left:0;
    }
    .c-header .card-body .route .date-type{
        display: flex;
        flex-direction: column;
    }

    .c-pax .localizador span:nth-child(2){
        font-size: 1.5rem;
    }

    .card.c-payment{
        flex-direction: column;
        align-items: flex-start;
    }
}