@font-face {
    font-family: "vontobel_serif";
    font-style: normal;
    font-weight: bold;
    src: url("/prelogininfo/assets/fonts/VontobelSerif-Bold.eot") format("eot"),
    url("/prelogininfo/assets/fonts/VontobelSerif-Bold.woff") format("woff"),
    url("/prelogininfo/assets/fonts/VontobelSerif-Bold.woff2") format("woff2");
}

@font-face {
    font-family: "vontobel_sans";
    font-style: normal;
    font-weight: bold;
    src: url("/prelogininfo/assets/fonts/VontobelSans-Bold.eot") format("eot"),
    url("/prelogininfo/assets/fonts/VontobelSans-Bold.woff") format("woff"),
    url("/prelogininfo/assets/fonts/VontobelSans-Bold.woff2") format("woff2");
}

@font-face {
    font-family: "vontobel_sans";
    font-style: normal;
    src: url("/prelogininfo/assets/fonts/VontobelSans-Regular.eot") format("eot"),
    url("/prelogininfo/assets/fonts/VontobelSans-Regular.woff") format("woff"),
    url("/prelogininfo/assets/fonts/VontobelSans-Regular.woff2") format("woff2");
}

body {
    background-image: url("/prelogininfo/assets/img/background.jpg");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    margin: 0;
    font-family: "vontobel_sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
}

.page {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: scroll;
}

.header {
    height: 92px;
    background-color: white;
    flex-shrink: 0;
}

.logo {
    position: relative;
    top: 32px;
    left: 57px;
    height: 26px;
}

.content {
    margin-top: 83px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 83px;
}

.card {
    min-height: 490px;
    width: 670px;
    background-color: #F0EDE4;
    display: flex;
}

.card-content {
    padding: 10%;
    display: flex;
    flex-direction: column;
}

.title {
    font-size: 3rem;
    font-family: "vontobel_serif", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: bold;
    padding-bottom: 20px;
    word-break: break-word;
}

.subtitle {
    font-size: 28px;
}

.message {
    padding-top: 30px;
    padding-bottom: 30px;
}

.card-spacer {
    flex-grow: 1;
}

.action-bar {
    display: flex;
    flex-direction: row;
}

.action-bar-spacer {
    flex-grow: 1;
}

.vontobel-website-link {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.vontobel-website-link a {
    font-size: 18px;
    color: #000000;
    margin: 10px;
    text-decoration: underline;
}

a.unstyled {
    text-decoration: none;
}

.vontobel-website-link a::before {
    content: "";
    height: 30px;
    width: 30px;
    position: relative;
    right: 10px;
    top: 7px;
    background-image: url('data:image/svg+xml;utf8,<svg width="100%" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M32 8L29 11L40 22H0V26H40L29 37L32 40L48 24L32 8Z" fill="%23373A36"/></svg>');
    box-sizing: border-box;
    display: inline-block;
}

.card-spacer {
    flex-grow: 1;
}

.login-button {
    color: #000000;
    background-color: #ffd400;
    width: 130px;
    padding: 22px;
    font-family: "vontobel_sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: bold;
    letter-spacing: 1px;
    border: 0;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
}

.page-spacer {
    flex-grow: 1;
}

.footer {
    height: 56px;
    background-color: #373A36;
    color: white;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-left: 33px;
    padding-right: 33px;
    flex-shrink: 0;
    column-gap:7px;
}

.footer a {
    color: white;
}

.footer-spacer {
    flex-grow: 1;
}

/* Responsive: Desktop small and smaller */
@media (max-width: 770px) {

    .header {
        height: 56px;
    }

    .logo {
        top: 17px;
        left: 40px;
        height: 21px;
    }

    .card {
        width: 320px;
        min-height: 316px;
    }

    .title {
        font-size: 33px;
    }

    .subtitle {
        font-size: 16px;
    }

    .message {
        padding-top: 15px;
        padding-bottom: 15px;
    }

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

    .action-bar-spacer {
        min-height: 10px;
    }

    .vontobel-website-link a {
        font-size: 13px;
        margin: 5px;
    }

    .vontobel-website-link a::before {
        width: 20px;
        height: 20px;
        right: 5px;
        top: 5px;
    }

    .login-button {
        font-size: 14px;
        width: unset;
    }

    .footer {
        display: none;
    }
}

/* IE10+ bugfixes, media query from https://paper-leaf.com/insights/targeting-ie-10-11-browsers-css/ */
@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {
    .page {
        height: 100vh; /* bugfix IE min height not working */
    }

    .card {
        margin-left: auto; /* IE bugfix for centering with auto margins */
        margin-right: auto; /* IE bugfix for centering with auto margins */
        height: 700px; /* IE bugfix for min-height not working */
    }

    .card-content {
        width: 100%; /* IE bugfix for element width inside flex */
    }
}

@media screen and (-ms-high-contrast: active) and (max-width: 770px), screen and (-ms-high-contrast: none) and (max-width: 770px) {
    .card {
        height: 800px; /* IE bugfix for min-height not working */
    }
}