/* 
Filename:sitewide.css
Author: david wysocki	
Description: this is the css for the Coca-Cola website for project 5 
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: rgba(0, 0, 0, 1);
  margin: 0;
  padding: 0;
}

.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);
	font-weight: bold;
	font-size: 10px;
	text-align: center;
	background-color: rgba(204, 0, 0, 1);
	padding-top: 5px;
	padding-right: 0;
	padding-bottom: 5px;
	padding-left: 0;
	margin-bottom: 0;
  }

/* header styles */

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

/* fun facts styles */

#funfacts {
	padding: 0.5em;
	margin: 0;
	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, 0.75);
	border-radius: 5px;
  }

  #facts {
	padding: 0.5em;
	margin: 0;
	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;
	box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.75);
  }

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

  #message {
	background-color: rgba(204, 204, 204, 1);
	color: rgba(51, 51, 51, 1);
	text-align: left;
	padding: 0.5em 0.5em 0.5em 0.1em;
	margin: 0;
	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, 0.75);
	border-radius: 5px;
  }



/* coke poster */

#poster {
	width:281px;
	height: 259px;
	margin-left: 550px;
	margin-top: -400px;
}


/* footer styles */

#footer {
	color: rgba(153, 153, 153, 1);
	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-image: url(images/cokebottle.png);
	background-repeat: no-repeat;
    position: absolute;
    left: -250px;
    top: -200px;
   z-index: 10;
}

#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: url(images/transparent.gif) no-repeat;
  }

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