@import url("tokens.css");
@import url("tiles.css");
@import url("menu.css?=v2");

* {
    box-sizing: border-box;
}

#aspnetForm {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
}


/* typografie */
body {
    font-size: var(--font-body);
    font-weight: 400;
    line-height: 140%;
    color: var(--color-text);
    font-family: "Inter", sans-serif;
    margin: 0;
}


.page_homeprovincies h1,
.page_home h1 {
    font-size: var(--font-h0);
    font-weight: 800;
    color: var(--pine-dark);
    word-break: break-all;

    +p {
        font-size: var(--font-h3);
    }
}

h2,
.h2-styling {
    font-size: var(--font-h2);
    font-weight: 700;
}

h3,
.h3-style {
    font-size: var(--font-h3);
}

h4,
.h4-style {
    font-size: var(--font-h4);
}


h1,
h2,
h3,
.h3-style,
h4 {
    /* font-family: "Rethink Sans", sans-serif; */
    font-family: "Inter", sans-serif;
    line-height: 140%;
    font-weight: 700;
    color: var(--color-text);
}

h1,
h2,
h3,
p {
    margin-top: 0;
    margin-bottom: var(--gap-txt-xxs);
}


p+h2,
p+h3 {
    margin-top: var(--gap-obj-sm);
}

label span,
label {
    font-size: 16px;
}


a {
    text-decoration: underline;
    color: var(--pine-dark);
}

p.sub-h {
    color: var(--color-text-secondary);
    font-size: var(--font-subtitle);
    font-weight: 500;
    font-family: "Inter", sans-serif;
    /* font-family: "Rethink Sans", sans-serif; */
}

#content h3 {
    font-size: var(--font-h4);
}

#content h2 {
    font-size: var(--font-h3);
}


/* einde typografie */

/* componenten */


.a-skiplink {
    background: var(--mint-light);
    border-radius: 8px;
    border: 2px solid #999;
    display: block;
    left: -1000em;
    padding: .5em;
    position: absolute;
    z-index: 10;
    transition: none;

    &:focus-visible {
        left: 1em;
        top: 126px;
        z-index: 1000;
    }
}

*:focus-visible {
    outline: currentColor solid 1px;
    outline-offset: -3px;
}

.b_btn {
    background: var(--pine-dark);
    color: #fff;
    display: block;
    padding: var(--pad-obj-xxs) var(--pad-obj-sm);
    border-radius: 50px;
    text-decoration: none;
    font-size: var(--font-button);
    border: none;

    &::after {
        content: "\f054";
        font-family: 'Font Awesome 6 Pro';
        margin-left: var(--pad-obj-xxs);
        font-size: 12px;
    }

    &:hover {
        background: var(--pine);
    }
}


.b_inputfield {
    width: 100%;
    padding: var(--pad-obj-xxs);
    margin-top: 4px;
    font-size: var(--font-body);
    border: var(--color-text) 1px solid;
}

.contactinput {
    margin-bottom: var(--gap-obj-sm);
}

input.b_btn+input.b_btn {
    margin-top: var(--gap-obj-xs);
}




.breadcrum_container {
    display: none;
}

#qs-container {
    max-width: 100%;
    background: var(--ice-blue);
}


/* layout */
.section {
    &.pinc {
        padding: 0;
    }

    &.themes {
        background: #fff;
    }
}



#qs-container,
#container,
#innercontainer {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
}

.content {
    max-width: 1560px;
    margin: 0 auto;
    padding: var(--pad-obj-lg);
}

#content {
    max-width: 1560px;
    width: 100%;
    margin: 0 auto;
    padding: var(--pad-obj-lg);
}


.heading-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: var(--pad-obj-sm);

    h2 {
        margin-bottom: 20px;
    }
}


.newslist,
.newspreviews,
.reports .tileset .tileset--content,
.hero .tileset--content--items {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--gap-obj-md);

    a {
        text-decoration: none;
        display: block;
        color: var(--color-text);

        &:hover h3 {
            text-decoration: underline;
        }
    }


}

/* hero */

.section.pinc .hero .tileset--content--items a {
    color: #fff;
}


.hero {
    box-shadow: var(--shadow-elevation-3);


    .tileset {
        width: 100%;
        margin-top: var(--pad-obj-lg);
    }


    h2 {
        display: none;
    }

    .tile {
        width: 100%;
    }


    a {
        background: var(--pine-dark);
        box-shadow: var(--shadow-elevation-3);
        padding: var(--pad-obj-sm);
        border-radius: 8px;
        display: block;
        color: #fff;
        text-decoration: none;
        display: flex;
        gap: var(--gap-txt-sm);
        height: 100%;


        img {
            width: 23px;
            height: 23px;
        }

        .text-wrapper {
            width: 100%;

        }

        .tile-section-name {
            font-size: var(--font-h2);
            font-family: "Rethink Sans", sans-serif;
            line-height: 140%;
            font-weight: 700;
        }

        .tile-section-name {
            margin-bottom: var(--gap-txt-xxs);
        }

        &:hover {
            background: var(--pine);
        }

    }
}


