/* -- html5doctor.com/html-5-reset-stylesheet/ -- */
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,time,mark,audio,video { margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent; } 
body { line-height:1; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display:block; }
nav ul { list-style:none; }
blockquote, q { quotes:none; }
blockquote:before, blockquote:after, q:before, q:after { content:'';content:none; }
a { margin:0;padding:0;font-size:100%;vertical-align:baseline;background:transparent; }
table { border-collapse:collapse;border-spacing:0; }
/* --------------- end html5 reset --------------- */

body {
    background: #fff;
    color: #000;
    font-family: 'Work Sans', sans-serif;
	font-size: 1.125em; /* 18px */
}

img, embed, object, video {
	max-width: 100%;
}

h1 {
	font-size: 36px;
	font-weight: 900;
	margin: 25px 0 10px;
	letter-spacing: 2px;
	text-transform: uppercase;
}

p {
	line-height: 150%;
	margin: 0 0 1.2em;
}

/* NAVIGATION BAR */
#navigation {
	position: fixed;
	top: 0;
	width: 100%;
	color: #000;
	background-color: #fff;
	padding: 30px 0 15px;
	z-index: 1000;
	text-transform: uppercase;
}
#navigation h3 {
	padding: 0;
	font-size: .875em;
	text-align: center;
	font-weight: 900;
	font-style: normal;
}

/* ---------- Navigation Menu ------------- */
/* Full Size */
#navigation-wrapper {
	width:100%;
	background-color:#fff;
	position:fixed;
	margin: 0 auto;
	margin-top:10px;
	padding-bottom: 10px;
	box-shadow: 0 8px 6px -6px rgba(80, 80, 80, 0.5);
}

#nav-container {
	width: 810px;
	margin: 0 auto;
}

#nav ul.nav-list {
	list-style: none;
	float: left;
	width: 100%;
	margin-top: 5px;
	margin-bottom: 5px;
	letter-spacing: 1px;
	text-align: center;
}
#nav ul.nav-list li {
	display:inline;
}
#nav ul.nav-list li a {
	color: #000;
	text-decoration: none;
	padding: 12px;
	font-size: 0.7em;
}
#nav ul.nav-list li:first-child a {
	padding-left:0;
}
#nav ul.nav-list li:last-child a {
	padding-right:0;
}

/* Tablet and smaller */
@media screen and (max-width: 809px){
	#navigation {
		padding-top: 10px;
		padding-bottom: 10px;
	}
	#navigation h3 {
		margin-left:1em;
		line-height: 28px;		
	}
	#navigation-wrapper {
		background:none;
		box-shadow: none;
	}

	#nav-button {
		text-align: center;
		float:right;
		margin-right: 5px;
		background-color: #000;
		height: 36px;
		width: 37px;
		background-image: url('../img/nav-button.png');
		background-position: center center;
		background-repeat: no-repeat;
		border-radius: 3px;
	}

	#nav-button.is-open {
		background-color: #1f1f1f;
		/*background-image: url('../img/nav-button-open.png');*/
		box-shadow:0px -2px 2px rgba(0, 0, 0, 0.5);
	}

	#nav-container {
		margin-left:80%;
		width:20%;
		margin-top: 15px;
	}

	#nav {
		float:right;
		position: relative;
		width:200px;
		z-index: 2000;
		clear: both;
		box-shadow:0px 0px 2px rgba(0, 0, 0, 0.5);
		background-color: black;
		display:block;
	}

	#nav.is-hidden {
		display:none;
	} 

	#nav ul.nav-list li {
		float:left;
		clear: both;
		width:100%;
		padding:8px 0;
		text-align: right;
		display: inline-block;
	}
	#nav ul.nav-list li:hover {
		background-color: #BEBEBE; /*  #33b6e4; */
		font-weight:bold;
		letter-spacing: 0;
	}
	#nav ul.nav-list li a{
		color:#fdfdfd;
		text-decoration: none;
		display: block;
		margin-right:10px;
		text-transform: uppercase;
	}
	#nav ul.nav-list li:hover a{
		color:#000;
	}
}
/* To avoid a 3-line navigation bar on mobile */
@media screen and (max-width: 400px){
	#navigation h3 {
		font-size: .85em;
		margin-left: 5px;
	}
}

