/* 
Filename: sitewide.css
Author: Jade Holt
Description: Applying what was learned in Ch 1-15
Note: This document validates as CSS level 3 ! 
*/

/* CSS simple reset minified */	
*{
	margin:0;
	padding:0;
	border:0;
	outline:0;
	line-height:1.5em;
	vertical-align:baseline;
	font-family:Arial,Helvetica,sans-serif;
	list-style:none;
}
/* body and layout styles */
body{
	font-size:90%;
	background-color:rgb(0,0,0,1);
	margin:0px;
	padding:0px;}
.wrap{
	margin:auto;
	width:770px;
	text-align: center;
}
p{
	margin-top:5px;
	margin-bottom:5px;
}
/* IE conditional comments */
#conditional{
	color: rgba(255,255,255,1); /* white */
	font-weight:bold;
	font-size:10px;
	text-align:center;
	background:rgba(204,0,0,1);/*red*/
	padding-top:5px;
	padding-right:0px;
	padding-left:0px;
	padding-bottom:5px;
	background:rgba(204,0,0,1);
}
/* header styles */
#redbar{
	background:rgba(204,0,0,1);/*red*/
	margin:0px;
	padding:0px;
	height:150px;
	background:url(images/logo_bkgd.gif) ;
	background-attachment:fixed;
	background-repeat:repeat-x;
}
/* fun facts styles */
#funfacts{
	padding:0.5em;
	margin:0;
	border: 1px solid rgba(204,204,204,1);/*light gray*/
	background-color:rgba(255,255,255,1);/*white*/
	position:relative ;
	top:-70px;
	left:250px;
	width:250px;
	box-shadow: 3px 3px 5px rgba(0,0,0,0.75);/*black*/
	border-radius:5px;
	}
#facts{
	padding:0.5em;
	margin:0;
	border:1px solid rgba(204,204,204,1);/*light gray*/
	background-color:rgba(255,255,255,1);/*white*/
	position: relative ;
	top:-60px;
	left:250px;
	width:250px;
	height:350px;
	border-radius:5px;
	}
#factstext{
	color:rgba(51,51,51,1);
	text-align:left;
	padding:0.5em;
	margin:2px 0 0 8px;
	position:relative;
	left:5px;
	top:-10px;
	width:230px;
	height:30px;
	font-weight:normal;
	font-size:80%;
	}
#message{
	background-color:rgba(204,204,204,1);/*light gray*/
	color:rgba(51,51,51,1);/*dark gray*/
	text-align:left;
	padding:0.5em 0.1em 0.5em 0.5em;
	margin:0;
	border: dotted rgba(204,0,0,1);/*red*/
	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,0.75);/*black*/
}
/* coke poster */
#poster{
	width:281px;
	height:350px;
	margin-left:550px;
	margin-top:-400px;
}
/* footer styles */
#footer{
	color:rgba(153,153,153,1);/*light gray*/
	text-align:center;
	font-size:9px;
	padding-top:50px;
	word-spacing:0.15em;
}
/* image map styles */

#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;
}
