#viz {
	background-color: #A0DCE6;
	position: relative;
}


/* Header
–––––––––––––––––––––––––––––––––––––––––––––––––– */
#viz #header {
	position: relative;
}

#viz #header #title {
	padding: 5px 10px 0 0;
	position: relative;
	z-index: 1;
}

#viz #header h1 {
	margin: 0;
	text-align: right;
	line-height: 1;
	color: #FFF;
}

#viz #header h1:nth-child(1) {
	font-size: 4rem;
	font-weight: 800;
}

#viz #header h1:nth-child(2) {
	font-size: 3.4rem;
	font-weight: 800;
	margin-top: -10px;
}

#viz #header h1:nth-child(3) {
	font-size: 4rem;
	font-weight: 800;
	color: #000;
	margin-top: -10px;
}

#viz #header #fireworks {
	position: absolute;
	top: 0px;
	left: 15%;
	width: 40%;
	max-width: 432px;
	z-index: 1;
	oborder: 1px solid rgba(0,0,0,0.5);
}

#viz #header #fireworks img {
	width: 100%;
}

#viz .banner {
	width: 100%;
	margin-top: -40px;
}

@media (min-width: 550px) {
	#viz #header #fireworks {
		top:  100px;
		left: 15%;
	}
	#viz #header h1:nth-child(1) { font-size: 7rem; }
	#viz #header h1:nth-child(2) { font-size: 6rem; }
	#viz #header h1:nth-child(3) { font-size: 7.2rem; }
}

@media (min-width: 750px) {
	#viz #header #title {
		padding: 10px 20px 0 0;
	}
	#viz #header h1 { line-height: 0.9; }
	#viz #header h1:nth-child(1) { font-size: 9rem; }
	#viz #header h1:nth-child(2) { font-size: 7.6rem; }
	#viz #header h1:nth-child(3) { font-size: 9rem; }
	#viz .banner {
		margin-top: -80px;
	}
	#viz #header #fireworks {
		top:  80px;
		left: 16%;
	}
}

@media (min-width: 1000px) {
	#viz #header #fireworks {
		top:  100px;
		left: 16%;
	}
	#viz #header h1:nth-child(1) { font-size: 11rem; }
	#viz #header h1:nth-child(2) { font-size: 9.3rem; }
	#viz #header h1:nth-child(3) { font-size: 11rem; }
}

@media (min-width: 1200px) {
	#viz .banner { margin-top: -140px; }
	#viz #header #fireworks { top:160px; left:27%; }
	#viz #header h1:nth-child(1) { font-size: 11rem; }
	#viz #header h1:nth-child(2) { font-size: 9.2rem; }
	#viz #header h1:nth-child(3) { font-size: 11rem; }
}


/* Intro
–––––––––––––––––––––––––––––––––––––––––––––––––– */
#viz #intro {
	background-color: rgba(0,0,0,0.7);
	padding: 15px 20px;
	position: relative;
	color: #FFF;
}

#viz #intro h2 {
	font-size: 3rem;
	line-height: 1;
	font-weight: 700;
	margin: 0;
}

#viz #intro p {
	font-size: 1.1rem;
	line-height: 1.35;
}

#viz #intro .social-bar-wrapper {
	display: block;
	margin: 40px 0 20px 0;
}

@media (min-width: 1024px) {
	#viz #intro {
		padding-bottom: 0;
		background-color: inherit;
		color: #000;
		max-width: 960px;
		margin: 20px auto 0 auto;
	}
	#viz #intro h2 {
		font-size: 4rem;
	}
}

/* Main
–––––––––––––––––––––––––––––––––––––––––––––––––– */
#viz #main {
	padding: 10px 20px;
	position: relative;
}

@media (min-width: 1024px) {
	#viz #main {
		max-width: 960px;
		margin: 0 auto;
	}
}

/* Calendar
–––––––––––––––––––––––––––––––––––––––––––––––––– */
#viz #cals {
	width: 100%;
	overflow: hidden;
	margin-bottom: 20px;
}

#viz #cals ul.legend {
	padding: 0;
	margin: 0;
	margin-bottom: 10px;
}

#viz #cals ul.legend li {
	display: inline-block;
	margin-right: 15px;
	font-family: "DharmaGothicE", sans-serif;
	font-size: 1.2rem;
	font-weight: 300;
}

#viz #cals ul.legend li .block {
	display: inline-block;
	width: 1.2rem;
	height: 0.8rem;
	margin-right: 5px;
	border: 1px solid #FFF;
	obox-shadow: 0px 3px 5px #444;
}

#viz #cals .cal {
	background-color: #fff;
	padding: 0;
	padding-bottom: 2px;
}

#viz .cal .title {
	background-color: #FAC636;
	padding: 10px;
	font-family: "epocapro", sans-serif;
	font-size: 1.2rem;
	font-weight: 500;
	color: #000;
	text-transform: uppercase;
	letter-spacing: 2px;
	text-align: center;
}

#viz .cal .weekdays,
.cal .week {
	padding-left: 20px;
	padding-right: 20px;
}

#viz .cal .weekdays .cell {
	color: #000;
	margin: 1px;
}

#viz .cal .week .day {
	background-color: #fcfcfa;
	border: 1px solid #eee;
}

#viz .cal .week .day .date {
	color: #000;
}

#viz .cal .week .day.tooday {
	background-color: #444;
	border: 1px solid #333;
}

#viz .cal .week .day.tooday .date {
	color: #FFF;
}


