.d-flex {
    display: flex;
}

.flex-align-items-end {
    display: flex;
    align-items: end;
}



@media (min-width: 768px) {
    .flex-align-items-end-lg {
        display: flex;
        align-items: end;
    }
}


.flex-align-items-center {
    display: flex;
    align-items: center;
}



.flex-align-items-center-lg {
    display: flex;
    align-items: center;
}



.flex-justify-content-between {
    display: flex;
    justify-content: space-between;
}


/* PAGE SEARCH */

.trem-content {
    background: #fff;
    border-radius: 10px;
    margin-top: -15px;
    position: relative;
    z-index: 10;
    padding: 30px;
}

@media (min-width: 768px) {
    .trem-content {
        background: #fff;
        border-radius: 10px;
        margin-top: -80px;
        position: relative;
        z-index: 10;
        padding: 30px;
    }
}

.trem-title {
    text-align: center;
}

.trem-title h1 {
    color: #04ABBE;
    text-align: center;
    font-size: 30px;
    font-weight: 600;
    line-height: normal;
    margin-top: 10px;
    margin-bottom: 0;
}

.nav-tabs {
    border: none;
}

.trem-search-toogle {
    text-align: center;
}

.trem-content .nav {
    border-radius: 30px;
    background: #EDEDED;
    color: #616161;
    display: inline-block;
    text-align: center;
}

.trem-content .nav>li>a {
    font-size: 13px;
    border: none;
    padding: 5px 10px;
    color: #616161;
}

.trem-content .nav-tabs>li.active>a {
    border-radius: 30px;
    background: #04ABBE;
    font-size: 13px;
    color: #fff;
    border: none;
}

.trem-content .nav>li>a:hover {
    border: none;
    border-radius: 30px;
    color: #008290;
}

.trem-content .nav-tabs>li.active>a:focus,
.trem-content .nav-tabs>li.active>a:hover {
    outline: none;
    border: none;
    border-radius: 30px;
    background: #008290;
    color: #fff;
}

.trem-content .btn-search-tickets {
    color: #FFF;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    border-radius: 10px;
    border: 1px solid #04ABBE;
    background: #04ABBE;
    padding: 7px 10px;
    width: 100%;
    transition: all .3s;
}

.trem-content .btn-search-tickets:hover {
    color: #FFF;
    border: 1px solid #1abc9c;
    background: #1abc9c;
}


.trem-content .btn-search-tickets:disabled {
    color: rgba(255, 255, 255, .75);
    cursor: not-allowed;
    border: 1px solid #bdc3c7;
    background: #bdc3c7;
    opacity: 0.7;
}

/* PAGE TICKETS */

.trem-content-tickets {
    background: #fff;
    border-radius: 10px;
    margin-top: -15px;
    position: relative;
    z-index: 10;
    padding: 10px 30px 60px;
}

@media (min-width: 768px) {
    .trem-content-tickets {
        background: #fff;
        border-radius: 10px;
        margin-top: -80px;
        position: relative;
        z-index: 10;
        padding: 10px 30px 60px;
    }
}


.trem-trip-selected {
    border-bottom: solid 1px #ccc;
    padding-bottom: 10px;
}


.trem-tickets-title {
    text-align: left;
    padding-top: 20px;
}

.trem-tickets-title p {
    margin-bottom: 0px;
}

.trem-tickets-title h1 {
    color: #616161;
    font-size: 26px;
    font-weight: 700;
    line-height: normal;
    margin: 0;
}

.trem-tickets-list__item {
    border-radius: 11px;
    border: 1px solid #E0E0E0;
    background: #FFF;
    box-shadow: 1px 1px 4px 0px rgba(184, 184, 184, 0.50);
    padding: 10px;
    margin-bottom: 25px;
}
.trem-tickets-list__item.active {
    background: #eaf7f6;
    border: solid 2px #39b2a6;
}

.trem-tickets-list__item p {
    color: #787878;
    font-size: 12px;
    font-weight: 400;
    line-height: normal;
    margin: 0;
}

.trem-tickets-list__item p.time {
    color: #04ABBE;
    font-size: 25px;
    font-weight: 700;
    line-height: normal;
}

.travel-time:before {
    content: "";
    display: inline-block;
    width: 100%;
    border-bottom: solid 1px #ccc;
    position: absolute;
    left: 0;
    top: 47%;
    z-index: 1;
}

.travel-time {
    text-align: center;
    position: relative;
}

.travel-time span {
    background: #fff;
    position: relative;
    z-index: 10;
    font-size: 14px;
    padding: 10px;
}

.trem-tickets-list__item.active .travel-time span {
    background: #eaf7f6;
    position: relative;
    z-index: 10;
    font-size: 14px;
    padding: 10px;
}