/*  SECTIONS  */
.section {
	clear: both;
	padding: 0 0 50px;
	margin: 0;
	width: 100%;
}

/*  GROUPING  */
.group:before,
.group:after {
	content:"";
	display:table;
	margin: 0;
	padding: 0;
}
.group:after {
	clear:both;
}

/*  COLUMN SETUP  */
.col {
	display: block;
	float: left;
	margin: 1% 0 1% 1.85%;
	line-height: normal;
}
.span_left { /* left-most column in each row */
	margin-left: 0;
}

/*  column widths  */
.span_3 {
	width: 100%;
}
.span_2 {
	width: 66.05%;
}
.span_1 {
	width: 32.10%;
}
.span_half {
	width: 47.15%;
	margin-top: 0;
	margin-right: 1.9%;
	margin-bottom: 1.5em;
}

/*  responsive youtube videos  */
.youtube-container { 
	position: relative;
	padding-bottom: 56.25%;
	height: 0; 
	overflow: hidden; 
	max-width: 100%;
} 
.youtube-container iframe, .youtube-container object, .youtube-container embed {
	 position: absolute; 
	 top: 0; 
	 left: 0; 
	 width: 100%; 
	 height: 100%; 
}

/* show only to screen readers */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0,0,0,0);
	border: 0;
	left: -100%;
}

/* --------------------------- HOMEPAGE-SPECIFIC --------------------------- */
/* arrows between sections */
.arrow { 
	margin: 0 auto;
	width: 21px;
}

/* ///// SECTION: HOME ///// */
.home-bg {
	background: url(/giving/ar2018/files/img/intro-bg.jpg) center center;
	color: #fff;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

.home-bg h1.report-title {
	margin: 160px 0 30px;
	font-size: 60px;
}

/* ///// SECTION: YOUR EFFECT ///// */
.effect-bg {
	background-color: #00c4b4;
	color: #000;
}

.story {
	cursor: pointer;
	position: relative;
	overflow: hidden;
	height:auto;
}
.story .story-heading {
	background-color: #004989;
	position: absolute;
	bottom: 0;
	left: 0;
	color: #fff;
	z-index: 100;
	padding: .5em;
	width: 100%;
	opacity: .75;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=75)";
	-webkit-transition: all 300ms ease-out;
	-moz-transition: all 300ms ease-out;
	-o-transition: all 300ms ease-out;
	-ms-transition: all 300ms ease-out;
	transition: all 300ms ease-out;
	line-height: 28px;
}
.story .story-heading a {
	text-decoration: none;
	color: #fff;
	font-size: 26px;
}

/* ///// SECTION: FINANCIAL REPORT ///// */
.financial-bg {
	background-color: #d6ede8;
	color: #005db9;
}
.financial-bg ul {
	margin: 0 0 1.2em 25px;
}
.financial-bg li {
	line-height: 150%;
	margin: 0 0 1.2em;
}
.financial-source-wrapper {
	position: relative;
}
.financial-overall {
	height: 549px;	
}
.financial-endowment {
	height: 637px;
}
p.financial-source {
	position:absolute;
	bottom: 0;
	margin: 0;
	font-style: italic;
}

/* financial data, in tabular form */
.financial-data-table caption {
	font-weight: bold;
	text-align: center;
}
.financial-data-table th, .financial-data-table td {
	padding: 10px;
	text-align: left;
}

/* ///// SECTION: DONOR RECOGNITION ///// */
.donor-bg, .donor {
	background-color: #005db9;
	color: #fff;
}

