/*
Filename: sitewide.css
Author: Andrew Addens
Description: CSS document for Project 3
*/

/* body and layout styles */
body{ 
	margin: 5px 0px 5px 0px;
	padding: 0px;
	font-size: 90% !important;
	color: rgba(0,0,0,1);
	min-width: 770px;
	background-image: url(images/cornucopia.jpg);
	background-repeat:repeat;
	font-family: Arial, Helvetica, sans-serif;
}

 /* Heading Styles */
h3 {
color: rgba(153, 153, 0, 1);
}

h5 {
	font-style: italic;
}

#wrap {
	background-color: rgba(255,255,255,1); /* white */
	margin: 0 auto; /* centers page */
	width: 770px;
	padding: 10px;
	border-radius: 10px; /* rounds the corners */
	box-shadow: rgba(0,0,0,.75) 2px 0 4px; /* applies box shadow */
}	

/* header and navigation */
#header {
	background-color: rgba(255,255,255,1);
	background-image: url(images/topbanner.jpg);
	background-repeat: no-repeat;
	height: 95px;
	width: 550px;
}

#nav{
	border: 1px solid rgba(255,255,255,1);
}	
	
#nav ul{	
	width: 100%;
	background-color: rgba(255,204,1,1);
	padding-left: 0px;
	margin: 0px;
	float: left;

}

#nav ul li{
	display:inline;
}

/* Styling for links */
#nav ul li a {
	float: left;
	color: rgba(0,0,0,1);
	padding: 6px 12px 6px 12px;
	border-right: 1px solid rgba(255,255,255,1);
	width: auto;
}
#nav ul li a:hover {
	background-color: rgba(255, 255, 153, 1);
	padding: 6px 12px 6px 12px;
	border: 1px solid rgba(255,255,255,1);
}





/* Table Styles */
table {
	border: none;
	font-size: 12px;
	font-family: Arial, Helvetica, sans-serif;
	margin: 0px 2px 2px 2px;
	table-layout: auto;
	empty-cells: show;
}

#recipetable {
	padding: 10px;
	position: relative;
	left: 5px;
	top: -20px;
	display: inline-table;
}

/* Images */
.recipephoto {
	float: left;
	border: 1px solid rgba(0,0,0,1);
	margin: 0px 5px 5px 10px;
	width: 140px;
}

#cornbread_stack {
	float: right;
	position: relative;
	top: -145px;
	margin: 2px 5px 5px 0px;
	border-radius: 5px;
	box-shadow: 1px 1px 3px rgba(0,0,0,.50);
}

/* Ingrediants and Directions */
#ingredients {
	margin: 5px;
	font-weight: bold;
	background-color: rgba(255, 153, 0, .4);
	padding: 10px;
	border-radius: 10px;
	position: relative;
	height: auto;
}

#directions {
	margin: 10px;
	border: 1px solid rgba(255, 51, 0, 1);
	margin-top: 10px;
	padding: 5px;
}

hr{
	border: 1px solid rgba(0,0,0,.50);
	margin-bottom: 15px;
}



/* recipe content area */	
	
#main {
	background: rgba(255,255,255,1); /* white */
	float: left;
	width: 550px;
	margin-bottom: 25px;
}
#main h2, #main h3, #main p {
	padding: 0px 10px;
}
/* right side bar */

#sidebar {
	background: rgba(255,255,255,1); /* white */
	float: right;
	width: 195px;
	padding: 10px;
	min-height: 350px;
}

#sidebar ul{
	font-size: 12px;
	list-style-image: url(images/pieicon.gif);
}

#sidebar p{
	padding: 0px 10px 0px 0px;
}

#side_image{
	box-shadow: 2px 2px 5px rgba(0,0,0,1);
}

#facts{
	display: block;
	width: 190px;
	height: 250px;
	overflow: auto;
	background-color: rgba(251, 220, 71, .25);
	margin: 10px 0px 0px 5px;
	font-size: 90%;
	padding: 0px 3px 3px 0px;
}
#facts h3{
	margin-left: 20px;
	color: rgba(204, 102, 0, 1);
	text-transform: uppercase;
	font-size: inherit;
}

/* Form Styling */
form{
	border: 1px solid rgba(255, 204, 1, 1);
	background-color: rgba(255, 190, 51, 1);
	padding: 2px;
	margin: 5px;
	box-shadow: 2px 2px 5px rgba(0,0,0,1);	
}

html{
	font: 10px;
	font-family: Arial, Helvetica, sans-serif;
	background-color: rgba(255, 255, 204, .8);	
}

 /* footer styling */
.logo{
	border: none;
}
#footer{
	background-color: rgba(255,153,0,1);
	clear: both;
}
#footer p{
	font-size: 9px;
	font-style: italic;
	padding: 5px;
	margin: 10px 0px 0px 0px;
	text-align: center;
}

#footer a{
	color: rgba(0,0,0,1);
}
/* Hyperlink Styles*/
a { 
    color: rgba(255, 153, 0, 1);
    text-decoration: underline;
}

a:link { 
    color:rgba(255, 153, 0, 1);
    text-decoration: underline;
}

a:visited{ 
    color: rgba(255, 204, 0, 1);
	text-decoration: underline;
}

a:hover { 
    color: rgba(255, 102, 0, 1);
	text-decoration: none;
	font-weight: bold;
}

a:active {
    color: rgba(255, 102, 0, 1);
	text-decoration: underline;
    font-weight: bold;
}
