@import url("menu.css?v=6");

*,
:before,
:after {
    box-sizing: border-box;
}

/* skiplinks */
.a-skiplink {
    background-color: #fff;
    border: 2px solid #999;
    display: block;
    left: -1000em;
    padding: .5em;
    position: absolute;
    z-index: 10;
    transition: none;
}

.a-skiplink:focus {
    left: 1em;
    top: 126px;
    z-index: 1000;
}

html,
body {
    margin: 0;
}

body {
    font-family: "RO Sans", Calibri, sans-serif;
    font-weight: normal;
    font-size: var(--text-base);
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
}

#aspnetForm {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    min-height: 100vh;
}

#qs-container {
    padding: 0;
}

.breadcrum_container {
    display: none;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4 {
    line-height: 100%;
    margin: 0 0 .5em;
    color: var(--text-color);
    font-family: "RO Sans", Calibri, sans-serif;
    font-weight: 700;
}

.grid {

    h1,
    .h1,
    h2,
    .h2,
    h3,
    .h3,
    h4,
    .h4 {
        margin-top: 0;
    }
}

h1,
.h1 {
    margin: 0 0 0.45em;
    font-size: var(--h1);
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-weight: 600;
}

h2,
.h2 {
    margin: 1.6em 0 0.5em;
    font-size: var(--h2);
    line-height: 1.2;
    letter-spacing: -0.015em;
    font-weight: 700;
}

h3,
.h3 {
    margin: 1.5em 0 0.55em;
    font-size: var(--h3);
    line-height: 1.3;
    letter-spacing: -0.01em;
}

h4,
.h4 {
    margin: 1.4em 0 0.6em;
    font-size: var(--h4);
    line-height: 1.35;
}

:is(h1, h2, h3, h4)+* {
    margin-top: 0;
}

p {
    max-width: 65ch;
    margin: 0 0 1.15em;
    font-size: 19px;
    line-height: 28px;
    font-weight: 400;
    font-family: "RO Sans", Calibri, sans-serif;
    color: var(--text-color);
    text-wrap: pretty;
}

.b_btn,
.morelink a {
    line-height: inherit;
    font-size: inherit;
    padding: 8px 16px;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    transition: .3s ease-in-out;
    color: var(--default-white);
    background: var(--primary-color);
    text-decoration: none;
    font-family: "RO Sans", Calibri, sans-serif;
    cursor: pointer;

    &:hover {
        border: 2px solid var(--primary-color);
    }
}

.b_btn-secondary {
    background: var(--default-white);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.b_link {
    display: flex;
    align-items: center;
    gap: .5rem;
    text-decoration: none;

    span {
        text-decoration-line: underline;
        text-decoration-thickness: 1px;
        text-decoration-color: var(currentColor);
        text-underline-offset: 3px;
    }

    &:hover {
        span {
            text-decoration: none;
        }
    }
}

.b_btn-icon {
    display: flex;
    align-items: center;
    gap: .7rem;
    width: fit-content;
}

a {
    line-height: inherit;
    font-size: inherit;
    color: var(--primary-color);
    display: inline-block;
    position: relative;
    font-family: "RO Sans", Calibri, sans-serif;
    text-decoration-line: underline;
    text-decoration-thickness: 1px;
    text-decoration-color: var(currentColor);
    text-underline-offset: 3px;
}

.active a,
a:hover {
    text-decoration: none;
    border: none;
}

select,
input,
textarea {
    font-family: "RO Sans", Calibri, sans-serif;
    line-height: inherit;
    font-size: inherit;
}

.b_inputfield {
    max-width: 400px;
    width: 100%;
    padding: 11px 16px;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    color: var(--text-color);
}

label {
    font-weight: 600;
}

.b_textarea {
    max-height: 600px;
    resize: vertical;
}

.loginfield {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: fit-content;
}

#custompagecontent,
.wrapper_ballroom_faq #content,
.container_newsitem {
    max-width: 65ch;
    margin: 0 auto;
}

.page_homedementie,
.page_home {
    #qs-container {
        max-width: 100%;
        padding: 0;
    }
}

.teaser {
    position: relative;
    display: flex;
    justify-content: left;
    max-width: 96%;
    width: 100%;
    height: 480px;
    border-top-right-radius: 40px;
    margin: 0 auto;
    background: url(images/hero.png) no-repeat center center;
    background-size: cover;

    .grid {
        padding: 0;

        h1 {
            color: var(--default-white);
        }
    }
}

.teaser-content-left {
    max-width: 460px;
    width: 100%;
    background-color: var(--primary-color);
    border-bottom-right-radius: 40px;
    color: #FFF;
    padding: 24px;

    p,
    a {
        color: #FFF;
    }
}

#number-section {

    h2 {
        max-width: 65ch;
    }

    .input-fields {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        gap: 16px;

        select,
        input {
            width: 100%;
            padding: 11px 16px;
            border: 1px solid var(--primary-color);
        }

        input {
            padding-left: 44px;
            background: url("images/search.svg") no-repeat center left 10px;
            background-size: 24px 24px;

            &[aria-disabled="true"] {
                pointer-events: none;
                opacity: 0.4;
            }
        }
    }

    .b_search {
        position: relative;
    }

    .tile-numbers {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        margin-top: 24px;
        margin-bottom: 32px;

        .tile {
            display: flex;
            gap: 24px;
            padding: 20px 20px;
            border-radius: 6px;
            background: var(--background-color-grey);
            align-items: center;
            position: relative;

            .tile-ammount {
                display: flex;
                align-items: center;
                font-size: 48px;
                line-height: 48px;
                font-weight: bold;
                color: var(--secondary-color);
            }

            p {
                margin: 0;
                font-size: 22px;
                line-height: 26px;
            }

            .tile-year {
                position: absolute;
                bottom: 4px;
                right: 24px;
                font-size: 14px;
            }
        }
    }
}