@media (min-width: 550px) {
	#viz #cals .cal {
		float: left;
		width: calc(47% - 20px);
		margin: 0 20px 20px 0;
		box-shadow: 0px 3px 5px #444;
	}
}

@media (min-width: 750px) {
	#viz #cals .cal {
		width: calc(47% - 20px);
		margin: 0 20px 20px 0;
	}
}

@media (min-width: 1000px) {
	#viz #cals .cal {
		width: 400px;
		margin: 0 20px 20px 0;
	}
}


/* Calendar events
–––––––––––––––––––––––––––––––––––––––––––––––––– */
#viz .cal .week .day-events-container {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	padding: 2px;
}

#viz .cal .week .cell .event {
	background: #F00;
	margin-bottom: 2px;

	position: relative;
	height: calc(15% - 1px);
	width: 100%;
	width: calc(28% - 1px);
	float: left;
	margin-right: 2px;
}


/* Calendar selection
–––––––––––––––––––––––––––––––––––––––––––––––––– */
#viz .cal .week .cell.day:not(.selected):hover {
	background: #EEE;
	border: 1px solid #444;
}

#viz .cal .week .cell.day.tooday:not(.selected):hover .date {
	color: #000;
}

#viz .cal .week .cell.day:not(.selected):hover .event {
	opacity: 0.8;
}

#viz .cal .week .day.selected {
	border: 1px solid silver;
}


/* Day's events lightbox
–––––––––––––––––––––––––––––––––––––––––––––––––– */
#viz .lightbox {
/*	background-color: rgba(249,197,70,0.9);
	background-color: rgba(160,220,230,0.9);
	background-color: hsla(189,57%,76%, 0.9);*/
}

#viz .lightbox #day-events {
}

#viz .lightbox #day-events .date {
	font-family: "epocapro", sans-serif;
	font-size: 1.2rem;
	font-weight: 500;
	color: #FFF;
	text-transform: uppercase;
	letter-spacing: 2px;
	text-align: center;
	margin: 15px;
}

#viz .lightbox #day-events ul.tickets {
	padding: 0 40px 50px 40px;
}

#viz a.url:hover i {
	color: #000;
}


/* Map
–––––––––––––––––––––––––––––––––––––––––––––––––– */
#viz .map {
	height: 450px;
	width: 95%;
	margin-bottom: 40px;
	border: 1px solid white;
	background-color: #FFF;
}

@media (min-width: 550px) {
	#viz .map {
		height: 500px;
		border: 10px solid white;
		box-shadow: 0px 3px 5px #444;
	}
}

@media (min-width: 750px) {
	#viz .map {
		height: 640px;
	}
}



/* Popup
–––––––––––––––––––––––––––––––––––––––––––––––––– */
#viz .leaflet-popup-content-wrapper {
	border-radius: 0;
}

#viz .leaflet-popup-content {
	width: 230px!important;
}

@media (min-width: 350px) {
	#viz .leaflet-popup-content {
		width: 250px!important;
	}
}

#viz .popup {
	padding: 5px;
	max-height: 300px;
	overflow-y: auto;
}

#viz .popup .venue {
	background-color: rgba(0,0,0,0.6);
	color: #FFF;
	text-align: center;
	padding: 15px 10px;
	margin-top: 0px;
	margin-bottom: 15px;
	border-radius: 3px;
}

#viz .popup .venue .name {
	font-family: "DharmaGothicE", sans-serif;
	font-size: 1.75rem;
	font-weight: 500;
	line-height: 1;
	margin: 0;
}

#viz .popup .venue .adr {
	font-family: "epocapro", sans-serif;
	font-size: 0.8rem;
	font-weight: 400;
	line-height: 1.35;
	margin: 0;
}

#viz .popup ul.tickets li {
	border-right-color: #FFF;
	border-left-color: #FFF;
}


/* Event ticket (used in lightbox and for map popup)
–––––––––––––––––––––––––––––––––––––––––––––––––– */
#viz ul.tickets {
	padding: 0;
	list-style-type: none;
	color: #FFF;
	margin: 0;
}

#viz ul.tickets li {
	background-color: #BDF;
	padding: 0 10px 5px 10px;
	border-right: 5px dotted #000;
	border-left: 5px dotted #000;
	position: relative;
	min-height: 120px;
	max-width: 300px;
	display: block;
	margin: 0 auto;
	margin-bottom: 25px;
}

#viz ul.tickets li:last-child {
	margin-bottom: 0;
}

#viz ul.tickets li p.category {
	font-family: "epocapro", sans-serif;
	font-weight: 500;
	font-size: 0.8rem;
	text-transform: uppercase;
	background: rgba(0,0,0,0.6);
	padding: 3px 7px;
	display: inline-block;
	margin: 0;
	margin-bottom: 10px;
}

#viz ul.tickets li .name {
	font-family: "DharmaGothicE", sans-serif;
	font-size: 1.9rem;
	font-weight: 500;
	line-height: 0.9;
	text-align: center;
	margin: 0 0 5px 0;
}

#viz ul.tickets li .period {
	font-family: "epocapro", sans-serif;
	font-size: 0.8rem;
	font-weight: 400;
	text-align: center;
	margin: 0 0 25px 0;
}

#viz ul.tickets li .url {
	font-family: "epocapro", sans-serif;
	font-size: 0.8rem;
	color: #FFF;
	position: absolute;
	bottom: 5px;
	right: 10px;
}


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