/*
  Running MySource Matrix
  Developed by Squiz - http://www.squiz.net
  MySource, MySource Matrix and Squiz.net are registered Trademarks of Squiz Pty Ltd
  Page generated: 08 February 2012 15:09:13
*/


/* Fixes over bold font rendering on Macs */
#div-content-left p, #div-content-left td, #div-content-right p, #div-content-footer p, #div-content-footer li {
  opacity: 0.99;
}

#div-content-left tr.even td, #div-content-left tr.odd td  {
  opacity: 1;
}

table.latest_news {
  margin-top: 1em;
}

table.latest_news, table.latest_news td, table.latest_news th {
  border: 1px solid #585153;
}
table.latest_news td, th {
  vertical-align: top;
  padding: 7px;
  color: #ffffff;
}
table.latest_news th {
  border: 1px solid #59AE4C;
  background-color: #59AE4C;
  font-weight: bold;
} 
table.latest_news td p { 
  padding: 0 !important;
  margin: 0 !important;
}
table.latest_news td.first {
  width: 15%;
  font-weight: bold;
}

div#top_sub_nav {
  display: block;
}

#event_map {
  width: 297px; 
  height: 297px;
  margin-top: 1em;
}

.event_map_info {
  color: #000000;
}


#div-banners {
  margin-left: 0;
}

a.addthis_button, 
a.map_link {
  display: block;
  margin-top: 1.4em;
} 

div.youtube object,
div.youtube img { 
   margin-bottom: 0.5em; 
}

/** top nav */
#top_sub_nav {
    background: #3b3335 url('http://www.drinkaware.co.uk/__data/assets/image/0007/24847/bg-top.png') top left repeat-x;
    display: block;
    padding: 60px 0 0 185px;
    color: #FFF;
    font: normal 82.5%/1.3em "Lucida Sans", "Lucida Grande", "Lucida Sans Unicode", sans-serif;
    position: relative;
}
#top_sub_nav:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
#top_sub_nav #hoof-it-logo { position: absolute; top: 31px; left: 21px; }
#top_sub_nav ul { list-style: none outside; margin: 0; padding: 0; }
#top_sub_nav ul li { 
    float: left; 
    padding: 0 0 0 5px; 
    margin-right: 2px;
    background: url('http://www.drinkaware.co.uk/__data/assets/image/0005/24863/nav-inactive.png') top left repeat-x;
}
#top_sub_nav ul a  {
    display: block;
    padding: 10px 10px 15px 5px;
    color: #FFF;
    text-transform: uppercase;
    text-decoration: none;
}

#top_sub_nav.asset_Hoof li.Hoof,
#top_sub_nav.asset_tour li.tour,
#top_sub_nav.asset_latest-news li.latest-news,
#top_sub_nav.asset_get-match-fit li.get-match-fit,
#top_sub_nav.asset_win-a-ball li.win-a-ball,
#top_sub_nav.asset_got-a-ball li.got-a-ball,
#top_sub_nav.asset_meet-the-team li.meet-the-team a
{
  background: url('http://www.drinkaware.co.uk/__data/assets/image/0003/24861/nav-active.png') top left repeat-x;
}

#top_sub_nav.asset_Hoof li.Hoof a,
#top_sub_nav.asset_tour li.tour a,
#top_sub_nav.asset_latest-news li.latest-news a,
#top_sub_nav.asset_get-match-fit li.get-match-fit a,
#top_sub_nav.asset_win-a-ball li.win-a-ball  a,
#top_sub_nav.asset_got-a-ball li.got-a-ball a,
#top_sub_nav.asset_meet-the-team li.meet-the-team a
{
  background: url('http://www.drinkaware.co.uk/__data/assets/image/0003/24861/nav-active.png') top right repeat-x;
}

