/*----------------------------------------------

	MICROSITE.CSS
	Author:		Engage Interactive

----------------------------------------------*/

/*-------------------------------

	RESET

-------------------------------*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section { 
	display:block;
}

ul {
    list-style:none;
}

blockquote, q {
    quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}

a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

/* change colours to suit your needs */
ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}

table {
    border-collapse:collapse;
    border-spacing:0;
}

hr {
    display:block;
    height:1px;
    border:0;   
    border-top:1px solid #d2d2d2;
    margin:1em 0;
    padding:0;
}

input, select {
    vertical-align:middle;
}


/*-------------------------------

	GENRIC STYLES

-------------------------------*/

body {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	line-height:1;
    font-size: 13px;
	color: #444;
	text-shadow: 0 1px 0 rgba(0,0,0,0.01);
	
	-webkit-text-size-adjust: none;
	-webkit-font-smoothing: antialiased;
}

.print_logo {
	display: none;
}


/* FONTS */

h1, h2, h3, h4, h5, h6,
#sidebar ul,
blockquote,
dl dt, .buttons a,
.more {
	text-transform: uppercase;
	font-weight: bold;
}

p strong {
	font-weight: bold;
}


/* LINKS */

a {
	color: #21569e;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}


/* PARAGRAPH - And images and figures */

p,
#content img,
#content figure {
	margin: 1.2em 0;
	line-height: 1.6em;
}

.intro {
	font-size: 14px;
}

article p em {
	color: #018247;
	font-style: normal;
}


/* LISTS */

dl dd {
	line-height: 20px;
}


/* IMAGES */

#content img.byline {
	margin: 10px 0;
  max-width: 220px;
}

.panel > img.fill {
	display: block;
	width: 100%;
}

#content img.full_width,
#content .full_width img {
	display: block;
	width: 100%;
	margin-right: auto;
	margin-left: auto;
}

#content .panel img.full_width {
	margin: auto;
}

#content img.right,
#content figure.right,
#content span.right {
	float: right;
	margin-left: 20px;
}

#content img.left,
#content figure.left,
#content span.left {
	float: left;
	margin-right: 20px;
}

#content ul.wide_list li a img 
{
  float:right;
  margin:0;
} 

/* VIDEO */

.video {
	position: relative;
}

.video span {
	display: block;
	position: absolute;
	top: 50%; left: 50%;
	z-index: 1;
	width: 40px;
	height: 40px;
	margin: -20px 0 0 -20px;
	background: url(../../../images/microsite/icons/play.png);
}

.video img {
	display: block;
}


/* FIGURE */

#content figure {
	padding: 2px;
	border: solid 1px #d9d9d9;
	border-radius: 4px;
	background: #EFEFEF;
	
}

#content figure img {
	display: block;
	margin: 0 0 2px;
	border-radius: 3px;
	
}

#content figcaption {
	display: block;
	padding: 4px;
	text-shadow: 1px 1px #FFF;
	text-align: center;
	font-weight: bold;
}


/* BLOCKQUOTE */

blockquote {
	float: right;
	width: 35%;
	padding: 15px 16px;
	margin: 0 0 20px 30px;
	border: solid #ccc;
	border-width: 2px 0;
	background: #efefef;
}

blockquote p {
	margin: 0;
	font-size: 16px;
	line-height: 24px;
	text-shadow: 1px 1px #FFF;
}


/* BORDER RADIUS */

.rounded,
#sidebar ul,
img.byline,
.slider,
.list aside img {
	border-radius: 6px;
	box-shadow: 0 0 5px rgba(0,0,0,.14);
	
	
	-moz-box-shadow: 0 0 5px rgba(0,0,0,.14);
	-webkit-box-shadow: 0 0 5px rgba(0,0,0,.14);
}

a.rounded {
	display: block;
	margin-bottom: 20px;
}

.rounded img {
	display: block;
}


/*---------------------

	ATR TRACKER BUTTON &
	SPONSOR BUTTON

*/

