/*! 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
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
	box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

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


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

/* ==========================================================================
	Main Styles
========================================================================== */

body {
	font-family: 'Source Sans Pro', sans-serif;
	line-height:1.4;
	color:#3b3a35;
}

a {
	color:#1b59ac;
}

.button {
	display: inline-block;
	width: 80%;
	border-radius: 5px;
	border:solid 1px #fff;
	text-decoration:none;
	padding:10px 10px 5px 10px;
	font-weight:700;
	font-family: 'Biryani', sans-serif;
	text-transform: uppercase;
	transition: all 0.23s ease-in-out 0s;
}

.button:hover {
	color:#3b3a35;
	background:#fff;
}

.content #mc_embed_signup .button,
.button.blue {
	display:inline-block;
	width:80%;
	border-radius:5px;
	border:solid 1px #0049ac;
	text-decoration:none;
	padding:10px 10px 5px 10px;
	font-weight:700;
	font-family: 'Biryani', sans-serif;
	text-transform:uppercase;
	height:auto;
	line-height:1.4;
	background-color:#fff;
	color:#0049ac;
}

.content #mc_embed_signup .button:hover,
.button.blue:hover {
	background-color:#0049ac;
	color:#fff;
}

.content #mc_embed_signup form {
	padding:0;
}

h1,h2,h3,h4,h5 {
	margin-top:0;
	font-family: 'Biryani', sans-serif;
}

h1 {
	margin:0;
	padding:0;
	line-height:0;
}

textarea {
    width: 100%;
    height: 200px;
    padding: 10px;
    border-radius: 5px;
}
	
.pdf-thumb {
	width:50%;
}

.pdf-thumb-2 {
	width:40%;
}

#modal {
	background-color:rgba(0,0,0,0);
	position:fixed;
	width:100%;
	height:100%;
	left:0;
	right:0;
	top:0;
	bottom:0;
	margin:auto;
	display:none;
	transition: background-color 1s;
	color:#fff;
}

#modal.show {
	background-color:rgba(0,0,0,0.95);
	display:block;
	transition: background-color 1s;
}

.modal-content {
	width:90%;
	margin:auto;
	text-align:center;
	padding:10% 0 0 0;
	opacity:1;
}

.modal-content blockquote {
	font-size:1.8rem;
	line-height:1.1;
	margin-bottom:0.5em;
	font-weight:900;
}

.modal-content p {
	font-size:1rem;
	font-weight:700;
}

#modal .button {
	color:#fff;
	border:solid 1px #fff;
}

#modal .button:hover {
	background:#1b59ac;
	color:#fff;
}

.interior-header h1 {
	line-height:1em;
}

header .col1 a {
	display:block;
	padding:30px 20px;
}

h2 {
	margin:0;
	font-size:2.3rem;
	font-weight:900;
}

.hero .content h2 {
	margin:0 0 -0.5em 0;
	font-size:2.3rem;
	line-height:1.2;
}

hr {
	margin:6px 0;
	border-top:solid 6px #cd0000;
}

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

header {
	text-align:center;
}

header a {
	text-decoration:none;
	font-weight:600;
	font-family: 'Biryani', sans-serif;
}

header a:hover {
	color:#ff0000;
}

header li.selected a {
	color:#ff0000;
}

header img {
	max-width:100%;
}

header li a {
	padding:5px;
	text-transform:uppercase;
}

header li {
	padding:5px 0;
}

header nav {
	font-size:1rem;
	padding:0 0 20px 0;
}

header nav img {
	width:35px;
}

header nav li:nth-child(6) {
	display:inline-block;
}

header nav li:last-child {
	display:inline-block;
}


.site-wrapper {
	
}

.legal {
	max-width:1200px;
	margin:auto;
	padding:0 20px 30px 20px;
	font-size:10px;
	display:none;
}

.disclaimer {
	
}

.hero {
	padding:40px 0;
	color:#fff;
	text-align:center;
}

.hero .content {
	padding:20px;
}

.hero a {
	color:#fff;
}

.hero h2 {
	margin-bottom:-0.5em;
}

.hero1 {
	background:url(/img/hero1.jpg) center center no-repeat;
	background-size:cover;
}

.hero1 .content {
	background:#0049ac;
	background:linear-gradient(to right, rgba(0,161,229,0.85),  rgba(0,73,172,0.85));
}

.hero1 .button:hover {
	color:#0049ac;
}

.hero2 {
	background:url(/img/hero2.jpg) center top no-repeat;
	background-size:cover;
}

.hero2 .content {
	background:#cd0000;
	background:linear-gradient(to right, rgba(183,0,0,0.85),  rgba(255,0,0,0.85));
}

.hero2 .button:hover {
	color:#cd0000;
}

.hero3 {
	background:url(/img/hero3.jpg) center center no-repeat;
	background-size:cover;
}

.hero3 .content {
	background:#0049ac;
	background:linear-gradient(to bottom right, rgba(0,161,229,0.85),  rgba(0,73,172,0.85));
}

.hero3 .button:hover {
	color:#0049ac;
}

.hero.hero3 {
	padding:0;
}

.stay-in-touch {
	background:#0049ac url(/img/pattern.gif) center center repeat-x;
}

.stay-in-touch .button:hover {
	color:#0049ac;
}

