﻿:root {
    --red: #d1111c;
    --background: #efefef;
    --light-blue: #eff5fa;
    --white: #FFF;
    --black: #000;
    --mint: #bafddc;
    --dark-mint: #a9e5c7;
    --dark-blue: #072643;
    --primary-color: #0054c5;
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: normal;
    src: url('fonts/Roboto-Regular.ttf');
    font-size: 1rem;
}

html,
body,
body form {
    width: 100%;
    height: 100%;
    margin: 0;
}

body {
    background-color: var(--background);
    font-family: Roboto, "Helvetica Neue", sans-serif;
    display: grid;
    justify-content: center;
    align-items: center;
}

body .content {
    max-width: 425px;
    min-width: 320px;
    background-color: var(--white);
    padding: 2rem 4rem;
    border: 1px solid #e4e4e4;
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.05);
}

body .content.voorwaarden {
    max-width: 1200px;
}

body .content p {
    color: var(--dark-blue) !important;
}

body .content > div {
    width: 100%;
}

body .content figure {
    height: 0;
    padding-top: calc(53 / 150 * 100%);
    position: relative;
    overflow: hidden;
}

body .content.voorwaarden figure {
    padding-top: 125px;
}

body .content img.kiwa-logo {
    height: 100%;
    width: 250px;
    margin: 0 auto;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

body .content .login-control {
    width: 100%;
}

body .content .control-panel .voorwaarden-buttons {
    display: flex;
    column-gap: 0.5rem;
    justify-content: flex-end;
}

body .content .control-panel .field {
    margin: 1rem 0;
}

body .content .control-panel .checkbox {
    grid-template-columns: 20px 1fr;
    align-items: baseline;
    color: var(--primary-color);
    margin: 1rem 0;
    column-gap: 0.5rem;
}

body .content .control-panel .error {
    color: var(--red);
}

body .content .control-panel .error .incorrect-username {
    margin-top: 1rem;
    display: none;
}

body .content .button-as-link input {
    margin-top: 1rem;
    color: var(--primary-color);
    background: none;
}

body .content .control-panel .field input {
    width: 100%;
    padding: 1rem;
    border: solid 2px var(--primary-color);
    outline: none;
    color: var(--primary-color);
}

body .content .control-panel .field .image {
    background-color: var(--primary-color);
}

body .content .control-panel .field .image img {
    padding: 1rem;
}

body .footer {
    justify-content: end;
    display: grid;
    margin: 0.5rem 1rem 0 0;
}

body .footer a {
    font-size: 0.875rem;
    text-decoration: none;
    color: var(--primary-color);
}

body .hidden {
    display: none;
}

body h1 {
    font-size: 2em;
    margin: 0 0 1rem 0;
    color: var(--primary-color);
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-self: start;
}

body h2 {
    font-size: 1.625rem;
    margin: 0 0 1rem 0;
    color: var(--primary-color);
    font-weight: bold;
    justify-self: start;
}

body h3 {
    font-size: 1.25rem;
    margin: 0 0 1rem 0;
    color: var(--primary-color);
    font-weight: bold;
    justify-self: start;
}

body .grid {
    display: grid;
}

body .flex {
    display: flex;
}

body .flex.flex-wrap {
    flex-wrap: wrap;
}

body .grid-justify-content {
    justify-content: center;
}

body .grid-align-items {
    align-items: center;
}

body input {
    cursor: pointer;
}

body input[type="checkbox"] {
    appearance: none;
    margin: 0;
    font: inherit;
    color: var(--primary-color);
    width: 1.15rem;
    height: 1.15rem;
    border: 0.15rem solid var(--primary-color);
    border-radius: 0.15rem;
    transform: translateY(-0.075em);
    display: grid;
    place-content: center;
}

body input[type="checkbox"]::before {
    content: "";
    width: 0.65rem;
    height: 0.65rem;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    box-shadow: inset 1rem 1rem var(--primary-color);
    transform-origin: bottom left;
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

body input[type="checkbox"]:checked::before {
    transform: scale(1);
}

body ::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: var(--primary-color);
    opacity: 1; /* Firefox */
}

body .modal-background {
    background-color: var(--black);
    opacity: 0.20;
}

body .default-button input {
    background-color: var(--mint);
    border: 1px solid var(--dark-mint);
    color: var(--dark-blue);
    outline: none;
    padding: 1rem 3rem;
    margin-top: 1rem;
}

body .default-button input:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    border: 1px solid var(--primary-color);
    outline: none;
    padding: 1rem 3rem;
    margin-top: 1rem;
}

body .default-button,
body .button-as-link {
    text-align: center;
}

body .popup-klein {
    left: initial !important;
    width: 350px !important;
    background: var(--white);
    padding: 1.5rem;
}

body a,
body input,
body button {
    cursor: pointer;
    border: none;
    font-family: Roboto, 'Helvetica Neue', sans-serif;
}

body input,
body button {
    font-size: 0.875rem;
}
