/*
Theme Name: Fast Food Forward
Theme URI: http://fastfoodforward.org
Author: Fast Food Forward
Author URI: http://fastfoodforward.org
Description:Fast Food Forward WP Theme
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: fastfoodforward

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

@import url("css/normalize.min.css");

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

.full-width, .margin, input {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

body {
    font-family: "adelle", serif;
    background: #028cc1;
}
.full-width {
    width: 100%;
    background: lightgrey;
    padding: 1px 0;
    overflow: hidden;
}
.margin {
    max-width: 935px;
    margin: 0 auto;
}


/**
    Colors
**/
.site-header {
    background: #fff;
    color: #4d4d4d;
}
.secondary-a {
    background: #028cc1;
    color: #fff;
}
.secondary-b {
    background: #f0f0f0;
    color: #4d4d4d;
}
.secondary-c {
    background: #333333;
    color: #fff;
}
.promo {
    background: #333333 url("/wordpress/wp-content/themes/fastfoodforward/img/fff_promo_background_temp.jpg") no-repeat top center;
}
.secondary-d {
    background: #fff url("/wordpress/wp-content/themes/fastfoodforward/img/about_background.jpg") no-repeat top center;
}
.standard {
    background: #fff;
    color: #4d4d4d;
    padding-bottom: 2em;
}


/**
    Typography
**/
a:link, a:visited {
    color: #3a8ebf;
    text-decoration: underline;
}
a:hover {
    text-decoration: none;
}
.promo h1 {
    font-family: "Open Sans", sans-serif;
    font-size: 2.75em;
    font-weight: bolder;
    line-height: 1em;
    margin-bottom: .36em;
    margin-top: 0;
}
.secondary-b .margin > h1, .secondary-c .margin > h1 {
    font-size: 21px;
    text-transform: uppercase;
    margin: 1.5em 0 1em 0;
    font-weight: 600;
}
.latest-updates article h1 {
    font-family: "Open Sans", sans-serif;
    font-size: 20px;
}
.secondary-d h1 {
    font-family: "Open Sans", sans-serif;
    font-size: 46px;
    color: #ff2c00;
    font-weight: bolder;
    line-height: 1em;
    margin-top: .5em;
    margin-bottom: .35em;
}
.standard h1 {
    font-family: "Open Sans", sans-serif;
    font-size: 46px;
    font-weight: bolder;
    margin-top: 0;
    margin-bottom: .347em;
}
.standard h2 {
    font-size: 1.25em;
    margin-top: 1.2em;
    margin-bottom: .8em;
}
.standard h1 {
    font-family: "Open Sans", sans-serif;
    font-size: 46px;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: .347em;
    line-height: 1.2em;
}
.standard h2 {
    font-size: 1.25em;
    margin-top: 1.2em;
    margin-bottom: .8em;
}
.right h2 {
    font-size: 1em;
    color: #e74e39;
    margin-top: 0;
}
big {
	font-size: 1.375em;
}
.center {
	text-align: center;
}