#top_sub_nav.asset_Hoof li.Hoof a:hover,
#top_sub_nav.asset_tour li.tour a:hover,
#top_sub_nav.asset_latest-news li.latest-news a:hover,
#top_sub_nav.asset_get-match-fit li.get-match-fit a:hover,
#top_sub_nav.asset_win-a-ball li.win-a-ball a:hover,
#top_sub_nav.asset_got-a-ball li.got-a-ball a:hover,
#top_sub_nav.asset_meet-the-team li.meet-the-team a:hover
#top_sub_nav.asset_Hoof li.Hoof a:active,
#top_sub_nav.asset_tour li.tour a:active,
#top_sub_nav.asset_latest-news li.latest-news a:active,
#top_sub_nav.asset_get-match-fit li.get-match-fit a:active,
#top_sub_nav.asset_win-a-ball li.win-a-ball  a:active,
#top_sub_nav.asset_got-a-ball li.got-a-ball a:active,
#top_sub_nav.asset_meet-the-team li.meet-the-team a:active {
  color: #FFFFFF;
}

#top_sub_nav li a:hover {
  color: #56AD4C;
}

#top_sub_nav li a:active {
  color: #D11F4A;
}


/** content DIVs */
#div-content {
    background: #3b3335 url('http://www.drinkaware.co.uk/__data/assets/image/0005/24845/bg-main.png') top left repeat-x;
    color: #FFF;
    padding: 50px 0 10px 0;
    border-left: 10px solid #3b3335; /* hack! */
    border-right: 10px solid #3b3335; /* hack! */
    width: 965px;
    font: normal 82.5%/1.3em "Lucida Sans", "Lucida Grande", "Lucida Sans Unicode", sans-serif;
}

#div-content-left  { width: 634px; float: left; }
#div-content-right { width: 311px; float: left; margin-left: 20px; }
* html #div-content-right { margin-left: 15px; }

/** footer */
#div-content-footer { clear: both; margin-top: 50px; padding: 10px 20px; background: url('http://www.drinkaware.co.uk/__data/assets/image/0020/24851/footer-bg.png') top left repeat-x; }
#div-content-footer p.disc { float: right; width: 320px; text-align: right; margin: 0 0 10px 0; }
#div-content-footer ul { list-style: none outside; margin: 0; padding: 0.5em 0; }
#div-content-footer li { padding: 0 0 0 0.5em; margin: 0 0 0 0.5em; border-left: 1px solid #625b5c; float: left; }
#div-content-footer li.first { padding: 0; margin: 0; border: 0; }
#div-content #div-content-footer a { color: #FFF; }

/** content styles */
#div-content a { color: #00b4fb; text-decoration: none; }
#div-content a:hover { text-decoration: underline; }
#div-content p { margin: 0 0 1.4em 0; }
#div-content p.intro { font-size: 1.15em; line-height: 1.3em; margin-bottom: 1.5em; }

#div-content h1,
#div-content h2,
#div-content h3 { text-transform: uppercase; font-weight: normal; margin-top: 0;  }
#div-content h1 { padding: 20px; margin: 0 0 20px 0; background: url('http://www.drinkaware.co.uk/__data/assets/image/0004/24853/header-bg.png') top left repeat; }
#div-content h2 { font-size: 1.54em; }
#div-content h3 { font-size: 1.31em; }

#div-content h2 span.date,
#div-content h3 span.date { 
  display: block; font-size: 0.71em; line-height: 1.3em; }

#div-content h3 a span { color: #FFF; }

#div-content .hidden { display: none; }

#div-content .sir { position: relative; overflow: hidden; display: block; }
  #div-content .sir span { display: block; position: absolute; top: 0; left: 0; z-index: 50; }
#div-content a.sir span { cursor: pointer; }
#div-content h1.sir span { top: 20px; left: 20px; }

/** content-left splits */
#div-content-left .lc { margin-bottom: 0; margin-top: 0; }

/* Firefox only hack */
@-moz-document url-prefix() { #div-content-left .lc { margin-bottom: 1em; } }

#div-content-left .lc:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

#div-content-left .lcc { float: left; margin: 0 0 0 20px; }

#div-content-left .lcc h3 { margin-bottom: 1em; }

#div-content-left .lcce, 
#div-content-left .lcc1  { 
 margin: 0;
}

#div-content-left .lck-bg { background: url('http://www.drinkaware.co.uk/__data/assets/image/0010/24859/lcck-bg.png') top center repeat-y; }
#div-content-left .lck .lcc { width: 307px; } /* halves */
#div-content-left .lch { background: url('http://www.drinkaware.co.uk/__data/assets/image/0008/24857/lcch-bg.png') top center repeat-y; }
#div-content-left .lch .lcc { width: 198px; } /* thirds */

