:root {
    --red-400: #CC3432;
    --red-600: #AB0020;
    --white: #ffffff;
    --black: #000;
    --border_radius: 2px;
    --grey-100: #f4f4f4;
    --grey-200: #d7d7d7;
    --grey-400: #b1b1b1;
    --grey-500: #666;
    --offwhite: #f3f4f5;
    --spacing-000: 2px;
    --spacing-100: 5px;
    --spacing-200: 10px;
    --spacing-300: 15px;
    --spacing-400: 25px;
    --spacing-500: 40px;
    --spacing-600: 65px;
    --spacing-700: 105px;
    --spacing-800: 170px;
    --spacing-900: 275px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    font-weight: 600;
}

h3 {
    margin-bottom: var(--spacing-400);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    padding: 0;
}

#container.buttons {
    position: relative;
    margin: 0 auto;
    display: flex;
    align-items: center;
    width: 100vw;
    height: 100vh;
}

#container #full {
    padding: var(--spacing-300) var(--spacing-400);
    background-color: #fff;
    z-index: 2;
    box-shadow: 0 25px 55px -10px rgb(0 0 0 / 20%);
    margin-bottom: var(--spacing-500);
    position: sticky;
    top: 0;
    width: 100%;
}

#container #full h1 {
    margin: 0;
    font-size: 20px;
}

#container #full p {
    margin: 0;
}

#container #left,
#container #middle,
#container #right {
    padding: var(--spacing-400) var(--spacing-500);
    box-sizing: border-box;
    overflow: auto;
    height: 100%;
    background-color: var(--offwhite);
}

#container #left,
#container #right {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: var(--spacing-400) 0;
    flex: 2;
    height: 100%;
    background-color: var(--white);
    min-width: var(--spacing-900);
}

#container #right {
    max-width: unset;
}

#container #middle {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 0;
    flex: 6;
    min-width: 1080px;
}

.spacing-bottom-400 {
    margin-bottom: var(--spacing-400);
}

.spacing-bottom-300 {
    margin-bottom: var(--spacing-300);
}

.element_name {
    display: inline-block;
    font-family: monospace;
    color: var(--grey-400);
    margin-bottom: var(--spacing-100);
    width: 100%;
}

#left .element_name {
    text-align: left;
}

#right .element_name {
    text-align: right;
}

button {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    border: none;
    background-color: transparent;
    padding: 0;
    margin: 0;
    font-weight: 500;
    display: flex;
    align-items: center;
    border-radius: var(--border_radius);
    letter-spacing: 0.25px;
}

button:hover {
    cursor: pointer;
}

button:active,
button:focus {
    border: none;
    box-shadow: none;
    outline: none;
}

button i {
    margin-left: var(--spacing-200);
}

button.tertiary i {
    margin-left: var(--spacing-100);
}

.material-icons-outlined {
    font-size: 20px;
}

button.primary {
    padding: var(--spacing-200) var(--spacing-300);
    color: var(--white);
    background-color: var(--red-400);
    border: 2px solid transparent;
}

button.big {
    font-size: 16px;
    padding: var(--spacing-300) var(--spacing-400);
}

button.big i {
    font-size: 24px;
}

button.secondary {
    padding: var(--spacing-200) var(--spacing-300);
    border: 2px solid var(--grey-400);
}

button.tertiary span {
    padding: var(--spacing-100) 0;
    text-decoration: underline;
}

button.tertiary.icon span,
button.tertiary.no_underline span {
    text-decoration: none;
}

button.primary:hover {
    background-color: var(--red-600);
}

button.secondary:hover {
    color: var(--black);
    background-color: var(--white);
    border-color: var(--grey-500);
}

button.tertiary:hover span {
    text-decoration: underline;
}

button.tertiary:hover {
    color: var(--grey-500);
}

#example_modal,
#example_relation,
#example_datepicker,
#example_rta,
#travelactions {
    box-shadow: 0 25px 55px -10px rgb(0 0 0 / 20%);
    margin: var(--spacing-500) 0;
}