a.button {
	display: inline-block;
	position: relative;
	padding: 7px 10px 9px 32px;
	border: solid 1px #D9D9D9;
	border-radius: 20px;
	box-shadow: 0 2px 2px rgba(0,0,0,.05);
	background: #EEE url(../../../images/microsite/gradients/white.png) left top repeat-x;
	background: linear-gradient(top,#FFF 0%,#DDD 100%);
	color: #333;
	text-shadow: 1px 1px #FFF;
	font-weight: bold;
	
	background: -webkit-linear-gradient(#FFF,#DDD);
	background: -moz-linear-gradient(top,#FFF,#DDD);
	background: -ms-linear-gradient(top, #FFF 0%,#DDD 100%);
}

.button.blue {
	border-color: #1c417f;
	box-shadow: inset 0 1px rgba(255,255,255,.2);
	background: #1d4382 url(../../../images/microsite/gradients/blue.png) left top repeat-x;
	background: linear-gradient(top,#2c66af 0%,#1c417f 100%);
	text-shadow: 1px 1px #1c417f;
	color: #FFF;
	
	background: -webkit-linear-gradient(#2c66af,#1c417f);
	background: -moz-linear-gradient(top,#2c66af,#1c417f);
	background: -ms-linear-gradient(top, #2c66af 0%,#1c417f 100%);
}

.button i {
	left: 6px;
	width: 18px;
	height: 18px;
	margin-top: -9px;
	border-radius: 12px;
	box-shadow: 1px 1px #FFF;
	background: #333 url(../../../images/microsite/icons/button_arrow.png);
}

.button.blue i {
	box-shadow: 1px 1px #1c417f;
	background: #FFF url(../../../images/microsite/icons/button_arrow_dark.png);
}

.button.tracker_button i {
	background: url(../../../images/microsite/icons/tracker.png);
}

.button.tracker_button.logged_in i {
	background-position: 0 100%;
}

.button.sponsor {
	padding-left: 104px;
}


/*---------------------

	FEATURE BOX

*/

a.feature_box {
	display: block;
	margin: 10px 0;
	min-height: 55px;
	position: relative;
	overflow: hidden;
	padding: 10px 110px 10px 10px;
	border: solid 1px #D9D9D9;
	border-radius: 6px;
	background: #f8f8f8;
	text-shadow: 1px 1px #FFF;
	
	background: -webkit-linear-gradient(#FFF,#dfdfdf);
	background: -moz-linear-gradient(top,#FFF,#dfdfdf);
}

a.feature_box h3,
a.feature_box p {
	margin: 3px 0;
	color: #444;
}

a.feature_box p {
	line-height: 1.3em;
}

a.feature_box:hover {
	color: #444;
}

#content a.feature_box img {
	position: absolute;
	top: 0; right: 0;
	margin: 0;
	border-radius: 0 6px 6px 0;
}

/*---------------------

	NOTES & ALERTS

*/

.note,
.alert {
	overflow: hidden;
	padding: 0 10px;
	border: solid 1px #c1d4eb;
	border-radius: 6px;
	background: #dfe7f1;
	color: #112a49;
	text-shadow: 1px 1px rgba(255,255,255,.6);
	
}

.alert {
	border-color: #ce6969;
	background: #e4a0a0;
	color: #491111;
	text-shadow: 1px 1px rgba(255,255,255,.2);
}


/* FIX CONTENT MARGINS - Everything is a bit more compact inside a note */

.note > *,
.alert > * {
	margin: 10px 0;
}

/* SINGLE PARAGRAPH - As a note or alert */

p.note,
p.alert {
	padding: 8px 10px 7px;
}

#content p.note img.left, #content p.note img.right {
	margin: 5px 10px 10px 5px;
}

/*---------------------

	HEADINGS

---------------------*/

h2, h3, h4, h5, h6 {
	margin: 1em 0;
	line-height: 1.2em;
}

/* H1 - Page masthead */

#content .left > header {
	padding: 8px 0;
	margin-top: 10px;
	border: none;
	border-radius: 6px 6px 0 0;
	
}

#content .left > header h1 {
	font-size: 18px;
	margin: 5px 12px 6px;
}

#content .left > header p {
	margin: 0 12px 6px;
	line-height: 14px;
	font-size: 13px;
}


/* H2 - H5 */

h2.main {
	margin: 20px 0 10px;
	font-size: 24px;
	font-weight: normal;
}

h2 {
	margin: 20px 0 10px;
	font-size: 18px;
	font-weight: normal;
}

h3 {
	font-size: 18px;
}

h4 {
	font-size: 16px;
}

h5,
dl dt {
	font-size: 13px;
}

h6 {
	font-size: 12px;
	padding-bottom: 6px;
	margin: 6px 0;
	border: solid #ddd;
	border-width: 0 0 1px;
}

h5.byline {
	overflow: hidden;
	padding: 3px 0 3px 3px;
	border-top: 1px solid #D9D9D9;
	border-bottom: 1px solid #D9D9D9;
	border-radius: 0;
	font-size: 12px;

}


/*---------------------

	BUTTONS & OPTIONS

---------------------*/

.buttons {
	position: relative;
	padding: 6px 2px 2px 6px;
	border: solid 1px #D9D9D9;
	border-radius: 6px;
	box-shadow: inset 0 1px #FFF;
	background: #EDEDED;
	
	-moz-box-shadow: inset 0 1px #FFF;
	-webkit-box-shadow: inset 0 1px #FFF;
	
	background: -webkit-linear-gradient(#F3F3F3,#E7E7E7);
	background: -moz-linear-gradient(top,#F3F3F3,#E7E7E7);
}

.buttons li {
	float: left;
	margin: 0 4px 4px 0;
}

.buttons a {
	display: block;
	box-shadow: 1px 1px #DDD;
	border-radius: 3px;
	background: #FFF;
	text-align: center;
	
	-moz-box-shadow: 1px 1px #DDD;
	-webkit-box-shadow: 1px 1px #DDD;
}

.buttons a:hover {
	text-decoration: none;
}

.buttons a:active {
	box-shadow: 1px 1px #FFF;
	
	-moz-box-shadow: 1px 1px #FFF;
	-webkit-box-shadow: 1px 1px #FFF;
}


/*---------------------

	ARTICLE OPTIONS

*/

.options {
	float: right;
	clear: right;
	width: 112px;
	padding: 9px 0 3px 106px;
	margin: 10px 0 20px 20px;
}

.options.condensed {
	display:inline-block;
	float:none;
	margin:10px 0 0 0;
	width:auto;
	padding:0;
}

.buttons.options.condensed {
	border:none;
	padding:4px 0 3px 3px;
}

.options dt {
	position: absolute;
	top: 9px; left: 9px;
	text-shadow: 1px 1px #FFF;
}

.options.condensed dt {
	display:none;
}

.options dd {
	float: left;
	padding: 0;
	margin: 0 6px 6px 0;
}

.options.condensed dd {
	margin: 0 3px 0 0;
}

.options dd a {
	position: relative;
	width: 30px;
	height: 30px;
	text-indent: -500px;
	overflow: hidden;
}

.options i {
	display: block;
	position: absolute;
	top: 0; left: 0;
	width: 30px;
	height: 30px;
	margin: 0;
	background: url(../../../images/microsite/icons/option_icons.png) 0 0 no-repeat;
}

.email a:hover i {
	background-position: -30px 0;
}

.print i {
	background-position: 0 -60px;
}

.print a:hover i {
	background-position: -30px -60px;
}

.share i {
	background-position: 0 -30px;
}

.share a:hover i {
	background-position: -30px -30px;
}


/* FACEBOOK AND TWITTER */

#social {
	display: none;
}

#share #social {
	display: block;
}

#social > iframe {
	display: block;
	margin-bottom: 10px;
}


/*---------------------

	PAGINATION

*/

.pagination {
	float: right;
	position: relative;
	padding-left: 68px;
	margin-bottom: 10px;
}

.pagination h5 {
	position: absolute;
	top: 10px; left: 10px;
	margin: 0;
	text-shadow: 1px 1px #FFF;
}

.pagination a {
	width: 24px;
	height: 19px;
	padding: 5px 0 0;
	font-size: 12px;
}


/*---------------------

	COLOURS
	For anything, but mainly buttons and headings

*/

h3.primary, h4.primary,
h3.secondary, h4.secondary,
h3.tertiary, h4.tertiary,
h3.grey, h4.grey,
h3.black, h4.black,
h3.blue, h4.blue,
h3.red, h4.red,
h3.white, h4.white,
h3.green, h4.green,
h3.gold, h4.gold,
h3.grass_green, h4.grass_green,
h3.breeders_orange, h4.breeders_orange,
#racecard h1 {
	padding: .3em 10px .5em;
	border-style: solid;
	border-width: 0 1px;
}

h3.primary:first-child, h4.primary:first-child,
h3.breeders_orange, h4.breeders_orange,
h3.secondary:first-child, h4.secondary:first-child,
h3.tertiary:first-child, h4.tertiary:first-child,
h3.grey:first-child, h4.grey:first-child,
h3.black:first-child, h4.black:first-child,
h3.blue:first-child, h4.blue:first-child,
h3.red:first-child, h4.red:first-child,
h3.white:first-child, h4.white:first-child,
h3.green:first-child, h4.green:first-child,
h3.gold:first-child, h4.gold:first-child,
h3.grass_green:first-child, h4.grass_green:first-child,
#racecard h1 {
	border-width: 1px 1px 0;
	border-radius: 6px 6px 0 0;
}


/* GREY */

.grey,
.racecard h5 {
	border-color: #4D4D4D;
	background: #575757 url(../../../images/microsite/gradients/grey.png) left top repeat-x;
	background: linear-gradient(top,#6D6D6D 0%,#4D4D4D 100%);
	color: #FFF;
	text-shadow: 1px 1px #333;
	
	background: -webkit-linear-gradient(#6D6D6D,#4D4D4D);
	background: -moz-linear-gradient(top,#6D6D6D,#4D4D4D);
	background: -ms-linear-gradient(top, #6D6D6D 0%,#4D4D4D 100%);
}


/* WHITE */

.white,
.racecard .pos div,
#pacecharts .pace {
	border-color: #ddd;
	background: #eeeeee url(../../../images/microsite/gradients/white.png) left top repeat-x;
	background: linear-gradient(top,#FFF 0%,#EEE 100%);
	color: #666;
	text-shadow: 1px 1px #FFF;
	
	background: -webkit-linear-gradient(#FFF,#EEE);
	background: -moz-linear-gradient(top,#FFF,#EEE);
	background: -ms-linear-gradient(top, #FFF 0%,#EEE 100%);
}


/* BLACK */

.black,
.racecard .pos div .info {
	border-color: #0E0E0E;
	background: #000 url(../../../images/microsite/gradients/black.png) left top repeat-x;
	background: linear-gradient(top,#444 0%,#0E0E0E 100%);
	color: #FFF;
	text-shadow: 1px 1px #000;
	
	background: -webkit-linear-gradient(#444,#0E0E0E);
	background: -moz-linear-gradient(top,#444,#0E0E0E);
	background: -ms-linear-gradient(top, #444 0%,#0E0E0E 100%);
}


/* BLUE */

.blue,
#sidebar li a:hover,
#sidebar li.on a,
#horse_profiles h4 a:hover,
#horse_profiles h4 a.on,
.buttons a:hover,
.racecard .pos div .tf_toggle,
#confidence,
#racecard ol .odds {
	border-color: #1c417f;
	background: #1d4382 url(../../../images/microsite/gradients/blue.png) left top repeat-x;
	background: linear-gradient(top,#2c66af 0%,#1c417f 100%);
	text-shadow: 1px 1px #1c417f;
	color: #FFF;
	
	background: -webkit-linear-gradient(#2c66af,#1c417f);
	background: -moz-linear-gradient(top,#2c66af,#1c417f);
	background: -ms-linear-gradient(top, #2c66af 0%,#1c417f 100%);
}


/* RED */

.red,
dl.red dt,
#pacecharts .pace span.track span {
	border-color: #b80113;
	background: #ba0113 url(../../../images/microsite/gradients/red.png) left top repeat-x;
	background: linear-gradient(top,#dc0318 0%,#b80113 100%);
	color: #FFF;
	text-shadow: 1px 1px #a50005;
	
	background: -webkit-linear-gradient(#dc0318,#b80113);
	background: -moz-linear-gradient(top,#dc0318,#b80113);
	background: -ms-linear-gradient(top, #dc0318 0%,#b80113 dt0 100%);
}

dl.red {
	background: #f7dcdf;
}

dl.red dd {
	background: #f7dcdf;
	color: #b80113;
	text-shadow: 1px 1px #FFF;
}

dl.red dd:nth-child(even) {
	background: #edcbce;
}


/* GREEN */

.green,
dl.green dt {
	border-color: #1E431D;
	background: #1e431d url(../../../images/microsite/gradients/green.png) left top repeat-x;
	background-image: linear-gradient(top,#3E733D 0%,#1E431D 100%);
	color: #FFF;
	text-shadow: 1px 1px #012101;
	
	background-image: -webkit-linear-gradient(#3E733D,#1E431D);
	background-image: -moz-linear-gradient(top,#3E733D,#1E431D);
	background-image: -ms-linear-gradient(top, #3E733D 0%,#1E431D 100%);
}

dl.green {
	background: #dbefdf;
}

dl.green dd {
	background: #dbefdf;
	color: #006334;
	text-shadow: 1px 1px #FFF;
}

dl.green dd:nth-child(even) {
	background: #c7e1cd;
}


/* GOLD */

.gold {
	border-color: #d08700;
	background: #d28900 url(../../../images/microsite/gradients/gold.png) left top repeat-x;
	background: linear-gradient(top,#f9ab00 0%,#d08700 100%);
	color: #FFF;
	text-shadow: 1px 1px #a66c01;
	
	background: -webkit-linear-gradient(#f9ab00,#d08700);
	background: -moz-linear-gradient(top,#f9ab00,#d08700);
	background: -ms-linear-gradient(top, #f9ab00 0%,#d08700 100%);
}

/* GRASS GREEN */
.grass_green {
	border-color: #576622;
	background: #778b32 url(../../../images/microsite/gradients/grass_green.png) left top repeat-x;
	background: linear-gradient(top,#778b32 0%,#576622 100%); /* First colour is the top of the gradient */
	color: #FFF;
	text-shadow: 1px 1px #333;
	
	background: -webkit-linear-gradient(#778b32,#576622);
	background: -moz-linear-gradient(top,#778b32,#576622);
	background: -ms-linear-gradient(top, #778b32 0%,#576622 100%);
}

/*---------------------

	ICONS

*/

#content h3.icon,
#content h4.icon,
#content h5.icon,
#content dt.icon {
	position: relative;
	padding-left: 32px;
}

i {
	display: block;
	position: absolute;
	top: 50%; left: 5px;
	width: 22px;
	height: 22px;
	margin-top: -11px;
	background: 50% 50% no-repeat;
}

.ie6 {
	display: none;
}

.tick i {
	background-image: url(../../../images/microsite/icons/tick.png);
}

.star i {
	background-image: url(../../../images/microsite/icons/star.png);
}

.cross i {
	background-image: url(../../../images/microsite/icons/cross.png);
}

.cup i {
	background-image: url(../../../images/microsite/icons/cup.png);
}

.post i {
	background-image: url(../../../images/microsite/icons/post.png);
}

.rss i {
	background-image: url(../../../images/microsite/icons/rss.png);
}

.tv i {
	background-image: url(../../../images/microsite/icons/tv.png);
}

.magnify i {
	background-image: url(../../../images/microsite/icons/magnify.png);
}

.analysis i {
	background-image: url(../../../images/microsite/icons/analysis.png);
}

.horse i {
	background-image: url(../../../images/microsite/icons/horse.png);
}

.twitter i {
	background-image: url(../../../images/microsite/icons/twitter.png);
}

.chart i {
	background-image: url(../../../images/microsite/icons/chart.png);
}

.four i {
	background-image: url(../../../images/microsite/icons/4.png);
}

.toggle i {
	background-image: url(../../../images/microsite/icons/toggle.png);
}

.scissors i {
	background-image: url(../../../images/microsite/icons/scissors.png);
}

.course i {
	background-image: url(../../../images/microsite/icons/course.png);
}

#content h3.icon.bbc {
	padding-left: 68px;
}

.bbc i {
	width: 63px;
	background-image: url(../../../images/microsite/icons/bbc.png);
}

#content h3.icon.timeform {
	padding: 20px 0 10px 125px;
	/*font-weight: normal;*/
}

.timeform i {
	width: 120px;
	height: 35px;
	background-image: url(../../../images/microsite/icons/timeform.png);
}

/*---------------------

	MORE

*/

.more {
	display: inline-block;
	position: relative;
	padding-right: 15px;
	font-weight: bold;
	line-height: normal;
}

p .more {
	margin-left: 6px;
}

.more:after {
	content: '';
	display: block;
	position: absolute;
	top: 50%; right: 0;
	width: 0; height: 0;
	margin-top: -4px;
	border: solid 4px transparent;
	border-left-color: #21569e;
}

.more:hover {
	text-decoration: underline;
}


/*---------------------

	TABLES

---------------------*/

table {
	position: relative;
	width: 100%;
	border-collapse: collapse;
	font-size: 12px;

	-webkit-transition: left .2s cubic-bezier(.77,0,.175,1), width .2s cubic-bezier(.77,0,.175,1);
}

#content table img {
	margin: 0;
}

table:last-child {
	border-radius: 0 0 7px 7px;
	
}

table th,
table td {
	padding: 6px;
	border: solid #FFF;
	border-width: 0 1px 1px 0;
	font-weight: normal;
}

table tr.odd td {
	background: #f8f8f8;
}

table th {
	background: #444;
	color: #FFF;
	text-shadow: 1px 1px #222;
}

table td {
	border-bottom-color: #efefef;
}

table tbody tr:last-child > * {
	border-bottom: none;
}

table tr:last-child > *:last-child {
	border-right: none;
}

table:last-child tbody tr:last-child > *:first-child {
	border-radius: 0 0 0 5px;
	
}

table:last-child tbody tr:last-child > *:last-child {
	border-radius: 0 0 5px 0;
	
}


/*---------------------

	PANELS

---------------------*/

.panel,
#racecard {
	margin: 10px 0;
}

.panel.grey_background {
	background:#efefef;
	border-radius:0 0 4px 4px;
	
	-mozborder-radius:0 0 4px 4px;
}

.panel {
	width:100%;
	overflow:hidden;
}

.panel.left,
.panel.right {
	width: 49%;
}

.panel.left {
	float: left;
	margin-right: 4%;
}

.panel.right {
	float: right;
	margin-left: 4%;
}

/* CLASSIC CLIPS */

.panel.classic_clips h4 {
	background: #CCC;
	padding: 10px;
}

.panel.classic_clips a.watch {
	display: block;
	width: 100px;
	text-align: center;
	background: #666;
	padding: 7px;
	margin: 0 auto 10px;
	border-radius: 6px;
	color: #FFF;
}

.panel.classic_clips a.watch:hover {
	background: #000;
	text-decoration: none;
}


/*---------------------

	PANEL HEADINGS

*/

.panel > h3,
.panel > h4 {
	margin: 0;
	line-height: 1.1em;
}

.panel h3 {
	font-size: 15px;
}

.panel h3 a.full {
	float: right;
	color: #FFF;
	text-transform: none;
	font-size: 11px;
	opacity: .6;
}

.panel h4 {
	font-size: 13px;
}

.panel > h5 {
	padding: 6px 10px;
	margin: 0;
	border: solid #d9d9d9;
	border-width: 0 1px 1px;
}

.panel h5 span {
	float: right;
	font-weight: normal;
	text-transform: none;
}

.panel > h6 {
	clear: both;
	padding: 4px 10px;
	margin: 0;
	background: #eee;
	border-width: 0 1px 1px;
}


/*---------------------

	PANEL CONTENT

*/

.panel > div,
.panel > article,
.panel > dl,
.panel > ol,
.panel > ul,
.panel > a {
	overflow: hidden;
	padding: 0 10px;
	border: solid #d9d9d9;
	border-width: 0 1px;
	background: #FAFAFA;
}

.panel > div:last-child,
.panel > article:last-child,
.panel > dl:last-child,
.panel > ul:last-child,
.panel > ol:last-child,
.panel > a:last-child,
.panel .tab_content {
	border-width: 0 1px 1px;
	border-bottom-right-radius: 6px;
	border-bottom-left-radius: 6px;
}

.panel > a {
	display: block;
}

.panel a h4 {
	margin: 8px 0 2px;
}

.panel a p {
	margin: 4px 0;
	line-height: 18px;
}


/*---------------------

	PANEL CONTENT

*/

.panel p {
	margin: 10px 0;
}

.panel div ul,
.panel div ol {
	margin: 8px 0;
}

.panel > .bulleted {
	padding: 5px 10px;
}

.panel p:last-child {
	border-radius: 0 0 6px 6px;
	
}


/* INTRO */

.panel > p {
	padding: 10px;
	margin: 0;
	background: #EFEFEF;
	text-shadow: 1px 1px white;
}


/* SPLIT ENTIRE PANEL */

.split .panel {
	float: right;
	width: 49%;
}

.split .panel:first-child {
	float: left;
}


/* SPLIT BULLETED LISTS */

.panel .split {
	float:left;
	width:48%;
}

.panel .split.left {
	margin-right:4%;
}


/* SPLIT PANEL CONTENT (CURRENTLY ONLY USED ON TRIAL RACE PAGE */

.panel .inside_split,
.panel .inside_split.last {
	float: left;
	width: 50%;
	padding:0;
	border:0;
	border-width:0;
	border-radius:0;
	background:none;
}

.inside_split .padding {
	padding:10px;
}



/*---------------------

	TABS

*/

.panel .tabs,
.tabs {
	position: relative;
	padding: 2% 2% 0;
	margin: 0;
	border: solid #cbcbcb;
	border-width: 1px 1px 0;
	background: #ddd;
	text-align: center;
	
	display: -webkit-box;
    -webkit-box-orient: horizontal;
}


/* BIG */

.tabs.big {
	padding: 1% 1% 0;
}

.tabs:before {
	content: '';
	display: block;
	position: absolute;
	bottom: 0; left: 0;
	z-index: 5;
	width: 104%;
	height: 1px;
	background: rgba(0,0,0,.06);
}

.tabs li {
	display: inline;
	float: left;
	position: relative;
	z-index: 0;
	width: 25%;
	
	-moz-box-flex: 1;
	-webkit-box-flex: 1;
}

.tabs.two li {
	width: 50%;
}

.tabs.three li {
	width: 33.333%;
}

.tabs.four li {
  width: 25%;
}

.tabs.five li {
  width: 20%;
}

.tabs.six li {
  width: 16%;
}

.tabs .on {
	z-index: 10;
}

.tabs a {
	display: block;
	position: relative;
	padding: 5px 0;
	border: solid #ccc;
	border-width: 1px 1px 0 0;
	box-shadow: inset 1px 1px #FFF;
	background: #eee;
	font-size: 12px;
	font-weight: bold;
	text-align: center;
	text-shadow: 1px 1px #FFF;
	
	-moz-box-shadow: inset 1px 1px #FFF;
	-webkit-box-shadow: inset 1px 1px #FFF;
	
	background: -moz-linear-gradient(top,#f8f8f8,#dfdfdf);
	background: -webkit-linear-gradient(#f8f8f8,#dfdfdf);
}

.tabs li:first-child a {
	border-width: 1px 1px 0 1px;
	border-radius: 4px 0 0 0;
	
}

.tabs li:last-child a {
	border-radius: 0 4px 0 0;
	
}

#content .tabs a img {
	margin: 0;
}


/* BIG */

.tabs.big a {
	padding: 7px 0 9px;
	word-wrap: normal;
}

.right .tabs a span {
	display: none;
}

.tabs a:hover {
	background: #FAFAFA;
	background: linear-gradient(top,#FFF 0%,#efefef 100%);
	
	background: -moz-linear-gradient(top,#FFF,#efefef);
	background: -webkit-linear-gradient(#FFF,#efefef);
}

.tabs .on a {
	background: #FAFAFA;
	background: linear-gradient(top,#FFF 0%,#FAFAFA 100%);
	
	background: -moz-linear-gradient(top,#FFF,#FAFAFA);
	background: -webkit-linear-gradient(#FFF,#FAFAFA);
}

.tab_content {
	display: none;
}

/* TABS IN PLACE OF A TITLE */

.tabs.as_title {
	padding: 0;
	border: none;
	background: none;
}


/* NAV LIST */

.panel .wide_list {
	padding: 0;
	border: none;
}

.wide_list li {
	border: solid #d9d9d9;
	border-width: 0 1px 1px;
	box-shadow: 0 1px #FFF;
	
	-moz-box-shadow: 0 1px #FFF;
	-webkit-moz-box-shadow: 0 1px #FFF;
}

.wide_list li.sep {
	padding: 4px;
	border-color: #666;
	box-shadow: inset 0 1px #444;
	background: #666;
	text-transform: uppercase;
	color: #FFF;
	font-size: 10px;
	font-weight: bold;
	text-shadow: 1px 1px #444;
}

.wide_list li:last-child {
	box-shadow: none;
	border-radius: 0 0 6px 6px;
	
	
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
}

.wide_list li a, .wide_list li span.abandoned {
	display: block;
	padding: 6px 10px 6px 22px;
	background: url(../../../images/microsite/template/bullet.png) 12px 50% no-repeat;
	color: #323232;
	text-shadow: 1px 1px #FFF;
}

.wide_list li span.abandoned {
	color: #999999;
}

.wide_list li span.abandoned .status {
	color: #993333;
}

.wide_list li li {
	padding: 4px 10px 4px 22px;
	border: none;
	border-bottom: 1px solid #D9D9D9;
	font-size: 11px;
}

.wide_list li li a {
	padding: 0 0 0 10px;
	background: url(../../../images/microsite/template/bullet.png) 0 50% no-repeat;
}

.wide_list li li.odd a,
.wide_list li li.even a {
	background-color: #fff;
}

.wide_list li li:last-child a,
.wide_list li li:last-child {
	border-radius: 0;
	border-bottom: none;
}

.wide_list li:last-child a.active {
	border-radius: 0;
}

.wide_list li a.active,
.wide_list li a.active:hover,
.wide_list li.odd a.active,
.wide_list li.odd a.active:hover {
	background: #ddd url(../../../images/microsite/template/bullet_down.png) 10px 50% no-repeat;
}

.wide_list li.odd a {
	background-color: #eee;
}

.wide_list li:last-child a {
	border-radius: 0 0 6px 6px;
}

.wide_list li a:hover {
	background-color: #FFF;
}

.wide_list li.odd a:hover {
	background-color: #f4f4f4;
}


/* STANDARD LIST */

.bulleted li,
ol li {
	margin: .4em 0;
	list-style: none;
	line-height: 16px;
}

.bulleted li {
	padding-left: 14px;
	background: url(../../../images/microsite/template/bullet.png) 2px 5px no-repeat;
}

/* DYNAMIC LIST */

.panel > .snippets strong {
	display: block;
	padding-top: 8px;
	margin-bottom: 2px;
}

.panel > .snippets li {
	padding-bottom: 8px;
	border-bottom: solid 1px #ddd;
}

.panel > .snippets li:last-child {
	border-bottom: none;
}


/*-------------------------------

	RACE TITLE

-------------------------------*/

.race_info {
	margin:20px 0;
}

.race_info:before,
.race_info:after{
	content: '';
    display: table;
}

.race_info:after{
	clear:both;
}

.race_info .details {
	float:left;
	width:350px; /* Varies responsively */
}

.race_info .details h2 {
	font-weight:bold;
	margin:0 0 7px 0;
}

.race_info .details h2 em {
	display:block;
	font-weight:bold;
	font-size:16px;
	font-style:normal;
	color:#999;
}

/* GOING */

.race_info h5 {
	margin:0 0 7px 0;
	color:#999;
}

/* EXTRA INFO */

.race_info p {
	margin:0 0 10px;
	font-size:12px;
	background:#f6f6f6;
	border:1px solid #e1e1e1;
	padding:7px 10px;
	text-shadow:1px 1px 1px rgba(255,255,255,0.8);
	border-radius:4px;
	
}

/* TIME, LOCATION AND DATE */

.race_info h3 {
	display:inline-block;
	margin:0 0 7px 0;
	font-size:14px;
	color:#999;
}

.race_info h3 span {
	display:inline-block;
	padding:5px 0 5px 20px;
	margin-left:10px;
	background-repeat:no-repeat;
	background-position:0 50%;
}

.race_info h3 span.time {
	background-image:url(../../../images/microsite/icons/clock_lg.png);
	margin-left:0;
}

.race_info h3 span.location {
	background-image:url(../../../images/microsite/icons/location_lg.png);
	padding-left:18px;
}

.race_info h3 span.date {
	background-image:url(../../../images/microsite/icons/calendar_lg.png);
	padding-left:22px;
}

/* LENGTH AND REPLAYS */

.race_info .rhs {
	width:102px;
	float:right;
}

.race_info .rhs .distance {
	font-size:20px;
	line-height:24px;
	font-weight:bold;
	margin:0;
	padding:10px;
	background:#333 url(../../../images/microsite/icons/distance.png) bottom repeat-x;
	text-align:center;
	color:#FFF;
	border-radius:4px;
	
}

.rhs a.replay_button {
	display:block;
	margin-top:10px;
	padding:7px;
	color:#FFF;
	font-weight:bold;
	background-color: #57a957;
	background-repeat: repeat-x;
	background-image: -khtml-gradient(linear, left top, left bottom, from(#2C66AF), to(#1C417F));
	background-image: -moz-linear-gradient(top, #2C66AF, #1C417F);
	background-image: -ms-linear-gradient(top, #2C66AF, #1C417F);
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #2C66AF), color-stop(100%, #1C417F));
	background-image: -webkit-linear-gradient(top, #2C66AF, #1C417F);
	background-image: -o-linear-gradient(top, #2C66AF, #1C417F);
	background-image: linear-gradient(top, #2C66AF, #1C417F);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#2C66AF', endColorstr='#1C417F', GradientType=0);
	border-radius:4px;
	
}

.rhs a.replay_button span {
	display:block;
	padding-left:17px;
	background:url(../../../images/microsite/icons/replay.png) center left no-repeat;
}

/*-------------------------------

	TRIAL RACE RESULTS

-------------------------------*/

.summary table {
	margin:0;
	border:2px solid #FFF;
}

.summary table td {
	border-width:0 0 1px 0;
}

.summary table th {
	width:100px;
	text-align:left;
}

.summary ul.positions {
	margin:0;
	background:#FFF;
	border-radius:6px;
	font-size:12px;
}

.summary ul.positions li {
	border-bottom:1px solid #EFEFEF;
	padding:10px 10px;
	color:#666;
}

.summary ul.positions li ul li {
	margin-left:10px;
	border-bottom:none;
	padding:5px 10px 5px 15px;
	font-size:12px;
	background-position:center left;
	background-repeat:no-repeat;
}

.summary ul.positions li ul li.jockey {
	background-image: url(../../../images/microsite/icons/jockey.png);
}

.summary ul.positions li ul li.trainer {
	background-image: url(../../../images/microsite/icons/trainer.png);
}

.summary ul.positions li strong {
	font-size:14px;
}

.summary ul.positions li.first {
	padding:15px 10px 5px;
	font-size:14px;
	color:#000;
}

.summary ul.positions li.first strong {
	font-size:18px;
}

.summary a.button {
	display:inline-block;
	margin-top:10px;
	padding:7px;
	border: none;
	color:#FFF;
	text-shadow: 0 1px rgba(0,0,0,.4);
	font-weight:bold;
	background-color: #57a957;
	background-repeat: repeat-x;
	background-image: -khtml-gradient(linear, left top, left bottom, from(#2C66AF), to(#1C417F));
	background-image: -moz-linear-gradient(top, #2C66AF, #1C417F);
	background-image: -ms-linear-gradient(top, #2C66AF, #1C417F);
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #2C66AF), color-stop(100%, #1C417F));
	background-image: -webkit-linear-gradient(top, #2C66AF, #1C417F);
	background-image: -o-linear-gradient(top, #2C66AF, #1C417F);
	background-image: linear-gradient(top, #2C66AF, #1C417F);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#2C66AF', endColorstr='#1C417F', GradientType=0);
	border-radius:4px;
	
}

.summary a.button span {
	display:block;
	padding-left:17px;
	background:url(../../../images/microsite/icons/replay.png) center left no-repeat;
}

a.full_race {
	margin:0 0 10px 10px;
	clear:both;
}

.summary p {
	margin-bottom:0;
}



/*-------------------------------

	BASIC LAYOUT

-------------------------------*/

.responsive {
	position: relative;
	width: 960px;
	margin: auto;
	z-index: 1;
}

#wrapper {
	border-radius: 8px;
	box-shadow: 0 0 6px rgba(0,0,0,.2);
	background: #FFF;
	
	
	-moz-box-shadow: 0 0 6px rgba(0,0,0,.2);
	-webkit-box-shadow: 0 0 6px rgba(0,0,0,.2);
}

#content {
	padding-left: 240px;
}


/*---------------------

	COLUMNS

---------------------*/

.column {
	display: inline;
	float: left;
	padding: 0 10px;
}

.column.left {
	width: 460px;
	padding-bottom:30px;
}

.column.right {
	width: 220px;
}

.column.advert {
	display: none;
	width: 120px;
}

.content {
	margin: 0 10px;
}


/*-------------------------------

	HEADER

-------------------------------*/

header.responsive {
	position: relative;
	height: 90px;
	padding: 10px 0;
}

header.responsive .event_logo {
	position: absolute;
	top: 5px; right: 0; bottom: 5px; left: 0;
	z-index: 1;
	height: 100px;
	margin: 0 8px 0 744px;
	line-height: 100px;
	text-align: center;
}

header.responsive .event_logo img {
	width: 100%;
	max-width: 300px;
	max-height: 100px;
	vertical-align: middle;
}


/*-------------------------------

	SIDEBAR

-------------------------------*/

#sidebar {
	width: 220px;
	padding: 0 10px;
}


/* LOGO */

.logo {
	display: block;
	width: 220px;
	margin: 10px auto;
	border-radius: 3px;
	box-shadow: 0 2px 4px rgba(0,0,0,.3);
	
	-moz-box-shadow: 0 2px 4px rgba(0,0,0,.3);
	-webkit-box-shadow: 0 2px 4px rgba(0,0,0,.3);
}

.logo img {
	display: block;
	width: 220px
}


/*---------------------

	NAVIGATION

---------------------*/

/*---------------------

	NAVIGATION

---------------------*/

#sidebar ul {
	margin: 0 auto 10px;
	border: solid 1px #e3e3e3;
}

#sidebar ul ul {
	display: none;
}

#sidebar ul li {
	font-size: 14px;
}

#sidebar ul a,
#horse_profiles h4 a {
	display: block;
	position: relative;
	padding: 11px 10px 12px;
	background: url(../../../images/microsite/template/nav.gif) 0 50% repeat-x;
	text-decoration: none;
	text-shadow: 1px 1px rgba(255,255,255,.99);
	color: #424242;
}

#sidebar ul a:active,
.buttons a:active,
#horse_profiles h4 a:active {
	background: #1c417f;
	
	background: -webkit-linear-gradient(#1c417f,#2c66af);
	background: -moz-linear-gradient(top,#1c417f,#2c66af);
}

#sidebar li:first-child a {
	border-radius: 5px 5px 0 0;
	
}

#sidebar li:last-child a {
	border-radius: 0 0 5px 5px;
	
}


/* SUB NAV ARROW */

#sidebar ul a span {
	display: block;
	position: absolute;
	top: 50%; right: 10px;
	width: 0;
	height: 0;
	overflow: hidden;
	margin-top: -4px;
	border: solid 4px transparent;
	border-left-color: #17488f;
}

#sidebar ul a:hover span,
#sidebar ul .on span {
	border-left-color: #FFF;
}

#sidebar .title {
	padding: 8px 0;
	border-radius: 5px 5px 0 0;
	box-shadow: inset 0 1px rgba(255,255,255,.8);
	font-size: 13px;
	color: #444;
	text-align: center;
	text-shadow: 0 1px rgba(255,255,255,.5);
	
	background: #eee;
	background: linear-gradient(top,#ededed 0%,#aaa 100%);
	background: -webkit-linear-gradient(#ededed,#aaa);
	background: -moz-linear-gradient(top,#ededed, #aaa);
	background: -ms-linear-gradient(top, #ededed 0%,#aaa 100%);
}


/*---------------------

	SUBNAV

---------------------*/

#sub_nav {
	min-width: 200px;
	padding: 0;
}

#sub_nav a {
	display: block;
	padding: 8px 10px;
	color: #FFF;
	font-size: 13px;
	text-shadow: 1px 1px 1px rgba(0,0,0,.2);
	text-transform: uppercase;
}

#sub_nav a:hover {
	box-shadow: 0 -1px rgba(255,255,255,.1), 0 1px rgba(255,255,255,.1);
	background: #000;
	background: rgba(0,0,0,.8);
	text-decoration: none;
	
	-moz-box-shadow: 0 -1px rgba(255,255,255,.1), 0 1px rgba(255,255,255,.1);
	-webkit-box-shadow: 0 -1px rgba(255,255,255,.1), 0 1px rgba(255,255,255,.1);
}

#sub_nav li:first-child a {
	border-radius: 5px 5px 0 0;
	
}

#sub_nav li:last-child a {
	border-radius: 0 0 5px 5px;
}


/*-------------------------------

	FOOTER

-------------------------------*/

footer {
	margin: 20px 0;
	background: #efefef;
}

footer div {
	padding: 2px 0;
}

footer div a {
	color: #d00505;
}

footer p {
	margin: 20px 0 20px 1%;
}

footer > div {
	color: #787878;
}

footer .logo {
	position: absolute;
	top: 50%; right: 1%;
	width: 120px;
	margin-top: -10px;
	box-shadow: 0 1px 3px rgba(0,0,0,.3);
	
	-moz-box-shadow: 0 1px 3px rgba(0,0,0,.3);
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0,.3);
}

footer .logo img {
	width: 100%;
}


/*-------------------------------

	RE-USEABLE PANELS

-------------------------------*/

/*---------------------

	POSITIVE & NEGATIVE
	Similar to the At
	A Glance panel

---------------------*/

.pos_neg dl {
	padding: 0;
	border-radius: 6px;
}

.pos_neg dt {
	padding: 6px 10px 8px;
	background: #e4e4e4;
	background: linear-gradient(#e4e4e4,#cccccc);
	text-shadow: 0 1px #FFF;

	background: -o-linear-gradient(top,  #e4e4e4 0%,#cccccc 100%);
	background: -ms-linear-gradient(top,  #e4e4e4 0%,#cccccc 100%);
	background: -moz-linear-gradient(top,  #e4e4e4 0%, #cccccc 100%);
	background: -webkit-linear-gradient(#e4e4e4,#CCC);
}

.pos_neg .negative {
	color: #b80113;
}

.pos_neg .negative i {
	background-image: url(../../../images/microsite/icons/cross_red.png);
}

.pos_neg .positive {
	border-radius: 6px 6px 0 0;
	color: #1E431D;
}

.pos_neg .positive i {
	background-image: url(../../../images/microsite/icons/tick_green.png);
}

.pos_neg dd {
	padding: 7px 10px 9px;
}


/*---------------------

	AT A GLANCE

---------------------*/

.at_a_glance div {
	padding: 3px 4px 4px;
	overflow: hidden;
}

.at_a_glance dl {
	float: right;
	width: 49.7%;
	border-radius: 4px;
	box-shadow: 1px 1px #FFF;
	
	
	-moz-box-shadow: 1px 1px #FFF;
	-webkit-box-shadow: 1px 1px #FFF;
}

.at_a_glance dl:first-child {
	float: left;
}

.at_a_glance dt {
	border-radius: 4px 4px 0 0;
	
}

.at_a_glance dd:last-child {
	border-radius: 0 0 4px 4px;
	
}

.at_a_glance dl dt {
	padding: 8px 10px;
}

.at_a_glance dl dd {
	padding: 6px 10px;
	margin: 0;
	line-height: 14px;
}


/*---------------------

	STATS LIST

---------------------*/

.stat_list {
	position: relative;
	clear: both;
	margin-bottom: 10px;
}

#content .stat_list img {
	display: block;
	position: absolute;
	right: 0;
	z-index: 1;
	width: 34%;
	max-width: 180px;
	margin: 0;
}

.stat_list ul {
	padding: 0;
	border: solid #f4ddaa;
	border-width: 0 1px 1px;
	border-radius: 0 0 6px 6px;
	line-height: 18px;
	color: #5c402a;
	
}

div.stat_list ul li {
	padding: 6px 34% 6px 8px;
	margin: 0;
}

div.stat_list ul li:last-child {
	padding: 6px 8px 6px 8px;
}

.stat_list .even {
	background: #F4DDAA;
}

.stat_list .odd {
	background: #FCF5E3;
}

.stat_list .header {
	background: #6D6D6D;
	color:#FFF;
}

.stat_list dd:last-child {
	border-radius: 0 0 5px 5px;

}


/*-------------------------------

	HORSE PROFILES

-------------------------------*/

#horse_profiles {
	position: relative;
}

#horse_profiles .content {
	margin: 0;
	border-bottom: solid 1px #e3e3e3;
}


/*---------------------

	LIST

---------------------*/

#horse_profiles h4 {
	margin: 0;
}

#horse_profiles h4 a {
	display: block;
	position: relative;
	width: auto;
	border: solid #e3e3e3;
	border-width: 0 1px;
	z-index: 1;
}

#horse_profiles h4:last-of-type a,
#horse_profiles .horse:last-of-type {
	border-bottom-width: 1px;
	border-radius: 0 0 6px 6px;
	
}

#horse_profiles h4 a:hover,
#horse_profiles h4 a.on {
	border-color: #17488f;
}

#horse_profiles h4:last-of-type a.on {
	border-radius: 0;
	
}

#horse_profiles h4 a span {
	display: inline-block;
	padding-right: 12px;
	margin-right: 8px;
	border-right: solid 1px #d9d9d9;
	box-shadow: 1px 0 #FFF;
	color: #777;
	
	-moz-box-shadow: 1px 0 #FFF;
	-webkit-box-shadow: 1px 0 #FFF;
}

#horse_profiles h4 a i {
	position: absolute;
	top: 50%; right: 8px; left: auto;
	width: 20px;
	height: 20px;
	margin-top: -10px;
	border-radius: 10px;
	box-shadow: 0 0 0 1px #FFF;
	background: #ccc url(../../../images/microsite/template/expand.png);
	
	
	-moz-box-shadow: 0 0 0 1px #FFF;
	-webkit-box-shadow: 0 0 0 1px #FFF;
}

#horse_profiles h4 a:hover i,
#horse_profiles h4 a.on i {
	box-shadow: 1px 1px #1c417f;
	background-color: #FFF;
	background-position: 0 -20px;
	
	-moz-box-shadow: 1px 1px #1c417f;
	-webkit-box-shadow: 1px 1px #1c417f;
}

#horse_profiles h4 a:hover span,
#horse_profiles h4 a.on span {
	border-color: #17488f;
	box-shadow: 1px 0 rgba(255,255,255,.2);
	color: #d9e5f5;
	
	-moz-box-shadow: 1px 0 rgba(255,255,255,.2);
	-webkit-box-shadow: 1px 0 rgba(255,255,255,.2);
}

#horse_profiles h4 a.on i {
	background-position: 0 -40px;
}


/*---------------------

	CONTENT

---------------------*/

#horse_profiles .horse {
	display: none;
	position: relative;
	z-index: 2;
	margin: 0;
	border: solid #17488f;
	border-width: 0 1px;
	box-shadow: 0 1px rgba(255,255,255,.2);
	font-weight: normal;

	-moz-box-shadow: 0 1px rgba(255,255,255,.2);
	-webkit-box-shadow: 0 1px rgba(255,255,255,.2);
}

#horse_profiles .horse > div {
	position: absolute;
	bottom: 0; left: 0;
	padding: 5px 10px 0;
	border-bottom: solid 1px #17488f;
}

#horse_profiles .horse_buttons {
	padding: 6px;
	border-bottom: solid 1px #FFF;
	margin: -5px -10px 0;
	background: #ccc;
	background: -webkit-linear-gradient(#aaa,#ccc 90%,#dedede);
	text-align: center;
}

#horse_profiles .horse:last-of-type > div {
	border-bottom: none;
}

#horse_profiles img {
	display: block;
	float: right;
	margin: 5px 0 20px 10px;
	border: solid 2px #FFF;
	border-radius: 4px;

}

#horse_profiles .panel h5 {
	margin-bottom: 0;
	border: none;
	border-radius: 4px 4px 0 0;
	background: #d9d9d9;
	text-align: center;
	text-shadow: 1px 1px #f1f1f1;

}

#horse_profiles .panel ul {
	margin: 0;
	background: #FFF;
}

#horse_profiles dl.entered {
	padding-left: 30px;
	background: url(../../../images/microsite/icons/post.png) 0 0 no-repeat;
}

#horse_profiles dl.entered dt,
#horse_profiles dl.entered dd {
	display: inline;
}

#horse_profiles dl.entered dd {
	padding: 2px 4px 2px 14px;
	border-radius: 2px;
	background: #f4f4f4 url(../../../images/microsite/template/bullet.png) 6px 50% no-repeat;
}

/*-------------------------------

	VIDEO TABS

-------------------------------*/

#video_tabs header {
	position: relative;
	height: 230px;
}

#video_tabs .img {
	display: block;
	position: relative;
	height: 230px;
	overflow: hidden;
	background: #D9D9D9;
}

#video_tabs p {
	position: absolute;
	right: 0; bottom: 0; left: 0;
	padding: 10px;
	margin: 0;
	border-radius: 0;
	color: #FFF;
	background: #000;
	background: rgba(0,0,0,.85);
}

#video_tabs .img img {
	position: absolute;
	top: 0; left: 50%;
	margin: 0 0 0 -215px;
}

#video_tabs div {
	text-align: center;
	margin-bottom: 10px;
}

/*-------------------------------

	RACE CENTRE

-------------------------------*/

#race_centre form {
	padding:5px 8px;
}

#race_centre legend {
	display:none;
}

#race_centre select {
	font-size:12px;
	color:#333;
	padding:2px;
	display:block;
	border:none;
}

#race_centre .wide_list a, #race_centre .wide_list span.abandoned {
	font-size:11px;
}

#race_centre .wide_list span.abandoned .status {
	color:#993333;
}

/*-------------------------------

	PACE CHARTS

-------------------------------*/

#pacecharts .stall {
	background: #FFCF27;
	text-align: center;
	color: #5C3F11;
	font-weight: bold;
}

#pacecharts tr:nth-child(odd) .stall {
	background: #FFDE27;
}

#pacecharts .cloth {
	border-right: solid 1px #ddd;
}

#pacecharts table {
	border-right: solid 1px #222;
}

#pacecharts .pace {
	padding: 4px;
	border-right: solid 1px #DDD !important;
	vertical-align: middle;
	font-size: 11px;
	text-align: center;
}

#pacecharts .pace span.track {
	display: block;
	position: relative;
	height: 9px;
	padding: 4px;
	vertical-align: middle;
}

#pacecharts .pace span.track span {
	display: block;
	height: 7px;
	border-style: solid;
	box-shadow: 1px 1px #FFF;
	border-width: 1px;
	border-radius: 10px;
	float:left;
}


