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

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



/* ==========================================================================
   Layout classes
   ========================================================================== */

.out {
	width:100%;
}

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

.swaptext {
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
}




/* ==========================================================================
   Styles: global
   ========================================================================== */

body {
	font-family:'Merriweather',Georgia,serif;
	font-size:18px;
}

a {
	color:#05c162;
	text-decoration:none;
}

.btn {
	font-family:'NevisBold',sans-serif;
}

::selection {
	background-color:#05c162;
	color:#fff;
}

input {
	font-family:'Merriweather',Georgia,serif;
}





/* ==========================================================================
   Styles: top
   ========================================================================== */

.top {
	background-image:url('../img/olmsteadpark.jpg');
	background-size:cover;
	background-position:center center;
	background-repeat:no-repeat;
	padding:15px 0 0;
}

.top header {
	padding:0 15px;
	text-align: center;
}

.top .contrib {
	font-family:'NevisBold',sans-serif;
	font-size:9px;
	letter-spacing:0.2em;
	color:#000;
	color:rgba(0,0,0,0.4);
	background-color:#fff;
	background-color:rgba(255,255,255,0.6);
	border-radius:3px;
	padding:8px 12px 6px;
	line-height:1;
	transition:color 0.2s ease, background-color 0.2s ease;
	text-transform:uppercase;
	display:inline-block;
	position: absolute;
	top: 15px;
	left: 15px;
}

.top .contrib:hover {
	color:#000;
	color:rgba(0,0,0,0.8);
	background-color:#fff;
}

.top .logo {
	padding: 20px 22px 28px;
	display: inline-block;
	margin: -15px auto 0;
	width: 175px;
	height: 95px;
	background: #05c162;
	background-image: url('../img/logo.svg'), -webkit-linear-gradient(top, #05c162 0%,#05c162 93%,rgba(255,255,255,0.4) 93%,rgba(255,255,255,0.4) 96%,#05c162 96%,#05c162 100%);
	background-image: url('../img/logo.svg'), -ms-linear-gradient(top, #05c162 0%,#05c162 93%,rgba(255,255,255,0.4) 93%,rgba(255,255,255,0.4) 96%,#05c162 96%,#05c162 100%);
	background-image: url('../img/logo.svg'), linear-gradient(to bottom, #05c162 0%,#05c162 93%,rgba(255,255,255,0.4) 93%,rgba(255,255,255,0.4) 96%,#05c162 96%,#05c162 100%);
	background-size: 175px 95px, auto;
	background-repeat: no-repeat, no-repeat;
	background-position: center 20px, center center;
	transition:top 0.2s ease;
	position:relative;
}

.top .logo:hover {
	top:-2px;
}

.top .social {
	list-style:none;
	padding:0;
	margin: 0;
	position: absolute;
	top: 15px;
	right: 15px;
}

.top .social li {
	display:inline;
	margin-left:10px;
}

.top .social li a {
	background-repeat:no-repeat;
	background-size:24px 24px;
	width:24px;
	height:24px;
	opacity:0.6;
	display: inline-block;
	transition:opacity 0.2s ease;
}

.top .social li a:hover {
	opacity:1.0;
}

.top .social li .fb {
	background-image:url('../img/fb-icon.svg');
}

.top .social li .tw {
	background-image:url('../img/tw-icon.svg');
}

.top h1 {
	font-family:'NevisBold',sans-serif;
	color:#fff;
	text-shadow:0 0 50px rgba(0,0,0,1);
	text-align:center;
	font-size:75px;
	line-height:1.05;
	font-weight: normal;
	width:90%;
	margin:25px auto 40px;
}

.top .signup {
	background-color:#fff;
	border:8px solid rgba(5,193,98,0.7);
	width:60%;
	margin:0 auto;
	text-align:center;
	-moz-background-clip:padding-box;
	-webkit-background-clip:padding-box;
	background-clip:padding-box;
	padding:25px 0 35px;
	position: relative;
}

.top .signup header {
	background-image:url('../img/single-dotted.svg');
	background-repeat:repeat-x;
	background-position:center center;
	width:80%;
	margin:0 auto;
}

.top .signup header h4 {
	font-family:'NevisBold',sans-serif;
	font-weight:normal;
	text-transform:uppercase;
	font-size:10px;
	letter-spacing:0.4em;
	display:inline-block;
	padding:0 5px 0 10px;
	background-color:#fff;
	margin:0;
	position: relative;
	top: -2px;
}

.top .signup form {
	margin-top:20px;
}

.top .signup form input[type='text'], .top .signup form input[type='email'] {
	font-size:18px;
	border:4px solid #e6e6e6;
	width:50%;
	padding:15px 10px;
	transition:border 0.2s ease;
}

.top .signup form input[type='text']:focus, .top .signup form input[type='email']:focus {
	border:4px solid #05c162;
	border:4px solid rgba(5,193,98,0.7);
	outline:none;
}

.top .signup form input[type='submit'] {
	background-color:#ffd817;
	border:none;
	border-bottom:4px solid #e5b900;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
	color:#000;
	color:rgba(0,0,0,0.9);
	font-family:'NevisBold',sans-serif;
	font-size:12px;
	text-transform:uppercase;
	letter-spacing:0.2em;
	padding:15px 25px 13px;
	line-height:1;
	position:relative;
	transition:border 0.1s ease, top 0.1s ease, border-radius 0.1s ease;
}

.top .signup form input[type='submit']:hover, .top .signup form input[type='submit']:focus {
	border-bottom:2px solid #e5b900;
	border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px;
	top:2px;
	outline:none;
}

.top .response {
	margin: 20px 6% -10px;
	font-size: 13px;
	color: #fff;
	padding: 10px;
	background-color:#ccc;
}

.top #mce-error-response {
	background-color:#05c162;
}

.top #mce-error-response a {
	color:#fff;
	border-bottom:1px dashed #fff;
	transition:opacity 0.2s ease, border-bottom 0.2s ease;
}

.top #mce-error-response a:hover {
	border-bottom:none;
	opacity:0.8;
}

