/* General styles */

button.disabled {
    cursor: not-allowed !important;
    opacity: 0.8;
}
.info-content {
    background: #fff;
    padding: 0;
    border-radius: 4px 0 4px 4px;
}
.info-content.collapse:not(.show) {
    display: none;
}
.info-content.collapse.show,
.info-content.collapse.in {
    padding: 5px;
}
.info-content p {
    margin: 0 0 4px 0;
    line-height: 1.3;
    font-size: 13px;
}
.info-content a {
    font-size: 13px;
    text-decoration: underline;
    line-height: 1;
}
.hidden-label {
    visibility: hidden;
}
.disableDatePicker {
    opacity: 0.5;
    width: 100%;
    background: #AEB6BC !important;
}
.select2-results {
    display: block !important;
}
#havePromoCodeQuestion,
#havePromoCodeQuestion2 {
    display: inline-flex;
    padding: 0;
    background-color: transparent;
    border: 1px solid transparent;
    width: auto;
    line-height: 1.4;
    font-size: 13px;
    font-weight: 500;
    color: #061B2B;
    cursor: pointer;
    font-family: 'D-DIN-PRO', sans-serif;
    position: relative;
    gap: 4px;
    align-items: center;
}
#havePromoCodeQuestion::before,
#havePromoCodeQuestion2::before {
    content: '\e821';
    color: #061B2B;
    font-family: 'icons', sans-serif;
    font-weight: 400;
    font-size: 14px;
}
div#PromoInputFields:not(.show),
div#PromoInputFields2:not(.show) {
    display: none;
}
div#PromoInputFields,
div#PromoInputFields2 {
    flex-direction: column;
    gap: 5px;
}
div#PromoInputFields.show,
div#PromoInputFields2.show {
    display: flex;
}

/*Qtt Specific*/
.new-qtt-card button,
.new-qtt-card input,
.new-qtt-card optgroup,
.new-qtt-card select,
.new-qtt-card textarea {
    font-family: 'D-DIN-PRO', sans-serif;
}
.new-qtt-card {
    box-shadow: 0px 10px 40px 0px #0000000A;
    border-radius: 10px;
    padding: 1.25rem;
    background-color: #fff;
    font-size: .875rem;
}
.margin-n-top{
    margin-top: -150px;
}

/* Tabs */
.new-qtt-card .tabs {
    display: flex;
    justify-content: flex-start;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #D5DFE5;
    position: relative;
}

.new-qtt-card .tab {
    padding: .75rem 1.25rem;
    color: #061B2B;
    background-color: #fff;
    cursor: pointer;
    border: 1px solid transparent !important;
    font-family: 'D-DIN-PRO', sans-serif;
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.3;
    text-align: center;
    position: relative;
    outline: none !important;
}

.new-qtt-card .tab.active {
    background-color: #fff;
    color: #007CAD;
    font-weight: 600;
}
.new-qtt-card .tab::after{
    content: "";
    position: absolute;
    left: 50%;
    bottom: -1px;
    width: 0;
    height: .125rem;
    background-color: transparent;
    transition: all 100ms ease;
    transform: translateX(-50%);
}
.new-qtt-card .tab.active::after, .new-qtt-card .tab:focus::after {
    width: 100%;
    background-color: #0092CB;
    outline: none;
}

.new-qtt-card .extend-travel {
    border-radius: .375rem;
    background-color: #E5F2F7;
    padding: .5rem 1.25rem;
    color: #061B2B;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.25;
    text-decoration: none;
    margin-bottom: .5rem;
    margin-left: auto;
    border: 1px solid transparent;
    display: flex;
    justify-content: center;
    align-items: center;
}
.new-qtt-card .extend-travel.mobile-only {
    display: none;
}
/*Tab Content*/
.new-qtt-card .tab-content {
    display: none;
    padding: 1.25rem 0 0px;
    margin-top: 0;
    background-color: #fff;
    position: relative;
}
.new-qtt-card .tab-content.active {
    display: block;
}
.buy-season-ticket-tab-content-inner-container {
    margin-top: 1rem;
}
.buy-season-ticket-tab-content-inner-container .new-qtt-dropdown {
    width: 100%;
}
.buy-season-ticket-tab-content-inner-container .new-qtt-dropdown input{
    width: 100%;
}
.buy-season-ticket-tab-content-inner-container .form-control-wrapper {
    flex: 1;
}
.buy-season-ticket-tab-content-inner-container .promo-code-wrapper .separator-wrapper, 
.buy-season-ticket-tab-content-inner-container .passenger-wrapper-outer .separator-wrapper {
    flex: unset;
}
.railcard-input, .passenger-wrapper-outer .season-drop-input {
    border-radius: 0.375rem !important;
}
.new-qtt-card .flexi-season-validation span {
    font-size: 0.875rem !important;
    font-weight: 500;
    color: #007CAD !important;
    line-height: 20px;
}
.validation-static.flexi-season-validation .validation-error-message {
    padding-top: 0;
}
.new-qtt-card .tab-content-inner-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    align-items: flex-start;
    row-gap: 2.25rem;
}
.new-qtt-card .departure-wrapper {
    display: flex;
    align-items: flex-start;
    position: relative;
    margin: 0;
    min-width: 0;
}
.new-qtt-card .form-control-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .375rem;
}
.new-qtt-card .form-control-wrapper:not(.outbound-time-wrapper){
    flex: 1 1 auto;
}
.new-qtt-card .form-control-wrapper .new-qtt-dropdown {
    width: 100%;
}
.buy-season-ticket-tab-content-inner-container .calendar-width-fix .form-control-wrapper {
    width: calc(50% - 1px);
}
.buy-season-ticket-tab-content-inner-container .passenger-wrapper {
    min-width: calc(6rem - 1px);
    width: calc(6rem - 1px);
}
.buy-season-ticket-tab-content-inner-container .for-railcard-expiry-wrapper {
    width: calc(100% - 6rem);
}
.end-date-wrapper.going-to-wrapper .new-qtt-dropdown {
    position: relative;
}

.end-date-wrapper.going-to-wrapper .new-qtt-dropdown:before {
    background-color: #9EA8B3;
    content: "";
    width: 1px;
    height: 22px;
    position: absolute;
    top: 15px;
}
.label-icon-btn-wrapper {
    position: relative;
}

button.info-btn {
    background: transparent;
    padding: 0;
    margin: 0;
    border: 1px solid transparent;
    line-height: 1;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: -1.25rem;
    top: .125rem;
    cursor: pointer;
}
button.info-btn img {
    max-width: 100%;
}
.tooltip-content {
    position: absolute;
    left: auto;
    top: auto;
    width: auto;
    min-width: 1px;
    border-radius: 0;
    background-color: transparent;
    z-index: 9;
    padding: 0 !important;
    margin: 0;
}
.tooltip-content.railcard-info-content {
    left: -74px;
    top: 1.25rem;
    width: 273px;
    border-radius: .25rem;
}

.tooltip-content.railcard-tooltop-content {
    left: auto;
    right: 0;
    display: none;
    height: auto !important;
    padding: 5px 0 0 !important;
    min-width: 10rem;
}
.railcard-drop-input:hover ~ .railcard-tooltop-content {
    display: block;
}
.railcard-tooltop-content .info-content-inner-wrapper{
    padding: .5rem;
}
.railcard-tooltop-content .info-content-inner-wrapper h3 {
    font-size: .75rem;
    margin: 0;
    padding: 0 0 .5rem;
    color: #fff;
}
.railcard-tooltop-content .info-content-inner-wrapper ul {
    margin: 0;
    padding: 0 0 0 14px;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    list-style-type: circle;
}
.railcard-tooltop-content .info-content-inner-wrapper ul li{
    font-size: .75rem;
    line-height: 1;
    color: #fff;
    margin: 0;
}
.tooltip-content.promo-code-info-content {
    left: -52px;
    top: 1.25rem;
    width: 273px;
    border-radius: .25rem;
}
.tooltip-content.show{
    padding: 5px 0 0 !important;
}
span.caret-icon {
    display: inline-block;
    width: 0;
    height: 0;
    margin: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 8px solid #322F35;
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translate(-50%, 0px);
}
.info-content-inner-wrapper {
    border-radius: .25rem;
    padding: .25rem .5rem;
    background-color: #322F35;
    color: #fff;
}
.tooltip-content p {
    margin: 0;
    color: inherit;
    font-size: 13px;
    line-height: 1.3 !important;
    text-align: left;
}
.new-qtt-card .new-qtt-label {
    font-family: 'D-DIN-PRO', sans-serif;
    font-size: .875rem;
    font-weight: 500;
    line-height: 1.429;
    color: #061B2B;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    max-width: 100%;
    text-overflow: ellipsis;
}
.new-qtt-card .dropbtn,
.new-qtt-card .drop-input,
.new-qtt-card .passenger-drop-input,
.new-qtt-card .season-drop-input,
.new-qtt-card .fancy-select .trigger,
.new-qtt-card .flexi-drop-input,
.new-qtt-card .railcard-drop-input,
.new-qtt-card .hpqtt-outward,
.new-qtt-card .hpqtt-outward-return,
.new-qtt-card .cal-season-ticket,
.new-qtt-card .railcard-input {
    background-color: #F5F7F9;
    color: #061B2B;
    padding: .75rem 1rem;
    border: 1px solid transparent;
    border-radius: 0.375rem;
    cursor: pointer;
    width: 100%;
    font-family: 'D-DIN-PRO', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.25;
    text-align: left;
    height: 3.125rem;
    outline: none !important;
}
.new-qtt-card .passenger-wrapper .season-drop-input {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}
.banner-home .promo-input-fields .promo-input .qtt-input {
    padding-right: 1rem !important;
}
::placeholder,
::-moz-placeholder,
::-webkit-input-placeholder {
    color: #555F6D;
    opacity: 1;
}

