/*! 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: 1em;
    line-height: 1.4;
}


/*
 * 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;
}

/* ==========================================================================
   LAYOUT: global
   ========================================================================== */

.out {
	width:100%;
}

.in {
	width:90%;
	max-width:960px;
	margin:0 auto;
}



/* Raleway weights are 300, 700, 900 */


/* ==========================================================================
   STYLES: global
   ========================================================================== */

body {
	font-family: 'Raleway', sans-serif;
	font-weight:300;
	color:#fff;
}

a {
	color:#fff;
	text-decoration:none;
}

h3 {
	font-size: 32px;
	margin: 40px 0 -5px;
	line-height: 1.2;
	font-weight: 900;
}

[data-scroll-goto], [data-scroll-nav] {
	cursor: pointer;
}

::selection {
	background-color:#ffe600;
}

section.even, section.odd {
	padding:50px 0 80px;
}

section.even {
	background-color:#00a2e2;
}

section.odd {
	background-color:#00649b;
}

.section-title {
	font-size:18px;
	letter-spacing:0.2em;
	text-transform:uppercase;
	font-weight:900;
	margin:0 auto;
	text-align:center;
	display:inline-block;
	padding:20px 70px;
	border:4px solid #fff;
	background-repeat:repeat;
	line-height: 1;
}

section.even .section-title {
	background-image:url('../img/dots-black-ST.svg');
}

section.odd .section-title {
	background-image:url('../img/dots-blue.svg');
}

.body-copy {
	max-width: 750px;
	font-size: 22px;
	letter-spacing: 0.05em;
	margin-top: 40px;
	padding-left: 7.5%;
}

.body-copy a {
	border-bottom:1px dashed #fff;
	border-bottom:1px dashed rgba(255,255,255,0.7);
	transition:border-bottom 0.2s ease, color 0.2s ease;
}

.body-copy a:hover {
	border-bottom:1px dashed rgba(255,255,255,0.4);
	color:rgba(255,255,255,0.8);
}

.lead-in {
	font-family: 'Ultra', serif;
	text-align:center;
	font-size:30px;
	color:#0e547f;
	border-top:6px solid rgba(255,255,255,0.3);
	border-bottom:6px solid rgba(255,255,255,0.3);
	border-image:url('../img/dots-white-double4.svg') 6 repeat;
	padding:15px 0;
	margin: 50px auto 0;
	line-height: 1.25;
}

.section-header-wrap {
	text-align:center;
}

section.program:before, section.contact:before {
	content: '';
	width: 0;
	height: 0px;
	border-left: 15px solid transparent;
	border-right: 15px solid transparent;
	border-top: 10px solid #00a2e2;
	position: relative;
	display: block;
	left: 50%;
	top: -50px;
	margin-left: -15px;
}

section.resources:before {
	content: '';
	width: 0;
	height: 0px;
	border-left: 15px solid transparent;
	border-right: 15px solid transparent;
	border-top: 10px solid #00649b;
	position: relative;
	display: block;
	left: 50%;
	top: -50px;
	margin-left: -15px;
}

section.about:before {
	content: '';
	width: 0;
	height: 0px;
	border-left: 15px solid transparent;
	border-right: 15px solid transparent;
	border-top: 10px solid rgba(255,255,255,0.5);
	position: relative;
	display: block;
	left: 50%;
	top: -25px;
	margin-left: -15px;
}





/* ==========================================================================
   STYLES: nav
   ========================================================================== */

.main-nav {
	padding: 21px 0 16px;
	background-color:#000;
	background-color:rgba(0,0,0,0.5);
	position:fixed;
	top:0;
	z-index: 1000;
	transition:padding 0.2s ease, background-color 0.2s ease;
}

.main-nav ul {
	list-style:none;
	text-align:center;
	padding:0;
}

.main-nav ul li {
	display: inline;
	margin-right: 10px;
	border-right: 1px solid #334045;
	border-right: 1px solid rgba(255,255,255,0.2);
	padding: 5px 10px 5px 0;
}

.main-nav ul li:last-child {
	margin-right:0;
}

.main-nav ul li a {
	color:#fff;
	color:rgba(255,255,255,0.9);
	text-transform:uppercase;
	letter-spacing: 0.2em;
	font-size: 13px;
	font-weight:900;
	text-decoration:none;
	padding: 4px 5px 3px 7px;
	line-height: 3;
	transition:color 0.2s ease, font-size 0.2s ease, background-color 0.2s ease;
}