/* carousel */

.carousel-wrapper {
    display: flex;
    gap: var(--gap-obj-md);
    align-items: center;
    width: 100%;
}

button.carousel-autoplay {
    position: absolute;
    top: 20px;
    left: 20px;

    &[aria-pressed="true"] {
        .pause {
            display: none;
        }
    }

    &[aria-pressed="false"] {
        .play {
            display: none;
        }
    }
}

.text-wrapper {
    max-width: 830px;
}

.carousel-tablist-lite {
    display: none;
    background: #eee;
    width: 50%;
    height: 100%;
    position: relative;
    border-radius: 16px;
    box-shadow: var(--shadow-elevation-3);
    overflow: hidden;


    .controls {
        position: absolute;
        text-align: center;
        bottom: 1em;
        z-index: 10;
        width: 100%;
        padding: 0.25em 1.25em 0;
        box-sizing: border-box;
    }

    [role='tablist'] {
        display: inline-flex;
        gap: 6px;
        padding: 6px 10px;
        border-radius: 999px;
    }

    [role='tab'] {
        width: 10px;
        height: 10px;
        padding: 0;
        border-radius: 50%;
        border: 0.5px solid #919191;
        background: #e9e9e9;
        cursor: pointer;




        &[aria-selected='true'] {
            background: #979797;
            border: 0.5px solid #fff;
        }

        &:focus-visible {
            outline: 1px solid #ffffff;
            outline-offset: 1px;
        }
    }

    .carousel-item {
        display: none;
        width: 100%;
        max-height: 360px;


        &.active {
            display: block;
        }
    }

    .carousel-image {
        height: 400px;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .image-1 {
        background-image: url('images/02-Zeebrugge.jpg');
    }

    .image-2 {
        background-image: url('images/03-Vlaams-Brabant.jpg');
    }

    .image-3 {
        background-image: url('images/04-Limburg.jpg');
    }

    .image-4 {
        background-image: url('images/05-Vlaams-Brabant.jpg');
    }

    .image-5 {
        background-image: url('images/06-Rondsonkwandeling.jpg');
    }

    .image-6 {
        background-image: url('images/07-Prov-Klimaat-Energie.jpg');
    }

    .image-7 {
        background-image: url('images/08-Koeien.jpg');
    }

    .image-8 {
        background-image: url('images/09-boshyacinten.jpg');
    }

    .image-9 {
        background-image: url('images/10-Monumentenwachters.jpg');
    }

    .image-10 {
        background-image: url('images/11-fietssnelweg.jpg');
    }

    span.copyright {
        background: #ebebeb;
        padding: 0px 2px;
        position: absolute;
        bottom: 20px;
        left: 20px;
        font-size: 12px;
        font-weight: 600;
    }

}



/* themes */

.search-wrapper {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: var(--gap-obj-lg);
    align-items: flex-start;
    flex-direction: column;
    gap: var(--gap-obj-md);

    .b_search-container {
        display: block;
        position: relative;
        max-width: 623px;
    }

    .ssr-ac-container {
        position: relative;
        width: 100%;
        transform: none;
    }

    button.btn-color {
        background: var(--pine-dark);
        border-radius: 50%;
        height: 40px;
        width: 40px;
        top: 50%;
        transform: translateY(-50%);
        right: 4px;

        span {
            display: none;
        }

        &::after {
            font-family: 'Font Awesome 6 Pro';
            content: "\f002";
            font-size: 18px;
        }

        &:hover {
            background: var(--pine);
        }
    }

    .ac-s-container label {
        display: block;
        font-size: 14px;
        margin: 12px 21px;

        &.active {
            margin-top: 0px;
        }
    }

    .focus {
        outline: 1px solid var(--pine-dark) !important;
        border-radius: 25px;

    }

    .ac-s-container>.ac-s-input-container {
        outline: 1px solid #949494;
    }

    .ac-s-container>.ac-s-input-container>input {
        background: #fff;
        padding: 0 21px;

        &+i {
            display: none;
        }
    }

    .ac-s-input-container.focus+.ac-s-result ul,
    .ac-s-input-container+.ac-s-result ul {
        border: none;
        margin-top: 14px !important;
        border-radius: 12px;
        background: #fff;
        box-shadow: var(--shadow-elevation-2);
        padding: 1px 10px !important;

        li {
            background: #fff;

            a span.direct-link {
                color: var(--pine-dark);
            }

            &:hover {
                background: var(--mint-light);
            }
        }
    }

    .fa-magnifying-glass:before {
        content: none;
    }
}

.themes .tileset {
    background: var(--mint-light);
    border-radius: 8px;
    box-shadow: var(--shadow-elevation-3);

    button {
        border: none;
        text-align: left;
        font-size: var(--font-body);
        width: 100%;
        padding: 0;
        position: relative;
        cursor: pointer;
        background: none;
        padding: var(--pad-obj-sm);
        color: var(--color-text);


        .h3-style {
            margin-bottom: var(--gap-txt-xxs);
        }


        span {
            display: block;
            min-height: 69px;
            padding-right: 30px;
        }

        &::after {
            position: absolute;
            content: "\f078";
            font-family: 'Font Awesome 6 Pro';
            right: var(--pad-obj-sm);
            top: var(--pad-obj-sm);
            font-size: 16px;
        }

    }

    .b_cat-intro {
        display: none;
        color: var(--color-text-secondary);
        font-size: var(--font-subtitle);
        font-weight: 500;
    }


    .tileset--content--items {
        padding: var(--pad-obj-sm);
        padding-top: 0;
    }

    &.is-open {

        button::after {
            content: "\f077";
        }

        .tileset--content {
            display: flex;
            flex-wrap: wrap;
            gap: 7px;
        }
    }

    .tile {

        a {
            display: flex;
            background: var(--pine-dark);
            text-decoration: none;
            font-size: 16px;
            color: #fff;
            padding: 12px;
            border-radius: 8px;
            width: max-content;
            gap: 4px;

            &:hover {
                background: var(--pine);
            }
        }

        .tile-section-icon {
            width: 25px;
            height: 25px;
            display: flex;
            align-items: center;
            justify-content: center;

            img {
                filter: brightness(0%) invert(100%) sepia(0%) saturate(0%) hue-rotate(232deg) brightness(103%) contrast(103%);
                max-width: 100%;
                max-height: 100%;
            }
        }


    }
}

.ac-grid,
.ac-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--gap-obj-md);
}