.new-qtt-card input:focus {
    outline-offset: -2px;
    border-bottom: 2px solid #007CAD !important;
}
.new-qtt-card button.rail-card-done:focus {
    outline-offset: 0;
}
.new-qtt-card button.railcard-close:focus {
    outline-offset: 1px;
}
.new-qtt-dropdown .drop-input,
.new-qtt-dropdown .passenger-drop-input,
.new-qtt-dropdown .railcard-drop-input {
    border-radius: .375rem;
}
button.clear-return-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 1rem;
    color: rgb(51, 51, 51);
    z-index: 8;
    line-height: 1;
    padding: 0;
    border: 1px solid transparent;
    background-color: transparent;
    width: 2rem;
    height: 2rem;
}
.buy-season-ticket-tab-content-inner-container .calendar-width-fix .leave-from-wrapper .new-qtt-dropdown input {
    border-radius: .375rem;
}
.leave-from-wrapper .new-qtt-dropdown input, .promo-code-field .new-qtt-dropdown input {
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}
.going-to-wrapper .new-qtt-dropdown input, .pin-code-field .new-qtt-dropdown input {
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
}
.leave-from-wrapper .new-qtt-dropdown.active input,
.leave-from-wrapper .new-qtt-dropdown input:focus, .promo-code-field .new-qtt-dropdown input:focus {
    border-top-right-radius: .375rem !important;
    border-bottom-right-radius: .375rem !important;
}
.going-to-wrapper .new-qtt-dropdown.active input,
.going-to-wrapper .new-qtt-dropdown input:focus, .pin-code-field .new-qtt-dropdown input:focus {
    border-top-left-radius: .375rem !important;
    border-bottom-left-radius: .375rem !important;
}
/* Dropdown content */
.new-qtt-dropdown .dropdown-content,
.new-qtt-card .season-passenger-dropdown,
.new-qtt-card .flexi-passenger-dropdown,
.new-qtt-card .season-railcard-dropdown,
.new-qtt-card .buy-passenger-dropdown,
.new-qtt-card .railcard-dropdown,
.new-qtt-card .dropdown {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 15rem;
    z-index: 9;
    box-shadow: 0px 10px 40px 0px #00000014;
    padding: .625rem;
    border-radius: .625rem;
    left: 0;
    font-size: .875rem;
    line-height: 1.3;
    color: #061B2B;
}
.new-qtt-card .buy-passenger-dropdown{
    width: 100%;
}
.new-qtt-dropdown.active .drop-input,
.new-qtt-dropdown .drop-input.active,
.new-qtt-dropdown .passenger-drop-input.active, .new-qtt-dropdown .passenger-drop-input:focus, 
.new-qtt-dropdown .railcard-drop-input.active, .new-qtt-dropdown .railcard-drop-input:focus, 
.via-add-container-form-group .fancy-select .trigger.open {
    border-bottom: 2px solid #007CAD !important;
}
.new-qtt-dropdown.active .dropdown-content {
    display: block;
    max-height: 25rem;
    overflow-y: auto;
}
.new-qtt-card .leave-arrive-wrapper .form-control-wrapper,
.new-qtt-card .season-leave-arrive-wrapper .form-control-wrapper,
.new-qtt-card .via-void-station-wrapper.form-control-wrapper {
    position: relative;
}
.new-qtt-card .leave-arrive-wrapper .form-control-wrapper .dropdown-content,
.new-qtt-card .season-leave-arrive-wrapper .form-control-wrapper .dropdown-content,
.new-qtt-card .via-void-station-wrapper.form-control-wrapper .dropdown-content{
    width: 100%;
    z-index: 1000;
}
.drop-down-list-wrapper {
    padding: .625rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
}
/* Dropdown links */
.new-qtt-dropdown .dropdown-content a {
    color: #061B2B;
    padding: .75rem .875rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    border-radius: 6px;
}

.new-qtt-dropdown .dropdown-content a:hover,
.qtt-list-active,
.new-qtt-dropdown .dropdown-content a:first-of-type {
    background-color: #E5F2F7;
}

.new-qtt-dropdown .dropdown-content img {
    width: 1.25rem;
    height: 1.25rem;
}
.qtt-value-and-icon-wrapper {
    display: flex;
    gap: .75rem;
    align-items: center;
    justify-content: flex-start;
    margin: 0;
}
.new-qtt-card .train-icon {
    background: url('/Assets/img/train-icon.svg') no-repeat;
    width: .9375rem;
    height: 1rem;
    background-size: cover;
    display: block;
}

.new-qtt-card .qtt-station-name {
    font-family: 'D-DIN-PRO', sans-serif;
    font-size: .875rem;
    font-weight: 500;
    line-height: 1.125rem;
    text-align: left;
    white-space: nowrap;
    color: #061B2B;
}

.new-qtt-card .station-name-shortname {
    font-family: 'D-DIN-PRO', sans-serif;
    font-size: .875rem;
    font-weight: 400;
    line-height: 1.3;
    text-align: left;
    color: #4A545E;
}
.new-qtt-card .switch-btn-wrapper {
    height: 3.125rem;
    background: #F5F7F9;
    border: 0;
    align-self: flex-end;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px 2px;
}
.switch-btn-wrapper .switch-btn {
    width: 1.625rem;
    height: 1.625rem;
    border-radius: 50%;
    background: #071D2D;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: 0;
    padding: 0;
    border: 1px solid transparent;
}
.switch-btn-wrapper .switch-icon {
    width: 16px;
    max-width: 100%;
    height: auto;
}
.new-qtt-card .qtt-date-picker {
    background-color: #ffffff;
    z-index: 99999;
    padding: 0;
}
.qtt-modal-header{
    display: flex;
    justify-content: space-between;
}
.qtt-modal-header .cal-top-wrapper{
    font-size: 18px;
    padding:0;
    font-weight: 600;
}
.qtt-modal-header .close-btn{
    outline-offset: -2px;
}
/*Calender UI*/
.calendar-width-fix .qtt-date-picker,
#planJourneyDatePicker {
    width: auto !important;
    border: 0;
}
.qtt-date-picker .qtt-calendar-top-wrapper {
    border-bottom: 1px solid #bdbdbd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
    padding-bottom: 0;
    width: 100%;
}
.calendar-width-fix .ui-datepicker.ui-datepicker-multi,
#planJourneyDatePicker .ui-datepicker.ui-datepicker-multi {
    box-shadow: none;
    border: 0;
    padding: 0;
    margin: 0;
    border-radius: 0;
    background-color: transparent;
    color: #061b2b;
    font-family: 'D-DIN-PRO', sans-serif;
    width: 37rem;
    max-width: 100%;
}
.qtt-date-picker .cal-top-wrapper {
    font-family: 'D-DIN-PRO', sans-serif;
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 1;
    background: #fff;
    padding: 0;
    margin: 0;
}
.qtt-date-picker .ui-datepicker-header {
    padding: 1.25rem 1rem 0.5rem;
    border: 0;
    background-color: transparent;
    color: #061B2B;
}
.qtt-date-picker .ui-datepicker .ui-datepicker-header .ui-datepicker-title {
    border-bottom: 1px solid #bdbdbd;
    padding-bottom: 1rem;
    line-height: 1;
}
.qtt-date-picker .ui-datepicker .ui-datepicker-header .ui-datepicker-prev,
.qtt-date-picker .ui-datepicker .ui-datepicker-header .ui-datepicker-next {
    border: 0 !important;
    width: 1.5rem;
    height: 1.5rem;
    top: 50%;
    margin-top: -1rem;
}
.qtt-date-picker .ui-datepicker .ui-datepicker-header .ui-datepicker-prev:hover,
.qtt-date-picker .ui-datepicker .ui-datepicker-header .ui-datepicker-next:hover{
    opacity: 0.8 !important;
}
.qtt-date-picker .ui-datepicker .ui-datepicker-header .ui-state-disabled,
.qtt-date-picker .ui-datepicker .ui-datepicker-header .ui-state-disabled:hover {
    cursor: not-allowed !important;
    pointer-events: unset;
    opacity: 0.4 !important;
}
.qtt-date-picker .ui-datepicker .ui-datepicker-header .ui-datepicker-prev {
    left: 1rem;
}
.qtt-date-picker .ui-datepicker .ui-datepicker-header .ui-datepicker-next {
    right: 1rem;
}
.qtt-date-picker .ui-datepicker .ui-datepicker-header .ui-datepicker-prev .ui-icon,
.qtt-date-picker .ui-datepicker .ui-datepicker-header .ui-datepicker-next .ui-icon {
    margin: 0;
    line-height: 1;
    font-size: 1rem;
    opacity: 1;
    color: #007CAD;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.qtt-date-picker .ui-datepicker .ui-datepicker-header .ui-datepicker-prev .ui-icon::before,
.qtt-date-picker .ui-datepicker .ui-datepicker-header .ui-datepicker-next .ui-icon::before {
    color: inherit;
}
.qtt-date-picker .ui-datepicker.ui-datepicker-multi .ui-datepicker-group {
    height: 350px;
}
.qtt-date-picker .ui-datepicker .ui-datepicker-header .ui-datepicker-month,
.qtt-date-picker .ui-datepicker .ui-datepicker-header .ui-datepicker-year {
    font-size: 1.125rem !important;
    line-height: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
    font-weight: 500;
}
.qtt-date-picker .ui-datepicker .ui-datepicker-group .ui-datepicker-calendar {
    margin: 0;
    padding: 0;
    border-radius: 0;
    font-size: 1rem;
    border: 0;
}
.qtt-date-picker .ui-datepicker thead,
.qtt-date-picker .ui-datepicker tbody {
    border: .5rem solid transparent;
}
.qtt-date-picker .ui-datepicker thead tr th span {
    font-weight: 500 !important;
}
.qtt-date-picker .ui-datepicker table thead tr th,
.qtt-date-picker .ui-datepicker table tbody tr td {
    padding: 0 !important;
    height: 2.25rem !important;
    width: 2.25rem !important;
    font-size: 0.875rem;
    line-height: 1 !important;
    text-align: center;
    margin: 0 !important;
    border: 0 !important;
    border-radius: .25rem;
    position: relative;
}
.qtt-date-picker .ui-datepicker table tbody tr td.ui-state-disabled{
    opacity: 1;
}
.qtt-date-picker .ui-datepicker table tbody tr td.ui-state-disabled .ui-state-default {
    background-color: #f1f1f1;
    color: #061b2b;
    opacity: 0.7;
}

.qtt-date-picker .ui-datepicker .ui-datepicker-calendar tbody .ui-state-default {
    background-color: transparent;
    color: #061b2b;
    height: 2.125rem;
    width: 2.125rem;
    border-radius: .25rem !important;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0.1875rem 0;
    border: 1px solid transparent;
    font-size: 1rem;
}
.qtt-date-picker .ui-datepicker .ui-datepicker-calendar tbody .ui-state-default.ui-state-hover {
    background-color: transparent !important;
}
.qtt-date-picker .ui-datepicker .ui-datepicker-calendar tbody .ui-state-default.ui-state-active,
.qtt-date-picker .ui-datepicker .ui-datepicker-calendar tbody .ui-state-default:hover{
    background-color: #007CAD !important;
    color: #fff !important;
}
.qtt-date-picker #date-price-tab .ui-datepicker .ui-datepicker-calendar tbody .ui-state-default {
    padding-bottom: 1.25rem;
}
.qtt-date-picker .qtt-calendar-button-footer-wrapper {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin: 0;
    gap: 1rem;
    padding: 0;
    width: 100%;
    border: none;
}
.qtt-calendar-button-footer-wrapper .outbound-time-wrapper {
    width: auto;
    background-color: transparent;
}
.qtt-calendar-button-footer-wrapper .fancy-select ul.options {
    max-width: 10rem;
    min-width: 10rem;
    display: none;
}
.qtt-calendar-button-footer-wrapper .fancy-select ul.options.open{
    display: block;
}
.new-qtt-card .qtt-calendar-button-footer-wrapper .fancy-select {
    width: 100%;
}