.main-nav ul li a:hover, .main-nav.main-nav-shrink ul li a:hover {
	color:#fff;
}

.main-nav.main-nav-shrink ul li a.active {
	background-color: rgba(0,162,226,0.5);
	color:#fff;
}

.main-nav ul li a.home.active {
	background-color: transparent;
}

.main-nav.main-nav-shrink {
	padding:10px 0 4px;
	background-color:rgba(0,0,0,0.9);
	box-shadow: 0 0 20px rgba(0,0,0,0.7);
}

.main-nav.main-nav-shrink ul li {
	padding: 0px 10px 3px 0;
}

.main-nav.main-nav-shrink ul li a {
	color:rgba(255,255,255,0.8);
	font-size:11px;
	line-height: 1.8;
}

.main-nav ul li a.home {
	background-image:url('../img/logo-full.svg');
	background-repeat:no-repeat;
	background-size:91px 40px;
	width:91px;
	height:40px;
	text-indent:-9999px;
	display: inline-block;
	margin:0 10px 0 20px;
	transition:background-size 0.1s ease, width 0.1s ease, height 0.1s ease, opacity 0.2s ease;
}

.main-nav ul li a.home:hover {
	opacity:0.8;
}

.main-nav.main-nav-shrink ul li a.home {
	background-image:url('../img/logo-icon.svg');
	background-size:24px 23px;
	width:24px;
	height:23px;
	margin: 0 3px 0 5px;
}




/* ==========================================================================
   STYLES: intro
   ========================================================================== */

.intro {
	background-image:url('../img/dots-blue-ST.svg'), url('../img/top-bg.jpg');
	background-size:auto, cover;
	background-position:center center, center center;
	background-repeat:repeat, no-repeat;
	padding:130px 0 50px;
	background-attachment:fixed;
}

.intro .in {
	max-width: 1050px;
}

.intro .welcome {
	font-weight: 300;
	font-size: 13px;
	line-height: 1.4;
	letter-spacing: 0.5em;
	text-align: center;
	color: #fff;
	margin: 0 auto 10px;
	text-transform: uppercase;
	padding-bottom: 10px;
	border-bottom: 1px solid #fff;
	border-bottom: 1px solid rgba(255,255,255,0.5);
	width: 55%;
}

.intro h2 {
	text-align:center;
	text-transform:uppercase;
	color:#fff;
	color: rgba(255,255,255,0.8);
	font-family: 'Ultra', serif;
	font-size:75px;
	margin: 0 auto;
	letter-spacing:0.15em;
	line-height: 1;
	width:80%;x1x1
}

.intro h2:after {
	content: '';
	width: 0;
	height: 0px;
	border-left: 12px solid transparent;
	border-right: 12px solid transparent;
	border-top: 8px solid #fff;
	border-top: 8px solid rgba(255,255,255,0.7);
	position: relative;
	display: block;
	left: 50%;
	top: 12px;
	margin-left: -12px;
}

.intro h1 {
	font-weight:300;
	font-size:18px;
	line-height:1.4;
	letter-spacing:0.05em;
	text-align:center;
	color:#fff;
	width:65%;
	margin: 45px auto 0;
}

.intro h1 .detail {
	display:block;
}

.intro h1 .fp-logo, .intro h1 .usip-logo {
	display:inline-block;
	text-indent:-9999px;
	position: relative;
	background-repeat:no-repeat;
}

.intro h1 .fp-logo {
	background-image:url('../img/fp-logo.svg');
	background-size:149px 23px;
	width:149px;
	height:23px;
	top: 2px;
	margin-right:3px;
}

.intro h1 .usip-logo {
	background-image:url('../img/usip-logo.svg');
	background-size:133px 27px;
	width:133px;
	height:27px;
	top:-6px;
	margin-left:5px;
}

.intro .details {
	text-align:center;
	list-style:none;
	margin:80px auto 0;
	color:#fff;
	text-transform:uppercase;
	padding:0;
}

.intro .details li {
	display: inline-block;
}

.intro .details .date {
	margin: 0 50px;
}

.intro .details .location {
	margin: 0 80px;
}

.intro .details li span {
	font-size:16px;
	letter-spacing:0.2em;
	border:2px solid #00a2e2;
	display:block;
	padding:5px 15px 3px;
	margin-bottom: 3px;
}

.intro .details li a {
	font-weight:700;
	font-size:10px;
	letter-spacing:0.35em;
	display:inline;
	color:#fff;
	text-decoration:none;
	transition:color 0.2s ease;
}

