/*
Theme Name: SFA 2015 Child
Theme URI: http://www.goodlookinkids.com
Description: Child theme for SFA 2015
Author: Good Lookin Kids Inc.
Author URI: http://www.goodlookinkids.com
Template: SFA-2015
Version:1.0
*/

@import url("../SFA-2015/style.css");

/* ========================================================================== *\
   IMAGE RESIZE
\* ========================================================================== */

img{max-width: 100%; height: auto !important;}
img{ -ms-interpolation-mode: bicubic; }

:root {
	--header-top-padding : 20px;
	--header-bottom-padding: 10px;
	--header-height : 70px;
	--subnav-height : 61px;
	--hero-height : 300px;
}


/* ========================================================================== *\
   PHONE WIDTH
\* ========================================================================== */

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

	#hero {
		background-repeat: no-repeat;
		background-attachment: scroll;
		background-size: cover;
		background-position: center top;
	}

	#menuBtn {
		display: block;
		float: right;
		color: #ffffff;
		font-size: 25px;
		margin-top: 15px;
		cursor: pointer;
	}
	
	blockquote {
		font-size: 28px;
		/*line-height: 44px;*/
		line-height: 1.7em;
		padding-bottom: 60px;
	}
	
	#header {
		height: 70px;
		padding: 10px 0px 0px 0px;
	}
	
	#pageHeader {
		height: 70px;
		padding: 20px 0px 10px 0px;
		position: fixed;
		top: 0px;
		left: 0px;
		z-index: 999;
	}
	
	#logo {
		width: 130px;
	}
	
	ul.menu {
		display: none;
	}
	
	
	#footerLogo {
		display: inline-block;
	}

	.gridContainer {
		grid-gap: 5rem;
		justify-items: center;
		text-align: center;
	}

	.socialContainer {
		justify-content: center;
	}
	
	#hero.buffer {
		padding-bottom: 0px;
	}
	
	h1.heroText {
		width: 100%;
		height: auto;
		font-size: 24px;
		/*line-height: 30px;*/
		line-height: 2em;
		text-align: center;
		left: 0px;
		top: 220px;
		margin: 0px 0px 0px 0px;
	}
	
	#heroLogo {
		width: 150px;
		left: 50%;
		margin-left: -75px;
	}
	
	#window.heroWindow {
		bottom: 100px;
	}
	
	#slider {
		height:auto;
	}
	
	.slide {
		height:auto;
	}
	
	.slideImg {
		width:auto;
		height: auto;
	}
	
	#window {
		width: 100%;
		height: auto;
		padding: 60px 0px 20px 0px;
		margin-bottom: 50px;
	}
	
	#window h1 {
		font-size: 30px;
		/*line-height: 38px;*/
		line-height: 2em;
	}
	
	.one_fourth.full {
		width:100%;
		margin:0px 0px 20px 0px;
	}
	
	.one_fifth.full {
		width:100%;
		margin:0px 0px 20px 0px;
	}
	
	#homeNews {
		display: block;
		padding: 30px;
		width: auto;
		height: auto;
		color: #ffffff;
		text-align: center;
		background-color:#63666a;
		font-size:22px;
		/*line-height: 32px;*/
		line-height: 1.3em;
		overflow: auto;
	}
	
	#homeNews a {
		color: #ffffff;
	}
	
	#page.buffer {
		padding: 60px 0px 0px 0px;
	}
	
	#subnav {
		border-bottom: none;
		top: calc(var(--header-height) + var(--header-bottom-padding) + var(--header-top-padding) + var(--hero-height));
		position: static;
	}

	.heroTextContainer {
		margin-left: 20%;
	}

	#pageHero {
		background-image: none !important;
		margin-top: calc(var(--header-bottom-padding) + var(--header-top-padding) + var(--header-height) );
	}
	
	#subnav.fixed {
		position:static;
		top: inherit;
		left: inherit;
		z-index: auto;
	}
	
	#subnav .content {
		padding: 0px;
	}
	
	ul.subnav {
		display: block;
	    align-items:inherit;
	    justify-content:inherit;
	    width: 100%;
		margin: 0px;
		padding: 0px;    	
	}
	
	ul.subnav li {
		display: block;
		flex: 0px; /* Default */
	    list-style-type: none;
	    text-align: center;
	}
	
	ul.subnav li a {
		display: block;
		vertical-align: middle;
		padding: 10px 0px;
		border-right: none;
		border-bottom: 1px solid #75777b;
	}
	
	ul.subnav li.current_page_item a {
		background-color: #75777b;
		color: #ffffff;
		position: relative;
	}
	
	ul.subnav li.current_page_item a:after {
		border-width: 0px;
		margin-left: 0px;
	}

	.gridContainer #footerLeft ul.sitemap ul {
		margin: 0;
	}
	
	#pageHero {
		margin-top: calc(var(--header-bottom-padding) + var(--header-top-padding) + var(--header-height)) !important;
	}
	
	h1.pageHeroText {
		width: auto;
		height: 60px;
		/*line-height: 56px;*/
		line-height: 2em;
		top: 40%;
		left: 0px;
		margin: 0px 0px 0px 0px;	
	}
	
	#usaMapImage {
		display: none;
	}
	
	.content {
		width: auto;
		padding: 0px 20px;
	}
	
	.desktop {
		display: none;
	}
	
	.cta {
		margin-bottom: 20px;
	}
	
	#approachChart {
		display: none;
	}

	.sponsor {
		width:100%;
	}


	.sponsorGrid {
		grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	}

	.one_half, .one_third, .two_third, .one_fourth, .three_fourth, .one_fifth, .two_fifth, .three_fifth, .four_fifth, .one_sixth, .five_sixth { 
		width:auto; 
		margin-right:0px; 
		float:none; 
		clear: both;
		margin-bottom:20px;
	}
	
	.last{ 
		margin-right:0 !important; 
		clear:both; 
	}
	
	li.gf_left_half, li.gf_right_half {
		clear: both !important;
		float: none !important;
	}

	#overlayContent {
		left: 0;
		max-width: 100%;
		margin-left: 0;
	}

}

