/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.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
   ========================================================================== */

@import 'https://fonts.googleapis.com/css?family=Alice|Open+Sans:400,600,700';

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
	font-weight: 300;
}

body {
	background:#f4f0e0;
	font-family: 'Open Sans', sans-serif;
	-webkit-font-smoothing: antialiased;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * 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 audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

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

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

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

/* ==========================================================================
   Author's custom styles
   ========================================================================== */


h1, h2, h3, h4, h5 {
	font-family: 'Alice', serif;
	font-weight: normal;
}

h1 {
	font-size: 3em;
	line-height: 1.1em;
	letter-spacing: 2px;
	text-transform: uppercase;
}

h1 a {
	font-weight: normal;
}

h1 a:hover {
	color:#1c1c1c;
}

h2 {
	font-size: 2.6em;
	line-height: 1.1em;
	margin: 0 0 40px;
}

h3 {
	font-size: 2em;
	letter-spacing: 3px;
	margin: 40px 0 20px;
}

h4 {
	font-size: 1.8em;
	margin: 20px 0 0;
}

p {
	font-size: .9em;
	line-height: 1.4em;
}

p.typeset {
	font-family: 'Alice', serif;
	font-size: 2.25em;
	line-height: 1.4em;
	width: 100%;
	margin: 60px 0;
}

.editorial {
	font-family: 'Alice', serif;
	font-size: 4em;
}

.relative {
}

ul, ul li {
	font-size: .9em;
}

a {
	text-decoration: none;
	color:#1c1c1c;
	
	-webkit-transition: color .25s;
    -moz-transition: color .25s;
    -o-transition: color .25s;
    transition: color .25s;
}

a:hover {
	color:#80d4e9;
}

a.cta { 
	font-family: 'Alice', serif;
	font-size: 2.25em;
	font-weight: normal;
	/*border-bottom: solid 2px #80d4e9;*/
}

ul, ul li {
	margin: 0;
	padding: 0;
	font-size: .9em;
	line-height: 2em;
	list-style-type: none;
}

ul li {
	padding:0;
}

.bullet-points  {
	margin-top: 50px;
}

.bullet-points li {
	vertical-align: top;
	margin-bottom: 20px;
	margin-right: 20px;
	width: 21%;
	height: 100px;
	line-height: 1.5em;
	display: inline-block;
	border-left: solid 2px #1c1c1c;
	padding-left: 10px;
}

.bullet-label {
	font-family: 'Alice', serif;
	font-size: 2em;
	display: inline-block;
	padding: 0 10px 0px 0;
}

.mobile-menu {
	display:none;
}

wrapper {
	width: 100%;
	height: 100%;
	display: block;
	overflow: auto;
}

header {
	height: auto;
	*position: fixed;
	display: block;
	overflow: auto;
	width: 100%;
	z-index: 999;
	background:#f4f0e0;
	border-bottom: solid 2px #1c1c1c;
}

.logo-wrapper {
	width: 110px;
	margin: 0 auto;
	display: block;
	overflow: auto;
	padding: 30px 0px;
}

.logo {
	width: 110px;
	margin: 0 auto;
	text-align: center;
}

container {
	display: block;
	overflow: auto;
	margin: 0 auto;
	position: relative;
	z-index: 998;
	*margin-top: 140px;
	padding-bottom: 80px;
}


#body-content {
	height: auto !important;
	z-index: 998;
	margin-top: 30vh;
}

#body-content h2 {
	font-size: 4em; 
	margin: 0;
	padding: 0;
}

.body-inner {
	padding: 0px 5%;
	
}

.after-quote {
	font-family: 'Open Sans', sans-serif;
	font-weight: 600;
	text-transform: uppercase;
	font-size: .4em;
	letter-spacing: 1px;
}


h3.quote {
	font-size: 1.8em;
	letter-spacing: 3px;
	width: 80%;
	margin: 0 auto;
}

.leader, .content-block {
	width: 100%;
	height: auto;
	overflow: auto;
	padding: 20px 0;
}

.intro {
	width: 100%;
	height: 600px;
	*margin-top: 16px;
	
	position: relative;

	background: url('img/newsletter-bg.jpg');
	background-repeat: no-repeat;
	background-size: cover;
}

.image-ie {
	background: url('img/ie.jpg');
	background-position: center center;
}

.image-thanks {
	background: url('img/thanks.jpg');
	background-size: cover;
	background-repeat: no-repeat;
}

.image-over {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	padding: 0 5%;
	background: #1c1c1c;
	color:#f4f0e0;
	width:40%;
}

.leader-inner {
	height: auto;
	margin: 0 10%;
	border-top: solid 1px #1c1c1c;
	border-bottom: solid 1px #1c1c1c;
	overflow: auto;
}

.promo {
	width: 100%;
	height: auto;
	color:#f4f0e0;
}

