
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}



/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* End CSS reset */

/*Testing elements*/
#infoBox
{
	position: absolute;
	z-index: 13;
    right: 0px;
    top: 0px;
    background-color: yellow;
}
.swatchBox
{
	position: absolute;
	z-index: 3;
    right: 0px;
    top: 50px;
}
#ieWarning
{
    width: 80%;
    padding: 10px;
    padding-right: 10%;
    background-color: white;
    top: 0;
    right: 0;
    z-index: 10;
}
#banner img
{
	width: 100%;
	height: 200px;
	position: absolute;
    top: 0;
    left: 0;
    z-index: 9;
    
}
@media screen and (min-width: 640px)
{
	#banner img
	{
		height: 150px;
	}
	#ieWarning
	{
    	width: 50%;
    	padding-right: 20%;
    }
}
@media screen and (min-width: 1170px)
{
	#banner img
	{
		height: 130px;
	}
	#ieWarning
	{
    	width: 30%;
    	padding-right: 30%;
    }
}
/*End testing elements*/


/*Global Styles */
body
{
	background-color: #fff;
}
a:link, a:visited, a:hover
{
color: #3044dc;
text-decoration: none;
}
a:active
{
color: #1024bc;
}

h1, h2, h3
{
	font-family: 'Roboto', sans-serif;
	font-style: bold;
	color: #000;
	opacity: .87;
}
p
{
	font-family: 'Roboto', sans-serif;
	color: #000;
	opacity: .87;
}


/*Layout Styles*/
header
{
	background-color: #2196f3;
	box-shadow: 0 3px 3px -2px rgba(0,0,0,0.12), 0 3px 2px -2px rgba(0,0,0,0.24);

}
header h1
{
	padding: 80px 7.5%;
	font-style: italic;
	font-size: 56px;
	color: #fff;
	opacity: 1;
	
}


nav
{
	position: -webkit-sticky; /* Safari */
	position: sticky;
	top: 60px;
	-ms-transform: translateY(-26px); /* IE 9 */
	transform: translateY(-26px); /* Standard syntax */
	z-index: 100;

	float: right;
	margin-right: 15%;
	margin-bottom: -100px; /*This is needed to keep the imgBox from being displaced by the Nav*/

	display: block;
	background-color: #00675b; /*Currently dark teal, used to be Teal 500, 009688*/
	width: 52px;
	height: 52px;
	border-radius: 50%;


	box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
	-webkit-transition-property: -ms-transform, -webkit-transform, transform;
	-webkit-transition-duration: 0.5s;
	-webkit-transition-timing-function: ease-in-out;
	transition-property: -ms-transform, -webkit-transform, transform;
	transition-duration: 0.5s;
	transition-timing-function: ease-in-out; 

	/*Material Level 2*/
	box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
	-webkit-transition-property: z-index, box-shadow, -ms-transform, -webkit-transform, transform;
	-webkit-transition-duration: 0.25s;
	-webkit-transition-timing-function: ease-in-out;
	transition-property: z-index, box-shadow, -ms-transform, -webkit-transform, transform;
	transition-duration: 0.25s;
	transition-timing-function: ease-in-out;


	
}

nav:hover
{
	/*Material Level 3*/
	/*z-index: 4;*/
	box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);

	-ms-transform: translateY(-28px); 
	-webkit-transform: translateY(-28px); 
	transform: translateY(-28px);
}
nav a
{
	margin: 0;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}