.new-qtt-card .qtt-calendar-button-footer-wrapper .fancy-select .trigger {
    background: transparent !important;
    border: 1px solid #ccc !important;
    color: #061B2B;
    font-weight: 500;
    border-bottom-right-radius: 0.375rem;
    border-top-right-radius: 0.375rem;
}
.qtt-calendar-button-footer-wrapper .time-picker {
    max-width: 10rem;
}
.qtt-calendar-button-footer-wrapper .time-picker .trigger {
    padding: .625rem 1rem .625rem 2.5rem;
}

.qtt-calendar-button-footer-wrapper .apply-btn {
    background-color: #EEEEEE;
    color: #061B2B;
    padding: .625rem .75rem;
    border: 1px solid transparent;
    cursor: pointer;
    font-weight: 500;
    text-transform: uppercase;
    font-family: 'D-DIN-PRO', sans-serif;
    flex: 1 1 auto;
    font-size: 1rem;
    border-radius: .25rem;
}
.qtt-calendar-button-footer-wrapper .apply-btn-active {
    background-color: #0092CB;
    color: #ffffff;
}
.qtt-date-picker .qtt-calendar-button-footer-wrapper .time-picker {
    border-radius: .25rem;
    width: auto;
    max-width: unset;
    display: flex;
    align-items: center;
    padding: 0;
    position: relative;
}
.qtt-calendar-button-footer-wrapper .time-picker::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 1.25rem;
    height: 1.25rem;
    display: block;
    background: url('/Assets/img/clock-icon.svg') no-repeat;
    background-size: 1.25rem;
    transform: translate(1rem, -50%);
    z-index: -1;
}
.qtt-calendar-apply-btn-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
}
.qtt-calendar-button-footer-wrapper .qtt-calendar-apply-btn-wrapper {
    background-color: transparent;
    padding: 0px;
    margin: 0px;
    width: 33.33%;
    height: 50px;
}

.qtt-calendar-button-footer-wrapper .qtt-calendar-apply-btn-wrapper .apply-btn {
    height: 100%;
}
.qtt-calendar-apply-btn-wrapper .apply-btn {
    padding: .75rem 0;
    border-radius: .25rem;
    background-color: #007CAD;
    color: #ffffff;
    cursor: pointer;
    font-family: 'D-DIN-PRO', sans-serif;
    text-transform: initial;
    text-align: center;
    min-width: 11.25rem;
    font-size: 1rem;
    line-height: 1;
    font-weight: 500;
    border: 1px solid transparent;
    transition: background .2s;
}
.qtt-calendar-apply-btn-wrapper .apply-btn:hover{
    background-color: #006d98;
}
.qtt-calendar-apply-btn-wrapper .apply-btn:focus{
    outline-offset: 0;
}
.buy-ticket-tab-content-inner-container .calendar-width-fix {
    flex-wrap: wrap;
}
.buy-ticket-tab-content-inner-container .calendar-width-fix .form-control-wrapper {
    width: calc(50% - 1px);
}
.new-qtt-validation-error.show-error {
    width: 100%;
    position: absolute;
    background: #fff;
    bottom: -52px;
    z-index: 9;
    border-radius: 0.25rem;
    color: red;
    padding: .25rem .5rem;
    border: 1px solid #D5DFE5;
    box-shadow: 0px 10px 40px 0px #00000014;
}
.passenger-error-message{
    color: #f00;
    margin-top: .25rem;
    font-size: 0.875rem;
    line-height: 1;
}
.return-tab-content.open-return-content {
    width: auto;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 1rem;
}
.return-tab-content.open-return-content p {
    font-size: 1rem;
    line-height: 1.4;
    font-weight: 400;
    padding: 0;
    margin: 0;
}
.separator-wrapper {
    height: 3.125rem;
    background: #F5F7F9;
    border: 0;
    align-self: flex-end;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1 1 auto;
    width: 1px;
    min-width: 1px;
    max-width: 1px;
}

.new-qtt-dropdown.active .passenger-drop-input {
    border-bottom: 2px solid #007CAD !important;
}

.modal-backdrop.new-qtt-date-modal-wrapper {
    z-index: 99999;
    background-color: rgba(0, 0, 0, 0.8);
}
.qtt-date-modal {
    padding: 1rem;
    background-color: #fff;
    position: relative;
    display: flex;
    flex-direction: column;
    width: 50rem;
    max-width: 80vw;
    max-height: 90vh;
    border-radius: 0;
    height: auto;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}
.qtt-date-modal.single-calendar {
    width: 25rem;
}

.qtt-date-modal.single-calendar .ui-widget.ui-widget-content {
    border: none;
    box-shadow: none;
    width: 100%;
}
.qtt-date-modal.single-calendar .qtt-calendar-button-footer-wrapper .qtt-calendar-apply-btn-wrapper {
    width: 100%;
}
/* Adults wrapper */
.adults-wrapper {
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

.adults-wrapper .adult-category-label {
    font-family: 'D-DIN-PRO', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    text-align: left;
    color: #061B2B;
}

.adults-wrapper .age-label {
    font-family: 'D-DIN-PRO', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    text-align: left;
    color: #555F6D;
}

#date-price-tab {
    display: none;
}
.day-price {
    font-size: .75rem;
    line-height: 1.25;
    text-align: center;
    margin: 0;
    position: absolute;
    bottom: .5rem;
    width: 100%;
    padding: 0 !important;
    pointer-events: none;
    transition: all 100ms ease;
}
.qtt-date-picker .ui-datepicker .ui-datepicker-calendar tbody .ui-state-default:hover + .day-price,
.ui-state-active + .day-price {
    color: #fff;
}