div#div-content p.lnkMoreNews { margin: 0; }
.lnkMoreNews a { padding: 5px 0 5px 12px; background: url('http://www.drinkaware.co.uk/__data/assets/image/0004/25879/link-ting-sm.png') left center no-repeat; }

.list_links { margin: 1em 0; }
.list_links a { display: block;  padding: 5px 0 5px 12px; background: url('http://www.drinkaware.co.uk/__data/assets/image/0004/25879/link-ting-sm.png') left center no-repeat; }


#div-content-left .lccar { text-align: right; }
#div-content-left .lckl {}
#div-content-left .lckl .lcce { width: 416px; } /* two-thirds, primary left */
#div-content-left .lckl .lcck { width: 198px; }

/** more block content */
#div-content-left .bil { 
    margin:  0 0 10px 0;
    padding: 10px 0 0 130px;
    border-top: 1px solid #585153;
    position: relative;
    height: auto !important;
    height: 120px;
    min-height: 120px;
}
#div-content-left .bil1 { border: 0; padding-top: 0;  }
#div-content-left .bil img { position: absolute; left: 0; top: 10px; height: 120px; width: 120px; }
#div-content-left .bil1 img { position: absolute; left: 0; top: 0; }
#div-content-left .bil h3 { margin: 0 0 0.3em 0; }

div#win-a-ball-flash { height: 380px; width: 430px; margin: 0 auto 15px auto; }

div#top-scores table { border-collapse: collapse; width: 634px; margin-bottom: 10px; }
div#top-scores table td { padding: 10px; }

div#top-scores table .pos   { width: 50px; }
div#top-scores table .name  { width: 444px; }
div#top-scores table .score { width: 80px; text-align: right; }

div#top-scores table tr.even td { background: #463f41; }
div#top-scores table tr.me td   { background: #59ae4c; }

div#top-scores table td.pos span {
  background: #59ae4c url('http://www.drinkaware.co.uk/__data/assets/image/0007/25396/blob-bg-odd.png') top left no-repeat; 
  display: block;
  float: left;
}
div#top-scores table td.pos span span { background-position: top right; float: none; background-color: transparent; }
div#top-scores table td.pos span span span { background-position: bottom right; }
div#top-scores table td.pos span span span span { background-position: bottom left; padding: 2px 7px; font-weight: bold; }

div#top-scores table tr.even td.pos span { background-image: url('http://www.drinkaware.co.uk/__data/assets/image/0005/25394/blob-bg-even.png'); }
div#top-scores table tr.me td.pos span { background-image: none; }
    
div#top-scores h2 { margin-bottom: 0; border: 1px solid #2f282a; background: url('http://www.drinkaware.co.uk/__data/assets/image/0007/24865/subhead-bg.png') top left repeat-x; padding: 10px; }

div#top-scores .pagination { padding: 10px 10px; background: #2c2628; text-align: center; }
div#top-scores .pagination h3 { text-transform: none; display: inline; font-size: 1em; }
div#top-scores .pagination ul { display: inline; list-style: none outside; margin: 0; padding: 0; }
div#top-scores .pagination li { display: inline; margin: 0; padding: 0 0 0 0.5em; font-weight: bold; }
div#top-scores .pagination li a { color: #FFF; }

div#top-scores .pagination li.prev,
div#top-scores .pagination li.next,
div#top-scores .pagination li.prev a,
div#top-scores .pagination li.next a { color: #00b4fb; }

/*
using CSS3 here because the combination of floating and stuff required to do it the other way would break
IE6 anyways
*/
div#top-scores .pagination li.curr {
  background: #00b4fb;
  padding: 2px 7px;
  margin: 0 -3px 0 3px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
}

/* IE8 Only */
div#top-scores .pagination li.curr {
  padding-right /*\**/: 5px\9
}

.btnViewLeaderboard,
.btnViewLeaderboard span { height: 64px; width: 245px; background: url('http://www.drinkaware.co.uk/__data/assets/image/0013/25402/btnViewLeaderboard.png') top left no-repeat; }