.top #mce-success-response {
	background-color: #05c162;
}

.top .submit-wrap {
	display: inline-block;
	margin-left: 3%;
}

div.mce_inline_error {
	margin: 15px 10%;
	font-size: 13px;
	color: #fff;
	padding: 10px;
	background-color: #F8893F;
}

.top .img-credit {
	padding:40px 8px 8px 0;
	color:#fff;
	color:rgba(255,255,255,0.8);
	font-size:8px;
	letter-spacing:0.2em;
	font-family:'Merriweather',Georgia,serif;
	text-align:right;
	display:block;
	text-transform:uppercase;
	text-shadow:0 0 10px rgba(0,0,0,0.8);
}







/* ==========================================================================
   Styles: main
   ========================================================================== */

.main {
	padding:25px 0 180px;
}

.main:before {
	content:'';
	width: 0; 
	height: 0; 
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	border-top: 8px solid #05c162;
	position:relative;
	top:0;
	left:50%;
}

.main .intro {
	margin: 0 auto;
	width: 90%;
}

.main .intro .fam-photo {
	width:40%;
	border:8px solid #fff;
	box-shadow:0 0 20px rgba(0,0,0,0.15);
	float:left;
}

.main .intro .fam-photo.mob {
	display:none;
}

.main .intro .letter {
	width:52%;
	margin-left:5%;
	float:right;
	padding-top:15px;
}

.main .intro .letter p:first-child {
	margin-top:0;
}

.main .intro .letter a {
	border-bottom:1px dashed #05c162;
	font-weight:bold;
	transition:opacity 0.2s ease, border 0.2s ease;
}

.main .intro .letter a:hover {
	opacity:0.7;
	border-bottom:1px dashed #fff;
}

