/* CSS Document */

@import url(http://fonts.googleapis.com/css?family=Open+Sans:300italic,700italic,700,300);

body { color: #555; font-family: "Open Sans", sans-serif; font-size: 16px; font-weight: 100; margin: 0; padding: 0; }


#page { max-width: 2200px; margin: 0 auto; position: relative; }

/* Text */


h1 { margin: 0 0 1em 0; font-size: 2.0em; font-weight: 700; }
h2 { margin: 0 0 .5em 0; font-size: 1.4em; font-weight: 700; line-height: 1.1em; }
h3 { margin: 0 0 0 0; font-size: 1em; font-weight: 400; color: #000; font-family: "Arial"; line-height: 1.1em,}
h4 { margin: 0 0 0 0; font-weight: 700; }
strong { font-weight: bold; }

p { margin: 0 0 1em 0; }

a { color: #007eff; }
a:visited { color: #007eff; }

a.btn { font-size: 1.2em; text-decoration: none; color: #fff; border: 1px solid #fff; padding: 4px 15px; }

/* Logo */
/* Logo will be the "FIU Seagrass Ecosystems Research Lab" text ?? */
/* Because "Hero" nav element is above the banner but behind the shaded nav ribbon */
/* Thinking for smallest screen size, put social media icons center of "FIU SERL" and nav ribbon, within "Logo" */

/* Header */
header { height: 300px; width: 100%; margin: 0; padding: 0px; background: #23576d url(/images/WebBanner3.png) no-repeat center center; position: relative; }
header a.logo { 
	position: absolute; display: block; width: auto; height: 66px; z-index: 1; top: 15px; left: 20px;
	line-height: 1em; margin: 0 0 30px 0; color: #fff;
	font-size: 2.0em; font-weight: 700;	
	}
header a.logo span { display: none; }

/* Navigation */
nav {
	background-color: rgba(0,0,0,.65);
	position: relative;
	padding: 50px 0px 0px 0px;
	margin: 0 0px 0 -200px;
	}
	
nav h1 {
	padding: 0px 220px;
	margin: -10px 0px 15px 0px;
	line-height: 1em; color: #fff; font-size: 2.0em; font-weight: 700;
}

nav h1 a { text-decoration: none; color: #fff; }

nav a.mobile_menu {
	width: 32px; height: 32px;
	background: url(/images/icon_menu.svg) no-repeat 0 0;
	background-size: contian;
	position: absolute; top: 22px; left: 50%; margin-left: -16px;
	display: none;
}
	
nav a:visited { color: #fff; }

nav::after { content:''; display: block; clear: both;}
	
nav ul { list-style: none; margin: 0px 0px; padding: 0px; }
nav ul::after { content: ""; display: block; clear: both; }

nav ul li:hover { background-color: rgb(58,124,89); }
nav ul li:hover > ul { display: block; }

/* Padding changes where the arrows fall, keep width:auto */
nav ul li a { display: inline-block; color: #fff; padding: 10px 30px 10px 20px; text-decoration: none; width: auto; position: relative; }
nav ul li a:hover { background-color: rgb(58,124,89); }

nav ul ul { display: none; position: absolute; top: 100%; background-color: rgba(0,0,0,.65); }
/* Controls black shadow first and second levels */
nav ul ul li { position: relative; }
/* Controls black shadow second level only - width controls width of second level only */
nav ul ul ul { left: 100%; top: 0; width: 300px;}

ul li a i {
	color: #fff;
	width: 40px;
	font-size: 40px;
	text-align: center;
}


/* top level */

nav > ul { padding-left: 200px; }
nav > ul > li { float: left; }
nav > ul > li > a { padding: 10px 20px 15px 20px; width: auto; }

nav a[aria-haspopup="true"]::after {
	content:'';
	display: block;
	width: 0;
	height: 0;
	position: absolute;
	border-top: 4px solid transparent;
	border-bottom: 4px solid transparent;
	border-left: 4px solid #fff;
	right: 15px;
	top: 16px;
}
nav > ul > li > a[aria-haspopup="true"]::after {
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 4px solid #fff;
	left: 20px;
	bottom: 6px;
	right: auto;
	top: auto;
}
nav > ul > li > a[aria-haspopup="true"]::after {
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 4px solid #fff;
	left: 20px;
	bottom: 6px;
	right: auto;
	top: auto;
}

img {
	max-width: 40%;
	height: auto;
}

.img-circle { border-radius: 50%; max-width: 70%; height: auto; position: relative; }

th, td { padding: 30px; }

	/* Make photo the first child for every other table starting with Tom */
	/* Large screens: Display second and third children only */
	/* Small screens: Display first and second children only */
	/* Added complication is % width of children */
	/* Large screens: Use CSS to give width=0% to first child only */
	/* Small screens: Use CSS to give width=0% to third child only */
	
	table.annoyingreorder tr td:first-child { width: 0%; display: none; }

}	



/* Media Queries */


@media screen and (max-width: 900px) { 

	h1 { font-size: 2.2em; }

	/* Header */
	header { height: 300px; background-image: url(/images/webbanner3_900.png); }
	header div.hero { top: 120px; left: 48%; }
		
	nav ul li a i {	color: #fff; width: 40px; font-size: 0px;
	text-align: center;	padding: 0px 0px 0px 0px; margin: 0px -15px 0px -15px; }
	
	nav > ul > li > a { padding: 10px 13px 15px 13px; width: auto; }

	img { max-width: 60%; height: auto;	}
	
	th, td { padding: 20px; }

}

@media screen and (max-width: 700px) {
	
	h1 { font-size: 2em; }

	target h1 { font-size: 2em; }
	
	nav h1 { padding: 0px 0px;	margin: -15px -10px 10px 0px; width: 400px; 
	line-height: 1em; color: #fff; font-size: 1.2em; font-weight: 700; }	

	header { height: auto; min-height: 160px; background-image: url(/images/webbanner3_700.png); 
	background-position: center center; }
	
	p { font-size: 0.9em; }
	
	header a.logo {	width: 125px; height: 52px;	left: 10px; top: 10px; }
	
	nav { margin: 0px 0px 15px 0px;
	padding: 50px 15px 20px 15px; background-color: rgba(52,52,52,1); 
	height: 0px; overflow: hidden; }
	
	nav a.mobile_menu { display: block; }
	
	nav ul, nav ul ul, nav ul ul ul { display: block; position: static; }
	nav > ul { padding: 0px; }
	nav > ul > li { float: none; margin-top: 25px; }
	nav ul li:hover { background: none; }
	
	nav ul li a:hover { background-color: rgba(255,255,255,.2); }
	
	nav ul ul { background: none; }	
	nav ul ul li a { margin-left: 30px; }
	nav ul ul ul li a { margin-left: 60px; }
	nav a[aria-haspopup="true"]::after { display: none; }
	
	td { display: table-row; position: relative; }
				
	table.annoyingreorder tr td:first-child { width: 30%; display: initial; }
	
	table.annoyingreorder tr td:last-child { width: 0%; display: none; }
	
}
	



@media screen and (max-width: 475px) {

	header { min-height: 125px; background-image: url(/images/WebBanner3_475.png);
	background-position: center center;}
	header a.logo { width: 126px; height: 26px; background-image: url(); top: 15px; }
	
	h1 { font-size: 1.6em; }
	
	nav h1 { padding: 0px 0px;	margin: -20px -10px 10px 0px; width: 200px; 
	line-height: 1em; color: #fff; font-size: 0.95em; font-weight: 700;
	}
	
	h2 { font-size: 1.2em; }
	
	p { font-size: 0.85em; }

	nav { margin: 0px 0px 15px 0px;
	padding: 50px 15px 20px 15px; background-color: rgba(52,52,52,1); 
	height: 0px; overflow: hidden; }
	
	img {
	max-width: 80%;
	height: auto;
}


}

@media screen and (max-width: 300px) {

	nav h1 { font-size: 0.80em;	}
	
}




/* Nav */

nav { padding-top: 30px; }
nav a.mobile_menu { left: auto; right: 40px; top: 8px; margin-left: 0px; }

































