/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 80%;
    line-height: 1.4;
}

p {
	font-size:1.36em;
    line-height:1.5em;
    font-family:Georgia,Times,serif;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

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

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
   
body {
	padding-top:50px;
	}
	
h1, h2, h3, h4, h5, h6 {
	font-weight:500;
	margin:0;
}

h2 {
	font-size:1.8em;
}

h4 {
	font-size:1.25em;
}

#top h1 {
	font-size:2.5em;
	font-weight:700;
	margin:0;
}
   
p:first-child:first-letter { 
	float: left;  
	font-size: 75px; 
	line-height: 60px; 
	padding-top: 4px; 
	padding-right: 5px; 
	padding-left: 3px;  }
   
header {
	position:fixed;
	height:50px;
	background-color:#fff;
	z-index:900;
	width:100%;
}

header h1 {
	margin:0 auto;
}

#top { 
  background: url(../img/phish1.jpg) 65% 40% repeat; 
  min-height: 50px; 
  height: 500px; 
  margin: 0 auto; 
  width: 100%; 
  max-width: 1920px; 
  position: relative; 
}
 
#top article { 
  height: 458px; 
  position: absolute; 
  text-align: center; 
  top: 350px; 
  width: 100%; 
  color:#222;
  text-shadow: 0 0 10px #fff;
}

.break {  
  min-height:600px;
  height: 300px; 
  margin: 0 auto; 
  width: 100%; 
  max-width: 1920px; 
  position: relative; 
  -webkit-box-shadow: 0 0 50px rgba(0,0,0,0.8);
  box-shadow: 0 0 50px rgba(0,0,0,0.8);
}
 
.break article { 
  height: 300px; 
  position: absolute; 
  text-align: center; 
  width: 100%; 
  color:#fff;
  text-shadow: 0 0 5px #292929;
  padding:15px 40px 0 40px;
}

.break1 {
  background: url(../img/break1.jpg) 0% 0 repeat fixed;
}

.break1 article, .break3 article {
	color:#333;
	text-shadow: 0 0 5px #fff;
}

.break2 {
  background: url(../img/break2.jpg) 50% 50% repeat fixed;
}

.break3 {
  background: url(../img/break3.jpg) 50% 30% repeat fixed;
}

.break3 article {
	text-align:left;
	padding-right:600px;
}

.break-end {
	background: url(../img/donuts.png) 0% 0 repeat fixed;
	text-align:left;
	min-height:300px;
	height:300px;
	padding:20px 0 0 0;
}

.break-end article {
	height:150px; 
}

.break-end .logo {
	float:left;
	display:inline;
	width:50%;
}

.break-end ul {
	width:50%;
	float:right;
}

.break-end li {
	font-weight:bold;
	list-style:none;
	text-align:left;
	font-size:20px;
}

.break-end li a {
	color:#ccc;
}

.copysection article {
	width:900px;
	margin:0 auto;
	padding:20px 0;
}

.copysection article p {
	max-width: 900px;
	padding:0 400px 0 15px;
}


.pullout-img {
	float: right;
	margin: 0 0 20px 20px;
	width:600px;
}

span.caption {
	color:#999;
	font-family:Helvetica,Arial,sans-serif;
	font-size:14px;
	padding:0;
}

.pullout-img img {
	padding:0 0 5px 0;
}

.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}

.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.side-project-box {
	width:900px;
	height:500px;
	margin:0 auto;
}

.side-project {
	width: 48%;
	float: left;
	margin: 0 1% 1% 0;
	min-height: 50%;
	color:#fff;
	background-color: #000;
    background-color: rgba(0,0,0,0.6);
}

.side-project h4 {
	text-align:center;
	font-weight:600;
	font-style:italic;
	text-transform:uppercase;
	font-size:24px;
	font-family:Helvetica Neue,Helvetica,Arial,sans-serif;
}

.side-project p {
	font-size:14px;
    line-height:16px;
    padding:0 10px;
    font-family:Helvetica Neue,Helvetica,Arial,sans-serif;
    text-align:left;
}





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

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

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

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

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

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

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

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

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

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (max-width: 920px) {
	.pullout-img {
		float: none;
		width:100%;
		margin:0 0 10px 0;
		border-bottom:#999 solid 1px;
	}
	
	.pullout-img img {
		width:100%;
	}
	
	.vert {
		float:right;
		width:50%;
		margin:0 0 10px 10px;
		border-bottom:#999 solid 1px;
	}
	
	span.caption {
		padding:0 10px;
	}
	
	.break article {
		height:300px;
	}
	
	.break2 {
		height:700px;
		background: url(../img/break2.jpg) 60% 80% repeat fixed;
	}
	
	.break3 {
		background: url(../img/break3.jpg) 60% 80% repeat fixed;
	}
	
	.break3 article {
		padding-right:400px;
	}
	
	.copysection article {
		width:100%;
	}
	
	.copysection article p {
		max-width: inherit;
		padding:0 10px;
	}
	
	.side-project-box {
	width:100%;
	height:auto;
	margin:0 auto;
	}
	
	.side-project {
	width: 100%;
	margin: 0 0 15px 0;
	min-height: 0;
	}
}

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

	#top {
		height:600px;
	}
	
	.break1 {
		height:400px;
		min-height:300px;
		background: url(../img/break1.jpg) 0% 0% repeat;
		background-size:cover;
	}
	
	.break2 {
		height:300px;
		min-height:300px;
		background: url(../img/break2.jpg) 60% 0% repeat;
		background-size:cover;
		margin:0 0 700px 0;
	}
	
	.break2 article {
		padding-top:300px;
		color:#333;
		text-shadow:none;
	}
	
	.break3 {
		height:300px;
		min-height:300px;
		background: url(../img/break3.jpg) 0% 0% repeat;
		background-size:cover;
	}
	
	.break3 article {
		text-align:left;
		padding-right:0;
		padding-top:0;
		color:#fff;
		text-shadow:0 0 5px #292929;
	}
	
	.vert {
		display:none;
	}
	
	.break-end {
		min-height:500px;
	}
	
	.break-end .logo, .break-end ul {
		width:100%;
	}

	.break-end .logo img {
		width:100%;
		margin:0 0 20px 0;
	}
	
@media only screen and (max-width: 500px) {
	.break2 {
		margin:0 0 1000px 0;
	}
	
@media only screen and (max-width: 399px) {
	.break2 {
		margin:0 0 1300px 0;
	}
}

}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@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;
    }
}
