/*----------------------------------------------------------------------------------------
  Drink Drive Lose Ad Challenge - Advanced CSS
  General formatting & stuff for older browsers
  
  Created by Aaron Gustafson (agustafson at cronin-co dot com)
----------------------------------------------------------------------------------------*/
/* REDEFINE HTML */
body {
  background: #000 url(../images/bodyCompact.jpg) top center repeat-y;
  margin: 0;
  padding: 0;
}
h1 {
  color: #de2925;
  font-size: 2.25em;
  margin: 0;
}
h1, h2 {
  padding: 0;
}
hr {
  background: url(../images/hr.jpg) top left repeat-x;
  border: 0;
  color: transparent;
  clear: both;
  height: 5px;
  margin: 2px 0;
  padding: 0;
}
strong { /* thanks WDDG */
  background: url(../images/bold.jpg) top left repeat-x;
  color: #fff;
  padding: 0 5px;
}

/* LAYOUT */
#header,
#content,
#contentSort,
#footer {
  position: relative;
  margin: 0 auto;
  width: 730px;
}
#header:after,
#content:after
#content:after,
#contentSort:after,
#footer:after {
  content: "."; 
  display: block; 
  height: 0; 
  clear: both; 
  visibility: hidden;
}
#header {
  background: #000 url(../images/bodyTop.png) bottom left no-repeat !important;
  background-image: url(../images/bodyTop.gif);
  height: 100px;
}
#content,
#contentSort {
  min-height: 400px;
  width: 500px;
  padding: 10px 200px 10px 30px;
}
#footer {
  background: url(../images/bodyBottom.png) top left no-repeat !important;
  background-image: url(../images/bodyBottom.gif);
  clear: both; 
  color: #fff;
  font-size: .8em;
  margin-top: 50px;
  padding-top: 25px;
  text-align: center;
  height: 30px;
}

/* BRANDING */
#logo {
  background: url(../images/logoCompact.png) top left no-repeat !important;
  background-image: url(../images/logoCompact.gif);
  text-indent: -999em;
  width: 337px;
  height: 30px;
  position: absolute;
  top: 10px;
  left: 20px;
}
#logo img {
  display: inline;
}
/* ACCESS NAV */
#accessNav
{
  font-family: "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif;
  position: absolute;
  left: -9999px;
  width: 300px;
}
#accessNav a:focus, #accessNav a:hover
{
  color: #c20904;
  display: block; 
  font-size: 1em;
  padding: 0;
  white-space: nowrap;
  width: auto;
  position: absolute;
  top: 80px;
  left: 10009px;
  z-index: 1000;
}
/* MAIN NAV */
#mainNav {
  margin: 0;
  padding: 0;
  position: absolute;
  bottom: 25px;
  left: 20px;
  width: 730px;
}
#mainNav li {
  display: table-cell;
  float: left;
  font-size: 1.2em;
  list-style: none;
  margin: 0;
  padding: 0 15px 0 0;
}
#mainNav li a {
  color: #fff;
  display: block;
  font-weight: bold;
  margin: 0;
  padding: 0;
  text-decoration: none;
}
#mainNav li a:focus,
#mainNav li a:hover {
  color: #c20904;
}
/* UTILITY NAV */
#utilNav {
  margin: 0;
  padding: 0;
  position: absolute;
  top: 10px;
  right: 10px;
}
#utilNav li {
  float: left;
  font-size: .9em;
  list-style: none;
  margin: 0;
  padding: 0 15px 0 0;
}
#utilNav li a {
  color: #fff;
  display: block;
  font-weight: bold;
  margin: 0;
  padding: 0;
  text-decoration: none;
}
#utilNav li a:focus,
#utilNav li a:hover {
  color: #c20904;
}
/* FOCUSED PAGES */
#homeBody #home a,
#whatBody #what a,
#viewBody #view a,
#notifyBody #notify a,
#enterBody #enter a,
#winnersBody #winners a,
#mediaBody #media a,
#rulesBody #rules a {
  color: #c20904 !important;
}

