/* General
–––––––––––––––––––––––––––––––––––––––––––––––––– */
* {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

body {
  font-family: "Droid Serif", serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'DharmaGothicE', sans-serif;
  margin: 0;
}


/* #viz
–––––––––––––––––––––––––––––––––––––––––––––––––– */
#viz {
}


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

#viz #header #social-bar-container {
	position: relative;
	z-index: 1;
	margin-bottom: 20px;
}


/* Main
–––––––––––––––––––––––––––––––––––––––––––––––––– */
#viz #main {
	position: relative;
}

@media (min-width: 550px) {
	#viz #main {
		margin: 20px auto;
	}
}


/* Labels
–––––––––––––––––––––––––––––––––––––––––––––––––– */
#viz .label {
	font-family: 'epocapro', sans-serif;
	font-weight: 400!important;
	font-style: normal;
	padding: 2px 4px;
	border: 1px solid hsla(0,0%,0%,0.1);
	border-radius: 0px;
	background-color: #000;
	color: white;
}



/* Legend
–––––––––––––––––––––––––––––––––––––––––––––––––– */
#viz p.legend {
	font-family: 'epocapro', sans-serif;
	font-weight: normal!important;
	font-style: italic!important;
	font-size: 0.9rem;
	line-height: 1.35;
	margin: 10px 0;
}

#viz .legend .label {
	position: relative;
	top: -1px;
	margin-right:  1px;
	font-style: normal;
	font-weight: 500;
}

#viz .legend img {
	max-height: 1.8rem;
	position: relative;
	top: 4px;
}


/* Social
–––––––––––––––––––––––––––––––––––––––––––––––––– */
#viz .social-link {
    background-color: #eee;
    height: 25px;
}

#viz .social-link.facebook {
    background-color: #3C599B;
}

#viz .social-link.twitter {
    background-color: #5EAADE;
}



/* Maps
–––––––––––––––––––––––––––––––––––––––––––––––––– */
#viz .map {
	background-color: #eee;
	height: 320px;
}

#viz .map .leaflet-bar, .leaflet-control-layers {
	border: 1px solid #111;
	border-radius: 0;
}

#viz .map .leaflet-control-attribution {
	font-family: 'epocapro', 'Whitney SSm A', 'Whitney SSm B';
	font-weight: 500;
	color: #000;
	font-style: italic;
}

#viz .map .leaflet-control-attribution a {
	color: #00549E;
	font-weight: 500;
	font-style: normal;
}


/* BUTTONS
–––––––––––––––––––––––––––––––––––––––––––––––––– */
#viz .btn {
	font-family: 'epocapro', sans-serif;
	font-weight: 400!important;
	font-size: 1em;

	background: #999;
	color:  rgba(255,255,255,1);
	cursor: pointer;
	display: inline-block;
	padding: 10px;
}

#viz .btn:hover {
	background: #888;
}

#viz .btn:active,.btn:focus {
	background: #777;
}

#viz .btn.disabled {
	color:  rgba(255,255,255,0.8);
	pointer-events: none;
}

#viz .btn-b {
	background: #3c5;
}

#viz .btn-b:hover {
	background: #2b4; /* darken(@btn-b-bg, 5%) */
}

#viz .btn-b:active, .btn-b:focus {
	background: #2a4; /* darken(@btn-b-bg, 10%) */
}

#viz .btn-sm {
	border-radius: 4px;
}


/* CLOSE ICON
–––––––––––––––––––––––––––––––––––––––––––––––––– */
#viz .icon-btn {
	padding: 10px;
	color: #000;
}

#viz .icon-btn:hover {
	color: #0E0;
	text-shadow: none;
}

#viz .icon-btn i {
	cursor: pointer;
}

@media (min-width: 40em) {
	#viz .icon-btn {
		padding: 0px 2px;
	}
}


/* UTILS
–––––––––––––––––––––––––––––––––––––––––––––––––– */
#viz .lightbox {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background-color: rgba(0,0,0,0.9);
	z-index: 10000000;
	display: none;
}

#viz .lightbox a.close {
	position: absolute;
	top: 10px;
	right: 10px;
	color: #FFF;
	font-family: "epocapro", sans-serif;
	font-size: 0.8rem;
	cursor: pointer;
}

#viz .lightbox a.close:hover {
	color: #F00;
}

#viz .lightbox .content {
	position: relative;
	text-align: center;
}

@media (min-width: 550px) {
	#viz .lightbox .nav .close-btn {
	}
}


/* UTILS
–––––––––––––––––––––––––––––––––––––––––––––––––– */
#debug {
	position: absolute;
	top:  5px;
	left: 5px;
	margin: 0;
	font-family: sans-serif;
	font-size: 0.8rem;
	color: #eee;
}

#viz .hidden {
	display: none;
}

#viz .invisible {
	opacity: 0;
}

#viz .disabled {
	pointer-events: none;
}

#viz .shadow {
	-moz-box-shadow:    0px 0px 3px 3px hsla(0,0%,0%,0.2);
	-webkit-box-shadow: 0px 0px 3px 3px hsla(0,0%,0%,0.2);
	box-shadow:         0px 0px 3px 3px hsla(0,0%,0%,0.2);
}

#viz .shadow-2 {
	-moz-box-shadow:    0px 0px 10px 5px hsla(0,0%,0%,0.1);
	-webkit-box-shadow: 0px 0px 10px 5px hsla(0,0%,0%,0.1);
	box-shadow:         0px 0px 10px 5px hsla(0,0%,0%,0.1);
}
