html { 
  background: url(../images/kids-bg.jpg) no-repeat center center fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
/*	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;*/
}
.logoB-tiny {background-position:center center !important}
body {font-family: 'Roboto Slab', Georgia, Times, Serif}
.ral {font-family: 'Raleway', Helvetica, Arial, Sans-Serif}
.rob {font-family: 'Roboto Slab', Georgia, Times, Serif}
a {text-decoration: none; color: inherit }
#load-gate {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #000;
	z-index: 99999;
	text-align: center;
}

#load-gate > div {
	width: 0px; height: 0px;
	position: absolute; top: 50%; left: 50%;
	margin-left: -100px; margin-top: -100px;
	overflow: visible;
}

#load-gate > div > img, #load-gate > div > h3 {
	width: 200px;
	height: auto;
}

article {
	position: fixed;
	width: 100%;
	overflow: hidden;
	background: #222;
	color: #eee;
	bottom: 100%;
	left: 0;
}

#nameplate {
	background: #000;
	color: #fff;
	width: 50%;
	max-width: 600px;
	padding: 2.5%;
	position: fixed;
	top: 20%;
	left: 22.5%;
	box-shadow: 0px 0px 20px #000;
	z-index: 9999;
}

#nameplate > summary { color: #bbb }
.share-icon { background-image: url(https://media.miamiherald.com/static/media/projects/libraries/images/social_sprites-w.png) !important }

#initDB {
	background: #333;
	padding: 4px 8px;
	border-radius: 3px;
	display: inline-block;
	cursor: pointer;
	float: right;
}
#initDB:hover {background: #444}
/*SIDEBAR*/

#sidebar {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 25%;
	height: 100%;
	background: #111;
}

#list-header {
	padding: 20px 5%;
	border-bottom: 3px solid #000;
	position: static;
	background: #333;
}


#list-holder {
	width: 100%;
	overflow-y: scroll;
	background: #111;
}

.name-listing {
	display: block;
	width: 90%;
	padding: 20px 5%;
	border-bottom: 1px solid #444;
	cursor: pointer;
}

.name-listing:hover {
	background: #222;
	color: #fff;
}

.selected-listing {
	background: #343434;
	text-shadow: 0px 0px 10px #111;
}

#no-match {
	list-style-type: none;
	text-align: center;
	margin-top: 30px;
}

#closeFilters, #openFilters {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 20px;
	height: 20px;
	cursor: pointer;
	padding: 5px;
	border-radius: 2px;
}

#openFilters, #closeFilters {
	background: #787878 url('../images/filter-icon.png') no-repeat scroll center center;
	border-bottom: 2px solid #555;
}

#openFilters:hover, #closeFilters:hover {
	background: #666 url('../images/filter-icon.png') no-repeat scroll center center;
	border-bottom: 2px solid #444;
}

#reset-button {
	position: absolute;
	top: 50px;
	right: 10px;
	width: 20px;
	height: 20px;
	cursor: pointer;
	padding: 5px;
	border-radius: 2px;
	background: #787878 url('../images/revert-sprite.png') no-repeat scroll center center;
	border-bottom: 2px solid #555;
}

#reset-button:hover {
	background: #666 url('../images/revert-sprite.png') no-repeat scroll center center;
	border-bottom: 2px solid #444;
}

#filter-cues {
	margin: 6px 0 6px 0;
}

.small-reset {
	cursor: pointer;
	font-weight: bolder;
	font-size: 15px;
	padding: 2px 4px;
	background: #343434;
	margin-right: 6px;
	border-radius: 2px;
}

.small-reset:hover {
	background: #444;
}
	

#name-search {
	background: #222 url('../images/magni.png') no-repeat scroll 12px center;
	color: #fff;
	width: 82%;
	border: none;
	font-size: 16px;
	padding: 10px 5% 10px 13%;
	font-family: 'Roboto Slab', Georgia, Times, Serif;
	border-top: 3px solid #000;
	height: 30px;
	display: block;	
}

#name-search:focus {
	background-color: #333;
	color: #fff;
	outline: none;
}

/*FILTERS*/

#filters {
	position: fixed;
	width: 250px;
	bottom: 0;
	right: -250px;
	background: #121212;
	color: #fff;
	z-index: 10000;
	overflow-y: scroll;
}

#filters h1, #filters p {
	padding: 0 20px;
}

#filters h1 {
	margin: 10px 0;
}

#filters p {
	line-height: 1.3em;
}

