/*
Theme Name: Fresh2012
Theme URI: http://adjustafresh.com/
Description: WP theme for adjustafresh.com
Version: 1.0
Author: Scott Kiekbusch
Author URI: http://adjustafresh.com/
Tags: html5, css3, mobile, responsive, lessframework, custom
*/

/*	Less Framework 4
	http://lessframework.com
	by Joni Korpi
	License: http://opensource.org/licenses/mit-license.php	*/


/*	Resets
	------	*/

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, 
p, blockquote, pre, a, abbr, address, cite, code, del, dfn, em, 
img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, hr, 
dl, dt, dd, ol, ul, li, fieldset, form, label, legend, 
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figure, figcaption, hgroup, 
menu, footer, header, nav, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
}

article, aside, canvas, figure, figure img, figcaption, hgroup,
footer, header, nav, section, audio, video {
	display: block;
}

a img {border: 0;}

html {
	border-top: solid 5px #448CCB;
	border-bottom: solid 5px #448CCB;
}

body {
	font: 1em 'Nunito', Helvetica, Arial, sans-serif;
	color: #333;
	background: #EEE;
	margin: 0 auto;	
	position: relative;
}

/*	Typography presets
	------------------	*/
	
strong {
	font-weight: bold;
}

em {
	font-style: italic;
}

h1 {
	font: 3em 'Bitter', Georgia, serif;
	line-height: 1.2em;
	color: #111;
	text-shadow: 0px 1px 2px #888;
}

h2 {
	font: 1.6em 'Bitter', Georgia, serif;
	line-height: 1.4em;
	color: #111;
	margin-bottom: .5em;
	text-shadow: 0px 1px 2px #888;	
}

h3 {
	font: 1.2em 'Bitter', Georgia, serif;
	line-height: 1.4em;
	color: #111;
	margin-bottom: .5em;
	text-shadow: 0px 1px 2px #888;	
}

p {
	line-height: 1.4em;
	margin-bottom: 1em;
}

ul, ol {
	padding: 0 3em;
	margin-bottom: 1em;
}

ul {
	list-style-type: square;
}

li {
	margin-bottom: .5em;	
	line-height: 1.4em;
}

blockquote {
	background: #DDDDDD;
	font: 1em 'Bitter', Georgia, serif;
	padding: 1em;
	width: 85%;
	margin: 1em auto;
	border: dotted #AAA 1px;
	quotes: none;
	box-shadow: 0px 2px 2px #888;
}

blockquote p {
	margin: 0;
	text-shadow: 0px 1px 2px #888;	
	text-indent: -7px; margin-left: 7px; 
}

blockquote p:first-line {
	text-indent: -7px; margin-left: 7px; 
}

blockquote p::before, q::before {
  content:'\201C';
}

blockquote p::after, q::after {
  content:'\201D';
}

.pull {
	float: right;
	width: 240px;
	margin: 0px -10px 10px 10px;
	font-size: 1.4em;
	background: none;
	color: #777;
	border: 0;
	padding: 0;
	box-shadow: 0px 0px 0px #333;
}

a {
	color: #448CCB;
	text-decoration: none;	
}

a:hover {
	text-decoration: underline;	
}

a:visited {
	color: #448CCB;
	text-decoration: underline;	
}

		#main h1 a {
			color: #333;
		}

*::-moz-selection, ::selection {
	background: #FFFF9E;
}

/*	Layout
	------------------	*/

header {
	padding: 1em 0;
	width: 100%;
}

	#logo {
		margin: 0;
		font-size: 4em;
	}
	
		#logo a {
			color: #333;
			text-decoration: none;
			display: block;
			width: 100%;
		}
		
		#logo a:hover {
			color: #448CCB;
		}
		
		#logo a:hover span {
			color: #333;
		}
	
		#logo span {
			color: #448CCB;
		}
	
