@import url(menu.css);

*,
:before,
:after {
    box-sizing: border-box;
}

html {
    font-size: 20px;
    line-height: 28px;
    font-family: "Karbon", calibri, arial, sans-serif;
    font-weight: 400;
}

body {
    margin: 0;
    background: #F2F7FC;
    font-size: 20px;
    line-height: 28px;
    font-family: "Karbon", calibri, arial, sans-serif;
    font-weight: 400;
}

.breadcrum_container,
.meta,
.nieuwsdatum,
.datumseparator,
.subscribe {
    display: none;
}

.page_home,
.page_homepzh {
    #qs-container {
        max-width: 100%;
        padding: 0;
    }
}

#qs-container,
#container_login_home {
    max-width: 1200px;
    padding: 96px 24px;
}

#container_login_home {
    margin: 0 auto;
}

#aspnetForm {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
}

.grid {
    max-width: 1480px;
    padding: 48px 24px;
    margin: 0 auto;
}

h1,
.h1,
h2,
h2 a,
.h2,
h3,
h3 a,
.h3 {
    margin-top: 0;
    color: var(--Blue-500);
    line-height: 1.2;
    font-family: "Karbon", calibri, arial, sans-serif;
    font-weight: 500;
}

h1,
.h1 {
    margin-bottom: 32px;
    font-size: 48px;
}

h2,
h2 a,
.h2 {
    margin-bottom: 28px;
    font-size: 36px;
}

h3,
h3 a,
.h3 {
    margin-bottom: 16px;
    font-size: 24px;
}

h2 a,
h3 a {
    text-decoration: none;
}

p,
a,
button {
    font-size: 20px;
    line-height: 28px;
    font-family: "Karbon", calibri, arial, sans-serif;
    font-weight: 400;
}

p {
    margin: 0 0 16px 0;
    color: #16113B;
}

/* skiplinks style */
.a-skiplink {
    background-color: #fff;
    border: 2px solid #999;
    color: var(--Blue-500);
    display: block;
    left: -1000em;
    padding: .5em;
    position: absolute;
    z-index: 10;
    transition: none;
}

.a-skiplink:focus {
    left: 1em;
    top: 126px;
    z-index: 1000;
}

.reported,
.news {
    background: #F2F7FC;
}

.current {
    background: #FFF;
}

.banner {
    position: relative;
    width: 100%;
    max-width: 1680px;
    height: 330px;
    margin: 24px auto 100px auto;
    background: url(images/banner.jpg) no-repeat center center;
    background-size: cover;

    .intro-wrapper {
        position: absolute;
        max-width: 1480px;
        width: 100%;
        padding: 0 24px;
        left: 50%;
        top: 100%;
        transform: translate(-50%, -50%);
        padding-bottom: 50px;

        .intro-block {
            max-width: 750px;
            padding: 24px;
            background: #FFF;
            border: 1px solid #E6E6E6;
            border-radius: 4px;
            margin: 0 auto;


            p:last-child {
                margin-bottom: 0;
            }
        }
    }
}

.tileset--content--items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;


    a {
        flex: 25%;
        font-size: 22px;
        line-height: 1.2;
        text-decoration: none;
        color: #FFF;

        .theme-1 {
            display: flex;
            align-items: center;
            height: 100%;
            padding: 24px;
            border: 1px solid #E6E6E6;
            border-radius: 4px;
            gap: 32px;
            background: #FFF;
            font-weight: 600;
            align-items: center;

            p {
                margin: 0;
            }

            .tile-img {
                display: flex;
                justify-content: center;
                align-items: center;
                border-radius: 50%;
                width: 113px;
                height: 113px;
                background: #FFF9E3;
            }

            img {
                width: 60px;
                height: fit-content;
            }

            .tile-text {
                flex: 1;

                h3 {
                    margin-bottom: 8px;
                }
            }
        }
    }
}

#recent-numbers {
    a {


        .theme-1 {

            .tile-img {
                background: #FFEDF0;
            }
        }
    }
}

.newslist,
.newspreviews {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;


    li:not(.morelink, .clear) {
        padding: 24px;
        background: #FFF;

        .newslistitem__preview {
            border-bottom: 1px solid #E6E6E6;
            margin-bottom: 20px;

            p {
                overflow: hidden;
                text-overflow: ellipsis;
                display: -webkit-box;
                -webkit-box-orient: vertical;
                -webkit-line-clamp: 2;
                max-height: 50px;
            }
        }
    }
}

#preface_container,
#article_container {
    max-width: 720px;
}

.contactfield {
    margin-bottom: 4px;

    label {
        font-size: inherit;
        font-weight: 500;
        color: var(--Blue-500);
    }
}

