@font-face {
	font-family: 'Nadia Serif';
	src: url('../fonts/nadia-serif.eot');
	src: local('☺'), url('../fonts/nadia-serif.woff') format('woff'), url('../fonts/nadia-serif.ttf') format('truetype'), url('../fonts/nadia-serif.svg#nadisn') format('svg');
}
body {
	margin: 0;
	padding: 0;
	color: #666;
	font-family: "Segoe UI", Segoe, Calibri, Arial, sans-serif;
	font-size: 100%;
	line-height: 1.6;
}

/* LAYOUT -------------- */
#wrapper {
	margin: 0 6%;
}
#header {
	overflow: hidden;
	position: relative;
	margin: 0 0 20px 0;
	padding: 20px 0;
}
.ie6 #header {
	width: 100%;
}
#nav-main {
	float: right;
	margin: 40px 0 0 0;
}
#content-main {
	overflow: hidden;
	float: left;
	width: 70%;
	margin-bottom: 40px;
}
#content-secondary {
	float: right;
	width: 25%;
	margin-bottom: 40px;
}
#footer {
	overflow: hidden;
	clear: both;
	padding: 10px 0;
	border-top: 1px dashed #3C9;
}

/* HEADER COMPONENTS ---- */
#logo {
	float: left;
}
#form-search {
	position: absolute;
	top: 20px;
	right: 0;
}
#nav-main ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
#nav-main li {
	float: left;
	margin: 0 0 0 .5em;
}
#nav-main a {
	display: block;
	padding: .3em .5em;
	background: -moz-linear-gradient(hsla(0,0%,100%,.5), hsla(0,0%,100%,0));
	background: -webkit-gradient(linear, 0 0, 0 100%, from(hsla(0,0%,100%,.5)), to(hsla(0,0%,100%,0)));
	font-family: Cambria, "Palatino Linotype", "Book Antiqua", Palatino, serif;
	text-transform: uppercase;
	text-decoration: none;
	letter-spacing: 2px;
}
#nav-main a:hover {
	background: -moz-linear-gradient(hsla(0,0%,100%,.8), hsla(0,0%,100%,.2));
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(hsla(0,0%,100%,.8)), to(hsla(0,0%,100%,.2)));
	color: #F87364;
}

/* MAIN CONTENT COMPONENTS -- */
h1 + p {
	-moz-column-count: 2;
	-moz-column-gap: 1.5em;
	-o-column-count: 2;
	-o-column-gap: 1.5em;
	-webkit-column-count: 2;
	-webkit-column-gap: 1.5em;
	column-count: 2;
	column-gap: 1.5em;
	color: #7F4627;
	text-shadow: -1px -1px 0 hsla(0,0%,100%,.6);
	font-size: 120%;
}
.feature {
	float: left;
	width: 30%;
	margin: 0 4.5% 0 0;
	padding: 130px 0 0 0;
	background-repeat: no-repeat;
	background-position: top center;
}
.feature:last-child { margin-right: 0; }
#feature-candy { background-image: url(../x_images/icon_candy_128-trans.png); }
#feature-pastry { background-image: url(../x_images/icon_pastry_128-trans.png); }
#feature-dessert { background-image: url(../x_images/icon_dessert_128-trans.png); }
.ie6 #feature-candy { background: url(../x_images/icon_candy_128-trans.png) no-repeat; }
.ie6 #feature-pastry { background: url(../x_images/icon_pastry_128-trans.png) no-repeat; }
.ie6 #feature-dessert { background: url(../x_images/icon_dessert_128-trans.png) no-repeat; }
.feature h3 {
	margin-bottom: 0;
	padding-bottom: .2em;
	border-bottom: 1px dashed #3C9;
	color: #7F4627;
	font-family: Cambria, "Palatino Linotype", "Book Antiqua", Palatino, serif;
	font-size: 88%;
	font-weight: normal;
	text-transform: uppercase;
	letter-spacing: 1px;
	line-height: 1.2;
}

/* SIDEBAR COMPONENTS ---- */
#content-secondary div {
	margin-bottom: 1.6em;
	line-height: 1.2;
}
#newsletter {
	padding: 1em;
	-moz-box-shadow: 0 0 8px hsla(0,0%,0%,.1);
	-webkit-box-shadow: 0 0 8px hsla(0,0%,0%,.1);
	box-shadow: 0 0 8px hsla(0,0%,0%,.1);
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	background: #eee; /* for IE 8 and earlier */
	background: hsla(0,0%,100%,.3);
}
#newsletter p {
	margin-bottom: .5em;
}
#form-newsletter * {
	display: block;
	margin-bottom: .5em;
}
#form-newsletter input[type=text] {
	width: 95%;
}
.badge {
	float: left;
	width: 4em;
	height: 3em;
	margin: 0 .8em .4em 0;
	padding-top: 1em;
	-moz-border-radius: 2em;
	-webkit-border-radius: 2em;
	border-radius: 2em;
	border: 1px dashed #3C9;
	-moz-box-shadow: 0 0 0 3px #fff, 0 0 8px 4px hsla(0,0%,0%,.2);
	-webkit-box-shadow: 0 0 0 3px #fff, 0 0 8px 4px hsla(0,0%,0%,.2);
	box-shadow: 0 0 0 3px #fff, 0 0 8px 4px hsla(0,0%,0%,.2);
	background: #fff;
	color: #F87364;
	text-align: center;
	letter-spacing: normal;
	line-height: 1;
}
#news ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
#news li {
	margin: .5em 0;
	padding: 0 0 .5em 0;
}

