/* HTML5 ✰ Boilerplate
 * ==|== normalize ==========================================================
 */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
body { margin: 0; font-size: .6em;  background-color: #fefffe;}
body, button, input, select, textarea { font-family: "Lucida Grande", Lucida, Verdana, sans-serif; color: #909090; }

::-moz-selection { background: #fe57a1; color: #fff; text-shadow: none; }
::selection { background: #fe57a1; color: #fff; text-shadow: none; }

a { color: #1489CC;}
a:hover { color: #000; }
a:focus { outline: thin dotted; }
a:hover, a:active { outline: 0; }

abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
blockquote { margin: 1em 40px; }
dfn { font-style: italic; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #e4e4e4; padding: 0; margin: 0 0 2.7em; }
ins { background: #ff9; color: #000; text-decoration: none; }
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
pre, code, kbd, samp { font-family: monospace, monospace; _font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
q { quotes: none; }
q:before, q:after { content: ""; content: none; }
small { font-size: 85%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }
ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }
img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }
svg:not(:root) { overflow: hidden; }
figure { margin: 0; }

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }
label { cursor: pointer; }
legend { border: 0; *margin-left: -7px; padding: 0; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; *overflow: visible; }
table button, table input { *overflow: auto; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }

table { border-collapse: collapse; border-spacing: 0; margin: 0; padding: 0;}
td { vertical-align: top; }

p { font-size: 1.1em; }


/* ==|== primary styles =====================================================
   Author: Erik Reinert
   ========================================================================== */

#header { width: 887px; margin: 27px auto 0; }
#header #search ul { float: right; list-style-type: none; }
#header #search ul li { float: left;}
#header #search #donate { text-transform: uppercase; }
#header #search #donate a  { color: #FFF;text-decoration: none; padding: 3px 7px; background-color: #1489CC; font-weight: bold;  -moz-border-radius: 4px; border-radius: 4px; margin-right: 7px; }
#header #search #donate a:hover  { background-color: #000;}
#header #search #searchform { padding: 0 7px; margin: -3px 0 0; }
#header #branding a { float: left; width: 139px; height: 122px; background: url(../img/branding.png) no-repeat left top; margin-top: -7px; padding-right: 47px; position: relative; z-index: 99; }
#nav { width:  607px; float: left; margin-top: 74px; }
#nav ul { list-style: none; margin: 0px; }
#nav ul li { display:inline; float:left; margin-right: 37px; }
#nav ul li a { color: #3c3f3d; text-transform: lowercase; text-decoration: none; text-shadow: 2px 2px 3px #ccc; font: 1.8em Georgia, Times, serif; }
#nav ul li a:hover { text-decoration:none; text-align: left; color: #ccc; }
#nav ul li ul li { margin-top:7px; display: block; float: none; }
#nav ul li.sublinks a { background-color: #fff; color:#000000;  text-transform: none; padding: 3px 7px; text-shadow: none; font: 1.2em "Lucida Grande", Lucida, Verdana, sans-serif; }
#nav ul li.sublinks a:hover { color:#fff; background:#1489CC; font-weight: normal; text-decoration: none; }
#nav ul li.sublinks { display:none; }

#twitter, #facebook, #youtube, #linkedin { padding-right: 7px; margin-top: -2px; }

#featured { float: left; width: 100%; height: 407px; margin: 17px 0 0; padding: 17px 0 0; background-color: #ccc; background-image: url(../img/featured_background.jpg); }
#featured .content { width: 887px; margin: 0 auto; }
#featured .category-featured { float: left; width: 471px; }
#featured img { -moz-border-radius: 7px; border-radius: 7px; }
#content.post-773 { width: 100% }

#main { width: 100%; float: left; margin-bottom: 27px; }
#content { width: 887px; margin: 17px auto; }
#mission-statement { width: 838px; margin: 47px auto 0; background: url(../img/mission_statement.jpg) no-repeat left 20px; height: 160px; overflow: hidden; text-indent: -9999px; }
.page p { line-height: 17px; margin-bottom: 17px; }
.page h2 { line-height: 23px; }
.section { margin: 27px 0 0; padding: 0; list-style-type: none; }
.section li { padding: 0 17px 17px 0; float: left; }
.ngg-galleryoverview { margin-top: 27px; }
.ngg-gallery-thumbnail-box { float: left; margin: 7px 47px 0px 0; }

#youth-featured-work { width: 887px; height: 287px; overflow: hidden; margin: 47px auto 0; }

#programs { width: 887px; margin: 47px auto 0; }
.program { list-style-type: none; width: 244px; margin-right: 0px; float: left; padding: 0; line-height: 17px; }
.game-art-design { padding: 0 77px; }
#programs, .program-small h2 { color: #000; }
.caption { width: 887px; margin: 0px auto 0;}

.program-small { list-style-type: none; width: 177px; float: left; padding: 0; line-height: 17px; margin: 0 37px 0 0; }
#program-header { width: 887px; height: 377px; margin: 0 0 27px; }
#program-content {float: left; }
#program-video { width: 500px; display: inline-block; margin-top: 0; margin-left: 23px; }
#program-gallery { width: 500px; display: inline-block; margin-top: 10px; }
#program-description { width: 327px; display: inline-block; background: url(../img/page_bg.jpg) repeat-x; padding: 0 17px 17px; }
#program-support { color: #fff; text-decoration: none; padding: 3px 7px; background-color: #1489CC; -moz-border-radius: 4px; border-radius: 4px; }
#program-support:hover { background-color: #111; }
.category-news-and-publicity { float: left; margin-left: 60px; border-bottom: solid black 1px; width:720px;  }
.news-content { width: 680px; margin-bottom: 17px;  }
.news-content img { width: 377px; height: auto; }
.student-profile { width: 435px; float: left; margin-top: 27px; }
.student-quote { width: 357px; }

#join-header { width: 887px; height: 377px; margin: 0 0 27px; }
#join-content {float: left; }
#join-description {  background: url(../img/page_bg_small.jpg) repeat-x; padding: 5px 17px 17px; }
#join-description h2 { font-size: 1.7em; }

#our-story { padding: 17px; background: url(../img/page_bg.jpg) repeat-x; }
#our-story h2 { padding: 0; margin: 0; }
.staff { width: 42%; display: inline-table; margin-bottom: 27px; background: url(../img/page_bg.jpg) repeat-x; padding: 0 17px; margin-right: 27px;  }
.staffHeadshot {display:block; width: 150px; height: 150px; background:#333; float:left; margin:19px 13px 0 5px}
.board-of-director { width: 357px; float: left; margin-bottom: 27px; background: url(../img/page_bg.jpg) repeat-x; padding: 0 17px; }
.mary-mary, .neal-anderberg { margin-right: 37px; }
#t-shirts { float: left; }
#store { width: 450px; float: right; }
#store ul { list-style-type: none; margin: 0 0 33px; padding: 0; float: left; }
#store ul li { display: block; width: 177px; margin-right: 47px; }
.gcheckout input { margin-top: 7px; }

#contact-content { width: 887px; }
.program-forms { width: 45%; padding: 5px; display: block; height: 170px; margin-right: 10px; float: left; }

footer { float: left; width: 100%; background-color: #e4e4e4; margin: 0; }

footer nav { width: 887px; margin: 0 auto; }
footer h2 { color: #000 ; }

footer nav ul { display: inline-block; float: left; padding: 10px 27px 17px 0; }
footer nav ul li { padding: 0 0 7px; }
#who-we-are { width: 107px; border-right: 1px solid #FFF; padding-bottom: 17px; } 
#media { width: 151px; }
#join-our-community { border-right: 1px solid #FFF; width: 157px; padding-left: 27px; }
#our-programs { border-right: 1px solid #FFF; width: 107px; padding-left: 27px; }
#media { padding-left: 27px; border-right: 1px solid #FFF; }
#social { padding-left: 27px; }

/* ==|== non-semantic helper classes ======================================== */
.ir { display: block; border: 0; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; }
.ir br { display: none; }
.hidden { display: none !important; visibility: hidden; }
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
.invisible { visibility: hidden; }
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }


/* Video */

#CenteredVideo {
	margin-left: auto;
    margin-right: auto;
    width: 877px
}

.player .video-wrapper {
	background:#CCC
	}


/*Lightbox */

#gallery {
	width:660px;
	margin:30px 0px;
	}
	
#gallery .play {
	background:url(../img/video_small.png) no-repeat left top;
	padding-left: 20px
}
	

#gallery a {
	text-decoration:none;
	}

#gallery .item {
	width: 175px; height: 170px; overflow: hidden;
	float: left;
	/* border: 1px solid #333; */
	margin: 5px;
	}


#gallery .item a { 
    overflow: hidden;
	}

#gallery .item a img {
	height: 100%; 
	align-self: center;
	}
	
#gallery .desc {
	float:left;
	color: #000
}
	