.main .intro .letter strong {
	font-weight:bold;
	font-size:22px;
}

.main .intro .letter span {
	display: block;
	padding-top: 65px;
	font-family: 'NevisBold',sans-serif;
	color: #ccc;
	font-size: 9px;
	letter-spacing: 0.2em;
	background-image: url('../img/russell-sig.svg');
	background-size: 110px 55px;
	background-position: 0 5px;
	background-repeat: no-repeat;
	text-transform: uppercase;
}

.main .intro .letter p:last-child {
	margin-top:25px;
}

.main .hr {
	background-image:url('../img/double-dotted.svg');
	background-repeat:repeat-x;
	background-position:center center;
	width:80%;
	margin:45px auto 0px;
	text-align: center;
}

.main .hr span {
	background-image:url('../img/stars.svg');
	background-repeat:no-repeat;
	background-position:center center;
	background-size:54px 9px;
	width:54px;
	height:9px;
	margin:0 auto;
	background-color:#fff;
	padding:0 10px;
	display: inline-block;
}

.main .CTAs {
	text-align:center;
}

.main .CTAs h4 {
	font-weight:normal;
	font-size:16px;
	margin: 50px 0 30px;
}

.main .CTAs .contrib {
	width:75%;
	margin:0 auto;
	height:110px;
}

.main .CTAs .contrib a {
	background-color:#05c162;
	border-bottom:7px solid #069148;
	border-bottom-left-radius:5px;
	border-bottom-right-radius:5px;
	padding:35px 0 30px;
	text-align:center;
	color:#fff;
	font-size:36px;
	font-family: 'NevisBold',sans-serif;
	position:relative;
	width:100%;
	display:inline-block;
	transition:border-radius 0.2s ease, top 0.2s ease, border 0.2s ease;
}

.main .CTAs .contrib a:hover {
	border-bottom:4px solid #069148;
	border-bottom-left-radius:5px;
	border-bottom-right-radius:5px;
	top:3px;
}

.main .CTAs .social-btns {
	width:75%;
	margin:50px auto 0;
}

.main .CTAs .social-btns .btn-contain {
	display:inline-block;
	width:46%;
}

.main .CTAs .social-btns a {
	font-family: 'NevisBold',sans-serif;
	display:inline-block;
	border-bottom-left-radius:5px;
	border-bottom-right-radius:5px;
	padding:20px 0 25px;
	text-align:center;
	color:#fff;
	font-size:15px;
	position:relative;
	transition:border-radius 0.2s ease, top 0.2s ease, border 0.2s ease;
	width:100%;
}

.main .CTAs .social-btns a strong {
	font-size:22px;
}

.main .CTAs .social-btns .fb {
	margin-right:7%;
}

.main .CTAs .social-btns .fb a {
	background-color:#0071bc;
	border-bottom:7px solid #0a5577;
}

.main .CTAs .social-btns .fb a:hover {
	top:3px;
	border-bottom:4px solid #0a5577;
}

.main .CTAs .social-btns .tw a {
	background-color:#29abe2;
	border-bottom:7px solid #1391bc;
}

.main .CTAs .social-btns .tw a:hover {
	top:3px;
	border-bottom:4px solid #1391bc;
}

.main .CTAs .social-btns .icon {
	background-size:36px 36px;
	background-repeat:no-repeat;
	width:36px;
	height:36px;
	display: inline-block;
	position: relative;
	top: 8px;
	margin-left: 5px;
}

.main .CTAs .social-btns .fb .icon {
	background-image:url('../img/fb-icon.svg');
}

.main .CTAs .social-btns .tw .icon {
	background-image:url('../img/tw-icon.svg');
}







/* ==========================================================================
   Styles: footer
   ========================================================================== */

.footer {
	background-color:#05c162;
	border-top:5px solid #04ad58;
	text-align:center;
	color:#fff;
	padding:25px 0 35px;
	font-size:12px;
}

