/**************************************************************
   AUTHOR:  Pat Heard (fullahead.org)
   DATE:    2007.08.29
   PURPOSE: Controls the layout of the site elements
 **************************************************************/


/**************************************************************
   #topbar: holds common SM&Co menu
 **************************************************************/
 
#topbar {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  
  width: 100%;
  min-width: 724px;
  height: 95px;
  
  background: url(../images/bg/topbar.png) repeat-x bottom left;
}

#topbar .width {
  margin: 0 auto;
  width: 660px;  
}

#topbar a {
  float: left;  
  height: 78px;  
  
  font: bold 1.15em arial, sans-serif;  
  line-height: 77px;    
  
  color: #B5B5B5; 
  cursor: pointer; 
}

#topbar a:hover {
  color: #111;
}


/* SM&Co Logo */
#topbar #logo {
  float: left;
  padding-left: 115px; 
  background: url(../images/text/smco_logo.jpg) no-repeat 15px 3px;
}


/* Main SM&Co menu */
#topbar ul {
  margin: 0;
  padding: 0;
  list-style: none;
  float: right;
}

#topbar ul li {
  margin: 0;
  padding: 0;
  display: inline;
}

#topbar ul li a {
  margin: 0 -10px;
}

#topbar ul li a span {
  float: left;
  height: 78px;
  padding: 0 30px;  
}

#topbar ul li a:hover {
  background: url(../images/bg/topbar_link_l.gif) no-repeat bottom left;
}

#topbar ul li a:hover span {
  background: url(../images/bg/topbar_link_r.gif) no-repeat bottom right;
}

/**************************************************************
   #content: holds all site elements
 **************************************************************/
 
#content {
  min-height: 100%;
  width: 724px;  
  margin: 0 auto;
  text-align: left;
  
  background: url(../images/bg/content.png) repeat-y top left;
}

#content .bottom {
  clear: both;
  border-bottom: 11px solid #000;
}


/* Global width declaration for all layout elements contained in #content */
#content .width {
  margin: 0 52px;
  width: 598px;  
  
  /* Defines the gray sidebar column - done here so sidebar is always as long as longest page element */
  background: #000 url(../images/bg/sidebar.gif) repeat-y top left;
  border-left: 11px solid #000;
  border-right: 11px solid #000;
}



/**************************************************************
   #header: holds title, tagline and trailer links
 **************************************************************/

#header {
  position: relative;
  margin-top: 79px;
  height: 572px;  
  
  background: url(../images/bg/header.jpg) no-repeat top left;  
  border-bottom: 11px solid #000;
}


/* Title */
#header h1 {
  position: absolute;
  top: 41px;
  left: 0px;  
  
  padding: 0;
  margin: 0;
  height: 110px;
  width: 598px;
  
  text-indent: -1000em;
  
  background: url(../images/text/a_call_to_arms.jpg) no-repeat top left;
}



/* Taglines */
#header h2 {
  position: absolute;
  right: 28px;
  text-align: right;
  font: bold 1.9em "times new roman", serif;
  color: #FFF;
}

#header h2.date {
  top: 24px;
  margin: 0;
  padding: 2px;
  
  font-size: 2.5em;
  
  color: #BBFE27;
  background: url(../images/bg/translucent.png) repeat top left;  
}

#header h2.tagline {
  top: 120px;
  font-size: 1.4em;
}

#header .linkBlock {
  position: absolute;
  right: 28px;
  top: 200px;
  width: 198px;
  
  background: url(../images/bg/translucent.png) repeat top left;  
}

/* Use this selector to hide order button until movie is for sale */
#header #shop {
  top: 385px;
}

/* Linkboxes for trailer download and ordering movie */
#header .linkBlock h3 {
  height: 35px;  
  padding: 0;
  margin: 0;
}

#header .linkBlock ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#header .linkBlock ul li {
  margin: 0;
  padding: 0;
  display: inline;
}

#header .linkBlock ul li a {
  display: block;
  position: relative;
  padding: 5px 10px;
  font: bold 1.6em "times new roman", serif;
  color: #FFF;  
}

#header .linkBlock ul li a:hover {
  background-color: #000;
}


/* Star and cart icons */
#header .linkBlock ul li a span {
  position: absolute;
  top: 0.2em;
  left: 5em;
  height: 19px;
  background: url(../images/icons/star.png) repeat center left;
}

#header .linkBlock ul li a:hover span {
  background: url(../images/icons/star_hover.png) repeat center left;
}


#header .linkBlock ul li a span.one {
  width: 20px;
}

#header .linkBlock ul li a span.two {
  width: 40px;
}

#header .linkBlock ul li a span.three {
  width: 60px;
}

#header .linkBlock ul li a span.four {
  width: 80px;
}

#header .linkBlock ul li a span.cart {
  width: 24px;
  background: url(../images/icons/cart.png) no-repeat center left;
}

#header .linkBlock ul li a:hover span.cart {
  background: url(../images/icons/cart_hover.png) no-repeat center left;
}


/**************************************************************
   #sidebar: holds icon links
 **************************************************************/

#sidebar {
  float: left;
  width: 179px;
  padding: 9px 0;
  text-align: center;
}

#sidebar h2 {
  padding: 2px 0 10px 0;
}



/**************************************************************
   #main: holds main site text content
 **************************************************************/

#main {
  float: right; 
  width: 408px;
}

/* 3 tabbed menu */
#main ul.menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

#main ul.menu li {
  margin: 0;
  padding: 0;
  display: inline;
}

#main ul.menu li a {
  float: left;
  width: 136px;
  padding: 11px 0;
}

#main ul.menu li.here a,
#main ul.menu li.here a:hover {
  background-color: #191919;
}

#main ul.menu li a img {
  padding: 0 11px;
}

#main ul.menu li a span {
  display: block;
  padding: 0 11px;
  font: bold 1.25em "times new roman", serif;
}

#main ul.menu li.here a span {
  color: #A8E51F;  
}

#main ul.menu li a:hover {
  background-color: #0D0D0D;
}



/* Site copyright information */
#footer {
  padding-bottom: 0px;
}



/**************************************************************
   Image Preloader
 **************************************************************/

#preloader {
  position: absolute;
  top: -1000px;
  left: -1000px;
}



/**************************************************************
   Image Headers
 **************************************************************/

.hdrGetInvolved,
.hdrWatchTrailer,
.hdrBuyTheMovie {
  text-indent: -1000em;
  font-size: 0px;
  margin: 0;
  padding: 0;
}  

.hdrGetInvolved {  
  background: url(../images/text/get_involved.gif) no-repeat center center;
}

.hdrWatchTrailer {
  background:  #000 url(../images/text/watch_trailer.gif) no-repeat 8px 50%;
}

.hdrBuyTheMovie {
  background:  #000 url(../images/text/buy_the_movie.gif) no-repeat 8px 50%;
}



/**************************************************************
   Generic Styles
 **************************************************************/


/* Thumbnail rows */
.thumbs {
  text-align: center;
}

.thumbs a img {
  margin: 0 8px;
  border: 4px solid #333434;
}

.thumbs a:hover img {
  border: 4px solid #616161;
}


/* Main text gradient */
.gradient {
  clear: both;
  padding: 0 11px;
  background: #191919 url(../images/bg/gradient.gif) repeat-x bottom left;
}

.caption {
  display: block;
}