.intro .details li a:hover {
	color:rgba(255,255,255,0.7);
}

.intro .details .date a:after {
	content:'▾';
	margin-left:3px;
	font-size:11px;
}

.intro .details .location a:after {
	content:'▸';
	margin-left:3px;
	font-size:11px;
}




/* ==========================================================================
   STYLES: program
   ========================================================================== */


.program .schedule .date {
	font-family: 'Ultra', serif;
	font-size:32px;
	letter-spacing:0.05em;
	text-transform:uppercase;
	margin: 40px 0 5px;
}

.program .schedule .date span {
	font-family: 'Raleway', sans-serif;
	font-weight:700;
	color:#00a2e2;
	font-size:14px;
	margin-left:-5px;
}

.program .schedule ul {
	list-style:none;
	width:100%;
	padding:0;
	margin:0 0 80px;
}

.program .schedule ul li {
	margin-bottom:15px;
}

.program .schedule ul li .time, .program .schedule ul li .session {
	display:inline-block;
	font-size:22px;
	font-weight:900;
}

.program .schedule ul li .time {
	width:16%;
	background-color:#0183bf;
	padding:34px 2%;
	vertical-align: top;
	line-height: 1;
	text-align:center;
}

.program .schedule ul li .session {
	width:74%;
	background-color:#fff;
	color:#333;
	padding:30px 3%;
	margin-left: -5px;
	letter-spacing:0.05em;
}

.program .schedule ul li .time span {
	font-weight:300;
	font-size:12px;
	margin-left:2px;
	letter-spacing:0.1em;
}

.program .schedule ul li .session span {
	display:block;
	font-size:18px;
	font-weight:300;
	line-height:1.2;
	margin-top:3px;
}




/* ==========================================================================
   STYLES: resources
   ========================================================================== */

.resources ul {
	padding-left:0;
	margin-top:50px;
}

.resources ul li {
	margin-bottom: 40px;
}

.resources ul li a {
	padding-bottom: 4px;
}

.resources ul li a h4 {
	display:inline;
	font-size: 32px;
	margin: 40px 0 -5px;
	line-height: 1.2;
	font-weight: 900;
}

.resources ul li .description {
	display:block;
	font-size: 12px;
	margin-top:8px;
}

.resources ul li .btn {
	display:inline-block;
	font-weight:900;
	text-transform:uppercase;
	font-size:12px;
	letter-spacing:0.2em;
	padding:7px 10px 5px;
	line-height:1;
	background-color:#00649b;
	background-color:rgba(0,0,0,0.4);
	border-bottom:none;
	color:rgba(255,255,255,0.9);
	border-radius:3px;
	transition:color 0.2s ease, background-color 0.2s ease;
	margin-top:8px;
}

.resources ul li .btn:hover {
	background-color:#000;
	background-color:rgba(0,0,0,0.6);
	color:#fff;
}



/* ==========================================================================
   STYLES: contact
   ========================================================================== */

.contact .body-copy {
	margin-top:50px;
}

section.contact {
	min-height:500px;
}





/* ==========================================================================
   STYLES: footer
   ========================================================================== */

.footer {
	background-color:#032b47;
	padding:20px 0 30px;
	letter-spacing:0.05em;
}

.footer .copy {
	color:rgba(255,255,255,0.5);
	font-size:12px;
}



/* ==========================================================================
   STYLES: 404
   ========================================================================== */

.fourohfour {
	height:100%;
}

.fourohfour body {
	height:100%;
}

.fourohfour section.intro {
	height:100%;
}





/* ==========================================================================
   STYLES: MQ, global layout + style
   ========================================================================== */
   
   
@media (max-width: 800px) {
	
	.body-copy {
		max-width:none;
		width:90%;
		padding:0 5%;
	}
	
}



@media (max-width: 600px) {
	
	.in {
		width:85%;
	}
	
	.body-copy {
		width:100%;
		padding:0;
		font-size: 20px;
	}
	
}


@media (max-width: 400px) {
	
	
	.body-copy {
		font-size: 18px;
	}
	
}
   
   
   
   
   
   /* ==========================================================================
   STYLES: MQ, nav
   ========================================================================== */


