@import url("js/slimbox/css/slimbox2.css");
/* reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
a img {border:0;}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}

/* remember to define focus styles! */
:focus {
	outline: 0;
}
/* end reset */


/* page jump */
html { min-height: 100%; margin-bottom: 1px; }


/* COLORS
   Body Background:       #2F2C22 (or whatever)
   Main Text:             #B3A576
   Links:                 #9C6D25
   Dark Brown Border:     #222019
   Green Headline:        #958944
   Purple					102-51-152
*/




/* CSS Document */


/*Layout*/

body {
	background: #fff url(i/bggradstr.jpg) repeat-x top; /* 16x1.125=18px */
	margin:0;
	text-align:center;
	font: 100.01%/1.2em "Lucida Grande", Tahoma, Verdana, sans-serif;
	color: #333;
	}

#wrapper {
	width: 750px;
	margin: 0 auto;
	text-align: left;
	background: #fff;
	border-top: 1px solid #999;
	border-right: 1px solid #000;
	border-bottom: 1px solid #000;
	border-left: 1px solid #666;
 }

#header {
	height: 215px;
	width: 750px;
	border-top: none;
	border-right: none;
	border-bottom: 2px solid #333;
	border-left: none;
}
#header img {
	border-bottom: 2px solid #333;
	margin: 0px;
	}

#sidebar {
	width: 175px;
	float: left;
	padding-top: 1em;
}


#content {
	float: right;
	width: 565px;
	padding-top: 1em;
	padding-bottom: 1em;
	
}
/*----LIGHTBOX ------ */
#content #photoholder {
	float: left;
	margin-left: 15px;
	border: 1px dashed #999;
	margin-right: 20px;
	/*padding-right: 15px;*/
	background: #fafafa;
	width: 500px;
	display: inline;
	padding-bottom: 15px;
}
#photoholder .thumbnail {
	display: inline;
}
#photoholder .thumbnail img {
	margin: 15px 0px 0px 8px;
	border: 1px solid #639;
}

#content img.content {
	border: 1px dashed #663399;
	float: left;
	clear: right;
	width: 300px;
	margin-right: 15px;
	margin-left: 10px;
	margin-bottom: 1em;
}


/*---------------------------TABLE
*/
#content table {
	width: 530px;
	margin-left: 10px;
	margin-top: 30px;
	font-size: 0.5em;
	border-collapse:collapse;
	margin-bottom: 30px;
}
h4.tabletitle {
	border-top: 3px solid #C6C2F6;
	margin-left: 10px;
	margin-right: 28px;
	padding-top: 15px;
	text-align: center;
}
#content table th {
	text-align: left;
	font-weight: bold;
	border-bottom: 2px solid #999;
	padding: 0px .5em;
}
#content table td {
	color: #333;
	padding: 0.4em 0.5em;
	border-bottom: 1px solid #CCC;
}
col#number {
	width: 10px;
	text-align: right;
}
col#name{
	width: 115px;
}
col#country{
	width: 10%;
}
col#horse{
	width: 40px;
}
col#dressage-place{
	width: auto;
}
col#freestyle-place{
	width: auto;
}
col#overall-score{
	width: auto;
}
col#final-score{
	width: 8px;
}



/*END TABLE STUFF
*/

/*--------------------------#content ul/li
*/

#content ul.results {
	margin-left: 30px;
	font-size: 0.75em;
	line-height: 2em;
	font-weight: bold;
	margin-bottom: 20px;
}
#content ul.resultslinks {
	margin-left: 30px;
	font-size: .75em;
	line-height: 2em;
	font-weight: bold;
	margin-bottom: 30px;
}
#content ul li {
	list-style: square;
}
#content ul li a:link{
}
#content ul li a:active{
}
#content ul li a:hover{
}
#content ul li a:visited{
}
/*---------------------------ul.survey
*/
ul.survey {
	color: #66637F;
	margin-left: 0px;
	padding-left: 0px;
	padding-bottom: 20px;
}
ul.survey li {
	color: #4647A3;
	font-size: 0.75em;
	line-height: 1.4em;
	margin-bottom: 0.5em;
	margin-left: 40px;
}








#content img.content-lg {
	margin-left: 10px;
}