.footer p span {
	color:rgba(255,255,255,0.8);
}




/* ==========================================================================
   MQ: top
   ========================================================================== */

   
@media (max-width: 900px) {
	
	.top .signup {
		width: 70%;
	}
	
	.top h1 {
		width: 100%;
	}
	
}

@media (max-width: 800px) {
	
	.top h1 {
		font-size:68px;
	}
	
}

@media (max-width: 700px) {
	
	.top .signup {
		width: 90%;
	}
	
	.top h1 {
		line-height: 0.95;
	}
	
}

@media (max-width: 600px) {
	
	.top h1 {
		font-size:60px;
		text-shadow: 0 0 40px rgba(0,0,0,0.8);
	}
	
	.top .signup {
		width:95%;
	}
	
}

@media (max-width: 500px) {
	
	.top h1 {
		font-size:50px;
	}
	
	.top .logo {
		padding:18px 20px 25px;
		width:149px;
		height:81px;
		background-size:149px 81px, auto;
		background-position:center 18px, center center;
		left: 4%;
	}
	
	.top .signup form input[type='text'], .top .signup form input[type='email'] {
		width: 45%;
	}
	
	.top .signup form input[type='submit'] {
		padding: 15px 18px 13px;
	}
	
}

@media (max-width: 450px) {
	
	.top .contrib, .top .social {
		display:none;
	}
	
	.top .logo {
		left:0;
	}
	
	.top .signup {
		padding: 20px 0 30px;
	}
	
	.top .signup form {
		margin-top: 15px;
	}
	
	.top .signup form input[type='text'], .top .signup form input[type='email'] {
		width: 40%;
	}
	
}

@media (max-width: 400px) {
	
	.top h1 {
		font-size:40px;
		text-shadow: 0 0 30px rgba(0,0,0,0.7);
	}
	
	.top .signup form {
		margin-top: 12px;
	}
	
	.top .signup form input[type='text'], .top .signup form input[type='email'] {
		width: 75%;
		text-align:center;
		font-size: 16px;
		padding: 15px 5px;
		margin-bottom: 10px;
	}
	
	.top .signup header {
		width: 75%;
	}
	
	.top .signup header h4 {
		letter-spacing: 0.3em;
	}
	
	.top .signup form input[type='submit'] {
		padding: 15px 25px 13px;
	}
	
	.top .signup {
		padding: 20px 0 27px;
	}
	
	.top .submit-wrap {
		height:45px;
	}
	
}
   



/* ==========================================================================
   MQ: main
   ========================================================================== */

   
@media (max-width: 950px) {
	
	.main .intro {
		width: 95%;
		margin-left:5%;
	}
		
	.main .intro .letter {
		padding-top:5px;
	}
	
}

@media (max-width: 900px) {
	
	.main .CTAs .contrib, .main .CTAs .social-btns {
		width: 80%;
	}
	
}

@media (max-width: 800px) {
	
	.main .intro .fam-photo {
		margin-top: 20px;
		box-shadow: 0 0 15px rgba(0,0,0,0.12);
	}
	
	.main .intro {
		width: 98%;
		margin-left:2%;
	}
	
	.main .CTAs .contrib, .main .CTAs .social-btns {
		width: 90%;
	}
	
	.main .CTAs .social-btns .btn-contain {
		width: 47%;
	}
	
	.main .CTAs .social-btns .fb {
		margin-right: 4%;
	}
	
}

@media (max-width: 700px) {
	
	.main .in {
		width:85%;
	}
	
	.main .intro {
		width: 100%;
		margin-left:0;
	}
	
	.main .intro .fam-photo {
		display:none;
	}
	
	.main .intro .fam-photo.mob {
		display:inline;
		float:right;
		margin-top:0;
	}
	
	.main .intro .letter .shorten {
		width:50%;
	}
	
	.main .intro .letter {
		width: 100%;
		margin-left:0;
		padding-top:0;
	}
	
	.main .CTAs .contrib, .main .CTAs .social-btns {
		width: 100%;
	}
	
	.main .CTAs .social-btns .btn-contain {
		width: 48%;
	}
	
	.main .CTAs .social-btns .fb {
		margin-right: 3%;
	}
	
}