.promo-inner {
	background-color:#2b2b2b;
	background-image: url('img/promo.jpg');
	background-position: bottom right;
	background-repeat: no-repeat;
	background-size: 40%;
	margin: 0 10%;
	padding: 5% 40px;
	
}

.promo-inner h3, .promo-inner h4 {
	width: 60%;
}


.dl-links {
	margin: 4% 10% 0;
	display: block;
	overflow: auto;
}

.link-button {
	width: 32%;
	background:#1c1c1c;
	float:left;
	overflow: auto;
	display: block;	
	margin-right: 2%;
}

.last-link {
	margin-right: 0;
}

.link-button a {
	color:#f4f0e0;
}

.link-inner {
	padding: 40px;
	text-align: center;
}

.link-inner img {
	width: 22px;
}

.content-inner {
	margin: 0 10%;
	height: auto;
}

.quote-block {
	padding: 60px 0 20px;
	border-bottom: none;
}

.standalone-quote {
	padding: 60px 0 60px;
	border-top: none;
}

.signoff-quote {
	padding: 60px 0 ;
	margin-top: 4%;
	border-bottom: none;
}

.signoff {
	text-align: center;
	padding: 40px 0;
	margin: 0 10%;
}

.signoff a {
	font-weight: bold;
}


.row {
	width: 100%;
	display: block;
	overflow: auto;
}

#body-content .row {
	margin: 5% 0;
}

.inner {
	display: block;
	width: 100%;
	overflow: auto;
	position: relative;
}

.col-md, .col-sml, .col-half, .col-right {
	display: block;
	float:left;
	height: auto;
	overflow: auto;
}

.half {
	width: 50%;
	float:left;
	display: block;
	overflow: auto;
}

.col-third {
	width: 33.3333%;
	float: left;
	display: block;
	overflow: auto;
	text-align: center;
	padding: 40px 0;
}

.col-half {
	width: 50%;
	height: auto;
	position: relative;
}

.col-right {
	width: 60%;
}

.col-md {
	width: 70%;
	padding: 0 5% 5%;
}

.col-sml {
	width: 40%;
}

.col-xl {
	width: 100%;
}

.sign-icon  {
	width: 20px;
	display: block;
	border: solid 2px #1c1c1c;
	border-radius: 40px;
	padding: 10px;
	margin: 0 auto;
	margin-bottom: 20px;
}

form {
	padding: 20px 0 20px;
	margin: 0 auto;
	text-align: center;
}

form input[type="text"], form input[type="email"] {
	border: none;
	background: #fff;
	width: 50%;
	padding: 20px; 
	box-sizing: border-box;
	display: block;
	margin: 0 auto;
	margin-top: 10px;
}

form input[type="submit"] {
	margin:0 auto;
	border: none;
	box-sizing: border-box;
	padding: 20px;
	margin-top: 10px;
	width: 50%;
	background:#1c1c1c;
	color:#fff;
}

.intro-image {
	background:url('../img/jon-moss.jpg');
	background-repeat: no-repeat;
	background-size: cover; 
	width: 100%;
	height: auto;
	min-height: 800px;
	position: relative;
}

.image-over {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	padding: 0 5%;
}

.image-over p {
	width: 50%;
}

.rbiz {
	/*background:#fd8070;*/
	background:url('../img/rbiz.jpg');
	background-position: center top;
	color:#fff;
}

.newsletter {
	border: solid 4px #1c1c1c;
}

.newsletter h3 a {
	color:#1c1c1c !important;
	border-bottom: solid 2px #1c1c1c !important;
}

.twitter {
	background: #80d4e9;
}

.mossy {
	/*border:solid 4px #80d4e9;*/
	width: 100%;
	background:#80d4e9;
}

.medium {
	background:#fff;
}

.medium h3 a {
	color:#1c1c1c !important;
	border-bottom: solid 2px #1c1c1c !important; 
}


.clickBox {
	cursor: pointer;
}

.clickBox h3 {
	width: 60%;
}

.clickBox h3 a {
	color:#fff;
	border-bottom: solid 2px #fff;
	font-weight: normal;
}

.cta-inner {
	padding: 60px 80px;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}


menu {
	width: 40%;
	height: auto;
	display: block;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	right: 5%;
	text-align: right;
}

menu ul, menu ul li {
	margin: 0;
	padding: 0;
}

menu ul li {
	list-style-type: none;
	display: inline-block;
	padding-right: 40px;
	vertical-align: middle;
}

menu li a {
	font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    text-transform: uppercase;
    font-size: 1em;
    letter-spacing: 1px;
}

.nav-item {
	display: inline-block;
	position: relative;
	cursor: pointer;
}

.nav-item:hover {
	color: #1c1c1c;
}

.nav-item:before {
	content: '';
    display: block;
    position: absolute;
    left: 0;
    bottom: 0px;
    height: 2px;
    width: 0;
    transition: width 0s ease, background .5s ease;
}

