/* -------------------------------------------------- 
   Table of Contents
-----------------------------------------------------
:: Browser Resets
:: Main Structure
:: Sub Structure
:: Universal Classes
:: Media Queries

*/


/*    --------------------------------------------------
    :: Browser Resets
    -------------------------------------------------- */

h1, h2, h3, h4, h5, h6 { font-weight:400; margin:0; }	
h1 { 
	color: #243f5bb; 
	font-size: 36px; 
	line-height:48px; 
	}
h2 { 
	color: #2f4e6e; 
	font-size: 32px; 
	line-height:44px; 
	}
h3 { 
	color: #0f1f30; 
	font-size: 18px; 
	font-weight: 700; 
	line-height:25px; 
	}
h4 { 
	color: #0f1f30; 
	font-size: 16px; 
	font-weight: 700; 
	line-height:25px; 
	}
h5 { 
	color: #0f1f30; 
	font-size: 15px; 
	line-height:25px;  
	}
h6 { color: #0f1f30; font-size: 14px; }
	
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { font-weight:inherit; }

    


/* Elements */

a { 
	color:#248479; 
	font-weight:bold; 
	line-height:inherit; 
	text-decoration:none;
    transition: all 0.35s ease-in-out; }
	
a:hover { color:#30c2a5; }

em, i { font-style:italic; line-height: inherit; }

hr { 
	border: 0; 
	border-bottom: 1px solid #edecec; 
	clear: both; 
	height: 0; 
	display:block; 
	margin:30px 0; }

li { line-height: 18px; margin:16px 0; }

p { line-height:28px; margin:20px 0; }

small { font-size: 60%; line-height: inherit; }

strong, b { font-weight:700; line-height:inherit; }

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

:focus {outline: 0;}

/* Forms */

form { color:inherit; font-family:inherit; margin:0;}

form .row .row {
  margin: 0 -0.5em; }
  form .row .row .column,
  form .row .row .columns {
    padding: 0 0.5em; }
  form .row .row.collapse {
    margin: 0; }
    form .row .row.collapse .column,
    form .row .row.collapse .columns {
      padding: 0; }
    form .row .row.collapse input {
      -moz-border-radius-bottomright: 0;
      -moz-border-radius-topright: 0;
      -webkit-border-bottom-right-radius: 0;
      -webkit-border-top-right-radius: 0; }
form .row input.column, form .row input.columns, form .row textarea.column, form .row textarea.columns { padding-left: 0.5em; }

input, select, textarea { 
	color:inherit;
	margin:2px 0;
	font-family:inherit;
	vertical-align:middle; }
	
input[type=text], textarea { 
	background:#f5f4f1; 
	border:1px solid #d5d4d0; 
	border-radius: 4px; 
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px; 
	box-sizing: border-box; 
	-moz-box-sizing: border-box; 
	-webkit-box-sizing: border-box; 
	color:#53524e; 
	font-family:'LiberationSansItalic', Arial, Helvetica, sans-serif; 
	font-size:12px; 
	font-style:italic; 
	padding:5px 10px; 
	transition: background-color 0.45s, border-color 0.45s ease-in-out; 
	-moz-transition: -moz-background-color 0.45s, border-color 0.45s ease-in-out; 
	-webkit-transition: -webkit-background-color 0.45s, border-color 0.45s ease-in-out;	}
	
input[type-text]:focus, textarea:focus { background: #fff; border-color: #ec8f56; outline: none; }

input[type="file"], input[type="checkbox"], input[type="radio"], select { margin: 0 0 10px 0; }

input[type="file"] { width: 100%; }

select {
    color: #53524e;
    font-size: 13px;
    font-style: italic;
    padding: 5px;
    width:auto; }
    
option { line-height:26px; margin:8px 0; }

/* Tables */
table { width:100%; }

caption, th, td { font-weight: normal; }
	
@media only screen and (max-width: 100%) and (min-width: 768px) {
    table tbody tr td { padding:2% 0; }
    table tr td input { padding:2% 0; }

/* Print styles - Credit to Paul Irish and HTML5 Boilerplate (html5boilerplate.com) */
.print-only { display: none !important; }
@media print {
    	* { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important;
    	-ms-filter: none !important; } /* Black prints faster: sanbeiji.com/archives/953 */
    	p a, p a:visited { color: #444 !important; text-decoration: underline; }
    	p a[href]:after { content: " (" attr(href) ")"; }
    	abbr[title]:after { content: " (" attr(title) ")"; }
    	.ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
    	pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
    	thead { display: table-header-group; } /* css-discuss.incutio.com/wiki/Printing_Tables */
    	tr, img { page-break-inside: avoid; }
    	@page { margin: 0.5cm; }
    	p, h2, h3 { orphans: 3; widows: 3; }
    	h2, h3{ page-break-after: avoid; }
    	.hide-on-print { display: none !important; }
    	.print-only { display: block !important; }
    }
}


/* -----------------------------------------
   Define Main Structure
----------------------------------------- */
body {
	color:#0f1f30;
	font-family: 'Raleway', sans-serif;
	font-size:18px;
	line-height:28px;
	margin:0;
	padding:0; }


#home-header {
	background:url(../images/bg-header.png) repeat #102433;
	background-attachment: fixed;
	height:100%;
	min-height:100px;
	position:relative;
	width:100%;
	/*z-index:-100;*/ }
	
	.logo {
		display:block;
        height:50px; 
        position:fixed;
        top:25px;
    }
	.logo-icon {
		animation:drop 0.5s;
		-webkit-animation:drop 0.5s;
		-moz-animation:drop 0.5s;
		-ms-animation:drop 0.5s;
		display:block;
		margin:auto;
		position:fixed;
		top:10px; right:0; left:0;
		z-index:100!important; }
		@keyframes drop {
			0% { opacity: 0; transform: scale(2); }
			100% { opacity: 1; transform: scale(1); }
			}
			@-webkit-keyframes pop-in {
			0% { opacity: 0; -webkit-transform: scale(2); }
			100% { opacity: 1; -webkit-transform: scale(1); }
			}
			@-moz-keyframes pop-in {
			0% { opacity: 0; -moz-transform: scale(2); }
			100% { opacity: 1; -moz-transform: scale(1); }
			}
			@-ms-keyframes pop-in {
			0% { opacity: 0; -moz-transform: scale(2); }
			100% { opacity: 1; -moz-transform: scale(1); }
			} 
		
.tagline { 
	background:#fff;
	border-top: 5px solid #30c2a5;
	min-height:325px;
	/*padding:120px 0;*/
	position:relative;
	text-align:center;
	/*z-index:0;*/ }
	.tagline hr { 
		background:url(../images/hr-triangle.png) no-repeat top center; 
		border:0; 
		height:4px; 
		margin:30px 0 30px 0; }
	
	.intro-below {
	height:80px;
	position:relative;
	z-index:0; }
	
	.intro-above { 
		background:#fff;
		padding:40px 0 120px 0;
		position:relative;
		z-index:300!important; }
    .intro-paragraph {
        margin:20px auto 0 auto;
        max-width:620px;
        /*text-align:left;*/
    }
	nav {
        color:#fff;
        font-size:18px;
        font-weight:bold;
        position:fixed;
        top:32px;
        text-align:right;
        text-transform:uppercase;
        width:100%;
    }
    nav a {
        color:#fff;
    }

.icons-container { 
	background:url(../images/bg-parallax.png) repeat #e8e7e7;
	background-attachment:fixed; 
	border-top: 5px solid #30c2a5;
	min-height:300px; 
	overflow: hidden;
	position:relative;
	z-index:100;
	 }

#content1 {
	background:#fff;
	border-top: 1px solid #d7d7d7;
	padding:120px 0;
	position:relative;
	width:100%;
	z-index:200; }
	
	#content1 hr, #content2 hr { 
		background:url(../images/hr-triangle.png) no-repeat top center; 
		border:0; 
		height:4px; 
		margin:90px 0 100px 0; }

	.philosophy, .process, .skills, .experience { margin:60px 0 0 0; position:relative; width:100%; }
		.philosophy h3 { margin:30px 0; }		
		.process p { margin:0 0 15px 0; }
        .process .define { margin-top:24px; }
        .skills h3 { display:inline; }
        

#content2 {
	background:#fff;
	border-top: 1px solid #d7d7d7;
	padding:120px 0;
	position:relative;
	width:100%;
	z-index:200; }
		
	#content2 h2 { margin:0 0 30px 0; }
	.work li a { color:#fff; }
	.work .two-up, .work .three-up, .work .four-up { 
		display:table;
		margin:0;
		padding:0;
		position:relative;
		width:100%; } 
	.work .two-up li, .work .three-up li, .work .four-up li { 
		background: #edecec;
		border:5px solid #edecec;
		display:table-cell;
		float:left;
		overflow:hidden;
		padding:0;
		position:relative;
		text-align:center;
		vertical-align:middle; }
		.work .two-up li {  margin-right:2%; width:48%; }
		.work .three-up li { margin-right:1.5%; width:31.65%; }
		.work .four-up li { border:4px solid #edecec; margin-right:1.25%; width:23.55%; }
	.work .two-up li img, .work .three-up li img, .work .four-up li img { 
		display:block;
		float:left;
		margin:0;
		padding:0;
		z-index:0; }
	.work .two-up li:hover .caption, .work .three-up li:hover .caption, .work .four-up li:hover .caption { opacity:1; }
	.work .caption {
		cursor: pointer;
		opacity: 0;
		-webkit-transition:all 0.45s ease-in-out;
		-moz-transition:all 0.45s ease-in-out;
		-o-transition:all 0.45s ease-in-out;
		-ms-transition:all 0.45s ease-in-out;
		transition:all 0.45s ease-in-out; }
	.work .two-up .blur, .work .three-up .blur, .work .four-up .blur { 
		background:url(../images/bg-header.png) repeat #102433;
		opacity:0.8;
		position: absolute;
		z-index: 100; }
	.work .two-up .blur, .work .two-up .caption-text { height: 335px; width: 455px; }
	.work .three-up .blur, .work .three-up .caption-text { height: 220px; width: 298px; }
	.work .four-up .blur, .work .four-up .caption-text { height: 164px; width: 222px; }
	.work .caption-text { 
		color: #fff;
		text-align: center;
		padding: 0 20px;
		position: absolute;
		z-index: 200; }
	.work .two-up .caption-text { top:35%; }
	.work .three-up .caption-text { top:25%; }
	.work .four-up .caption-text { top:25%; }
	
	.work .caption-text a, .work .caption-text span { margin:20px 0 0 0; }
	
	.work .caption-text h3 { color:#fff; text-shadow: 0 1px 0 #000; }
	.work .two-up .caption-text h3 { 
		color:#fff;
		font-size:21px; 
		font-weight:700;
		line-height:24px; }
	.work .three-up .caption-text h3 { 
		font-size:18px; 
		font-weight:700;
		line-height:21px; }
	.work .four-up .caption-text h3 { 
		font-size:15px; 
		font-weight:700;
		line-height:18px; }
		.work .corner { 
			position:absolute;
			bottom:0; right:0;
			z-index:200; }
	.icon-dribbble { 
		height:20px;
		width:20px;
		vertical-align:middle; }

#content3 {
    border-top: 1px solid #d7d7d7;
	font-size:18px;
	line-height:36px;
	padding:120px 0;
	text-align:center; }

#content4 {
	background:#fff;
	border-top: 1px solid #d7d7d7;
	padding:120px 0;
	position:relative;
	width:100%;
	z-index:200; }
		

footer { 
	background:#0f1f30;
	border-top: 5px solid #30c2a5;
	color:#248479;
	font-size:14px;
	line-height:14px;
	padding:30px 0;
	position:relative;
	z-index:100; }	
	
	footer .left { padding:10px 0 0 0; }
	/*footer .divider { 
		color:;
		display:inline-block;
		font-size:21px;
		margin:0 8px 0 10px;
		padding:5px 0 0 0; }*/
	footer .resume { 
		border-right: 1px solid #040b16;
		color:#248479;
		display:inline-block;
		font-size:12px;
		font-weight:400;
		margin-right:10px;
		padding:7px 12px 7px 0;
		text-transform:uppercase;
		-ms-transition:.5s;
		-moz-transition:.5s;
		-webkit-transition:.5s;
		transition:.5s; }
		footer .resume:hover { color:#30c2a5; }
	footer .icons-social { 
		display:inline-block;
		height:35px;
		line-height:0;
		margin-right:5px;
		-ms-transition:.5s;
		-moz-transition:.5s;
		-webkit-transition:.5s;
		transition:.5s;
		width:35px; }
		footer .icons-social:hover { background:#248479; }


/* -------------------------------------------------- 
    :: Sub Page Structure
---------------------------------------------------*/

#sub-header {
	height:auto;
	max-height:100%;
	min-height:300px;
	position:relative;
	width:100%; }
	#sub-header img {
		max-width:none;
		position:fixed;
		top:0;
		bottom:0;
		width:100%; 
		z-index:-100;}
#sub-header-home { 
	margin:auto;
	max-width:1000px;
	position:relative; }
	.home-cta {
		position:fixed;
		top:20px; right:30px;
		z-index:300; }
	