/*-------------------------------

	SHARED RACECARD STYLES

-------------------------------*/

#racecard {
	position: relative;
	padding: 0;
}

#racecard h1 {
	font-size: 15px;
}

#racecard h3.sponsor {
	padding-left: 148px;
}

/* TABS FOR TOUCH DEVICES */

#racecard .tabs li select {
	display: block;
	position: absolute;
	top: 0; left: 0;
	z-index: 10;
	width: 100%;
	opacity: 0;
	
	-webkit-appearance: textarea;
}

/*---------------------

	CONTENT

---------------------*/

#racecard article {
	padding: 0;
	border: solid #D9D9D9;
	border-width: 0 1px 1px;
	border-radius: 0 0 6px 6px;
	background: #EFEFEF;
}

#racecard aside,
#racecard header {
	display: block;
	padding: 4px;
}

#racecard header {
	background: #FFF;
	border-radius: 6px 6px 0 0;
}

#racecard aside a,
#racecard aside {
	color: #FFF;
	text-shadow: 1px 1px rgba(0,0,0,.2);
}

#racecard h2 {
	margin: 0;
	font-size: 14px;
	line-height: 16px;
	font-weight: bold;
}

#racecard h2 span {
	display: inline-block;
	font-style: italic;
	color: #666;
}

