/*Custom CSS*/
:root {
    /* --main: #275582; */
    --main-font-color: #ffffff;
    --burgundy: #671E45;
    --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(--burgundy);
    background: #FFF;
    color: var(--burgundy);
}

.selection-container {
    border-top: 10px solid var(--burgundy);
}

.radio-switch__input:checked~.radio-switch__label {
    background-color: var(--black);
}

.radio-switch__label {
	color: var(--burgundy);
}

p,
li {
    color: var(--darkGrey);
}

ul, ol {
    line-height: 1.6;
}

.info-tooltip-content p {
    color: var(--white);
}

tr th:nth-of-type(1) {
    padding-right: 24px;
}

.chart-legend td:last-child {
    padding-left: 8px;
}

/*Start to top btn*/
#scrollToTop {
    
    background-color: var(--main-font-color);
    ::before {
        color: var(--burgundy);
    }
}

.back-to-top i {
    color: #fff;
}

.radio-switch__input:checked~.radio-switch__label {
	background-color: var(--burgundy);
	color: hsl(0, 0%, 100%);
}

#download-button:before {
    color: var(--burgundy);
}

.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.jpg) no-repeat 50% 55%;
    background-size: cover;
    content: "";
    top: 90px;
    position: absolute;
    height: 568px;
    width: 100%;
    z-index: -1;
}

.page_wijkprofiel #innercontainer::before {
    background: url(images/background.jpeg) no-repeat 50% 75%;
}

#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 {
        display: flex;
        flex-direction: column;

        ol {
            margin: unset;
        }
    }

    .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;
}

#scrollToTop {
    border: 1px solid var(--burgundy);
}

.select-nav__label::after {
    color: var(--burgundy);
}

.show-chart-btn {
    background: var(--burgundy);
    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;
            padding: unset;
        }
    }
}

.tableview .info-section {
    display: none;
}

.info-section__heading {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 30px;
    padding-bottom: unset;

    .button-wrapper {
        width: max-content;
        a {
            display: flex;
            align-items: center;
            text-decoration: none;
        }
    }
}

.chart-legend a,
.info-section a {
    color: var(--burgundy);
}

.chart-tooltip {
    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 15px;
    }

    span {
        font-size: 13px;
    }
}

#bmt_title h2 {
    font-size: 21px;
}

#bmt_title {
    span,
    h2 {
        color: var(--burgundy);
    }

}

.chart-container .breadcrum {
    * {
        color: var(--burgundy);
    }
}

.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;
}

#innercontainer .wp-content {
    margin-top: unset;
    max-width: unset;
}

.pie-visible {
    .breadcrum {
        display: flex;
    }

    .wp-content {
        padding-top: 30px;
    }
}

#introhome {
    h1 {
        color: var(--burgundy);
    }

    p {
        margin-bottom: 10px;
        font-size: 16px;
    }
}

.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;
}

.chart-legend {
    th.text-right {
        white-space: nowrap;
    }
}

.chart-indicators-wrapper {
    .chart-legend th, .chart-legend td {
        width: 12%;
        padding: 10px 25px 10px 0px;
        border-bottom: 1px solid #E4E4EC;
    }

    tr th:nth-of-type(1) {
        width: 33%;
    }
    tr td:nth-of-type(6) {
        padding-right: unset;
    }
}

.chart-legend.indicator,
.chart-legend.table-column {
    width: 100%;
    position: relative;
}

.page_wijkprofiel .chart-legend:not(.table-column) {
    tr td:nth-of-type(6) {
        width: 0px;
        padding: unset;
    }

    thead tr td {
        display: none;
    }

    thead tr th:nth-of-type(6) {
        padding-right: unset;
    }

    tr td:nth-of-type(5) {
        padding-right: unset;
    }

    tbody tr td:nth-of-type(6) {
        display: none;
    }
}


/* om styling van het oude gebiedsprofiel te overschijven */
#container {
    .wp-content {
        max-width: unset;
    }

    .panel-section {
        background-color: transparent;
        box-shadow: none;
        position: unset;
    }

    .radio-button.group {
        .container-radio {
            padding: 20px 40px;
            margin-bottom: unset;
            font-size: 16px;

            .checkmark {
                position: absolute;
                right: 45px;
                height: 20px;
                width: 20px;
                top: unset;
                left: unset;
                border-radius: 50%;

                &::after {
                    background: var(--burgundy);
                }
            } 
        }
    }
}

@media screen and (max-width: 1200px) {
    .pie-visible .tileset--content--items {
        grid-template-columns: 1fr 1fr;
    }
}


@media screen and (max-width: 750px) {
    .info-section {
        .f-items {
            flex-direction: column;
        }
    }

    .table-column {
        overflow-y: scroll;
        width: 100%;
    }

    .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) {  
    .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%;
        }
    }
}

@media screen and (max-width: 1000px) {
    .chart-container {
        flex-direction: column-reverse;
    }

    .chart-indicators-container {
        order: 3 !important;
    }

    .chart-controls-container {
        order: 4 !important;
    }

    .chart-wrapper {
        order: 3 !important;
    }
}

.graph-btn .fa-grid-2:before ,
.graph-link .fa-grid-2:before {
    content: "\f6a3";
}