.contactinput {
    display: flex;
    margin-bottom: 24px;

    .error {
        padding-top: 12px;
        padding-left: 16px;
    }
}

.b_module-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 40px;
    gap: 2rem;

    #nav_module {
        flex: 2;

        a {
            color: var(--Blue-500);
            text-decoration: none;
        }
    }

    .b_module-items {
        flex: 4;
    }

    .ballroomcategories {
        display: flex;
        flex-direction: column;
        row-gap: 0.75rem;
        padding-left: 32px;
        margin: 0;

        .active {
            a {
                font-weight: 600;
            }

            ul {
                a {
                    font-weight: 400;
                }
            }
        }

        ul {
            margin: 0;

            li {
                list-style: none;
                margin: 0;
                padding: 0;
                display: block;
                margin-bottom: .5rem;

                a {
                    position: relative;
                    padding-left: 20px;
                    display: block;
                }

                &.active {
                    a {
                        font-weight: 600;
                    }
                }
            }
        }

        .fa-ul {
            margin-top: 0.5rem;
        }

        .fa-chevron-down,
        .fa-chevron-right {
            font-size: 17px;
            margin: 0;
        }
    }
}

.ballroom_documenten {
    #content {
        max-width: 1364px;

        h1 {
            display: flex;
            align-items: center;
            gap: 0.75rem;

            .b_category_title {
                font-size: 1.5rem;
                display: flex;
                gap: 0.75rem;

                &:before {
                    content: "-";
                }
            }
        }
    }
}

#content {
    .document {
        margin-bottom: 1.5rem;

        h2 {
            margin-top: 0;

            a {
                text-decoration: none;
                position: relative;
                padding-left: 34px;
                color: var(--Blue-500);
                font-size: 1.5rem;

                &::before {
                    width: 20px;
                    height: 20px;
                    left: 0;
                    top: 7px;
                    content: "";
                    background: url(images/download.svg) no-repeat;
                    background-size: cover;
                    position: absolute;
                }

                &:hover {
                    text-decoration: underline;
                    text-underline-offset: 7px;
                    text-decoration-thickness: 2px;
                }
            }
        }

        .b_meta {
            display: none;
        }
    }
}

.b_btn,
.newslistitem__readmore a,
.nieuwscontrol a,
.morelink a {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid var(--Blue-500);
    border-radius: 5px;
    background: #FFF;
    text-decoration: none;
    color: var(--Blue-500);
    font-weight: 500;
    font-size: 18px;
    Line-height: 28px;
    cursor: pointer;
}

.b_inputfield {
    max-width: 500px;
    width: 100%;
    padding: 16px 24px;
    font-size: inherit;
    color: #000;
}

.b_textarea {
    min-height: 300px;
    resize: vertical;
}

@media screen and (max-width: 1200px) {
    #qs-container {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    h1,
    .h1,
    h2,
    h2 a,
    .h2 {
        margin-bottom: 16px;
    }

    h3,
    h3 a,
    .h3 {
        margin-bottom: 8px;
    }
}

@media screen and (max-width: 1200px) {
    .tileset--content--items {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media screen and (max-width: 900px) {

    h1,
    .h1 {
        font-size: 32px;
    }

    h2,
    h2 a,
    .h2,
    #content {
        & .document {
            & h2 {
                a {
                    font-size: 28px;
                }
            }
        }
    }

    h3,
    h3 a,
    .h3 {
        font-size: 20px;
    }

    .ballroom_documenten {
        & #content {
            & h1 {
                .b_category_title {
                    font-size: 1rem;
                }
            }
        }
    }

    .newslist,
    .newspreviews {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 800px) {
    .b_module-wrapper {

        #nav_module {
            flex: 100%;
        }

        .b_module-items {
            flex: 100%;
        }
    }
}

@media screen and (max-width: 500px) {
    .grid {
        padding: 24px 16px 32px 16px;
    }

    h1,
    .h1 {
        font-size: 28px;
    }

    h2,
    h2 a,
    .h2 {
        font-size: 24px
    }

    .tileset--content--items {
        a {
            font-size: 20px;
        }

        & a {

            & .theme-1,
            & .theme-2 {
                flex-direction: column;
                img {
                    width: 60px;
                }
            }
        }
    }
}

@media screen and (max-width: 540px) {
    .banner {
        & .intro-wrapper {
            .intro-block {
                p {
                    font-size: 18px;
                    line-height: 26px;

                    &:last-child {
                        display: none;
                    }
                }
            }
        }
    }

    .newslist,
    .newspreviews {
        gap: 16px;
    }
}