/*Custom CSS*/
:root {
    /* --main: #275582; */
    --main-font-color: #ffffff;
    --blue: #CCE8EE;
    --black: #000000;
    --darkGrey: #2E2E33;
    --darkBlue: #003648;
}

.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(--darkBlue);
    background: #FFF;
    color: var(--darkBlue);
}

.selection-container {
    border-top: 10px solid var(--darkBlue);
}

.radio-switch__input:checked~.radio-switch__label {
    background-color: var(--black);
}

.radio-switch__label {
	color: var(--darkBlue);
}

p,
li {
    color: var(--darkGrey);
}

.info-tooltip-content p {
    color: var(--white);
    font-size: 14px;
    line-height: 1.4;
}

/*Start to top btn*/
#scrollToTop {
    background: var(--darkBlue);
}

.back-to-top i {
    color: #fff;
}

.radio-switch__input:checked~.radio-switch__label {
	background-color: var(--darkBlue);
	color: hsl(0, 0%, 100%);
}

#download-button:before {
    color: var(--darkBlue);
}

.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 #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;
        }
    }

    .legend-text-wrapper {
        display: flex;
        flex-direction: column;

        p:last-child {
            padding-bottom: unset;
            margin-top: auto;
        }
        .b_btn {
            margin-top: 20px;
        }
    }

    ul {
        padding-left: 30px;
    }
}

.text-block h1 {
    margin-bottom: 12px;
    margin-top: clamp(2.5rem, -0.3125rem + 7.5vw, 4.375rem);
    font-size: clamp(33px, 5.2vw, 47px);
    color: var(--darkBlue);
}

h1 {
    p, span, .text {
        font-size: 33px; 
    }
}

.text-block-wrapper .b_cat-intro {
    display: none;
}

.panel-section h2 {
    font-size: 24px;
    font-weight: 600;
}

#footer {
    margin-top: auto;
}

.select-nav__label::after {
    color: var(--darkBlue);
}

.show-chart-btn {
    max-width: 440px;
    background: var(--darkBlue);
    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;
            }
        }
    }
}

.tableview .info-section {
    display: none!important;
}

.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 {
    h1 {
        margin-bottom: 8px;
    }

    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;
}

.flow-header {
    display: flex;
    gap: 8px;
    align-items: center;
}

.dialog-column {
    &.ontwikkeling {
        max-width: unset;
    }
}

.list-container {
    display: flex;
    gap: 10px;
    width: 100%;

    ul {
        width: 50%;
        list-style-type: none;
    }
}

.selection-container li {
    .item-name {
        border-top: unset;
    }    
}

.chart-container .info-section {
    .f-items {
        flex-wrap: unset;
        flex-direction: column;
    }
}

a#tb-btn.b_btn.tabellenboek {
    background-color: var(--darkBlue);
    margin-top: unset;
    margin-bottom: 20px;

    &::before {
        content: "\f00a";
        font-family: 'Font Awesome 6 Pro';
        font-weight: 400;
        margin-right: 10px;
    }
}

@media screen and (max-width: 1200px) {
    
}


@media screen and (max-width: 750px) {
    .chart-presentation {
        padding: unset;
    }


    .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;
        }
    }

    .f-items {
        overflow: scroll;
    }

    .chart-wrapper {
        order: 1;
    }
    
    .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;
    }
}