#example_modal {
    padding: var(--spacing-500);
    width: 100%;
    max-width: 800px;
    border-radius: var(--border_radius);
    box-sizing: border-box;
    background-color: var(--white);
}

#example_modal h2 {
    margin-top: 0;
}

#example_relation {
    width: 980px;
    min-width: 980px;
    min-height: 375px;
    background-image: url("relation.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-color: var(--white);
}

#example_relation .content,
#example_datepicker .content,
#example_rta .content {
    position: relative;
    height: 100%;
    width: 100%;
}

.split-button {
    position: relative;
}

ul.split-decisions {
    display: none;
    position: absolute;
    background-color: var(--white);
    margin: 0;
    padding: var(--spacing-200) var(--spacing-400);
    list-style: none;
    right: 0;
    border-radius: 2px 0 2px 2px;
    margin-top: -2px;
    border: 2px solid var(--red-400);
}

.active ul.split-decisions {
    display: block;
}

ul.split-decisions li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--grey-200);
}

ul.split-decisions li button {
    width: 100%;
    display: flex;
    justify-content: space-between;
    border-color: transparent;
    padding: var(--spacing-200) 0;
    white-space: nowrap;
}

ul.split-decisions li:first-child {
    border-top: none;
}

#example_datepicker {
    width: 335px;
    min-height: 478px;
    background-image: url("datepicker.png");
    background-size: cover;
    background-repeat: no-repeat;
}

#example_datepicker .button_row {
    position: absolute;
    left: 0;
    width: 100%;
    bottom: 0;
    padding: var(--spacing-300);
    box-sizing: border-box;
}

#example_rta {
    width: 420px;
    min-height: 232px;
    background-image: url("rta.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-color: var(--white);
}

#example_rta .content>button {
    position: absolute;
    bottom: var(--spacing-300);
    right: var(--spacing-300);
}

#example_rta .earlier_later {
    display: flex;
    position: absolute;
    bottom: var(--spacing-300);
    left: var(--spacing-300);
    flex-direction: row;
    align-items: baseline;
}

.button_spacer:after {
    content: "|";
    margin: 0 var(--spacing-200);
}

.flex-between {
    display: flex;
    justify-content: space-between;
}

.flex-end {
    display: flex;
    justify-content: flex-end;
}

.button_composite {
    display: flex;
}

button+button {
    margin-left: var(--spacing-300);
}

.tabs ul {
    height: 54px;
    width: 100%;
    display: flex;
    flex-direction: row;
    padding: 0;
    margin: 0;
    list-style: none;
    justify-content: flex-start;
    background-color: var(--white);
    border-bottom: 1px solid var(--grey-200);
}

.tabs ul li {
    color: var(--grey-500);
    height: 100%;
    padding: 0 var(--spacing-400);
    display: flex;
    align-items: center;
    font-weight: 500;
    box-sizing: border-box;
    border-bottom: 3px solid transparent;
}

.tabs ul li.active,
.tabs ul li:hover {
    color: var(--black);
    box-shadow: 0 1px 0px var(--red-400);
    cursor: pointer;
    border-bottom: 3px solid var(--red-400);
}

.tabs ul li i {
    margin-right: var(--spacing-200);
}

#travelactions {
    padding: var(--spacing-600);
    background-color: var(--white);
    box-shadow: 0 25px 55px -10px rgb(0 0 0 / 20%);
    width: 100%;
    max-width: 980px;
    min-width: 600px;
    box-sizing: border-box;
}

#travelactions .content {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: flex-start;
}

#travelactions .ta {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    margin: var(--spacing-200) var(--spacing-200) var(--spacing-200) 0;
    border-radius: 2px;
    flex: 45%;
}

#travelactions .ta:hover {
    cursor: pointer;
    background-color: var(--grey-100);
}

#travelactions .ta-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}

#travelactions .ta .icon-area {
    display: flex;
    align-items: center;
    flex: 3;
    color: var(--white);
    background-color: var(--grey-200);
    justify-content: center;
    border-radius: 2px;
}

#travelactions .ta .icon-area i {
    font-size: 36px;
    line-height: 1;
    font-style: normal;
}