.filter-header, .filter {
	font-family: 'Raleway', Helvetica, Arial, Sans-Serif;
	font-weight: 900;
	text-transform: uppercase;
	font-size: 13px;
	color: #eee;
}

.filter-header {
	cursor: pointer;
	padding: 10px;
}

.filter-header:hover {
	background: #222;
}

.open-close-filter {
	width: 20px;
	height: 20px;
	position: relative;
	top: -3px;
	float: right;
	background: transparent url('../images/filter-sprites.png') no-repeat scroll;
	background-size: 40px 80px;
}

.closed-filter .open-close-filter {
	background-position: 0px -60px;
}

.closed-filter:hover .open-close-filter {
	background-position: 0px -40px;
}

.open-filter .open-close-filter {
	background-position: -20px -60px;
}

.open-filter:hover .open-close-filter {
	background-position: -20px -40px;
}

.filter {
	display: none;
	border-top: 3px solid #000;
	border-bottom: 2px solid #333333;
	background: #222;
	-moz-box-shadow: inset 0px 5px 20px #111;
	-webkit-box-shadow: inset 0px 5px 20px #111;
	box-shadow: inset 0px 5px 20px #111;
}

.filter-option {
	padding: 5px 15px;
	cursor: pointer;
}

.filter-status {
	width: 20px;
	height: 20px;
	position: relative;
	top: 2px;
	float: right;
	background: transparent url('../images/filter-sprites.png') no-repeat scroll;
	background-size: 40px 80px;
}

.filter-selected .filter-status {
	background-position: -20px -0px;
}

.filter-selected:hover .filter-status {
	background-position: 0px -20px;
}

.filter-unselected .filter-status {
	background-position: -0px -0px;
}

.filter-unselected:hover .filter-status {
	background-position: -20px -20px;
}


.filter-option:hover {
	background: #333;
}

/*INFORMATION SECTION*/

#info {
	position: absolute;
	bottom: 0;
	left: 0;
	height: 100%;
	width: 68%;
	padding: 0 4.5% 0 2.5%;
	direction: rtl;
	overflow-y: auto !important;
}

#info .wrapper {
	direction: ltr;
	padding-top: 30px;
	max-width: 800px;
	margin: 0 auto;
}

#permalink {
	padding: 6px 8px;
	border:none;
	background: #333;
	color: #aaa;
	font-family: 'Roboto Slab', Georgia, Times, Serif;
	width: 130px;
}

#permalink:focus {
	background: #444;
	color: #ccc;
	outline: none;
}

#image {
	height: 180px;
	width: 180px;
	float: left;
	margin: 0 30px 0 0;
}

#name {
	font-size: 36px;
	margin: 60px 5px 20px 0;
	font-weight: 700;
	display: inline;
}

#age-id {
	display: inline-block;
	font-size: 32px;
	font-weight: 400;
	color: #bbb;
	margin-left: 8px;
}

#basic-info {
	margin: 40px auto 0 auto;
}

.bio-item {
	padding: 0 20px 20px 0;
	display: inline-block;
}

.bio-item > small {
	font-family: 'Raleway', Helvetica, Arial, Sans-Serif;
	text-transform: uppercase;
	font-size: 13px;
	font-weight: 900;
	color: #999;
	margin-bottom: 5px;
	margin-right: 5px;
}

.filter-q {
	font-weight: 700;
	background: #333;
	padding: 4px 8px;
	border-radius: 3px;
	cursor: pointer;
}

#death-ruling {text-transform: capitalize;}

.filter-q:hover {
	background: #444;
}

#nar-info {
	max-width: 800px;
	display:block;
	margin: 25px auto;
}


#description p {
	line-height: 1.6em;
	margin-bottom: .8em;
}

.nav-trigger {
	width: 220px;
	padding: 20px;
	cursor: pointer;
	border-radius: 2px;
}

.nav-trigger:hover {
	background-color: #444;
	box-shadow: 0 0 10px #111;
}

.previous-trigger {
	float: left;
	padding-left: 50px;
	background: #333 url('../images/left-controller.png') no-repeat scroll center left;
}

.next-trigger {
	float: right;
	text-align: right;
	padding-right: 50px;
	background: #333 url('../images/right-controller.png') no-repeat scroll center right;
}

/*HACK FOR GROUP DISPLAY*/

#group-gallery {
	padding-bottom: 30px;
}

#group-gallery figure {
	width: 120px;
	display: inline-block;
	margin: 0 10px;
	text-align: center;
}

#group-gallery figure img {
	width: 120px;
	height: auto;
	margin-bottom: 10px;
}