#childrenssponsors {
	width: 500px;
}
h4.sponsorship {
	font-weight: normal;
	padding-bottom: 1em;
}

#childrenssponsors img {
	width: 200px;
	border: 1px solid #333;
	margin: 0 10px 1.2em 10px;
	padding: 0;
}

#links {
	margin-bottom: 1.2em;
	width: 500px;
}

#footer {
	clear:both;
	background: #639;
	width:750px;
	border-top: 1px solid #333;
	padding-bottom:1em;
}

/*Navigation*/

#sidebar ul {
	padding: 1em 0 0;
	width: 150px;
	margin-bottom: 15px;
	margin-right: 0px;
	margin-left: 20px;
}


#sidebar ul li a {
	font-size: 0.75em;
	text-decoration: none;
	padding: 4px 0px 4px 8px;
	display: block;
	background: #639;
	border-top: 1px solid #999;
	border-right: 1px solid #333;
	border-bottom: 1px solid #333;
	border-left: 1px solid #ccc;
	color: #ccc;
	margin-top: 10px;
	margin-bottom: 10px;
	font-weight: bold;
}


#sidebar ul li a:link {
	text-decoration: none;
	color: #ccc;	
}
#sidebar ul li a:visited {
	border-width: 1px;
	border-style: solid;	
}
#sidebar ul li a:hover {
	text-decoration: none;
	color: #fff;
	background: #660099;
	border-top: 1px solid #333;
	border-right: 1px solid #999;
	border-bottom: 1px solid #CCC;
	border-left: 1px solid #333;
}
#sidebar ul li a:active {
	text-decoration: none;
	border-width: 1px;
	border-style: solid;
	color: #fff;
	background: #666;	
}

/*-- donate --*/

#donate {
	padding: 0px;
	border: 1px solid #00c;
	width: 150px;
	margin-right: 0px;
	margin-bottom: 15px;
	margin-left: 20px;
	background: #B7B5F5;
}
#donate h3 {
	padding: 1em 0px 1em 8px;
	color: #609;
	margin: 0px;
}
#donate input {
	text-align: center;
	margin: 0px 8px;
}
#donate p {
	padding-right: 8px;
	padding-left: 8px;
}


p.donaterequest {
	padding: 10px;
}

/*--- buy now button (book) ---*/
.buynow {
	padding: 0px;
	border: 1px solid #00c;
	width: 150px;
	margin-right: 0px;
	margin-bottom: 15px;
	margin-left: 10px;
	background: #B7B5F5;
	display:inline;
}
.buynow h3 {
	padding: 0em 8px 0px;
	color: #609;
}
.buynow input {
	text-align: center;
	margin: 0px 8px;
}
.buynow p {
	padding-right: 8px;
	padding-left: 8px;
}


/*--- newsflash ---*/
div.newsflash {
	padding: 0em 0px 0px;
	border: 2px solid #639;
	width: 148px;
	margin-right: 0px;
	margin-bottom: 15px;
	margin-left: 20px;
	background: #C2BAE3;
}
div.newsflash p {
	padding: 0px 8px 0em;
	color: #333;
}
div.newsflash h3 {
	padding: 0em 8px 0px;
	color: #660099;
	margin: 0px;
	font-weight: 700;
}
div.newsflash h4 {
	padding-top: 1em;
	font-weight: bold;
}
div.newsflash ul.newsflash li {
	color: #333;
	padding: 0px 8px;
	margin: 0px;
	list-style: none;
	font-weight: normal;
}
div.newsflash ul.newsflash {
	font-weight: 700;
	color: #333;
	font-size: 0.75em;
	padding: 0;
	list-style: none;
	margin: 0px;
}

/*---------------sponsorbox
*/
div.sponsorbox {
	padding: 0;
	border: 1px solid #00c;
	width: 150px;
	margin-right: 0px;
	margin-bottom: 15px;
	margin-left: 20px;
	background: #B7B5F5;
}
div.sponsorbox h3 {
	padding: .2em 8px 8px;
	color: #609;
}
div.sponsorbox p {
	padding-right: 8px;
	padding-left: 8px;
}




/*Typography*/

/* em-based sizing */

h1, h2, h3, h4, p {
	font-weight:normal;
	padding-right: 25px;
	padding-left: 10px;
}