@media (max-width: 650px) {
	
	.main .CTAs .social-btns .btn-contain {
		display:block;
		width: 100%;
		margin-right:0;
		padding: 15px 0 20px;
	}
	
	.main .CTAs .social-btns .btn-contain {
		height:80px;
	}
	
	.main .CTAs .contrib {
		height:85px;
	}
	
	.main .intro .fam-photo {
		border: 6px solid #fff;
	}
	
}

@media (max-width: 550px) {
	
	.main .intro .fam-photo {
		display: inline-block;
		margin: 30px 15% 20px;
		width: 70%;
		left: -6px;
		position: relative;
	}
	
	.main .intro .fam-photo.mob {
		display:none;
	}
	
	.main .intro .letter .shorten {
		width:100%;
	}
	
}

@media (max-width: 500px) {
	
	.main .CTAs .contrib a {
		padding: 35px 7% 30px;
		width: 86%;
		line-height: 1;
	}
	
	.main .CTAs .contrib {
		height: 63px;
	}
	
}


@media (max-width: 470px) {
	
	.main .CTAs .contrib {
		height: 102px;
	}

}
	
	
@media (max-width: 450px) {
	
	.main .intro .fam-photo {
		margin: 30px 5% 20px;
		width: 90%;
	}
	
	.main .CTAs .social-btns a {
		font-size: 13px;
	}
	
	.main .CTAs .social-btns a strong {
		font-size: 20px;
	}
	
	.main .CTAs .social-btns .icon {
		background-size: 32px 32px;
		width: 32px;
		height: 32px;
	}
	
}
   
   
   
   
   
   
   /* ==========================================================================
   Animation
   ========================================================================== */


.animated{-webkit-animation-fill-mode:both;-moz-animation-fill-mode:both;-ms-animation-fill-mode:both;-o-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:0.5s;-moz-animation-duration:0.5s;-ms-animation-duration:0.5s;-o-animation-duration:0.5s;animation-duration:0.5s;}.animated.hinge{-webkit-animation-duration:0.5s;-moz-animation-duration:0.5s;-ms-animation-duration:0.5s;-o-animation-duration:0.5s;animation-duration:0.5s;}@-webkit-keyframes swing {
	20%, 40%, 60%, 80%, 100% { -webkit-transform-origin: top center; }	20% { -webkit-transform: rotate(15deg); }	
	40% { -webkit-transform: rotate(-10deg); }
	60% { -webkit-transform: rotate(5deg); }	
	80% { -webkit-transform: rotate(-5deg); }	
	100% { -webkit-transform: rotate(0deg); }
}

@-webkit-keyframes slideInDown {
	0% {
		opacity: 0;
		-webkit-transform: translateY(-2000px);
	}

	100% {
		-webkit-transform: translateY(0);
	}
}

@-moz-keyframes slideInDown {
	0% {
		opacity: 0;
		-moz-transform: translateY(-2000px);
	}

	100% {
		-moz-transform: translateY(0);
	}
}

@-o-keyframes slideInDown {
	0% {
		opacity: 0;
		-o-transform: translateY(-2000px);
	}

	100% {
		-o-transform: translateY(0);
	}
}

@keyframes slideInDown {
	0% {
		opacity: 0;
		transform: translateY(-2000px);
	}

	100% {
		transform: translateY(0);
	}
}

.slideInDown {
	-webkit-animation-name: slideInDown;
	-moz-animation-name: slideInDown;
	-o-animation-name: slideInDown;
	animation-name: slideInDown;
}






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