/********* HTML Reset *********/

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
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;
}
	
/* BEGIN MY CSS CODE
-----------------------------------------------------------------------*/
/**
accent text: #379E7D
text: black
background: black
wrapper: white
accent backgrounds: #003e8e

**/

/* body styles ***************************/
body{
	background-color: #000;
	font-family: 'Roboto', sans-serif;
    line-height: 1.3;
	letter-spacing: 0.4px;
}

/* flex grid styles ***************************/
#wrapper{
	width: 90%;
	margin: auto;
}

p{
	margin: 4% 0;
}

.pageTitle{
	position: relative;
	width: 100%;
	height: 250px;
}

.title{
	position: absolute;
	top: 50%;
	left: 50px;
	transform: translate(0, -50%);
}
		
.nav-item{
	margin-left: -1.5em;
}

nav{
	width: 102%;
    margin-left: -2.5%;
}

#header{
    margin-top: 2%;
}

.section-header{
    width: 82.5%;
    margin-left: 5%;
	height: 25px;
}

#chpic{
	float: right;
	max-width: 30%;
	margin: 4% 1%;
}

footer{
	clear: both;
	width: 100%;
    margin-bottom: 5%;
}

footer p{
    margin-bottom: 2%;
}

footer ul{
    width: 100%;
    margin: auto;
}

img{
	width: 100%;
}

article{
	margin: 2% 0 4%;
}

#gallery{
    margin: 10% 0;
}

.gallery-header{
    margin: 5% 0 2%;
}

.project-header{
    margin: 5% 0 2% -2.5%;
    width: 102.5%;
}

.project-header .icon {
    max-width: 10%;
}

.icon{
    clear: left;
	float: left;
	margin: 2%;
	max-width: 10%;
}

.gallery-section figure {
    margin: 0;
    padding: 0;
    width: 33%;
    float: left;
}

#java, #csharp, #python, #html, #writing, #powerpoints {
	clear: left;
	width: 98%;
	margin: 1%;
}

.gallery-section {
	clear: left;
	width: 98%;
	margin: 1%;
}

#chresume {
    max-width: 90%;
}


/* typographic styles ***************************/
h2{
	color: #003e8e;
	font-size: 1.6em;
    text-align: left;
}

.pageTitle{
	text-align: left;
	background-color: black;
	background-image: url(banner.jpg);
	background-size: cover;
	background-repeat: no-repeat;
}

.title{	
	font-family: sans-serif;
	font-size: 2.2em;
	color: #FFF;
}
		
.nav-item{
	display: inline-block;
	padding: 0 4.5%;
	font-size: 1em;
}

.nav-item a:link, .nav-item a:visited{
	color: #FFF;
	text-decoration: none;
}

nav{
	background-color: #003e8e;
	padding: 2% 0 2% 3%;
	text-align: center;
}

.section-header{
    border-bottom: 2px solid #003e8e;
	padding: 3% 0 3% 7%;
}

#main-section{
    background-color: #FFF;
    
}

#sidebar{
    background-color: rgb(230, 230, 230);
	letter-spacing: 0.4px;
    padding: 1% 2% 0;
}

footer{
    padding-top: 0.5%;
	background-color: #003e8e;
	color: #FFF;
}

footer p{
	text-align: left;
    font-size: 0.8em;
}

footer ul{
	text-align: center;
    padding: 2% 0 2% 3%;
    border-top: 1px solid #000;
	list-style: none;
}

footer .nav-item{
    padding: 0 4%;
	font-size: 1em;
}

img{
	padding: 0 6%;
}

p{
	padding: 2% 6%;
}

#gallery{
    background-color: #FFF;
    padding: 2%;
}

.gallery-header, .project-header{
    background-color: #003e8e;
    color: #FFF;
    padding: 1%;
}

figure p{
    font-size: 0.9em;
}

a:link, a:visited{
	color: black;
	text-decoration: none;
}

a:hover, a:active{
	color: #003e8e;
	text-decoration: none;
}

/*-  SELF-CLEARING FLOATS
----------------------------------------------------------------------*/
.mod:after,
.section:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
.mod,
.section {
	zoom: 1;
}

