

.center-horizontal {
  margin: 0 auto;
  left: 0;
  right: 0;
  text-align: center;
}
.readable-length {
  max-width: 48em;
  margin: auto;
}
.text-white {
  color: white;
}
.text-red {
  color: #DA1A35;
}

.saf-intro-section ul.arrow-bullets {
  padding: 30px !important;
  background: #e7e7e7 !important;
  list-style-type: none;
  li {
    margin-top: 0.25em;
    margin-bottom: 0.25em;
  }
  li::before {
    position: relative;
    top: .2em;
    content: "\f054";
    font-family: "Font Awesome 5 Pro";
    display: inline-block;
    float: left;
    width: 1.2em;
    margin-left: -1.2em;
    font-size: 85%;
  }
}

.text-large {
  font-size: 3rem;
}
.bottom-margin-1 {
  margin: 1em auto;
}
.bottom-margin-2 {
  margin: 2em auto;
}
.banner.saf, .saf-farepromo-section, .saf-intro-section {
  font-family: 'Gilroy-Regular', arial, sans-serif;
}
.saf-intro-section p {

  line-height: 25px;
  margin-bottom: 20px;
}
.banner.saf {
  background-color: #DA1A35;
  background-image: url("/sites/default/files/assets/image_ct/fast-train_0.jpg");
  background-position: center center;
  background-size: cover;
  /*background-color: #da1a35;
  background-blend-mode: multiply;*/
  padding: 120px 0 5em 0;
  height: auto;
}
.saf-header-container {
  display: -ms-flexbox;
  display: flex;
  justify-content: space-between;
  max-width: 1084px;
  margin: auto;
  padding: 25px 30px;
  background-color: rgba(0, 0, 0, 0.15);
  /* end-to-end */
  align-items: center;
}
.saf-logo {
  position: relative;
  width: 350px;
  height: 91px;
  bottom: -5px;
}
.saf-nav {
  font-size: 20px;
}
.saf-nav ul {
  list-style: none;
  padding: 0;
  margin: 0 0 0 50px;
}
.saf-nav li {
  display: inline;
  padding: 0 1.4em 0 0;
}
main .saf-nav ul li a {
  text-decoration: none !important;
  white-space: nowrap;
  color: white !important;
}
main .saf-nav ul li a:hover, main .saf-nav li.active ul li a {
  text-decoration: underline !important;
  color: white !important;
}
main .saf-nav ul li a:active, main .saf-nav ul li a:focus {
  color: #f3f3f3 !important;
}
.bd-text .saf-hero-title {
  margin: 4em auto 2em auto;
  max-width: 800px;
  h1 {
    font-size: 41px;
    padding: .5rem 1.25rem 1rem;
  }
}
form.saf-form, .saf-advantage-promo {
  display: -ms-flexbox;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-around;
  align-items: center;
}
.space-around {
  margin: 1em 0;
}
form.saf-form {
  width: 720px;
  margin: 2em auto;
}
.saf-advantage-promo {
  color: #fff;
  max-width: 960px;
  margin: auto;
  font-weight: bold;
}
.saf-advantage-promo div {
  white-space: nowrap;
  font-size: 2rem;
  font-weight: 300;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 3px;
  padding: 0px 10px 3px 10px;
}
.saf-advantage-promo div:before {
  content: "\f046";
  font-family: "Font Awesome 5 Pro";
  margin-right: 6px;
  font-size: 120%;
  position: relative;
  bottom: -2px;
}
.saf-input-field.form-group input {
  border: 0;
  font-size: 17px;
}
input#saf-book-now-btn {
  font-size: 18px;
  padding: 5px 12px;
}
.saf-input-field {
  flex: 1 5 auto;
  margin: 0 10px 10px 0;
}
.saf-field-switch {
  flex: 0 1 auto;
  margin-right: 10px;
}
.saf-form-switch {
  width: 36px;
  height: 36px;
  margin-top: -10px;
  cursor: pointer;
}
.saf-swap-path {
  fill: #f3f3f3;
}
.saf-swap-fill {
  fill: #da1a35;
}
.saf-form-switch:hover .saf-swap-path {
  fill: #fff;
}
.saf-form-switch:hover .saf-swap-fill {
  fill: #f00;
}
.saf-form-submit {
  flex: 1 3 auto;
}
.saf-btn {
  margin-top: 2px;
  background-color: #f6f6f6;
  color: #da1a35;
}
.saf-btn:hover {
  background-color: #fff;
  color: #f00;
}
.saf-farepromo-section {
  background-color: #f3f3f3;
  padding: 1em 0 3em 0;
}
.saf-intro-section {
  padding: 3rem;
}
.ticket-promo {
  font-family: gilroy-regular, arial, sans-serif;
  margin-bottom: 48px;
}
.ticket-promo a {
  display: block;
}
.ticket-promo a .image-price {
  position: relative;
  overflow: hidden;
}
.ticket-promo a .image-price img {
  -webkit-transition: transform .5s ease-out 0;
  -moz-transition: transform .5s ease-out 0;
  -o-transition: transform .5s ease-out 0;
  transition: transform .5s ease-out 0;
}
.lt-ie9 .ticket-promo a .image-price img {
  width: 100%;
  height: auto;
}
.ticket-promo a .image-price .price {
  width: 122px;
  height: 75px;
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(218, 26, 53, .88);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  padding: 13px 16px 16px;
}
.ticket-promo a .image-price .price span {
  font-family: gilroy-light, arial, sans-serif;
  font-size: 15px;
  display: block;
  margin-bottom: 0;
}
.lt-ie9 .ticket-promo a .image-price .price {
  background: #1671c7;
}
.ticket-promo a .ticket-details {
  background: #c31c17;
  min-height: 113px;
  color: #fff;
  padding: 18px 21px;
}
.ticket-promo a .ticket-details h3 {
  font-family: gilroy-light, arial, sans-serif;
  color: #fff;
  margin: 0 0 5px;
  font-size: 23px;
}
.ticket-promo a .ticket-details h3:after {
  content: " \f054";
  font-family: "Font Awesome 5 Pro";
  font-size: 19px;
  width: 25px;
  padding-right: 7px;
  margin-left: 0;
  vertical-align: middle;
  -webkit-transition: all .3s ease-out 0;
  -moz-transition: all .3s ease-out 0;
  -o-transition: all .3s ease-out 0;
  transition: all .3s ease-out 0;
}
.ticket-promo a .ticket-details .date {
  font-family: gilroy-light, arial, sans-serif;
  font-size: 13.5px;
}
.ticket-promo a .ticket-details .date .class {
  font-style: italic;
}
.ticket-promo a:hover img {
  -moz-transition-duration: 1.5s;
  -webkit-transition-duration: 1.5s;
  -o-transition-duration: 1.5s;
  transition-duration: 1.5s;
  -ms-transform: scale(1.15, 1.15);
  -webkit-transform: scale(1.15, 1.15);
  transform: scale(1.15, 1.15);
}
.ticket-promo a:hover h3:after {
  margin-left: 7px;
  padding-right: 0;
}
.ticket-promo a:hover {
  text-decoration: none;
}
.ticket-promo-disclaimer {
  padding: 0 10px 10px 10px;
  text-align: center;
}
/* begin tablet tweaks */

