/*Custom CSS*/
.b_header-wrapper{
    max-width: 1360px !important;
}

:root {
    /* --main: #275582; */
    --main-font-color: #ffffff;
    --green: #3a5b53;
    --black: #000000;
    --darkGrey: #2E2E33;
}

.b_btn, a.b_btn {
    display: flex;
    align-items: center;
    width: fit-content;
    padding: 10px 24px;
    border: 0;
    background-color: var(--black);
    color: #FFF;
    font-size: 16px;
    line-height: 1.625;
    cursor: pointer;
    -webkit-appearance: button;
    font-weight: 400;
    text-decoration: none;
    border-radius: 50px;
}

a.b_btn-secondary, a.b_btn-secondary {
    border: 2px solid var(--green);
    background: #FFF;
    color: var(--green);
}

.selection-container {
    border-top: 10px solid var(--green);
}

.radio-switch__input:checked~.radio-switch__label {
    background-color: var(--black);
}

.radio-switch__label {
	color: var(--green);
}

p,
li {
    color: var(--darkGrey);
}

.info-tooltip-content p {
    color: var(--white);
}

.text-block-wrapper{
    font-size: 18px;
}

#introhome a{
    text-decoration: underline 1px #DB1457;
    text-underline-offset: 8px;
    color: #DB1457;
    font-size: 18px;
    font-weight: 500;
}

#introhome a:hover{
    color: #000;
    text-decoration: underline 1px #000;
}

#introhome h2{
    /* font-size: 48px; */
    font-size: clamp(28px, calc(1.5rem + 1vw), 48px);
    margin-bottom: 35px;
}

#introhome h3{
    /* font-size: 31px; */
    font-size: clamp(21px, calc(1.125rem + 0.5vw), 31px);
    margin-bottom: 16px;
}


/* Start aanpassingen nieuwe tegels */


.tile.flow-dashboard  { 
    display: flex;
    align-items: start;
    gap: 11px;
    font-size: 18px;
    font-weight: 400;
    flex-direction: column;
}

.tile.flow-dashboard h3{
    position: relative;
    display: flex;
    gap: 8px;
    flex-direction: row;
    line-height: 35px !important;
    font-size: 21px;
    color: #1E1E1E !important;
    font-weight: 500;
    margin: 0;
}

.tile.flow-dashboard h3::before{
    font-family: "Font Awesome 6 Pro";
    font-size: 25px;
    font-weight: 400;
    content: "\f2bd";
    position: relative;
    color: #1e1e1e;
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tile.flow-dashboard .Kerncijfers h3::before{
    content: "\f643";
}

.tile.flow-dashboard .Leefbaarheid h3::before{
    content: "\e2e7";
}

.tile.flow-dashboard .Overlast h3::before{
    content: "\f0a1";
}

.tile.flow-dashboard .Veiligheidsgevoel h3::before{
    content: "\f3ed";
}

.tile.flow-dashboard .Slachtofferschap h3::before{
    content: "\f4be";
}

.tile.flow-dashboard .Politie h3::before{
    content: "\e334";
}

.tile.flow-dashboard .Preventie h3::before{
    content: "\f256";
}

.tile.flow-dashboard .Databank h3::before{
    content: "\f200";
}


.tile.flow-dashboard .low-c{
    text-transform: lowercase;
}


.flow-dashboard span.a-fa{
    position: relative;
    padding-left: 18px;
}

.flow-dashboard .a-fa::before{
    font-family: "Font Awesome 6 Pro";
    font-size: 11px;
    font-weight: 700;
    content: "\f324";
    position: absolute;
    left: 0;
    top: 5px;
}

.flow-dashboard a:hover span{
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

.flow-dashboard .tile-section-text {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.tileset{
    display: none;
}

.pie-visible .tileset,
.pie-visible .tileset h2{
    display: block;
    margin: 0;
    display: none !important;
}

.pie-visible.show-table .tileset{
    display: none;
}

.pie-visible #ctl00_QsPH_themes_tileset {
    max-width: 1400px;
    margin: 0 auto;
    padding: 56px 20px;
}

.pie-visible .tileset h2{
    font-size: 25px;
    font-weight: 500;

}

.pie-visible .tileset--content--items{
    padding-top: 40px;
}


h1.geo-text span, 
h2.area-title {
    color: #000 !important;
}

/* End aanpassingen nieuwe tegels */

/*Start to top btn*/
#scrollToTop {
    background: #32504A;
    outline-style: solid;
    outline-width: 2px;
    outline-offset: 2px;
    outline-color: #fff;
}

.back-to-top i {
    color: #fff;
}

.radio-switch__input:checked~.radio-switch__label {
	background-color: var(--green);
	color: hsl(0, 0%, 100%);
}

#download-button:before {
    color: var(--green);
}

.item-name {
    color: var(--darkGrey);
}

button.confirm-btn {
    color: var(--black);
}

#result_List .autoComplete_result:hover {
    background-color: var(--black);
}

.container-radio input:checked~.checkmark {
    background-color: var(--black);
}

#innercontainer::before {
    background: url(images/background-new.jpg) no-repeat 50% 55%;
    background-size: cover;
    content: "";
    top: 90px;
    position: absolute;
    height: 568px;
    width: 100%;
    z-index: -1;
}

#innercontainer {
    display: unset;
    flex-direction: unset;
    min-height: unset;
    position: unset;
}


.page_veiligheidsprofiel  #innercontainer::before {
    background: url(images/Relaxen-nabij-Strand-van-Luna.jpg) no-repeat 50% 75%;
    background-size: cover;
    content: "";
    top: 90px;
    position: absolute;
    height: 568px;
    width: 100%;
    z-index: -1;
}

