/* #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: header and main
–––––––––––––––––––––––––––––––––––––––––––––––––– */
#viz #header {
}

#viz #main {
	border-top: 1px solid #DDD;
	padding-top: 25px;
	margin-top: 20px;
}

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


/* Header contents
–––––––––––––––––––––––––––––––––––––––––––––––––– */
#viz #header h1 {
	font-size: 3em;
	margin-bottom: 20px;
	line-height: 0.9;
}

#viz #header > img {
	width: 100%;
	margin-bottom: 20px;
}

#viz #header #social-bar-container {
	margin-bottom: 15px;
}

#viz #header #social-bar-placeholder {
	height: 40px;
	background-color: #3C5A98;
}

#viz #header p {
	font-family: "Droid Serif", serif;
	font-size: 1.3rem;
	line-height: 1.5;
}

@media (min-width: 400px) {
	#viz #header h1 {
	}
}

@media (min-width: 550px) {
	#viz #header h1 {
	}
	#viz #header #social-bar-container {
	}
}

@media (min-width: 750px) {
	#viz #header h1 {
		font-size: 5.25em;
	}
}


/* Search
–––––––––––––––––––––––––––––––––––––––––––––––––– */
#viz #search {
	margin-bottom: 10px;
}

#viz label {
	font-family: "epocapro", sans-serif;
	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 ul.legend li {
	font-family: "epocapro", sans-serif;
	font-size: 0.8rem;
	font-weight: 400;
}

#viz ul.legend li .block {
	border: 1px solid #000;
}

#viz ul.legend li .block.restauration {
	background-color: #FF4E00;
}

#viz ul.legend li .block.autre {
	background-color: #1377D6;
}

@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 {
	color: #EEE;
}

#viz .lightbox a:active {
	color: #F00;
}

/* Map
–––––––––––––––––––––––––––––––––––––––––––––––––– */
#viz #main-map {
	background-color: #D0D0D0;
	border: 1px solid #444;
}

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

#viz .info .who {
	background-color: #000;
	color: #FFF;
	padding: 25px 15px 25px;
	text-align: center;
	border-bottom: 5px dashed #EEE;
}

#viz .info .who.resto {
	background-color: #FC4F1E;
}
#viz .info .who.autre {
	background-color: #1176D6;
}

#viz .info .who .name {
	font-family: "DharmaGothicE", sans-serif;
	font-size: 2.5rem;
	line-height: 0.95;
	margin-bottom: 5px;
}

#viz .info .who .adr {
	font-family: "epocapro", sans-serif;
	font-size: 0.9rem;
	line-height: 1.3;
	margin-bottom: 0;
}

#viz .info .who .status {
	font-family: "epocapro", sans-serif;
	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: 5px dashed #FFF;
}

#viz .info .fines p {
	font-family: "epocapro", sans-serif;
	font-size: 1rem;
	line-height: 1.35;
	letter-spacing: 1px;
	text-align: center;
	margin-bottom: 5px;
}

#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 .condamnations {
}

#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: 5px dashed #EEE;
}

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

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

#viz .info .condamnation p {
	font-family: "epocapro", sans-serif;
}

#viz .info .condamnation p.label {
	display: inline-block;
	background-color: inherit;
	color: #888;
	text-transform: uppercase;
	margin: 0;
	padding: 0;
	font-family: "epocapro", sans-serif;
	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;
	}
}

/* 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) {}

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

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