/* FOOTER COMPONENTS ---- */
#footer p, #footer dl {
	margin: 0;
	font-size: 88%;
	line-height: 1.2;
}
#footer dt {
	font-family: Cambria, "Palatino Linotype", "Book Antiqua", Palatino, serif;
	font-size: 112.5%;
	text-transform: uppercase;
	letter-spacing: 1px;
}
#footer dd {
	margin: 0 0 .5em 0;
}
#about {
	float: left;
	width: 70%;
}
#credits {
	float: right;
	width: 25%;
}

/* TEXT ----------------- */
p, h1, h2, h3, h4, h5, h6 {
	margin-top: 0;
}
h1 {
	margin-bottom: .25em;
	font-family: 'Nadia Serif', Helvetica, "Helvetica Neue", Arial, sans-serif;
	font-size: 300%;
	text-shadow: -1px -1px 1px hsla(0,0%,100%,.6);
	letter-spacing: -1px;
}
h1, h2, h3 {
	font-weight: normal;
	line-height: 1.2;
}
h2, h3 {
	margin-bottom: 0;
	color: #555;
}
h2 {
	font-family: 'Nadia Serif', Helvetica, "Helvetica Neue", Arial, sans-serif;
	font-size: 150%;
	text-shadow: -1px -1px 0 hsla(0,0%,100%,.6);
	letter-spacing: -1px;
}
h3 {
	font-family: Cambria, "Palatino Linotype", "Book Antiqua", Palatino, serif;
	font-size: 112.5%;
	text-transform: uppercase;
	letter-spacing: 1px;
}
a { color: #116E8F; 
text-decoration:none;
}
a:hover { color: #2485A7; }

/* FORMS ---------------- */
input[type=text] {
	padding: .2em;
	border: 1px dashed #3C9;
	background: hsla(0,0%,100%,.7);
}
input[type=text]:focus {
	background: hsla(0,0%,100%,.9);
	outline: none;
}
input[type=submit] {
	padding: .1em .2em;
	border: 1px solid hsla(0,0%,0%,.3);
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	background-color: #2485A7;
	background-image: -moz-linear-gradient(hsla(0,0%,100%,0), hsla(0,0%,100%,.3));
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(hsla(0,0%,100%,0)), to(hsla(0,0%,100%,.3)));
	color: #fff;
	text-shadow: 0 -1px 0 hsla(0,0%,0%,.8);
}

/* MEDIA QUERIES ----------------------------------- */
@media screen and (min-width: 1200px) {
	#nav-main {
		position: fixed;
		top: 136px;
		width: 13%;
		margin: 0;
		-moz-box-shadow: 0 0 8px hsla(0,0%,0%,.1);
		-webkit-box-shadow: 0 0 8px hsla(0,0%,0%,.1);
		box-shadow: 0 0 8px hsla(0,0%,0%,.1);
		-moz-border-radius: 3px;
		-webkit-border-radius: 3px;
		border-radius: 3px;
		background: hsla(0,0%,100%,.3);
		text-align: right;
	}
	#nav-main li {
		float: none;
		margin: 0;
	}
	#nav-main a {
		-moz-border-radius: 0;
		-webkit-border-radius: 0;
		border-radius: 0;
		background: -moz-linear-gradient(hsla(0,0%,100%,.3), hsla(0,0%,100%,0) 15px);
		background: -webkit-gradient(linear, 0 0, 0 15, from(hsla(0,0%,100%,.3)), to(hsla(0,0%,100%,0)));
	}
	#nav-main a:hover {
		background: -moz-linear-gradient(hsla(0,0%,100%,.6), hsla(0,0%,100%,.2) 15px);
		background: -webkit-gradient(linear, 0 0, 0 15, from(hsla(0,0%,100%,.6)), to(hsla(0,0%,100%,.2)));
	}
	#content-main, #about {
		width: 58%;
		margin-left: 18%;
	}
	#content-secondary, #credits { width: 20%; }
}

@media screen and (max-width: 760px) {
	#nav-main {
		clear: left; 
		float: left;
	}
	#nav-main li { margin: 0 .5em 0 0; }
	h1 + p {
		-moz-column-count: 1;
		-o-column-count: 1;
		-webkit-column-count: 1;
		column-count: 1;
	}
	.feature {
		float: none;
		width: auto;
		margin: 0 0 1.6em 0;
		padding: 0 0 0 140px;
		background-position: top left;
	}
	h3 {
		font-size: 100%;
		letter-spacing: 0; 
	}
}

@media screen and (max-width: 550px) {
	#form-search input[type=text] { width: 100px; }
	#content-main, #content-secondary {
		float: none;
		width: 100%;
	}
	h1 { font-size: 225%; }
	h1 + p { font-size: 100%; }
	.feature { padding-left: 70px; }
	#feature-candy { background-image: url(../x_images/icon_candy_64-trans.png); }
	#feature-pastry { background-image: url(../x_images/icon_pastry_64-trans.png); }
	#feature-dessert { background-image: url(../x_images/icon_dessert_64-trans.png); }
	#form-newsletter * { display: inline; }
	#form-newsletter input[type=text] { width: auto; }
	#about, #credits {
		float: none;
		width: 100%;
	}
	#credits { margin-top: 1.6em; }
	#credits dt {
		clear: left;
		float: left;
		margin: -.05em .2em 0 0;
	}
}

@media screen and (max-width: 400px) {
	#form-search label { display: block; }
}

@media screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 480px) {
	.feature {
		-webkit-background-size: 64px 64px;
		background-size: 64px 64px;
	}
	#feature-candy { background-image: url(../x_images/icon_candy_128-trans.png); }
	#feature-pastry { background-image: url(../x_images/icon_pastry_128-trans.png); }
	#feature-dessert { background-image: url(../x_images/icon_dessert_128-trans.png); }
}