#innercontainer #qs-container {
    padding-top: 13rem;
}

.pie-visible #innercontainer #qs-container {
    padding-top: 0;
}

.chart-indicators-container {
    display: flex;
    flex-direction: column;
}

.chart-indicators-container .legend-text {
    flex: 1;

    .legend-text-wrapper div {
        p {
            margin-bottom: unset;
        }

        ul {
            margin-bottom: 20px;
        }
    }

    ul {
        padding-left: 30px;
    }
}

/* body#ballroom #container #innercontainer header {
    background: #fff;
} */

#footer {
    margin-top: auto;
}

.select-nav__label::after {
    color: var(--green);
}

.show-chart-btn {
    background: var(--green);
    color: var(--main-font-color);
}

.radio-label .checkmark {
    border-color: var(--black);
}

.radio-label:hover .checkmark:before, .radio-label input:checked + .checkmark:before {
    background: var(--black);
}

.map-container {
    h2 {
        display: flex;
        align-items: center;
        gap: 6px;

        .item-name {
            border-top: unset;
            max-width: 150px;
            /* font-size: 2rem; */
            padding: unset;
        }
    }
}

.screenshot {
    .page_gebiedsprofiel-print {
        .info-section {
            display: flex;
            flex-wrap: wrap;
            margin-top: 0;

            .f-items, .info-section__heading {
                width: 100%;

                .button-wrapper {
                    display: none;
                }
            }

            .info-section__heading {
                padding: 0;
                margin: 0;
            }
        }
    }
}

.info-section__heading {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 30px;
    padding-bottom: unset;
    /* gap: 20px; */

    .button-wrapper {
        /* padding: 0 30px 30px 30px; */
        width: max-content;
        a {
            display: flex;
            align-items: center;
            text-decoration: none;
        }
    }
}

.chart-tooltip {
    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 15px;
    }

    span {
        font-size: 13px;
    }
}

#bmt_title h2 {
    font-size: 21px;
}

.breadcrum_container {
    display: none;
}

.info-section {
    width: 100%;
}

.confirm-btn.show-chart-btn.desktop-chart-btn {
    color: var(--main-font-color);
}

.breadcrum {
    margin-top: unset;
    display: none;
}

.wp-content {
    margin-top: unset;
}

.pie-visible {
    .breadcrum {
        display: flex;
    }

    .wp-content {
        padding-top: 30px;
    }
}

#introhome {
    p {
        margin-bottom: 10px;
    }
}

.f-items {
    th {
        white-space: nowrap;
    }
}

table {
    th,
    td {
        color: var(--darkGrey);
    }
}

.area-level-item:last-child .item-name {
    border-bottom: unset;
    border-top: unset;
}

/* tileset styling gebiedsprofiel */
.wrapper_ballroom_ASP__gebiedsprofiel_aspx{
    .screenshot .tileset .tileset--content--items,
    .pie-visible.show-table .tileset--content--items,
    .tileset--content--items {
        display: none;
    }

}


/* .screenshot .tileset,
.pie-visible.show-table .tileset,
.show-table .tileset {
    display: none;
} */



.flow-header {
    display: flex;
    gap: 8px;
    align-items: center;
}

.pie-visible .tileset--content--items {
    max-width: 1400px;
    margin: 0 auto;
    /* padding: 0 20px; */
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto;
    grid-gap: 40px;
    align-items: start;
    
    
    
    

    .tile {
        
        
        

        /* &:hover {
            box-shadow: 2px 2px 10px 0 rgb(145 145 145 / 50%);
            transition: all 0.3s ease-in-out;
        } */

        * {
            color: #1E1E1E;
            /* font-weight: var(--bold-font-weight); */
        }

        a {
            text-decoration: none;
            display: flex;
            gap: 16px;
            flex-direction: column;
            align-items: flex-start;
            width: 100%;
            position: relative;
            color: #00629B;

            span{
                color: #00629B;
            }
        }

        img {
            height: 32px;
            width: 32px;
            object-fit: contain;
            max-width: unset;
            max-height: unset;
        }

        &.Kerncijfers {
            border-top: 5px solid var(--red);
        }

        &.Leefbaarheid,
        &.Overlast,
        &.Veiligheidsgevoel,
        &.Slachtofferschap,
        &.Politie,
        &.Preventie {
            border-top: 5px solid var(--darkBlue);
        }
    }
}

@media screen and (max-width: 1200px) {
    .pie-visible .tileset--content--items {
        grid-template-columns: 1fr 1fr;
    }
}


@media screen and (max-width: 750px) {
    .chart-presentation {
        padding: unset;
    }

    .pie-visible .tileset--content--items {
        grid-template-columns: 1fr;
    }

    .label.pie text {
        font-size: 0.5rem;
    }

    .bmt_legend * {
        font-size: 0.8rem;
    }

    #bmt_chart {
        max-height: 400px;
    }

    .chart-legend {
        th.text-right {
            white-space: nowrap;
        }
    }
    
    .button-container {
        left: 40%;
    }

    .selection-container .select-btn[aria-expanded="true"] {
        border-radius: 0 !important;
    }
}

@media screen and (min-width: 769px) and (max-width: 1000px) {
    .chart-indicators-container {
        order: 2 !important;
    }

    .chart-controls-container {
        order: 1 !important;
    }

    .chart-wrapper {
        order: 3 !important;
    }
    
    .theme-selection-items-container {
        right: unset;
    }
}

@media screen and (min-width: 485px) and (max-width: 1000px) {
    .theme-selection-items-container {
        right: unset;
        margin-top: unset;
    }

    .theme-selection-menu {
        width: unset;

        ul {
            width: 100%;
        }
    }
}
