@charset "UTF-8";
/* CSS Document */

/* ############################ */
/* ##### HTML #### */
/* ############################ */

html {
	font-size: 100%;
	/*background-color: lightyellow;*/
}

/* ############################ */
/* ##### COLORS #### */
/* ############################ */

/*  #FFA500; orange 
	#058C1A, green
	#02480E; dark green*/

/* ############################ */
/* ##### BODY #### */
/* ############################ */

body {
	font-family: 'Kameron', 'Georgia', serif;
	margin: 0;
	font-size: 1.1em;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Questrial', sans-serif;
	/*font-weight: bold;*/
}

h1 {
	font-size: 2em;
}

section, article, nav, aside, header, footer, main {
	display: block;
}

article {
	border-left: 6px solid #FFA500;
	padding-left: 15px;
}

div.intro {
	border-left: 6px solid #FFA500;
	padding-left: 15px;
}

body#home article {
	border: 6px solid #FFA500;
	padding-left: 0px;
}

body#home article p {
	padding: 15px;
}

body#home article a {
	text-decoration: none;
}

main {
	width: 90%;
	max-width: 900px;
	margin: 25px auto;
}

span.no-letter-spacing {
	letter-spacing: 0;
}

article {
	/*outline: 1px solid blue;*/
}	

ol.nested-ol {
	list-style-type: lower-alpha;
}

br.clear {
	clear: both;
}

img {
	max-width: 100%;
}

address {
	font-style: inherit;
}

p.top {
	text-align: right;
}

p.top a {
	text-decoration: none;
}

/* ############################ */
/* HEADER */
/* ############################ */

div#logo-tagline {
	display: flex;
}

#site-title {
	margin-left: 1em;
	margin-right: auto;
}

#site-title img {
	width: 250px;
	height: auto;
}

p.tagline {
	margin-right: 1em;
	margin-left: 1em;
	align-self: flex-end;
	text-align: right;
	font-size: 0.9em;
	color: #FFA500;
	font-family: 'Questrial', 'Arial', sans-serif;
}

img#hero {
	width: 100%;
	height: auto;
}

/* ############################ */
/* NAV PRIMARY */
/* ############################ */

nav#header ul {
	margin: -6px auto 0 auto;
	padding: 0;
	list-style-type: none;
	display: flex;
	/*flex-wrap:wrap;*/
	justify-content: center;
	background-color: #FFA500;
} 

nav#header ul li a {
	display: block;
	padding: .5em 0.8em;
	margin: 0.4em;
	text-decoration: none;
	text-align: center;
	font-size: 0.8em;
	color: #FFFFFF;
	/**/border: 1px solid #FFFFFF;
}

/* ############################ */
/* #### ANCHORS ### */
/* ############################ */

a.smaller {
	font-size: 0.9em;
}
	
a {
	color: #058C1A;
}

a:visited {
	color: #058C1A;
}

a:hover {
	color: #02480E;
}

a:hover p.spotlight {
	text-decoration: underline;
}

a:active {
	color: grey;
}

/* ############################ */
/* #### NAV UPPER ### */
/* ############################ */

nav#header ul li a {
	color: #FFFFFF;
}

nav#header ul li a:visited {
	color: #FFFFFF;
}

nav#header ul li a:hover {
	color: #058C1A;
}

nav#header ul li a:active {
	color: grey;
}

nav#header ul li#iamhere a {
	color: #058C1A;
}

/* ############################ */
/* #### NAV LOWER ### */
/* ############################ */


nav#footer ul li a {
	color: #058C1A;
}

nav#footer ul li a:visited {
	color: #058C1A;
}

nav#footer ul li a:hover {
	color: #FFFFFF;
}

nav#footer ul li a:active {
	color: grey;
}

/*nav#footer ul li#iamhere a {
	color: #FFFFFF;
} can't get this jquery to work on the lower nav */

body#home li#footernavhome a,
body#recipes li#footernavrecipes a,
body#howto li#footernavhowto a,
body#about li#footernavabout a  {
	color: #FFFFFF; 
/*	fallback: using CSS to give the lower nav an iamhere state */
}

/* ############################ */
/* PAGE LEVEL */
/* ############################ */


/* ############################ */
/* HOME PAGE */
/* ############################ */

