/* #viz
–––––––––––––––––––––––––––––––––––––––––––––––––– */

#viz {
	background-color: #FFF;
	position: relative;
	padding: 20px;
	padding-bottom: 10px;
}

#viz h2 {
	font-size: 2.5rem;
}

#viz h3 {
	font-size: 1.9rem;
	font-weight: 500;
	line-height: 1.3;
}

@media (min-width: 550px) {
	#viz {
		padding: 40px;
		padding-bottom: 10px;
	}
}


/* Padding: main
–––––––––––––––––––––––––––––––––––––––––––––––––– */

#viz #main {
	border-top: 5px solid #B6BBBC;
	padding-top: 10px;
	margin-top: 20px;
	position: relative;
}

@media (min-width: 550px) {
	#viz #main {
	}
}


/* Search
–––––––––––––––––––––––––––––––––––––––––––––––––– */

#viz label {
	font-family: 'Heading Now Variable',sans-serif;
	font-stretch: 500%;
	font-weight: 400;
	font-size: 0.9rem;
	color: #000;
	letter-spacing: 0px;
	margin-bottom: 2px;
	display: block;
}

#viz ul.popover li .address {
	ofont-style: italic;
	font-size: 0.9rem;
	font-weight: 100;
	color: #444;
}

#viz ul.popover li:hover .address {
	color: #FFF;
}


/* Legend
–––––––––––––––––––––––––––––––––––––––––––––––––– */
#viz .legend {
	position: relative;
	/*! margin: 50px; */
}

#viz h4 {
	font-size: 1.3rem;
	font-weight: 300;
}

#viz #main ul.legend {
	flex-wrap: wrap;
}
#viz #main ul.legend li {
	font-family: 'Heading Now Variable',sans-serif;
	font-stretch: 500%;
	font-size: 0.8rem;
	font-weight: 400;
	flex-basis: 48%;
}

#viz #main ul.legend li .block {
	/*border: 1px solid #000;*/
	border-radius: 50%;
}

#viz ul.legend li .block.jaune {
	background-color: #FF9900;
}
#viz ul.legend li .block.orange {
	background-color: #F74E21;
}
#viz ul.legend li .block.rouge {
	background-color: #C10000;
}
#viz ul.legend li .block.fonce {
	background-color: #420101;
}

@media (min-width: 550px) {
	#viz ul.legend {
	}
}

/* Select
–––––––––––––––––––––––––––––––––––––––––––––––––– */
#viz select {
	font-size: 0.8rem;
	margin: 0;
	margin-bottom: 5px;
}

#viz .ui-group#period {
	float: left;
	margin-right: 15px;
	/*! margin: 10px 0; */
}

#viz input {
	margin-bottom: 5px;
}


/* Lightbox
–––––––––––––––––––––––––––––––––––––––––––––––––– */
#viz .lightbox {
	background-color: #FAFAFC;
	background-color: #444;
}

#viz .lightbox a:not(#scrolldown) {
	color: #EEE;
}

#viz .lightbox a:not(#scrolldown):active {
	color: #F00;
}

/* Map
–––––––––––––––––––––––––––––––––––––––––––––––––– */
#viz #main-map {
	background-color: #D0D0D0;
	border: none;
}

/* Info contents
–––––––––––––––––––––––––––––––––––––––––––––––––– */
#viz .info {
	padding: 0;
	background: white;
}

#viz .info .who {
	background-color: #000;
	color: #FFF;
	padding: 25px 15px 25px;
	text-align: center;
	border-bottom: 1px solid #ddd;
}

#viz .info .who.jaune {
	background-color: #FF9900;
}
#viz .info .who.orange {
	background-color: #F74E21;
}
#viz .info .who.rouge {
	background-color: #C10000;
}
#viz .info .who.fonce {
	background-color: #420101;
}

#viz .info .who .name {
	font-family: 'Heading Now Variable',sans-serif;
	font-stretch: 400%;
	font-size: 2.5rem;
	line-height: 0.95;
	margin-bottom: 5px;
}

#viz .info .who .adr {
	font-family: 'Heading Now Variable',sans-serif;
	font-stretch: 500%;
	font-size: 0.9rem;
	line-height: 1.3;
	margin-bottom: 0;
}

#viz .info .who .status {
	font-family: 'Heading Now Variable',sans-serif;
	font-stretch: 500%;
	font-size: 0.8rem;
	text-transform: uppercase;
	font-weight: 500;
	background-color: rgba(0,0,0,0.2);
	color: #FFF;
	display: inline-block;
	margin: 0;
	padding: 5px 10px;
	transform: rotate(1deg);
	-webkit-transform:  rotate(1deg);
	position: relative;
	bottom: -12px;
}

#viz .info .fines {
	background-color: #EEE;
	padding: 15px 0;
	font-weight: 400;
	border-bottom: 2px solid #ddd;
}

#viz .info .fines p {
	font-family: 'Heading Now Variable',sans-serif;
	font-stretch: 500%;
	font-size: 1rem;
	line-height: 1.35;
	letter-spacing: 1px;
	text-align: center;
	margin-bottom: 5px;
}
#viz .info .fines .hot.jaune {
	color: #FF9900;
}
#viz .info .fines .hot.orange {
	color: #F74E21;
}
#viz .info .fines .hot.rouge {
	color: #C10000;
}
#viz .info .fines .hot.fonce {
	color: #420101;
}

#viz .info .fines .infraction-types {
	text-align: center;
	margin-bottom: 5px;
}

#viz .info .fines .infraction-type {
	display: inline-block;
	margin-bottom: 5px;
}

#viz .info .infraction-types img {
	height: 50px;
	display: block;
	margin-bottom: 3px;
}


