@import url("menu.css");

/*breadcrumb disable*/
#ctl00_myBreadcrum_breadcrum {
    display: none;
}

/* setup */
.a-skiplink {
    background-color: #fff;
    border: 2px solid var(--primary);
    display: block;
    left: -1000em;
    padding: .5em;
    position: absolute;
    z-index: 10;
    transition: none;
}

.a-skiplink:focus-visible {
    left: 1em;
    top: 126px;
    z-index: 1000;
}

* {
    box-sizing: border-box;
}

#aspnetForm {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
}

input:focus,
input:focus-visible,
button:focus,
button:focus-visible {
    outline: 2px solid var(--default-black);
    outline-offset: 2px;
}

/* typografie */
body {
    font-size: 18px;
    line-height: 1.6;
    font-family: "Inter", sans-serif;
    margin: 0;
    background-color: var(--secondary);
    color: var(--txtcolor);
}

h1,
h2,
h3,
h4,
.h3-style {
    color: var(--txtcolor);
    font-family: "formata medium", sans-serif;
    font-weight: normal;
    margin-top: 0;
    line-height: var(--heading-line-height);
}

h1,
.h1-style {
    font-size: var(--h1-size);
    margin-bottom: var(--h1-margin-bottom);
}

h2,
.h2-style {
    font-size: var(--h2-size);
    margin-bottom: var(--h2-margin-bottom);
}

h3,
.h3-style {
    font-size: var(--h3-size);
    line-height: 1.3;
    margin-bottom: var(--h3-margin-bottom);
}

h4,
.h4-style {
    font-size: var(--h4-size);
    line-height: 1.3;
    margin-bottom: var(--h4-margin-bottom);
}

/* Firefox fallback voor Formata */
@-moz-document url-prefix() {

    h1,
    h2,
    h3,
    h4,
    .h3-style,
    .label-text,
    .menu a,
    .documents .tile-section-name {
        font-weight: 600 !important;
    }
}

.wrapper_ballroom_asp__homeleeuwarden_aspx,
.wrapper_ballroom_homeleeuwarden {
    --h1-size: clamp(2.625rem, 1.25rem + 3.1429vw, 4rem);
    --h2-size: clamp(2rem, 1rem + 2.2857vw, 3rem);
    --h3-size: clamp(1.5rem, 1rem + 1.1429vw, 2rem);

    #footer {
        --h4-size: clamp(1.5rem, 1rem + 1.1429vw, 2rem);
    }

    --h1-margin-bottom: 16px;

    ul.tileset--content--items {
        margin: 0;
        padding: 0;
    }

    li.tile {
        list-style: none;
    }
}

#content h2 {
    margin-bottom: 24px;
}

p {
    margin: 0 0 1.15em;
}

a {
    color: var(--primary);
    text-decoration: none;
}

.b_btn {
    background: var(--primary);
    color: var(--default-white);
    font-size: 18px;
    padding: 8px 24px;
    width: fit-content;
    text-decoration: none;
    border: unset;
    cursor: pointer;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.b_btn::after {
    content: '\f061';
    font-family: "Font Awesome 6 Pro";
    color: var(--default-white);
    font-size: 20px;
    padding-left: 16px;
}

.b_btn:hover {
    background: var(--txtcolor);
}

.label-text {
    font-family: "formata medium", sans-serif;
    font-size: 18px;
    line-height: 22px;
    letter-spacing: 2%;
    margin-bottom: 8px;
    display: inline-block;
}



/* Start introsection */

.grid.intro {
    padding-bottom: 0;
    padding-right: 0;
    display: grid;
    grid-template-columns:
        minmax(0, clamp(460px, calc(82.0339px + 37.7966vw), 683px)) minmax(0, 1fr);
    gap: 50px;
}

.intro__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 40px;

    p {
        max-width: 563px;
        letter-spacing: 2%;
        margin-bottom: 0px;
        font-weight: 500;
        font-size: 24px;
    }
}

img.main-img {
    width: 100%;
    max-width: 813px;
    margin-left: clamp(0px, calc(-1433.2394px + 90.1408vw), 64px);
    max-height: 579px;
}