.nav-item:after {
	content: '';
    display: block;
    position: absolute;
    right: 0;
    bottom: 0px;
    height: 2px;
    width: 0;
    background: #80d4e9;
    transition: width .5s ease;
}
.nav-item:hover:before {
	width: 100%;
	background: #80d4e9;
    transition: width .5s ease;
}
.nav-item:hover:after {
	width: 100%;
    background: transparent;
    transition: all 0s ease;
}


.internal-image {
	width: 100%;
	height: 800px;
	background-image:url('../img/placeholder2.jpg');
	background-size: cover;
	background-position: center top;
}

.contact {
	background-image:url('../img/placeholder3.jpg');
}

.sponsors {
	text-align: center;
}

.sponsor-logos {
	padding: 40px 0;
}

img.sponsor {
	width: 140px;
	padding-left: 55px;
}

img.sponsor:nth-child(1) {
	padding-left: 0;
}


footer {
	width: 100%;
	height: 100%;
	background:#1c1c1c;
	color:#F4F0DF;
	display: block;
	overflow: auto;
	position: relative;
	
}

footer .col-half {
	height: auto;
}

.footer-inner {
	padding: 80px 5% 60px;
	display: block;
	overflow: auto;
}

.footer-lower {
	padding: 0 5% 40px;
	display:block;
	overflow: auto;
}

a.footer-link {
	color:#F4F0DF;
	text-decoration: underline;
}

a.footer-link:hover {
	color:#80d4e9;
}


footer h3 {
	font-size: 1.25em;
	margin: 0;
}

footer p {
	margin: 0 0 30px 0;
	

}

footer .col-half:hover {
	opacity: 1;
}

.partners {
	margin-top: 40px;
}

.partners img {
	width: 100px;
	height: auto;
}


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

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.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:
 * https://www.drupal.org/node/897638
 */

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

/*
 * Hide visually and from screen readers, 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;
}

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

@media only screen and (max-width: 768px) {
	
	h1 {
	    font-size: 2em;
		margin-top: 35px;
	}
	
	h2 {
		font-size: 2em;
	}
	
	p {
		width: 100%;
	}
	
	p.typeset {
		font-size: 1.75em;
	}
	
	
	.mobile-menu {
		display: block;
	}

	.col-md, .col-sml, .col-half, .col-right, .half {
		width: 100%;
		float: none;
		padding: 0;
	}
	
	.col-half:nth-child(2), .col-half:nth-child(4) {
		margin-left: 0;
	}
	
	.col-right {
		padding-top: 40px;
	}
	
	.col-inner {
		padding: 0 5%;
	}
	
	wrapper, container {
		height: 100% !important;
		
	}
	
	container {
		margin-top: 100px;
		padding-bottom: 0;
	}
	
	menu {
		display: none;
	}
	
	.inner {
		position: relative;
		top: 0;
		transform: none;
	}
	
	#body-content h2{
		font-size: 3em;
	}
	
	.internal-image {
		height: 300px;
	}
	
	.intro-image {
		background: none;
		min-height: 200px !important;
		height: 100% !important;
	}
	
	.intro {
		height: auto;
	}
	
	.image-over {
		position: relative;
		transform: none;
		top: 0;
		width: 100%;
		height: auto;
		padding: 80px 0 20px;
	}
	
	.image-over h1, .image-over h2 {
		padding: 0 20px;
	}
	
	.link-button {
		width: 100%;
		float: none;
		margin-bottom: 20px;
	}
	
	h3.quote {
		width: 100%;
	}
	
	.image-over p {
		width: 100%;
	}
	
	.col-half {
		min-height: 200px;
	}
	
	.content-inner {
		padding: 0;
	}
	
	.cta-inner {
		padding: 40px;
	}
	
	.clickBox h3{
		width: 90%;
		font-size: 1em;
	}
	
	.promo-inner {
		background-image: none;
		margin: 0;
		padding: 10% 40px;
	}
	
	.promo-inner h3, .promo-inner h4  {
		width: 100%;
	}
	
	.promo-inner h3 {
		font-size: 1.4em;
		margin: 0;
	}
	
	.promo-inner h4 {
		font-size: 1em;
	}
	
	.sponsor-logos {
		padding: 0 0 40px;
	}
	
	img.sponsor {
		display: block;
		float: none;
		margin: 0 auto;
		padding-left: 0;
		padding-top: 14px;
	}
	
	.bullet-points li {
		display: block;
		float: none;
		width: 100%;
		height: 60px;
	}
	
	form input[type="text"], form input[type="submit"] {
		width: 100%;
	}
	
	footer {
		margin-top: 40px;
	}
	
	.footer-inner {
		padding: 40px 5%;
	}
	
	
	footer p {
		font-size: .75em;
	}
	
	footer h3 {
		font-size: 1em;
	}

}


@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

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

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        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 that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

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

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

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

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

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

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

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