#result_List {
    position: absolute;
    width: 100%;
    background: #FFF;
    z-index: 101;
    box-shadow: 0px 0px 10px -5px #595959;
    max-height: 410px;
    overflow: auto;
    overflow-x: hidden;
    margin: 0;
    padding: 0;

    .autoComplete_result {
        max-width: 100%;
        margin: 0;
        padding: 0;
        border: none;
        border-bottom: thin solid #e3e3e3;
        border-bottom-right-radius: 5px;
        border-bottom-left-radius: 5px;
        font-size: 1.0625rem;

        &:hover {
            cursor: pointer;
            border: none;
            border-bottom: thin solid #e3e3e3;
            background-color: var(--primary-color);

            .autoComplete_highlighted {
                color: rgb(231 201 222);
            }
        }

        a {
            color: var(--text-color);
            text-decoration: none;
            width: 100%;
            padding: 10px;
            display: inline-block;

            &:hover {
                color: #fff;
            }
        }
    }

    .autoComplete_highlighted {
        opacity: 1;
        color: var(--fontcolor);
        font-weight: bold;
    }
}

#link-section {
    h2 {
        display: none;
    }

    .h4 {
        margin-bottom: 12px;
    }

    .tileset--content--items {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        gap: 24px;

        .tile {
            a {
                display: flex;
                gap: 16px;
                align-items: center;
                width: 100%;
                height: 100%;
                padding: 12px 12px;
                border: 2px solid var(--primary-color);
                border-radius: 6px;
                text-decoration: none;
                color: var(--text-color);

                .tile-section-icon {
                    display: flex;
                    max-width: 45px;
                    width: 100%;
                    max-height: 100%;

                    img {
                        margin: 0 auto;
                        height: 45px;
                        width: 45px;
                        max-width: 100%;
                        max-height: 100%;
                    }
                }
            }
        }

        .inactive {
            a {
                opacity: .5;
                border-color: #9D9D9D;
                background: #9D9D9D;
                pointer-events: none;

                img {
                    filter: invert(46%) sepia(1%) saturate(0%) hue-rotate(257deg) brightness(76%) contrast(88%);
                }
            }
        }

        .size-50 {
            grid-column: span 2;
        }
    }
}

#update-section,
#questionnaire-section {
    margin: 3rem auto 0 auto;
    max-width: 96%;
    width: 100%;
    border-bottom-right-radius: 40px;
    background: var(--background-color-grey);
}

.subscriptioninput {
    display: flex;
    gap: 4px;
}

.nieuwsdatum,
.datumseparator,
.postername {
    display: none;
}

.newslist,
.newspreviews {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;

    .meta {
        display: none;
    }

    .listitem__image,
    .listitem__image {
        height: 250px;
        margin-bottom: 24px;

        img {
            object-fit: cover;
            width: 100%;
            height: 100%;
        }
    }

    h3 a {
        text-decoration: none;
        color: var(--text-color);
    }
}