.class-item.class-item--premium {
    border-radius: 10px;
    border: 1px solid #979797;
    background: #00294C;
    height: 100%;
    padding: 15px;
    color: #fff;
}

.class-item.class-item--smart {
    border-radius: 10px;
    border: 1px solid #979797;
    background: #00B2A6;
    height: 100%;
    padding: 15px;
    color: #fff;
}

.class-item p.class-name {
    color: #FFF;
    text-align: left;
    font-size: 16px;
    font-weight: 700;
    line-height: normal;
}

.class-item p {
    color: #FFF;
    font-size: 13px;
    font-weight: 400;
    line-height: normal;
}

.class-item .price {
    color: #FFF;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
}

.class-item .price .price {
    color: #FFF;
    font-size: 26px;
    font-weight: 700;
    line-height: normal;
}

.trem-tickets-title {
    margin-bottom: 20px;
}

.results-counter {
    color: #9D9D9D;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 20px;
}

.class-item--smart .price {
    margin-top: 26px;
}

@media (max-width: 768px) {
    .class-item--smart .price {
        margin-top: 6px;
    }
}

.class-item--premium .price {
    margin-top: 10px;
}

/* EDIT TREM */
.btn-change-tickets {
    color: #FFF;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    border-radius: 10px;
    border: 1px solid #04ABBE;
    background: #04ABBE;
    padding: 7px 10px;
    width: 100%;
    transition: all .3s;
}

.btn-change-tickets:hover {
    background: #007a62;
}

.trem-edit-content {
    position: relative;
    z-index: 10;
    padding: 30px;
    display: none;
}

.trem-edit-content.show {
    display: block;
}

.trem-edit-content .nav {
    border-radius: 30px;
    background: #EDEDED;
    color: #616161;
    display: inline-block;
    text-align: center;
}

.trem-edit-content .nav>li>a {
    font-size: 13px;
    border: none;
    padding: 5px 10px;
    color: #616161;
}

.trem-edit-content .nav-tabs>li.active>a {
    border-radius: 30px;
    background: #04ABBE;
    font-size: 13px;
    color: #fff;
    border: none;
}

.trem-edit-content .nav>li>a:hover {
    border: none;
    border-radius: 30px;
    color: #008290;
}

.trem-edit-content .nav-tabs>li.active>a:focus,
.trem-edit-content .nav-tabs>li.active>a:hover {
    outline: none;
    border: none;
    border-radius: 30px;
    background: #008290;
    color: #fff;
}

.trem-edit-content .btn-search-tickets {
    color: #FFF;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    border-radius: 10px;
    border: 1px solid #04ABBE;
    background: #04ABBE;
    padding: 7px 10px;
    width: 100%;
    transition: all .3s;
}

.trem-edit-content .btn-search-tickets:hover {
    color: #FFF;
    border: 1px solid #1abc9c;
    background: #1abc9c;
}

#modalTrainReservation {}

.modalTrainClassMobile {
    background: #00000070;
    padding-top: 90px;
}

#modalTrainReservation .modal-title,
.modalTrainClassMobile .modal-title {
    color: #04ABBE;
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
}

#modalTrainReservation .modal-body h2,
.modalTrainClassMobile .modal-body h2 {
    color: rgba(0, 0, 0, 0.68);
    margin: 0;
    font-size: 18px;
    margin-bottom: 15px;
}

#modalTrainReservation .modal-body ul,
.modalTrainClassMobile .modal-body ul {
    margin: 0;
}

#modalTrainReservation .modal-body ul li,
.modalTrainClassMobile .modal-body ul li {
    color: #616161;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
}

.reservation-person-block {
    border-bottom: solid 1px #EFEFEF;
    margin-bottom: 30px;
    padding-bottom: 30px;
}

.reservation-person-block h3 {
    color: rgba(0, 0, 0, 0.68);
    font-size: 18px;
    font-weight: 600;
    line-height: normal;
    margin-bottom: 5px;
}

.reservation-person-block p {
    color: #6A6A6A;
    font-size: 12px;
    font-weight: 400;
    line-height: normal;
}

.reservation-person-block input {
    border: 1px solid #bdc3c7;
    background: #FFF;
    padding: 8px 12px;
    font-size: 15px;
    color: #34495e;
    border-radius: 6px;
    box-shadow: none;
    width: 100%;
    margin-bottom: 10px;
}


.trem-resume-block {
    border-radius: 11px;
    border: 1px solid #E0E0E0;
    background: #FFF;
    box-shadow: 1px 1px 4px 0px rgba(184, 184, 184, 0.50);
    padding: 10px;
    height: 100%;
}

.h-100 {
    height: 100%;
}