/* ========================================================================== *\
   TABLET PORTRAIT WIDTH
\* ========================================================================== */

@media screen and (min-width:550px) and (max-width:770px) {

	#menuBtn {
		display: block;
		float: right;
		color: #ffffff;
		font-size: 25px;
		margin-top: 15px;
		cursor: pointer;
	}

	blockquote {
		font-size: 28px;
		/*line-height: 44px;*/
		line-height: 1.7em;
		padding-bottom: 60px;
	}
	
	#header {
		height: 70px;
		padding: 10px 0px 0px 0px;
	}
	
	#pageHeader {
		height: 70px;
		padding: 20px 0px 10px 0px;
		position: fixed;
		top: 0px;
		left: 0px;
		z-index: 999;
	}
	
	#logo {
		width: 125px;
	}
	
	ul.menu {
		display: none;
	}
	
	
	#footerLogo {
		display: inline-block;
	}

	.gridContainer {
		grid-gap: 5rem;
	}
	
	#hero {
		background-repeat: no-repeat;
		background-attachment: scroll;
		background-size: cover;
		background-position: center top;
	}
	
	#hero.buffer {
		padding-bottom: 80px;
	}
	
	h1.heroText {
		width: 100%;
		height: 100px;
		font-size: 60px;
		/*line-height: 78px;*/
		line-height: 2em;
		text-align: center;
		left: 0px;
		margin: -50px 0px 0px 0px;
	}

	.heroTextContainer {
		margin-left: 20%;
	}
	
	#subnav {
		border-bottom: none;
		top: calc(var(--header-height) + var(--header-bottom-padding) + var(--header-top-padding) + var(--hero-height));
		position: static;
	}

	#slider {
		height:auto;
	}
	
	.slide {
		height:auto;
	}
	
	.slideImg {
		width:auto;
		height: auto;
	}
	
	#window {
		width: 100%;
		height: auto;
		padding: 60px 0px 20px 0px;
		margin-bottom: 50px;
	}
	
	#window h1 {
		font-size: 30px;
		/*line-height: 38px;*/
		line-height: 2em;
	}
	
	#homeNews {
		padding: 20px 30px;
		width: auto;
		height: auto;
		font-size:20px;
		/*line-height: 24px;*/
		line-height: 1.1em;
		background-color:#ffffff;
	}
	
	#homeNews a {
		color: #63666a;
	}
	
	#page.buffer {
		padding: 150px 0px 0px 0px;
	}
	
	#subnav {
		border-bottom: none;
	}
	
	#subnav.fixed {
		position:static;
		top: inherit;
		left: inherit;
		z-index: auto;
	}
	
	#subnav .content {
		padding: 0px;
	}
	
	ul.subnav {
		display: block;
	    align-items:inherit;
	    justify-content:inherit;
	    width: 100%;
		margin: 0px;
		padding: 0px;    	
	}
	
	ul.subnav li {
		display: block;
		flex: 0px; /* Default */
	    list-style-type: none;
	    text-align: center;
	}
	
	ul.subnav li a {
		display: block;
		vertical-align: middle;
		padding: 10px 0px;
		border-right: none;
		border-bottom: 1px solid #75777b;
	}
	
	ul.subnav li.current_page_item a {
		background-color: #75777b;
		color: #ffffff;
		position: relative;
	}
	
	ul.subnav li.current_page_item a:after {
		border-width: 0px;
		margin-left: 0px;
	}

	#pageHero {
		margin-top: calc(var(--header-bottom-padding) + var(--header-top-padding) + var(--header-height) ) !important;
	}

	#pageHero.ourApproach {
		background: url('../SFA-2015/images/hero-our-approach-square.jpg');
		background-position: center center;
		background-position: center center;
		background-size:cover;
		background-repeat: no-repeat;
	}
	
	#pageHero.results {
		background: url('../SFA-2015/images/hero-results-square.jpg');
		background-position: center center;
		background-position: center center;
		background-size:cover;
		background-repeat: no-repeat;
	}
	
	#usaMapImage {
		display: none;
	}
	
	.content {
		width: auto;
		padding: 0px 20px;
	}
	
	.desktop {
		display: none;
	}
	
	.cta {
		margin-bottom: 20px;
	}
	
	#approachChart {
		display: none;
	}

	li.gf_left_half, li.gf_right_half {
		clear: both !important;
		float: none !important;
	}

	.sponsor {
		width:33%;
	}

	.reachHeading {
		font-size: 60px;
	}

	.reachWords {
		font-size: 20px;
		margin-top: 5px;
	}

	#overlayContent {
		left: 0;
		max-width: 100%;
		margin-left: 0;
	}
	
}