/* HORSES AND SILKS */

#racecard ol {
	list-style: none;
}

#racecard ol li {
	clear: both;
	position: relative;
	overflow: hidden;
	padding: 6px 4%;
	margin: 0;
	border-bottom: solid 1px #D9D9D9;
	background: #f8f8f8;
	text-shadow: 1px 1px #FFF;
	
	background: -moz-linear-gradient(top,#FFF,#f8f8f8);
	background: -webkit-linear-gradient(#FFF,#f8f8f8);
}

#racecard ol li.odd {
	background: #e4e4e4;
	
	background: -moz-linear-gradient(top,#f1f1f1,#e4e4e4);
	background: -webkit-linear-gradient(#e2e2e2,#f1f1f1);
}

#racecard ol li:hover {
	background: #FFF;
}

#racecard ol h3,
#racecard ol p {
	margin: 0;
}

#racecard ol h3 {
	line-height: 14px;
	font-size: 13px;
	text-transform: none;
}

#racecard ol h3 span {
	display: inline-block;
	position: relative;
	top: -2px;
	padding: 0 3px;
	font-size: 8px;
	line-height: 12px;
	text-transform: uppercase;
	font-weight: bold;
	background: #000;
	color: #FFF;
	text-shadow: none;
}

#racecard ol p {
	line-height: 13px;
	font-size: 11px;
}