.divider-thrive1 { 
	background:url(../thrive-case-study/images/work-thrive-divider.jpg);
	/*background-attachment:fixed; */
	min-height:300px; 
	overflow: hidden;
	position:relative;
	 }
	
/* Modal Box Classes */
.reveal-modal-bg { 
	background:url(../images/bg-header.png) repeat #102433;
	opacity:0.8;
	z-index:400!important; }
.reveal-modal {
	z-index:400!important; }
	

/* -------------------------------------------------- 
    :: Universal Classes
---------------------------------------------------*/

/* Alignment Classes */
.center { text-align: center; }
.left { text-align: left; }
.right { text-align: right; }
.clear { clear:both; }
.imgleft { float: left; margin:0 20px 20px 0; }
.imgright { float: right; margin:0 0 20px 20px ; }
.imgcenter { display:block; margin:auto; }
	
/* Buttons */
.button1-outline, .button2-outline, .button3-outline {
	display:inline-block;
	line-height:0;
	margin:10px 0;
	padding:24px 24px;
	text-align:center;
	-webkit-transition: -webkit-color 0.45s ease-in-out, border-color 0.45s ease-in-out;
	-moz-transition: -moz-color 0.45s ease-in-out, border-color 0.45s ease-in-out; 
	transition: color 0.45s ease-in-out, border-color 0.45s ease-in-out;  }
	.button1-outline { border:1px solid #30c2a5; color:#30c2a5;  }
	.button2-outline { border:1px solid #eae9e9; color:#0f1f30; }
	.button3-outline { 
		background:rgba(255,255,255,0.4);
		border:1px solid #30c2a5;
		color:#30c2a5; }
		.button1-outline:hover { border:1px solid #eae9e9; color:#0f1f30; } 
		.button2-outline:hover { border:1px solid #30c2a5; color:#30c2a5; } 
		.button3-outline:hover { border:1px solid #fff; color:#fff; }
	
.button1-solid, .button2-solid, .button3-solid { 
	display:inline-block;
	line-height:0;
	margin:10px 0;
	padding:25px 25px;
	text-align:center;
	transition: all 0.35s ease-in-out; 
	-webkit-transition: -webkit-all 0.35s ease-in-out
	-moz-transition: -moz-all 0.35s ease-in-out; }
	.button1-solid {
		background-color:#30c2a5;
		color:#fff;
		text-shadow: 0 1px 0 #248479;  }
	.button2-solid {
		background-color:#eae9e9;
		color:#fff;
		text-shadow: 0 1px 0 #b1b1b1; }
	.button3-solid {
		background-color:#30c2a5;
		color:#fff;
		font-family: 'Lato', arial, sans-serif;
		font-size:13px;
		font-weight:900;
		padding:20px 15px;
		text-shadow: 0 1px 0 #248479;
		text-transform:uppercase; }
		.button1-solid:hover { 
			background-color:#248479;
			color:#fff;
			text-shadow: 0 1px 0 #0e5a51;
         } 
		.button2-solid:hover { 
			background-color:#b1b1b1;
			color:#fff;
			text-shadow: 0 1px 0 #8a8a8a; }
		.button3-solid:hover {
			backgroun-color:#248479;
			color:#fff;
			text-shadow: 0 1px 0 #0e5a51; }

/* Miscellaneous Classes */
.hide { display: none; }
.hideclear { clear:both; height:0; overflow:hidden; visibility:hidden;}
.last { margin-right:0; }
.text-18 { font-size:20px; }
.text-21 { font-size:28px; line-height:48px; }
.pt-5 { padding:5px 0 0 0; }
.fullwidth { max-width:100%; }


/* -------------------------------------------------- 
    :: Media Queries
---------------------------------------------------*/    
@media only screen and (max-width: 1000px) {
		#content1, #content2 {
			padding:60px 0; }
		#sub-header {
			height:auto;
			min-height:initial; } 
		#sub-header img {
				max-width:100%;
				position:static; }
		.home-cta {
			position:absolute; }
     	.work .two-up li img, .work .three-up li img, .work .four-up li img {
     		display:block;
     		float:none;
     		margin:auto;
     		width:100%; }
        	.caption { display:hidden; visibility:hidden; }
        .corner { width:auto!important; } 
        
}
@media only screen and (max-width: 900px) { 
        nav .large-4 { display:none; visibility:hidden; }
}
@media only screen and (max-width: 767px) { 
        nav { display:none; visibility:hidden; }
        .philosophy-skills hr { margin:30px 0 60px 0; }
        .skills h3 { display:block; margin:auto; text-align:center; }
        .skills img { display:block; margin:0 auto 30px auto; }
        .work li { margin-right:0; width:100%; }
        .work .two-up li, .work .three-up li, .work .four-up li { margin-right:0; width:100%; }
        .left, .right { margin:10px; text-align:center; }
        }
	