@media (min-width: 870px) and (max-width: 991px) {
  /* ga theme override */
  .node-type-competition-feature #site-wrapper {
    margin-top: 10px !important;
  }
  .banner.saf {
    padding-top: 0;
  }
  .saf-nav {
    max-width: 55%;
  }
  .ticket-promo a .image-price .price span {
    display: inline-block;
  }
  .ticket-promo a .image-price .price {
    width: auto;
    height: auto;
    display: block;
    position: static;
    padding: 7px 11px 11px;
  }
  .ticket-promo a .ticket-details {
    padding: 12px 13px;
  }
  .ticket-promo a:hover img {
    -webkit-transform: none;
    -moz-transform: none;
    -o-transform: none;
    -ms-transform: none;
    transform: none;
  }
}
/* begin mobile styles */

@media (max-width: 869px) {
  /* ga theme override */
  .node-type-competition-feature #site-wrapper {
    margin-top: 10px !important;
  }
  #header-tab-trainline-booking_form {
    display: none;
  }
  .banner.saf {
    background-position: 15% center;
    padding-top: 60px;
  }
  .saf-header-container {
    padding: 2.5rem 0 1rem 0;
    max-width: 95%;
    background: transparent;
  }
  .saf-header-container, .saf-advantage-promo {
    flex-direction: column;
    justify-content: space-between;
  }
  .saf-logo {
    width: 300px;
    height: 78px;
  }
  .saf-nav {
    max-width: 100%;
    margin: 20px;
  }
  .saf-nav ul {
    width: 100%;
    display: -ms-flexbox;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0;
  }
  .saf-nav li {
    width: 49%;
    background: rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-out;
    border: 1px solid #da1a35;
    text-align: center;
    margin: 0 0 10px 0;
    padding: 10px;
    border-radius: 5px;
    font-size: 17px;
  }
  .saf-nav li:hover {
    background: rgba(255, 255, 255, 0.9);
  }
  .saf-nav a {
    text-align: center;
    padding: 10px;
  }
  .saf-nav a:hover {
    text-decoration: none;
  }
  .saf-nav li:hover a {
    color: #da1a35;
  }
  .saf-nav li.active {
    background-color: rgba(255, 255, 255, 0.15);
    color: #da1a35;
    border-color: white;
    text-decoration: none;
  }
  .saf-hero-title {
    padding: 0 6em;
    margin-top: 0;
  }
  form.saf-form {
    position: relative;
    width: 80vw;
    max-width: 400px;
    margin: 1em auto 2em auto;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
  }
  .saf-input-field, .saf-field-switch, .saf-form-submit {
    flex: 0 1 auto;
    width: 90%;
  }
  .saf-btn {
    display: block;
    width: 90%;
    margin-left: -5px;
  }
  .saf-field-switch {
    position: absolute;
    width: 25px;
    right: 0;
    top: 34px;
    transform: rotate(-90deg);
  }
  .saf-advantage-promo div {
    padding: 0.25em 1em;
    background: none;
  }
  .ticket-promo a .ticket-details h3 {
    font-size: 20px;
  }
  .ticket-promo a .image-price .price {
    height: 58px;
    width: 90px;
    font-size: 25px;
    padding: 10px 14px 14px;
  }
  .ticket-promo {
    background: #c31c17;
    overflow: auto;
  }
  .ticket-promo a .image-price, .ticket-promo a .ticket-details {
    width: 50%;
    float: right;
  }
}
@media (max-width: 440px) {
  /* ga theme override */
  .node-type-competition-feature #site-wrapper {
    margin-top: 30px !important;
  }
  .banner.saf {
    padding: 2em 0 3em 0;
    background-position: 25% center;
  }
  .saf-hero-title {
    margin: 1em auto;
    max-width: 90%;
  }
  .saf-hero-title h1 {
    font-size: 30px;
  }
  .saf-nav {
    max-width: 100%;
  }
  .saf-nav li {
    width: 98%;
  }
  .saf-hero-title {
    margin: 1em auto 2em auto;
    padding: 0;
  }
  .saf-advantage-promo div {
    font-size: 1.6rem !important;
  }
  .ticket-promo a .image-price, .ticket-promo a .ticket-details {
    width: 100%;
    float: none;
  }
}
/* end mobile styles */