/* Buy ticket styles */

/* Custom scrollbar */
.dropdown-content::-webkit-scrollbar {
    width: 10px;
    height: 5px;
}

.dropdown-content::-webkit-scrollbar-track {
    background-color: #f1f1f1;
    border-radius: 5px;
    margin: 5px;
}

.dropdown-content::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 5px;
    border: 3px solid #f1f1f1;
}

.dropdown-content::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}

/* Railcard dropdown */
.new-qtt-card .railcard-dropdown{
    width:100%;
}
.passenger-title,
.rail-card-title {
    font-family: 'D-DIN-PRO', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: .25rem;
    text-align: left;
    color: #061B2B;
}

.passenger-sub-title {
    font-family: 'D-DIN-PRO', sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.3;
    text-align: left;
    color: #007CAD;
}

.passengers-wrapper {
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.border-separator {
    width: 1px;
    height: 22px;
    background-color: #9EA8B3;
    position: absolute;
}

.counter-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.counter-button {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    border: 1px solid #007CAD;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
}
.counter-button[disabled] {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    filter: grayscale(1);
}
.counter-display {
    font-family: 'D-DIN-PRO', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 20.67px;
    text-align: center;
    color: #222222;
    width: 41px;
}

.minus-icon {
    width: 12px;
    height: 2px;
    position: relative;
    background-color: #007CAD;
}
.plus-icon {
    width: 12px;
    height: 2px;
    position: relative;
    background-color: #007CAD;
}
.plus-icon::after {
    content: "";
    position: absolute;
    width: 2px;
    height: 12px;
    background-color: #007CAD;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* Railcard styles */
.validation-message-railcard p{
    display: none;
}
.railcard-btn-set,
.passenger-btn-set {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.passenger-btn-set{
    padding-top: 0.625rem;
}
.railcard-btn-set button {
    border: 1px solid;
    border-radius: 6px;
    padding: 10px 6px;
    text-align: center;
    position: relative;
    font-family: 'D-DIN-PRO', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    flex: 1;
}
.railcard-btn-set .rail-card-add.add-link {
    padding: 0 0 0 1.25rem;
    border: 1px solid transparent;
    border-radius: 0;
    text-align: left;
    align-self: flex-start;
    color: #007CAD;
    background-color: transparent;
}
.railcard-btn-set .rail-card-add.add-link[disabled] {
    display: none;
}
.rail-card-add::before {
    content: '';
    background: url('/Assets/img/plus-icon.svg') no-repeat;
    position: absolute;
    left: 7px;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background-size: cover;
    background-position: center;
}

.rail-card-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
}
.rail-card-title {
    margin-bottom: 0;
}
.railcard-info-content{
    padding: 0.25rem 0;
}
.railcard-info-content p {
    font-size: 13px;
    line-height: 1.3 !important;
    margin: 0;
    padding: 0;
    color: #007CAD;
}
/* Container for railcard rows */
.rail-card-form-container {
    margin-top: 0.5rem;
}

/* Railcard row styling */
.railcard-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: .75rem;
    margin-bottom: .5rem;
    padding-bottom: .5rem;
    border-bottom: 1px solid #ccc;
}
.rail-card-form-group {
    flex-direction: column;   
    align-items: flex-start !important;
}
.rail-card-form-group .railcard-main-controls {
    width: 100%;
    gap: .75rem;
    display: flex;
    align-items: center;
}
.rail-card-form-container .railcard-main-controls {
    width: 100%;
    display: flex;
    gap: .75rem;
    flex-direction: row;
}
/* Dropdown (railcard select) styling */
.rail-card-form-container .railcard-main-controls .fancy-select {
    width: calc(100% - 7.25rem) !important;
    padding: 0;
    font-size: 14px;
    background-color: #F4F6F8;
    border: 0px solid #ccc;
    border-radius: 6px;
    cursor: pointer;
    text-align: left;
    font-family: 'D-DIN-PRO', sans-serif;
    font-weight: 400;
    color: #061B2B;
}
.rail-card-form-container .railcard-main-controls .fancy-select + .fancy-select {
    width: 4.75rem !important;
}
.rail-card-form-container .railcard-main-controls .fancy-select .trigger{
    border-bottom-right-radius: 6px;
    border-top-right-radius: 6px;
    max-width: 100%;
    text-overflow: ellipsis;
    overflow: hidden;
    height: 42px;
    line-height: normal !important;
    white-space: nowrap;
    display: block;
    padding-right: 1.75rem;
}
.rail-card-form-container .railcard-main-controls .fancy-select .options {
    width: 100% !important;
    max-width: none;
    min-width: auto;
}
/* Counter block styling */
.rail-card-count { 
    display: flex;
    align-items: center;
    justify-content: center;
}

.railcard-selected {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    cursor: pointer;
}

.railcard-quantity {
    font-size: 16px;
    padding: 3px;
}

/* Cross icon (remove button) styling */
.cross-icon {
    display: inline-block;
    background: url('/Assets/img/cross-icon.svg') no-repeat;
    width: 14px;
    height: 14px;
    border: 0;
    background-size: cover;
    cursor: pointer;
}
button.railcard-remove.cross-icon {
    border: 1px solid #061B2B;
    border-radius: 100%;
    background-size: 8px;
    background-position: center;
    width: 1rem;
    height: 1rem;
    padding: 0;
    margin: 0;
    min-width:1rem;
}
/* Adult and children dropdown styling in railcard controls */
.railcard-adult-select,
.railcard-child-select {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    background-color: #F4F6F8;
    border: 0px solid #ccc;
    border-radius: 6px;
    cursor: pointer;
    text-align: left;
    font-family: 'D-DIN-PRO', sans-serif;
    font-weight: 400;
    line-height: 20px;
    color: #061B2B;
    max-height: 150px;
    overflow-y: auto;
}
/* Railcard controls container */
.railcard-controls {
    display: flex;
    gap: .75rem;
    width: calc(100% - 1.75rem);
    min-width: 200px;
}

.railcard-adult-control,
.railcard-child-control {
    display: inline-block;
    font-size: 14px;
    width: calc(50% - .375rem);
}

.railcard-adult-control span,
.railcard-child-control span {
    margin: 0 5px;
}
.new-qtt-card .railcard-controls .fancy-select .trigger {
    border-bottom-right-radius: 6px;
    border-top-right-radius: 6px;
}
.new-qtt-card .railcard-adult-control .trigger, 
.new-qtt-card .railcard-child-control .trigger {
    padding: .5rem 1rem;
    height: 2.5rem;
}
/* Railcard error message styling */
.railcard-error-message {
    color: red;
    font-size: 14px;
    margin-top: -4px;
    margin-bottom: 10px;
}

/* Custom select dropdown */
.custom-qtt-select-dropdown {
    position: relative;
}

.qtt-custom-dropdown-btn {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    background-color: #F4F6F8;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    text-align: left;
    font-family: 'D-DIN-PRO', sans-serif;
    font-weight: 400;
    line-height: 20px;
    color: #061B2B;
    position: relative;
}

.qtt-custom-dropdown-btn::after {
    content: '';
    background: url('/Assets/img/dropdown-icon.svg') no-repeat;
    position: absolute;
    right: 14px;
    top: 14px;
    width: 16px;
    height: 16px;
    background-size: cover;
}

.qtt-custom-dropdown-list {
    display: none;
    position: absolute;
    width: 100%;
    top: 100%;
    left: 0;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1;
    margin: 0;
    list-style: none;
    padding: 0;
}

.qtt-custom-dropdown-list li {
    cursor: pointer;
    margin-bottom: 5px;
    font-size: 14px;
    padding: 5px 12px;
}

.qtt-custom-dropdown-list li:hover {
    background-color: #f0f0f0;
}

.qtt-custom-dropdown-list.show {
    display: block;
}

/* Add via void */
.btn-add-via {
    font-family: 'D-DIN-PRO', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.25;
    text-align: left;
    color: #007CAD;
    padding-left: 1.5rem;
    padding-right: 0;
    background: none;
    border: 1px solid transparent;
    cursor: pointer;
}
.plus-img, .promo-img {
    position: relative;
}
.plus-img::before {
    content: '';
    background: url('/Assets/img/icon-plus-circle.svg') no-repeat center;
    position: absolute;
    left: 0;
    top: 0px;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 100%;
    padding: 0;
    margin: 0;
    transform: translate(-8%, -8%);
}
.promo-img::before {
    content: '';
    background: url('/Assets/img/icon-promo.svg') no-repeat center;
    position: absolute;
    left: 0;
    top: 0px;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 100%;
    padding: 0;
    margin: 0;
    transform: translate(-8%, -8%);
}
.promo-code-wrapper {
    align-self: flex-end;
    min-height: 50px;
}
.promo-code-wrapper button {
    font-weight: 600;
}
.buy-season-ticket-tab-content-inner-container .find-ticket-price-wrapper {
    justify-self: end;
    display: flex;
    justify-content: flex-end;
    width: 100%;
}
.find-ticket-price-btn {
    background: #F5D83C;
    border: 1px solid #F5D83C;
    padding: 4px 24px;
    border-radius: 6px;
    font-family: 'D-DIN-PRO', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    color: #061B2B;
    width: 100%;
    height: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.right-arrow-icon {
    background: url('/Assets/img/right-arrow-icon.svg');
    width: 20px;
    height: 20px;
    border: 0;
    background-size: cover;
    cursor: inherit;
}

/* Buy season ticket passenger section */
.passenger-wrapper {
    position: relative;
    width: 45%;
    flex: none;
}
.add-via-void-wrapper .passenger-wrapper {
    width: auto;
    flex: 1;
}

.passenger-wrapper .new-qtt-dropdown .dropdown-content,
.flexi-passenger-dropdown,
.season-passenger-dropdown {
    min-width: auto;
    width: 100%;
}
.start-date-passenger-wrapper {
    gap: 1rem;
}

.passenger-wrapper.going-to-wrapper .drop-input,
.start-date-passenger-wrapper .leave-from-wrapper .drop-input,
.via-avoid-dropdown {
    border-radius: 6px;
}

.for-railcard-expiry-wrapper .leave-from-wrapper,
.for-railcard-expiry-wrapper .leave-from-wrapper .new-qtt-dropdown,
.for-railcard-expiry-wrapper .going-to-wrapper {
    width: 100%;
}

.for-only-single-railcard .qtticon,
.for-only-single-railcard .going-to-wrapper {
    display: none;
}

.for-only-single-railcard .leave-from-wrapper .drop-input {
    border-radius: 6px;
}

/* Custom checkbox */
.qtt-custom-checkbox input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}
@supports (-webkit-touch-callout: none) {
    .qtt-custom-checkbox input {
        position: absolute;
        opacity: 0;
        width: 100%;
        height: 100%;
        left: 0;
        z-index: 1;
    }
}
@supports (-webkit-hyphens: none) {
    .qtt-custom-checkbox input {
        position: absolute;
        opacity: 0;
        width: 100%;
        height: 100%;
        left: 0;
        z-index: 1;
    }
}


.qtt-custom-checkbox input:focus + .qtt-checkmark,
.qtt-custom-checkbox input:focus-visible + .qtt-checkmark {
    border-color: #007CAD;
    outline: 1px solid #007CAD !important;
    outline-offset: 1px;
}

.qtt-custom-checkbox .qtt-checkmark {
    position: relative;
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 1px solid #CCCCCC;
    border-radius: 0;
    margin: 0;
    vertical-align: middle;
    transition: background-color 0.1s, border-color 0.1s;
    cursor: pointer;
}

.qtt-custom-checkbox input:checked + .qtt-checkmark {
    background-color: #007CAD;
    border-color: #007CAD;
}

.qtt-custom-checkbox input:checked + .qtt-checkmark::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 0;
    width: 3px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.qtt-custom-checkbox {
    position: relative;
    color: #061B2B;
    display: flex;
    align-items: center;
    cursor: pointer;
    font-family: 'D-DIN-PRO', sans-serif;
    font-size: .875rem;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    border: 1px solid #D5DFE5;
    border-radius: 50px;
    padding: .375rem .75rem;
    gap: .375rem;
}

.qtt-custom-check-box-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin-bottom: 0.5rem;
}