.tileset .tileset--content {
    padding: 0;
    margin: 0;
    list-style: none;
}

/* reports */

.reports {

    .tileset .tileset--content {

        .tile:nth-child(n+4) {
            display: none;
        }
    }

    h2.tileset--content.tileset--content--name {
        display: none;
    }

}

/* news */

.news {
    background: #fff;

    li.morelink {
        display: none;
    }

    .meta {
        display: none;
    }
}


.overviewheading {
    display: none;
}


#newslisttitle {
    display: none;
}

.nieuwsitem {
    .datumseparator {
        display: none;
    }


}

.nieuwsdatum,
#container_meta {
    display: block;
    color: var(--color-text-secondary);
    font-size: 12px;
    font-weight: 600;

    .postername {
        display: none;
    }
}


/* contact */

.subscribe {
    display: none;
}

#ctl00_QsPH_cpageTitle {
    display: none;
}


@media screen and (min-width: 500px) {

    .newslist,
    .newspreviews,
    .reports .tileset .tileset--content {
        grid-template-columns: 1fr 1fr;
    }

    .heading-wrapper {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-bottom: var(--pad-obj-sm);

        h2 {
            margin-bottom: 0;
        }
    }
}

@media screen and (min-width: 700px) {
    .hero {
        a {
            flex-direction: column;

            img {
                width: 32px;
                height: 32px;
            }
        }
    }

    .newslist,
    .newspreviews,
    .reports .tileset .tileset--content,
    .hero .tileset--content--items {
        grid-template-columns: 1fr 1fr 1fr;
    }

}

@media screen and (min-width: 1000px) {
    .ac-grid {
        display: flex;
        flex-direction: row;

        .ac-wrapper {
            flex: 1;
        }
    }

    .search-wrapper {
        flex-direction: row;
        align-items: center;
    }

    .themes .tileset {

        button {
            padding-bottom: 48px;
        }

        &.is-open button {
            padding-bottom: var(--pad-obj-sm);
        }
    }


}

@media screen and (min-width: 1440px) {
    .hero {
        background: #fff;
        border-radius: 35px;
        padding: var(--pad-obj-lg);
        display: flex;
        flex-wrap: wrap;

        .text-wrapper {
            width: 50%;
        }
    }

    #content {
        padding: var(--pad-obj-lg) 0;
    }

    #custompagecontent,
    #nieuws,
    .contactform,
    #container_login_home {
        background: #fff;
        box-shadow: var(--shadow-elevation-3);
        border-radius: 35px;
        padding: var(--pad-obj-lg);
    }


    .section.pinc {
        padding: var(--pad-obj-lg) 0;
    }

    .carousel-tablist-lite {
        display: block;
    }

}