.abellio_franchise-best_fares {
  margin-bottom: 25px
}
.abellio_franchise-best_fares .content {
  background-color: #fff;
  font-family: gilroy-light, arial, sans-serif;
}
.abellio_franchise-best_fares .content .row {
  margin: 0;
  padding: 15px 0 25px
}
.abellio_franchise-best_fares .content .row .col {
  border-left: 1px solid #000;
  padding: 0 15px
}
.abellio_franchise-best_fares .content .row .col.first {
  border-left: none
}
.abellio_franchise-best_fares .content .row .col .place {
  font-size: 24px;
  margin-bottom: 15px;
  color: #000
}
.abellio_franchise-best_fares .content .row .col .place span {
  display: block;
  font-size: 19px;
  margin-bottom: -4px
}
.abellio_franchise-best_fares .content .row .col .fare {
  font-size: 43px;
  color: #c31c17;
  font-family: gilroy-light, arial, sans-serif;
  margin-bottom: 15px
}
.abellio_franchise-best_fares .content .row .col .fare span {
  display: block;
  font-size: 21px;
  color: #000;
  margin-top: -12px;
  font-family: gilroy-light, arial, sans-serif;
}
.abellio_franchise-best_fares .content .row .col .buy-tickets-btn {

}
@media(min-width:991px) and (max-width:1200px) {
  .abellio_franchise-best_fares .content .row .col:nth-child(1), .abellio_franchise-best_fares .content .row .col:nth-child(2) {
    margin-bottom: 25px
  }
  .ticket-promo a .ticket-details h3 {
    font-size: 17px;
  }
}
@media(min-width:540px) and (max-width:991px) {
  .abellio_franchise-best_fares .content .row .col {
    float: left;
    width: 50%
  }
  .abellio_franchise-best_fares .content .row .col:nth-child(1), .abellio_franchise-best_fares .content .row .col:nth-child(2) {
    margin-bottom: 25px
  }
  .abellio_franchise-best_fares .content .row .col:nth-child(3) {
    clear: left;
    border-left: none
  }
}
@media(max-width:539px) {
  .abellio_franchise-best_fares .content .row .col {
    margin: 0 15px;
    padding: 0 0 25px;
    margin-bottom: 25px;
    border: 0;
    border-bottom: 1px solid #000
  }
  .abellio_franchise-best_fares .content .row .col:nth-child(4) {
    margin-bottom: 0
  }
}