/* SORT */
#sort {
  width: 120px;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 120px;
  right: 30px;
}
#sort label {
  margin-right: 5px;
}
#sort fieldset,
#sort input {
  margin: 0;
  padding: 0;
  width: auto;
}
#sort select {
  width: auto;
  margin-bottom: 10px;
}

/* PAGING */
#pagingH {
  display: inline;
  font-size: 1em;
}
ul#paging {
  display: inline;
  margin: 0;
  padding: 0;
}
ul#paging li {
  border-right: 1px solid #000;
  display: inline;
  list-style: none;
  margin: 0;
  padding: 0 5px 0 2px;
}
ul#paging li.last-child {
  border: none;
}

/* PROMOS */
#promos {
  clear: both;
}
#deadlines {
  background: url(../images/promos/deadlinesCompact.gif) top left no-repeat;
  display: block;
  height: 89px;
  width: 119px;
  position: absolute;
  top: 15px;
  right: 30px;
  text-indent: -999em;
  text-decoration: none;
}

/* GROUP DISPLAY */
ul#entries {
  margin-top: 1.5em;
}
ul#entries:after {
  content: "."; 
  display: block; 
  height: 0; 
  clear: both; 
  visibility: hidden;
}
ul#entries li {
  background: url(../images/entries.gif) top left no-repeat;
  float: left;
  width: 215px;
  height: 170px;
  margin: 0 0 10px;
  padding: 10px 15px 0 10px;
}
body#winnersBody ul#entries li {
  height: auto;
}
ul#entries h3 {
  margin-top: 0;
}
ul#entries img {
  float: right;
  margin: 0 0 5px 5px;
  max-width: 80px;
  max-height: 100px;
}
dl.your {
  clear: left;
  float: left;
  width: 49%;
}
dl.avg {
  clear: right;
  float: left;
  width: 49%;
}
span.rating {
  border: 1px solid #fff;
  background: url(../images/stars.jpg) top left repeat-x;
  display: block;
  height: 19px;
  text-indent: -999em;
}
span._1 {
  max-width: 21px;
}
span._2 {
  width: 42px !important;
}
span._3 {
  width: 63px !important;
}
span._4 {
  width: 84px !important;
}
span._5 {
  width: 105px !important;
}
p.date {
  float: right;
  color: #666;
  font-size: .85em;
  font-style: italic;
}
p.category {
  float: left;
  color: #666;
}
p.entrant {
  clear: left;
  color: #333;
}
p.description {
  margin-bottom: 1em;
}
#rateThis {
  background: url(../images/rate.jpg) bottom left no-repeat;
  float: left;
  width: 300px;
}
#rateThis fieldset {
  border: 0;
  padding: 0;
}
#rateThis label {
  color: #fff;
  margin-left: 45px;
  width: auto;
}
#rateThis select {
  margin-left: 45px;
  width: auto;
}
#display {
  display: block;
  margin: 1em 0;
  max-width: 480px;
  max-height: 320px;
}
a#enlarge img {
  border: 1px solid #000;
}
form p {
  margin: 0 0 1em;
}
p.nb {
  color: #c20904;
}
h3.hidden {
  position: absolute;
  top: -999em;
}
ul#options {
  float: right;
  width: 200px;
  margin: 1em 0 0;
  padding: 0;
}
ul#options li {
  text-align: right;
  list-style: none;
  margin: 0;
  padding: 0 0 .3em;
}

/* ENTRY FORMS */
form.sfHide {
  display: none;
}
form:target,
form.sfTarget {
  display: block;
  margin-top: -100px;
  padding-top: 100px;
}

