@import url(menu.css?v1);

*,
:before,
:after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    line-height: 26px;
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
}

body {
    margin: 0;
    font-size: 16px;
    line-height: 26px;
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
}

.breadcrum_container,
.meta,
.nieuwsdatum,
.datumseparator,
.subscribe {
    display: none;
}

.page_home,
.page_homeveiligheidsmonitor,
.page_gebiedsprofiel {
    #qs-container {
        max-width: 100%;
        padding: 0;
    }
}

#qs-container {
    max-width: 1200px;
    padding: clamp(32px, 8vw, 96px) clamp(16px, 5vw, 24px)
}

#aspnetForm {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
}

.grid {
    max-width: 1480px;
    padding: clamp(24px, 8vw, 48px) clamp(16px, 5vw, 24px);
    margin: 0 auto;
}

h1,
.h1,
h2,
h2 a,
.h2,
h3,
h3 a,
.h3,
h4,
h4 a,
.h4 {
    position: relative;
    margin-top: 0;
    color: var(--fontcolor);
    line-height: 1.2;
    font-family: "Funnel Sans", sans-serif;
    font-weight: 700;
    z-index: 1;

    &:after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        background: var(--tertiary);
        width: 106px;
        height: clamp(10px, 1.5vw, 18px);
        z-index: -1;
    }
}

h1,
.h1 {
    margin-bottom: clamp(1rem, 4vw, 2rem);
    font-size: clamp(1.7rem, 4vw, 2.75rem);
}

h2,
h2 a,
.h2 {
    margin-bottom: clamp(14px, 2.5vw, 28px);
    font-size: clamp(25px, 3.5vw, 36px);

    &:after {
        height: clamp(8px, 1.4vw, 16px);
    }
}

h3,
h3 a,
.h3 {
    margin-bottom: clamp(8px, 2vw, 16px);
    font-size: clamp(22px, 3vw, 28px);

    &:after {
        height: clamp(6px, 1.2vw, 14px);;
    }
}

h2 a,
h3 a,
h4 a {
    text-decoration: none;
}

h4,
h4 a,
.h4 {
    margin-bottom: clamp(8px, 1.8vw, 1rem);
    font-size: clamp(18px, 2.6vw, 20px);

    &:after {
        display: none;
    }
}

p,
a,
button,
input,
select,
textarea {
    font-size: clamp(1rem, 3vw, 1.0625rem);
    line-height: 26px;
    font-family: "Open Sans", calibri, arial, sans-serif;
    font-weight: 400;
}


.select-wrapper {
    position: relative;
    overflow: hidden;

    select {
        height: 100%;
        padding-right: 3rem;
        -webkit-appearance: none;
        -moz-appearance: none;
        text-indent: 1px;
        text-overflow: '';
    }

    &:after {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: 1rem;
        content: "\f078";
        font-family: "Font Awesome 6 Pro";
        color: var(--primary);
        font-weight: 600;
        pointer-events: none;
    }
}

#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);

            .autoComplete_highlighted {
                color: rgb(231 201 222);
            }
        }

        a {
            color: var(--fontcolor);
            text-decoration: none;
            width: 100%;
            padding: 10px;
            display: inline-block;

            &:hover {
                color: #fff;
            }
        }
    }

    .autoComplete_highlighted {
        opacity: 1;
        color: var(--fontcolor);
        font-weight: bold;
    }
}

p {
    max-width: 720px;
    margin: 0 0 1rem 0;
}

a {
    color: var(--primary);

    &:hover {
        text-decoration: none;
    }
}

.b_inputfield {
    max-width: 400px;
    width: 100%;
    padding: 0.6rem 1rem;
    border: 1px solid var(--primary);
    border-radius: 4px;
    color: var(--fontcolor);
}

label {
    font-weight: 600;
}

textarea {
    resize: vertical;
}

/* skiplinks style */
.a-skiplink {
    background-color: #fff;
    border: 2px solid #999;
    color: var(--primary);
    display: block;
    left: -1000em;
    padding: .5em;
    position: absolute;
    z-index: 10;
    transition: none;
}

.a-skiplink:focus {
    left: 1em;
    top: 126px;
    z-index: 1000;
}

.banner {
    padding: clamp(3rem, 6vw, 6rem) 0;
    background: url(images/banner.jpg) no-repeat center left;
    background-size: cover;

    .banner-wrapper {
        max-width: 1576px;
        width: 100%;
        padding: 0 clamp(16px, 5vw, 24px);
        margin: 0 auto;

        .banner-block {
            max-width: 630px;
            padding: clamp(16px, 5vw, 40px);
            border-radius: 12px;
            background: #FFF;
        }
    }
}

.contactform {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;

    .contactinput {
        margin-bottom: 1rem;

        .error {
            padding-left: 1rem;
        }
    }
}

.data-overview {
    background: linear-gradient(to bottom, white 0%, white 67%, var(--light-background) 67%, var(--light-background) 100%);
}

