@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600&display=swap');

/*Custom CSS*/
:root {
    --main-font-color: #ffffff;
    --blue: #1a206d;
    --black: #000000;
    --darkGrey: #2E2E33;
}

#innercontainer {
    width: 100%;
}

#logo {
    max-width: 200px;
}

body {
    margin: 0;
}

* {
    box-sizing: border-box;
}

.b_btn, a.b_btn {
    white-space: unset;
    width: 100%;
}

.legend-text-wrapper {
    a.b_btn {
        margin-top: 16px;
    }
}

html#ctl00_HtmlTag {
    font-size: 16px;
}

a.b_btn-secondary, a.b_btn-secondary {
    border: 2px solid var(--blue);
    background: #FFF;
    color: var(--blue);
}

.selection-container {
    border-top: 10px solid var(--blue);
}

.radio-switch__input:checked~.radio-switch__label {
    background-color: var(--black);
}

.radio-switch__label {
	color: var(--blue);
    font-family: "Bolder Bold", sans-serif;
}

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: 10px;
}

.chart-legend td:last-child {
    padding-left: 8px;
}

/*Start to top btn*/
#scrollToTop {
    
    background-color: var(--main-font-color);
    ::before {
        color: var(--blue);
    }
}

.back-to-top i {
    color: #fff;
}

.radio-switch__input:checked~.radio-switch__label {
	background-color: var(--blue);
	color: hsl(0, 0%, 100%);
}

#download-button:before {
    color: var(--blue);
}

.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: 0px;
    position: absolute;
    height: 568px;
    width: 100%;
    z-index: -1;
}

.pie-visible.dialog-open .wp-content::before {
    top: 165px;
}

#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;

    h2 {
        margin-top: unset;
    }

    .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(--blue);
}

.select-nav__label::after {
    color: var(--blue);
}

.show-chart-btn {
    background: var(--blue);
    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(--blue);
}

.chart-tooltip {
    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 15px;
    }

    span {
        font-size: 13px;
    }
}

#bmt_title h2 {
    font-size: 21px;
}

#bmt_title {
    margin-top: 16px;

    span,
    h2 {
        color: var(--darkGrey);
    }

}

div.map-container h2+div {
    margin-top: unset;
}

#ctl00_QsPH_themes_tiles_intro {
    display: none;
}

.chart-container .breadcrum {
    * {
        color: var(--blue);
    }
}

.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;
        align-items: center;

        .breadcrum_home {
            height: fit-content;
        }
    }

    .wp-content {
        padding-top: 30px;
    }
}

#sl-wp-content .breadcrum a {
    text-decoration: none;
}

#introhome {
    padding: 32px 0;

    h1 {
        color: var(--blue);
    }

    h2 {
        font-size: 36px;
    }

    p {
        margin-bottom: 10px;
        font-size: 18px;
    }
}

.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: 40%;
    }
    tr td:nth-of-type(6) {
        padding-right: unset;
    }
}

.chart-legend.indicator,
.chart-legend.table-column {
    width: 100%;
    position: relative;
}

#result_List .autoComplete_result:hover {
    background-color: var(--blue);
}

.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;
    }
}

#sl-wp-content .graph-link,
a#download-button {
    text-decoration: none;
}


/* om styling van het oude gebiedsprofiel te overschijven */
#container {
    .wp-content {
        max-width: unset;
        padding: unset;
    }

    .panel-section {
        background-color: transparent;
        box-shadow: none;
        position: unset;
        padding-bottom: 32px;
    }

    .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(--blue);
                }
            } 
        }
    }
}

/* menu styling */
#dashboardheader {
	font-family: 'Source Sans Pro';
    position: relative;
    width: 100%;
    z-index: 100;
    height: 80px;
    background: #fff;
    -webkit-box-shadow: 0px 2px 5px -3px rgba(0,0,0,0.5);
       -moz-box-shadow: 0px 2px 5px -3px rgba(0,0,0,0.5);
			box-shadow: 0px 2px 5px -3px rgba(0,0,0,0.5);
}


#innerheader {
	position: relative;
	max-width: 1380px;
	margin: 0 auto;
	padding-right: 10px;
	padding-left: 10px;
	
	box-sizing: border-box;
}