/* Date dropdown */
.for-railcard-expiry-wrapper .dropdown {
    position: absolute;
    display: inline-block;
    top: 75px
}


.validation {
    margin-top: .25rem;
}
.validation.passenger-validation {
    font-size: 13px;
    margin-top: 0;
}
.validation-static {
    display: block;
}
.passengerGreaterThan9 {
    color: white;
    text-decoration: underline;
}

/* Dropdown list */
.drop-down-list-wrapper:hover,
.drop-down-list-wrapper:focus {
    background-color: #f5f5f5;
    outline: none;
}

.drop-down-list-wrapper.selected {
    background-color: #007bff;
    color: white;
}

.drop-down-list-wrapper:focus-visible {
    background-color: #e8f0fe;
    outline: 2px solid #4a90e2;
}

/* Via void container */
.via-add-container-form-group {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    position: relative;
    gap: 0;
}
.via-avoid-dropdown {
    width: 5.25rem;
    padding: 0.75rem;
    background-color: #F5F7F9;
    border-bottom-right-radius: 0px;
    border-top-right-radius: 0px;
    position: relative;
    line-height: normal;
    border: 1px solid transparent;
    height: 50px;
    font-size: 1rem;
}
.via-add-container-form-group .via-add-container{
    width: 5.25rem;
    min-width: 5.25rem;
    flex: 0 0 5.25rem;
    margin-top: 26px;
}
.via-add-container-form-group .separator-wrapper {
    flex: 0 0 1px;
    width: 1px;
    min-width: 1px;
    max-width: 1px;
}
.via-add-container-form-group .via-void-station-wrapper {
    flex: 1 1 0%;
    min-width: 0;
    width: auto;
}
.new-qtt-card .via-add-container .fancy-select .options {
    width: 5.25rem;
    min-width: 5.25rem;
}
.via-add-container-form-group .via-void-station-wrapper .new-qtt-dropdown{
    width: 100%;
}
.new-qtt-card .fancy-select .trigger {
    display: flex;
    align-items: center;
    background-color: #F5F7F9 !important;
    border-bottom-right-radius: 0px;
    border-top-right-radius: 0px;
    position: relative;
    line-height: normal !important;
}
.new-qtt-card .via-add-container .fancy-select .trigger,
.new-qtt-card .passenger-wrapper .fancy-select .trigger {
    white-space: nowrap;
    overflow: hidden;
    max-width: 100%;
    text-overflow: ellipsis;
}
.new-qtt-card .fancy-select:focus-within .trigger,
.new-qtt-card .fancy-select .trigger.open {
    border-bottom: 2px solid #007cad !important;
    border-bottom-left-radius: .375rem !important;
    border-bottom-right-radius: .375rem !important;
}
.passenger-wrapper.going-to-wrapper .drop-input {
    border-bottom-left-radius: 0px;
    border-top-left-radius: 0px;
}
.new-qtt-card .fancy-select .trigger:after {
    content: '' !important;
    background: url(/Assets/img/icon-down-arrow.svg) no-repeat center;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 1rem;
    height: 1rem;
    transition: all ease-in-out 0.1s;
}
.new-qtt-card .fancy-select .trigger.open:after {
    transition: all ease-in-out 0.1s;
    right: 0;
    top: 50%;
    transform: translate(-50%, -50%) scale(-1);
}
.new-qtt-card .fancy-select .options.open {
    top: 50px;
}
.new-qtt-card .fancy-select {
    position: relative;
    width: 100%;
}
.new-qtt-card .for-railcard-expiry-wrapper .fancy-select {
    position: static;
    opacity: 1;
    background-color: transparent !important;
}
.new-qtt-card .for-railcard-expiry-wrapper .fancy-select .trigger {
    border-bottom-right-radius: 0.375rem;
    border-top-right-radius: 0.375rem;
    border-bottom-left-radius: 0px;
    border-top-left-radius: 0px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    display: block;
    width: 100%;
    padding: 1rem 1.5rem 1rem 1rem;
}
.new-qtt-card .for-railcard-expiry-wrapper .fancy-select.disabled .trigger{
    color: #061B2B80;
    background-color: #F5F7F9 !important;
    cursor: not-allowed;
}
.new-qtt-card .fancy-select.disabled .trigger:after {
    opacity: 0.5;
}
.new-qtt-card .for-railcard-expiry-wrapper .fancy-select .options.open {
    top: auto;
    bottom: auto;
    left: 0;
}
.new-qtt-card .fancy-select .options.overflowing.open,
.modal .qtt-date-picker ul.options.open {
    top: auto;
    bottom: 50px;
}
.new-qtt-card .fancy-select .options {
    box-shadow: 0px 10px 40px 0px #00000014;
    border-radius: .5rem;
    padding: .5rem;
    width: 100%;
    min-width: 8rem;
    margin: 0;
    list-style: none;
    position: absolute;
    z-index: 999;
    background-color: #fff;
    display: none;
    transition: all ease-in-out 0.1s;
}
.new-qtt-card .fancy-select .trigger.open + .options {
    display: block;
    max-height: 300px;
    overflow-y: auto;
    transition: all ease-in-out 0.1s;
}
.new-qtt-card .fancy-select .options {
    max-height: 220px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #9ca3af transparent;
}
.new-qtt-card .fancy-select .options::-webkit-scrollbar {
    width: 5px;
}
.new-qtt-card .fancy-select .options::-webkit-scrollbar-track {
    background: transparent;
}
.new-qtt-card .fancy-select .options::-webkit-scrollbar-thumb {
    background: #9ca3af;
    border-radius: 999px;
}
.new-qtt-card .fancy-select .options::-webkit-scrollbar-thumb:hover {
    background: #6b7280;
}
.new-qtt-card .qtt-calendar-button-footer-wrapper .fancy-select .trigger.open + .options {
    width: 100%;
    max-width: initial;
}
.new-qtt-card .time-picker .fancy-select .options{
    max-height: 225px !important;
}
 .new-qtt-card .fancy-select .options li {
    padding: .75rem;
    margin: 0;
    border-radius: 6px;
    height: auto;
    font-size: .875rem;
    line-height: 1.3;
    font-weight: 500;
    }
