/****
MAIN LAYOUT & GENERICS
****/

BODY {
 background:white;
 font: 80% Verdana, Geneva, sans-serif;
 color:#333;}

/***
TYPOGRAPHY
***/

A       {color:#3a577f;
text-decoration:none;}
A:hover {color:#3a577f;
text-decoration:underline;}

*:focus {
 outline:0;}

H2{font-size:1.375em;font-weight:normal;}
H3 {font-size:1.161em;}
H4 {font-size:1.161em;}

/** Module Call to action links **/

.cta {
 width:auto;
 margin:10px 0 0 0;
 border:0px;
 float:left;
 overflow:hidden;
 background: url(../images/button_bg.gif);}

.cta A {
 color:#333;
 display:inline;
 padding:0 23px 0 8px;
 height:20px;
 line-height:20px;
 font-size:12px;
 overflow:hidden;
 float:left!important;}

.detail p.cta {
 padding:0;}

.cta.plain {
 background:#ededed url(../images/bullet.gif) no-repeat 3px 55%;
 border:1px solid #ccc;
 padding-left:15px;
 margin:5px;}

.cta.plain A {
 background: none; padding:0 5px;}

.green-arrow A {
 background: url(../images/button-green.gif) no-repeat right;}
.red-up A {
 background: url(../images/button-red.gif) no-repeat right;}
.orange-arrow A {
 background: url(../images/button-orange.gif) no-repeat right;}

.blnk-rgt A {
 padding-right:7px;
 background: url(../images/button_blnk-rgt.gif) no-repeat right;}

.cta.block {
 width:100%;
 border:1px solid #ccc;
 background:#ededed url(../images/bullet.gif) no-repeat 3px 50%;}

.cta.block A {
 padding-left:18px;
 padding-right:4px;}

.scorecard .data-content .cta {
 position:static;
 width:auto;}

/** Header **/

#header {
	margin: 0 24px;
	background: url(../images/header_bg_110.png) no-repeat 0 84px;
	height:185px;
	overflow:hidden;
	color:#fff;
	font-size:12px;
	clear: both;
}

#wrapper-body_787 #header {
	background:url(../images/header_bg_787.png) no-repeat 0 84px;
}
#header a {
	color:#fff;
}

/* Site title */

.site-title {
 font-size:2.7em;
 font-style:italic;
 width:290px;
 height:64px;
 margin:20px 0 0 20px;
 behavior: url(/images/iepngfix.htc);
 background: url(../images/ess_tw_logo.png) no-repeat;
}

.site-title A {
 width:290px;
 height:40px;
 display:block;
 text-indent:-1000px;
}


/* Page Title */

H1.page-title {
 font-size:2.2em;
 background: url(../images/h1_bg.gif) no-repeat 0 0;
 height:43px;
 font-weight:normal;
 line-height:1.45;
 margin:7px 0;
 padding-left:13px;
 width:900px;
 _width:912px;
 color:#3d3d3d;}
H1 A {color:#333;}
H1 A:hover {text-decoration:none;color:#333;}
H1.home {background:none;overflow:hidden;margin:0;}
H1.home A {display:block;text-indent:-1000px;}

H1 IMG.sponsor {
 float:right;
 margin:3px 9px;}

H1 IMG.sponsor-competitors {
 float:right;
 }


H1#programme-banner.page-title {
 background:none;
 background-color:red;
 height:100px;
 overflow:hidden;
 padding:0!important;
 margin:7px 0;
 width:auto;}

/***
BUILD PAGE STRUCTURE
***/

#bg-container {
 min-width:990px;
 padding-top:87px;}

BODY.football #bg-container {
 background: url(../images/bg_football.jpg) no-repeat 50% 0;}
BODY.cricket #bg-container {
 background: url(../images/bg_cricket.jpg) no-repeat 50% 0;}
BODY.motorsport #bg-container {
 background: url(../images/bg_motorsports.jpg) no-repeat 50% 0;}
BODY.motogp #bg-container {
 background: url(../images/bg_motogp.jpg) no-repeat 50% 0;}
BODY.hockey #bg-container {
 background: url(../images/bg_hockey.jpg) no-repeat 50% 0;}
BODY.tennis #bg-container {
 background: url(../images/bg_tennis.jpg) no-repeat 50% 0;}
BODY.golf #bg-container {
 background: url(../images/bg_golf.jpg) no-repeat 50% 0;}
BODY.rugby #bg-container {
 background: url(../images/bg_rugby.jpg) no-repeat 50% 0;}
BODY.us #bg-container {
 background: url(../images/bg_us.jpg) no-repeat 50% 0;}
BODY.nba #bg-container {
 background: url(../images/bg_nbl.jpg) no-repeat 50% 0;}
BODY.mlb #bg-container {
 background: url(../images/bg_mbl.jpg) no-repeat 50% 0;}