#main {
	display: table-cell;
}	

	#main #archive-label {
		background: #448CCB;
		position: absolute;
		top: 0px;
		right: 50px;
		width: 115px;
		font: 14px 'Bitter', Georgia, serif;
		color: #FFF;
		padding: 5px 10px 10px;
		text-shadow: -1px 0px 1px #333;
		border: solid 5px #FFF;
		border-top: 0;
		box-shadow: 0px 2px 2px #888;
	}

	#main article {
		position: relative;	
	}
	
	#main article h1 {
		border-top: dotted #AAA 1px;
		margin-left: -50px;
		padding: 10px 0 15px 50px;
	}
	
	#main article h1 a:hover {
		color: #444;
		text-decoration: none;
	}

	#main article small.date {
		background: #448CCB;
		font: 12px 'Bitter', Georgia, serif;
		color: #FFF;
		-webkit-transform: rotate(-90deg); 
        -moz-transform: rotate(-90deg);
		position: absolute;
		left: -75px;
		top: 29px;
		text-align: center;
		width: 80px;
		padding: 5px;
		text-shadow: -1px 0px 1px #333;
		border: solid 2px #FFF;
		box-shadow: -2px 0px 2px #888;
	}

	#main article p img {
		display: block;
		margin: 1em auto;
		max-width: 600px;
		border: solid #FFF 10px;
		box-shadow: 0px 2px 2px #888;
	}
	
	#main article p iframe, #main article p object {
		display: block;
		margin: 1em auto;
		max-width: 600px;
		border: solid #333 10px;
		box-shadow: 0px 2px 2px #888;
	}	
	
	#main article #post-meta {
		background: #DDD;
		font-size: .8em;
		padding: .5em 1em;
		margin: 1em 0 2em;
	}
	
	#main #archive-navigation {
		padding: 0;
		list-style-type: none;
	}
	
	#main #archive-navigation li {
		float: left;
		width: 49%;
		text-align: right;
	}

	#main #archive-navigation li:first-child {
		text-align: left;
	}
	
	#main #archive-navigation li a {
		display: block;
	}

	#main #archive-navigation li a:hover {
		text-decoration: none;
		color: #333;
	}

aside {
	display: table-cell;
	border-top: dotted #AAA 1px;
	margin-left: -30px;
	padding-left: 30px;
}	

	aside section {
		margin-bottom: 20px;
	}

	aside h2 {
		margin-bottom: 5px;
	}

	aside input[type=search] {
		font-size: 1em;
		width: 90%;
	}
	
	nav ul {
		padding: 0;
		list-style-type: none;	
		border-top: solid 1px #DDD;		
	}
	
	nav li {
		margin: 0;
	}
	
	nav li a {
		display: block;
		padding: .5em;
		margin: 0;
		color: #333;
		border-bottom: solid 1px #CCC;		
		background: url(images/button.png) no-repeat 97% -72px, -webkit-gradient(linear, left top, left bottom, from(#EEE), to(#DDD));	
	}
	
	nav li a:hover, nav li a:active {
		border-bottom: solid 1px #DDD;
		background: url(images/button.png) no-repeat 97% 8px, -webkit-gradient(linear, left top, left bottom, from(#FFF), to(#EEE));
		color: #448CCB;
		text-decoration: none;
		border-bottom: solid 1px #CCC;
		text-shadow: 0px 1px 2px #CCC;
	}	
	
	nav li a:visited {
		color: #333;
	}
		
footer {
	clear: both;
	margin: 1em 0;
	border-top: dotted #AAA 1px;
}	

	footer section {
		display: table-cell;
		padding: 1em 0;
		width: 50%;
	}
	
	footer section p {
		margin-bottom: 10px;
	}
	
	footer section img {
		float: left;
		margin: 0 10px 10px 0;
		max-width: 105px;
		border: solid #FFF 5px;
		box-shadow: 0px 2px 2px #888;
	}	
	
	footer section:first-child {
		padding-right: 1em;			
	}	
	
	footer section:last-child {
		padding-left: 1em;			
	}	

/*		Default Layout: 992px. 
		Gutters: 24px.
		Outer margins: 48px.
		Leftover space for scrollbars @1024px: 32px.
-------------------------------------------------------------------------------
cols    1     2      3      4      5      6      7      8      9      10
px      68    160    252    344    436    528    620    712    804    896    */

body {
	width: 896px;
	padding: 0 48px 84px;
	-webkit-text-size-adjust: 100%; /* Stops Mobile Safari from auto-adjusting font-sizes */
}

#main {
	width: 652px;
}

aside {
	width: 300px;
}

/*		Tablet Layout: 768px.
		Gutters: 24px.
		Outer margins: 28px.
		Inherits styles from: Default Layout.
-----------------------------------------------------------------
cols    1     2      3      4      5      6      7      8
px      68    160    252    344    436    528    620    712    */

@media only screen and (min-width: 768px) and (max-width: 991px) {
	
	body {
		width: 712px;
		padding: 0 28px 60px;
	}
	
	#logo {
		margin-left: 20px;
		font-size: 3.6em;
	}	

	#main {
		max-width: 450px;
		padding-left: 20px;		
	}

	#main #archive-label {
		right: 30px;
	}
			
		#main article small {
			font-size: 12px;
		}
	
		#main article p img, #main article p iframe, #main article p object {
			max-width: 400px;
		}			
	
	aside {
		min-width: 260px;
	}	

}