.trem-resume-block p {
    color: #787878;
    font-size: 12px;
    font-weight: 400;
    line-height: normal;
    margin: 0;
}

.trem-resume-block p.time {
    color: #04ABBE;
    font-size: 25px;
    font-weight: 700;
    line-height: normal;
}

.btn-addtocart-tickets {
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    border-radius: 10px;
    color: #FFF;
    border: 1px solid #1abc9c;
    background: #1abc9c;
    padding: 7px 10px;
    width: 100%;
    transition: all .3s;
}


.trem-content-tickets .loader {
    margin: 150px auto;
    height: 100px;
    width: 20%;
    text-align: center;
    padding: 1em;
    display: block;
    vertical-align: top;
    -webkit-transform: translateZ(0);
    -webkit-transition: top 0.6s;
    transition: top 0.6s;
    animation: fadeIn 0.6s;
    -webkit-transition: all 0.2s ease-in;
    -moz-transition: all 0.2s ease-in;
    -o-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
}

.trem-content-tickets .loader svg path,
.trem-content-tickets .loader svg rect {
    fill: #01afb5;
}

.trem-ticket-roundtrip-ida p {
    font-size: 20px;
}

.roudtrip-resume-block-title {
    color: #04ABBE !important;
    font-weight: 700 !important;
    line-height: normal !important;
}

.trem-ticket-roundtrip-ida {
    margin-top: 30px;
    margin-bottom: -20px;
}

.trem-ticket-roundtrip-ida p span {
    display: block;
    font-size: 12px;
    margin-bottom: 3px;
    color: #ccc;
}

.bl-category-tag {
    font-size: 12px !important;
    color: #fff !important;
    background: #00B2A6;
    border-radius: 5px;
    padding: 7px 13px;
    border: 0;
}

.modify-trem-link {
    text-decoration: underline;
    color: #00B2A6 !important;
    font-size: 18px !important;
    margin-right: 30px !important;
}

@media (max-width: 768px) {
    .trem-tickets-list__item .flex-align-items-center {
        display: block;
    }

    .trem-tickets-list__item-mobile {
        width: 80%;
    }

    .trem-tickets-list__item-mobile-cta {
        width: 20%;
    }

    .trem-tickets-list__item-mobile .flex-align-items-center {
        display: block;
    }

    .mobile-line {
        width: 100%;
        border-bottom: #ccc solid 1px;
    }

    .travel-time-mobile {
        display: none;
        background: #fff;
        position: relative;
        z-index: 10;
        font-size: 14px;
    }

    .modal-body .class-item--smart {
        margin-bottom: 15px;
    }

    .mb-xs-10 {
        margin-bottom: 10px;
    }

    .mb-xs-20 {
        margin-bottom: 20px;
    }

}

.trem-image-slider img {
    width: 100%;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    height: auto;
    color: transparent;
    background: transparent;
}

input[type="date"]::-webkit-inner-spin-button {
    z-index: 1;
}

input[type="date"]::-webkit-clear-button {
    z-index: 1;
}

.trem-arrow {
    display: inline-block;
    position: relative;
    width: 35px;
    height: 100%;
}

.trem-arrow svg {
    position: absolute;
    margin-top: -14px;
    display: inline-block;
    /* margin: 0 auto; */
    /* margin-top: -10px; */
    left: 30.9%;
}

.trem-trip-selected p {
    font-size: 13px;
    margin-bottom: 0;
    text-transform: uppercase;
}


.trem-resume-label {
    color: #35abbe;
    font-size: 12px;
    margin: 0;
    line-height: 1;
    text-transform: none !important;
    padding-top: 6px;
}



.trem-resume-subtotal {
    color: #00B2A6 !important;
    font-weight: 900 !important;
}

.trem-resume-subtotal span {
    font-weight: 400 !important; 
    color: #999 !important; 
    font-size: 12px !important; 
}

.btn-submit:disabled {
    color: rgba(255, 255, 255, .75);
    cursor: not-allowed;
    border: 1px solid #bdc3c7;
    background: #bdc3c7;
    opacity: 0.7;
}




#ui-datepicker-div {
    background: #fff;
    border: 1px solid #ccc;
}
#ui-datepicker-div thead {
    background: #f7f7f7;
}

.ui-widget-header {
    border: none;
    background: none;
    color: none;
}

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
    border: none;
    background: #fff;
    font-weight: normal;
    color: #555;
}

.counter-input {
    height: 42px;
    padding: 5px;
}

.counter-input span {
    /* padding: 0 10px; */
    padding-right: 10px;
}

button.btn-plusminus {
    border: 0;
    background: transparent;
    color: #3dbc9c;
    padding-right: 10px;
}

.page-template-page-brightline-search #ui-datepicker-div{
    display: none;
}