article
{
	
	background-color: #E3F2FD;
	margin: 120px 12.5% 180px; /*Top, both sides, bottom*/
	border-radius: 2px;
	max-width: 1920px;
	
/*Material Level 1*/
	/*z-index: 2;*/
	box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
	
}
article h2
{
	font-size: 32px;
	padding: 60px 120px;
}
.centered
{
	display: block;
	margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    /*Material Level 1*/
	/*z-index: 2;*/
	box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

/*imgBox is the Flex container on the main pages.
 *slideBox is the Slick container on the project pages.
 *photoGrid is the Flex container for the nav images on the project pages.*/




#imgBox
{

	display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: flex;
    
    -webkit-flex-flow: row wrap;
    -moz-flex-flow: row wrap;
    -ms-flex-flow: row wrap;
   	flex-flow: row wrap;

	-webkit-justify-content: center;
	-moz-justify-content: center;
	-ms-justify-content: center;
	justify-content: center;


}
.imgSquare
{
	margin: 20px;
	background-color: #fff;

	border-radius: 2px;
	flex-grow: 1;
	position: relative;

	/*Material Level 2*/
	/*z-index: 3;*/

	box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
    -webkit-transition-property: z-index, box-shadow, -ms-transform, -webkit-transform, transform;
  	-webkit-transition-duration: 0.33s;
  	-webkit-transition-timing-function: ease-in-out;
  	
  	transition-property: z-index, box-shadow, -ms-transform, -webkit-transform, transform;
  	transition-duration: 0.33s;
  	transition-timing-function: ease-in-out;  	
}
.imgSquare img
{
	/*border-radius: 15px 45px;*/
	border-radius: 2px 2px 0 0;
	width: 100%;
	height: auto;
	
}
.imgSquare a
{
	display: block;
	overflow: hidden; /*This used to be overflow: auto;, but I changed it because IE*/
	width: 100%;
}

.imgSquare:hover
{
	/*z-index: 4;*/
	

	box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
	
	-ms-transform: translateY(-3px); 
    -webkit-transform: translateY(-3px); 
    transform: translateY(-3px);
}

/* @media screen and (min-width: 820px) { */

.imgSquare
{
	max-width: 100%;
}
@media screen and (min-width: 1096px)
{
	.imgSquare
	{
		max-width: 42%;
	}
	}
@media screen and (min-width: 1632px)
{
	.imgSquare
	{
		max-width: 28%;
	}
}




#slideBox
{
	margin: 0 10%;
	background-color: #fff;
	border-radius: 2px;
	
	
	/*Material level 2*/

	box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}
.slide
{
	width: 100%;
	height: auto;
	border-radius: 2px;
	
}

.slide img
{
	width: 100%;
	height: auto;
	border-radius: 2px 2px 0 0;
}
.slide a
{
	padding-top: 10px;
	padding-right: 10px;
	float: right;

}
.slide a img
{
	border-radius: 0;

}

.caption
{
	color: #000;
	padding: 16px 0;
	margin-left: 10%;
	background-color: #fff;
	text-align: center;	
	width: 80%;
	float: left;
}

#photoGrid
{
	display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: flex;
    
    -webkit-flex-flow: row wrap;
    -moz-flex-flow: row wrap;
    -ms-flex-flow: row wrap;
   	flex-flow: row wrap;

	-webkit-justify-content: center;
	-moz-justify-content: center;
	-ms-justify-content: center;
	justify-content: center;


}
.tile
{
	margin: 20px;
	background-color: #fff;
	
	border-radius: 2px;
	flex-grow: 1;
	position: relative;

	/*Material Level 2*/
	/*z-index: 3;*/

	box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
    -webkit-transition-property: z-index, box-shadow, -ms-transform, -webkit-transform, transform;
  	-webkit-transition-duration: 0.33s;
  	-webkit-transition-timing-function: ease-in-out;
 
  	transition-property: z-index, box-shadow, -ms-transform, -webkit-transform, transform;
  	transition-duration: 0.33s;
  	transition-timing-function: ease-in-out;  	
}
.tile img
{
	/*border-radius: 15px 45px;*/
	border-radius: 2px;
	width: 100%;
	height: 100%;	
}
.tile:hover
{
	/*z-index: 4;*/
	

	box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
	
	-ms-transform: translateY(-3px); 
    -webkit-transform: translateY(-3px); 
    transform: translateY(-3px);
}



/* @media screen and (min-width: 820px) { */
.tile
{
	max-width: 42%;
}
@media screen and (min-width: 960px)
{
	.tile
	{
		max-width: 27%;
	}
}
@media screen and (min-width: 1220px)
{
	.tile
	{
		max-width: 20%;
	}
}
@media screen and (min-width: 1480px)
{
	.tile
	{
		max-width: 15%;
	}
}

section
{
	padding: 60px 120px;
}
section p
{
	padding-bottom: 16px;
}
section h3
{
	font-size: 24px;
	padding-bottom: 32px;
}
footer
{
	
	background-color: #2196f3;
	/*The following two lines give the footer an expanding height to fit any content in it*/
	overflow: auto;
	width: 100%;
	
	 /*Material Level 1*/
	/*z-index: 2;*/
	/*-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);	
	-moz-box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
	box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);*/
}
footer ul
{
	float: right;
	display: inline;
	margin-right: 5%;
}
footer p
{
	display: inline;
	float: left;
	margin-left: 10px;
	margin-top: 67px;
	color: #fff;
	opacity: 1;
}
footer li, footer a
{
	display: inline;
	float: left;
	padding: 0;
	margin: 0;	
}
footer li
{
	margin: 10px 20px;
	background-color: #e0f2f1; /*This is the 50 Teal*/
	
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;	
	 /*Material Level 1*/
	/*z-index: 2;*/
	box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
		
    -webkit-transition-property: z-index, box-shadow, -ms-transform, -webkit-transform, transform;
  	-webkit-transition-duration: 0.25s;
  	-webkit-transition-timing-function: ease-in-out;
  	-moz-transition-property: z-index, box-shadow, -ms-transform, -webkit-transform, transform;
  	-moz-transition-duration: 0.25s;
  	-moz-transition-timing-function: ease-in-out;
  	-o-transition-property: z-index, box-shadow, -ms-transform, -webkit-transform, transform;
  	-o-transition-duration: 0.25s;  	
  	-o-transition-timing-function: ease-in-out;
}
footer li:hover
{
	/*Material Level 2*/
	/*z-index: 3;*/
	box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
	
	-ms-transform: translateY(-2px); 
    -webkit-transform: translateY(-2px); 
    transform: translateY(-2px);
}
footer img
{
	padding: 10px;
}

/*Tablet layout*/
@media screen and (max-width: 854px)
{
	article
	{
		margin: 5%;
	}
	

	
	article h2
	{
		margin: 0;
		padding: 60px 0;
		text-align: center;
		
	}
	#slideBox
	{
		margin: 0 5%;
	}
	#photoGrid
	{
		display: none;
	}
	section
	{
		padding: 60px 10%;
	}
	
}

/*Phone layout*/
@media screen and (max-width: 480px)
{
	


	article * 
	{
		-webkit-transition-property: opacity, background-color;
  		-webkit-transition-duration: 0.5s;
  		-webkit-transition-timing-function: ease-in-out;
		transition-property: opacity, background-color;
	  	transition-duration: 0.5s;
	  	transition-timing-function: ease-in-out; 
	}
	nav li
	{
		width: 250px;
		display: block;
	}
	article
	{
		margin: 0;
		overflow: hidden;
	}
	#slideBox
	{
		margin: 0 20px;
	}

	footer p
	{
		margin: 10px;
		padding: 0;
		float: right;
		display: block;
	}
	footer ul
	{
		display: block;
	}
	footer li
	{
		margin: 8px;
	}
	
	
}