/**
    Forms (general)
**/
input {
    border-radius: .375em;
    border: 0;
    padding: 0 .5em;
    font-family: "adelle", serif;
    line-height: 1.5em;
    display: inline-block;
}
.placeholder {
    position: absolute;
    left: -9999px;
}
.ie .placeholder {
	position: static;
	left: inherit;
}
form .form-input {
    display: inline-block;
    vertical-align: top;
}
input[type="submit"] {
    background: #ffb600;
    color: #fff;
    font-family: "Open Sans", sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 1.25em;
}
input[type="submit"]:hover, .site-header .signup-form input[type="submit"]:hover {
	-webkit-box-shadow: 0 1px 5px black;
	-moz-box-shadow: 0 1px 5px black;
	box-shadow: 0 1px 5px black;
	-webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.8);
	-moz-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.8);
	box-shadow: 0 1px 5px rgba(0, 0, 0, 0.8);
	background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ffb600), color-stop(100%, #ff8c00));
	background-image: -webkit-linear-gradient(#ffb600, #ff8c00);
	background-image: -moz-linear-gradient(#ffb600, #ff8c00);
	background-image: -o-linear-gradient(#ffb600, #ff8c00);
	background-image: linear-gradient(#ffb600, #ff8c00);
	cursor: pointer;
}
form .disclaimer {
    display: block;
}


/**
    Structure
**/

/*  1. Header */
.site-header {
    overflow: hidden;
    padding: 1em 0;
}
.site-header .margin {
    position: relative;
}
.site-header h1 {
    float: left;
}
.site-header h1 {
    margin: 0;
}
.site-header h2 {
    margin: 0 0 .5em 0;
    padding-top: .125em;
    clear: right;
    font-size: 17px;
}
.site-header h2, .site-header .social-media {
    margin-left: 220px;
}
.site-header .social-media iframe {
    display: inline-block;
    vertical-align: top;
    max-height: 26px !important;
}
.site-header .primary-nav {
    position: absolute;
    top: 2.125em;
    right: 0;
}
.site-header .signup-form {
    position: absolute;
    top: 0;
    right: 0;
}
.site-header .signup-form input {
    background: #c1e5f3;
    width: 12em;
    font-size: 14px;
    line-height: 1.5em;
    padding: .125em .5em;
    border-radius: 3px;
}
.site-header .signup-form label {
	font-size: 14px;
	font-weight: bold;
}
.site-header .signup-form input[type="submit"] {
    width: auto;
    background: #ffb600;
    padding: .125em .5em;
}
.site-header .signup-form strong {
	color: #ffb600;
	font-size: 14px;
	margin-top: .2em;
}

/*  2. Promo */
.promo .margin .content {
	/*background: #000;
    background: rgba(0,0,0,.75);*/
    color: #fff;
    padding: .25em 1em 1px 1em;
    max-width: 430px;
    margin-top: 1em;
    margin-left: 2.5em;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    /*box-shadow: 0 0 3px 3px rgba(0,0,0,.75);*/
    border: 0;
}
.promo .margin .content p {
	text-shadow: 0 0 2px #000;
	text-shadow: 0 0 2px rgba(0,0,0,.6);
	font-weight: 500;
}

/*  3. Homepage Petition */
.promo-form .margin {
    max-width: 820px;
}
.secondary-a input[type="email"] {
    padding: .675em .5em;
    width: 17em;
}
.secondary-a input[type="submit"] {
    padding: .4125em 3em;
    margin-left: 1em;
}
.secondary-a .disclaimer {
    color: #005b7d;
    margin-left: .5em;
    margin-top: .5em;
}
.ie .secondary-a .disclaimer {
	margin-left: 0;
}
.secondary-a .counter {
    margin-left: 12%;
}
.secondary-a .counter strong {
    display: block;
    font-size: 60px;
    line-height: .5em;
    margin-bottom: .25em;
    font-weight: 600;
}
.secondary-a .counter span {
    text-transform: uppercase;
    color: #005b7d;
    font-size: 14px;
    font-weight: bold;
}
.ie .secondary-a label {
	font-weight: bold;
	margin-right: .25em;
}

/*  4. Latest Updates */
.latest-updates {
    padding-bottom: 2em;
}
.latest-updates article {
    display: inline-block;
    width: 40%;
    margin-left: 6%;
    vertical-align: top;
}
.latest-updates article:last-child {
    margin-left: 12%;
}

/*  5. Infographics */
.secondary-c {
    padding-bottom: 2em;
    text-align: center;
}
.secondary-c h1 {
    text-align: left;
}

/*  6. About Fast Food Forward */
.secondary-d {
    padding-bottom: 1em;
    position: relative;
    color: #4d4d4d;
}
.secondary-d .margin {
    position: relative;
    left: 51%;
    width: 500px;
    margin: 0;
}
.secondary-d .margin p {
	margin-right: 20%;
	font-size: 15px;
}
[lang="es-ES"] .secondary-d .margin p {
	margin-right: 35%;
}
[lang="es-ES"] .secondary-d .margin h1 {
	font-size: 36px;
}


/*  7. Two-column layout */
.full-width .left, .full-width .right {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    display: inline-block;
    vertical-align: top;
}
.full-width .left {
    width: 60%;
}
.full-width .left img {
    max-width: 100%;
    height: auto;
}
.full-width .left .feature-image {
	margin-bottom: 1.5em;
}
.full-width .right {
    width: 35%;
    margin-left: 5%;
}
.right .form-input {
	width: 100%;
	margin: 0 0 1em 0;
}
.right .form-input input {
    background: #c1e5f3;
    width: 100%;
    padding: .5em;
}
.right .form-input input[type="checkbox"] {
    width: auto;
    background: none;
}
.right .form-input input[type="checkbox"] + label {
    font-weight: bold;
}
.right .form-input input[type="submit"] {
    background: #06cd43;
    padding: .25em .5em;
}
.right .form-input input[type="submit"]:hover {
	-webkit-box-shadow: 0 1px 5px black;
	-moz-box-shadow: 0 1px 5px black;
	box-shadow: 0 1px 5px black;
	-webkit-box-shadow: 0 1px 5px rgba(0,0,0,.8);
	-moz-box-shadow: 0 1px 5px rgba(0,0,0,.8);
	box-shadow: 0 1px 5px rgba(0,0,0,.8);
	background-image: -webkit-gradient(linear,50% 0%,50% 100%,color-stop(0%,#4ad100),color-stop(100%,#18b100));
	background-image: -webkit-linear-gradient(#4ad100,#18b100);
	background-image: -moz-linear-gradient(#4ad100,#18b100);
	background-image: -o-linear-gradient(#4ad100,#18b100);
	background-image: linear-gradient(#4ad100,#18b100);
	cursor: pointer;
}
.right .form-input.conditional {
	display: none;
}
.right .form-input .disclaimer {
	font-size: .75em;
	margin-top: .5em;
	color: #666666;
}
.right .share {
	display: inline-block;
	width: 100%;
	color: #fff;
	background: #028cc1;
	font-size: 20px;
	font-weight: bold;
	line-height: 50px;
	text-decoration: none;
	padding: 0 10px;
	margin-left: 0;
	margin-right: 10px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	-ms-border-radius: 5px;
	-o-border-radius: 5px;
	border-radius: 5px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}
.right .share:hover {
	-webkit-box-shadow: 0 1px 5px black;
	-moz-box-shadow: 0 1px 5px black;
	box-shadow: 0 1px 5px black;
	-webkit-box-shadow: 0 1px 5px rgba(0,0,0,.8);
	-moz-box-shadow: 0 1px 5px rgba(0,0,0,.8);
	box-shadow: 0 1px 5px rgba(0,0,0,.8);
	background-image: -webkit-gradient(linear,50% 0%,50% 100%,color-stop(0%,#008df9),color-stop(100%,#005296));
	background-image: -webkit-linear-gradient(#008df9,#005296);
	background-image: -moz-linear-gradient(#008df9,#005296);
	background-image: -o-linear-gradient(#008df9,#005296);
	background-image: linear-gradient(#008df9,#005296);	
}

/*	8. Updates */
.updates h1 {
	margin-bottom: .5em;
}
.updates article {
	padding-bottom: 1em;
	border-bottom: 1px solid #ccc;
	margin-bottom: 2em;
}
.updates article:last-child {
	border: 0;
}
.updates article h1 {
	font-size: 1.75em;
	margin-bottom: 0;
}
.standard article h1 {
	margin-bottom: 0;
}
.updates article h1 a {
	text-decoration: none;
}
article time {
	font-style: italic;
	margin-top: .25em;
}


/**
    Navigation
**/

/*  1. Primary */
.primary-nav ul {
    margin: 0;
    padding: 0;
}
.primary-nav ul li {
    border-right: 1px solid #d9d9d9;
    padding: 0;
    float: left;
    font-family: "Open Sans", sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 14px;
}
.primary-nav ul li:last-child, .primary-nav ul li:last-child a {
    border-right: 0;
    padding-right: 0;
}
.primary-nav ul li a {
    text-decoration: none;
    color: #4d4d4d;
    padding: .125em .75em;
    display: inline-block;
}
.primary-nav ul li a:hover, .primary-nav ul .current_page_item a {
    color: #028cc1;
}


/*  2. Language Switcher */
.language ul {
    margin: 0;
    padding: 0;
    text-align: right;
}
.standard .language ul {
    text-align: left;
}
.language ul li {
    display: inline;
    padding: 0;
    font-size: 12px;
    color: #42a1d8;
}
.language ul li:first-child::after {
    content: " | ";
    color: #aaa;
}
.language ul li a {
    color: #42a1d8;
    font-weight: bold;
}
.language ul li.current-lang a {
	text-decoration: none;
	font-weight: normal;
}

/*  3. Footer */
.footer-links {
    list-style: none;
    padding: 0;
}
.footer-links li {
    display: inline-block;
    width: 33%;
    vertical-align: top;
}
.footer-links li strong {
    display: block;
    color: #005b7d;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
}
.footer-links li a {
    color: #ffd773;
    text-decoration: none;
}
.footer-links li a:hover {
    color: #fff;
}
.footer-nav ul {
    padding: 0;
    font-size: .875em;
}
.footer-nav a {
    color: #ccf;
    color: rgba(255,255,255,.8);
    text-decoration: none;
}
.footer-nav a:hover {
    color: #fff;
}






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

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

	.secondary-a .counter { 
		margin-left: 1em;
	}
	.full-width .margin {
		padding-left: .5em;
		padding-right: .5em;
	}
	.site-header .primary-nav {
		right: .5em;
	}

}

@media only screen and (max-width: 785px) {
	.site-header .signup-form {
		display: none;
	}
	.promo-form .form-input input[type="email"] {
		width: 13em;
	}
	.promo-form .form-input input[type="submit"] {
		padding-left: 1em;
		padding-right: 1em;
	}
	.promo-form {
		text-align: center;
	}
	.secondary-d .margin {
		position: static;
		left: auto;
		width: 100%;
	}
	.secondary-d {
		background: #fff;
	}
	.secondary-d .margin p {
		margin-right: 0;
	}
	.promo.full-width {
		padding: 0;
	}
	.promo { background-position: right top; }
	.promo .margin {
		padding: 0;
	}
	.promo .margin .content {
		width: 100%;
		background: #333;
		background: rgba(0,0,0,.6);
		border-radius: 0;
		margin: 0;
		max-width: none;
		box-shadow: none;
		height: 100%;
		border: 0;
		box-sizing: border-box;
		-moz-box-sizing: border-box;
	}
}

@media only screen and (max-width: 650px) {
	.site-header .social-media {
		display: none;
	}
	.site-header h1, .site-header h2, .site-header .primary-nav {
		float: none;
		position: static;
		top: inherit; right: inherit;
		margin-left: 0;
	}
	.site-header { text-align: center; }
	.site-header h2 {
		margin-top: .5em;
		font-size: 1em;
	}
	.site-header .primary-nav {
		width: 100%;
		overflow: hidden;
		margin-top: 1em;
	}
	.site-header .primary-nav li {
		float: none;
		display: inline-block;
	}
	.site-header .primary-nav li a {
		padding-left: .5em;
	}

	.secondary-d {
		background: #fff;
	}
	.site-footer .footer-links li {
		width: 100%;
		margin-bottom: .5em;
	}
	.secondary-c img {
		max-width: 100%;
		height: auto;
	}
}
@media only screen and (max-width: 500px) {
	.promo-form .form-input {
		display: block;
		width: 100%;
	}
	.promo-form .disclaimer, .promo-form input[type="submit"] {
		margin-left: 0;
	}
	.promo-form .form-input input, .promo-form .form-input input[type="email"] {
		width: 80%;
		max-width: none;
	}
	.latest-updates article, .latest-updates article:last-child {
	    width: 100%;
	    margin-left: 0;
	}
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

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

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

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

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

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