﻿html, body, form {
    width: 100%;
    height: 100%;
    font-family: Helvetica;
    background: transparent;
}

.page {
    width: 100%;
    min-height: 100%;
}

.page--auth {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #2C2C2C;
    background-size: cover;
    background-position: center;
    padding: 1em;
    box-sizing: border-box;
}

.auth-form {
    padding: 2em;
    /* background: rgba(0,0,0,.5);
    border-radius: 4px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.15); */
    max-width: 300px;
    /* backdrop-filter: blur(5px); */
}

    .auth-form p {
        line-height: 1.5em;
        text-align: center;
        margin: 1em 0;
        color: #2C2C2C;
    }

.form-field {
    margin: 1em 0;
}

    .form-field > label {
        display: block;
        margin-bottom: 0.25em;
        font-weight: bold;
    }

input.form-control {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 10px 1em;
    border: 1px solid #D8D8D8;
    background: #fff;
}

.btn {
    display: block;
    padding: 10px 1em;
    border: none;
    font-weight: bold;
    width: 100%;
}

    .btn.btn-block {
        display: block;
        width: 100%;
        border-radius: 4px;
    }

.btn-primary {
    background-color: #ed1c24;
    color: #2C2C2C;
    text-transform: uppercase;
}

img.auth-form__logo {
    width: 100%;
    margin: 0 auto;
    display: block;
    margin-bottom: 2em;
}

.code-input {
    font-size: 2em;
    letter-spacing: 0.5em;
    text-align: center;
}

.panel {
    padding: 1em;
    background: #eee;
    margin-top: 1em;
    text-align: center;
}

    .panel.panel--error {
        background: #ed1c24;
        color: #fff;
        font-weight: bold;
    }

.header {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 1em;
    box-shadow: 0 0 20px rgb(0 0 0 / 0.15);
    height: auto;
}

.header__logo {
    display: block;
    width: 60%;
    max-width: 300px;
}

    .header__logo > img {
        width: 100%;
    }

.content {
    max-width: 900px;
    margin: 0 auto;
    margin-top: 7em;
    width: calc(100% - 2em);
}

.order-instructions {
    max-width: 400px;
    white-space: pre-wrap;
    line-height: 1.5em;
}

img.order-proof {
    width: 100px;
}

.header__content {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    max-width: 900px;
    margin: 0 auto;
}

.header__login__button {
    display: block;
    height: 100%;
    padding: 0 1em;
    border: none;
    border-radius: 4px;
    background: #ed1c24;
    color: #2C2C2C;
    font-weight: bold;
    font-size: 1.5em;
}


.btn.btn--login {
    background: #ed1c24;
    color: #fff;
    text-transform: uppercase;
}

.auth-form__divider {
    margin: 1em 0;
    text-align: center;
    color: #2C2C2C;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.auth-form__meta {
    text-align: center;
    color: #2C2C2C;
    font-size: 0.75em;
    margin-top: 0em;
    font-weight: bold;
    line-height: 1.5em;
}

    .auth-form__meta > a {
        color: unset;
        text-decoration: none;
    }

.btn.btn--link {
    background: transparent;
    color: #2C2C2C;
    font-weight: normal;
}

.auth-form__divider:before, .auth-form__divider:after {
    content: " ";
    display: block;
    flex-grow: 1;
    height: 1px;
    background: rgb(255 255 255 / 0.15);
}

.auth-form__divider > span {
    margin: 0 1em;
}

.btn.btn--loading {
    pointer-events: none;
}

.policy-list {
    display: block;
    margin: 1em 0;
}

.blocking-policy {
    margin: 1em 0;
    color: #2C2C2C;
    border-bottom: solid 1px rgb(255 255 255 / 0.15);
    border-top: solid 1px rgb(255 255 255 / 0.15);
    padding: 1em 0;
    text-align: center;
}

h4.blocking-policy__type {
    font-size: 1.2em;
    margin-bottom: 0.25em;
    font-weight: bold;
}

h5.blocking-policy__date {
    margin-bottom: 1em;
}

button.blocking-policy__details-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: #333;
    color: #2C2C2C;
    text-transform: uppercase;
}

.blocking-policy:last-child {
    border-bottom: solid 1px rgb(255 255 255 / 0.15);
}


.policy-modal__wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: block;
    overflow: auto;
    background: #fff;
    background-image: url(/Auth/assets/images/diamond-light.png);
    background-size: cover;
    background-position: right center;
    z-index: 1;
}

.policy-modal {
    display: block;
    width: calc(100% - 2em);
    max-width: 1000px;
    border-radius: 4px;
    overflow: hidden;
    margin: 3.25em auto;
}

.policy-modal__header {
    padding: 1em;
    /* color: #2C2C2C; */
    /* background: #333; */
    text-align: center;
}

.policy-modal__content-frame {
    display: block;
    width: 100%;
    height: 65vh;
}

.policy-modal__footer {
    /* background: #333; */
    padding: 1em;
}

.policy-modal__footer__btns {
    display: flex;
    align-items: center;
    justify-content: center;
}

    .policy-modal__footer__btns > .btn {
        display: inline-block;
        flex-grow: 0;
        width: auto;
        margin: 0 0.5em;
        border-radius: 4px;
        text-decoration: none;
    }

.btn.btn--dark {
    background: #000;
    color: #fff;
}

.btn.btn--red {
    background: #ed1c24;
    color: #fff;
}

p.policy-modal__footer__hint {
    text-align: center;
    margin: 1em auto;
    line-height: 1.5em;
    font-size: 12px;
    max-width: 600px;
}

.policy-modal__body {
    background: #fff;
    display: block;
}

p.hint a {
    color: inherit;
    white-space: nowrap;
}

@media screen and (max-width: 580px) {
    .policy-modal__footer__btns {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

        .policy-modal__footer__btns > .btn {
            margin: 0.5em 0;
        }
}

p.hint.hint--danger {
    background: #ed1c24;
    color: #2C2C2C;
    padding: 10px 1em;
    font-weight: bold;
}

h3.policy-modal__header__title {
    min-height: 1.2em;
    line-height: 1.2em;
    font-weight: bold;
    margin-bottom: 0.5em;
}

p.policy-modal__header__speil {
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5em;
    font-size: 14px;
}