#preface_container {
    img {
        max-width: 65ch;
        width: 100%;
        max-height: 400px;
        object-fit: cover;
        object-position: top;
    }
}

.date {
    font-size: 1rem;
}

.newspreviews {
    .nieuwsitem {
        display: flex;
        flex-direction: column;

        .listitem__image {
            order: 1;
        }

        .nieuwstitel {
            order: 2;
        }

        .newslistitem__preview {
            order: 3;
        }

        .nieuwscontrol {
            order: 4;
        }
    }
}

.newspager__item {

    a,
    span {
        display: flex;
        background: none;
        border: none;
        cursor: pointer;
        height: 40px;
        width: 40px;
        border-radius: 25px;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        line-height: 1;
        transition: .2s ease-in-out all;
    }

    a:hover {
        background-color: #eaebf2;
    }

    &:empty {
        display: none;
    }
}

.is-current {
    span {
        background-color: var(--primary-color);
        color: #FFF;
    }
}

.page_contact {
    #qs-container {
        max-width: 100%;
    }

    #content {
        display: flex;
        flex-direction: column;
        max-width: 100%;
        padding-bottom: 0;

        h1 {
            max-width: 1232px;
            width: 100%;
            margin-right: auto;
            margin-left: auto;
            padding: 0 16px;
        }

        #container_contactinfo {
            max-width: 1232px;
            width: 100%;
            margin: 0 auto;
            padding: 24px 16px 0 16px;
        }

        .contactform {
            display: flex;
            flex-direction: column;
            gap: 4px;
            max-width: 1232px;
            width: 100%;
            margin: 0 auto;
            padding: 0 16px 80px 16px;

            .contactinput {
                display: flex;
                gap: 12px;
                margin-bottom: 20px;

                .error {
                    margin-top: 17px;
                }
            }

            .contactinput--button {
                margin-bottom: 0;
            }

            p {
                margin-bottom: 8px;
            }
        }

        .subscribe {
            max-width: 96%;
            width: 100%;
            border-top-right-radius: 40px;
            margin: 0 auto;
            background: var(--background-color-grey);

            h2 {
                max-width: 1232px;
                width: 100%;
                margin-right: auto;
                margin-left: auto;
                padding: 24px 16px 0 16px;

                &+div {
                    max-width: 1232px;
                    width: 100%;
                    margin: 0 auto;
                    padding: 0 16px 80px 16px;
                }
            }

            p {
                margin-bottom: 8px;
            }
        }
    }
}

.page_default {
    h1 {
        margin-right: 0;
        margin-left: 0;
    }

    #ballroom-register {
        min-height: auto;
        height: auto;
        width: 60%;
        margin: 0;
        margin-bottom: 2rem;

        h1 {
            width: 60%;
            margin: 0;
            margin-bottom: 2rem;
        }

        #login_leftside .login-form,
        .panel2 {
            padding: 0;
        }

        .register-panel {
            display: none;
            position: static;

            &.show {
                display: block;
            }
        }
    }
}

#ballroom-register__details div:last-child {
    display: none;
}

#ballroom-register__existinguser {
    p {
        padding: 0.8rem 1.5rem;
        border-radius: 12px;
        margin-bottom: 3rem;
        background: #b1ede8;

        &:before {
            content: "\f00c";
            font-family: "Font Awesome 6 Pro";
            margin-right: 0.5rem;
            font-weight: bold;
        }
    }

    .container_loginfield p {
        padding: 0;
        margin-bottom: 1rem;
        background: none;

        &:before {
            display: none;
        }
    }
}

.page_faq {
    h1 .b_category_title {
        display: none;
    }
}

.b_module-faq {
    .nav {
        display: none;
    }
}

#page_login {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;


    #contentstart {
        order: 2;
        padding: 24px;
        border-top-right-radius: 40px;
        background: var(--background-color-grey);

        p:last-child {
            margin-bottom: 0;
        }
    }

    #logincontrols {
        order: 1;

        .container_loginfield {
            margin-bottom: 0;

            .loginfield {
                display: grid;
                grid-template-columns: 1fr 1fr;

            }
        }
    }

    #contentend {
        display: none;
    }
}

#questionnaire-section .grid {
    .orgname {
        font-size: 1.25rem;
        font-weight: 600;
    }
}