h1#rep {
	font-size: 1.625em;
	height: 215px;
	text-indent: -9999px;
	background: url(i/CADI-header-dk.jpg) no-repeat center;
	margin:0;
	padding: 0;
	}
	
h2 {
	font-size: 1.625em; /* 16x1.375=22px */
	line-height: 1.636em;/* 16x1.636=36px */
	margin: 0;
	text-align: left;
	padding-top: .5em;
}
h3 {
	font-size: 1.125em; /* 18x1=18px */
	font-weight: 700;
	margin: 0em 0 0em 0px;
	padding-bottom: 0px;
	line-height: 1.4em;
}

h4 {
	font-size: 0.875em; /* 14x0.643=9px */
	font-weight: bold;
	font-variant: normal;
	margin-top: 0em;
}

p {
	font-size: 0.75em;
	margin: .8em 0 1.3em;
}
#content h4.cadibook a:link {
	color: #583e84;
	font-size: 1.2em;
	padding-bottom: 200px;
	padding-top: 20px;
}
#content h4.cadibook {
	padding-bottom: 1em;
	padding-top: .8em;
}
h4.content {
	font-size: 0.875em; /* 14x0.643=9px */
	font-weight: bold;
	font-variant: normal;
	text-transform: uppercase;
	margin-top: 1em;
}
h3.content {
	font-weight: bold;
	padding-bottom: 0px;
	margin-top: 1.5em;
	margin-bottom: 0px;
}



/*--- footer text ---*/
#footer p {
	text-align: center;
	/*margin-top: 1em;*/
	color: #ccc;
	}
#footer p a:link {
	color: #ccc;
	text-decoration: none;
	border-bottom: 1px dashed #ccc;
}
#footer p a:active {
	color: #ccc;
	text-decoration: none;
	border-bottom: 1px solid #ccc;
}
#footer p a:hover {
	color: #fff;
	text-decoration: none;
	border-bottom: 1px solid #fff;
}
#footer p a:visited {
	color: #ccc;
	text-decoration: none;
	border-bottom: 1px dashed #ccc;
}




/*--- @end ---*/
p.donaterequest {
	background: #E7E7E7;
	border: 1px solid #666;
	margin-right: 15px;
	margin-left:10px;
}

blockquote {
	padding: 10px;
	border: 1px dashed #639;
	margin: 15px 15px 15px 10px;
	background: #EFF5FD;
}
#content p.sponsortypesinfo {
	margin-top: 0px;
	padding-top: 0px;
	margin-left: 30px;
}
#content p.sponsortypes {
	background: #D6E6FF;
	margin-top: 0px;
	padding-top: 0px;
	border: 1px solid #ccc;
	padding-left: 5px;
	margin-left: 10px;
	font-weight: bold;
}
p.author {
	padding-left: 150px;
}
img.quote {
	border: 1px dashed #639;
	float: left;
	clear: right;
	width: 300px;
	margin: 15px 15px 15px 10px;
	}

/*---text links---*/

p a:link, a:active {
	color: #00a;
}
p a:hover {
	color: #6600CC;
	}
p a:visited {
	color: #00a;
	}
	

/*--- credits ---*/

.sitedesign a {
	color: #6633FF;
}
.sitedesign a:link, a:visited, a:active {
	color: #00a;
}
.sitedeign a:hover {
	color: #333;
	}

#childrenssponsors p.sponsorinfo {
	margin-top: 0px;
	padding-top: 0px;
	background: #D6E6FF;
	border: 1px solid #CCCCCC;
	font-weight: bold;
	margin-left: 10px;
}
hr {
	color: #D6E6FF;
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: 10px;
	padding-top: 0px;
	padding-bottom: 0px;
}

.purple {
	color: #639;
}
.blue {
	color: #339;
}
form.dressageonline {
	display: inline-block;
	margin-left: 10px;
	margin-bottom: 20px;
}
div.dressageonline .dressageonline input {
	display: inherit;
}

#freestylenotice img {
	position: absolute;
	top: 150px;
	height: 100px;
	width: 100px;
	left: -70px;
}
/*----------------------slimbox
*/
#footer img {
	margin-left: 270px;
	text-align: center;
}