.intro__image {
    display: flex;
    align-items: center;
}

.wrapper_ballroom_asp__homeleeuwarden_aspx .b_search-container,
.wrapper_ballroom_homeleeuwarden .b_search-container {
    position: relative;
    display: block;
}

.ac-s-container>.ac-s-input-container>button>span {
    text-transform: none;
    font-size: 18px;
    font-weight: normal;
}

.ssr-ac-container {
    position: relative;
    width: 100%;
    transform: unset;
}

.br-large {
    border-radius: unset;
}

.ac-s-container>.ac-s-input-container {
    outline: unset;
    min-height: 55px;

    >i {
        top: 17px !important;
        left: 17px;
    }
}

.ac-s-container>.ac-s-input-container>input {
    padding-right: 92px;
    background-color: var(--default-white);
    border-top: 2px solid var(--dark-grey);
    border-bottom: 2px solid var(--dark-grey);
    border-left: 2px solid var(--dark-grey);
    font-size: 18px;
}

.btn-color {
    background-color: var(--primary);
}

.btn-color:hover,
.btn-color:focus-within {
    background-color: var(--txtcolor);
}

.ac-s-container>.ac-s-input-container label {
    display: block;
    font-size: 18px;
    opacity: 1;
    color: #666666;
    margin-top: 14px;
    margin-left: 46px;
}

.ac-s-container>.ac-s-input-container .active {
    font-size: 13px;
    font-weight: 700;
    line-height: 21px;
    margin-top: -1px;
    opacity: 1
}

.fa-magnifying-glass:before,
.fa-search:before {
    color: #666;
    font-size: 14px;
}

/* Start uitgelicht */
.uitgelicht:not(:has(.tileset--content--items .tile)) {
    display: none;
}

.uitgelicht .tileset--content--name {
    display: none;
}

.uitgelicht {
    background-color: var(--default-white);
    display: flex;
    flex-direction: column;
    padding: 24px;
    gap: 16px;
}

.uitgelicht--style {
    color: var(--primary);
    line-height: 1.4;
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 18px;
    margin: 0;
    text-transform: uppercase;
}

/* End uitgelicht */

/* Start algemene tile style */
.tile a {
    color: var(--default-black);
    font-weight: 600;
    line-height: 1.334;
    width: fit-content;
    display: flex;
    align-items: center;
}

.tile a:hover .tile-section-name {
    text-decoration-line: underline;
    text-decoration-thickness: 2px;
    text-decoration-color: var(--txtcolor);
    text-underline-offset: 3px;
}

/* End algemene tile style */

/* Start dashboards section */
.grid.dashboards {
    padding-top: 80px;
}

.dashboards__tiles {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 32px;
    justify-content: space-between;
}

.dashboards .tileset--content--items {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.dashboards h3 {
    min-height: 84px;
}

/* End dashboard sections */

/* Start map section */
.wijken__content {
    margin-bottom: 40px;
}

.map-overview {
    background: var(--default-white);
}

.map-wrapper {
    display: flex;
    align-items: center;
    gap: 32px;
}

.wijken__intro {
    max-width: 749px;
}

.wijken__wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
}

.geoitem-search input {
    width: 100%;
    padding: 1.25rem;
    border: 1px solid var(--dark-grey);
    border-radius: 3px;
    font-size: 1.125rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: #FFF url("images/chevron-down.svg") no-repeat center right 1rem;
    background-size: auto 1.2rem;
    line-height: 1rem;
}

.error {
    margin-left: 1rem;
}

#result_List.wijken__select {
    position: absolute;
    width: 100%;
    max-width: clamp(352px, calc(-551.275px + 100.253vw), 749px);
    background: #FFF;
    z-index: 10;
    box-shadow: 2px 2px 20px -14px #595959;
    max-height: 250px;
    overflow: auto;
    overflow-x: hidden;
    margin: 0 !important;
    padding: 0 !important;
    display: none;
}

#result_List.wijken__select.b_search-list--open {
    display: block;
}