@media (max-width: 700px) {
	
	.main-nav ul {
		width:95%;
	}
	
	.main-nav ul li a {
		font-size: 12px;
	}
	
	.main-nav ul li {
		margin-right: 5px;
		padding: 2px 5px 2px 0;
	}
	
	.main-nav ul li:last-child {
		border-right:none;
	}
	
	.main-nav ul li a.home {
		background-size: 68px 30px;
		width: 68px;
		height: 30px;
		margin: 0 5px 0 20px;
		position: relative;
		top: 3px;
	}
	
	.main-nav.main-nav-shrink ul li a.home {
		top:0;
	}
	
	.main-nav {
		padding: 18px 0 13px;
	}
	
}


@media (max-width: 550px) {
	
	
	.main-nav ul li a {
		font-size: 11px;
	}
	
	.main-nav ul li {
		margin-right: -2px;
		padding: 0px 3px 0px 0;
	}
	
	.main-nav ul li a.home {
		background-image:url('../img/logo-icon.svg');
		background-size:24px 23px;
		width:24px;
		height:23px;
		margin: 0;
		position: relative;
		top: 5px;
	}
	
	.main-nav {
		padding: 18px 0 13px;
	}
	
}





/* ==========================================================================
   STYLES: MQ, intro
   ========================================================================== */


@media (max-width: 1040px) {
	
	.intro h2 {
		width:90%;
	}
	
}


@media (max-width: 950px) {
	
	.intro h2 {
		width:100%;
	}
	
}


@media (max-width: 850px) {
	
	.intro h2 {
		font-size:62px;
	}
	
	.intro h1 {
		width: 85%;
	}
	
	.intro .welcome {
		width: 60%;
	}
	
}


@media (max-width: 700px) {
	
	.intro h2 {
		font-size:55px;
	}
	
	.intro .welcome {
		width: 70%;
	}
	
	.intro h1 {
		width: 95%;
	}
	
	.intro .details .date {
		margin: 0 5% 0 0;
	}
	
	.intro .details .location {
		margin: 0 0 0 5%;
	}
		
}


@media (max-width: 525px) {
	
	.intro h2 {
		font-size:40px;
	}
	
	.intro .welcome {
		width: 90%;
		letter-spacing:0.4em;
	}
	
	.intro h1 {
		width: 100%;
	}
		
}

@media (max-width: 450px) {
	
	.intro .details .date, .intro .details .location {
		display: block;
		width: 80%;
		margin: 0 auto 20px;
	}
	
		
}


@media (max-width: 370px) {
	
	.intro h2 {
		font-size: 36px;
		width:100%;
	}
	
	.intro .welcome {
		letter-spacing:0.3em;
		width: 95%;
	}
	
		
}





/* ==========================================================================
   STYLES: MQ, about
   ========================================================================== */


@media (max-width: 600px) {
	
	.lead-in {
		font-size: 26px;
	}
	
}


@media (max-width: 500px) {
	
	.lead-in {
		font-size: 22px;
		padding: 10px 0;
	}
	
}


@media (max-width: 400px) {
	
	.lead-in {
		font-size: 18px;
	}
	
}






/* ==========================================================================
   STYLES: MQ, program
   ========================================================================== */


@media (max-width: 650px) {
	
	.program .schedule ul li .session {
		width: 72%;
		padding: 24px 4%;
	}
	
	.program .schedule ul li .time {
		width: 16%;
		padding: 26px 2%;
	}
	
	.program .schedule ul li {
		margin-bottom: 20px;
	}
	
	.program .schedule .date {
		margin: 40px 0 10px;
	}
	
}


@media (max-width: 600px) {
	
	.program .schedule ul li .session {
		width: 64%;
		padding: 24px 6%;
	}
	
	.program .schedule ul li .time {
		width: 20%;
	}
		
}


@media (max-width: 500px) {
	
	.program .schedule ul li .time, .program .schedule ul li .session {
		display: block;
	}
	
	.program .schedule ul li .session {
		width: 90%;
		padding:20px 5% 30px;
		margin-left:0;
		line-height: 1.2;
	}
	
	.program .schedule ul li .time {
		width: 90%;
		padding: 20px 5%;
		text-align:left;
	}
	
	.program .schedule ul li {
		margin-bottom: 30px;
	}
		
}


@media (max-width: 450px) {
	
	.program .schedule ul li .session {
		width: 86%;
		padding:15px 7% 25px;
	}
	
	.program .schedule ul li .time {
		width: 86%;
		padding: 20px 7%;
	}
	
}


@media (max-width: 400px) {
	
	.program .schedule ul li .session {
		width: 84%;
		padding:15px 8% 25px;
	}
	
	.program .schedule ul li .time {
		width: 84%;
		padding: 20px 8%;
	}
	
}







/* ==========================================================================
   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 (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

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