/* search box */
[type="submit"] {
	-webkit-appearance:none;
	border:0;
	color:#fff;
	cursor:pointer;
	display:inline-block;
	font-size:14px;
	font-weight:400;
	line-height:1.42857;
	margin-bottom:0;
	padding:6px 12px;
	text-align:center;
	text-decoration:none;
	user-select:none;
	vertical-align:middle;
	white-space:nowrap;
}
#search-input {
	position: relative;
}
#search-input-submit {
	background-color: transparent;
	background-image: url("/giving/ar2018/files/img/search.gif");
	background-position: center center;
	background-repeat: no-repeat;
	box-shadow: none;
	height: 32px;
	padding: 0.75em 0;
	position: absolute;
	right: 0;
	top: 2px;
	width: 3em;
}
#search-input-text {
	background: #fff;
	border: 1px inset #ccc;
	box-sizing: border-box;
	padding: 0.75em 3em 0.75em 0.5em;
	width: 100%;
	color: #58595b;
}
.sr-only {
	border: 0;
	clip: rect(0px 0 0 0px);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}

/* ///// SECTION: FOOTER ///// */
.contact-bg {
	background-color: #01324f;
	color: #fff;
}
.contact-bg p {
	line-height: 170%;
}
.contact-bg a {
	color: #fff !important;
}
.gvuf_logo {
	width: 98px;
	margin: 0 auto;
}
.contact-email-tablet {
	display: none;
}

/* buttons for Intro, Financial Report and Donor Recognition links */
.intro-button { 
	background-color: #1680A5;
	text-align: center;
	text-transform: uppercase;
}
.intro-button:hover, .intro-button:active {
	background-color: #1d97b8;
}
.financial-button { 
	background-color: #61279e;
	text-align: center;
	text-transform: uppercase;
}
.financial-button:hover, .financial-button:active {
	background-color: #9b8ac3;
}
.donor-button { 
	background-color: #00857E;
	text-align: center;
	text-transform: uppercase;
}
.donor-button:hover, .donor-button:active {
	/* background-color: #68b8d5; not accessible */
	background-color: #499CBA;
}
.intro-button a, .financial-button a, .donor-button a {
	display: block;
	color: #fff;
	text-decoration: none;
	padding: .75em 0;
	width: 100%;
	font-weight: 700;
}

/* --------------------------- STORY PAGES --------------------------- */
#featured-photo-wrapper, #featured-photo-wrapper img {
	width: 100%;
}

#featured-photo-wrapper {
	margin: 95px auto 0;
	background-color: #fff;
}

.impact .section {
	width: 900px;
	margin: 0 auto;
	padding-bottom: 15px;
	background-color: #fff;
	font-size: 18px;
}
.impact .section-wrapper {
	position: relative;
}

/* story section */
.impact .section h1 {
	margin: 45px 0 15px;
	text-transform: uppercase;
	font-size: 34px;
	font-weight: bold;
	color: #0063be;
}

.impact .section h3 {
	margin-bottom: 35px;
	text-transform: uppercase;
	font-size: 24px;
	font-weight: normal;
	color: #0063be;
}

.donor h1 {
	margin: 45px 0 50px;
}

.impact-video {
	float: left;
	width: 535px;
	margin: 0 15px 5px 0;
}

.subpage_pullquote {
	font-size: 32px;
	margin: 0 0 .5em .5em;
	line-height: 40px;
	width: 32.10%;
	padding: 0;
	float: right;
	text-align: right;
}

/* donor block color declarations */
.impact-taylor .subpage_donor_wrapper {
	background-color: #DEDAEC;
	color: #333E75;
}
.impact-stephens .subpage_donor_wrapper {
	background-color: #FBEFE4;
	color: #73450D;
}
.impact-kaspala .subpage_donor_wrapper {
	background-color: #dce5ec;
	color: #005d98;
}
.impact-rinvelt .subpage_donor_wrapper {
	background-color: #d6ede8;
	color: #296d56;
}