.new-qtt-card .fancy-select .options li.selected,
.new-qtt-card .fancy-select .options li.hover{
    background-color: #E5F2F7;
}
.via-validation-message,
.station-validation-message,
.date-validation-cal, .tsu-validation-message, .promo-pin-validation-message {
    color: red;
    margin-top: 0.25rem;
    position: absolute;
    left: 0;
    top: 100%;
    line-height: 1;
    background-color: #fff;
    padding: 1px;
    white-space: nowrap;
    z-index: 1;
}
.via-validation-message {
    white-space: normal;
}
.for-railcard-expiry-wrapper .tsu-validation-message {
    white-space: normal;
    line-height: 14px;
}
.tsu-validation-message {
    white-space: normal;
    line-height: 14px;
    margin-top: 1.25rem;
    position: static;
    color: #061B2B;
}
.validation.tsu-validation-message{
    margin-bottom: 0;
}
.passenger-validation .validation-error-message {
    margin-top: .25rem;
    margin-bottom: 0;
}
.date-validation-cal.new-qtt-validation-error {
    white-space: normal;
}
.new-qtt-card .fancy-select select {
    padding: 0 !important;
    margin: 0;
    width: 1px !important;
    height: 1px !important;
    background-color: transparent;
    position: absolute;
}

.for-railcard-expiry-wrapper .qtt-date-picker {
    display: block;
    width: auto;
    left: 0px;
    min-width: 542px;
}

.for-railcard-expiry-wrapper .ui-widget-content {
    border: 0px;   
    box-shadow: none;
}
.new-qtt-card .railcard-row .fancy-select .options{
    max-height: 225px !important;
}
.new-qtt-card .railcard-row .fancy-select .options li {
    max-width: 100%;
    text-overflow: ellipsis;
    overflow: hidden;
    height: 42px;
    white-space: nowrap;
}
.ui-datepicker table {
    display: table !important;
    width: 100% !important;
    border-collapse: collapse !important;
}

.ui-datepicker tr {
    display: table-row !important;
}

.ui-datepicker td {
    display: table-cell !important;
    width: auto !important;
    padding: .125rem !important;
    vertical-align: middle !important;
}

.ui-datepicker th {
    display: table-cell !important;
}

.ui-datepicker-calendar {
    display: table !important;
    width: 100% !important;
}

.promo-toggle-btn {
    background: none;
    padding: 0;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.25;
    text-align: left;
    color: #007CAD;
    padding-left: 1.875rem;
    padding-right: 0;
    border: 1px solid transparent;
    cursor: pointer;
}

.promo-code-info {
    font-size: .875rem;
    line-height: 1.5;
    color: #4f4f4f;
    margin-top: .25rem;
}
.qtt-date-picker .calendar-tabs {
    display: flex;
    gap: 1.5rem;
}
.qtt-date-picker .calendar-tabs button {
    background-color: #fff;
    border: none !important;
    border-bottom: 2px solid transparent !important;
    cursor: pointer;
    color: #061B2B;
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
    padding: .5rem 0px;
    outline: none !important;
}
.open-return-info-wrapper {
    position: relative;
}
.qtt-date-picker .calendar-tabs button.info-btn.open-return-info-btn {
    left: -1rem;
    top: .75rem;
    padding: 0;
    align-self: center;
    right: auto;
    border: 1px solid transparent !important;
}
.qtt-date-picker .calendar-tabs .info-content.open-return-info-content {
    width: 10rem;
    top: 2rem;
    left: -5.5rem;
}
.qtt-date-picker .calendar-tabs button:focus {
    border-color: #007CAD !important;
    outline-offset: 0;
}
.qtt-date-picker .calendar-tabs button.active {
    color: #007CAD;
    border-color: #007CAD !important;
}
.qtt-date-picker .calendar-tabs button.info-btn.open-return-info-btn:focus {
    border: 1px solid #007CAD !important;
}
.disabled-option {
    opacity: 0.4;
    cursor: not-allowed !important;
}
.disabled-option span{
    pointer-events: none;
}

/* PLAN YOUR JOURNEY */

.journey-top-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.journey-outline-btn {
    border: 1px solid #c9d2dc;
    background: #fff;
    border-radius: 40px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.1s ease;
}

    .journey-outline-btn.active {
        border-color: #0070a8;
        color: #0070a8;
    }

.full-width {
    width: 100%;
}

#plan-your-journey .departure-wrapper {
    background: #f3f4f6;
    border-radius: 8px;
    min-height: 72px;
}

#plan-your-journey .drop-input {
    background: transparent;
}

#plan-your-journey .find-ticket-price-wrapper {
    margin-top: 24px;
}

#plan-your-journey .find-ticket-price-btn {
    width: 100%;
    background: #f1d632;
    border: none;
    border-radius: 8px;
    min-height: 56px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

#plan-your-journey .border-separator {
    width: 1px;
    height: 32px;
    background: #cfd6dc;
}
.journey-section {
    display: none;
}

    .journey-section.active {
        display: block;
    }

.station-departure-wrapper {
    display: flex;
    align-items: flex-end;
    gap: 24px;
    width: 100%;
}

.station-input-wrapper {
    flex: 1;
    width: 100%;
}

    .station-input-wrapper .new-qtt-dropdown {
        width: 100%;
    }

    .station-input-wrapper .drop-input {
        width: 100%;
        box-sizing: border-box;
    }

.view-live-trains-btn {
    min-width: 260px;
    height: 48px;
    padding: 0 24px;
    border: none;
    border-radius: 4px;
    background-color: #f3d532;
    color: #061B2B;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    transition: background-color 0.1s ease;
}

.view-live-trains-btn:hover {
    background-color: #e3c521;
}
.station-departure-section {
    margin-top: 24px;
}
.journey-time-dropdown {
    max-height: 250px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
}

.qtt-calendar-button-footer-wrapper .new-qtt-label{
    display: none;
}

.disabled-section .new-qtt-dropdown .railcard-input {
    opacity: 0.5;
    cursor: not-allowed;
}
.disabled-section .fancy-select {
    opacity: 0.5;
    cursor: not-allowed;
}
.buy-season-ticket-tab-content-inner-container .for-railcard-expiry-wrapper.disabled-section .fancy-select {
    cursor: not-allowed;
    pointer-events: auto;
}

.tsu-validation-message.val-mob {
    display: none;
}

#mob-GreaterThan9.validation-error-message,
#GreaterThan9.validation-error-message,
.validation.tsu-validation-message-mobile .validation-error-message.validation-message-railcard,
.validation.tsu-validation-message .validation-error-message.validation-message-railcard {
    color: #007CAD;
    line-height: 1.2;
}
#mob-GreaterThan9.validation-error-message a, 
#GreaterThan9.validation-error-message a{
    color: #007CAD !important;
}
#mob-GreaterThan9.validation-error-message {
    color: #007CAD !important;
}
.validation.passenger-validation span#GreaterThan9 {
    margin-top: 2rem;
}
body.modal-open {
    overscroll-behavior: none;
}
.station-modal {
    display: none;
    position: fixed;
    inset: 0;
    height: var(--station-modal-height, 100dvh);
    overflow: hidden;
    overscroll-behavior: contain;
    background: rgba(0,0,0,0.45);
    z-index: 999999;
}

.station-modal-inner {
    background: #fff;
    width: 100%;
    height: var(--station-modal-height, 100dvh);
    min-height: var(--station-modal-height, 100dvh);
    position: relative;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.station-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 0 0 auto;
    padding: 1rem 1rem 0;
    border-bottom: 1px solid #CCCCCC;
    background-color: #E9F0F5;
}

.station-modal-header h2 {
    font-size: 16px;
    margin: 0;
    padding: 0;
    font-weight: 600;
}

.station-modal-close {
    border: none;
    background: none;
    font-size: 34px;
    cursor: pointer;
    padding: 0;
    color: #061B2B;
}

.station-search-wrapper {
    position: relative;
    flex: 0 0 auto;
    padding: 1rem 1rem 0;
    background-color: #E9F0F5;
    border-bottom: 1px solid #c2d4e0;
}

#stationModalInput {
    width: 100%;
    padding: .5rem 2rem .5rem .75rem;
    border: 1px solid #D5DFE5;
    border-radius: .375rem;
    font-size: 16px;
    line-height: 1.5;
    color: #1B242C;
    background-color: #fff;
}

.clear-search-btn {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    font-size: 24px;
    display: none;
}
.modal-station-search-btn {
    position: absolute;
    right: 1.5rem;
    top: 27px;
    border: none;
    background: none;
    font-size: 1.25rem;
    line-height: 1;
    height: 1.25rem;
    width: 1.25rem;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.modal-station-search-btn::before {
    content: "";
    font-family: FontAwesome, sans-serif !important;
    color: #c2d4e0;
}
#stationModalResults {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 0px 12px;
}

.station-result {
    padding: 12px 12px;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    font-size: 16px;
    font-weight: 400;
    color: #061B2B;
    line-height: 18px;
    border: 1px solid #c2d4e0;
    border-radius: .375rem;
    margin-bottom: .25rem;
}
#stationModalResults .no-results {
    padding: 20px 12px;
    color: #8A99A8;
    font-size: 14px;
    font-style: italic;
}