/* ========================================================================== *\
   TABLET LANDSCAPE WIDTH
\* ========================================================================== */

@media screen and (min-width:771px) and (max-width:1024px) {

	#header {
		height: 70px;
		padding: 20px 0px 10px 0px;
	}
	
	#pageHeader {
		height: 70px;
		padding: 20px 0px 10px 0px;
		position: fixed;
		top: 0px;
		left: 0px;
		z-index: 999;
	}
	
	ul.menu {
		margin: 32px 0px 0px 0px;
	}
	
	ul.menu li a {
		padding: 6px 0px 6px 25px;
		font-size: 13px;
		/*line-height: 13px;*/
		line-height: 1em;
	}
	
	ul.menu li.first a {
		padding-left: 0px;
	}
	
	ul.menu li.active a:after {
		top: 130%;
		left: 50%;
		position: absolute;
		pointer-events: none;
		border-color: rgba(212, 68, 41, 0);
		border-top-color: #d14124;
		border-width: 12px;
		margin-left: 0px;
	}
	
	ul.menu li.getStartedBtn a {
		padding: 6px 8px;
		margin-left: 20px;
	}
	
	ul.menu li.donateBtn a {
		padding: 6px 8px;
		margin-left: 10px;
	}
	
	#footerLogo {
		display: inline-block;
	}

	.gridContainer {
		grid-gap: 4rem;
	}
	
	#hero {
		background-repeat: no-repeat;
		background-attachment: fixed;
		background-size: cover;
	}
	
	#hero.buffer {
		padding-bottom: 100px;
	}

	.heroTextContainer {
		margin-left: 20%;
	}
	
	h1.heroText {
		width: 100%;
		height: 120px;
		/*font-size: 82px;*/
		line-height: 98px;
		line-height: 1.2em;
		text-align: center;
		left: 0px;
		margin: -60px 0px 0px 0px;
	}
	
	#slider {
		height:auto;
	}
	
	.slide {
		height:auto;
	}
	
	.slideImg {
		width:auto;
		height: auto;
	}
	
	#homeNews {
		padding: 20px 30px;
		width: auto;
		height: auto;
		font-size:28px;
		/*line-height: 34px;*/
		line-height: 2em;
		background-color:#ffffff;
	}
	
	#homeNews a {
		color: #63666a;
	}
	
	#page.buffer {
		padding: 150px 0px 0px 0px;
	}
	
	#subnav.fixed {
		position: fixed;
		top: 100px;
		left: 0px;
		z-index: 999;
	}
	
	ul.subnav li a {
		padding: 20px 0px;
		font-size:17px;
		/*line-height: 20px;*/
		line-height: 1.1em;
	}
	
	ul.subnav li a.double {
		padding: 10px 0px;
	}

	#pageHero.ourApproach {
		background: url('../SFA-2015/images/hero-our-approach-square.jpg');
		background-position: center center;
		background-position: center center;
		background-size:cover;
		background-repeat: no-repeat;
	}
	
	#pageHero.results {
		background: url('../SFA-2015/images/hero-results-square.jpg');
		background-position: center center;
		background-position: center center;
		background-size:cover;
		background-repeat: no-repeat;
	}
	
	#pageHero {
		height: 600px;
	}

	.sponsorGrid {
		grid-template-columns: repeat(auto-fit, minmax(189px, 1fr));
	}

	h1.pageHeroText {
		/*line-height: 98px;*/
		line-height: 2em;
		top: 40%;
		left: 0px;
		margin: 0px 0px 0px 0px;	
	}
	
	#usaMapImage {
		display: none;
	}
	
	.content {
		width: auto;
		padding: 0px 40px;
	}
	
	.desktop {
		display: none;
	}
	
	#approachChart {
		display: none;
	}

	li.gf_left_half, li.gf_right_half {
		clear: both !important;
		float: none !important;
	}

	.reachHeading {
		font-size: 60px;
	}

	.reachWords {
		font-size: 20px;
		margin-top: 5px;
	}

	#overlayContent {
		left: 0;
		max-width: 100%;
		margin-left: 0;
	}
	
}

/* ========================================================================== *\
   DESKTOP WIDTH
\* ========================================================================== */

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



}