/**
 * Learn HTML & CSS from Scratch
 * 3.2: Positioning & Sprites
 */

/********** Web Fonts **********/
@import url(http://fonts.googleapis.com/css?family=Elsie+Swash+Caps:400,900); /* font-family: 'Elsie Swash Caps', cursive; */
@import url(http://fonts.googleapis.com/css?family=Clicker+Script); /* font-family: 'Clicker Script', cursive; */

/********** Fixes **********/

* {
	margin:0;
	padding:0;
	border:0;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;

}

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

/********** Global **********/

body {
	background: url(../images/handmadepaper.png);
}

h2, h3 {
	margin-bottom: 5px;
}

ul, ol {
	margin-bottom: 10px;
}

li {
	margin-left: 20px;
}

p, address {
	margin: 0 0 25px;
	font-size: 14px;
}

figure {
	margin:0 0 10px;
}

	figcaption {
		font: 12px 'Elsie Swash Caps', cursive;
		color: #777;
		text-align: right;
	}

table {
	width: 100%;
	margin: 0 0 20px;
	border-top: 1px solid #ccc;
	border-left: 1px solid #ccc;
}

tr:nth-child(even) {
	background: #efefef;
}

th, td {
	padding: 10px;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}

th {
	background: #555;
	color: white;
}

input, textarea {
	display: block;
	width: 100%;
	padding: 5px;
	margin-bottom: 5px;
	box-shadow: 0 3px 5px #ccc;
	border: 1px solid #ccc;
}

input[type="submit"] {
	margin-top: 5px;
	width: 100px;
	background: black;
	color: white;
	border-radius: 25px;
	border: 0;
}

input[type="submit"]:hover {
	background: #555;
}

iframe {
	border: 0;
	padding: 0;
	margin: 0;
	overflow: hidden;
	height: 353px;
}

.wrapper {
	width: 960px;
	margin: 0 auto;
}

.shadow {
	box-shadow: 0 3px 10px #333;
}

.milk_text {
	font: bold 42px 'Elsie Swash Caps', cursive;
	color: white;
	text-shadow: 0 2px 3px #000;
	margin: 0 0 10px;
}

.border_right {
	border-right: 1px dotted #ccc;
	padding-right: 20px;
}

/********** Nav Bar **********/

#nav_bar {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1;
	background: url(../images/header-fade.gif) repeat-x;
	border-bottom: 1px solid #ccc;
}

	#nav_bar nav {
		border-left: 1px solid #ccc;
	}

		#nav_bar nav a {
			display: inline-block;
			width: 20%;
			margin: 0;
			padding: 22px 0;
			text-transform: uppercase;
			color: black;
			text-align: center;
			border-right: 1px solid #ccc;
			text-decoration: none;
			font: 20px "Trebuchet MS", Arial, sans-serif;
		}

		#nav_bar a.selected {
			background: black;
			color: white;
		}

		#nav_bar nav a:hover {
			color: white;

			background: #45484d; /* Old browsers */
			background: -moz-linear-gradient(top,  #45484d 0%, #000000 100%); /* FF3.6+ */
			background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#45484d), color-stop(100%,#000000)); /* Chrome,Safari4+ */
			background: -webkit-linear-gradient(top,  #45484d 0%,#000000 100%); /* Chrome10+,Safari5.1+ */
			background: -o-linear-gradient(top,  #45484d 0%,#000000 100%); /* Opera 11.10+ */
			background: -ms-linear-gradient(top,  #45484d 0%,#000000 100%); /* IE10+ */
			background: linear-gradient(to bottom,  #45484d 0%,#000000 100%); /* W3C */
			filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#45484d', endColorstr='#000000',GradientType=0 ); /* IE6-9 */

		}

/********** Logo **********/

#logo {
	padding: 85px 0 25px;
	/* gradient */
	background: rgb(229,229,229); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(229,229,229,1) 0%, rgba(255,255,255,1) 99%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(229,229,229,1)), color-stop(99%,rgba(255,255,255,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(229,229,229,1) 0%,rgba(255,255,255,1) 99%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(229,229,229,1) 0%,rgba(255,255,255,1) 99%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(229,229,229,1) 0%,rgba(255,255,255,1) 99%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(229,229,229,1) 0%,rgba(255,255,255,1) 99%); /* W3C */
}

	#logo h1 {
		margin: 0;
		padding-top: 20px;
		display: inline-block;
		font-family: 'Clicker Script', cursive;
		background: url(../images/rk_logo_small.jpg) no-repeat top center;
	}

	#logo h2 {
		margin:10;
		display: inline-block;
		font-family: 'Elsie Swash Caps', cursive;
	}

/********** Social Bar **********/



/********** Content Area **********/

#wood {
	background-image: url(../images/wood.jpg), url(../images/wood_slice.jpg);
	background-position: center top, left top;
	background-repeat: no-repeat, repeat-y;
	padding: 30px 0;
}

	/********** Sections **********/

	section {
		padding: 20px;
		background: white;
	}

	section a {
		color: #555;
		text-decoration: underline;
	}

	/* Posititoning Classes */

	.col1_left {
		float: left;
		width: 32.6%;
		margin: 0 0 20px;
	}

	.col1_mid { /* give center column of three this class last */
		float: left;
		width: 32.6%;
		margin: 0 1% 20px 1%;
	}

	.col1_right {
		float: right;
		width: 32.6%;
		margin: 0 0 20px; 
	}

	.col2_left {
		float: left;
		width: 66.4%;
		margin: 0 1% 20px 0;
	}

	.col2_right {
		float: right;
		width: 66.4%;
		margin: 0 0 20px 1%;
	}

	.col3 {
		margin: 0 0 20px;
		clear: both;
	}

/********** Details **********/

#details {
	clear:both;
	padding: 20px 10px;
	/* gradient */
	background: rgb(229,229,229); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(229,229,229,1) 0%, rgba(255,255,255,1) 99%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(229,229,229,1)), color-stop(99%,rgba(255,255,255,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(229,229,229,1) 0%,rgba(255,255,255,1) 99%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(229,229,229,1) 0%,rgba(255,255,255,1) 99%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(229,229,229,1) 0%,rgba(255,255,255,1) 99%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(229,229,229,1) 0%,rgba(255,255,255,1) 99%); /* W3C */
}

	#details a:link, #details a:visited {
		color: black;
		text-decoration: none;
	}

	#details a:hover, #details a:active {
		text-decoration: underline;
	}

/********** Footer **********/

footer {
	text-align: center;
	font-size: 10px;
	color: #555;
	padding: 10px 0 20px;
}

	footer a {
		color: #555;
		text-decoration: underline;
	}

/* code examples copyright Jonathan Grover 2012 */