.station-result:hover {
    background-color: #F5F7F9;
}

.mobile-only {
    display: none !important;
}
.mobile-only-close-btn {
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 1rem !important;
    line-height: 1;
    width: 1.25rem;
    height: 1.25rem;
    z-index: 9;
}
.buy-passenger-dropdown .mobile-only-close-btn,
.railcard-dropdown .mobile-only-close-btn {
    display: flex !important;
}
.leave-arrive-wrapper {
    grid-area: leave_arrive;
}
.add-via-void-wrapper {
    grid-area: via_avoid;
}
.outward-return-wrapper {
    grid-area: outward_return;
}
.passenger-railcard-wrapper {
    grid-area: passenger_railcard;
}
.promo-code-wrapper {
    grid-area: promo_code;
}
.find-ticket-price-wrapper {
    grid-area: button;
    align-self: flex-end;
}
.season-leave-arrive-wrapper {
    grid-area: season_leave_arrive;
}
.season-start-end-date-wrapper {
    grid-area: season_start_end_date;
}
.season-passenger-railcard-wrapper {
    grid-area: season_passenger_railcard;
}
.season-ftp-btn {
    grid-area: season_ftp_btn;
}
.tsu-validation-message-mobile {
    grid-area: tsu_railcard_msg;
}
.custom-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}
.new-qtt-card .tab-content-inner-container.buy-ticket-tab-content-inner-container {
    grid-template-columns: 1fr;
    grid-template-areas:
        "leave_arrive"
        "via_avoid"
        "outward_return"
        "passenger_railcard"
        "promo_code"
        "button";
}
.new-qtt-card .buy-season-ticket-tab-content-inner-container {
    grid-template-columns: 1fr;
    grid-template-areas:
        "season_leave_arrive"
        "season_start_end_date"
        "season_passenger_railcard"
        "tsu_railcard_msg"
        "season_ftp_btn";
}

@media screen and (min-width:767.99px) {
    .pin-promo-code-btn-set {
        display: none;
    }
    .promo-input-fields .mobile-only-close-btn {
        display: none;
    }
    .buy-ticket-tab-content-inner-container .qtt-calendar-button-footer-wrapper .outbound-time-wrapper, 
    .buy-ticket-tab-content-inner-container .qtt-date-picker .qtt-calendar-button-footer-wrapper .time-picker, 
    .buy-ticket-tab-content-inner-container .qtt-calendar-button-footer-wrapper .qtt-calendar-apply-btn-wrapper {
        width: calc(33.33% - 2rem/3) !important;
    }
    .new-qtt-card .tab-content-inner-container.buy-ticket-tab-content-inner-container {
        grid-template-columns: 1fr 1fr;
        row-gap: 2.25rem;
        grid-template-areas:
            "leave_arrive leave_arrive"
            "via_avoid outward_return"
            "passenger_railcard promo_code"
            "blank button";
    }
    .new-qtt-card .buy-season-ticket-tab-content-inner-container {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "season_leave_arrive season_leave_arrive"
            "season_start_end_date season_passenger_railcard"
            "blank season_ftp_btn";
    }
    body.modal-open {
        padding-right: 15px;
    }
}

@media screen and (min-width: 1199.99px) {

    .new-qtt-card .tab-content-inner-container.buy-ticket-tab-content-inner-container {
        grid-template-columns: 32fr 32fr 36fr;
        grid-template-areas:
            "leave_arrive leave_arrive via_avoid"
            "outward_return passenger_railcard promo_code"
            "blank blank button";
    }
    .new-qtt-card .buy-season-ticket-tab-content-inner-container {
        grid-template-columns: 32fr 32fr 36fr;
        grid-template-areas:
            "season_leave_arrive season_leave_arrive season_start_end_date"
            "season_passenger_railcard blank season_ftp_btn";
    }
}

@media screen and (min-width:1439.99px) {
    .custom-container {
        max-width: 1328px;
    }
}

@media screen and (max-width:1199.98px) {
    .new-qtt-card .new-qtt-label {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        width: 100%;
    }

}

/**style for mobile**/
@media screen and (max-width:991.98px) {
    .margin-n-top {
        margin-top: 0px;
    }
    .new-qtt-card .tab-content-inner-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .buy-season-ticket-tab-content-inner-container .find-ticket-price-wrapper {
        justify-self: end;
        grid-column: 2;
    }
}