.donate {
	background:#cd0000 url(/img/pattern2.gif) center center repeat-x;
}

.donate .button:hover {
	color:#cd0000;
}

.product {
	margin:0 2px 20px 2px;
}

.product .img {
	padding:0;
	background:#fff;
	border:solid 2px #e50000;
}

.product .img img {
	display:block;
}

.product .button {
	border:0;
	background:#e50000;
	width:100%;
	border-radius:0;
	margin-top:4px;
}

.product .button:hover {
	color:#fff;
}

.product img {
	max-width:100%;
}

.news {
	padding:20px 20px 0 20px;
	text-align:center;
}

.news img {
	display:block;
	width:100%;
	margin:0 0 10px 0;
}

.news a {
	font-weight:900;
	font-size:1.4rem;
}

.news .item {
	text-align:left;
	padding:0 0 40px 0;
}

footer {
	padding:30px 0 50px 0;
	text-align:center;
}

footer nav {
	padding:0 0 30px 0;
}

footer nav a {
	display:inline-block;
	padding:5px;
}

.disclaimer {
	display:inline-block;
	margin:auto;
	border:solid 1px #000;
	color:#000;
	padding:15px 30px;
	font-size:0.8rem;
}

.interior-header {
	padding:60px 0 0 0;
	background:url(/img/interior-header.jpg) center center no-repeat;
	background-size:cover;
	color:#fff;
}

.interior-header .bar {
	text-align:left;
	padding:25px 0 10px 0;
	background:#0049ac;
	background:linear-gradient(to right, rgba(0,161,229,0.85),  rgba(0,73,172,0.85));	
}

.interior-header h1,
.interior-header h2 {
	padding:0.7em 20px;
	font-weight:900;
	font-size:2.3rem;
}

.content h2 {
	font-size:1.5rem;
	margin-bottom:1em;
}

.content h3 {
	font-size:1rem;
}

.content {
	padding:40px 0 0 0;
}

.content .col1 {
	padding:20px;
}

.content .col2 {
	padding:20px;
}

#payment-form label > span {
	display:block;
}

#payment-form input,
#payment-form select {
	padding:0 5px;
	border-radius:5px;
	border:solid 1px #999;
}

#payment-form input[type=submit] {
	background:#eee;
	padding:5px 15px;
}

#payment-form .form-row {
	padding:0 0 10px 0;
}

#payment-form .payment-errors,
#payment-form .form-error {
	padding-bottom:10px;
	font-weight:bold;
	color:#c00;
}

#payment-form input[type=checkbox] {
	margin:0 7px 3px 0;
	display:inline-block;
	vertical-align:middle;
}

fieldset { 
    display: block;
    margin-left: 2px;
    margin-right: 2px;
    padding-top: 0.35em;
    padding-bottom: 0.625em;
    padding-left: 0.75em;
    padding-right: 0.75em;
    border: solid 1px #999;
	margin-bottom:20px;
	border-radius:5px;
}

fieldset legend {
	padding:0 5px;
	font-weight:bold;
}


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

	.modal-content blockquote {
		font-size:2.5rem;
	}

	.button {
		width:auto;
	}
	
	.content #mc_embed_signup .button,
	.button.blue {
		width:auto;
	}

	header li { 
		padding:0 5px;
		display:inline;
	}
	
	.hero .content {
		padding:50px;
	}
	
	.hero.stay-in-touch,
	.hero.donate {
		padding:0;
	}
	
	.product {
		display:inline-block;
		width:30%;
	}
	
	.hero.hero3 .content {
		padding-top:60px;
	}
	
	.news {
		padding:40px 0;
	}
	
	.news .item {
		display:inline-block;
		width:30%;
		margin:0 2px;
		padding:0 0 10px 0;
		vertical-align:top;
	}
	
	footer li {
		display:inline;
	}
	
	header nav li img {
		margin-top:4px;
	}

}

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

	/*
	header .col1 {
		float:left;
		width:45%;
		text-align:left;
	}
	
	header .col2 {
		float:left;
		width:55%;
		text-align:right;
	}
	*/

	.hero {
		padding:80px 0;
	}
	
	.hero .content {
		padding:50px 100px;
	}
	
	header nav {
		padding:0px 10px 30px 0;
	}
	
	header li {
		padding:0 0 0 10px;
	}
	
	header nav li:last-child {
		padding:0;
	}
	
	header nav li img {
		margin-top:-4px;
	}
	
	.hero.hero3 .content {
		padding-top:120px;
	}
	
	.news {
		padding:60px 0;
	}
	
	.content .col1 {
		width:65%;
		float:left;
		padding-bottom:80px;
	}
	
	.content .col2 {
		padding:100px 20px 60px 20px;
		width:35%;
		float:left;
		color:#9d9c9a;
		font-size:1rem;
		font-weight:700;
	}
	
	.content .col2 blockquote {
		padding:20px 0;
		margin:0;
		font-size:1.2rem;
	}
	
	.content .col2 hr {
		width:50%;
		border-top:solid 8px #f40000;
	}
	.modal-content {
		width:50%;
	}

}

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

	.inner {
		max-width:1200px;
		margin:auto;
	}
	
	.hero {
		padding:160px 0;
	}
	
	.hero .content {
		padding:50px 100px;
	}
	
}

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