@font-face {
  font-family: Effra;
  src: url(/fonts/Effra_Std_Rg.ttf);
}
@font-face {
  font-family: EffraLight;
  src: url(/fonts/Effra_Std_Lt.ttf);
}
:root {
  --newscolour: #900000;
  --defaultsecondarycolour: #808080;
  --departurescolour: black;
  --messagecolour: #000080;
  --primarycolour: #4C2F48;
  --secondarycolour: #B29BAA;
  --routecolour: #B29BAA;
  --routeflashcolour: #4C2F48;
  --backgroundcolour: White;
  --blinkercolour: Green;
  --top-panel-height: 9vw;
  --debug-panel-height: 1vw;
  --header-font-family: Effra;
  --body-font-family: Effra;
}

html,
body {
  margin: 0px;
  height: 100%;
  overflow-y: hidden;
  font-family: var(--body-font-family);
  background-color: var(--backgroundcolour);
}

.toc-bg-colour {
  background-color: #FEF2E5;
}

.toc-bg-secondary {
  background-color: #00a6e6;
}

.toc-text-against-bg {
  color: black;
}

.text-white {
  color: white;
}

.red {
  color: red;
}

#container {
  height: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.center-div {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.codebox {
  color: white;
}

.splash-image {
  display: flex;
  background: url(/images/splash.jpg) no-repeat;
  background-size: 100%;
  width: 100%;
  height: 100%;
}

.timed-image {
  display: flex;
  background: url(/images/splash.jpg) no-repeat;
  background-size: 100%;
  width: 100%;
  height: 100%;
}

.doors-open {
  background: url(/images/toclogo.png) no-repeat;
  background-size: 100%;
}

.doors-dont-open {
  background: url(/images/toclogo.png) no-repeat;
  background-size: 100%;
}

.doors-open .cab {
  background: url(/images/toclogo.png) no-repeat;
  background-size: 100%;
}

.doors-dont-open .cab {
  background: url(/images/toclogo.png) no-repeat;
  background-size: 100%;
}

.w-80 {
  width: 80%;
}

.w-90 {
  width: 90%;
}

.w-1-3 {
  width: 33%;
}

.toc-image-alt {
  display: flex;
  width: 33%;
  height: 50%;
  vertical-align: text-bottom;
}

.flex-column {
  flex-direction: column;
}

.header {
  display: block;
  height: 18.5%;
  width: 100%;
  align-items: center;
}

.header-main {
  display: flex;
  height: 90%;
  align-items: center;
}

@keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.Approach {
  animation: blink 2s infinite;
  fill: var(--blinkercolour);
}

.Visited {
  stroke: var(--primarycolour);
}

.Next {
  stroke: var(--routecolour);
}

.Departed {
  fill: var(--blinkercolour);
}

.Origin {
  fill: #000000;
}

.DepartedProg {
  fill: url(#progress-gradient);
}

.DestinationProg {
  fill: var(--backgroundcolour);
}

.PreviousAppr {
  Fill: var(--routecolour);
}

.Previous {
  Fill: var(--primarycolour);
}

.Between {
  fill: white;
}

.header-accent {
  height: 10%;
}

.header h1 {
  margin-left: 5%;
  font-size: 7.8vmin;
}

.content-with-header {
  height: 81.5%;
}

/*.calling-point {
    display: flex;
    height: 20%;
    width: 100%;
    align-items: center;
}

.calling-points .calling-point .calling-point-text {
    display: flex;
    width: 75%;
    height: 100%;
    align-items: center;
    margin-left: 5%;
    font-size: 7.7vmin;
}

.calling-points .time {
    display: flex;
    width: 25%;
    font-size: 5vmin;
    height: 100%;
    align-items: center;
}*/
.asdo-container {
  display: flex;
  flex-direction: row;
  white-space: nowrap;
  align-items: center;
  justify-content: center;
}

/*
    Partials and Extras
*/
.time-date-display {
  color: white;
  text-align: center;
  width: 18vw;
  height: 7vw;
  top: 1vw;
  right: 2.2vw;
  position: absolute;
}

.time-date-display-with-seconds {
  color: white;
  text-align: center;
  width: 14.46vw;
  height: 6.51vw;
  top: 2vw;
  right: 1vw;
  position: absolute;
}

.time {
  font-size: 7vw;
  width: 100%;
}

.date {
  font-size: 1.5625vw;
  width: 100%;
}

.top-panel {
  width: 100%;
  height: var(--top-panel-height);
  max-height: var(--top-panel-height);
  font-size: 7.5vw;
  background: var(--primarycolour);
  color: white;
  vertical-align: middle;
}

.top-panel div:nth-of-type(1) span {
  padding-left: 2vw;
  padding-right: 2vw;
  width: 76vw;
  max-width: 76vw;
  white-space: nowrap;
  vertical-align: middle;
}

.debug-panel {
  width: 100%;
  height: var(--debug-panel-height);
  background: var(--secondarycolour);
}

.top-text {
  font-size: 5vw;
  padding-left: 100px;
  font-family: var(--header-font-family);
}

.pa-panel {
  height: var(--bottom-panel-height);
  max-height: var(--bottom-panel-height);
  width: 100%;
  position: absolute;
  background: var(--primarycolour);
  top: 0px;
  white-space: nowrap;
}

.bottom-panel > span {
  font-family: var(--body-font-family);
  color: white;
  text-align: left;
  align-items: center;
  padding-left: 100px;
  font-size: 3vw;
  height: 100%;
  display: inline-flex;
}

.bottom-image {
  position: fixed;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 0;
  width: 12.5vw;
  height: 9.8vw;
  background-image: url("../images/toclogo.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.header-text {
  font-size: 3.8vw;
  padding-left: 100px;
}

/*
    Pages
*/
/*
    Destination
*/
.page-destination {
  vertical-align: middle;
}

.page-destination p {
  color: var(--page-destination-text, white);
  font-size: 4.5vw;
  text-align: center;
  height: 2.5vw;
}

.page-destination h1 {
  color: var(--page-destination-text, white);
  font-size: 9.5vw;
  text-align: center;
  font-weight: bolder;
}

.page-destination-outer {
  display: block;
  position: absolute;
  height: 100vh;
  width: 100vw;
  background: var(--page-destination-colour, var(--primarycolour));
  color: white;
}

.page-destination-middle {
  display: block;
  vertical-align: middle;
  color: var(--page-destination-middle, var(white));
}

.destination-text {
  width: 80%;
  text-wrap: normal;
  overflow-wrap: break-word;
  margin-left: auto;
  margin-right: auto;
}

/*
    Cancellations
*/
.cancellation-row {
  width: 100%;
  max-height: 5vw;
  min-height: 5vw;
  overflow: hidden;
  vertical-align: middle;
  padding-left: 100px;
}

.cancellation-row p {
  margin: 0;
  font-size: 3vw;
  vertical-align: middle;
}

.reason-text {
  position: absolute;
  bottom: 140px;
  font-size: 3vw;
  padding-left: 100px;
}

/*
    Delay Reason
*/
.delay-reason-table th:nth-of-type(1) {
  width: 30%;
}

.delay-reason-table th:nth-of-type(2) {
  width: 70%;
}

.delay-reason-table td:nth-of-type(1) p {
  text-align: right;
  padding: 30px;
  margin: 0;
}

.delay-reason-table td:nth-of-type(2) p {
  text-align: left;
  vertical-align: middle;
  padding: 30px;
  margin: 0;
}

/*
    Delay Repay
*/
.delay-repay-info {
  font-size: 0.5vw;
  text-align: left;
}

.additional-info-text {
  color: var(--additonal-text-colour);
}

/*
    Departures
*/
.departures-panel {
  width: 100%;
  height: var(--top-panel-height);
  max-height: var(--top-panel-height);
  font-size: 7.5vw;
  background: var(--departurescolour);
  color: white;
  vertical-align: middle;
}

.departures-panel div:nth-of-type(1) span {
  padding-left: 2vw;
  width: 76vw;
  max-width: 76vw;
  white-space: nowrap;
  vertical-align: middle;
}

.departures-debug-panel {
  width: 100%;
  height: var(--debug-panel-height);
  background: var(--defaultsecondarycolour);
}

.departures-row-headers {
  padding-left: 2vw;
  width: 98vw;
}

.departures-row-headers div {
  float: left;
  font-size: 3.5vw;
  font-weight: bold;
  height: 4vw;
  display: table;
}

.departures-row-headers div:nth-of-type(1) {
  width: 12vw;
  text-align: left;
}

.departures-row-headers div:nth-of-type(2) {
  width: 47vw;
  text-align: left;
}

.departures-row-headers div:nth-of-type(3) {
  width: 19vw;
  text-align: center;
}

.departures-row-headers div:nth-of-type(4) {
  width: 20vw;
  text-align: center;
}

.departures-row {
  padding-left: 2vw;
}

.departures-row div {
  float: left;
  font-size: 4vw;
  display: table;
  table-layout: fixed;
  height: 7.5vw;
}

.departures-row div:nth-of-type(1) {
  width: 12vw;
  text-align: left;
  overflow: hidden;
  white-space: nowrap;
  text-wrap: avoid;
}

.departures-row div:nth-of-type(2) {
  width: 47vw;
  text-align: left;
}

.departures-row div:nth-of-type(3) {
  width: 19vw;
  text-align: center;
}

.departures-row div:nth-of-type(4) {
  width: 20vw;
  text-align: center;
}

.departures-text {
  overflow: hidden;
  height: 5vw;
}

/*
    ASDO List
*/
.asdo-list-row {
  height: 100px;
  padding-left: 100px;
}

.asdo-list-row p {
  margin: 0;
  font-size: 3vw;
  vertical-align: middle;
  float: left;
  width: 50%;
}

.asdo-list-row-headings {
  height: 100px;
  padding-left: 100px;
}

.asdo-list-row-headings p {
  margin: 0;
  font-size: 3vw;
  vertical-align: middle;
  float: left;
  width: 50%;
}

/*
    Bus Departures
*/
.bus-departures-row-headers div {
  float: left;
  font-size: 2.5vw;
  font-weight: bold;
  height: 100%;
  display: table;
}

.bus-departures-row-headers div:nth-of-type(1) {
  width: 15%;
  text-align: left;
}

.bus-departures-row-headers div:nth-of-type(2) {
  width: 42%;
  text-align: left;
}

.bus-departures-row-headers div:nth-of-type(3) {
  width: 43%;
  text-align: center;
}

.bus-departures-row div {
  float: left;
  font-size: 2.5vw;
  display: table;
}

.bus-departures-row div:nth-of-type(1) {
  width: 15%;
  text-align: left;
}

.bus-departures-row div:nth-of-type(2) {
  width: 42%;
  text-align: left;
}

.bus-departures-row div:nth-of-type(3) {
  width: 43%;
  text-align: center;
}

.bus-departures-via-row {
  white-space: nowrap;
  padding-bottom: 3vw;
}

.bus-departures-via-row div {
  font-size: 1.2vw;
  height: 100%;
  display: table;
}

/*
    Calling Points / Route Progress
*/
.calling-point-row {
  vertical-align: middle;
}

.calling-point-row div {
  float: left;
  font-size: 5vw;
  margin-left: 5vw;
  display: table;
  vertical-align: middle;
}

.calling-point-row div:nth-of-type(1) {
  width: 72vw;
  max-width: 72vw;
  margin-left: 2vw;
}

.calling-point-row div:nth-of-type(2) {
  width: 18vw;
  max-width: 18vw;
  text-align: left;
  margin-left: 7vw;
}

.route-progress-row {
  padding-left: 2vw;
  vertical-align: middle;
}

.route-progress-row div {
  float: left;
  font-size: 7.5vw;
  display: table;
  height: 100%;
  vertical-align: middle;
}

.route-progress-row div:nth-of-type(1) {
  width: 20vw;
  max-width: 20vw;
}

.route-progress-row div:nth-of-type(2) {
  width: 55vw;
  max-width: 55vw;
  text-align: left;
  transform: translateY(50%);
}

.route-progress-row div:nth-of-type(2) span {
  width: 75vw;
  max-width: 75vw;
  max-height: 20vw;
  word-break: break-word;
  vertical-align: middle;
  position: absolute;
  transform: translateY(-50%);
}

.route-progress-row div:nth-of-type(3) {
  width: 12vw;
  max-width: 12vw;
  text-align: center;
  text-overflow: ellipsis;
  overflow: hidden;
}

.on-time-text {
  color: green;
}

.cancelled-text {
  color: red;
}

.calling-point-svg {
  fill: white;
  stroke-width: 1.7vw;
  stroke: var(--primarycolour);
}

.blinker-svg {
  fill: var(--backgroundcolour);
}

.progress-bar-svg {
  fill: var(--routecolour);
}

/*
    ASDO
*/
.doors-image {
  width: 8.33%;
  max-width: 8.33%;
  margin: 1px;
  text-align: center;
}

.door-opens {
  background: url(/images/OpenYes.png) no-repeat;
  background-size: 100%;
  width: 12vw;
  height: 12vw;
}

.door-doesnt-open {
  background: url(/images/OpenNo.png) no-repeat;
  background-size: 100%;
  width: 12vw;
  height: 12vw;
}

.cab-door-opens {
  background: url(/images/CabOpenYes.png) no-repeat;
  background-size: 100%;
  width: 12vw;
  height: 12vw;
}

.cab-door-doesnt-open {
  background: url(/images/CabOpenNo.png) no-repeat;
  background-size: 100%;
  width: 12vw;
  height: 12vw;
}

/*
    Passenger Loading
*/
.cab-load-low {
  background: url(/images/LoadLowCab.png) no-repeat;
  background-size: 100%;
  width: 12vw;
  height: 12vw;
}

.cab-load-mid {
  background: url(/images/LoadMidCab.png) no-repeat;
  background-size: 100%;
  width: 12vw;
  height: 12vw;
}

.cab-load-high {
  background: url(/images/LoadHighCab.png) no-repeat;
  background-size: 100%;
  width: 12vw;
  height: 12vw;
}

.load-low {
  background: url(/images/LoadLow.png) no-repeat;
  background-size: 100%;
  width: 12vw;
  height: 12vw;
}

.load-mid {
  background: url(/images/LoadMid.png) no-repeat;
  background-size: 100%;
  width: 12vw;
  height: 12vw;
}

.load-high {
  background: url(/images/LoadHigh.png) no-repeat;
  background-size: 100%;
  width: 12vw;
  height: 12vw;
}

/*
    Weather
*/
.weather-layout {
  width: 100%;
  height: 80vh;
  display: flex;
  flex-direction: row;
  overflow: hidden;
}

.weather-table {
  width: 75vw;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 5vw;
}

.weather-table tr {
  width: 40vw;
}

.weather-table tr td:nth-of-type(1) {
  padding-left: 2vw;
  width: 20vw;
  text-align: right;
}

.weather-table tr td:nth-of-type(2) {
  width: 30vw;
  text-align: left;
  padding-left: 5%;
}

.weather-direction {
  height: 150px;
  width: 150px;
  position: absolute;
  z-index: 1;
}

.weather-direction-text {
  z-index: 2;
  position: relative;
  padding-left: 55px;
  padding-top: 50px;
  font-size: 45px;
  color: white;
}

/*
    News
*/
.news-panel {
  width: 100%;
  height: var(--top-panel-height);
  max-height: var(--top-panel-height);
  font-size: 7.5vw;
  color: white;
  background: var(--newscolour);
}

.news-panel tr td:nth-of-type(1) {
  width: 33.33%;
  padding-left: 5vw;
}

.news-panel tr td:nth-of-type(2) {
  width: 33.33%;
}

.news-panel tr td:nth-of-type(3) {
  width: 33.33%;
}

.news-debug-panel {
  width: 100%;
  height: var(--debug-panel-height);
  background: var(--defaultsecondarycolour);
}

.news-table {
  width: 100%;
  height: 47vw;
  max-height: 47vw;
  border-collapse: collapse;
  float: left;
  table-layout: fixed;
  overflow: hidden;
  overflow-wrap: break-word;
}

.news-table th {
  width: 50%;
}

.news-table tr {
  display: block;
  text-align: left;
  height: 9.4vw;
  max-height: 9.4vw;
  overflow-y: hidden;
}

.news-table tr:nth-child(odd) {
  height: 100%;
  padding-left: 2vw;
  padding-right: 2vw;
  background: #E3E3E3;
  vertical-align: middle;
}

.news-table tr:nth-child(even) {
  height: 100%;
  padding-left: 2vw;
  padding-right: 2vw;
  background: #F3F3F3;
  vertical-align: middle;
}

.news-icon {
  float: left;
  max-height: 100%;
  max-width: 20%;
  margin-left: 20px;
  margin-right: 20px;
}

.news-text {
  font-size: 3.5vw;
  font-family: var(--body-font-family);
}

.news-image {
  display: block;
  background: url(/images/NewsProvider.png) no-repeat;
  background-position: center;
  background-size: auto 100%;
  height: 8vw;
  width: 100%;
}

/*
    Service Overview
*/
.service-message {
  font-size: 5vw;
  text-align: center;
  width: 100vw;
}

/*
    Delay Repay
*/
.delay-repay-message {
  font-size: 5vw;
  text-align: center;
  vertical-align: central;
  height: 20vw;
}

/*
    Timed Media
*/
.ketech-image {
  display: flex;
  background: url(/images/LNERTocLogo.jpg) no-repeat;
  background-size: 100%;
  width: 100%;
  height: 100%;
}

/*
    Tfl Rainbow Board
*/
.tfl-panel {
  width: 100%;
  font-size: 3vw;
}

.tfl-panel tr td:nth-of-type(1) {
  width: 20%;
}

.tfl-panel tr td:nth-of-type(2) {
  width: 80%;
}

.tfl-rainbow-board {
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 3.5vw;
  margin-top: 0.5vw;
  height: 4vw;
  max-height: 4vw;
}

.tfl-rainbow-board tr {
  text-align: left;
}

.tfl-rainbow-board td {
  padding-left: 5vw;
  padding-right: 5vw;
}

/*
    Animation
*/
.scroll-left {
  width: 100%;
  height: 100%;
  text-align: left;
  /* Starting position */
  -moz-transform: translateX(100%);
  -webkit-transform: translateX(100%);
  transform: translateX(100%);
  /* Apply animation to this element */
  -moz-animation: scroll-left 25s linear infinite;
  -webkit-animation: scroll-left 25s linear infinite;
  animation: scroll-left 25s linear infinite;
}

/* Move it (define the animation) */
@-moz-keyframes scroll-left {
  0% {
    -moz-transform: translateX(100%);
  }
  100% {
    -moz-transform: translateX(-200%);
  }
}
@-webkit-keyframes scroll-left {
  0% {
    -webkit-transform: translateX(100%);
  }
  100% {
    -webkit-transform: translateX(-200%);
  }
}
@keyframes scroll-left {
  0% {
    -moz-transform: translateX(100%); /* Browser bug fix */
    -webkit-transform: translateX(100%); /* Browser bug fix */
    transform: translateX(100%);
  }
  100% {
    -moz-transform: translateX(-200%); /* Browser bug fix */
    -webkit-transform: translateX(-200%); /* Browser bug fix */
    transform: translateX(-200%);
  }
}
@keyframes fade {
  0% {
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  60% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.scroll-down {
  width: 8vw;
  height: 13%;
  fill: url(#flash-gradient);
  text-align: left;
  /* Starting position */
  -moz-transform: translateY(100%);
  -webkit-transform: translateY(100%);
  transform: translateY(100%);
  /* Apply animation to this element */
  -moz-animation: scroll-down 1.5s linear infinite;
  -webkit-animation: scroll-down 1.5s linear infinite;
  animation: scroll-down 1.5s linear infinite, fade 1.5s infinite;
}

.message-panel {
  font-size: 5.5vw;
  width: 100%;
  height: var(--top-panel-height);
  max-height: var(--top-panel-height);
  background: var(--messagecolour);
  color: white;
  vertical-align: middle;
}

.message-panel tr td:nth-of-type(1) {
  width: 10vw;
  max-width: 10vw;
  padding-left: 1vw;
  padding-right: 1vw;
  vertical-align: middle;
}

.message-panel tr td:nth-of-type(2) {
  padding-left: 2vw;
  width: 76vw;
  max-width: 76vw;
  white-space: nowrap;
  vertical-align: middle;
  text-align: left;
}

.message-icon {
  width: 100%;
  height: var(--top-panel-height);
  max-height: var(--top-panel-height);
  background: var(--messagecolour);
  vertical-align: middle;
}

.message-body {
  display: block;
  vertical-align: middle;
  font-size: 4.5vw;
  width: 90vw;
  background: var(--backgroundcolour);
  color: var(--primarycolour);
  text-align: center;
  margin-left: 5vw;
  margin-right: 5vw;
  margin-top: 3vw;
}

.message-debug-panel {
  width: 100%;
  height: var(--debug-panel-height);
  background: var(--defaultsecondarycolour);
}

.delay-repay-panel {
  font-size: 5.5vw;
  width: 100%;
  height: var(--top-panel-height);
  max-height: var(--top-panel-height);
  background: var(--messagecolour);
  color: white;
  vertical-align: middle;
}

.delay-repay-panel tr td:nth-of-type(1) {
  width: 10vw;
  max-width: 10vw;
  padding-left: 1vw;
  padding-right: 1vw;
  vertical-align: middle;
}

.delay-repay-panel tr td:nth-of-type(2) {
  padding-left: 2vw;
  width: 76vw;
  max-width: 76vw;
  white-space: nowrap;
  vertical-align: middle;
  text-align: left;
}

.delay-repay-icon {
  width: 100%;
  height: var(--top-panel-height);
  max-height: var(--top-panel-height);
  background: var(--messagecolour);
  vertical-align: middle;
}

.delay-repay-body {
  display: block;
  vertical-align: middle;
  font-size: 4.5vw;
  width: 90vw;
  background: var(--backgroundcolour);
  color: var(--primarycolour);
  text-align: center;
  margin-left: 5vw;
  margin-right: 5vw;
  margin-top: 3vw;
}

.delay-repay-debug-panel {
  width: 100%;
  height: var(--debug-panel-height);
  background: var(--defaultsecondarycolour);
}

.bus-departures-panel {
  width: 100%;
  height: var(--top-panel-height);
  max-height: var(--top-panel-height);
  font-size: 7.5vw;
  color: white;
  vertical-align: middle;
}

.bus-departures-panel > div {
  width: 80%;
  margin: auto;
  display: inline-block;
}

.bus-departures-station-box {
  height: 98%;
  width: 98%; /*1.5vw left margin is 1.8% of the parent div that is 80% of the screen width*/
  white-space: nowrap;
  margin-bottom: 1vw;
  margin-left: 1.5vw;
  vertical-align: middle;
}

.bus-departures-station-box span {
  display: table-cell;
  height: 100%;
}

.busDepartures-row-headers {
  padding-left: 5vw;
  width: 95vw;
}

.busDepartures-row-headers div {
  float: left;
  font-size: 3.5vw;
  font-weight: bold;
  height: 4vw;
  display: table;
}

.busDepartures-row-headers div:nth-of-type(1) {
  width: 15vw;
  text-align: left;
}

.busDepartures-row-headers div:nth-of-type(2) {
  width: 59.4vw;
  text-align: left;
}

.busDepartures-row-headers div:nth-of-type(3) {
  width: 15vw;
  text-align: left;
}

.busDepartures-row {
  padding-left: 5vw;
}

.busDepartures-row div {
  float: left;
  font-size: 4vw;
  display: table;
  table-layout: fixed;
  height: 7.5vw;
}

.busDepartures-row div:nth-of-type(1) {
  width: 15vw;
  text-align: left;
  overflow: hidden;
  white-space: nowrap;
  text-wrap: avoid;
}

.busDepartures-row div:nth-of-type(2) {
  width: 62.5%;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline;
}

.busDepartures-row div:nth-of-type(3) {
  width: 11vw;
  text-align: left;
}

.busDepartures-row div:nth-of-type(4) {
  width: 20vw;
  text-align: left;
}

.busDeparture-list {
  width: 100vw;
  height: 37vw;
  overflow: hidden;
  font-family: var(--bodylight-font-family);
}

.shortplatform-text {
  font-size: 4vw;
  text-align: left;
  color: var(--primarycolour, #000000);
  padding-left: 10%;
  padding-right: 10%;
  font-family: var(--bodylight-font-family);
}

/* Move it (define the animation) */
@-moz-keyframes scroll-down {
  0% {
    -moz-transform: translateY(100%);
  }
  100% {
    -moz-transform: translateY(200%);
  }
}
@-webkit-keyframes scroll-down {
  0% {
    -webkit-transform: translateY(100%);
  }
  100% {
    -webkit-transform: translateY(200%);
  }
}
@keyframes scroll-down {
  0% {
    -moz-transform: translateY(100%); /* Browser bug fix */
    -webkit-transform: translateY(100%); /* Browser bug fix */
    transform: translateY(100%);
  }
  100% {
    -moz-transform: translateY(200%); /* Browser bug fix */
    -webkit-transform: translateY(200%); /* Browser bug fix */
    transform: translateY(200%);
  }
}
.toc-image {
  display: flex;
  background: url("/images/emr/EMRTocLogo.jpg") no-repeat;
  background-size: 100%;
  width: 100%;
  height: 100%;
}

.toc-logo {
  display: block;
  background: url("/images/emr/EMRDestinationTocLogo.png") no-repeat;
  background-position: center;
  background-size: auto 100%;
  height: 8vw;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.toc-logo {
  display: block;
  background: url("/images/emr/EMRDestinationTocLogo.png") no-repeat;
  background-position: center;
  background-size: 40%;
  height: 10vw;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1vh;
  margin-top: 1vh;
}

/*
    Destination
*/
.page-destination {
  vertical-align: middle;
}

.page-destination p {
  color: #B29BAA;
  font-size: 4.5vw;
  text-align: center;
  height: 2.5vw;
}

.page-destination h1 {
  font-size: 10vw;
  text-align: center;
  font-weight: bolder;
}

.page-destination-outer {
  display: block;
  position: absolute;
  height: 100vh;
  width: 100vw;
  background: #4C2F48;
  color: white;
}

.page-destination-middle {
  display: block;
  vertical-align: middle;
  color: white;
}

.destination-text {
  width: 80%;
  text-wrap: normal;
  overflow-wrap: break-word;
  margin-left: auto;
  margin-right: auto;
}

.calling-point-row div {
  float: left;
  font-size: 6.5vw;
  margin-left: 5vw;
  display: table;
  vertical-align: middle;
}

.calling-point-row div:nth-of-type(1) {
  width: 72vw;
  max-width: 72vw;
  margin-left: 2vw;
}

.calling-point-row div:nth-of-type(2) {
  float: right;
  min-width: 18vw;
  width: 18vw;
  max-width: 18vw;
  text-align: right;
  margin-left: 1vw;
  margin-right: 2vw;
}

.top-panel {
  width: 100%;
  height: var(--top-panel-height);
  max-height: var(--top-panel-height);
  font-size: 7.5vw;
  background: url(/images/emr/BGTopBanner.png) no-repeat;
  background-size: 100vw;
  vertical-align: middle;
}

.top-panel div:nth-of-type(1) span {
  padding-left: 2vw;
  padding-right: 2vw;
  width: 76vw;
  max-width: 76vw;
  white-space: nowrap;
  vertical-align: middle;
}
