/* Table cell for registration form */
.wide_table_cell
{
	min-width:40em;
}	

.underline
{
	text-decoration: underline;
}

.float_left
{
	float: left;
	padding: 0px 20px 0px 0px;
}

.center
{
	text-align: center;
}


.blue_background
{
	background-color: rgb(156, 237, 255);
}

.green_background_wlb
{
	border-left-style: solid;
	border-left-color: white;
	border-left-width: 5px;
	background-color: rgb(58, 234, 0);
}

.green_background
{
	background-color: rgb(58, 234, 0);
}

.blue_text
{
	color: #1a1aff;
}

img.inline
{
	display: inline-block;
}

img.black_border
{
	border: 1px solid black;
}

h2 { line-height: 110%; }
th, td { margin: 0; padding: 2px 5px; }

/* Adjust the horizontal rule to be at the bottom of the cell */
hr { 
    display: block;
    margin-top: 0.95em;
    margin-bottom: 0.05em;
    margin-left: auto;
    margin-right: auto;
    border-style: inset;
    border-width: 1px;
} 

/* Table cell for registration form */
.wide_table_cell { min-width:40em; }	

.underline { text-decoration: underline; }

.enclosing {
	display:inline-block;
    margin: 3px 5px;
    float: left;
}

.flag {
	float:left;
	width:70px;
}

.flag img { max-width: 100% }

.flagaction {
	float:left;
    margin: 5px 5px;
	width:3em;
	text-align: center;
}

.flagdesc {
	float:left;
	width:10em;
}

.flagwidedesc {
	float:left;
	max-width:80%;
}

.clear {
    clear: both;
}

ol.n {
	counter-reset: ol-counter;
	list-style-position: inside;
	list-style-type: none;
}

ol.n li:before { 
	content: counter(ol-counter, decimal) ")\0000a0\0000a0";
	counter-increment: ol-counter;
	font-weight: bold;
}

ol.n li {
	padding: 10px 0 0px 10px;
	text-indent: -1.7em;
}


ol.ua {
	counter-reset: olua-counter;
	list-style-position: inside;
	list-style-type: none;
}

ol.ua li:before { 
	content: counter(olua-counter, upper-alpha) ")\0000a0\0000a0";
	counter-increment: olua-counter;
	font-weight: bold;
}

ol.ua li {
	padding: 10px 0 0px 10px;
	text-indent: -1.7em;
}

ol.lr {
	counter-reset: lr-counter;
	list-style-position: inside;
	list-style-type: none;
}

ol.lr li:before { 
	content: counter(lr-counter, lower-roman) ")\0000a0\0000a0";
	counter-increment: olua-counter;
	font-weight: bold;
}

ol.lr li {
	padding: 10px 0 0px 10px;
	text-indent: -1.7em;
}

ol.ua li ol.n li:before { 
	content: counter(ol-counter, decimal) ")\0000a0\0000a0";
	counter-increment: ol-counter;
	font-weight: bold;
}

ol.ua li ul.bullet li:before {
	content: "\002022\0000a0\0000a0";
	counter-increment: ulbullet-counter;
	font-weight: bold;
}

ol.n li ul.bullet li:before {
	content: "\002022\0000a0\0000a0";
	counter-increment: ulbullet-counter;
	font-weight: bold;
}

ol.ua li ol.lr li:before { 
	content: "(" counter(lr-counter, lower-roman) ")\0000a0\0000a0";
	counter-increment: lr-counter;
	font-weight: bold;
}


ol.image_right li:after {clear: right;}
ol.image_right li img {float:right;}

dl.image_right dd:after {clear: right;}
dl.image_right dd img {float:right;}

ul.bullet { 
	counter-reset: ulbullet-counter;
	list-style-type: none;
	list-style-position: inside;
}

/* numbered h3 and h4 headings */
body {
	counter-reset: h3counter;
	counter-reset: h4counter;
}

h2 {
	counter-reset: h3counter;
}

h3:before {
	content: counter(h3counter) ".\0000a0\0000a0";
	counter-increment: h3counter;
}

h3 {
	counter-reset: h4counter;
}
	
h4:before {
	content: counter(h3counter) "." counter(h4counter) ".\0000a0\0000a0";
	counter-increment: h4counter;
}
	

p.image_right img{float:right;}

#race_entry section{ margin:2px; font-size:15px;}
#race_entry div.inputselect{display:inline-block; width:240px;}
#race_entry label.dycbutton{display:inline;}
#race_entry input[type="checkbox"]{margin: 0px 5px 0px 10px;}
#race_entry input[type="radio"]{margin: 0px 5px 0px 10px;}
#race_entry input[type="text"]{width:80%;}

#race_entry div.inputtext{display:inline-block; width:100%;}
#race_entry div.inputtext label{display:inline-block; width:15%; text-align:right;}


/* Make the required submit button hidden*/
.hidden
{
	display: none;
}

.pagebreak{ page-break-after: always; }

@media print
{

	article { page-break-after: always; }
	article.race_entry_form
		{
		line-height: 98%;
		}
}