.input-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 1.5rem;
    width: 100%;
    margin-top: 2rem;
    margin-bottom: 1.5rem;

    select,
    .geoitem-search {
        flex: 1;
    }
}

.geoitem-search {
    position: relative;

    input {
        height: 100%;
    }
}

.number-tiles {
    .tileset--content--name {
        display: none;
    }

    .tileset--content--items {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        gap: 1.5rem;

        span.tile-wrapper {
            padding: clamp(1rem, 4vw, 2rem);
            border-radius: 8px;
            background: var(--light-background);
            text-decoration: none;


            .tile-number-container {
                display: flex;
                gap: .25rem;
                align-items: baseline;
                margin-bottom: .25rem;
                color: var(--primary);
                font-weight: bold;
                font-family: "Funnel Sans", sans-serif;
                line-height: 1;

                .tile-number {
                    font-size: clamp(32px, 7vw, 80px);
                }

                .tile-value {
                    font-size: clamp(24px, 5vw, 40px);
                }
            }

            p {
                margin: 0;
                color: var(--fontcolor);
            }
        }
    }
}

.option-tiles {
    margin-top: 2.5rem;

    .tileset--content--name {
        display: none;
    }

    .tileset--content--items {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 1.5rem;
        margin-top: 2rem;

        .tile-container {
            display: flex;
            flex-direction: column;
            border-radius: 16px;
            background: #FFF;
            overflow: hidden;

            .tile-image {
                display: flex;
                height: 200px;

                img {
                    object-fit: cover;
                    width: 100%;
                }
            }

            .tile-content {
                display: flex;
                flex-direction: column;
                justify-content: space-between;
                flex: 1;
                padding: clamp(1rem, 4vw, 2rem);

                p {
                    margin-bottom: 2rem;
                }

                a {
                    width: fit-content;
                    margin-top: auto;
                    text-decoration: none;
                    border-radius: 100px;

                    .b_btn {
                        &:after {
                            margin-left: .5rem;
                            content: "\f061";
                            font-family: "Font Awesome 6 Pro";
                            font-size: 16px;
                            font-weight: 400;
                            transition: .25s ease-in-out all;
                        }
                    }

                    &:hover {
                        .b_btn {
                            &:after {
                                margin-left: 1rem;
                            }
                        }
                    }

                    &:focus,
                    &:focus-visible {
                        outline-offset: 3px;
                    }
                }
            }
        }
    }
}

.table {
    margin: 0;

    .blueTable {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 3rem;


        td,
        th {
            padding: 10px 10px 10px 0px;
            border-bottom: 1px solid #E4E4EC;
        }

        th {
            font-size: 15px;
            font-weight: bold;
            text-align: left;
        }

        tfoot {

            td {
                font-size: 14px;
            }
        }

        .th-lgnd {
            display: flex;
            align-items: center;
            gap: 1rem;

            &:before {
                content: "";
                display: inline-block;
                width: 14px;
                height: 14px;
                display: inline-block;
                border-radius: 50%;
            }
        }
    }
}

#lgd-red:before {
    background: #D7191C;
}

#lgd-orange:before {
    background: #FDAE61;
}

#lgd-yellow:before {
    background: #FEE08B;
}

#lgd-green:before {
    background: #A6D96A;
}

#lgd-darkgreen:before {
    background: #1A9641;
}

@media screen and (max-width: 1200px) {
    .data-overview {
        background: linear-gradient(to bottom, white 0%, white 47%, var(--light-background) 47%, var(--light-background) 100%);
    }

    .number-tiles {
        .tileset--content--items {
            grid-template-columns: 1fr 1fr;

            a {
                display: flex;
                align-items: center;
                gap: 1rem;
                padding: 1rem;

                .tile-number-container {
                    flex: 30%;
                    margin: 0;

                    .tile-number {
                        font-size: 64px;
                    }

                    .tile-value {
                        font-size: 28px;
                    }
                }

                .tile-title {
                    flex: 70%;
                }
            }
        }
    }

    .option-tiles {
        .tileset--content--items {
            grid-template-columns: 1fr 1fr;
        }
    }

    .input-container {
        grid-template-columns: 1fr 1fr;
    }

    .b_inputfield {
        max-width: 100%;
    }
}

@media screen and (max-width: 860px) {
    .data-overview {
        background: linear-gradient(to bottom, white 0%, white 47%, var(--light-background) 47%, var(--light-background) 100%);
    }

    .number-tiles {
        .tileset--content--items {
            grid-template-columns: 1fr;
            gap: 1rem;

            a {

                .tile-number-container {
                    flex: 1;
                }

                .tile-title {
                    flex: 3;
                }
            }
        }
    }

    .option-tiles {
        .tileset--content--items {
            grid-template-columns: 1fr;
        }
    }

    .input-container {
        gap: 1rem;
    }

    .b_inputfield {
        padding: 1rem;
    }
}

@media screen and (max-width: 700px) {
    .input-container {
        grid-template-columns: 1fr;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
}