/* "donor info" box */
.subpage_donor {
	width: 900px;
	margin: 0 auto;
	padding-bottom: 15px;
}
.subpage_donor img {
	margin-top: 1.85%;
}
.subpage_donor h3 {
	font-weight: normal;
	padding: 0;
	margin: 30px 0 10px;
	font-size: 32px;
}
.subpage_donor p {
	margin-right: 1.85%;
	font-size: 18px;
}

.dte-logo-mobile {
	display: none;
}

/* bottom square photo navigation */
#subpage_footer_nav {
	margin: 35px auto 15px;
	width: 100%;
}
#subpage_footer_nav a {
	text-decoration: none;
}
#subpage_footer_nav a img {
	border: 5px solid #fff;
	margin: 0 3px 0 0;
}

#subpage_footer_nav a img:hover, #subpage_footer_nav a img.active {
	/* border: 5px solid #000; */
}

/* --------------- media queries --------------- */
@media screen and (min-width:900px) {
	.section-wrapper {
		width: 810px;
		margin: 0 auto;
	}
	
	.story {
		height:211px;
	}
	.story img {
		position: absolute;
		left: 0;
		-webkit-transition: all 300ms ease-out;
		-moz-transition: all 300ms ease-out;
		-o-transition: all 300ms ease-out;
		-ms-transition: all 300ms ease-out;
		transition: all 300ms ease-out;
	}	
	.story .story-heading {
		opacity: 0;
		padding-left: 0;
		height:211px;
		-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
	} 
	
	.story .story-heading a {	
		height: 211px;
		padding-top:4.5em;
		display:block;
	}
	.story:hover .story-heading { 
		opacity: .75; 
		-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=75)";
	}
	.story .overtext {
		/* padding-top: 3em */;
    	text-align: center;
		-webkit-transition: all 300ms ease-out;
		-moz-transition: all 300ms ease-out;
		-o-transition: all 300ms ease-out;
		-ms-transition: all 300ms ease-out;
		transition: all 300ms ease-out;
		transform: translateY(40px);
		-webkit-transform: translateY(40px);
		font-size: 36px;
	}	 
	.story .title {
		opacity: 0;
		transition-delay: 0.1s;
		transition-duration: 0.2s;
	}	 
	.story:hover .title,
	.story:focus .title {
		opacity: 1;
		-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
		transform: translateY(0px);
		-webkit-transform: translateY(0px);
	}	 
	.story .tagline {
		opacity: 0;
		transition-delay: 0.2s;
		transition-duration: 0.2s;
	}
	.story:hover .tagline,
	.story:focus .tagline {
		opacity: 1;
		-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
		transform: translateX(0px);
		-webkit-transform: translateX(0px);
	}

}