#result_List.wijken__select .autoComplete_result {
    max-width: 100%;
    margin: 0;
    padding: 0;
    border: none;
    border-bottom: thin solid #e3e3e3;
    font-size: 17px;
}

#result_List.wijken__select .autoComplete_result:last-child {
    border-radius: 0;
}

#result_List.wijken__select .autoComplete_highlighted {
    opacity: 1;
    color: #094350;
    font-weight: bold;
}

#result_List.wijken__select a {
    color: #313131;
    text-decoration: none;
    width: 100%;
    padding: 10px;
    display: inline-block;
}

#result_List.wijken__select .autoComplete_result:hover {
    cursor: pointer;
    border: none;
    border-bottom: thin solid #e3e3e3;
    background-color: var(--blue);
}

#result_List.wijken__select .autoComplete_result:hover a,
#result_List.wijken__select .autoComplete_result:focus-within a {
    color: var(--primary);
    font-weight: 700;
}

#result_List.wijken__select .autoComplete_result:hover .autoComplete_highlighted {
    color: rgb(231 201 222);
}

.map_tooltip {
    position: absolute;
    background: var(--default-white);
    color: var(--txtcolor);
    border-radius: 4px;
    padding: 4px 18px 4px 0;
    font-size: 16px;
    pointer-events: none;
    white-space: nowrap;
    z-index: 1000;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.25);

    &::before {
        content: url(images/popup-arrow.svg);
        position: relative;
        bottom: -22px;
        left: 15px;
    }
}

.wijken__wrapper {
    position: relative;
}

.map_tooltip.hidden {
    display: none;
}

.map-region {
    fill: #CCE5F3;
    stroke: #fff;
    cursor: pointer;
    transition: fill 0.2s ease;
}

.map-region:hover,
.map-region:focus-visible {
    fill: #0C7F88;
    outline: none;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* End map section */

.documentlistitem__description p {
    margin: 0;
}


.documents {
    background-color: var(--secondary);

    .documents__wrapper {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .container_ballroomlist {
        width: 100%;
    }

    .tileset--content--items {
        display: grid;
        gap: 32px;
        grid-template-columns: 1fr 1fr 1fr;

        .b_btn {
            grid-row: 2 / 2;
        }
    }

    .tile {
        background-color: var(--default-white);
        display: flex;
        flex-direction: column;
        position: relative;

        a {
            text-decoration: none;
            display: flex;
            flex-direction: column;
            height: 100%;
            width: 100%;
        }

        .tile-content {
            padding: 32px;
            display: flex;
            flex-direction: column;
            gap: 25px;
            width: 100%;
        }

        .tile-section-text {
            background-color: var(--primary);
            color: var(--default-white);
            width: fit-content;
            padding: 4px 8px;
            font-size: 14px;
            font-weight: 400;
        }

        .tile-section-icon {
            margin-top: auto;
            position: relative;
            display: inline-flex;
        }

        .tile-section-name {
            font-family: "formata medium", sans-serif;
            font-size: 32px;
            font-weight: 500;
            color: var(--txtcolor);
        }

        h3 {
            margin-bottom: 0;
        }
    }

    .test_text {
        .tile-content {
            gap: 18px;
        }

        .tile-section-text {
            background-color: unset;
            color: var(--default-black);
            width: fit-content;
            padding: unset;
            font-size: 18px;
            font-weight: 400;
            line-height: 1.6;
            margin-top: 0;
        }

        .tile-date-text {
            margin-top: auto;
            background-color: var(--primary);
            color: var(--default-white);
            width: fit-content;
            padding: 4px 8px;
            font-size: 14px;
            font-weight: 400;
        }
    }

    img {
        width: 100%;
        position: relative;
    }

    .tile-content {
        flex: 1;
    }

    .tile-section-text {
        margin-top: auto;
    }

    .b_btn {
        margin-left: auto;
    }

    .newslistitem__readmore {
        font-size: 0px;

        a::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            bottom: 0;
            right: 0;
        }
    }
}

.documents .tile-section-icon {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 489 / 287;
    overflow: hidden;
    isolation: isolate;
}

.documents .tile-section-icon::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;

    width: min(48%, 260px);
    aspect-ratio: 260 / 217;

    background: url(images/Union.png) no-repeat left bottom;
    background-size: contain;

    z-index: 2;
    pointer-events: none;
}