/** FP hero */
#div-content-left #hoof-it-hero {
    margin-bottom: 15px;
    background: url('http://www.drinkaware.co.uk/__data/assets/image/0005/25979/DA_maindriver_bg.jpg') top left no-repeat;
    padding: 25px 270px 0 15px;
    height: 300px;
}
#div-content-left #hoof-it-hero h1,
#div-content-left #hoof-it-hero h1 span { height: 84px; width: 295px; background: url('http://www.drinkaware.co.uk/__data/assets/image/0006/24873/hdrDlPmHero.jpg') top left no-repeat;}

#div-content #hoof-it-hero h1 span { top: 0; left: 0; }
#div-content-left #hoof-it-hero h1 { margin: 0 0 15px 0; padding: 0; }
#div-content-left #hoof-it-hero a { color: #3b3335; text-decoration: underline; }
#div-content-left #hoof-it-hero p { 
  font-size: 1.08em;
  line-height: 1.3em;
  margin-bottom: 0.9em;
  margin-left: 0;
}

/** SIR styles */
.hdrLatestHoofItNews,
.hdrLatestHoofItNews span { height: 22px; width: 333px; background: url('http://www.drinkaware.co.uk/__data/assets/image/0010/24877/hdrLatestHoofItNews.png') top left no-repeat; margin: 0; }

.hdrTheTour span { height: 30px; width: 213px; background: url('http://www.drinkaware.co.uk/__data/assets/image/0004/24889/hdrTheTour.png') top left no-repeat; }
.hdrMeetTheTeam span { height: 30px; width: 333px; background: url('http://www.drinkaware.co.uk/__data/assets/image/0005/24881/hdrMeetTheTeam.png') top left no-repeat; }
.hdrLatestNews span { height: 31px; width: 287px; background: url('http://www.drinkaware.co.uk/__data/assets/image/0003/24879/hdrLatestNews.png') top left no-repeat; }
.hdrGetMatchFit span { height: 32px; width: 312px; background: url('http://www.drinkaware.co.uk/__data/assets/image/0008/24875/hdrGetMatchFit.png') top left no-repeat; }
.hdrWinABall span { height: 30px; width: 254px; background: url('http://www.drinkaware.co.uk/__data/assets/image/0006/24891/hdrWinABall.png') top left no-repeat; }
.hdrPlayTheGame span { height: 30px; width: 329px; background: url('http://www.drinkaware.co.uk/__data/assets/image/0011/27110/hdrPlayTheGame.png') top left no-repeat; }
.hdrAreYouAWinner span { height: 31px; width: 440px; background: url('http://www.drinkaware.co.uk/__data/assets/image/0004/24871/hdrAreYouAWinner.png') top left no-repeat; }
.hdrTermsAndConditions span { height: 32px; width: 522px; background: url('http://www.drinkaware.co.uk/__data/assets/image/0011/24887/hdrTermsAndConditions.png') top left no-repeat; }
.hdrPrivacyPolicy span { height: 32px; width: 351px; background: url('http://www.drinkaware.co.uk/__data/assets/image/0007/24883/hdrPrivacyPolicy.png') top left no-repeat; }
.hdrAboutHoofIt span { height: 31px; width: 354px; background: url('http://www.drinkaware.co.uk/__data/assets/image/0011/24869/hdrAboutHoofIt.png') top left no-repeat; }
.hdrResult span { height: 31px; width: 153px; background: url('http://www.drinkaware.co.uk/__data/assets/image/0009/24885/hdrResult.png') top left no-repeat; }


/** form stuff */
form.formtastic input { outline: 0; border: 0; }
form.formtastic li { list-style: none outside; margin: 0 0 1em 0; padding: 0; }
form.formtastic li { margin: 0 0 1.5em 0; padding: 0; }

form.formtastic li label { display: block; font-size: 1.3em; line-height: 1.3em; text-transform: uppercase; }
form.formtastic li.string input { font-size: 1.3em; width: 300px; display: block; }

form.formtastic li.boolean { text-align: left; }
form.formtastic li.boolean label { font-size: 0.9em; text-transform: none; }
form.formtastic li.boolean input { margin-right: 1em; } 

form.formtastic li.commit { text-align: right; }
form.formtastic abbr { border: 0 }

#div-content p.inline-hints, 
#div-content p.inline-errors {
  display: block;
  margin: 0;
  font-size: 0.9em;
  text-align: right;
}

#div-content form li.boolean p.inline-hints, 
#div-content form li.boolean p.inline-errors {
  text-align: left;
  margin-left: 2.2em;
}