#travelactions .ta .text-area {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex: 12;
    flex-direction: column;
    padding: var(--spacing-300) var(--spacing-300) var(--spacing-300) var(--spacing-400);
}

#travelactions .ta .text-area h3,
#travelactions .ta .text-area p {
    margin: var(--spacing-000) 0;
}

.spacing-list {
    display: flex;
    flex-direction: column;
    min-width: 50%;
}

.space {
    display: block;
    background-color: var(--grey-200);
    margin-bottom: var(--spacing-300);
}

.spacing-list {
    min-width: 50%;
}

.spacer_900 {
    width: 100%;
    height: var(--spacing-900);
}

.spacer_800 {
    width: 100%;
    height: var(--spacing-800);
}

.spacer_700 {
    width: 100%;
    height: var(--spacing-700);
}

.spacer_600 {
    width: 100%;
    height: var(--spacing-600);
}

.spacer_500 {
    width: 100%;
    height: var(--spacing-500);
}

.spacer_400 {
    width: 100%;
    height: var(--spacing-400);
}

.spacer_300 {
    width: 100%;
    height: var(--spacing-300);
}

.spacer_200 {
    width: 100%;
    height: var(--spacing-200);
}

.spacer_100 {
    width: 100%;
    height: var(--spacing-100);
}

.spacer_000 {
    width: 100%;
    height: var(--spacing-000);
}

#travelactions .ta a {
    position: absolute;
    width: 100%;
    height: 100%;
}

#travelactions button {
    align-self: flex-end;
}

#container.postbus {
    width: 1440px;
    box-shadow: 15px 0 25px rgb(0 0 0 / 15%);
    background-color: var(--grey-100);
}

.postbus-header {
    position: sticky;
    top: 0;
    width: 100%;
    height: 90px;
    z-index: 1001;
    background-size: 100% auto;
    background-image: url(postbus-header.png);
    background-repeat: no-repeat;
    padding: 0;
    margin: 0;
    box-shadow: 0 15px 15px rgb(0 0 0 / 15%);
}

.container-postbus-innertop {
    max-width: 980px;
    margin: var(--spacing-600) auto 0 auto;
    position: relative;
    display: block;
    padding-bottom: 165px;
}

.container-postbus-innertop .ticket {
    width: 300px;
    min-height: 100px;
    background-color: #fff;
    padding: var(--spacing-300);
}

#relation-container {
    position: relative;
    width: 1440px;
    min-width: 1440px;
    height: auto;
    display: flex;
    align-items: center;
    flex-direction: column;
    min-height: 600px;
    margin-top: -120px;
}

#relation-container #travelactions {
    margin-top: 0;
    box-shadow: none;
}

#relation-container #travelactions a {
    display: block;
    margin: var(--spacing-100) 0;
    color: inherit;
}

#relation-container #travelactions h2+p {
    margin-top: 0;
}

#relation-container .initial,
.relation {
    box-sizing: border-box;
    width: 980px;
    min-width: 980px;
    height: 504px;
    z-index: 0;
    transition: opacity 500ms, margin 750ms;
}

.relation {
    position: absolute;
}

#relation-container .initial,
#container.postbus .relation {
    opacity: 0;
}

.relation {
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: var(--white);
    margin-top: -90px;
}

.relation .content {
    padding: var(--spacing-500);
}

#container.buttons .relation {
    box-shadow: 0 25px 55px -10px rgb(0 0 0 / 20%);
    margin: var(--spacing-500) 0;
}

.relation .top_row {
    display: flex;
    justify-content: space-between;
    margin-top: var(--spacing-400);
    margin-bottom: var(--spacing-300);
}

.relation .top_row .mdc-text-field {
    flex: 8;
}

.relation .top_row i.change_direction,
.relation--bottom_row--spacer {
    padding: 0 var(--spacing-000);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 var(--spacing-200);
    cursor: pointer;
    width: var(--spacing-500);
}

.relation .bottom_row {
    width: 100%;
    margin: var(--spacing-300) 0 var(--spacing-400) 0;
    display: flex;
    justify-content: space-between;
}