@media only screen and (max-width: 899px) {
    /* homepage */
	.home-bg h1.report-title {
		font-size: 70px;
	}
	
	#home, #effect, #financial, #donor, #foundation, .contact-bg {
		width: 98%;
		padding-left: 1%;
		padding-right: 1%;
	}
	.story {
		line-height: 0;
	}
	.story .story-heading {
		width: 95%; /* some random value I picked to stop "Course" in "Discourse, Of Course" from overflowing */
		max-width: 246px;
		line-height: normal;
	} 
	.story .overtext {
		font-size: 28px;
	}
	.financial-overall, .financial-endowment {
		height: auto;
	}
	p.financial-source {
		position: relative;
		padding-top: 30px;
		font-style: italic;
	}
	.gray-bg p {
		font-size: 95%;
	}	
	
	/* impact story pages */
	.impact .section, .subpage_donor {
		width: 98%;
		padding-left: 1%;
		padding-right: 1%;
	}
	#featured-photo-wrapper {
		width: 100%;
		margin-top: 65px;
	}

	.impact h1 {
		margin-bottom: 15px;
	}
	.impact-video {
		width: 100%;
		margin-bottom: 15px;
	}
	.impact .section-wrapper p {
		padding-right: 12px;
		padding-left: 12px;
	}
	
	.impact .section-wrapper p, .subpage_donor .col p {
		padding-left: 0;
		padding-right: 0;
	}

	#subpage_footer_nav span {
		width: 25%;
		display: block;
		float: left;
		padding-bottom: 15px;
	}	
	#subpage_footer_nav a img {
		margin: 0 auto;
		display: block;
	}	
	#subpage_footer_nav a img.last-image {
		margin-right: 0;
	}
	#subpage_footer_nav a img.arrow {
		display: none;
	}
}
@media only screen and (max-width: 815px) {
	.span_half {
		margin: 0 .9% 1.5em 1%;
	}
	/* university development's email address is too long at this width. */
	.contact-email {
		display: none;
	}
	.contact-email-tablet {
		display: block;
	}	
}
@media only screen and (max-width: 700px) {
	.subpage_donor .span_half {
		width: 96%;
		margin: 0 2%;
	}
	
	.subpage_donor .span_half img {
		margin: 1.85% auto 0 !important;
	}
	
	#subpage_footer_nav a img {
	    border: 3px solid #fff;
	}
	
	/* Show/hide altenate DTE logo on the Li story page */
	.dte-logo {
		display: none;
	}
	.dte-logo-mobile {
		display: block;
	}
}
@media only screen and (max-width: 685px) {
	/* move "impact stories" intro paragraph to full width */
	#impact .section-wrapper .stories-intro {
		width: 96% !important;
	}
	#impact .section-wrapper .span_left {
		margin-left: 1.85% !important;
	}
	#impact .section-wrapper .span_1 {
		width: 45%;
	}
}
@media only screen and (max-width: 650px) {
	.gvuf_logo {
		clear: both;
	}
	
	#subpage_footer_nav span {
		width: 50%;
	}	
}
@media only screen and (max-width: 600px) {
	.home-bg {
		/* background-image: url(/giving/ar2018/files/img/intro-bg-mobile.jpg); */
	}
	
	.home-bg h1.report-title {
		font-size: 46px;
		margin: 150px 2% 25px;
	}
		
	.col { 
		margin: 2% 0;
	}
	.span_3, .span_2, .span_1, .span_half {
		width: 96%;
		margin: 0 2%;
	}	
	.span_half img {
		margin: 0 auto;
	}
	
	.story {
		line-height: 0; /* something funny was happening where the heading was about 3px outside of the bottom of the image. this fixes that. */
		overflow: visible; /* without this, the story images will disappear */
		margin-bottom: .5em;
	}
	.story > .story-heading {
		line-height: normal;
	}
	
	.story .story-heading {
		width: auto;
		min-width: 246px; /* 260px image width - 16px base line */
	}
	
	.story .overtext {
		font-size: 29px;
	}
	
	.blue-button {
		margin-left: 0;
		margin-right: 0;
		width: 100%;
	}

	h1, .impact h1, .donor h1 {
		margin-left: 2%;
		margin-right: 2%;
	}

	.impact .span_2 .span_1 {
		width: 96%;
	}

	#impact .section-wrapper .span_1 {
		width: 260px;
		margin: 0 auto;
		float: none;
	}
	#impact .section-wrapper .span_left {
		margin: 1% auto !important;
	}
	
	.financial-bg .section-wrapper .financial_image {
		width: 310px;
		margin: 0 auto;
		float: none;
	}
	.financial-source-wrapper {
		height: auto;
		position: static;
		padding-bottom: 20px; 
	}
	p.financial-source {
		position: static;
		padding-top: 5px;
	}
	
	.contact-bg .section-wrapper .span_1 p {
		text-align: center;
	}
	
	
	/* swap email links back at mobile view */
	.contact-email {
		display: block;
	}
	.contact-email-tablet {
		display: none;
	}
	
	.subpage_pullquote {
		margin: 0 auto .75em;
		width: 100%;
		padding: .75em;
		clear: both;
		border-top: 1px solid #ccc;
		border-bottom: 1px solid #ccc;
	}
	
	.intro-button, .financial-button, .donor-button {
		margin-top: 9px;
		margin-bottom: 9px;
	}
	
	#subpage_footer_nav {
		margin-top: 20px;
	}
}