#racecard ol .odds {
	position: absolute;
	top: 50%; right: 3%;
	float: left;
	min-width: 28px;
	padding: 2px 6px 3px;
	margin-top: -12px;
	border-radius: 4px;
	box-shadow: 1px 1px #FFF;
	font-size: 13px;
	font-weight: bold;
	line-height: 20px;
	text-align: center;
	
	
	-moz-box-shadow: 1px 1px #FFF;
	-webkit-box-shadow: 1px 1px #FFF;
}

#racecard ol img {
	float: left;
	width: 16.5%;
	max-width: 49px;
	margin: 0 3% 0 -2.5%;
}

/* TOOLTIP - There isn't enough space in a single column */

.right #racecard article img {
	display: none;
}

.tooltip.silk {
	padding: 3px;
}

.tooltip.silk img {
	display: block;
	margin: 0;
	background: #FFF;
	padding: 4px;
	border-radius: 3px;	
}

/*---------------------

	LINKS

*/

#racecard .links {
	padding: 5px 0;
	border-bottom: solid 1px #d9d9d9;
	background: #FFF;
	text-align: center;
	line-height: 100%;
}

#racecard .links a {
	display: inline-block;
	width: 41%;
	padding: 6px 3% 7px;
	margin: 0 1%;
	border-radius: 6px;
	vertical-align: middle;	
}


