/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

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

body {
    font-size: 1em;
    line-height: 1.4;
}

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

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

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

img {
    vertical-align: middle;
}

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

textarea {
    resize: vertical;
}

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


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

body {
    font-size: 16px;
    font-family: 'ProximaNova', Helvetica, Arial, sans-serif;
    margin:0;
}
.main-header {
    background: #ddd;
    width: 100%;
    padding: 1px;
    text-align: center;
    position:fixed;
    z-index: 100;
}
.main-content {
    background: #ffcf47;
    width: 100%;
    padding: 81px 0 1em 0;
}
.main-content header .social-bar {
	width: 150px;
	text-align: center;
}
.main-content header {
	overflow: hidden;
	width: 95%;
	margin: 0 auto;
}
.inner-width {
    max-width:800px;
    margin: 0 auto;
}

/***
    Video
***/
.fullframe-video {
    position: relative;
    padding-bottom: 55.875%;
    height: 0;
}
.fullframe-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/***
    Typography
***/
.main-header h1 {
    font-size: 2.625em;
    margin: .25em 0;
    font-weight: normal;
    text-transform: uppercase;
    font-family: 'Arvo', Georgia, Times, serif;
}
.main-header h1 a {
	color: inherit;
	text-decoration: none;
}
.main-content h1 {
    font-size: 1em;
    text-align: center;
    margin: 1.5em 0;
    font-weight: normal;
    font-family: 'Arvo', Georgia, Times, serif;
}
.bubble {
    background: #fff;
    padding: .25em .25em 0 .25em;
    position: relative;
    text-align: center;
    color: #ffae2e;
    font-size: 2em;
    font-family: 'olivier', Georgia, serif;
    margin-top: .5em;
}
.bubble::before {
    content: " ";
    display: block;
    width: 16px;
    height: 16px;
    background: #fff;
    position: absolute;
    top: -8px;
    left: 50%;
    margin-left: -8px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
.main-content h2 {
    margin: 1em 0 0 0;
}
.main-content h2 + p {
    margin-top: 0;
}
.main-content p.teaser { 
	font-family: 'Arvo', Georgia, Times, serif;
	text-align: center;
	font-size: 1.25em;
	margin: 1em 0;
}

/***
    Links
***/
a:link, a:visited {
    color: #24633c;
}
.links {
	font-family: 'Arvo', Georgia, Times, serif;
}
.links h2 {
	font-size: 1em;
}
a.passive:link, a.passive:visited {
	color: inherit;
	text-decoration: none;
	cursor: text;
}

/***
    Form elements
***/
.primary-signup {
	text-align: center;
}
.primary-signup input[type="submit"] {
    background: #31ba66;
    border: 0;
    color: #fff;

    text-transform: uppercase;
}
.primary-signup input {
	font-family: 'ProximaNova', Helvetica, Arial, sans-serif;
    padding: .75em .75em .5em .75em;
    border: 0;
    display: inline-block;
    margin: 0 .5em;
}
.primary-signup input[type="email"] {
	min-width: 250px;
}
.primary-signup-errors, .primary-signup-ty {
	background: #ff602a;
	max-width: 300px;
	margin: 1em auto;
	padding: .75em .75em .5em .75em;
	color: #fff;
}
.primary-signup-ty {
	background: #31ba66;
}
.loader {
	display: none;
	width: 16px;
	height: 16px;
	background: url("../img/loading-yellow.gif") no-repeat;
}
.loading .loader {
	display: inline-block;
}

/***
	Header
***/
.main-header h1, .main-header .logos, .main-header .social-bar {
	display: inline-block;
	text-align: center;
	vertical-align: middle;
}
.main-header h1 {
	width: 40%;
}
.main-header .logos {
	width: 30%;
	text-align: left;
}
.main-header .logos img {
	max-width: 40%;
	height: auto;
}
.main-header .logos a + a {
	margin-left: 1em;
}
.main-header .social-bar {
	text-align: right;
	width: 30%;
}


/***
	Social Bar
***/
.social-bar a {
	display: inline-block;
	text-indent: -9999px;
	overflow: hidden;
	width: 46px;
	height: 44px;
	background-image: url("../img/sprite-social.png");
	text-align: left;
}
.social-bar a.twitter {
	background-position: 0 -44px;
}
.social-bar a.google-plus {
	background-position: 0 -88px;
}

/***
	Extras
***/
.rule {
	max-width: 80%;
	margin: 1.5em auto;
	border: 2px dashed #000;
	border-width: 2px 0 0 0;
	height: 2px;
	background: #ffcf47;
}

/***
	Footer, ported from mrss.com
***/
.main-footer {
	max-width: 950px;
	margin: 1.5em auto;
}
.main-footer-right, .main-footer-middle, .main-footer-left {
	display: inline-block;
	vertical-align: middle;
}
.main-footer-right {
	text-align: right;
	width: 20%
}
.main-footer-left {
	text-align: left;
	width: 20%
}
.main-footer-middle {
	text-align: center;
	width: 60%;
}
.footer-logo {
	position: relative;
	display: inline-block;
	line-height: 0;
}
.footer-logo .logo {
	width: 50px;
	height: 18px;
	display: inline-block;
	background: url("../img/sprites-01.png") 0 -102px no-repeat;
	z-index: 100;
	position: relative;
}
.orange .bg-accent { background-color: #FB9254; }
.footer-logo .color {
	width: 19px;
	height: 18px;
	display: inline-block;
	left: 17px;
	position: absolute;
	z-index: 99;
}
.main-footer-menu {
	text-decoration: none;
	margin: 0;
	padding: 0;
}
.main-footer-menu li, .main-footer .copyright {
	display: inline-block;
	font-size: .875em;
	color: #999;
}
.main-footer-menu a {
	display: inline-block;
	padding: .5em;
	color: #999;
	text-decoration: none;
}
.main-footer-menu a:hover {
	color: #fff;
	background: #999;
}


/* social */

ul.social-icons {
	display: inline-block;
	line-height: 13px;
	padding-left: 0;
}
ul.social-icons li {
    display: inline-block;
    margin: 0 4px;
	
}
ul.social-icons li a {
    background-image: url("../img/sprites-01.png");
    background-repeat: no-repeat;
    display: inline-block;
    text-indent: -99999em;
    text-align: left;
    width: 19px;
    height: 13px;  
}
.social-facebook a  	{ background-position:   0px 0px; }
.social-twitter a   	{ background-position: -22px 0px; }
.social-pinterest a 	{ background-position: -48px 0px; }
.social-rss a 			{ background-position: -75px 0px; }
.social-search a 		{ background-position: -100px 0px; }
.social-googleplus a 	{ background-position: -125px 0px; }
.social-linkedin a 		{ background-position: -150px 0px; }

.orange .social-facebook a:hover  	{ background-position:   0px -40px; }
.orange .social-twitter a:hover   	{ background-position: -22px -40px; }
.orange .social-pinterest a:hover 	{ background-position: -48px -40px; }
.orange .social-rss a:hover 		{ background-position: -75px -40px; }
.is-search-visible .orange .social-search a,
.orange .social-search a:hover 		{ background-position: -100px -40px; }





/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (max-width: 800px) {
	.inner-width {
		max-width: 90%;
		margin-left: auto;
		margin-right: auto;
	}
}
		

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

	.main-header .social-bar, .main-header .logos, .main-header h1 {
		width: 100%;
		text-align: center;
	}
	.main-header .logos img {
		max-width: 100px;
	}
	.main-header h1 {
		margin: .25em 0;
	}
	.main-header {
		padding: .5em 0;
		position: static;
	}
	.main-content {
		padding-top: 1px;
	}
	.main-content .bubble {
		line-height: 1em;
		padding: .5em .125em;
		margin-left: auto;
		margin-right: auto;
	}
	.main-content .primary-signup input + input {
		margin-top: .5em;
	}
	.main-content .links {
		padding: 0;
	}
	.main-footer .main-footer-right, .main-footer .main-footer-middle, .main-footer .main-footer-left {
		width: 100%;
		text-align: center;
	}
	.main-content p.teaser {
		margin: 1em;
	}
	br.text-control, br.text-control::after {
		content: ' ';
	}

}