#innerheader {
	line-height: 60px;
}
#innerheader:after {
	content: "";
	display: block;
	clear: both;
}
#pull {
	color: #000;
    position: absolute;
    right: 20px;
    top: 25px;
    text-decoration: none;
    display: flex;
    gap: 8px;

    &[aria-expanded="true"]::after {
        content: "\f00d";
        color: var(--color-black);
    }

    &:after {
        font-family: "Font Awesome 6 Pro";
        font-size: 20px;
        font-weight: 400;
        content: "\f0c9";
        display: flex;
        width: 100%;
        height: 100%;
        align-items: center;
        color: var(--color-black);
        justify-content: center;
    }

}
	#innerheader h1, .header_title {
		float: right;
		margin: 10px 0 0;
		color: #000;	
		font-size: 1.5rem;
		font-weight: normal;
	}
	#logo {
		float: left;
		height: 50px;
		margin-top: 15px;
		vertical-align: bottom;
		transition: .3s;
	}
	#custommenu {
		display: none;
        padding: 0 0 10px 2rem;
        margin: 0;
        font-size: 15px;
        flex-direction: column;
        position: absolute;
        top: 65px;
        background-color: white;
        width: 100%;
        left: 0;

        &.open {
            display: flex;
        }
	}
	
	#custommenu>li {
		display: inline-block;
		margin: 0;

	}
	
		#custommenu a {
			position: relative;
			display: block;
			height: 47px;
			margin: 10px 1rem;
			color: #000;
			font-size: 16px;
			font-weight: 600;
			text-decoration: none;
			text-transform: uppercase;
            display: flex;
            align-items: end;
		}
		#custommenu a:before {
			content: "";
			position: absolute;
			right: 51%;
			bottom: 0;
			left: 51%;
			height: 3px;
			background: #1a206d;
			-webkit-transition-duration: .3s;
					transition-duration: .3s;
		}
		
		.gooisemeren #custommenu a:before {
            background: #887439;
        }
		#custommenu a:hover:before, #custommenu a:focus:before, #custommenu a:active:before, .active:before {
			right: 0!important;
			left: 0!important;
		}

	

.flow-header {
    display: flex;
    gap: 8px;
    align-items: center;
}

.tiles {
    display: none;
    background-color: transparent;
    padding: 0 20px;

    &.homepage-tiles {
        display: block;
        background-color: #fff;
    }
}

.pie-visible .tiles {
    display: block;
    max-width: 1360px;
    margin: 0 auto;
}

.pie-visible .tileset--content--items {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-gap: 40px;
    
    .tile {
        &.flow-dashboard {
            display: flex;
            align-items: start;
            gap: 11px;
            font-size: 18px;
            font-weight: 400;
            flex-direction: column;
        }
    }
}

.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 h3 {
    position: relative;
    margin: 0;
    display: flex;
    gap: 8px;
    flex-direction: row;
    line-height: 35px !important;
    font-size: 21px;
    color: #1E1E1E !important;
    font-weight: 500;
}

.flow-dashboard span.a-fa {
    position: relative;
    padding-left: 18px;
    display: block;

    &::before {
        font-family: "Font Awesome 6 Pro";
        font-size: 11px;
        font-weight: 700;
        content: "\f324";
        position: absolute;
        left: 0;
        top: 7px;
    }
}

.pie-visible #ctl00_QsPH_themes_tileset .tileset--content--items {
    & .tile {
        a {
            text-decoration: none;
            display: flex;
            gap: 16px;
            flex-direction: column;
            align-items: flex-start;
            width: 100%;
            position: relative;
            color: #00629B;
        }
    }
}

.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 .a-fa::before{
    font-family: "Font Awesome 6 Pro";
    font-size: 11px;
    font-weight: 700;
    content: "\f324";
    position: absolute;
    left: 0;
}

.flow-dashboard a {
    color: #00629B;
}

.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;
}



@media screen and (min-width: 768px) {
    .pie-visible .tileset--content--items {
        grid-template-columns: 1fr 1fr;
    }

    #logo {
        max-width: 360px;
    }

    #custommenu {
		display: flex;
        padding: 0 0 10px 2rem;
        margin: 0;
        font-size: 15px;
        flex-direction: row;
        position: relative;
        width: 100%;
        top: unset;
	}

    #innerheader {
        display: flex;
        align-items: center;

        h1 {
            order: 3;
            white-space: nowrap;
        }

        #pull {
            display: none;
        }
    }
}

#info-tooltip { margin-top: -80px }

@media screen and (min-width: 1200px) {
    .pie-visible .tileset--content--items {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media screen and (min-width: 1440px) {
    .tiles {
        padding: unset;
    }
}

@media screen and (max-width: 750px) {
    .info-section {
        .f-items {
            flex-direction: column;
        }
    }

    .table-column {
        overflow-y: scroll;
        width: 100%;
    }

    .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;
        }
    }
    
    .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;
    }

    #introhome {
        h2 {
            font-size: 24px;
        }
    }

    .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";
}