/*INFO PANEL*/

#side-info-panel {
	width: 300px;
	float: right;
}

.active-panel {
	display: block !important;
	margin: 0 0 12px 12px;
	padding: 16px;
	background: #161616;
}

/*PERPS*/

#perps {
	display: none;
	line-height: 1.3em;
	padding-bottom: 10px;
	margin-bottom: 10px;
}

.perp {
	display: none;
	width: 100%;
	padding: 8px 0;
}

.perp h3, .perp small { line-height: 1em}

.perp p { font-size: 14px; margin-bottom: 0 }

.perp-image {
	height: 100px;
	width: 100px;
	margin: 0 20px 0px 0;
	float: left;
}

.perps-active, .active-perp {
	display: block !important;
}

#documents-wrapper {
	display: none;
}

#documents-list {
	margin-top: 10px;
}

.doc-item {
	margin-bottom: 10px;
	padding-left: 24px;
	line-height: 1.3em;
}

.doc-item a {
	color: #ddd;
}

.doc-item a:hover {
	color: #eee;
	text-decoration: underline;
}

.pdf { background: transparent url('../images/pdficon_small.png') no-repeat scroll top left; }
.story { background: transparent url('../images/story-link.png') no-repeat scroll top left; }

/*HELPER CLASSES*/

#sidebar {
	border-left: 4px solid #111;
	margin-left: -4px;
}

#filters .wrapper {
	border-left: 4px solid #000;
}

.miss, .text-miss {
	display: none !important;
}

.red {
	color: red !important;
}

/*FQ*/

#fq-tooltip {
	position: fixed;
	background: #333;
	display: none;
	color: #ddd;
	font-weight: 700;
	padding: 12px 8px 8px 8px;
	width: 120px;
	border: 2px solid #555;
	border-radius: 3px;
	box-shadow: 0px 0px 10px #000;
	line-height: 15px;
}

#fq-tooltip small {
	font-size: 13px;
}

#fq-tooltip div {
	width: 15px;
	height: 15px;
	background: #333;
	position: absolute;
	top: -9px;
	left: 55px;
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=6);
	border-top: 2px solid #555;
	border-right: 2px solid #555;
	border-radius: 3px;
}

.list-trigger {
	width: 50px;
	height: 50px;
	cursor: pointer;
	display: none;
	position: fixed;
	top: 60px;
	right: -4px;
	border: 3px solid #000;
	border-right: none;
	border-top-left-radius: 4px;
	border-bottom-left-radius: 4px;
}
#mobile-open-list{
	background: #333 url('../images/mo.png') no-repeat scroll top left;
}

#mobile-close-list{
	background: #333 url('../images/mc.png') no-repeat scroll top left;
}

/*HACKS*/

.logoW {
	float: left;
	margin-right: 20px;
}

.logoB-tiny {
	background: transparent url('https://media.miamiherald.com/static/media/projects/libraries/images/logo_w-tiny.png') no-repeat scroll center left;
}


.footer-list a:hover {
	color: #fff;
}

@media only screen and (max-width : 900px) {

	article {
		overflow-y: scroll !important;
		direction: rtl;
	}
	
	#info {
		position: relative !important;
		height: 100% !important;
		width: 85%;
		padding-left: 5%;
		padding-right: 10%;
	}
	
	#sidebar {
		width: 240px;
		right: -294px;
		direction: ltr;
		position: fixed;
	}
		
}

@media only screen and (max-width : 1000px) {
	#nameplate {
		width: 60%;
		padding: 2.5%;
		position: fixed;
		top: 20%;
		left: 17.5%;
		box-shadow: 0px 0px 20px #000;
		z-index: 9999;
	}
}

@media only screen and (max-width : 600px) {
.permalink-holder { float: left !important}
#image { float: none; width: 200px; height: 200px; margin: 0 auto 20px auto; display: block}
#name { line-height: 1.4em; }
#basic-info { margin-top: 20px }
#basic-info br { display:none}
.bio-item { display: block; width: 100%; padding: 10px 0 !important}
.active-panel { margin: 0 0 20px 0; width: 100% !important; padding: 0; background: none !important}
.nav-trigger { width: 70%; padding: 20px 15% !important; margin: 10px 0}

#nameplate {
	background: rgba(0,0,0,0.8);
	width: 90%;
	height: 95%;
	padding: 5%;
	position: fixed;
	bottom: 0%;
	left: 0%;
	top: 0%;
	z-index: 9999;
	overflow-y:scroll;
}
}