/* RELATED */

#racecard aside {
	padding-bottom: 4px;
	text-shadow: 1px 1px #FFF;
}

#racecard aside h3 {
	margin: 0 0 6px;
	font-size: 14px;
}

#racecard aside li {
	padding-left: 10px;
	margin-bottom: 6px;
	background-position: 0 3px;
	font-size: 12px;
	line-height: 14px;
}


/*---------------------

	ARTICLE LIST

---------------------*/

.list aside {
	position: relative;
	margin: 10px 0 0;
	border-top: solid 1px #DDD;
	overflow: hidden;
}

#content .list aside img {
	float: right;
	width: 23.5%;
	max-width: 126px;
	margin-left: 20px;
}

.list aside h3 {
	margin: .8em 0 .4em;
}

.list aside p {
	margin: .8em 0;
}

.list aside a {
	margin-bottom: 10px;
}


/*-------------------------------

	LOGIN FORM

-------------------------------*/

#form_login {
	overflow: hidden;
	margin-top: 10px;
	border-radius: 6px;
	
}

#form_login fieldset {
	float: left;
	padding: 3px 10px;
}

#form_login fieldset h5 {
	float: left;
	margin: 7px 15px 0 0;
}

#form_login fieldset button {
	float: left;
	margin: 0;
	font-size: 13px;
}

