@import "typography.css";

/* Reset browser defaults */
* {
    box-sizing: border-box;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

body {
    margin: 0;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Utility classes */
.width-100 {
    width: 100%;
}

.tn-flex {
    display: flex;
}

.tn-flex-column {
    flex-direction: column;
}

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

.tn-flex-justify-center {
    display: flex;
    justify-content: center;
}

.tn-flex-grow {
    flex-grow: 1;
}

.tn-flex-align-center {
    display: flex;
    align-items: center;
}

.tn-block {
    display: block;
}

.tn-link {
    text-decoration: underline;
}

.tn-link:hover {
    text-decoration: none;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-8 {
    margin-bottom: 8px;
}

.mb-24 {
    margin-bottom: 24px;
}

.mt-24 {
    margin-top: 24px;
}

.mt-48 {
    margin-top: 48px;
}

.mr-24 {
    margin-right: 24px;
}

.mb-48 {
    margin-bottom: 48px !important;
}

.pb-20 {
    padding-bottom: 20px;
}

.primary-button, .secondary-button {
    height: 38px;
    width: 100%;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.primary-button {
    border: 0;
    background-color: #FF6700;
}

.secondary-button {
    border: 1px solid #FF6700;
    background-color: #FFF;
}

.primary-button:hover, .secondary-button:hover {
    cursor: pointer;
    text-decoration: none;
}

.primary-button:hover {
    background-color: #c43500;
}

.secondary-button:hover {
    background-color: #d6d6d6;
}

.primary-button:disabled, .primary-button.disabled,
.secondary-button:disabled, .secondary-button.disabled {
    background-color: rgba(0, 0, 0, .12);
    color: #191614;
    cursor: default;
    pointer-events: none;
}

.tn-divider {
    width: 100%;
    border-bottom: 1px solid #D6D6D6;
    line-height: 0.1em;
    text-align: center;
}

.tn-divider span {
    background: #fff;
    padding: 0 24px;
    line-height: inherit;
}

.tn-big-divider {
    border-bottom: 10px solid #FF993F;
}

.tn-menu-footer {
    max-width: 1248px;
    margin: 0 auto;
    padding: 43px 1.373em;
    position: relative;
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
    font-size: 16px;
}

.tn-menu-footer a {
    display: block;
    padding-top: 5px;
}

.tn-menu-footer h1 {
    font-size: 28px;
    margin-bottom: 6px;
}

.col-12 {
    position: relative;
    width: 100%;
}

.eherkenning-button ul,
.eherkenning-button li,
.eherkenning-button a {
    display: inline-block;
    text-align: center;
    padding: 0;
    margin: 0;
}

.eherkenning-button ul {
    background: linear-gradient(90deg, #133370 40%, #fff 40%);
    border: 1px solid #133370;
    border-radius: 3px;
    width: 600px;
}

.eherkenning-button li {
    padding: 8px 0;
}

.eherkenning-button li.left {
    background-color: #133370;
    height: 100%;
    text-align: right;
    transform: skewX(-20deg);
    -ms-transform: skewX(-20deg);
    -webkit-transform: skewX(-20deg);

}

.eherkenning-button li.left div {
    color: #fff;
    padding: 3px 15px 3px 10px;
    text-decoration: none;
    transform: skewX(20deg);
    -ms-transform: skewX(20deg);
    -webkit-transform: skewX(20deg);
}

.eherkenning-button img {
    height: 20px;
    margin-left: 5px;
    vertical-align: middle;
}

.eherkenning-button:disabled, .eherkenning-button.disabled {
    cursor: default;
    pointer-events: none;
}

/* Registration landingspage */
.registration-landingspage {
    margin-bottom: 48px;
}

.registration-landingspage ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.registration-landingspage ul li a:visited, a:hover {
    text-decoration: none;
}

.registration-landingspage ul li {
    margin-bottom: 24px;
    border: 1px solid #e6e6e6;
    padding: 12px;
    border-radius: 3px;
}

.registration-landingspage ul li.registration-item-green-hover:hover {
    background: #76D2B6;
}

.registration-landingspage ul li.registration-item-blue-hover:hover {
    background: #8FCAE7;
}

.registration-landingspage ul li.registration-item-grey-hover:hover,
.registration-landingspage ul li.registration-item-grey-hover:hover a {
    background: #5E5956;
    color: white;
}

.registration-landingspage ul li div.registration-item {
    display: flex;
}

.registration-landingspage ul li div.arrow-class {
    align-self: center;
    font-family: "Material Icons";
    font-size: 24px;
    width: 32px;
    margin-left: 16px;
}


/* Stepper */

.stepper .steps {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.stepper .steps .step {
    display: flex;
    align-items: center;
    color: #191614;
}

.stepper .steps .step .icon {
    background-color: #e4e4e4;
    border-radius: 50%;
    margin-right: 0.5rem;
    min-height: 24px;
    min-width: 24px;
    text-align: center;
    position: relative;
}

.stepper .steps .step .icon .mat-icon {
    font-size: 1rem;
    max-height: 16px;
    max-width: 16px;
}

.stepper .steps .step .icon > .number,
.stepper .steps .step .icon > .mat-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.stepper .steps .step.current .icon {
    background-color: var(--primary-color);
}

.stepper .steps .step .label {
    white-space: nowrap;
}

.stepper .steps .step.current .label {
    font-weight: 600;
}

.stepper .steps .horizontal-line {
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: #e6e6e6;
    flex: auto;
    height: 0;
    min-width: 32px;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

/* Storingsmelding */
.storingsmelding-container {
    margin-bottom: 16px;
}
.tn-info {
    background: #1c68c1;
    color: #fff;
    padding: 16px;
}

/* Layout */

header {
    padding: 16px 24px;
}

.tn-logo {
    display: block;
}

.tn-logo svg {
    height: 32px;
    width: 200px;
}

.tn-menu {
    line-height: 30px;
}

.tn-container {
    min-height: calc(100vh - 72px);
}

.content-main {
    width: 100%;
}

nav.navigation-top {
    height: 60px;
    background-color: var(--primary-color);
}

nav.navigation-top a {
    height: 60px;
    width: 25%;
    text-align: center;
    line-height: 60px;

    font-size: 1.125rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-right: 5px solid var(--secondary-color);
    color: var(--text-accent-color);
}

nav.navigation-top a:last-of-type {
    border-right: none;
}

nav.navigation-top a.active {
    font-weight: bold;
    border-bottom: 5px solid var(--secondary-color);
}

nav.navigation-top a:hover {
    text-decoration: none;
    color: var(--text-accent-color);
}

main {
    padding: 48px 0;
    flex: 0 1 auto;
}

main > div {
    flex: 0;
    min-width: 608px;
}

footer .contact-links {
    height: 106px;
    padding: 24px;
    background-color: var(--primary-color);
    border-bottom: 10px solid #FF993F;
}

footer .contact-links h4 {
    font-weight: normal;
}

footer .contact-links h4, footer .contact-links a {
    font-size: 1.125rem;
    color: var(--text-accent-color);
}

footer .contact-links .fas, footer .contact-links .fab {
    margin-left: 24px;
    font-size: 2.33em;
}

footer .contact-links .fas:hover, footer .contact-links .fab:hover {
    color: #FFF;
}

footer .bottom-links {
    height: 24px;
    margin: 24px;
}

footer .bottom-links a {
    margin-right: 48px;
    font-weight: bold;
    font-size: 1.125rem;
}

footer .footer-pagecode {
    margin-bottom: 24px;
    margin-left: 24px;
    align-self: flex-end;
    color: #585858;
}

footer .tn-rijksoverheid-logo {
    margin-top: 44px;
    height: 70px;
    flex: 1;
}



/*.content > * {*/
/*    margin-bottom: 24px;*/
/*}*/

el-message,
el-title,
el-input,
el-phone-number,
el-update-password,
el-validation-checked,
el-adres,
el-email,
el-checkbox,
el-naam,
el-aanhef,
el-gebruiksvoorwaarden,
el-dropdown,
el-navigation-dropdown,
el-radio,
el-beschut-werk {
    display: block;
    margin-bottom: 16px;
}

el-input,
el-phone-number,
el-dropdown,
el-email,
el-radio,
el-navigation-dropdown {
    width: 100%;
}

.btn-link {
    border: none;
    outline: none;
    background: none;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    font-family: inherit;
    font-size: inherit;
}

.btn-link:hover {
    text-decoration: none;
}

button, .primary-button, .secondary-button {
    display: flex;
    justify-content: center;
    padding-left: 8px;
    padding-right: 8px;
}

button:before, .primary-button:before, .secondary-button:before {
    font-family: "Material Icons";
    line-height: 21px;
    margin-right: 8px;
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.tn-btn-send:before {
    content: "send";
}

.tn-btn-close:before {
    content: "close";
}

.tn-btn-login:before {
    content: "person";
}

.tn-btn-done:before {
    content: "done";
}

.tn-btn-work:before {
    content: "work";
}

.tn-btn-replay:before {
    content: "replay";
}

.tn-btn-forward:before {
    content: "arrow_forward";
}

.tn-btn-add-person:before {
    content: "person_add";
}

.tn-btn-power:before {
    content: "power";
}

.tn-btn-edit:before {
    content: "edit";
}

.tn-btn-save:before {
    content: "save";
}

.tn-button-bar {
    display: flex;
    margin-bottom: 24px;
}

.tn-button-bar-justify-center {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
}

.tn-button-bar-justify-center > button {
    width: auto;
}

.tn-button-bar > :not(:first-child) {
    margin-left: 24px;
}

.tn-md-logo {
    display: none;
}

.popup-form {
    display: inline;
    margin: 0;
}

.default-submit-hidden {
    overflow: hidden;
    width: 0;
    height: 0;
    padding: 0;
    border: 0;
    margin: 0;
}

.text--align-center {
    text-align: center
}

/* There's a bug in the font, that hides the bottom part of i.e. 'g'. Line-height fixes this. */
.mat-form-field {
    line-height: 1;
}

span.mat-select-value-text {
    white-space: normal;
}

.footer-container {
    margin: 43px 82px;
    max-width: 1248px;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    flex-flow: wrap;
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
    font-size: 16px;
    white-space: nowrap;
}

.footer-kolom {
    width: 24%;
    height: auto;
    margin: 5px 5px 12px;
    box-sizing: border-box;
    position: relative
}

.footer-kolom a {
    display: block;
    padding-top: 5px;
}

.footer-kolom h1 {
    font-size: 28px;
    margin-bottom: 6px;
}

.small-viewport {
    display: none;
}

.socials {
    position: absolute;
    left: 2em;
    padding-right: 100%;
}

.socials:hover {
    text-decoration: underline;
}

/* hide Microsoft Edge's password reveal button */
::-ms-reveal {
    display: none
}

.position-absolute {
    position: absolute;
}

.checkbox-height-12 {
    height: 12px;
}

.checkbox-height-32 {
    height: 32px;
}

.checkbox-height-52 {
    height: 52px;
}


@media screen and (max-width: 1496px) {
    .footer-kolom {
        width: 40%
    }
}

@media screen and (max-width: 968px) {
    .footer-kolom {
        width: 60%
    }

    .navigation-top {
        display: none !important;
    }

    .tn-logo svg {
        height: 18px;
    }

    .login-title {
        display: none;
    }

    .footer-container {
        justify-content: flex-start;
    }

    .small-viewport {
        display: flex;
        align-items: center;
    }

    .home-link {
        margin-bottom: 12px;
    }

    span.home-link i {
        margin-right: 10px;
    }

    main {
        padding: 0;
    }

    main > div {
        padding: 32px 30px;
        flex: auto;
        flex-direction: column;
        align-items: center;
        max-width: 608px;
        min-width: 320px;
    }

    el-navigation-dropdown {
        margin-bottom: 24px;
    }

    .eherkenning-button ul {
        width: 280px;
    }

    .secondary-button {
        width: 100%;
    }

    @media screen and (max-width: 768px) {
        .tn-logo {
            display: none;
        }

        .tn-md-logo {
            display: block;
        }

        .tn-md-logo svg {
            width: 32px;
            height: 32px;
        }
    }
}