p.intro {
	line-height: 1.5em;
}

/* ############################ */
/* SPOTLIGHT */
/* ############################ */

h2.spotlight {
	color: #FFA500;
	letter-spacing: 0.1em;
	font-size: 2.5em;
	text-align: center;
	padding-left: 12px;
	padding-right: 12px;
	font-family: 'Kameron', 'Georgia', serif;
}

img.spotlight  {
	width: 100%;
	height: auto;
}

/* ############################ */
/* RECIPES PAGE */
/* ############################ */

div.dishes {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: center;
}

div.recipe-thumb-text-link {
	width: 120px;
	padding: 12px 12px 0 12px;
	/*flex: 0 0 auto;*/
	margin: 12px;
	border: 1px solid #FFA500;
}
			
div.recipe-thumb-text-link img {
	width: 100%;
	height: auto;
}

div.recipe-thumb-text-link p {
	text-align: center;
}

/* ############################ */
/* SINGLE RECIPE PAGES */
/* ############################ */

div.img-stats {
	display: flex;
	flex-wrap: wrap;
}

.img-stats div {
	/*width: 60%;*/
}

img.recipe {
	width: 100%;
	height: auto;
}

ul.stats {
	width: 100%;
	/*padding-left: 30px;*/
	/*outline: 1px solid #058C1A;*/
}

section.ingredients, section.instructions {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	/*outline: 1px solid red;*/
}

section.ingredients > *, section.instructions > * {
	max-width: 100%;
}

aside {
	width: 80%;
	margin: 0 auto;
	padding: 8px;
	background-color: #FFA500;
	color: #FFFFFF;
}

aside.last {
	margin-bottom: 15px;
}

/* ############################ */
/* FOOTER */
/* ############################ */

footer {
	background-color: #FFA500;
}

#mid-footer {
	/*outline: 1px solid red;*/
}

#pre-footer {
	background-color: #058C1A;
}

#pre-footer p {
	text-align: center;
	color: #FFFFFF;
	padding: 12px;
	font-family: 'Kameron', 'Georgia', serif;
}

#mid-footer {
	display: flex;
	justify-content: space-evenly;
	align-items: stretch;
	width: 90%;
	/**/margin: 0 auto;
	font-size: 0.8em;
}		

#mid-footer section {
	padding: 12px;
}

#mid-footer h4 {
	font-size: 1.1em;
}

#post-footer {
	background-color: #FFFFFF;
}

#post-footer p {
	text-align: center;
	padding: 12px 0;
	font-family: 'Kameron', 'Georgia', serif;
	color: black;
}

#post-footer a, footer a {
	text-decoration: none;
}

nav#footer ul {
	padding-left: 0;
	line-height: 1.6em;
}

nav#footer ul li {
	list-style-type: none;
}

/* ############################ */
/* MEDIA QUERIES */
/* ############################ */

@media screen and (min-width: 600px)
{
	
	main {
		width: 80%;
		max-width: 900px;
	}

	#site-title {
		margin-left: 2em;
		margin-right: auto;
	}

	p.tagline {
		margin-right: 2em;
		margin-left: 2em;
	}

	nav#header ul li {
		flex: none;
	}
	
	nav#header ul {
		justify-content: center;
	}
	
	nav#header ul li a {
		border: none;
		font-size: 1.1em;
	}
	
	nav#header ul li a {
		font-size: 1.1em;
	}
	
	div.img-stats {
		flex: none;
		/*outline: 1px solid #FFA500;*/
	}
	
	div.img-recipe {
		width: 60%;
	}
	
	img.recipe {
		width: 100%;
		height: auto;
	}

	ul.stats {
		width: 40%;
		/*padding-left: 30px;*/
		/*outline: 1px solid #058C1A;*/
	}
				
	section.ingredients > *, section.instructions > * {
		width: 60%;
	}

	aside {
		align-self: flex-end;
		margin: inherit;
		width: 60%;
	}

}

@media screen and (min-width: 900px)
{
	p.tagline {
		font-size: 1.2em;
	}
	
	p.intro, p.meal-type {
		width:80%;
	}
	
	div#mid-footer {
		font-size: 0.9em;
	}

}

@media screen and (min-width: 1200px)
{
	p.intro, p.meal-type {
		width:75%;
	}

}