/*
Goldilocks Approach to Responsive Web Design Boilerplate

Author: Design by Front - @designbyfront
Version: 0.1
URL: http://www.goldilocksapproach.com
----------------------------------------------------------------------------------------

CONTENTS - GLOBAL.CSS
-----------------------------------------
1. RESET
2. ROOT
3. CORE TYPOGRAPHY
4. LINKS
5. GLOBAL LAYOUT & GLOBAL CUSTOM TYPOGRAPHY
6. CUSTOM LAYOUT & TYPOGRAPHY (Baby bear)
7. BROWSER AND NON-SEMANTIC STYLING

CONTENTS - LAYOUT.CSS
-----------------------------------------
8. CUSTOM LAYOUT & TYPOGRAPHY (Daddy bear)
9. CUSTOM LAYOUT & TYPOGRAPHY (Mummy bear)

*/

/* 1. RESET
----------------------------------------------------------------------------------------*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size:100%;
  font: inherit;
  vertical-align: baseline;
  }

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
  }
  
  
/* 2. ROOT
----------------------------------------------------------------------------------------*/
html { 
  overflow-y: scroll;
  background: #FFF;
  }

/* /ht Ethan Marcotte - http://front.ie/l8rJaA */
img, embed, object, video { max-width: 100%; }
.ie6 img.full, .ie6 object.full, .ie6 embed, .ie6 video { width: 100%; }


/* 3. CORE TYPOGRAPHY
----------------------------------------------------------------------------------------*/

body {
  font-family: Verdana, Helvetica, Arial, sans-serif;
  font-size: 1em;
  line-height: 1.618em;
  color: #333;
  }

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 0.85em 0;
	text-transform: uppercase;
	letter-spacing: 4px;
	line-height: 1em;
}

h1 {
	font-size:1.8em;
	color: #444;
}
h2 {
	font-size:1.2em;
	color: #333;
}

p, ul, ol, dl {
    font-size: 1em;
    line-height: 1.618em;
    margin-bottom: 1.618em; 
    max-width: 30em; /* Optimal width for long-form text */
}
 
p { 
text-align: justify;
}
  
ul { list-style-type: disc; margin-left: 1.618em; }
ol { list-style-type: decimal; margin-left: 1.618em; }
nav ul, nav ol { list-style: none; margin: 0; padding: 0;}

blockquote {
	background-image : url(../img/blockquote.gif);
	background-repeat : no-repeat;
	color: #888;
	padding-left : 40px;
	margin : 0;
	font-family: serif;
	font-size: 1.5em;
	font-style : italic;
	line-height: 1.8em;
}

b, strong { font-weight: bold; }
i, em { font-style: italic; }
small { font-size: 80%; }


/* 4. LINKS
----------------------------------------------------------------------------------------*/
a {
	color: #000;
	text-decoration:none;
}
a:link {
	color: #000;
	text-decoration: underline;
}
a:hover {
	color: #000;
	text-decoration: none;
}

/* 5. GLOBAL LAYOUT & GLOBAL CUSTOM TYPOGRAPHY
----------------------------------------------------------------------------------------*/
header {
	margin: 0;
	max-width: 960px;
	width: 100%;

}
header h1 {
    margin: 0 0 0.25em 0;
	font-size:2.5em;
	color: #999;
}
header h2 {
    margin: 0 0 0.5em 0;
	font-size: 2.165em;
	color: #ccc;
}
header img {
	margin: 1.0em auto 1.2em;
	max-width: 960px;
	width: 100%;
}

nav{
	max-width: 100%;
	width: auto;
	font-size: 1.2em;
	text-transform: uppercase;
	letter-spacing: 4px;
}
nav ul {
    max-width: 100%;
    clear: both  
}
nav ul li{
	float:left;
	width:auto;
}
nav ul li a{
	color: #666;
	text-decoration: none;
	padding: 0.1em 1.0em 0.1em 0;
}
nav ul li a:link { text-decoration: none; }
nav ul li a:hover {
	color:#000;
	text-decoration: none;
}

section {
	position: relative;
	margin: 1.65em 0;
	clear: both;
}

footer {
	background: #333;
	margin: 0;
	padding: 0.6em 0;
	color: #ccc;
	font-size: 1.0em;
	text-align: center;
}
	footer  a {
		color: #fff;
		text-decoration: none;
	}
	footer  a:hover {
		color: #000;
		text-decoration: none;
	}
	
.two-column {
	max-width: 100%;
	width: auto;
}
.right {
	float: right
}
.left {
	float: left
}

.group:after {
	visibility: hidden;
	display: block;
	content: "";
	clear: both;
	height: 0;
}

/* 6. CUSTOM LAYOUT & TYPOGRAPHY (Baby bear)
----------------------------------------------------------------------------------------*/
#container {
    padding: 0.809em;
    max-width: 30em;
    margin: auto;
}

aside { width: 100%; }


/* 7. BROWSER AND NON-SEMANTIC STYLING
----------------------------------------------------------------------------------------*/
.cf:before, .cf:after { content: ""; display: block; }
.cf:after { clear: both; }
.ie6 .cf { zoom: 1 }