.q-blocks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;

    .q-block {
        padding: 2rem;
        border-radius: 12px;
        background: #FFF;

        &.inactive,
        .inactive {
            opacity: .5;
            border-color: #9D9D9D;
            background: #9D9D9D;
            pointer-events: none;

            &.b_btn,
            .b_btn {
                background: grey;
                border-color: grey;
                color: var(--text-color);
            }

            a {
                color: var(--text-color);
            }
        }
    }

    .dashboard-block {
        grid-column: 1 / -1;
    }

    .btns-wrapper {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        justify-content: space-between;
        gap: 1.5rem;

        .link--questionnaire,
        .questionnnaire_urls {
            display: flex;
            flex-direction: column;
            gap: .25rem;
            flex: 1;
        }
    }

    .q-load {
        flex: max-content;
        
        
        
        
        

        h2, .questionnaire_preface {
            display: none!important;
        }
    }

    .dashboard-link {
        width: fit-content;
    }

    .questionnaire-status--admin {
        .questionnnaire_urls {
            .link {
                display: none;

                a {
                    width: 100%;
                }
            }

            .link--admin {
                display: block;
            }
        }
    }
}

.f-items {
    display: flex;
    justify-content: space-between;
    align-items: start;

    p:last-of-type {
        margin-bottom: 0;
    }
}

.add-user-block {
    flex-direction: column;

    .add-user-btns {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        margin-top: auto;
    }
}

.c-block,
.r-block {
    display: none;
}


.role_SysAdmin,
.role_Poweruser {
    .c-block {
        display: block;
    }

    .add-user-block.c-block {
        display: flex;
    }
}

.role_User {
    .r-block {
        display: block;
    }

    .block-3 {
        .dashboard-link {
            display: none;
        }
    }
}

.authenticated_True {
    #teaser-intro {
        display: none;
    }
}

@media screen and (min-width: 768px) and (max-width: 1200px) {
    .teaser-inner {
        justify-content: center;
    }
}

@media screen and (max-width: 1200px) {
    .q-blocks {
        .btns-wrapper {

            .questionnnaire_urls,
            .dashboard-link,
            .b_btn {
                width: 100%;
                text-align: center;
            }
        }
    }

    .add-user-block {
        .add-user-btns {
            flex-direction: column;
            align-items: flex-start;
            gap: .25rem;

            .b_btn {
                width: 100%;
                text-align: center;
            }
        }
    }
}

@media screen and (max-width: 1024px) {
    #number-section {
        & .tile-numbers {
            & .tile {
                .tile-number {
                    font-size: 42px;
                    line-height: 42px;
                }

                p {
                    font-size: 18px;
                    line-height: 22px;
                }
            }
        }
    }
}

@media screen and (max-width: 980px) {
    #number-section {
        .input-fields {
            grid-template-columns: 1fr 1fr;
        }
    }

    #link-section {

        .tileset--content--items {
            grid-template-columns: 1fr 1fr 1fr;
        }
    }
}

@media screen and (max-width: 925px) {
    .q-blocks {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 800px) {
    #link-section {

        .tileset--content--items {
            grid-template-columns: 1fr 1fr;
        }
    }
}

@media screen and (max-width: 768px) {
    #number-section {
        & .tile-numbers {
            grid-template-columns: 1fr;
            gap: 12px;
        }
    }
}

@media screen and (max-width: 740px) {

    #content,
    .grid {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .newslist,
    .newspreviews {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .teaser {
        height: unset;
        max-height: unset;
        padding-top: 150px;
        border-top-right-radius: 0;
        background-size: auto 150px;
        background-position: top center;

        .grid {
            display: flex;
            justify-content: flex-start;
            align-items: flex-end;
            padding-right: 0;
            padding-bottom: 0;

            .teaser-content-left {
                max-width: 100%;
                padding: 16px;
            }
        }

    }
}

@media screen and (max-width: 600px) {
    #number-section {
        .input-fields {
            grid-template-columns: 1fr;
            gap: 12px;
        }
    }

    #link-section {

        .tileset--content--items {
            grid-template-columns: 1fr;
            gap: 12px;

            .size-50 {
                grid-column: span 1;
            }
        }
    }

    .b_inputfield {
        max-width: 100%;
    }

    .subscriptioninput {
        flex-direction: column;
    }
}