﻿#content { background-color: #fff; border: 15px solid #1d5c97; color: #37342d; margin: 0 auto 20px; padding: 15px; width: 840px; }
#content a:link, #content a:visited { color: #ad750a; text-decoration: underline; }
#content a:visited { color: #706247; }
#content a:hover, #content a:active { color: #ad750a; text-decoration: none; }

#content img { border: none; }
#content .img-shadow em { display: block; font-size: 11px; font-weight: 400; line-height: normal; margin: -3px 0 0 3px; }
#content .img-shadow img { background-color: #faf6ef; border: 1px solid #cac0a6; padding: 7px; box-shadow: 3px 3px 6px #999; -moz-box-shadow: 3px 3px 6px #999; -webkit-box-shadow: 3px 3px 6px #999; filter: progid:DXImageTransform.Microsoft.Shadow(color=#cccccc,direction=135,strength=6); }
#content .img-left, #content .img-right { clear: both; display: inline; }
#content .img-left { float: left; margin: 0 1em 1em 0; }
#content .img-right { float: right; margin: 0 0 1em 1em; }

#content p { font-size: 1.2em; line-height: 1.6em; margin: 0 0 1.6em; padding: 0; }
#content ol, #content ul { margin: 0 3em 1.8em; padding: 0; }
#content ol li, #content ul li { font-size: 1.2em; line-height: 1.6em; margin: 0 0 1.2em; padding: 0; }

#content #menu-side ul, #content #menu-side ul li { list-style: none; margin: 0; padding: 0; }
#content #menu-side { float: left; margin: 100px 15px 0 0; width: 166px; }
#content #menu-side ul { background-color: #4f9ce4; border: 1px solid #ca9200; margin-bottom: 30px; width: 100%; }
#content #menu-side ul li { font-size: 1em; }
#content #menu-side ul li a { border-top: 1px solid #71aee6; color: #faf6ef; display: block; height: 23px; line-height: 23px; padding-left: 8px; text-decoration: none; }
#content #menu-side ul li a:hover, #content #menu-side ul li a.selected { background: #1d5c97 url(images/menu-side-left.gif) no-repeat left center; }
#content #menu-side ul ul { border: none; margin-bottom: 0; }
#content #menu-side ul ul a { background-color: #74a4cf; padding-left: 24px; }