/* Legalese */
ol.legalese {
  margin: 0;
  padding: 0;
}
ol.legalese li {
  list-style: decimal inside;
  margin: 0;
  padding: 0 0 .5em;
  text-align: justify;
}
ol.legalese li ol {
  margin: .5em 0 0 20px;
  padding: 0;
}
ol.legalese li ol li {
  list-style: lower-alpha inside;
}
ol.legalese dl {
  margin: 0;
  padding: 0 0 0 20px;
}
ol.legalese dd {
  margin: 0;
  padding: 0 0 .3em;
}
dl.inline {
  clear: both;
}
dl.inline:after {
  content: "."; 
  display: block; 
  height: 0; 
  clear: both; 
  visibility: hidden;
}
dl.inline dt {
  float: left;
  clear: left;
  padding-right: 5px;
}
dl.inline dd {
  float: left;
  clear: right;
}
strong.legal {
  background: transparent;
  color: #000;
  text-transform: uppercase;
  padding: 0;
}

/* CREATIVE BRIEF */
dl#cBrief dt {
  font-size: 1.5em;
}
dl#cBrief dd {
  padding-bottom: .5em;
}
dl#cBrief div.msgBox {
  border: 1px solid #000;
  background: #f7f7f7;
  padding: 10px;
  width: 90%;
  min-height: 200px;
}
dl#cBrief div.msgBox dl {
  margin: 0;
}
dl#cBrief div.msgBox dl dt {
  font-size: 1em;
}
dl#cBrief div.msgBox dl dd {
  padding: 0 10px .5em;
}
dl#cBrief p.notes {
  font-size: .9em;
  margin: 0;
  width: 90%;
}

/* SITE MAP */
ul#map,
ul#map ul {
  margin: 0;
  padding: 0;
}
ul#map li {
  margin-left: 15px;
  padding-left: 0;
}

/* MY ALERT */
#myAlert {
  background: url(../images/myAlert.png) top left no-repeat !important;
  background-image: url(../images/myAlert.gif);
  padding: 40px;
  width: 208px;
  height: 90px;
  position: absolute;
  top: 35%;
  left: 35%;
  z-index: 100;
}
#myAlert[id] {
  position: fixed;
}

/* FOOTER */
#footer p, #footer ul, #footer li {
  display: inline;
  margin: 0;
  padding: 0;
}
#footer h6 {
  position: absolute;
  left: -999em;
}
#footer ul li {
  padding: 0 5px 0 0;
}
#footer ul#sponsors {
  position: absolute;
  top: -45px;
  right: 15px;
}
#footer ul#sponsors li img {
  margin: 0 5px 0 0;
}
#footer ul#sponsors li#sponsor_doe,
#footer ul#sponsors li#sponsor_wphh {
  margin-right: 0px !important;
}
#footer ul#sponsors li#sponsor_wphh img {
  margin-bottom: 10px;
}

/* sIFR-SPECIFIC CLASSES RULES */
.sIFR-hasFlash h1 {
  visibility: hidden;
  margin-bottom: -.5em;
}
.sIFR-hasFlash h2 {
  visibility: hidden;
  margin-bottom: -.2em;
}
.sIFR-flash {
  visibility: visible !important;
  margin: 0;
}
.sIFR-replaced {
  visibility: visible !important;
}
span.sIFR-alternate {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  display: block;
  overflow: hidden;
}

/* HACKS */
* html strong {
  background: transparent;
  color: #000;
  font-weight: bold;
}
html * #content,
html * #contentSort { /* Safari Hack */
  [height: 400px;/* hide from Mozilla */
  height: 400px;/* read by Safari */
  ]height: 400px;/* read by IE6 */
}
html>body #content,
html>body #contentSort { /* for opera */
  height: auto;
  min-height: 400px;
}
* html #content,
* html #contentSort {
  width: 500px;
  padding: 10px 180px 10px 30px;
}
html * #rateThis {
  [padding-bottom: 10px;
  padding-bottom: 10px;
  ]padding-bottom: 10px;
}
* html #rateThis {
  padding-bottom: 12px;
}
* html #footer p {
  padding-right: 5px;
}
/* hides the second object from all versions of IE */
* html object#nonIE {
    display: none;
}
/* displays the second object in all versions of IE apart from 5 on PC */
* html object#nonIE/**/ {
    display: inline;
}
/* hides the second object from all versions of IE >= 5.5 */
* html object#nonIE {
    display/**/: none;
}