@media screen and (max-width:767.98px) {
    .desktop-only {
        display: none !important;
    }
    .banner-home {
        z-index: unset !important;
    }

    .flexi-season-validation span {
        font-size: 0.875rem;
        line-height: 18px;
    }
    .new-qtt-card {
        padding: 0.5rem 0;
        box-shadow: none;
        border-radius: 0;
    }
    .new-qtt-card .tabs {
      position: static;
    }
    .new-qtt-card .tabs .tab {
        font-size: 1rem;
        padding: 0.75rem 0.375rem;
        font-weight: 600;
    }
    .new-qtt-card .tab.active{
        font-weight: 700;
    }
    .new-qtt-card .extend-travel {
        white-space: nowrap;
        margin-top: 0.75rem;
        margin-bottom: 0;
        padding: 0.75rem;
        width: 100%;
        text-align: center;
        font-weight: 700;
    }
    .new-qtt-card .extend-travel.mobile-only{
        display: block;
    }
    .new-qtt-card .tab-content-inner-container {
        grid-template-columns: 100%;
        row-gap: 0.75rem;
    }
    .new-qtt-card .departure-wrapper{
        flex-direction: column;
        gap: 12px;
    }
    .separator-wrapper{
        display: none;
    }
    .via-add-container-form-group .separator-wrapper {
        display: flex;
    }
    .new-qtt-card .form-control-wrapper,
    .buy-ticket-tab-content-inner-container .calendar-width-fix .form-control-wrapper {
        width: 100%;
    }
    .new-qtt-dropdown {
        width: 100%;
    }
    .new-qtt-card .switch-btn-wrapper {
        height: auto;
        position: absolute;
        top: 74px;
        right: 10px;
        background-color: transparent;
        z-index: 9;
    }
    .switch-btn-wrapper .switch-btn {
        width: 2.5rem;
        height: 2.5rem;
    }
    .switch-btn-wrapper .switch-icon {
        width: 20px;
        transform: rotate(90deg);
    }
    .add-via-void-wrapper, .promo-code-wrapper {
        align-self: center;
        min-height: unset;
    }
    .new-qtt-card .via-add-container .fancy-select .trigger {
        padding: 0.75rem;
    }
    .plus-img::before, .promo-img::before {
        top: -1px;
    }
    .leave-from-wrapper .new-qtt-dropdown input, .promo-code-field .new-qtt-dropdown input {
        border-top-right-radius: .375rem;
        border-bottom-right-radius: .375rem;
    }
    .going-to-wrapper .new-qtt-dropdown input, .pin-code-field .new-qtt-dropdown input {
        border-top-left-radius: .375rem;
        border-bottom-left-radius: .375rem;
    }
    .new-qtt-card .passenger-wrapper .season-drop-input {
        border-top-right-radius: .375rem !important;
        border-bottom-right-radius: .375rem !important;
    }
    .new-qtt-card .dropbtn, .new-qtt-card .drop-input, .new-qtt-card .passenger-drop-input, .new-qtt-card .season-drop-input, .new-qtt-card .flexi-drop-input, .new-qtt-card .railcard-drop-input, .new-qtt-card .hpqtt-outward, .new-qtt-card .hpqtt-outward-return, .new-qtt-card .cal-season-ticket, .new-qtt-card .railcard-input {
        padding: 0.75rem
    }
    .via-validation-message, .station-validation-message, .date-validation-cal, .tsu-validation-message {
        white-space: normal;
        font-size: 13px;
        position: static;
        margin-top: .25rem;
    }
    .date-validation-cal.mobile-return-validation.new-qtt-validation-error,
    .date-validation-cal.mobile-outward-validation.new-qtt-validation-error{
        margin-top: -2px;
    }
    #buy-ticket-stations .station-validation-message,
    #season-ticket-stations .station-validation-message,
    #planYourJourneyStations .station-validation-message {
        margin-top: -8px;
    }
    .calendar-width-fix.flex-order-3 .date-validation-cal {
        margin-top: 0;
    }
    .tsu-validation-message-mobile {
        line-height: 16px;
        margin-top: -6px;
    }
    .mobile-promo-validation-message, 
    .mobile-pin-validation-message {
        white-space: normal;
        line-height: 1;
        color: #f00;
        margin-top: .25rem;
        font-size: 13px;
    }
    .new-qtt-card .for-railcard-expiry-wrapper .fancy-select .trigger {
        border-bottom-left-radius: 0.375rem;
        border-top-left-radius: 0.375rem;
    }
    .via-validation-message:empty, .station-validation-message:empty, .date-validation-cal:empty, .tsu-validation-message:empty {
        display: none;
    }
    .tooltip-content.promo-code-info-content, .tooltip-content.railcard-info-content {
        left: 0;
    }
    span.caret-icon{
        left: 30%;
    }
    .tooltip-content.railcard-info-content span.caret-icon {
        left: 22%;
    }
    .tooltip-content.promo-code-info-content span.caret-icon {
        left: 31%;
    }
    .new-qtt-card .ui-datepicker.ui-datepicker-multi .ui-datepicker-group {
        width: 100%;
    }
    .qtt-modal-header .cal-top-wrapper {
        font-size: 16px;
    }
    .new-qtt-card .ui-datepicker {
        top: 90px !important;
    }
    .qtt-date-modal {
        position: fixed;
        top: unset;
        bottom: 0;
        width: 100%;
        max-width: 100%;
    }
    .qtt-date-picker .ui-datepicker {
        position: static !important;
        border: none;
        box-shadow: none;
    }
    .qtt-date-modal .calendar-tab-content,
    .new-qtt-date-modal-wrapper .qtt-calendar-top-wrapper {
        padding-top: 0;
    }
    .new-qtt-date-modal-wrapper .qtt-calendar-top-wrapper.return-type-toggle-wrapper {
        padding-top: 0.25rem;
    }
    .qtt-date-picker .calendar-tabs button{
        padding: .25rem 0;
        font-size: 1rem;
    }
    .qtt-date-modal .qtt-calendar-button-footer-wrapper {
        padding: 0;
        border: none;
    }
    .qtt-date-picker .ui-datepicker .ui-datepicker-header .ui-datepicker-title{
        border: none;
    }
    .qtt-date-picker .qtt-calendar-button-footer-wrapper {
        flex-wrap: wrap;
    }
    .qtt-calendar-button-footer-wrapper .outbound-time-wrapper, 
    .qtt-date-picker .qtt-calendar-button-footer-wrapper .time-picker{
        flex: 1;
    }
    .qtt-calendar-button-footer-wrapper .qtt-calendar-apply-btn-wrapper{
        width: 100%;
        height: 42px;
    }
    .return-tab-content.open-return-content .qtt-calendar-apply-btn-wrapper {
        background-color: #fff;
        margin-top: 0;
        padding-bottom: 0;
    }
    .qtt-calendar-apply-btn-wrapper .apply-btn{
        padding: 0.5rem 0;
        width: 100%;
    }
    .return-tab-content.open-return-content {
        gap: 0.75rem;
        padding-top: .75rem;
    }
    .return-tab-content.open-return-content p {
        padding: 0;
        border: none;
        font-weight: 500;
    }
    .qtt-custom-check-box-wrapper {
        overflow-x: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
        gap: 1rem;
    }
    .qtt-custom-checkbox {
        white-space: nowrap;
    }
    .qtt-custom-checkbox .qtt-checkmark {
        width: 14px;
        height: 14px;
    }
    .qtt-custom-checkbox input:checked + .qtt-checkmark::after {
        left: 4px;
    }
    .buy-season-ticket-tab-content-inner-container .calendar-width-fix .form-control-wrapper {
        width: 100%;
    }
    .end-date-wrapper.going-to-wrapper .new-qtt-dropdown:before {
        display: none;
    }
    .buy-season-ticket-tab-content-inner-container .find-ticket-price-wrapper {
        grid-column: auto;
    }

    .new-qtt-card .fancy-select .trigger:after {
        right: 0 !important;
    }

    .new-qtt-dropdown .dropdown-content {
        padding: .5rem;
        font-size: 13px;
    }

    .flex-order-1 {
        order: 1;
    }
    .flex-order-2 {
        order: 2;
    }
    .flex-order-3 {
        order: 3;
    }
    .flex-order-4 {
        order: 4;
    }
    .flex-order-5 {
        order: 5;
    }
    .flex-order-6 {
        order: 6;
    }

    .tsu-validation-message.val-mob {
        white-space: normal;
    }
    .validation.passenger-val-mob {
        position: static;
        line-height: 1.2;
        margin-top: .25rem;
    }
    #stationModalResults {
        padding: 1rem;
        background-color: white;
        border-bottom: 0;
    }
    #stationModalResults .station-result {
        padding: .375rem .75rem;
    }
    #stationModalResults .station-result:first-of-type {
        background-color: #E5F2F7;
    }
    #stationModalResults .no-results {
        border-radius: 4px;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.3), 0 4px 4px 0 rgba(0, 0, 0, 0.2);
        background-color: #fff;
        color: #061B2B;
        margin: -1rem 0 0;
        padding: .5rem;
        line-height: 24px;
        font-size: 16px;
        font-style: normal;
    }
    .new-qtt-card .mobile-only-modal {
        position: fixed;
        width: 100%;
        height: 100dvh;
        min-height: 300px;
        inset: 0;
        background-color: #fff;
        z-index: 99999;
        border-bottom-left-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
    }
    .new-qtt-card .mobile-only-modal::before {
        content: "";
        position: fixed;
        inset: 0;
        background-color: rgba(0,0,0,0.8);
        z-index: -1;
    }
    .new-qtt-card .mobile-only-modal::after {
        content: "";
        position: absolute;
        inset: 0;
        background-color: #fff;
        z-index: -1;
        border-radius: 6px;
        border-bottom-left-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
    }
    .promo-input-fields.promo-expanded-inline {
        display: flex;
    }
    .promo-input-fields.promo-expanded-inline .promoCodeField,
    .promo-input-fields.promo-expanded-inline .pinCodeField {
        cursor: pointer;
        background-color: #F5F7F9;
        caret-color: transparent;
    }
    button#buyTicketHavePromoCode{
        display: block 
    }
    button.btn-add-via.plus-img, button#buyTicketHavePromoCode {
        font-size: .875rem;
    }
    button#buyTicketHavePromoCode.js-hidden {
        display: none !important;
    }

    .new-qtt-card .buy-passenger-dropdown.mobile-only-modal,
    .new-qtt-card .railcard-dropdown.mobile-only-modal,
    .new-qtt-card .promo-input-fields.mobile-only-modal {
        height: auto;
        inset: auto 0 0;
        border: 1px solid #ccc;
        padding-bottom: 4.5rem;
        overflow: auto;
    }
    .buy-passenger-dropdown.mobile-only-modal button.btn-secondary,
    .railcard-dropdown.mobile-only-modal button.btn-secondary,
    .promo-input-fields.mobile-only-modal button.btn-secondary{
        width: 100%;
    }
    .new-qtt-card .buy-passenger-dropdown.mobile-only-modal {
        min-height: 225px;
    }
    .new-qtt-card .railcard-dropdown.mobile-only-modal {
        padding-bottom: .875rem;
        min-height: 11rem;
        overflow: visible;
    }
    .new-qtt-card .railcard-dropdown.mobile-only-modal .railcard-error-message {
        margin-top: 0;
    }
    .promo-input-fields.mobile-only-modal {
        padding: 1rem;
        min-height: 256px;
    }
    .mobile-only{
        display: block !important;
    }
    .passenger-btn-set,
    .pin-promo-code-btn-set {
        width: calc(100% - 2rem);
        padding: 0;
        position: absolute;
        bottom: 1rem;
        margin: 0;
    }
    .passenger-btn-set,
    .railcard-btn-set {
        display: flex !important;
    }
    .passenger-validation .validation-error-message,
    .validation.tsu-validation-message {
        margin-top: 0.5rem;
        margin-bottom: 0;
    }
    .end-date-wrapper {
        margin-left: 0;
    }
    .tooltip-content.railcard-tooltop-content,
    .railcard-drop-input:hover ~ .railcard-tooltop-content,
    .railcard-drop-input:focus ~ .railcard-tooltop-content {
        display: none;
    }
    .qtt-date-picker .calendar-tabs button.info-btn.open-return-info-btn {
        top: 7px;
    }
    .qtt-date-picker .calendar-tabs .info-content.open-return-info-content span.caret-icon {
        left: 50%;
    }
    #mob-GreaterThan9.validation-error-message{
        padding-top: 0;
    }
    .new-qtt-card .dropbtn, .new-qtt-card .drop-input, .new-qtt-card .passenger-drop-input, .new-qtt-card .season-drop-input, .new-qtt-card .fancy-select .trigger, .new-qtt-card .flexi-drop-input, .new-qtt-card .railcard-drop-input, .new-qtt-card .hpqtt-outward, .new-qtt-card .hpqtt-outward-return, .new-qtt-card .cal-season-ticket, .new-qtt-card .railcard-input {
        font-size: 0.875rem !important;
    }
    button.clear-return-btn{
        right: 0.75rem;
    }
    @supports (-webkit-touch-callout: none) {
        .new-qtt-card .dropbtn, .new-qtt-card .drop-input, .new-qtt-card .passenger-drop-input, .new-qtt-card .season-drop-input, .new-qtt-card .fancy-select .trigger, .new-qtt-card .flexi-drop-input, .new-qtt-card .railcard-drop-input, .new-qtt-card .hpqtt-outward, .new-qtt-card .hpqtt-outward-return, .new-qtt-card .cal-season-ticket, .new-qtt-card .railcard-input {
            font-size: 1rem !important;
        }
    }
}

@media screen and (max-width:380px) {
    .new-qtt-card .tabs .tab {
        font-size: 0.875rem;
    }
}
