/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

hr {
	background: url(../img/bg_hr.png) repeat-x;
	display: block;
	height: 4px;
	border:0;
    margin: 0 20px 0 24px;
    padding: 0;
    clear:both;
}

img {
    vertical-align: middle;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

li, ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

/* ===== Initializr Styles ==================================================
   Containers:
   ========================================================================== */
   
body, html { height: 100%; }

body {
	background: #e8e6dd url(../img/bg_texture.png);
	color:#5F6062;
	font-family: arial, sans-serif;
}

.wrapper {
    width: 980px;
    margin: 0 auto;
    position: relative;
}

.header-container { 
	background: #004A61 url(../img/bg_texture_top.png);
}

.footer-container {
	background: #111;
}

section {
	margin:20px
}

.left, .right {
	float:left;
}

.left {
	width:30%;
}

.right {
	width:70%;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
   
h1, h2, h3, h4, p {
	font-weight: 300;
	padding: 0;
	margin: 0;
}

h1, h2 {
	font-family: 'Open Sans Condensed', sans-serif;
}

h1 {
	font-size: 4em;
	line-height: 64px;
	margin: 20px 20px 40px 20px;
	font-weight: 700;
	text-transform: uppercase;
	text-align: center;
}

.darker, .lighter { text-shadow: 0px 1px 1px rgba(255,255,255,0.3); }

.darker { color:#003542; }

.lighter { color:#003b4a; }

.logo {
	background-image: url(../img/logo.png);
	background-size: 150px 150px;
	background-position: 0px 30px;
	background-repeat: no-repeat;
	height: 150px;
	width: 150px;
	position: relative;
	left: 50%;
	margin-left: -75px;
	padding-top: 30px;
}


h2 {
	font-size: 2em;
	line-height: 32px;
	line-height: auto;
	font-weight: 700;
	text-transform: uppercase;
	margin:0 20px 20px 24px;
}

h3, p, a {
	font-size: 1em;
	line-height: 1.5em;
	padding: 5px 5px 5px 20px;
	margin-bottom: 2px;
}

h3 {
	font-family: 'Open Sans', sans-serif;
	margin-right: 20px;
	text-transform: uppercase;
	background: rgba(0,0,0,0.05);
	border-left: 4px solid;
}

/* p, a { padding: 5px; } */

.subhead { 
	display: block;
	font-size: 0.75em;
	line-height: 1.2em;
	letter-spacing: 1px;
}

a {
	/* text-decoration: none; */
	display: block;
	float: left;
	clear: left;
}

.no-touch a:hover {
	text-decoration: none;
}

p img {
	width:100%;
	height: auto;
	margin-bottom: 20px;
}

.color-white1 { color: #fff; }
.color-green1 { color: #004A61; }
.color-green2 { color: #71BAAD; }
.color-orange1 { color: #ff6c33; }

.bold {
	font-weight: 600;
}

.clip {
	text-indent: -999px;
	overflow: hidden;
}

.social {
	margin: 60px 20px;
	float: left;
}

.social li {
	margin-right: 20px;
	float: left;
}

.social li a {
	border: none;
	margin: 0;
	padding: 0;
}

.icon {
	background: url(../img/icon_linkedin.png) no-repeat;
	background-size: 32px 32px;
	width:32px;
	height: 32px;
}

.copyright {
	float: right;
	clear:none;
	font-size: 14px;
	border: none;
	padding: 0;
	line-height: 32px;
	margin: 60px 20px;
}

.icon.resume, .icon.mail {
	position: absolute;
	top:30px;
	opacity:0.25;
	padding: 0;
	margin: 0;
}

.no-touch .icon.resume:hover, .no-touch .icon.mail:hover { opacity:1.0; }

.icon.resume { left:20px; }

.icon.mail { right:20px; }

.in { background-image: url(../img/icon_linkedin.png); }

.fb { background-image: url(../img/icon_facebook.png); }

.tw { background-image: url(../img/icon_twitter.png); }

.mail { background-image: url(../img/icon_mail.png?v1.0); }

.resume { background-image: url(../img/icon_resume.png?v1.0); }

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 320px) {

	.wrapper {
        width: 100%;
    }
    
	h1 {
		font-size: 3em;
		line-height: 48px;
	}
    
    .left, .right {
	    width:100%;
    }
    
    .social {
	    margin: 60px 20px 0 20px;
    }
    
    .copyright {
		float: left;
		clear:left;
		line-height:18px;
		margin: 20px 20px 60px 20px;
	}

}

@media only screen and (min-width: 768px) {
	
	.wrapper {
        width: 100%;
    }
    
    h1 {
		font-size: 4em;
		line-height: 64px;
	}
    
    .left {
		width:30%;
	}
	
	.right {
		width:70%;
	}
	
	.social {
	    margin: 60px 20px 0 20px;
    }
    
    .copyright {
		float: left;
		clear:left;
		line-height:18px;
		margin: 20px 20px 60px 20px;
	}

}

@media only screen and (min-width: 1140px) {

	.wrapper {
        width: 1140px;
        margin: 0 auto;
    }
    
    h1 {
		font-size: 4em;
		line-height: 64px;
	}
    
    .left {
		width:30%;
	}
	
	.right {
		width:70%;
	}
	
	.social {
	    margin: 60px 20px;
    }
    
    .copyright {
		float: right;
		clear:none;
		line-height:32px;
		margin: 60px 20px;
	}
	
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
    only screen and (-o-min-device-pixel-ratio: 3/2),
    only screen and (min--moz-device-pixel-ratio: 1.5),
    only screen and (min-device-pixel-ratio: 1.5) {
    
    .logo{ background-image: url(../img/logo@2x.png); }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}