@font-face {
    font-family: 'GDS Transport';
    font-weight: 400;
    src: url("db-sans-regular.61542ed8ea04.otf") format('opentype');
}

@font-face {
    font-family: 'GDS Transport';
    font-weight: 700;
    src: url("db-sans-bold.a6d59da37d7b.otf") format('opentype');
}

@font-face {
    font-family: 'IBM Plex Mono';
    font-weight: normal;
    font-style: normal;
    src: url("IBMPlexMono-Regular.ea96a0afddbe.ttf") format('truetype');
}

@font-face {
    font-family: 'IBM Plex Mono';
    font-weight: bold;
    font-style: normal;
    src: url("IBMPlexMono-Bold.be4cc57a7444.ttf") format('truetype');
}

@font-face {
    font-family: 'IBM Plex Mono';
    font-weight: normal;
    font-style: italic;
    src: url("IBMPlexMono-Italic.d39621570e44.ttf") format('truetype');
}

@font-face {
    font-family: 'IBM Plex Mono';
    font-weight: bold;
    font-style: italic;
    src: url("IBMPlexMono-BoldItalic.1e9f7dcae801.ttf") format('truetype');
}

@font-face {
    font-family: 'Rail Alphabet';
    src: url("ATOC Rail Alphabet.ffae4527fa9f.ttf") format('truetype');
}

.button-link {
    background: none;
    border: none;
    font-size: 19px;
    color: #fff;
    font-family: 'GDS Transport', sans-serif;
}

.button-link:hover {
    text-decoration: underline;
    cursor: pointer;
}

.govuk-template--rebranded .govuk-header {
    background-color: #c42126;
    border: none;
}

.govuk-template--rebranded .govuk-footer {
    border-color: #EC0016;
}

.govuk-header .govuk-service-navigation__item {
    border-bottom-color: #0C0C0C;
}

.paper-ticket-container {
    overflow-x: auto;
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.paper-ticket {
    font-family: "IBM Plex Mono", monospace;
    background-image: linear-gradient(-45deg, #f2d4b6 0% 50%, #b6def2 50% 100%);
    background-size: 2ch 2ch;
    border-radius: 15px;
    padding: 20px;
    display: flex;
    justify-content: center;
    line-height: 1;
    font-size: 19px;
    box-shadow: 0 0 5px rgba(0,0,0,0.7);
}

.rct2-ticket-inner {
    width: 72ch;
    height: 16em;
    position: relative;
}

.plai-ticket-inner {
    width: 33ch;
    height: 12em;
    position: relative;
}

.paper-ticket-field {
    display: inline-block;
    position: absolute;
    white-space: pre-wrap;
}

.rct2-ticket-fixed-area {
    display: inline-block;
    position: absolute;
    border: 1px solid black;
    top: var(--top);
    left: calc(var(--left) - 1px);
    height: calc(var(--height) - 1px);
    width: calc(var(--width) + 1px);
}

.rct2-ticket-fixed-field {
    position: absolute;
    letter-spacing: -1px;
    display: inline-flex;
    justify-content: start;
    align-items: center;
}

.paper-ticket-field.paper-ticket-field-bold {
    font-weight: bold;
}

.paper-ticket-field.paper-ticket-field-italic {
    font-style: italic;
}

pre {
    margin-top: 0;
}

code {
    font-family: 'IBM Plex Mono', monospace;
}

.rail-alphabet {
    font-family: 'Rail Alphabet', sans-serif;
    font-size: 1.25rem;
}

.g-wallet-button, .apple-wallet-button {
    height: 1.2em;
}

.route-graph svg {
    max-width: 100%;
}