@charset "utf-8";

/*********************
CLEARFIXIN'
*********************/

.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
 
.clearfix {
	display: inline-block;
}
 
html[xmlns] .clearfix {
	display: block;
}
 
* html .clearfix {
	height: 1%;
}

/*********************
OVERALL SITE STYLING
*********************/

body {
	font: 87.6% 'Raleway', Arial, Helvetica, sans-serif;
	color: #666;
	background: #F1F1F4;
	margin: 0px;
	padding: 0px;
	line-height:130%;
}

h1, h2, h3, h4, h5 {
	margin: 0;
}

h2 { 
	font-family: 'Lobster', Arial, Helvetica, sans-serif;
	font-size: 26px;
    font-weight: 400;
    letter-spacing: 1px;
}

h3 {
	font-size:1.2em;
	margin: 12px 0 3px;
}

p {
	margin:0em 0em .75em;	
}

a:link,a:visited {
	color:#1893CC;
	text-decoration:none;
	transition: color 0.5s ease;
}

a:hover,a:active {
	color:#05acfa;
}

img {
	border-style:none;
	max-width: 100%;
}

.accessible { position: absolute; text-indent: -9999px; }

::selection {
	background: #7ecff3; /* Safari */
	}
::-moz-selection {
	background: #7ecff3; /* Firefox */
}

.wrap {
	margin: 0 auto;
	padding: 0 15px;
	width: 92%; 
	max-width: 1024px;
	list-style: none;
	display: block;
	position: relative;
}

/*********************
HEADER
*********************/
#header {
	margin: 0 auto;
	padding: 10px 0 12px;
	background: #1D1D1D;
	text-align: left;
	color: #AAA;
	width: 100%;
	position: fixed;
	top: 0;
	z-index: 100;
}

#header .wrap { padding-top: 28px; }

.site-title {
	font-family: 'Lobster', Arial, Helvetica, sans-serif;
	display: inline-block;
    font-size: 50px;
    font-weight: 400;
    letter-spacing: 1.75px;
    line-height: 1em;
	color: #35c2f2;	
}

.site-title span {
	color: #fafafa;	
}

#logo { 
	float: left; 
	max-width: 300px; 
}
.subtitle { 
	font-family: 'Raleway', Arial, Helvetica, sans-serif;
	float: right; 
	position: relative; 
	padding: 0; 
	margin-top: 27px; 
	color: #fafafa; 
	border-bottom: 0; 
	font-size: 21px; 
}
.subtitle span { color: #35c2f2; }


/*********************
CONNECT
*********************/
#connect { position: absolute; top: 10px; right: 15px;  }
#connect ul { list-style: none; padding: 0; margin: 0; }
#connect li { float: left; margin-left: 7px; }
#connect li a:link,
#connect li a:visited {
	opacity: 1.0;
	filter: alpha(opacity=100); /* For IE8 and earlier */
	transition: opacity 0.5s ease;
}

#connect li a:hover,
#connect li a:active {
	opacity: 0.8;
	filter: alpha(opacity=80); /* For IE8 and earlier */
}

/*********************
MAIN
*********************/
#main { margin-top: 220px; }

#headline { 
	text-align: center; 
	width: 640px; 
	max-width: 92%; 
	margin: 0 auto;  
}
#headline h3 { 
	font-family: 'Lobster', Arial, Helvetica, sans-serif;
	font-size: 40px; 
	line-height: 1.3em; 
	letter-spacing: 1.25px;
	font-weight: 400;
	margin-bottom: 14px;
}
#headline p { font-size: 18px; line-height: 140%; }

/*********************
PORTFOLIO
*********************/
#portfolio {
	position:relative;
	margin: 50px auto;
}