BODY.nhl #bg-container {
 background: url(../images/bg_nhl.jpg) no-repeat 50% 0;}
BODY.other #bg-container {
 background: url(../images/bg_other.jpg) no-repeat 50% 0;}
BODY.t20 #bg-container {
 background: url(../images/bg_cricket-t20.jpg) no-repeat 50% 0;}


BODY.baseball #bg-container {
 background: url(../images/bg/bg-tw-MBL.png) no-repeat 50% 0;}
BODY.mlb #bg-container {
 background: url(../images/bg/bg-tw-MBL.png) no-repeat 50% 0;}
BODY.basketball #bg-container {
 background: url(../images/bg/bg-tw-basketball.png) no-repeat 50% 0;}
BODY.nba #bg-container {
 background: url(../images/bg/bg-tw-basketball.png) no-repeat 50% 0;}
BODY.racing #bg-container {
 background: url(../images/bg/bg_motorsports.jpg) no-repeat 50% 0;}
BODY.tennis #bg-container {
 background: url(../images/bg/bg_tennis.jpg) no-repeat 50% 0;}
BODY.golf #bg-container {
 background: url(../images/bg/bg_golf.jpg) no-repeat 50% 0;}
BODY.others #bg-container {
 background: url(../images/bg/bg-tw-others.png) no-repeat 50% 0;}
BODY.xgame #bg-container {
 background: url(../images/bg/bg-tw-XGames.png) no-repeat 50% 0;}
BODY.photo #bg-container {
 background: url(../images/bg/bg-tw-basketball.png) no-repeat 50% 0;}
BODY.media #bg-container {
 background: url(../images/bg/bg-tw-basketball.png) no-repeat 50% 0;}
BODY.compere #bg-container {
 background: url(../images/bg/bg-tw-basketball.png) no-repeat 50% 0;}
BODY.program #bg-container {
 background: url(../images/bg/bg-tw-basketball.png) no-repeat 50% 0;}
 
 
BODY.baseball_965 #bg-container {
 background: url(../images/bg_965/bg-tw-MBL.png) no-repeat 50% 0;}
BODY.mlb_965 #bg-container {
 background: url(../images/bg_965/bg-tw-MBL.png) no-repeat 50% 0;}
BODY.basketball_965 #bg-container {
 background: url(../images/bg_965/bg-tw-basketball.png) no-repeat 50% 0;}
BODY.nba_965 #bg-container {
 background: url(../images/bg_965/bg-tw-basketball.png) no-repeat 50% 0;}
BODY.racing_965 #bg-container {
 background: url(../images/bg_965/bg_motorsports.jpg) no-repeat 50% 0;}
BODY.tennis_965 #bg-container {
 background: url(../images/bg_965/bg_tennis.jpg) no-repeat 50% 0;}
BODY.golf_965 #bg-container {
 background: url(../images/bg_965/bg_golf.jpg) no-repeat 50% 0;}
BODY.others_965 #bg-container {
 background: url(../images/bg_965/bg-tw-others.png) no-repeat 50% 0;}
BODY.xgame_965 #bg-container {
 background: url(../images/bg_965/bg-tw-XGames.png) no-repeat 50% 0;}
BODY.photo_965 #bg-container {
 background: url(../images/bg_965/bg-tw-basketball.png) no-repeat 50% 0;}
BODY.media_965 #bg-container {
 background: url(../images/bg_965/bg-tw-basketball.png) no-repeat 50% 0;}
BODY.compere_965 #bg-container {
 background: url(../images/bg_965/bg-tw-basketball.png) no-repeat 50% 0;}
BODY.program_965 #bg-container {
 background: url(../images/bg_965/bg-tw-basketball.png) no-repeat 50% 0;}
BODY.football_965 #bg-container {
 background: url(../images/bg_965/bg-tw-basketball.png) no-repeat 50% 0;}


#holdall {
 position:relative;
 text-align:left;
 width:990px; margin:0 auto;}
 
#holdall_787 {
 position:relative;
 text-align:left;
 width:852px; margin:0 auto;}

/* Shaddow background */

#wrapper-head,#wrapper-body,#wrapper-foot {
 width:965px; margin-left:24px;
 behavior: url(/images/iepngfix.htc);
 } 

#wrapper-head {
 height:32px;
 background: url(../images/wrapper-head.png);}
#wrapper-body {
 background: url(../images/wrapper-body.png) repeat-y;
 overflow:hidden;
 height:1%;}
#wrapper-foot {
 height:32px;
 background: url(../images/wrapper-foot.png);}
 
#wrapper-head_787,#wrapper-body_787,#wrapper-foot_787 {
 width:827px; margin-left:24px;
}
#wrapper-head_787 {
 height:32px;
 background: url(../images/wrapper-head_787.png);
 behavior: url(/images/iepngfix.htc);}
#wrapper-body_787 {
 background: url(../images/wrapper-body_787.png) repeat-y;
 behavior: url(/images/iepngfix.htc);
 overflow:hidden;
 height:1%;}