#form_login fieldset .field {
	float: left;
	padding: 2px;
	margin: 0 10px 0 0;
	border-radius: 4px;
	box-shadow: 0 0 0 1px rgba(255,255,255,.08);
	background: rgba(0,0,0,.4);
	
	
	-moz-box-shadow: 0 0 0 1px rgba(255,255,255,.08);
	-webkit-box-shadow: 0 0 0 1px rgba(255,255,255,.08);
}

#form_login fieldset label {
	display: block;
	float: left;
	padding: 5px 6px 0;
	font-weight: bold;
}

#form_login input {
	padding: 5px 7px;
	margin: 0;
	border: none;
	border-radius: 3px;
	font-size: 12px;

}

#form_login button {
	float: left;
	display: block;
	overflow: visible;
	padding: 4px 7px 6px;
	border: solid 2px #111;
	border-radius: 4px;
	box-shadow: 0 0 0 1px rgba(255,255,255,.08);
	cursor: pointer;
	font-size: 13px;
	font-weight: bold;
	line-height: 15px;
	text-transform: none;

	
	-moz-box-shadow: 0 0 0 1px rgba(255,255,255,.08);
	-webkit-box-shadow: 0 0 0 1px rgba(255,255,255,.08);
}

#form_login button::-moz-focus-inner {
	border:0;
	padding:0;
}

#form_login ul,
#sitelogged_in ul {
	float: left;
	padding: 6px;
}

#form_login ul li,
#sitelogged_in ul li {
	display: inline;
}

#form_login ul li a,
#sitelogged_in ul li a {
	display: inline-block;
	padding: 4px;
	color: #ddd;
}

#form_login ul li a:hover,
#sitelogged_in ul li a:hover {
	color: #FFF;
}

/*-------------------------------

	LOGGED IN

-------------------------------*/

#sitelogged_in {
	overflow:hidden;
	margin-top: 10px;
	border-radius: 6px;
	
}

#sitelogged_in h5 {
	float:left;
	margin:9px 0 0 10px;
	color:#CCC;
	color:rgba(255,255,255,0.8);
}

#sitelogged_in h5 strong {
	color:#FFF;
}

#sitelogged_in ul {
	float:right;
}

/*-------------------------------

	LOG IN ALERT BOX

-------------------------------*/

.alert-message {
	CLEAR:BOTH;
  position: relative;
  margin:5px;
  padding: 3px 7px ;
  color: #404040;
  background-color: #eedc94;
  background-repeat: repeat-x;
  background-image: -khtml-gradient(linear, left top, left bottom, from(#fceec1), to(#eedc94));
  background-image: -moz-linear-gradient(top, #fceec1, #eedc94);
  background-image: -ms-linear-gradient(top, #fceec1, #eedc94);
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fceec1), color-stop(100%, #eedc94));
  background-image: -webkit-linear-gradient(top, #fceec1, #eedc94);
  background-image: -o-linear-gradient(top, #fceec1, #eedc94);
  background-image: linear-gradient(top, #fceec1, #eedc94);
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 1);
  
  
  border-radius: 4px;
}

.alert-message p {
	margin:0;
}

/*-------------------------------

	TOOLTIP

-------------------------------*/

.tooltip {
	position: absolute;
	z-index: 1000;
	max-width: 240px;
	padding: 8px;
	border: solid 1px #222;
	border-radius: 6px;
	box-shadow: inset 0 1px rgba(255,255,255,.2), 0 0 5px rgba(0,0,0,.4);
	background: #111;
	background: rgba(0,0,0,.9);
	background: linear-gradient(rgba(0,0,0,.8), rgba(0,0,0,.9));
	background: -webkit-linear-gradient(rgba(0,0,0,.8), rgba(0,0,0,.9));
	background: -moz-linear-gradient(top,rgba(0,0,0,.8), rgba(0,0,0,.9));
	color: #FFF;
	font-size: 13px;
	line-height: 18px;
	
	
	-moz-box-shadow: inset 0 1px rgba(255,255,255,.2), 0 0 5px rgba(0,0,0,.4);
	-webkit-box-shadow: inset 0 1px rgba(255,255,255,.2), 0 0 5px rgba(0,0,0,.4);
}


/* ARROW */

.tooltip:after {
	content: '';
	display: block;
	position: absolute;
	border: solid 6px transparent;
}


/*---------------------

	TOP & BOTTOM

*/

.tooltip.top:after,
.tooltip.bottom:after {
	left: 50%;
	margin-left: -6px;
}


/* TOP */

.tooltip.top:after {
	bottom: -12px;
	border-top-color: #222;
}


/* BOTTOM */

.tooltip.bottom:after {
	top: -12px;
	border-bottom-color: #222;
}


/*---------------------

	LEFT AND RIGHT

*/

.tooltip.left:after,
.tooltip.right:after {
	top: 50%;
	margin-top: -6px;
}


/* LEFT */

.tooltip.left:after {
	right: -12px;
	border-left-color: #222;
}

/* RIGHT */

.tooltip.right:after {
	left: -12px;
	border-right-color: #222;
}


/*-------------------------------

	ADVERTISING

-------------------------------*/

.advert {
	overflow: hidden;
	margin: 0 auto 20px;
}

.advert img {
	display: block;
}

#content .advert img {
	margin: 0;
}

.column.advert {
	padding-top: 10px;
}


/*---------------------

	MPU

*/

#popup {
	width: 220px;
	height: 220px;
}

#mpu {
	width: 300px;
	height: 250px;
}

header .advert {
	width: 728px;
	height: 90px;
	margin: 0;
}

#skyscraper {
	position: absolute;
	top: 120px; right: 50%;
	z-index: 0;
	width: 120px;
	height: 600px;
	margin-right: 0;
}


/*-------------------------------

	ANIMATIONS

-------------------------------*/

.responsive,
#skyscraper {
	-webkit-transition-timing-function: cubic-bezier(.77,0,.175,1);
	-webkit-transition-duration: .5s;
}

.responsive {
	-webkit-transition-property: left;
}

#skyscraper {
	-webkit-transition-property: margin-right;
}


/*-------------------------------

	CLEARFIX

-------------------------------*/

#wrapper:before,
#wrapper:after,
.split:before,
.split:after,
.at_a_glance div:before,
.at_a_glance div:after,
.buttons:before,
.buttons:after,
.column:before,
.column:after,
.tabs:before,
.tabs:after,
.panel:before,
.panel:after,
.thumbnail_news_wide .images_thumbnails {
    content: '';
    display: table;
}

#wrapper:after,
.split:after,
.at_a_glance div:after,
.buttons:after,
.column:after,
.tabs:after,
.panel:after {
    clear:both;
}

/*-------------------------------

  MAIN SITE TIPS ARTICLE FIX

-------------------------------*/


#recommended_bet h4 {
    background: url("../../../images/microsite/panels/fullbluestar.png") no-repeat scroll left top transparent;
    text-shadow: 1px 1px #1c417f;
    color: #FFF;
    font-size: 1.1em;
    font-weight: bold;    
    padding: 10px 12px 10px 23px;
    text-transform: uppercase;
    margin-top:0px;
    margin-bottom: 0px;
    padding-left: 32px;
    border-color: #1c417f;
    border-style: solid;
    border-width: 1px 1px 0;
    border-radius: 6px 6px 0 0;    
 }
#recommended_bet h5 {
    background: url("../../../images/microsites/template/icons/racing_post.gif") no-repeat scroll 5px 5px transparent;
    border-radius: 3px 3px 3px 3px;
    color: #444444;
    font-size: 13px;
    padding: 10px 12px 5px 30px;
    text-align: left;
    text-transform: uppercase;
    margin: 0px;
    border: solid #d9d9d9;
    border-width: 0 1px 1px;
      
}
#recommended_bet span.horse {
    color: #960000;
    font-weight: bold;
    text-transform: uppercase;
}
#recommended_bet p {
  padding: 10px;
  margin: 0;
  background: #EFEFEF;
  text-shadow: 1px 1px white;
}

/* ---------------------------------------------
  BACKWARD COMPATIBLE HIGHLIGHT STYLES
-----------------------------------------------*/

.yellowbox {
  border: 1px solid #1D0C6A;
  padding:5px;
  margin-bottom:5px;
  background-color: #FFFF99;
}

.highlightbox {
  border: 1px solid #1D0C6A;
  padding:5px;
  margin-bottom:5px;
  background-color: #EDF4F8;
}

.highlightboxalt {
  border: 1px solid #1D0C6A;
  padding:5px;
  margin-bottom:5px;
  background-color: #C6D8E7;
}

.yellowboxnarrow {
  border: 1px solid #1D0C6A;
  padding:5px;
  margin-bottom:5px;
  background-color: #FFFF99;
  width:355px;
}

.highlightboxnarrow {
  border: 1px solid #1D0C6A;
  padding:5px;
  margin-bottom:5px;
  background-color: #EDF4F8;
  width:355px;
}

.highlightboxaltnarrow {
  border: 1px solid #1D0C6A;
  padding:5px;
  margin-bottom:5px;
  background-color: #C6D8E7;
  width:355px;
}

.highlightbox p, .yellowbox p, .highlightboxalt p, .yellowboxnarrow p, .highlightboxnarrow p, .highlightboxaltnarrow p {
    margin:0 0 1em;
}


/* Form */

.select {
	position: relative;
	display: block;
	max-width: 100%;
	height: 32px;
	margin: 8px 0;
	line-height: 28px;
}