.relation .bottom_row .date {
    display: flex;
    flex: 8;
    align-items: center;
}

.relation .bottom_row .date>* {
    margin-right: var(--spacing-200);
}

.relation .bottom_row .date .day {
    flex: 8;
}

.relation .bottom_row .date .time {
    flex: 3;
}

.relation .bottom_row .date .arrdep {
    font-size: 16px;
    display: flex;
    flex: 1;
    align-items: center;
    margin-left: var(--spacing-200);
    margin-right: 0;
    cursor: pointer;
}

.relation .bottom_row .date .arrdep i {
    padding: var(--spacing-000);
    font-size: 32px;
}

span.toggle::after {
    content: "toggle_off";
}

span.toggle.on::after {
    content: "toggle_on";
}

.relation .bottom_row .persons {
    flex: 8;
}

.relation .bottom_row .persons .person {
    width: 100%;
}

.relation .button_row {
    width: 100%;
    margin: var(--spacing-500) 0 0 0;
    align-items: center;
}

.relation .button_row button.primary {
    padding: var(--spacing-300) var(--spacing-400);
    font-size: 16px;
}

#relation-container .initial.active,
#container.postbus .relation.active {
    opacity: 1;
    margin-top: 0;
    z-index: 1;
    height: auto;
}

#footer {
    width: 1440px;
    min-width: 1440px;
    height: 179px;
    background-image: url("footer.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    margin-top: var(--spacing-400);
}

#postbus_angebot {
    position: relative;
    width: 1440px;
    min-width: 1440px;
    height: 100vh;
    background-image: url("postbus_angebot.jpg");
    background-size: 1440px auto;
    background-repeat: no-repeat;
}

#postbus_angebot a {
    position: absolute;
    width: 100%;
    height: 100%;
}

#top {
    width: 1440px;
    min-width: 1440px;
    min-height: 440px;
    background-image: url("postbus_bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.spacing-list {
    display: flex;
    flex-direction: column;
    min-width: 50%;
}

.space {
    display: block;
    background-color: var(--grey-200);
    margin-bottom: var(--spacing-300);
}

.spacing-list {
    min-width: 50%;
}

.spacer_900 {
    width: 100%;
    height: var(--spacing-900);
}

.spacer_800 {
    width: 100%;
    height: var(--spacing-800);
}

.spacer_700 {
    width: 100%;
    height: var(--spacing-700);
}

.spacer_600 {
    width: 100%;
    height: var(--spacing-600);
}

.spacer_500 {
    width: 100%;
    height: var(--spacing-500);
}

.spacer_400 {
    width: 100%;
    height: var(--spacing-400);
}

.spacer_300 {
    width: 100%;
    height: var(--spacing-300);
}

.spacer_200 {
    width: 100%;
    height: var(--spacing-200);
}

.spacer_100 {
    width: 100%;
    height: var(--spacing-100);
}

.spacer_000 {
    width: 100%;
    height: var(--spacing-000);
}

.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,
.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,
.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing {
    border-color: var(--black);
}

.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,
.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,
.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing {
    border-color: var(--black);
}

.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading {
    border-top-left-radius: 2px;
    border-top-left-radius: var(--mdc-shape-small, 2px);
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 2px;
    border-bottom-left-radius: var(--mdc-shape-small, 2px);
}

.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing {
    border-top-left-radius: 0;
    border-top-right-radius: 2px;
    border-top-right-radius: var(--mdc-shape-small, 2px);
    border-bottom-right-radius: 2px;
    border-bottom-right-radius: var(--mdc-shape-small, 2px);
    border-bottom-left-radius: 0;
}

.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,
.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,
.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing {
    border-color: var(--black) !important;
}

.mdc-text-field--focused:not(.mdc-text-field--disabled) .mdc-floating-label {
    color: inherit;
}

.mdc-text-field__icon {
    color: var(--black) !important;
    font-size: 18px;
    padding-right: 0;
    padding-left: var(--spacing-100);
}