.documents .tile-section-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: relative;
    z-index: 1;
}

.ballroom_documenten {
    h2 {
        font-size: clamp(1.5rem, 1rem + 1.1429vw, 2rem);
        line-height: 1.3;
        margin-bottom: 18px;

        @media screen and (max-width: 700px) {
            line-height: 1.25;
        }
    }

    h3 {
        font-size: clamp(1.25rem, 0.875rem + 0.8571vw, 1.625rem);
        line-height: 1.3;
        margin-bottom: 0;

        @media screen and (max-width: 700px) {
            line-height: 1.25;
        }
    }

    & .document {
        display: flex;
        flex-direction: column;
        position: relative;
        background-color: var(--default-white);
        border: 1px solid var(--border);
        padding: 24px;
        gap: 12px;
    }

    & .listitem__image {
        display: none;
    }

    & .b_meta {
        display: none;
    }

    & .rapport-download {
        font-weight: 600;

        &::before {
            content: "";
            font-family: "Font Awesome 6 Pro";
            color: var(--primary);
            font-size: 20px;
            padding-right: 8px;
        }
    }
}

.ballroom_documenten {
    background-color: var(--secondary);

}

.container {
    padding: var(--pad-obj-lg) var(--pad-obj-md);
}

.b_meta {
    display: none;
}

.document {
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid var(--border);
    padding: 24px;
    background-color: var(--default-white);
    gap: 12px;

    a::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
    }

    .listitem__title {
        color: var(--txtcolor);
        font-size: 26px;
        font-weight: 500;
    }
}

.b_module-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 59px;
}

.b_module-documents {
    display: flex;
    flex-direction: row;
    /* flex-wrap: wrap; */
    gap: 30px;
}

.listitem__image {
    display: none;
}

#nav_module {
    min-width: 400px;
}

.b_module-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.rapport-download {
    font-weight: 600;
}

.rapport-download::before {
    content: '\f019';
    font-family: "Font Awesome 6 Pro";
    color: var(--primary);
    font-size: 20px;
    padding-right: 8px;
}

.ballroomcategories {
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style-type: none;
    margin: 0;
    padding: 0;

    li {
        text-decoration: none;
        display: flex;


        &.active {
            gap: 12px;

            &::before {
                content: '';
                border-left: 4px solid var(--primary);
            }
        }

        a {
            color: var(--txtcolor);
            text-decoration: none;
            font-size: 18px;
            font-weight: 700;
        }
    }
}


/* start custom content page */
#custompagecontent {
    img {
        max-width: 100%;
        ;
    }

    .b_btn,
    ul {
        margin-bottom: 24px;
    }

    li {
        margin-bottom: 4px;

        &:last-child {
            margin-bottom: 0;
        }
    }

    :is(.b_btn, p, ul):has(+ div) {
        margin-bottom: 0;
    }

    p a:not(.b_btn):hover {
        text-decoration-line: underline;
        text-decoration-thickness: 1px;
        text-decoration-color: var(--primary);
        text-underline-offset: 3px;
    }

    .a-fa {
        font-weight: normal;
        color: var(--primary);
    }

    .a-fa:after {
        margin-left: 6px;
        margin-right: 4px;
        font-size: 12px;
    }

}

.content--blok {
    margin-bottom: 50px;
}

/* Contactpage start */

#container_contactinfo {
    max-width: 700px;

    p a:not(.b_btn):hover {
        text-decoration-line: underline;
        text-decoration-thickness: 1px;
        text-decoration-color: var(--primary);
        text-underline-offset: 3px;
    }


    .a-fa {
        font-weight: normal;
        color: var(--primary);
    }

    .a-fa:after {
        margin-left: 6px;
        margin-right: 4px;
        font-size: 12px;
    }
}

