/* 
Filename: Project #5 
Author: Rachel Lincoln	
Description: Applying information from Chapters 1-15 plus looking up infomation
Note: This document validates as CSS level 3 ! 
*/

/* CSS simple reset minified */	
/*1.1 #1 Using universal selctor to reset the page*/
*{
	margin:0px;
	padding:0px;
	border:0px;
	outline:0px;
	line-height:1.5em;
	vertical-align: baseline;
	font-family:Arial, Helvetica, sans-serif;
	list-style: none;
}

/* body and layout styles */
/*Setting up Body with styling*/
body{
	font-size: 90%;
	background-color: rgba(0,0,0,1); /*opq black*/
	margin:0px;
	padding:0px;
}

/*Setting up class .wrap and styling */
.wrap{
	margin:auto;
	width:770px;
	text-align: center;
}

/*Setting up paragraph with styling */
p{
	margin-top: 5px;
	margin-bottom: 5px;
}

/* IE conditional comments */
/*1.2 #2 Setting up id #conditional and styling*/
#conditional{
	color: rgba(255,255,255,1); /*opq white*/
	font-weight: bold;
	font-size: 10px;
	text-align: center;
	background-color: rgba(204,0,0,1); /*red*/
	padding:5px 0px 5px 0px;
	margin-bottom: 0px;
}

/* header styles */
/*1.2 #2.1 Adding id #redbar*/
#redbar{
	background-color: rgba(204,0,0,1); /*red*/
	margin:0px;
	padding:0px;
	height:150px;
	background-image: url(images/logo_bkgd.gif);
	background-repeat:repeat-x;
	background-attachment: fixed;
}

/* fun facts styles */
/*1.3 #2 Setting ID named funfacts*/
#funfacts{
	padding:.5em;
	margin:0px;
	border: 1px solid rgba(204,204,204,1);
	background-color: rgba(255,255,255,1);
	position: relative;
	left:250px;
	top:-70px;
	width:250px;
	box-shadow: 3px 3px 5px rgba(0,0,0,.75);
	border-radius: 5px;
}

/* 1.3 #1.1 Creating large message box using Id #facts*/
#facts{
	padding: 0.5em;
	margin: 0px;
	border: 1px solid rgba(204,204,204,1);
	background-color: rgba(255,255,255,1);
	position: relative;
	left: 250px;
	top: -60px;
	width: 250px;
	height: 350px;
	border-radius: 5px;
}

/*1.3 #1.3 Creating an ID for fun fact text #factstext*/
#factstext{
	color: rgba(51,51,51,1);
	text-align: left;
	padding:0.5em;
	margin: 2px 0px 8px 0px;
	position: relative;
	left:5px;
	top: -10px;
	width:230px;
	height:30px;
	font-weight: normal;
	font-size:80%;
}

/*1.3 #1.4 Adding ID #message and styling */
#message{
	background-color: rgba(204,204,204,1);
	color: rgba(51,51,51,1);
	text-align: left;
	padding: 0.5em 0.1em 0.5em 0.5em;
	margin:0px;
	border: 1px dotted rgba(204,0,0,1);
	position: relative;
	left:5px;
	top:40px;
	width:230px;
	height:160px;
	font-weight: normal;
	font-size: 100%;
	box-shadow: 3px 3px 5px rgba(0,0,0,.75);
}

/* coke poster */
/*1.4 # 2 Create ID #poster and styling*/
#poster{
	width: 281px;
	height: 350px;
	margin-left: 550px;
	margin-top: -400px;
}

/* footer styles */
/*`.5 # 2 Creating ID #footer and styling*/
#footer{
	color: rgba(153,153,153,1);
	text-align: center;
	font-size:9px;
	padding-top: 50px;
	word-spacing: 0.15em;
}


/* image map styles  1.6 #2 #3 #4 */

#bottle {
	width: 195px;
	height: 500px;
	padding: 0;
	margin: 0;
	list-style: none;
	background: url(images/cokebottle.png);
	background-repeat: no-repeat;
	position: absolute;
	left: -250px;
	top: -200px;
	z-index: 10;
}
#bottle li {
	display: inline;
	float: left;
	width: 50px;
	height: 100px;
	background: transparent url(images/transparent.gif);
}
#bottle li.ff1 {
	margin-left: 57px;
	margin-top: 5px;
	width: 75px;
	height: 50px;
}
#bottle li.ff2 {
	margin-left: 45px;
	margin-top: 75px;
	width: 105px;
	height: 50px;
}
#bottle li.ff3 {
	margin-left: 65px;
	margin-top: 145px;
	width: 60px;
	height: 50px;
}
#bottle li.ff4 {
	margin-left: 30px;
	margin-top: -165px;
	width: 130px;
	height: 50px;
}
#bottle li.ff5 {
	margin-left: 50px;
	margin-top: 40px;
	width: 85px;
	height: 50px;
}
/* this formats the gray box on the coke bottle */
#bottle li a {
	text-decoration: none;
	display: block;
	height: 100%;
	border: 2px dotted rgba(255,255,255,1); /* white */
	background: rgba(255,255,255,.25) url(images/fact.gif); /* background is white with a 25% opacity */
	background-position: center left;
	background-repeat: no-repeat;
}
#bottle li a span {
	display: none;
}
#bottle li a:active, #bottle li a:focus {
	visibility: visible;
	border: 0;
	cursor: default;
	width: 0;
	height: 0;
	outline: 0;
}
/* changes the text color of the fun facts message */

#bottle li a:active span, #bottle li a:focus span {
	display: block;
	position: absolute;
	top: 205px;
	left: 253px;
	z-index: 500;
	width: 225px;
	color: rgba(102,102,102,1); /* gray */
	font-size: 10px;
	line-height: 14px;
}
#bottle li a:active span b, #bottle li a:focus span b {
	font-size: 11px;
	color: rgba(204,0,0,1); /* red */
}
/* validation logos hyperlinks */
a.validation_logo:link {
	background-color: rgba(255,255,255,1); /* white */
	text-decoration: none;
}
a.validation_logo:visited {
	background-color: rgba(255,255,255,1); /* white */
	text-decoration: none;
}
a.validation_logo:hover {
	background-color: rgba(255,255,255,1); /* white */
	text-decoration: none;
}
a.validation_logo:active {
	background-color: rgba(255,255,255,1); /* white */
	text-decoration: none;
}
img.validation {
	opacity: 1;
	border: none;
}