/*		Mobile Layout: 320px.
		Gutters: 24px.
		Outer margins: 34px.
		Inherits styles from: Default Layout.
---------------------------------------------
cols    1     2      3
px      68    160    252    */

@media only screen and (max-width: 767px) {
	
	body {
		width: 252px;
		padding: 0 34px 60px;
		font-size: .9em;	
	}
	
	#logo {
		margin: 0;
		font-size: 2.7em;
	}
	
	h1 {
		font-size: 2em;
	}
	
	h2 {
		font-size: 1.2em;
	}
	
	h3 {
		font-size: 1em;
	}
	
	#main {
		display: block;
		width: 100%;
		padding: 0;
	}	

	#main #archive-label {
		position: inherit;
		background: none;
		border: 0;
		color: #111;
		width: 100%;
		text-shadow: 0px 1px 2px #888;	
		padding: 0;
		box-shadow: none;
	}
	
		#main article small.date {
			font-size: 11px;
			left: -68px;
		}	
	
		#main article p img, #main article p iframe, #main article p object {
			max-width: 230px;
		}

.pull {
	font-size: 1.6em;
	float: none;
	width: 90%;
	margin: 0px auto 1em;
}

	aside {
		display: block;
		width: 100%;
		border: 0;
		clear: both;
	}	
	
	footer {
		border: 0;
		margin: 0;
	}
	
	footer section {
		display: block;
		width: 224px;
		padding: 12px 12px;
		margin-bottom: 1em;
		background: #DDDDDD;
		border: dotted #AAA 1px;
		box-shadow: 0px 2px 2px #888;
	}
	
	footer section img {	
		max-width: 80px;
	}
	
}

/*		Wide Mobile Layout: 480px.
		Gutters: 24px.
		Outer margins: 22px.
		Inherits styles from: Default Layout, Mobile Layout.
------------------------------------------------------------
cols    1     2      3      4      5
px      68    160    252    344    436    */

@media only screen and (min-width: 480px) and (max-width: 767px) {
	
	body {
		width: 436px;
		padding: 0 22px 48px;
		font-size: .9em;	
	}
	
	#logo {
		margin: 0;
		font-size: 4em;
		margin-left: 20px;
	}
	
	#main {
		display: block;
		width: 98%;
		padding: 0;
		margin-left: 20px;
	}	

		#main article small.date {
			left: -75px;
		}	

		#main article p img, #main article p iframe, #main article p object {
			max-width: 350px;
		}
		
	aside {
		display: block;
		width: 100%;	
	}	

	footer {
		border: 0;
		margin: 0;
	}

	footer section {
		display: block;
		width: 410px;
		padding: 12px 12px;
		margin-bottom: 1em;
		background: #DDDDDD;
		border: dotted #AAA 1px;
		box-shadow: 0px 2px 2px #888;
	}

}