/* IE8 Only */
#div-content form li.boolean p.inline-hints, 
#div-content form li.boolean p.inline-errors {
  margin-left /*\**/: 2.6em\9
}

/* IE7, IE6 and below */
#div-content form li.boolean p.inline-hints, 
#div-content form li.boolean p.inline-errors {
  *margin-left: 2.8em;
}

#div-content p.inline-errors,
form.formtastic li.string.error label,
#errorExplanation {
  color: #ff7200;
}

form.formtastic li.error input { border: 2px solid #ff7200; }

#errorExplanation { margin-bottom: 1.4em; }

#errorExplanation ul { padding: 0 1em; }

#errorExplanation ul,
#errorExplanation li {
  list-style: outside disc;
  margin: 0.4em 0;
}


/** banners */
#div-content-right .banner { background: #000; padding: 15px; margin-bottom: 10px; }
#div-content-right .banner h2 { color: #d11f4a; }
#div-content-right .banner .moreLink a { padding: 4px 0 4px 20px; background: url('http://www.drinkaware.co.uk/__data/assets/image/0009/24849/bnrBlueArrow.png') left center no-repeat; }

#div-content-right .bnr-drinkDiary { background: none; }
#div-content-right .bnr-drinkDiary .moreLink a { background: url('http://www.drinkaware.co.uk/__data/assets/image/0019/25075/bnrBlueArrowOnBrown.png') left center no-repeat; }


#div-content-right .bnr-isBallWinner { 
    padding-right: 90px; 
    background: #000 url('http://www.drinkaware.co.uk/__data/assets/image/0009/24867/xbox-black.jpg') right center no-repeat; 
    height: auto !important;
    height: 190px;
    min-height: 190px;
}

#div-content-right .bnr-winABall h2 a,
#div-content-right .bnr-winABall h2 a span { height: 21px; width: 279px; background: url('http://www.drinkaware.co.uk/__data/assets/image/0020/24905/bnrHdrWinABall.png') top left no-repeat; }
#div-content-right .bnr-isBallWinner h2 a,
#div-content-right .bnr-isBallWinner h2 a span { height: 72px; width: 131px; background: url('http://www.drinkaware.co.uk/__data/assets/image/0010/24895/bnrHdrIsYourBallWinner.png') top left no-repeat; }

#div-content-right .bnr-playTheGame h2 a,
#div-content-right .bnr-playTheGame h2 a span { height: 47px; width: 254px; background: url('http://www.drinkaware.co.uk/__data/assets/image/0014/27113/bnrPlayTheGame.gif') top left no-repeat; }


/* randomised stuff */
#div-content-right .hdrUpForIt,
#div-content-right .hdrUpForIt span { height: 47px; width: 102px; background: url('http://www.drinkaware.co.uk/__data/assets/image/0016/24901/bnrHdrUpForIt.png') top left no-repeat; }
#div-content-right .hdrWhoAteAllThePies,
#div-content-right .hdrWhoAteAllThePies span { height: 47px; width: 191px; background: url('http://www.drinkaware.co.uk/__data/assets/image/0018/24903/bnrHdrWhoAteAllThePies.png') top left no-repeat; }
#div-content-right .hdrRefSays,
#div-content-right .hdrRefSays span { height: 47px; width: 67px; background: url('http://www.drinkaware.co.uk/__data/assets/image/0005/24899/bnrHdrRefSays.png') top left no-repeat; }
#div-content-right .hdrBustAGut,
#div-content-right .hdrBustAGut span { height: 47px; width: 102px; background: url('http://www.drinkaware.co.uk/__data/assets/image/0008/24893/bnrHdrBustAGut.png') top left no-repeat; }
#div-content-right .hdrMoobsAlert,
#div-content-right .hdrMoobsAlert span { height: 48px; width: 105px; background: url('http://www.drinkaware.co.uk/__data/assets/image/0003/24897/bnrHdrMoobsAlert.png') top left no-repeat; }
#div-content-right .hdrTackle,
#div-content-right .hdrTackle span { height: 22px; width: 110px; background: url('http://www.drinkaware.co.uk/__data/assets/image/0004/25384/bnrHdrTackle.png') top left no-repeat; }