#wrapper-foot_787 {
 height:32px;
 background: url(../images/wrapper-foot_787.png);
 behavior: url(/images/iepngfix.htc);}

/***
 CONTENT LAYOUT
***/

#content-container {
 margin: 0 24px;
 position:relative;
 overflow:hidden;
 height:1%;
}

#content {
 overflow:hidden; 
 width:605px;
 float:left;
 position:relative;}

#external {
 overflow:hidden;
 float:right;
 width:300px;
 position:relative;}

/***
 FOOTER
***/

.footer-wrapper {
 width:925px;
 margin:0 auto 10px;}

#footer {
 font-family:verdana;
 width:925px;
 background:#DDD;
 margin-left:11px;
 overflow:hidden;
 padding:5px 0;}

#footer LI {
 float:left;
 border-right:1px solid;
 line-height:14px;
 font-size:12px;
 padding:0 1em;}
#footer LI.last {
 border:0;}
#footer LI.copyright {
 float:right;
 border:0;}
#footer A {color:#333;}


.footer-wrapper_787 {
 width:777px;
 margin:0 auto 10px;}

.footer-wrapper_787 #footer {
 width:777px;
}

/* Presented by */

#logos {
 text-align:right;
 width:925px;
 margin:0 auto 10px;}
#logos .tm {
 color:#ccc;
 margin-top:-5px;
 margin-bottom:5px;}
#logos .tm a {
 color:#ccc;
 text-decoration:underline;
}
#logos_787 {
 text-align:right;
 width:777px;
 margin:0 auto 10px;}
#logos_787 .tm {
 color:#9f9f9f;
 margin-top:-5px;
 font-size:9px;
 text-align:center;
 margin-bottom:5px;}

#logos em,
#logos_787 em {
	font-size:8px;
 	color:#9f9f9f;
	line-height:10px;
}

/* Locale switcher */

#locale_switcher {
 clear:both;
 margin:0 27px;
 background:url(../images/locale_bg.gif) repeat-x;
 font-size:.8em;
 height:32px;
 line-height:32px;
 padding:0 7px;}

#locale_switcher .desc {
 float:left;}

#locale_switcher UL {
 float:right;
 width:300px;}

#locale_switcher UL LI.option {
 float:left;
 font-size:1.15em;
 font-weight:bold;
 padding:0 18px 0 35px;
 background:url(../images/locale_off.gif) no-repeat 0 50%;
 cursor:pointer;}

#locale_switcher UL LI.on {
 background:url(../images/locale_on.gif) no-repeat 0 50%;}

#locale_switcher UL LI.select_locale {
 width:auto;
 padding:0;
 height:30px;
 width:90px;
 overflow:hidden;}

/*** MATCHPLAY ***/

.matchplay #holdall {
 width:350px;
 border:1px solid #d4d4d4;}

.matchplay .advert,
.matchplay .site-title,
.matchplay .module {
 margin:7px;}

.matchplay .match-details {
 background:#fff;
 padding:7px;
 height:300px;
 overflow:auto;
 clear:both;}

.matchplay .status {
 color:#6D7FAD;
 font-weight:bold;
 margin:.2em 0;}

.matchplay H3 {
 margin:.4em 0 0em;}



/** Pagination **/

.module.search .data.input {
 display:block;
 float:left;
 /*overflow:static;*/
 position:relative;
 z-index:10000;
 margin-right:10px;}


.pagination {
font-size:1.15em!important;
 font-weight:bold;
margin:0pt 6px 0pt 0pt;
padding:6px 0pt 4px 0px;
text-align:center;
}

span.paginationLink {
 margin: 0px 6px 0px 6px; 
}

.ajaxPagination .pPrev, .ajaxPagination .pNext {
background:transparent none repeat scroll 0%;
border:0px solid #DDDDDD;
color:#999999;
line-height:13px;
margin-left:6px;
margin-right:6px;
}

.ajaxPagination p {
display:inline;
margin:0pt;
padding:0pt;
}

 .pNext,  .pPrev {
opacity:0.4 !important;
}

 .ajaxPagination a, .ajaxPagination b {
border-bottom:0pt none;
border-right:0px solid #999999;
cursor:pointer;
display:inline;
font-size:85%;
margin:0pt 0pt 0pt 6px;
padding:0pt 6px 0pt 0pt;
}


.ajaxPagination p {
display: inline;
padding:0;
margin:0;
font-size:85%;
}

/* current page */
.ajaxPagination b {
color: #CC3333;
font-weight:normal;
}

/* inactive */
 .ajaxPagination a {
text-decoration: none;
cursor:pointer;
color:#444!important;
}

.ajaxPagination a.next{
margin-left:6px!important;
}

.ajaxPagination .pagination a:hover {
text-decoration:underline;
}

.vyre_portlets_ItemList .pagination {display:none;}