#viz .info .infraction-types .count {
	font-size: 0.8rem;
	background-color: #333;
	color: #FFF;
	padding: 1px 4px 1px 5px;
	border-radius: 1px;
	position: relative;
	top: -1px;
}

#viz .info .condamnation {
	background-color: #FFF;
	color: #000;
	padding: 15px 20px;
}

#viz .info .condamnation:nth-of-type(odd) {
	background-color: #FFF;
}

#viz .info .condamnation:nth-of-type(even) {
	background-color: #EEE;
}

#viz .info .condamnation:nth-of-type(odd):not(:last-child) {
	border-bottom: 1px solid #EEE;
}

#viz .info .condamnation:nth-of-type(even):not(:last-child) {
	border-bottom: 1px solid #FFF;
}

#viz .info .condamnation:last-child {
	margin-bottom: 20px;
}

#viz .info .condamnation p {
	font-family: 'Heading Now Variable',sans-serif;
	font-stretch: 500%;
}

#viz .info .condamnation p.label {
	display: inline-block;
	background-color: inherit;
	color: #888;
	text-transform: uppercase;
	margin: 0;
	padding: 0;
	font-family: 'Heading Now Variable',sans-serif;
	font-stretch: 500%;
	font-size: 0.7rem;
}

#viz .info .condamnation p:not(label) {
	margin-left: 1px;
	margin-bottom: 15px;
	font-family: "Droid Serif", serif;
	font-size: 1rem;
}

@media (min-width: 550px) {
	#viz #main-map .popup .info {
		max-height: 320px;
	}
}
#viz .map-wrapper {
	position: relative;

}
#viz .recherche-et-filtres,
#viz .legende-bottom {
	padding: 8px 0 14px;
	position: relative;
	background: white;
	border-radius: 5px;
	z-index: 2;
	display: flex;
	flex-direction: column;
}


#viz .legende-bottom .type-etablissement {
	border-bottom: 1px solid #ddd;
	margin-bottom: 10px;
}
#viz .legende-bottom .legend {
	min-height: 40px;
}
#viz .legende-bottom h4 {
	margin-bottom: 10px;
}


#viz .recherche-et-filtres input[type="search"]{
	min-width: 180px;
	border-color: #666;
	border-radius: 2px;
}
#viz .recherche-et-filtres #search {
	margin-right: 10px;
}

#viz .map-wrapper h4 {
	font-size: 16px;
}

/* Larger than mobile
–––––––––––––––––––––––––––––––––––––––––––––––––– */
@media (min-width: 400px) {}

/* Larger than phablet (also point when grid becomes active) */
@media (min-width: 550px) {}

/* Larger than tablet */
@media (min-width: 750px) {
	#viz .legende-bottom {
		bottom: 10px;
		left: 10px;
	}
	#viz .recherche-et-filtres {
		top: 10px;
		right: 10px;

	}
	#viz .recherche-et-filtres,
	#viz .legende-bottom {
		position: absolute;
		flex-direction: row;
		padding: 8px 10px;
	}
	#viz .legende-bottom .type-etablissement {
		border-bottom: none;
		margin-bottom: 0;
	}
	#viz .legende-bottom .fines-amount {
		margin-left: 10px;
		border-left: 1px solid #bbb;
		padding-left: 10px;
	}
	#viz #main ul.legend li {
		flex-direction: row;
		flex-basis: unset;
	}
	#viz .map {
		margin-bottom: 30px;
	}
}

/* Larger than desktop */
@media (min-width: 1000px) {}

/* Larger than Desktop HD */
@media (min-width: 1200px) {}


#lexique {
	padding: 0 16px;
	max-width: 780px;
	margin: auto;
}
#lexique.hidden {
	display: none;
}
#lexique::before {
	content: '';
	display: flex;
	width: 100%;
	height: 5px;
	border-radius: 1px;
	background: #B6BBBC;
}
#lexique .content-center {
	display: flex;
}

#lexique .flex.sublist {
	flex-direction: column;
	margin-left: 25px;
}
#lexique .flex.sublist p {
	margin-bottom: 12px;
}
#lexique .flex.sublist p.sublist-item-title {
	font-weight: 600;
	margin-bottom: 0;
}
#lexique .flex.sublist p:last-of-type {
	margin-bottom: 32px;
}
#lexique .sep {
	border-top: 1px solid #B6BBBC;
}
#lexique h2 {
	font-size: 28px;
	font-weight: 850;
	line-height: 110%;
	font-stretch: 550%;
	margin-bottom: 1rem;
	padding: 0;
	text-transform: none;
	border-top: none;
	margin-top: 16px;
	color: #515151;
}
@media {
	#lexique h2 {
		font-size: 28px;
	}
}
@media {
	#lexique h2 {
		font-size: 28px;
	}
}
#lexique h3 {
	font-size: 20px;
	font-weight: 750;
	line-height: 1.1;
	margin-bottom: 20px;
	text-transform: uppercase;
	border-top: 1px solid #B6BBBC;
	padding-top: 20px;
	padding-right: 32px;
	display: flex;
	justify-content: space-between;
	margin-top: 0;
	position: relative;
}
#lexique p {
	margin: 0 0 1rem 0;
	font-size: 17px;
	font-weight: 420;
	line-height: 135%;
	-webkit-font-smoothing: antialiased;
}
#lexique p:not(.term) {
	color: #858585;
}
#lexique p.term {
	font-size: 18px;
	font-weight: 750;
	line-height: 110%;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	margin: 0 0 0.125rem 0;
}
#lexique p.term img {
	max-height: 18px;
	margin-right: 3px;
	margin-top: -3px;
	display: inline-block;
}
#lexique p.term.col--non {
	margin-bottom: 8px;
}
@media {
	#lexique {
		padding: 0;
	}
}