.lightbox {
	/** Hide the lightbox */
	display: none;
	
	/** Apply basic lightbox styling */
	position: absolute;
	z-index: 9999;
	width: 100%;
	top: 0;
	left: 0;
	color:#333333;
	}

.lightbox:target {
    /** Show lightbox when it is target */
    display: block;
    outline: none;
}

.lightbox .box {
  	width: -webkit-min-content;
  	width: -moz-min-content;
  	width: min-content;
	width: 785px;
	min-width:500px;
/*	max-height: 80%;*/
 	margin: 2% auto;
	padding:5px 20px 5px 20px;
	background-color:#000;
	box-shadow: 0px 1px 26px -3px #777777; 
	}

.lightbox .title {
	margin:0;
	padding:0 0 10px 0px;
	border-bottom:1px #ccc solid;
	font-size:22px;
	}

.lightbox .content {
	display:block;
	position:relative;
	max-height: 80%
	}
	

.lightbox .content .desc {
	z-index:99;
	bottom:0;
	position:absolute;
	padding:10px;
	margin:0 0 4px 0;
	background:rgba(0,0,0,0.8);

	color:#fff;
	font-size:17px;
	opacity:0;
	transition: opacity ease-in-out 0.5s;
	}	
	
.lightbox .content:hover .desc	{
	opacity:1;
}

.lightbox .next,
.lightbox .prev,
.lightbox .close {
	display:block;
	text-decoration:none;
	font-family:Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size:14px;
	color:#ccc;
	}

.prev {
	float:left;
	}

.next, .close {
	float:right;
	}
	
	.clear {
		display:block;
		clear:both;
		}
		
		/* end Lightbox */


/* ==|== media queries ====================================================== */

@media only screen and (min-width: 480px) {


}

@media only screen and (min-width: 768px) {
	
	
}



/* ==|== print styles ======================================================= */
 
@media print {
	* { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } 
	a, a:visited { text-decoration: underline; }
	a[href]:after { content: " (" attr(href) ")"; }
	abbr[title]:after { content: " (" attr(title) ")"; }
	.ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; } 
	pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
	thead { display: table-header-group; }
	tr, img { page-break-inside: avoid; }
	img { max-width: 100% !important; }
	@page { margin: 0.5cm; }
	p, h2, h3 { orphans: 3; widows: 3; }
	h2, h3 { page-break-after: avoid; }
}