*
{
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
}

body
{
	font-family: helvetica,arial,sans-serif;
	text-align:center;
	color:#333;
	font-size: 10pt;

	background-color: #9C9F84;

	min-height: 100%;
	height: 100%;
}

/* General Style Info */
a
{
	color:#009;
}
a:hover
{
	color:#00F;
}

a img
{
	border:none;
}

h1, h2, h3, h4
{
	font-weight:normal;
}

h1
{
	color: #003d4c;
	margin:0.3em 0;
	font-size: 18pt;
}

h2
{
	color: #900;
	padding: .3em;
	margin: .3em 0 .5em 0;
	font-size: 18pt;

	border-bottom: 2px dotted #DDD;
	border-bottom: 2px dotted #050;
}

h3
{
	color:#040;
	font-size: 16pt;
}

h4
{
	color:#900;
	font-weight: bold;
	margin: 1em;
}

em 
{
	font-size: 12px;
}

ul, li 
{
	margin: 0 12px;
}

/* Layout */

#container
{
	text-align:left;
	width: 1000px;
	width: 900px;
	margin-left: auto;
	margin-right: auto;

	min-height: 100%;
	height: 100%;
}

#header
{
	margin-bottom: 1em;
	padding: 4px 20px;
	background: url(/img/rounded2.php?location=bottom-left&radius=20&background=525445&outside=9C9F84&smooth);
	background-position: bottom left;
	background-repeat: no-repeat;
	background-color: #525445;
}
#header h1
{
	color: #BFEAFF;
}

#clear
{
	clear: both;
}
div.clear
{
	clear: both;
}
#contentContainer
{
	padding: 10px;
	background: url(/img/rounded2.php?location=top-left&radius=20&background=3A533C&outside=9C9F84&smooth);
	background-repeat: no-repeat;
	background-position: top left;
	background-color: #3A533C;
}
#nav
{
	float: left;
	width: 200px;
	color: #FFF;

}
#nav ul, li
{
	list-style: none;
	padding: 0;
	margin: 0;
}
#nav li
{
	padding: 2px;
	margin: 2px;
}
#nav a, #nav a:active, #nav a:visited
{
	font-size: 14pt;
	font-size: 120%;
	font-weight: bold;
	text-decoration: none;
	color: #FF0;
}
#nav a:hover
{
	color: #FFE8B8;
	text-decoration: underline;
}
#content
{
	background: url(/img/rounded2.php?location=top-left&radius=20&background=FFFFFF&outside=3A533C&smooth);
	background-repeat: no-repeat;
	background-color: #FFF;
	float: left;
	width: 600px;
	padding: 0px 40px 10px 40px;
	color: #333;
}
#content p
{
	margin: 1em 0 1em 2em;
	line-height: 1.5em;
}
#content ul
{
	margin: 1em 0 1em 3em;
}
#content li
{
	list-style: square;
	margin: 3px;
}
#box
{
	background-color: #F7DCB4;
	border: 2px solid #A97D5D;
	padding: 10px;
	font-size: 10pt;
	width: 300px;
	float: right;
}
#box h1
{
	font-size: 14pt;
	font-weight: bold;
	color: #003;
}
#pp
{
	border: 1px solid #CCC;
	text-align: center;
}
#footer
{
	clear:both;
	padding: 6px 10px;
	text-align: right;
	color: #FFF;
	/* background: url(/img/rounded2.php?location=bottom-left&radius=20&background=000000&outside=362C18&smooth); */
	background-position: bottom left;
	background-color: #000;
	background-repeat: no-repeat;
}

/* tables */

table 
{
	width: 100%;
	border-top: 1px solid #ccc;
	border-left: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	color:#333;
	background-color: #fff;
	clear:both;
	padding: 0;
	margin: 0 0 2em 0;
	white-space: normal;
}
th 
{
	background-color: #e2e2e2;
	border-top: 1px solid #fff;
	border-left: 1px solid #fff;
	border-right: 1px solid #003d4c;
	border-bottom: 1px solid #003d4c;
	text-align: center;
	padding:1px 4px;
}
table tr td 
{
	border-right: 1px solid #ddd;
	padding:4px 4px;
	vertical-align:top;
	text-align: center;
}
table tr.altRow td 
{
	background: #f4f4f4;
}
table td.actions 
{
	white-space: nowrap;
}
#cakeSqlLog td 
{
	text-align: left;
	padding: 4px 8px;
	background: #fff;
	border-bottom: 2px solid #ccc;
}

/* scaffold show */

div.related 
{
	clear:both;
	display:block;
}
dl 
{
	line-height:2em;
	margin:0em 1em;
	float:left;
	width: 400px;
}
dt 
{
	font-weight: bold;
	vertical-align:top;
}
dd 
{
	margin-left:10em;
	margin-top:-2em;
	vertical-align:top;
}

/* notices and errors */

#flashMessage, .error, .error_message 
{
	color:#900;
	font-size: 16px;
	background-color: #fff;
	margin: 8px 0px;
	font-weight: bold;
}
.error_message 
{
	clear: both;
}
.error em 
{
	font-size: 18px;
	color: #003d4c;
}
.notice 
{
	color: #656565;
	font-size: 14px;
	background-color: #f4f4f4;
	padding: 0.5em;
	margin: 1em 0;
	display:block;
}
.tip 
{
	color: #656565;
	background-color: #ddd;
}

/* forms */

form 
{
	margin-top: 2em;
}
form div
{
	vertical-align: text-top;
	margin-left: 1em;
	margin-bottom:2em;
}
form div.date
{
	margin-left: 0em;
}
label 
{
	display: block;
	width: 140px;
	font-size: 14px;
	padding-right: 20px;
}
input[type=checkbox] 
{
	float: left;
	clear: left;
	margin: 2px 6px 7px 2px;
}
input, textarea 
{
	clear: both;
	display:block;
	font-size: 14px;
	font-family: inherit;
}
select 
{
	clear: both;
	vertical-align: text-bottom;
	font-size: 14px;
	font-family: inherit;
}
option 
{
	font-size: 14px;
	font-family: inherit;
	padding: 0 0.3em;
}
input[type=submit] 
{
	display: inline;
	vertical-align: bottom;
}
div.required 
{
	clear: both;
	color:#222;
	font-weight:bold;
}
div.optional 
{
	clear: both;
	color:#555;
}
div.submit 
{
	clear: both;
	margin-top: 40px;
	margin-left: 140px;
}
/* action links */
ul.actions 
{
	float: left;
	margin-left:20px;
	width: 200px;
}
ul.actions li 
{
	margin-top: 4px;
}
pre 
{
	padding: 1em;
}

/* 

 IMAGES

*/
img.bordered
{
	border: 1px solid #000;
}
img.leftBordered
{
	margin: 1em;
	float: left;
	border: 1px solid #000;
}
img.left
{
	margin: 1em;
	float: left;
}
img.rightBordered
{
	margin: 1em;
	float: right;
	border: 1px solid #000;
}
img.right
{
	margin: 1em;
	float: right;
}
q
{
	font-size: 16pt;
	font-weight: bold;
	color: #999;
	font-style: italic;
}

div.horse
{
	border-bottom: 2px dotted #CCC;
	margin-bottom: 1em;
	padding: 1em;
}
div.horseDesc
{
	float: left;
}
div.horsePic
{
	float: right;
}
div.news
{
	border-bottom: 2px dotted #CCC;
	margin-bottom: 1em;
	padding: 1em;
}
div.issueRow
{
	border-bottom: 1px dotted #CCC;
	margin-bottom: 1em;
}
div.phIssue
{
	margin: 1em;
	float: left;
}
