@media print { 
  body {
	margin-right: 6px;
	margin-left: 5px;
	margin-top: 5px;
	margin-bottom: 2px;
  	font-size: 95% !important;
  }
  
  table {
    font-size: 95% !important;
	empty-cells:show;
  }
  
  tr, td {
    font-size: 95% !important;
  }
  
  .content, .content p {
	color:#333333;
	font-size: 95% !important;
	line-height:18px;
	margin:0;
	padding:0;	
  }
  
  .centerblock .content {
	color:#333333;
	font-size: 95% !important;
	line-height:18px;
  }

  .centerblock .content p {
	color:#333333;
	font-size: 95% !important;
	line-height:18px;
	margin:0;
	padding:0;
  }
	
  .centerblock .content h3 {
	font-size:20px;
	font-weight:bold;
	color:#333333;
	text-transform:uppercase;
	padding:0;
	margin:10px 0 10px 0;
  }	

  div.leftnavi,div.top,div.top_menu_bottom,div.static_footer,div.heppa_footer,div.bottomshadow {
	display: none;
  }
  
 
  div.wrapper, div.heppa_wide, div.mainblock, div.centerblock, div.content, div.basic_content_wide {
  	width: 100%;
  }

	div#header {
		display: none;
	}
	div#footer {
		display: none;
	}

  div.content a, a, a:hover, a:active, a:link, a:visited, a:link.pagelink, a:active.pagelink, a:visited.pagelink, a.pagelink  {
	color: black;
	text-decoration: none !important;
	font-weight: bold;
  }

  td.trainerSign {
	display: block;
  }
     
  table.race_identification_print {
  	margin: 0px;
  	padding: 0px; 
  	border: 0px;
  	width: 17cm;
  }  
  
  table.race_identification_print th {
  	margin-top: 5px;
  	margin-bottom: 3px;
  	margin-left: 0px;
  	padding: 5px 1px 5px 1px !important;
  	border: 0px;
  	height: 12mm;
  	font-weight: bold;
  	font-size: 16px !important; 
  	text-align: left;
  	white-space: nowrap;
  }
  
  table.race_identification_print td {
  	margin-top: 5px;
  	margin-bottom: 3px;
  	margin-left: 0px;
  	padding: 5px 1px 0px 1px !important;
  	border: 0px;
  	font-size: 16px !important;
  	height: 12mm;
  	text-align: left;
  }
  
  / * FINNHORSE CHAMP RESULTS * /
  table.center_table {
	margin-left: 0px; 
	margin-right: auto;
  }
  
	body,.nocolor,table.nocolor td,tr.nocolor,div.tab_content,table#page,tr#navigation_content,td#navigation,td#content
		{
		background-color: white;
	}
	table {
		
	}
	th,span.table_header_cell {
		background-color: #DFE5F0;
	}
	th.secondary {
		background-color: #F2F5F9;
	}
	td {
		vertical-align: top;
	}
	th.numeric {
		text-align: right;
	}
	td.numeric {
		text-align: right;
	}

	span.hilight {
		border-bottom: 1px solid black;
		border-top: 1px solid white;
		border-right: 1px solid black;
		border-left: 1px solid white;
	}

	div.search_result table {
		width: 100%;
	}
	div.tabs {
		background-color: #315B9B;
	}
	div.scrolling {
		border: gray;
	}
	div.reportfile {
		border: gray;
		white-space: pre;
		font-family: courier;
	}
	
	div.note {
		border-color: #E7EBF1;
		color: #312F3C;
		background-color: #F3F4F5;
		margin-left: 75px
	}
	span.note {
		border-color: #E7EBF1;
		color: #312F3C;
		background-color: #F3F4F5
	}
	span.selected_tab {
		background-color: #FFFFFF;
		color: #315B9B;
	}
	span.nonselected_tab {
		background-color: #315B9B;
		color: #FFFFFF;
	}
	input.text_readonly {
		background-color: #F7FBFD;
	}
	input.disabled {
		color: gray;
	}
	td.disabled {
		color: gray;
	}
	.disabled {
		color: gray;
	}

	.notice {
		color: red
	}
	
	div {
		margin: 0px;
	}
	form {
		margin: 0px;
		padding: 0px;
	}

	h1,h2,h3,h4,h5 {
		font-weight: bold;
	}
	h2 {
		margin-top: 3px;
		margin-bottom: 3px;
		font-size: 120%;
	}
	h3 {
		margin-top: 3px;
		margin-bottom: 3px;
		font-size: 110%;
	}
	h4 {
		margin-top: 3px;
		margin-bottom: 3px;
		font-size: 100%;
	}
	h5 {
		margin-top: 3px;
		margin-bottom: 3px;
		font-size: 100%;
	}
	input,select,table,tr,td {
		font-size: 100%;
		font-family: arial;
	}
	th {
		font-size: 100%;
		font-family: sans-serif;
		font-weight: normal;
	}
	th.leftAligned {
		text-align: left;
	}
	td select {
		font-size: 100%;
		font-family: sans-serif;
	}
	
	label.checkbox {
		display: inline;
		float: none;
		margin-right: 0px;
		text-align: left
	}
	label,span.labelIndent {
		text-align: left;
		margin-right: 5px;
		display: block;
		float: left;
		width: 130px;
	}
	td.labelWide {
		width: 130px;
	}
	p {
		margin: 0px;
		padding: 1px;
		clear: both;
	}
	a,a:hover,a:active,a:link,a:visited {
		text-decoration: none;
	}
	ol {
		clear: both;
	}

	div#page {
		margin: 0px;
		padding: 0px;
		border: 1px solid black;
		min-width: 980px;
	}
	div#page_inner {
		width: 100%;
		margin: 0px;
		padding: 0px;
	}
	div#header {
		clear: left;
	}
	div#navigation {
		float: left;
		width: 205px;
		margin: 0px;
		padding: 0px;
	}
	div#content {
		padding: 0px;
		margin-top: 3px;
		margin-left: 210px;
		margin-right: 0px;
		display: block;
	}
	div#inner_content {
		width: 100%;
		float: left;
	}
	div#content_no_navigation {
		
	}
	div#footer {
		color: black;
		clear: left;
	}
	div.left_column {
		float: left;
		min-width: 380px;
		max-width: 500px;
	}
	div.right_column {
		float: left;
		padding-left: 10px;
		min-width: 300px;
		max-width: 400px;
	}
	div.full_column {
		display: inline;
		float: left;
		width: 100%;
	}
	/* TABLES */
	tr.evenrow td {
		background-color: #FCFCFC;
	}
	tr.oddrow td {
		background-color: #FFFFFC;
	}
	td.cellGroupStart,th.cellGroupStart {
		border-left: 2px;
		border-left: solid;
		border-left-color: #C6D2E1;
	}
	td.number {
		text-align: right;
		margin-right: 5px;
	}
	tr.oddrow td,tr.evenrow td,tr.tenthrow td {
		margin: 0px;
		padding: 1px;
		border-bottom: solid;
		border-top: solid;
		border-top-color: white;
		border-bottom-color: white;
		border-width: 1px;
		border-left: 0px;
		border-right: 0px;
	}
	tr.tenthrow td {
		border-bottom: solid;
		border-bottom-color: #C6D2E1;
		border-bottom-width: 1px;
	}
	tr.oddDay td,tr.evenDay td,tr.today td {
		margin: 0px;
		padding: 1px;
		border-width: 1px;
		border-left: 0px;
		border-right: 0px;
	}
	tr.evenDay td {
		background-color: #F8F8F8;
		border-top: solid;
		border-top-color: #F8F8F8;
		border-bottom: solid;
		border-bottom-color: #F8F8F8;
		border-width: 1px;
	}
	tr.oddDay td {
		background-color: #FFFFFC;
		border-top: solid;
		border-top-color: #FFFFFC;
		border-bottom: solid;
		border-bottom-color: #FFFFFC;
		border-width: 1px;
	}
	tr.today td {
		background-color: #F8FAB9;
		border-top: solid;
		border-top-color: #F8FAB9;
		border-bottom: solid;
		border-bottom-color: #F8FAB9;
		border-width: 1px;
	}
	tr.enrollevent td {
		background-color: #E0FFFF;
		border-top: solid;
		border-top-color: #E0FFFF;
		border-bottom: solid;
		border-bottom-color: #E0FFFF;
		border-width: 1px;
	}
	tr.firstOfWeek td {
		border-top: solid;
		border-top-color: #C6D2E1;
		border-top-width: 1px;
		border-width: 1px;
	}
	#raceFieldsHeader td,#startlist td {
		border-bottom-width: 0px;
	}
	tr.selected a {
		color: red;
	}
	tr.selected td {
		border-bottom: solid;
		border-top: solid;
		border-top-color: #8F83C2;
		border-bottom-color: #E4E1F0;
		border-width: 1px;
		background-color: #FFF5DA;
	}
	tr.active td {
		border-bottom: solid;
		border-top: solid;
		border-top-color: #8F83C2;
		border-bottom-color: #E4E1F0;
		border-width: 1px;
		background-color: #D4CDD6;
	}
	/* The actual content of page below header and without navigation*/
	div.datablock {
		margin-top: 3px;
		margin-left: 5px;
		margin-bottom: 5px;
		margin-right: 0px;
		clear: both;
	}
	/* Group end */
	div.datablock span.end {
		margin-bottom: 5px;
	}
	.data {
		margin-left: 15px;
		margin-bottom: 3px;
	}
	.data span { /*width: 100%; */
		
	}
	/* Functions and links in a right column */
	div.function_right,span.function_right {
		position: absolute;
		right: 5px;
		left: 400px;
		width: 350px;
		text-align: right;
	}
	/* Functions and links in a right column */
	div.function_right_enrollment,span.function_right_enrollment {
		position: absolute;
		right: 5px;
		left: 257px;
		width: 500px;
		text-align: right;
	}
	div.section {
		clear: both;
	}
	div.clearer {
		clear: both;
		height: 0px;
	}
	div.divider {
		clear: both;
		height: 9px;
		top: 3px;
	}
	div.divider_stronger {
		clear: both;
		height: 8px;
		top: 3px;
		margin-left: 5px;
		margin-right: 5px;
	}
	div.tabs {
		border-top: 1px solid;
		border-bottom: 1px solid;
		margin: 0px;
		padding: 0px;
		position: relative;
		height: 20px;
		float: left;
		width: 100%;
		display: block;
	}
	p#horsenamereg {
		width: 100%;
		margin-bottom: 5px;
		padding: 0px;
		border: 0px;
		background-color: #D4CDD6;
		border-bottom: 1px solid;
	}
	div#horsepublicheader {
		background-color: #000000;
	}
	#horse_name {
		position: relative;
		left: 5px;
		font-size: 14px;
		font-weight: bold;
	}
	span#horse_regno {
		margin-left: 300px;
		font-weight: bold;
		font-size: 14px;
	}
	span#suspended_registration {
		margin-top: 30px;
		margin-bottom: 30px;
		font-weight: bold;
		font-size: 14px;
	}
	div#basic_border {
		border: 1px solid black;
		margin: 0px;
		margin-right: 3px;
		margin-bottom: 3px;
		padding: 0px;
		position: relative;
		float: left;
	}
	div#basic_border_inner {
		width: 100%;
	}
	div.scrolling {
		overflow: auto;
		height: 200px;
		border: 1px solid;
		padding: 0px;
		margin: 0px
	}
	div.scrolling_narrow {
		height: 192px;
	}

	div.tabbed_header {
		font-size: 14px;
		font-family: verdana;
		font-weight: bold;
		text-transform: uppercase;
	}
	div.tab_content,div.tabbed_common_content {
		position: relative;
		top: 0px;
		padding: 0px;
		margin: 0px;
		border: 1px solid;
	}
	div.tab_content {
		min-height: 600px;
		border-top: 0px;
	}
	div.tabbed_common_content {
		border-bottom: 0px;
	}
	/* Used to outline summary/info areas */
	.info_table {
		margin: 3px;
		border: 1px solid;
		height: 100%;
	}
	/* SPANS */
	div.data span {
		margin-bottom: 1px;
	}
	span.inline,div.inline {
		clear: none;
		display: inline;
	}
	span.save {
		position: relative;
		left: 250px;
	}
	span.tab_1 {
		left: 0px;
		height: 100%;
		width: 150px;
	}
	span.tab_2 {
		left: 150px;
		height: 100%;
		width: 150px;
	}
	span.tab_3 {
		left: 300px;
		height: 100%;
		width: 150px;
	}
	span.tab_4 {
		left: 450px;
		height: 100%;
		width: 150px;
	}
	span.tab_5 {
		left: 600px;
		height: 100%;
		width: 150px;
	}
	span.tab_6 {
		left: 750px;
		height: 100%;
		width: 150px;
	}
	span.tab_7 {
		left: 900px;
		height: 100%;
		width: 150px;
	}
	span.racingTab_1 {
		left: 0px;
		height: 100%;
		width: 100px;
	}
	span.racingTab_2 {
		left: 100px;
		height: 100%;
		width: 100px;
	}
	span.racingTab_3 {
		left: 200px;
		height: 100%;
		width: 100px;
	}
	span.racingTab_4 {
		left: 300px;
		height: 100%;
		width: 100px;
	}
	span.racingTab_5 {
		left: 400px;
		height: 100%;
		width: 100px;
	}
	span.racingTab_6 {
		left: 500px;
		height: 100%;
		width: 100px;
	}
	span.racingTab_7 {
		left: 600px;
		height: 100%;
		width: 100px;
	}
	span.gradingCalTab_1 {
		left: 0px;
		height: 100%;
		width: 150px;
	}
	span.gradingCalTab_2 {
		left: 150px;
		height: 100%;
		width: 170px;
	}
	span.gradingCalTab_3 {
		left: 320px;
		height: 100%;
		width: 350px;
	}
	span.gradingCalTab_4 {
		left: 670px;
		height: 100%;
		width: 130px;
	}
	span.note {
		border: 1px solid;
		margin: 2px;
		padding: 2px;
		font-size: 10px;
	}
	span.shortcuts {
		position: absolute;
		right: 10px;
		top: 5px;
	}
	span.selected_tab {
		display: block;
		text-align: center;
		font-size: 12px;
		font-family: verdana;
		font-weight: bold;
		height: 100%;
		position: absolute;
		top: 0px;
		padding: 0px;
		cursor: pointer;
	}
	span.nonselected_tab {
		display: block;
		text-align: center;
		font-size: 12px;
		font-family: verdana;
		font-weight: bold;
		height: 18px;
		cursor: pointer;
		padding: 0px;
		position: absolute;
	}
	span.note {
		border: 1px solid;
		margin: 2px;
		padding: 2px;
		font-size: 12px;
	}
	span.shortcuts {
		position: absolute;
		right: 10px;
		top: 5px;
	}
	span.table_header {
		text-align: center;
		font-weight: bold;
		margin: 1px;
		height: 15px;
	}
	span.table_header_cell {
		clear: none;
		margin: 1px;
		display: block;
		height: 100%;
	}
	span.table_row {
		height: 21px;
	}
	span.table_cell {
		clear: none;
		margin: 1px;
		display: block;
		height: 100%;
	}
	span.link {
		cursor: pointer;
		text-decoration: underline
	}
	span.tabbed_id {
		position: relative;
		left: 500px;
		clear: none;
	}
	span.programshoes {
		font-weight: bold;
		font-family: sans-serif;
	}
	
	/* GENERAL STYLES */
	.readonly {
		border-left: 1px solid #D4D7E3;
		border-top: 1px solid #D4D7E3;
		border-right: 1px solid #D4D7E3;
		border-bottom: 1px solid #D4D7E3;
	}
	input.readonly {
		border-left: 1px solid #D4D7E3;
		border-top: 1px solid #D4D7E3;
		border-right: 1px solid #D4D7E3;
		border-bottom: 1px solid #D4D7E3;
	}
	.very_narrow {
		width: 25px;
	}
	.narrow {
		width: 50px;
	}
	.mid {
		width: 100px;
	}
	.wider,input.wider {
		width: 150px;
	}
	.wide,input.wide {
		width: 200px;
	}
	.very_wide {
		width: 400px;
	}
	.extra_wide {
		width: 600px;
	}
	.indent_full {
		width: 90%;
	}
	.almost_full {
		width: 95%;
	}
	.nav_full {
		width: 800px;
	}
	.full {
		width: 100%;
	}
	div.tabbed_content,div.results {
		border: 1px solid;
	}
	/* OTHERS */
	label.inline {
		display: inline;
		float: none;
	}

	div.navigation_row {
		clear: both;
		padding-right: 0px;
		padding-left: 4px;
		font-weight: bold;
		font-size: 12px;
		padding-bottom: 1px;
		margin: 0px;
		padding-top: 1px;
		font-family: verdana;
		text-decoration: none
	}
	/* Header text in navigation bar*/
	div.navigation_header {
		position: relative;
		clear: none;
		float: left;
		padding: 0px;
		width: 165px;
		margin: 0px;
		height: 18px;
		vertical-align: bottom;
	}
	div.navigation_header a {
		margin-top: 0px;
		margin-bottom: 0px;
		margin-left: 3px;
	}
	/* Arrow button in navigation bar*/
	div.navigation_arrow {
		position: relative;
		padding: 0px;
		clear: none;
		float: left;
		margin-left: 1px;
		margin-right: 0px;
		margin-top: 0px;
		margin-bottom: 0px;
		vertical-align: middle;
		width: 15px;
		text-align: center;
		height: 18px;
	}
	div.navigation_arrow img {
		text-align: center;
		height: 11px;
		margin-top: 3px;
		padding: 0px;
	}
	/* Page names */
	div.navigation2 {
		text-align: left;
		width: 155px;
		padding: 0px;
		display: none;
		margin-left: 10pt;
	}
	div.navigation2 p {
		margin: 0px;
		padding: 0px;
	}
	div.navigation2 p.first {
		border-top: #acc0e6 1px solid;
		margin-top: 2px;
		padding-top: 1px;
	}
	/**********************************/
	/* Application  specific styles   */
	/*********************************/
	.horse_absence {
		font-weight: normal;
		background-color: white;
		color: red;
		text-decoration: line-through
	}
	a.horse_absence {
		font-weight: bold;
		background-color: white;
		color: red;
		text-decoration: line-through
	}
	.horse_tryout {
		color: gray;
	}
	a.horse_tryout {
		color: gray;
	}
	a.horse_normal {
		font-weight: bold;
	}
	/**************************************/
	/* Horse database                     */
	/**************************************/
	div.horse_common_content {
		margin: 5px;
	}
	span.horse_name {
		float: left;
	}
	span#horse_pic {
		position: relative;
		clear: none;
		top: 5px;
		width: 200px;
	}
	span#horse_id {
		clear: none;
		float: left;
		position: relative;
	}
	/********************************************/
	/* Development                              */
	/********************************************/
	div#stallion,div#mare,div#foal {
		float: left;
		clear: both;
	}
	div#stallion_info,div#mare_info,div#foal_info {
		float: left;
		/*width: 450px;*/
	}
	div#stallion_owner,div#mare_owner,div#foal_location {
		position: absolute;
		clear: none;
		float: left;
		left: 450px;
	}
	/*********************************************/
	/* Registration                              */
	div#registration_info td {
		
	}
	/*********************************************/
	/* Evaluation                               */
	span#evaluation_header span.table_header_cell {
		width: 150px;
	}
	span#evaluation_header span#breeding_start,span#evaluation_header span#breeding_end
		{
		width: 170px;
	}
	span#evaluation_header span#prize {
		width: 70px;
	}
	span#evaluation_link span.table_cell {
		width: 150px;
	}
	span#evaluation_link span#breeding_start,span#evaluation_link span#breeding_end
		{
		width: 170px;
	}
	span#evaluation_link span#prize {
		width: 70px;
	}
	textarea#swe,textarea#eng {
		display: none;
	}

	td.program_divider {
		background-color: black;
	}
	td.pole_divider {
		background-color: #acc0e6;
		height: 1px;
	}
	/********************************************/
	/* Racing                                   */
	/********************************************/
	/********************************************/
	/* Registration                             */
	div.registration {
		
	}
	/*div.categories {
  position: absolute;
  left: 500px;
  width: 500px;
  background-color:#ECEFF2
}*/
	div.categories {
		background-color: #ECEFF2
	}
	div.category,div.dropped {
		width: 500px;
		background-color: #FFFFFF
	}
	div.category table,div.dropped table,div.category_info {
		width: 100%
	}
	div.category table,div.dropped table {
		border: 1px solid #ECEFF2;
	}
	span.category_header {
		border-top: 1px solid #808080;
		border-bottom: 1px solid #808080;
		width: 100%;
		margin-bottom: 1px;
		background-color: #AAB5D5;
		border-left-width: 1px;
		border-right-width: 1px
	}
	p.category_header {
		border-top: 1px solid #808080;
		border-bottom: 1px solid #808080;
		width: 100%;
		margin-bottom: 1px;
		background-color: #AAB5D5;
		border-left-width: 1px;
		border-right-width: 1px
	}
	p.category_header_cancellation {
		border-top: 1px solid #808080;
		border-bottom: 1px solid #808080;
		width: 100%;
		margin-bottom: 1px;
		background-color: #AAB5D5;
		border-left-width: 1px;
		border-right-width: 1px;
		color: red;
		text-decoration: line-through
	}
	span.category_header_cancellation {
		border-top: 1px solid #808080;
		border-bottom: 1px solid #808080;
		width: 100%;
		margin-bottom: 1px;
		background-color: #AAB5D5;
		border-left-width: 1px;
		border-right-width: 1px;
		color: red;
		text-decoration: line-through
	}
	span.category_horse {
		border-bottom: 1px solid #FFFFFF;
		width: 100%;
		background-color: #E6E7EE;
		border-left-width: 1px;
		border-right-width: 1px;
		border-top-width: 1px
	}
	span#horse_info,span#driver_info {
		left: 135px;
		width: 300px;
	}
	span.taken {
		color: red;
	}
	span.wish {
		font-weight: bold
	}
	span.reserve {
		color: #808080;
	}
	div.category_info {
		display: none;
	}
	div.category span {
		clear: none;
	}
	span.category_header_id {
		cursor: pointer;
	}
	div#categories span.index {
		position: relative;
		width: 25px;
		float: left;
		text-align: left;
		clear: left;
	}
	div#category span {
		margin-bottom: 1px;
		background-color: #FFFFFF;
	}
	div#categories span.horse {
		position: relative;
		width: 250px;
		float: left;
	}
	div#categories span.narrow {
		position: relative;
		width: 50px;
		float: left;
	}
	span.input_indent {
		position: relative;
		left: 170px;
	}
	div.dropped {
		display: none;
	}
	div#toggledropped {
		cursor: pointer;
		width: 100%;
	}
	div.showHorseStartList {
		display: block;
	}
	div.hideHorseStartList {
		display: none;
	}
	div.hideRemovedEnrollmentsList {
		display: none;
	}
	div#removed_enrollment_list {
		position: absolute;
		left: 200px;
		top: 250px;
		width: 650px;
		margin: 10px;
		border: 1px solid #336699;
		color: #24496F;
		background-color: #E2ECF5;
		z-index: 2;
	}
	div#horse_start_list {
		position: absolute;
		left: 200px;
		top: 250px;
		width: 600px;
		margin: 10px;
		border: 1px solid #336699;
		color: #24496F;
		background-color: #E2ECF5;
		z-index: 2;
	}
	div#driver_list {
		position: absolute;
		left: 200px;
		top: 300px;
		width: 650px;
		margin: 10px;
		border: 1px solid #336699;
		color: #24496F;
		background-color: #E2ECF5;
		z-index: 2;
	}
	div#driver_list_we {
		position: absolute;
		left: 200px;
		top: 300px;
		width: 650px;
		margin: 10px;
		border: 1px solid #336699;
		color: #24496F;
		background-color: #E2ECF5;
		z-index: 2;
	}
	div#cancelled_driver_list {
		position: absolute;
		left: 200px;
		top: 250px;
		width: 400px;
		margin: 10px;
		border: 1px solid #336699;
		color: #24496F;
		background-color: #E2ECF5;
		z-index: 2;
	}
	div#driverparticipations_list {
		overflow: auto;
		position: absolute;
		left: 400px;
		top: 300px;
		width: 450px;
		height: 650px;
		margin: 10px;
		border: 1px solid #336699;
		color: #24496F;
		background-color: #E2ECF5;
		z-index: 2;
	}
	hr.driverparticipations {
		border: 1px solid #336699
	}
	div#enrollment_error_list {
		position: absolute;
		left: 200px;
		top: 200px;
		width: 650px;
		margin: 10px;
		border: 1px solid #336699;
		color: #24496F;
		background-color: #E2ECF5
	}
	div#enrollment_note_list {
		position: absolute;
		left: 200px;
		top: 200px;
		width: 650px;
		margin: 10px;
		border: 1px solid #336699;
		color: #336699;
		background-color: #CCCCCC
	}
	div#start_info {
		width: 750px;
		margin: 10px;
		border: 1px solid #336699;
		display: none;
		color: #24496F;
		background-color: #E2ECF5
	}
	div#enrolment_categories {
		position: absolute;
		width: 480px;
		border: 1px solid #336699;
		z-index: 2;
	}
	div#divide_categories {
		position: relative;
		width: 870px;
		border: 1px solid #336699;
	}
	p#enrolment_categories_header {
		width: 100%;
		background-color: #4E70B8;
		color: white;
		cursor: move;
		z-index: 0;
	}
	p#divide_categories_header, p#driver_wishes_header {
		width: 100%;
		background-color: #4E70B8;
		color: white;
	}
	div#enrolment_categories p.category_header {
		cursor: pointer;
	}
	div#divide_categories p.category_header {
		cursor: pointer;
	}
	.enrollment_in_categorylist {
		border-bottom: 1px solid white;
		overflow: hidden;
	}
	span#close_categorylist {
		position: absolute;
		right: 5px;
	}
	span#close_categorylist a {
		color: white;
	}
	div.enrollments_cat {
		background-color: #DFE2EE;
		display: none;
	}
	p.enrollment_in_categorylist {
		position: relative;
		height: 17px;
	}
	div#enrolment_categories span.position {
		position: absolute;
		text-align: right;
		left: 3px;
		width: 17px;
	}
	div#enrolment_categories span.horses_and_driver_name {
		position: absolute;
		text-align: left;
		left: 23px;
		width: 225px;
	}
	div#enrolment_categories span.distance {
		position: absolute;
		text-align: right;
		left: 235px;
		width: 50px;
	}
	div#enrolment_categories span.points {
		position: absolute;
		text-align: right;
		left: 270px;
		width: 80px;
	}
	div#enrolment_categories span.win_amount {
		position: absolute;
		text-align: right;
		left: 350px;
		width: 100px;
	}
	div#enrolment_categories span.other {
		position: absolute;
		text-align: right;
		left: 435px;
		width: 40px;
	}
	div#divide_categories span.position {
		position: absolute;
		text-align: right;
		left: 3px;
		width: 17px;
	}
	div#divide_categories span.horses_and_driver_name {
		position: absolute;
		text-align: left;
		left: 23px;
		width: 350px;
	}
	div#divide_categories span.distance {
		position: absolute;
		text-align: right;
		left: 350px;
		width: 50px;
	}
	div#divide_categories span.points {
		position: absolute;
		text-align: right;
		left: 385px;
		width: 60px;
	}
	div#divide_categories span.points_group {
		position: absolute;
		text-align: right;
		left: 395px;
		width: 60px;
	}
	div#divide_categories span.win_amount {
		position: absolute;
		text-align: right;
		left: 445px;
		width: 80px;
	}
	div#divide_categories span.win_amount_group {
		position: absolute;
		text-align: right;
		left: 455px;
		width: 80px;
	}
	div#divide_categories span.other {
		position: absolute;
		text-align: right;
		left: 510px;
		width: 60px;
	}
	div#divide_categories span.move {
		position: absolute;
		text-align: right;
		left: 530px;
		width: 120px;
	}
	div#divide_categories span.drop_and_wildcard {
		position: absolute;
		text-align: right;
		left: 660px;
		width: 100px;
	}
	div#divide_categories span.routine {
		position: absolute;
		text-align: center;
		left: 780px;
		width: 20px;
	}
	div#divide_categories span.comment {
		position: absolute;
		text-align: center;
		left: 845px;
		width: 20px;
	}
	div#divide_categories span.contains {
		cursor: pointer;
		border: solid 1px #AAB5D5;
		background-color: white;
		font-weight: bold;
	}
	div#divide_cats_comment {
		position: absolute;
		left: 200px;
		top: 200px;
		width: 450px;
		margin: 10px;
		z-index: 2;
		border: 1px solid #336699;
		display: none;
		color: #24496F;
		background-color: #E2ECF5
	}
	p.enrollment_in_printlist {
		position: relative;
		height: 17px;
	}
	div#enrollment_print {
		position: relative;
		width: 650px;
	}
	div#enrollment_print span.position {
		position: absolute;
		text-align: right;
		left: 5px;
		width: 20px;
	}
	div#enrollment_print span.horses_and_driver_name {
		position: absolute;
		text-align: left;
		left: 25px;
		width: 350px;
	}
	div#enrollment_print span.distance {
		position: absolute;
		text-align: right;
		left: 375px;
		width: 50px;
	}
	div#enrollment_print span.points {
		position: absolute;
		text-align: right;
		left: 420px;
		width: 60px;
	}
	div#enrollment_print span.win_amount {
		position: absolute;
		text-align: right;
		left: 450px;
		width: 140px;
	}
	div#exam_print {
		position: relative;
		width: 650px;
	}
	/* grading enrollment admin list: */
	div.show_ge_admin_list {
		display: block;
	}
	div.hide_ge_admin_list {
		display: none;
	}
	div#ge_admin_list {
		position: absolute;
		left: 400px;
		top: 300px;
		width: 450px;
		margin: 10px;
		border: 1px solid #336699;
		color: #24496F;
		background-color: #E2ECF5;
		z-index: 2;
	}

	/**************************/ /*  competition_common    */
	div#calendar {
		display: none;
		position: absolute;
		left: 600px;
		top: 20px;
		z-index: 2;
	}
	
	/**************************/ /*  results               */
	div#result_all {
		border: 1px solid white;
		margin: 0px;
		padding: 0px;
	}
	div#result_all span#links {
		right: 5px;
		float: right;
		clear: none;
	}
	div#result_all span.start,span.start {
		border-right: 1px solid #AAAAAA;
		border-top: 1px solid #AAAAAA;
		font-size: 14px;
		font-weight: bold;
		text-align: center;
		width: 22px;
		height: 20px;
		display: block;
		float: left;
		clear: none;
		background-color: #EEEEEE;
	}
	div#result_all  start_first,span.start_first {
		border-left: 1px solid #AAAAAA;
	}
	div#result_all  span.start_selected,span.start_selected {
		background-color: white;
		color: red;
	}
	div#result_all span.start a,span.start a {
		color: #336699;
	}
	div#result_all div#result_startlist {
		border: 1px solid black;
		display: block;
		float: left;
		clear: both;
	}
	div#result_all div#startlist_other {
		display: block;
		float: left;
		clear: both;
		border-bottom: 1px solid black;
	}
	div#result_all div#startlist {
		clear: left;
		border-right: 1px solid black;
		float: left;
	}
	div#result_all div#race_odds_other {
		float: left;
		clear: none;
	}
	div#result_all div#result {
		clear: both;
		position: relative;
	}
	div#result_all div#other { /*border-bottom: 1px solid black;*/
		
	}
	div#result_all div.resultcol {
		float: left;
		clear: none;
		margin: 3px;
	}
	div#result_all div#result_col1,div#result_all div#result_col2 {
		border-right: 1px solid #bac9e0;
		margin-right: 5px;
		padding-right: 5px;
	}
	div#result_all p.header {
		margin: 2px;
		background-color: #BAC9E0;
	}
	div#result_all p {
		margin: 0px;
	}
	div#result_all div#startheader {
		margin: 0px;
	}

	td.raceProgramLinkDisabled {
		color: gray;
	}
	
	/* RaceFields */
	span.absences_header {
		font-weight: bold;
	}
	span.driverChanges_header {
		font-weight: bold;
	}
	td.racefields_bold {
		font-weight: bold;
	}
	a.racefield_horse_absence {
		font-weight: normal;
		background-color: white;
		color: red;
		text-decoration: line-through;
	}
	/* RaceResults */
	.summary {
		font-weight: bold;
	}
	td.raceResultPlacing,td.raceResultProgNumber {
		width: 20px;
	}
	td.raceResultHorseName {
		width: 230px;
	}
	td.raceResultTime {
		width: 60px;
	}
	td.shortNote {
		width: 45px;
	}
	td.raceResultWinOdds {
		width: 30px;
	}
	td.raceResultPrice {
		width: 80px;
	}
	raceResultDistance {
		width: 50px;
	}
	/* RaceCalendar - new RaceEvent link */
	div.new_raceevent_link {
		text-align: right;
	}
	/* RaceCategories - edit RaceEvent link */
	div.edit_raceevent_link {
		text-align: right;
	}
	/* familytree component common */
	table.familytree {
		border-collapse: collapse;
		table-layout: fixed;
		margin-right: 4px;
		/*margin: 6px;*/
	}
	table.familytree td {
		border: 1px solid;
	}
	/* familyinfo page */
	#familyinfotree {
		border: 1px solid;
		padding: 6px;
	}
	#familyinfotree>div {
		margin-bottom: 1ex;
	}
	#familyinfotree table { /*width: 700px;*/
		
	}
	#familyinfotree .father {
		background-color: #cedff7;
	}
	#familyinfotree .mother {
		background-color: #e3dcc3;
	}
	/* familyedit page */
	#familyedittree table { /*width: 750px;*/
		
	}
	#familyedittree .searchField {
		width: 130px
	}
	
	#familyedittree .father {
		background-color: #cedff7;
	}
	#familyedittree .mother {
		background-color: #e3dcc3;
	}
	TABLE.tapestry-palette TH {
		font-size: 9pt;
		font-weight: bold;
		color: white;
		background-color: #330066;
		text-align: center;
	}
	TD.available-cell SELECT {
		font-weight: normal;
		background-color: #FFFFFF;
		width: 200px;
	}
	TD.selected-cell SELECT {
		font-weight: normal;
		background-color: #FFFFFF;
		width: 200px;
	}
	TABLE.tapestry-palette TD.controls {
		text-align: center;
		vertical-align: middle;
		width: 60px;
	}
	/* styles for sortable tables */
	table.sortable th {
		cursor: default;
		padding-right: 20px;
	}
	
	table.sortable th.sorttable_nosort {
		background-image: none;
	}

	/* Intervening data listing alignments */
	td.intervening_list {
		padding-left: 1em;
		padding-right: 0em;
		padding-top: 0em;
		padding-bottom: 0em;
	}
	/* HorseAccountChangeDeclaration*/
	table#horseAccountTable th.right_bordered,table#horseAccountTable td.right_bordered
		{
		border-right: 2px solid gray;
	}
	table#horseAccountTable th.bottom_bordered,table#horseAccountTable td.bottom_bordered
		{
		border-bottom: 2px solid gray;
	}
	table#horseAccountTable td,table#horseAccountTable th {
		padding: 3px;
		border: 1px solid gray;
	}
	table#horseAccountTable {
		border: 2px solid gray;
		border-collapse: collapse;
	}
	/* identifies invoice which is not paid and dueDate has gone */
	.falldue {
		color: red;
	}

	.collapse_header {
		cursor: pointer;
	}
	.collapse {
		display: none;
	}
}