#portfolio-section { margin: 0 auto;}
#portfolio-section ul { list-style-type: none; padding: 0; margin: 0; }
#portfolio-section li { float: left; width: 30.5%; margin-right: 3.8%; margin-top: 15px; margin-bottom: 15px; }
#portfolio-section li:nth-child(3n) { margin-right: 0; }
#portfolio-section li:nth-child(3n + 1) { clear: both; }
#portfolio-section li img { 
	width: 100%; 
	height: auto;  
	position: relative; 
	border: 6px solid #FFFFFF;
    box-shadow: 1px 1px 4px #888888;
	transition: opacity .5s ease; 
}
#portfolio-section li img:hover { opacity: .80; }


/*********************
ABOUT
*********************/
#about {
    background: none repeat scroll 0 0 #1893CC;
    border-top: 1px solid #207AA2;
    color: #e9f1f5;
    font-size: 16px;
    line-height: 1.5em;
    padding: 50px 0;
	margin-top: 80px;
}

#about a:link,
#about a:visited {
	color:#d7edf8;
	text-decoration:none;
}

#about a:hover,
#about a:active {
	color:#FFF;
}


#about .wrap {
	clear: both;
	padding-top: 10px;
	padding-bottom: 10px;
	display: table;
}

#about h2 { 
	margin-bottom: 8px; 
	padding-top: 7px;  
}

#about .erin {
	border-right: 1px solid #85c6e6;
	display: table-cell;
    float: none;
    padding: 0 2% 0 0;
    width: 50%;
}
#about .skills {
	display: table-cell;
    float: none;
    padding: 0 0 0 2%;
    width: 50%;
}

#footer.wrap {
	border-top: 1px solid #85c6e6;
	text-align:center;
	margin-top: 15px; 
	padding:20px 0px;
	font-size:.875em;
	clear: both;
}

/* Devicification
============================================================================ */
@media only screen and (max-width : 768px) {
	
	#logo { width: 250px; margin-top: 7px; }
	.subtitle { font-size: 18px; }
	
	#portfolio-section ul {}
	#portfolio-section li { width: 46%; margin-right: 6%; }
	#portfolio-section li:nth-child(3n) { margin-right: 6%; }
	#portfolio-section li:nth-child(3n + 1) { clear: none; }
	#portfolio-section li:nth-child(even) { margin-right: 0; }
	#portfolio-section li:nth-child(odd) { clear: both; }
	#portfolio-section li img {}
	
	
	#about .erin {
		border-bottom: 1px solid #85C6E6;
		border-right: 0 none;
		padding: 0 0 15px;
		width: 100%;
		display: block;
	}
	
	#about .skills {
		display: block;
		padding: 35px 0 0;
		width: 100%;
	}

}

@media only screen and (max-width : 610px) {
	
	#header { 
		position: relative; 
		text-align: center;
	}
	
	#header .wrap {
		padding-top: 10px;
	}
	
	#main { 
		margin-top: 30px; 
	}
	
	#logo {
		display: block;
		float: none;
		margin-bottom: 0;
		margin-left: auto;
		margin-right: auto;
		width: 250px;
	}
		
	.subtitle {
		display: block;
		float: none;
		font-size: 18px;
		margin: 12px auto 0;
		text-align: center;
	}
	
	
	#connect {
		display: block;
		position: relative;
		text-align: center;
		top: 10px;
		right: 7px; 
		margin-bottom: 5px;
	}
	
	#connect li {
		float: none;
		display: inline;
		margin-left: 3px;
	}
	#connect li:first-child { margin: 0 3px 0 0; }
	
	#portfolio-section li,
	#portfolio-section li:nth-child(3n),
	#portfolio-section li:nth-child(even) {
		display: block;
		float: none;
		margin: 15px auto;
		position: relative;
		width: 90%;
	}
	
	#portfolio-section > h2 { width: 90%; margin: 0 auto; }
	
	#about {
		margin-top: 0;
	}
	
	#about .erin, #about .skills {
		width: 90%;
		margin: 0 auto;
			
	}
	
}

@media only screen and (max-width : 480px) {
	#headline h3 { font-size: 26px; }
}

@media only screen and (max-width : 390px) {
	.wrap { width: 88%; }
	.site-title {
		font-size: 45px;	
	}
}