#ctl00_QsPH_contactForm_ui_contactform_lbl_telephone,
#ctl00_QsPH_contactForm_txt_telefoon,
#ctl00_QsPH_contactForm_ui_contactform_lbl_organization,
#ctl00_QsPH_contactForm_txt_organisatie {
    display: none;

    & + .error {
        display: none!important;
    }
}


.subscribe {
    display: none;
}

.contactinput input:not(.b_btn) {
    margin-bottom: 16px;
}

.contactinput input:not(.b_btn),
.contactinput textarea {
    padding: 20px;
    width: 721px;
    font-size: 18px;
}

.contactinput--button {
    margin-top: 16px;
}

/* Contactpage end */

/* start login page */
.login-form .loginfield {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
}


/* end login page */


@media screen and (max-width: 1560px) {
    .intro__image {
        display: flex;
        align-items: center;
        width: 100%;
        min-width: 0;
        overflow: hidden;
    }

    img.main-img {
        display: block;
        width: 813px;
        max-width: none;
        max-height: 579px;
        flex: 0 0 auto;
    }
}

@media screen and (max-width: 1200px) {
    .dashboards__tiles {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .dashboards h3 {
        min-height: unset;
    }

    .documents .tileset--content--items {
        grid-template-columns: 1fr 1fr;
    }
}


@media screen and (max-width: 1000px) {

    h1,
    h2 {
        line-height: var(--heading-line-height-tablet);
    }
}


@media screen and (max-width: 1000px) {
    .dashboards__tiles {
        grid-template-columns: 1fr 1fr;
    }

    #content,
    .grid {
        padding: 48px 30px;
    }

    .grid.dashboards {
        padding-top: 48px;
    }

    .b_module-documents {
        flex-wrap: wrap;
    }

    .b_module-items {
        margin-top: 0;
    }
}

@media screen and (max-width: 900px) {

    .intro__image,
    .wijken__wrapper {
        display: none;
    }

    .intro__content p,
    .intro__content,
    .wijken__intro {
        max-width: 100%;
    }

    .grid.intro {
        display: flex;
        flex-wrap: wrap;
        padding-right: 30px;
    }

    #result_List.wijken__select {
        max-width: calc(100% - 60px);
    }
}


@media screen and (max-width: 800px) {
    .documents .tileset--content--items {
        grid-template-columns: 1fr;
    }

    .documents .tile-section-icon {
        max-height: 240px;
    }

    .contactinput input:not(.b_btn), 
    .contactinput textarea {
        width: 100%;
    }
}


@media screen and (max-width: 700px) {

    h1,
    h2,
    h3,
    h4,
    .h3-style {
        line-height: var(--heading-line-height-mobile);
    }

    #content,
    .grid {
        padding: 40px 20px;
    }

    .grid.dashboards {
        padding-top: 40px;
    }

    .grid.intro {
        padding-bottom: 40px;
    }

    .dashboards__tiles {
        grid-template-columns: 1fr;
    }


    #result_List.wijken__select {
        max-width: calc(100% - 40px);
    }
}


@media screen and (max-width: 448px) {
    .ac-s-container>.ac-s-input-container label {
        max-width: 200px;
    }

    .wrapper_ballroom_asp__homeleeuwarden_aspx .b_search-container,
    .wrapper_ballroom_homeleeuwarden .b_search-container {
        .ac-s-container>.ac-s-input-container {
            min-height: 80px !important;

            >i {
                top: 28px !important;
            }
        }
    }

    #nav_module {
        min-width: 100%;
    }
}

@media screen and (max-width: 400px) {
    .ac-s-container>.ac-s-input-container label {
        max-width: 150px;
    }

    .wrapper_ballroom_asp__homeleeuwarden_aspx .b_search-container,
    .wrapper_ballroom_homeleeuwarden .b_search-container {
        .ac-s-container>.ac-s-input-container {
            min-height: 120px !important;

            >i {
                top: 28px !important;
            }
        }

        #ssr-ac-container-ac-s-container {
            height: 110px;
        }

        .ac-s-container>.ac-s-input-container label.active {
            max-width: 130px;
        }
    }



}