.select span {
	display: block;
	padding: 0 30px 0 10px;
	border-radius: 4px;
	box-shadow: 0 1px 1px rgba(0,0,0,.2);
	background: #d2d2d2 url(../../../images/microsite/icons/select.png) 100% 50% no-repeat;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	text-shadow: 0 1px #FFF;

	background: -webkit-linear-gradient(#FFF, #ccc);
	background: -moz-linear-gradient(#FFF, #ccc);
}

.select.hover span {
	background-color: #eee;
	background: -webkit-linear-gradient(#FFF, #ddd);
	background: -moz-linear-gradient(#FFF, #ddd);
}

.select span:after {
	content: '';
	display: block;
	position: absolute;
	top: 0; right: 0;
	width: 28px;
	height: 28px;
	background: url(../../../images/microsite/icons/select.png) 0 0 no-repeat;
}

.select select {
	position: absolute;
	top: 0; right: 0; bottom: 0; left: 0;
	-webkit-appearance: textfield;
}

/* VIDEO PREVIEWS */

#previews.closed article {
	border-bottom-width: 1px;
	border-radius: 0 0 6px 6px;
}

#previews .img {
	display: block;
	position: relative;
	height: 100px;
	overflow: hidden;
	background: #D9D9D9;
}

#previews .img img {
	position: absolute;
	margin: 0;
	width: 100%;
}

#previews div {
	text-align: center;
	margin-bottom: 10px;
}

#previews ul {
	display: none;
}

#replays .tab_content {
  max-height: 200px;
  padding: 0;
  overflow: auto;
}

#replays .replay {
  display: block;
  position: relative;
  min-height: 65px;
  padding: 1px 10px 1px 70px;
  border-bottom: solid 1px #d2d2d2;
  box-shadow: 0 1px #FFF;
}

#replays .replay:last-child {
  border-bottom: none;
}

#replays .replay h4 {
  margin: 15px 0 4px;
  text-transform:none;
}

#replays .replay h5 {
  margin: 5px 0px;
  text-transform: none;
  font-weight: normal;  
}

#replays .replay h5 strong {
  text-transform:uppercase;
}

#replays.panel h5 span {
    float: inherit;
    font-weight: bold;
    text-transform: uppercase;
    color: #21569E;
}
#replays img {
  position: absolute;
  left: 10px; top: 16px;
  border-radius: 3px;
  margin: 0;
}

#replays .replay a.button 
{
  padding:2px 5px;
  margin:0 4px;
}

/*----------------------------------------------

	Cycle

----------------------------------------------*/

.cycle_wrap {
	clear: both;
	margin: 0 0 10px;
	overflow: hidden;
}

.cycle_prev,
.cycle_next {
	line-height: 30px;
	display: inline-block;
	position: relative;
	padding-right: 15px;
	font-weight: bold;
}

.cycle_prev {
	float: left;
	padding-left: 20px;
}

.cycle_prev:before {
	content: '';
	display: block;
	position: absolute;
	top: 50%; left: 0;
	width: 0; height: 0;
	margin-top: -4px;
	border: solid 4px transparent;
	border-right-color: #21569e;
}

.cycle_next  {
	float: right;
	padding-right: 20px;
}

.cycle_next:after {
	content: '';
	display: block;
	position: absolute;
	top: 50%; right: 0;
	width: 0; height: 0;
	margin-top: -4px;
	border: solid 4px transparent;
	border-left-color: #21569e;
}

/*-------------------------------

	Race picker

-------------------------------*/

.panel_racecard_results .panel_inner {
	padding: 10px 20px;
}

.racecard_result,
.racecard_result_empty {
	display: none;
}

.panel_racecard_results form {
	float: left;
	border: 1px solid #e3e3e3;
	border-radius: 6px;
	padding: 5px 10px 5px 10px;
	width: 200px;
}

#content .panel_racecard_results form img {
	float: right;
	margin: 5px 0 0;
}

.panel_racecard_results input {
	border: none;
	color: #999999;
	font-size: 15px;
	float: left;
}

.panel_racecard_results input:focus {
	outline: 0;
}

.racecard_result p,
.racecard_result_empty p {
	margin: 0 0 5px;
}

.racecard_results_wrap {
	padding: 9px 0 0;
	float: right;
	width: 400px;
}

.racecard_result .result {
	color: #8d252e;
}

/*-------------------------------

	Tips Index

-------------------------------*/

.panel_tips_index .tab_content {
    margin-top: 0;
}

.panel_tips_index h3 {
    margin: 0;
    padding: 20px 0 0;
}

.panel_tips_index h3 a {
    background: none;
    padding: 0;
    color: #21569e;
}

.panel_tips_index ul {
    background:none;
}

.panel_tips_index ul li {
    padding: 0 10px;
}

.panel_tips_index .tabs li {
    padding: 0;
}

.panel_tips_index ul ul {
    background: #eee;
    background: -moz-linear-gradient(top, #dfdfdf, #f8f8f8);
    background: -webkit-linear-gradient(#dfdfdf, #f8f8f8);
    margin-bottom: 10px;
    padding-top: 10px;
}

.panel_tips_index ul ul li {
    border-bottom: none;
    font-weight: bold;
    padding: 0 20px 10px;
    background: url(../../../images/microsite/template/bullet.png) 10px 0 no-repeat;
    box-shadow: none;
}

.panel_tips_index ul ul li a {
    display: inline;
    background: none;
    padding: 0;
    color: #21569e;
    font-weight: normal;
}

.panel_tips_index ul ul li a:hover {
    background: none;
}

.other_tips {
    margin: 10px 0 0;
    width: 100%;
}

.panel_tips_index h3.primary {
    padding: 5px 10px;
}


/*

	THUMBNAIL NEWS

*/

#content .thumbnail_news {
	position: relative;
	width: 100%;
	border-radius: 6px;
	margin-top:10px;
}

#content .thumbnail_news img {
    display: block;
    width: 100%;
    margin: 0;
}

#content .thumbnail_news .images_thumbnails {
	position: relative;
	overflow: hidden;
}

#content .thumbnail_news .thumbnails {
    float: right;
    position: relative;
    z-index: 10;
    width: 20%;
    padding: 0;
    margin: 0;
    border-left: solid 4px #3E713D;
    list-style: none;
    overflow: hidden;
}

#content .thumbnail_news li {
    display: block;
    position: relative;
    background: #4c4c4c;
    cursor: pointer;
}

#content .thumbnail_news li img {
    opacity: .6;
    -webkit-transition: opacity .2s ease-in-out;
}

#content .thumbnail_news li.first {
	border-radius: 0 6px 0 0;
}

#content .thumbnail_news li.first img {
	border-radius: 0 6px 0 0;
}

#content .thumbnail_news li:before {
    content: "";
    display: block;
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: 10;
    background: -webkit-linear-gradient(right, rgba(#4c4c4c , 0), rgba(darken(#4c4c4c, 30%) , .6));
    -webkit-transition: opacity .2s ease-in-out;
}

#content .thumbnail_news li:hover img,
#content .thumbnail_news li.current img {
	opacity: 1;
}

#content .thumbnail_news li:hover:before {
	opacity: 0;
}

#content .thumbnail_news li.current:before,
#content .thumbnail_news li.current:hover:before {
	opacity: 1;
	border: solid 2px #ffb900;
	box-shadow: inset 0 0 6px rgba(0,0,0,.2);
}

#content .thumbnail_news li.first.current:before,
#content .thumbnail_news li.first.current:hover:before {
	border-radius: 0 6px 0 0;
}

#content .thumbnail_news .images {
	position: absolute;
	top: 0; right: 20%; bottom: 0; left: 0;
	z-index: 0;
	width: 80%;
}

#content .thumbnail_news .images img {
	position: absolute;
	top: 0; right: 0; left: 0;
	width: 100%;
	min-height: 100%;
	border-radius: 6px 0 0 0;
}

#content .thumbnail_news .articles {
	clear: both;
	position: relative;
	border-radius: 0 0 6px 6px;
	background: #3E713D;
	overflow: hidden;
}

#content .thumbnail_news .article {
	position: absolute;
	top: 0; right: 0; bottom: 0; left: 0;
	padding: 5px 10px 8px;
	color: #FFF;
}

#content .thumbnail_news h2 {
    margin: 0;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: bold;
    line-height: 20px;
}

#content .thumbnail_news p {
	font-size: 12px;
	margin: 0;
}

#content .thumbnail_news a {
	display: inline-block;
	color: #ffb900;
	font-weight: bold;
	text-transform: none;
	text-decoration: none;
	font-size: 12px;
	vertical-align: middle;
}

#content .thumbnail_news a:after {
	content: "";
	display: inline-block;
	width: 0;
	height: 0;
	margin-left: 6px;
	border: solid 4px transparent;
	border-left-color: #ffb900;
	border-radius: 2px;
}

#content .thumbnail_news.three_thumbnails .articles {
	width: 74.5%;
}

#content .thumbnail_news.three_thumbnails .thumbnails {
    width: 25.5%;
}

.panel_twitter .tab_content li {
    padding: 0px 20px 8px 20px;
    border: none;
}

.panel_twitter .tab_content li p {
    margin: 0 0 2px;
    color: #333333;
}

.panel_twitter .tab_content li .meta {
    font-size: 11px;
    display: block;
    color: #666666;
}

.panel_twitter .tab_content li.first {
    border-bottom: 1px solid #d9d9d9;
}

.panel_twitter .panel_inner {
    padding: 0;
}

.panel_twitter .tab_content {
    max-height: 176px;
    width: auto;
    *height: 144px;
    overflow-y: auto;
    overflow-x: hidden;
}

.panel_twitter .wide_list li a {
    display: inline;
    padding: 0;
    background: none;
    color: #21569e;
}