.alert, .error { color: #f00; }
.bold { font-weight: 700; }
.center { text-align: center; }
.clear { clear: both; }
.column { float: left; width: 656px; }
.pdf { background: url(images/ico-pdf.png) no-repeat left center; display: block; height: 16px; line-height: 16px; padding-left: 18px; }

#content fieldset dd { margin: 0 0 1em; }

#content fieldset dl.pi dt { width: 100px; }
#content fieldset dl.pr dt { width: 115px; }
#content fieldset dl.ci dt { width: 135px; }

#content fieldset dl.ai dt.ai { width: 165px; }
#content fieldset dl.ai dt.exempt { float: none; margin-bottom: 1em; }

#content fieldset dl.wi dt.wi { width: 95px; }

#content fieldset { border: 1px solid #decda7; margin-bottom: 1em; padding: 2em; }
#content fieldset dd em { color: #666; }
#content fieldset dt { float: left; font-size: 1.2em; }
#content fieldset dd input, #content fieldset dd select { font: 1.2em Verdana; }
#content fieldset legend { color: #1358a0; font-size: 1.2em; }
#content fieldset p { font-size: 1.2em; line-height: normal; margin: 1em 0; }
#content fieldset #comment { display: none; }

h2 { border-bottom: 1px solid #decda7; color: #1d5c97; font: 2.8em "Times New Roman" , Serif; font-variant: small-caps; margin: 10px 0 25px; padding: 0; }
h3 { color: #1358a0; font: 2.2em "Times New Roman" , Serif; margin: 10px 0 20px; padding: 0; }
h4 { color: #000; font: 1.8em "Times New Roman" , Serif; margin: 10px 0 15px; padding: 0; }
h5 { color: #000; font-size: 1.2em; margin: 10px 0; padding: 0; }

#events { float: left; }
#events .row, #articles .row { border-bottom: 1px solid #dcd9d5; clear: both; display: inline; float: left; margin-bottom: 2em; margin-right: -3px; width: 100%; }
#events .row h3, #articles .row h3 { margin: 0 0 0.3em; }
#events .row .date, #articles .row .date { color: #7d7d7d; display: block; font-style: normal; margin-bottom: .8em; }
#events .row .source, #articles .row .source { color: #1d5c97; display: block; font-style: normal; margin-bottom: .8em; }
#events .row .photo { background: url(images/img-shadow.png) no-repeat bottom right; display: inline; float: right; margin: 8px 6px 0 1em; }
#events .row .photo .gallery { background-color: #faf6ef; border: 1px solid #cac0a6; display: block; height: 100px; margin: -6px 6px 6px -6px; padding: 7px; position: relative; width: 134px; }
#events .row .photo .gallery span { display: block; height: 100px; overflow: hidden; width: 134px; }
#events .row .photo-count { clear: both; display: inline; float: right; line-height: normal; margin: 0 0 1em; width: 165px; }

#articles .pdf { display: inline; }

#header { display: block; height: 290px; }
#header .photo { display: block; position: absolute; right: 45px; top: 110px; z-index: 18; }

#pdf-files { background-color: #faf6ef; border: 1px solid #cac0a6; float: right; padding: 0 10px; width: 260px; }
#pdf-files h3 { text-align: center; }
#pdf-files ul, #pdf-files li { line-height: normal !important; list-style: none; margin: 0; padding: 0; }
#pdf-files a { background: url(images/ico-pdf-large.png) no-repeat left top; display: block; min-height: 32px; height: auto !important; height: 32px; padding-left: 34px; }

.required { background: url(images/ico-error.png) no-repeat center center; color: #f00; font-size: 2em; height: 20px; line-height: 1em; margin-left: 3px; overflow: hidden; position: absolute; text-indent: -999em; width: 16px; }

#photo-gallery #photos { float: right; width: 650px; }
#photo-gallery #photos .container { float: left; margin: 0 12px 12px 0; width: 148px; }
#photo-gallery #photos .container .caption { text-align: center; }
#photo-gallery #photos .container .caption em { display: block; font-style: normal; }
#photo-gallery #photos .container .photo { background-color: #faf6ef; border: 1px solid #cac0a6; padding: 7px; -moz-box-shadow: 3px 3px 5px #ccc; -webkit-box-shadow: 3px 3px 5px #ccc; box-shadow: 3px 3px 5px #ccc; }
#photo-gallery #photos .container .photo a { display: block; overflow: hidden; width: 132px; height: 88px; }

a.photo-gallery-button { background-color: #decda7; border: 1px solid #5e5747; clear: right; color: #5e5747 !important; cursor: pointer; float: right; margin: 0 0 5px 5px; width: 162px; height: 42px; text-decoration: none !important; -moz-border-radius: 5px; border-radius: 5px; -moz-box-shadow: 3px 3px 5px #ccc; -webkit-box-shadow: 3px 3px 5px #ccc; box-shadow: 3px 3px 5px #ccc; }
a.photo-gallery-button:hover { background-color: #deb764; }
a.photo-gallery-button em { float: left; font: normal normal 1.8em/42px "Times New Roman" , Serif; margin-left: 10px; }
a.photo-gallery-button span { border: 1px solid #fff; float: left; overflow: hidden; position: relative; top: 6px; left: 6px; width: 44px; height: 28px; }
a.photo-gallery-button span img { border: 0; width: 44px; }

#video-gallery #galleries { float: right; width: 650px; }
#video-gallery #galleries .container { float: left; margin: 0 12px 12px 0; width: 136px; }
#video-gallery #galleries .container .caption { text-align: center; }
#video-gallery #galleries .container .caption em { display: block; font-style: normal; }
#video-gallery #galleries .container .video { background-color: #faf6ef; border: 1px solid #cac0a6; padding: 7px; -moz-box-shadow: 3px 3px 5px #ccc; -webkit-box-shadow: 3px 3px 5px #ccc; box-shadow: 3px 3px 5px #ccc; }
#video-gallery #galleries .container .video a { display: block; overflow: hidden; width: 120px; height: 90px; }

#video-gallery #videos { margin-top: 2em; }
#video-gallery #videos a.video { background-color: #faf6ef; border: 1px solid #cac0a6; cursor: pointer; display: block; margin-bottom: 5px; padding: 5px; overflow: auto; }
#video-gallery #videos a.video:hover, #video-gallery #videos a.video.selected { background-color: #cabc97; color: #fff; }
#video-gallery #videos a.video em { float: left; font-size: 1.2em; font-style: normal; line-height: 30px; }
#video-gallery #videos a.video img { border: 1px solid #fff; float: left; margin-right: 5px; width: 40px; height: 30px; }

a.video-gallery-button { background-color: #decda7; border: 1px solid #5e5747; clear: right; color: #5e5747 !important; cursor: pointer; float: right; margin: 0 0 5px 5px; width: 162px; height: 42px; text-decoration: none !important; -moz-border-radius: 5px; border-radius: 5px; -moz-box-shadow: 3px 3px 5px #ccc; -webkit-box-shadow: 3px 3px 5px #ccc; box-shadow: 3px 3px 5px #ccc; }
a.video-gallery-button:hover { background-color: #deb764; }
a.video-gallery-button em { float: left; font: normal normal 1.8em/42px "Times New Roman" , Serif; margin-left: 10px; }
a.video-gallery-button span { border: 1px solid #fff; float: left; overflow: hidden; position: relative; top: 6px; left: 6px; width: 44px; height: 28px; }
a.video-gallery-button span img { border: 0; width: 44px; }

#content table.horses { border: 1px solid #decda7; border-bottom: 0; font-size: 1.2em; margin-bottom: 2em; width: 100%; }
#content table.horses thead { background: url(images/menu-main-bg.gif) repeat-x center top; }
#content table.horses th { color: #002548; text-align: left; }
#content table.horses td { vertical-align: top; }
#content table.horses td, #content table.horses th { padding: 5px; }
#content table.horses td .horse-name { color: #1358a0; display: block; }
#content table.horses td .horse-name, #content table.horses th { font: 1.4em Georgia , Serif; font-variant: small-caps; }
#content table.horses td.media-items ul, #content table.horses td.media-items li { float: right; list-style: none; margin: 0; padding: 0; }
#content table.horses td.media-items li { float: left; font-size: 1em; line-height: normal; margin-right: 3px; }
#content table.horses td.media-items li a { border: 1px solid #a9a9a9; border-radius: 5px; color: #a9a9a9; float: left; font-size: .8em; line-height: 16px; padding: 3px; height: 16px; text-decoration: none; }
#content table.horses td.media-items li a:hover { border: 1px solid #1d5c97; color: #1d5c97; }
#content table.horses td.media-items li a span { cursor: pointer; float: left; }
#content table.horses td.media-items li .icon { background-image: url(images/media-icons.png); background-repeat: no-repeat; margin-right: 3px; width: 16px; height: 16px; }
#content table.horses td.media-items li.comment .icon { background-position: -48px -16px; }
#content table.horses td.media-items li.pedigree .icon { background-position: -64px -16px; }
#content table.horses td.media-items li.race-record .icon { background-position: 0 -16px; }
#content table.horses td.media-items li.photo-gallery .icon { background-position: -16px -16px; }
#content table.horses td.media-items li.video-gallery .icon { background-position: -32px -16px; }
#content table.horses td.media-items li.comment a:hover .icon { background-position: -48px 0; }
#content table.horses td.media-items li.pedigree a:hover .icon { background-position: -64px 0; }
#content table.horses td.media-items li.race-record a:hover .icon { background-position: 0 0; }
#content table.horses td.media-items li.photo-gallery a:hover .icon { background-position: -16px 0; }
#content table.horses td.media-items li.video-gallery a:hover .icon { background-position: -32px -0; }
#content table.horses td.media-items li.last { margin-right: 0; }
#content table.horses tr.media-row td { border-bottom: 1px solid #decda7; }

