body {
	padding: 0;
	margin: 0;
	background-color: #f1f7fb;
	background-image: url("../images/bg_page.jpg");
	background-repeat: repeat-x;
	font-family: 'Trebuchet MS', Verdana, Arial, sans-serif;
	font-size: 13px;
	color: #003c7f;
}
p {
	margin: 0;
	padding: 0;
}
div#panel {
	width: 1009px;
	margin: 0 auto;
	background-image: url("../images/bg_panel.jpg");
	background-repeat: repeat-y;
}
img.left {
	position: absolute;
	top: 0;
	left: 0;
}
img.right {
	position: absolute;
	top: 0;
	right: 0;
}
div.cleaner {
	clear: both;
	height: 0;
	overflow: hidden;
}
a {
	color: #32608d;
}
a:hover {
	color: #003b81;
}
h1, h2, h3, h4, h5 {
	margin: 0;
	padding: 0;
}
div#body ul, div.dialog div.body ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}
div#body li, div.dialog div.body li {
	padding-left: 20px;
	padding-top: 2px;
	padding-bottom: 2px;
	background-image: url("../images/dash.gif");
	background-repeat: no-repeat;
	background-position: 0px 8px;
}
table {
	empty-cells: show
}
/* header *****************************************************************************************/
div#header {
	position: relative;
	background-image: url("../images/bg_header.jpg");
	background-repeat: no-repeat;
	height: 210px;
	padding: 0 20px;
}
div#login_link {
	position: absolute;
	top: 0;
	right: 20px;
	height: 30px;
	padding: 10px 0px 3px 0px;
/*	color: white;*/
	color: #b5bdc9;
	text-transform: uppercase;
}
div#login_link a {
	color: white;
	text-decoration: none;
}
div#login_link a.login {
	padding-left: 20px;
	background-image: url("../images/icon_login.gif");
	background-repeat: no-repeat;
	background-position: left center;
}
div#login_link a:hover {
	color: #acc4e1;
}
h1#banner {
	position: absolute;
	left: 20;
	top: 141px;
	height: 27px;
	margin: 0;
	padding: 9px 20px 9px 7px;
	color: white;
	font-size: 22px;
	font-weight: normal;
	background-image: url("../images/bg_banner.jpg");
	background-repeat: repeat-x;
	z-index: 100;
}
div#teaser_images {
	position: absolute;
	bottom: 0px;
	left: 31px;
	width: 947px;
	height: 151px;
	overflow: hidden;
	z-index: 10;
}
div#teaser_images ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}
img#swisssailing {
	position: absolute;
	bottom: -5px;
	right: 45px;
	z-index: 100;
}
#header div.logo_background {
	position: absolute;
	bottom: 0; 
	right: 40px;
	width: 140px;
	height: 151px;
	background-color: white;
	z-index: 99;
	filter:alpha(opacity=40);
	-moz-opacity:0.4;
	-khtml-opacity: 0.4;
	opacity: 0.4;
}
/* language nav ***********************************************************************************/
div#language_nav {
	position: absolute;
	top: 0;
	left: 20px;
	height: 30px;
	padding: 10px 23px 3px 20px;
	color: white;
	text-transform: uppercase;
	background-image: url("../images/bg_lang_nav.jpg");
	background-repeat: repeat-x;
}
div#language_nav ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
div#language_nav ul li {
	float: left;
}
div#language_nav ul li a, div#language_nav ul li span.missing {
	display: block;
	padding: 0 7px;
	color: #acc4e1;
	text-decoration: none;
}
div#language_nav ul li.active a, div#language_nav ul li a:hover {
	color: white;
}
div#language_nav ul li span.missing {
	color: #2b559c;
}
/* main nav ***************************************************************************************/
div#mainnav {
	position: relative;
	margin: 0 20px;
	padding-left: 11px;
	padding-top: 7px;
	padding-bottom: 9px;
	background-image: url("../images/bg_main_nav.jpg");
	background-position: bottom left;
	background-repeat: repeat-x;
}
div#mainnav ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}
div#mainnav ul li {
	float: left;
}
div#mainnav ul li a {
	font-size: 16;
	color: #32608d;
	text-transform: uppercase;
	text-decoration: none;
	display: block;
	padding: 0 10px;
	line-height: 31px;
}
div#mainnav ul li.active a, div#mainnav ul li a:hover, div#mainnav ul li.trail a {
	color: white;
	background-color: #3f6a94;
}
div#mainnav ul li strong a {
	font-weight: normal;
}
/* mixed ******************************************************************************************/
div.label {
	float: left;
	width: 170px;
	padding-bottom: 5px;
	color: #3d6b9e;
}
.label_value div.value {
	margin-left: 220px;
}
.label_value a.switch div.value {
	margin-left: 210px;
}
div.text {
	padding: 1em 60px 0 220px;
}
.collapsible a.switch div.value {
/*	font-weight: bold;*/
}
.ui-icon-loading, .ui-state-hover .ui-icon-loading, .ui-state-focus .ui-icon-loading, .ui-state-default .ui-icon-loading {
	background-image: url("sailing-theme/images/loading.gif");
}
ul.issues li.resolved a.switch {
	text-decoration: line-through;
}
/* body *******************************************************************************************/
div#body {
	padding: 0 20px 20px 20px;
}
div#body div.leftcol {
	float: left;
	width: 805px;
}
div#body div.rightcol {
	float: right;
	width: 160px;
	color: #999999;
	font-size: 11px;
}
span.note, div.note {
	font-size: 10px;
	color: #999999;
}
span.date_note {
	padding-left: 50px;
}
/* form *******************************************************************************************/
form {
	margin: 0;
	padding: 0;
}
fieldset {
	padding: 0;
	margin: 0;
	border: none;
}
div.form-wrapper {
	background-color: #EEF4F7;
}
div.form-wrapper fieldset h2 {
	display: block;
	padding: 10px;
	background-color: #d8e6ee;
	background-image: url("../images/bg_label_formtable.jpg");
	background-repeat: repeat-x;
	line-height: 23px;
	border-top: 1px solid #bfd7e2;
}
div.form-wrapper fieldset>div {
	padding: 10px;
	border-top: 1px solid #bfd7e2;
}
div.form-wrapper fieldset label {
	float: left; 
	width: 200px;
}
div.form-wrapper fieldset input, div.form-wrapper fieldset textarea {
	display: block;
	margin-left: 210px;
	width: 440px;
}
div.form-wrapper fieldset input[type=submit] {
	width: auto;
}
div.form-wrapper fieldset span {
	display: block;
	margin-left: 210px;
	font-size: 10px;
	color: #999999;
}
div.form-wrapper fieldset label span {
	margin: 0;
	color: #003B81;
	font-size: 13px;
}
form p.required {
	background-color: white;
	padding: 0.5em 10px;
}
div.success {
	margin-bottom: 2em;
}
/* regatta search form ****************************************************************************/
form.hidden {
	display: none;
}
form.search_form {
	margin: 0;
	padding: 0;
	background-color: #EEF4F7
}
form.search_form div.form_element {
	float: left;
	color: #003b81;
	border-right: 1px solid white;
	border-bottom: 1px solid white;
/*	margin-right: 1px;
	margin-bottom: 1px;*/
}
form.search_form div.form_element div.rows5 {
	height: 110px;
}
form.search_form div.form_element div.rows10 {
	height: 210px;
}
form.search_form div.form_element div.timespan {
	height: 34px;
}
form.search_form div.search {
	text-align: right;
	height: 28px;
}
form.search_form div.quarter label.main, form.search_form div.quarter div.input_element {
	width: 180px;
	overflow: hidden;
}
form.search_form div.half label.main, form.search_form div.half div.input_element {
	width: 381px;
	overflow: hidden;
}
form.search_form div.full {
	width: 803px;
}
form.search_form div.form_element label.main {
	display: block;
	padding: 10px;
	background-color: #d8e6ee;
	background-image: url("../images/bg_label_formtable.jpg");
	background-repeat: repeat-x;
	line-height: 23px;
	border-top: 1px solid #bfd7e2;
}
form.search_form div.form_element div.input_element {
	padding: 10px;
	background-color: #eef4f7;
	border-top: 1px solid #bfd7e2;
}
form.search_form div.quarter select {
	width: 180px;
}
form.search_form ul.selection_list {
	margin: 0;
	padding: 0;
	list-style-type: none;
}
div#body form.search_form ul.selection_list li {
	width: 100%;
	clear: both;
	padding: 0;
	margin: 1px 0;
	background-image: none;
}
form.search_form ul.selection_list input, .select_box_item input {
	float: left;
}
.select_box_item {
}
form.search_form ul.selection_list input {
	float: left;
}
form.search_form ul.selection_list label, form.search_form div.form_element label.inline, .select_box_item label {
	display: block;
	margin-left: 20px;
	padding: 2px;
}
form.search_form div.form_element label.inline {
	margin: 0;
	float: left;
	width: 40px;
}
div.timespan div.left {
	float: left;
	position: relative;
/*	width: 180px;*/
}
form.search_form div.timespan div.left {
	margin-right: 10px;
}
form.search_form div.timespan div.right {
	margin-left: 10px;
}
/*form.search_form div.timespan div img {
	position: absolute;
	top: 0;
	right: 20px;
}*/
div.datepicker {
	float: left;
	position: relative;
	width: 110px;
}
div.datepicker img {
	position: absolute;
	top: 2px;
	right: 0;
}
input.date, input.date_and_time_date {
	width: 80px;
	text-align: center;
}
input.price {
	width: 80px;
	text-align: right;
}
ul.col2 li {
	width: 50%;
	float: left;
	clear: none;
}
form.search_form ul.col2 li {
	clear: none;
}
form input.button {
	background-color: #4f769d;
	color: white;
	font-weight: bold;
	text-transform: uppercase;
	padding: 5px 10px;
	border: none;
}
form input.button:hover {
	background-color: #698eb3;
}
form input.button_disabled {
	background-color: #94aac0;
	color: #d7e5f2;
	font-weight: bold;
	text-transform: uppercase;
	padding: 5px 10px;
	border: none;
}
div.colHalf {
	float: left;
	width: 50%;
}
div.left div {
	padding-right: 10px;
}
div.right div {
	padding-left: 10px;
}
#regatta_listing div.error {
	margin: 5px;
	padding: 5px;
}
/* listings ***************************************************************************************/
div.listing_nav {
	padding: 5px;
}
div.listing_nav .ui-button {
	margin-right: 5px;
}
table.listing {
	color: #003b81;
	background-color: #eef4f7;
	border-collapse: collapse;
	width: 100%;
}
table.listing th {
	background-color: #d8e6ee;
	background-image: url("../images/bg_label_formtable.jpg");
	background-repeat: repeat-x;
	border-top: 1px solid #bfd7e2;
	border-right: 1px solid white;
	text-align: left;
	font-weight: normal;
	color: #003b81;
	padding: 10px;
	padding-right: 30px;
}
table.listing td {
	padding: 10px;
	border-top: 1px solid #bfd7e2;
	border-right: 1px solid white;
	vertical-align: top;
}
table.listing tr.hover td {
	background-color: white;
}
span.regatta_category {
	color: #999999;
	font-size: 9.5px;
	font-style: italic;
/*	display: block;*/
	padding-left: 3px;
	white-space: nowrap;
	margin-bottom: 0.25em;
	padding-left: 3px;
}
table.listing_small {
	width: 100%
}
table.listing_small th {
	border-top: 1px solid #bfd7e2;
	border-right: 1px solid white;
	text-align: left;
	font-weight: normal;
	color: #3D6B9E;
	padding: 4px;
}
table.listing_small td {
	padding: 4px;
	border-top: 1px solid #bfd7e2;
	border-right: 1px solid white;
	vertical-align: top;
}
/*table.listing_small tr:hover td {
	background-color: white;
}*/

/* pagination *************************************************************************************/
ul.pagination {
	margin: 0;
	padding: 0;
	list-style-type: none;
	float: right;
}
div#body ul.pagination li {
	float: left;
	background-image: none;
	padding: 0;
}
ul.pagination .ui-button-text-only .ui-button-text {
	padding-left: 0;
	padding-right: 0;
}
ul.pagination span.ui-button-text {
	width: 29px;
	text-align: center;
}
/*ul.pagination a.more {
	background-image: none;
	background-color: white;
	color: #999999;
}*/
ul.pagination a.more span.ui-button-text {
	width: 20px;
}
/* details ****************************************************************************************/
div#body ul.details {
	margin: 0;
	padding: 0;
	list-style-type: none;
}
div#body ul.details li {
	background-image: none;
	padding: 0;
}
div#body ul.details a.main {
	display: block;
	padding: 10px;
	background-color: #d8e6ee;
	background-image: url("../images/bg_label_formtable.jpg");
	background-repeat: repeat-x;
	line-height: 23px;
	border-top: 1px solid #bfd7e2;
	text-decoration: none;
	text-transform: uppercase;
}
div#body ul.details a.main:hover {
	background-image: url("../images/bg_label_formtable_hover.jpg");
}
div#body ul.details h2 {
	font-size: 13px;
}
div#body ul.details ul.label_value {
	margin: 0;
	padding: 0;
	list-style-type: none;
	clear: both;
	border-bottom: 1px solid #c6d7e2;
	margin-bottom: 7px;
}
div#body ul.label_value li { 
	clear: both;
	border-top: 1px solid #c6d7e2;
	padding: 5px 0px;
	background-image: none;
}
div#body ul.details ul.label_value label.main {
	float: left;
	width: 200px;
	padding-left: 35px;
	padding-bottom: 5px;
	color: #3d6b9e;
}
div#body ul.details ul.label_value li div.value {
	margin-left: 250px;
	width: 555px;
}
div#body ul.details ul.label_value li ul { 
	list-style-type: none;
	margin: 0;
	padding: 0;
}
div#body ul.details ul.label_value li ul li { 
	clear: none;
	border-top: none;
	padding: 2px 0px;
	background-image: url("../images/dash.gif");
	background-repeat: no-repeat;
	background-position: 0 10px;
	padding-left: 10px;
}
ul.details ul.label_value ul li label {
	float: none;
	width: auto;
	padding: 0 5px 0 0;
	color: #003c7f;
}
.dialog {
	display: none;
}
div#body ul.details table.listing_small td.first, div#body ul.details table.listing_small th.first {
	padding-left: 35px;
}
/* collapsible ************************************************************************************/
.collapsible a.switch {
	position: relative;
	display: block;
	padding: 0px 10px;
	text-decoration: none;
}
.collapsible a.switch span.icon {
	display: block;
	position: absolute;
	height: 14px;
	width: 14px;
	overflow: hidden;
	top: 50%;
	margin-top: -8px;
	background-image: url("sailing-theme/images/ui-icons_003b82_256x240.png");
	background-repeat: no-repeat;
	background-position: -65px -17px;
	background-color: white;
	border: 1px solid #003b82;
}
.collapsible a.switch:hover span.icon {
	background-color: #f3f7fb;
}
.collapsible .closed a.switch span.icon {
	background-position: -33px -17px;
}
.collapsible .content {
	padding-top: 0.5em;
}
.collapsible .closed .content {
	display: none;
}
.collapsible a.switch span.text {
	padding-left: 25px;
}
/* regatta details + registration *****************************************************************/
div.registration_button, div.modification_buttons {
	float: right;
}
div.ui-dialog, div.dialog {
	background-color: white;
	background-image: none;
}
div.dialog ol.steps {
	float: left; 
	width: 150px; 
	height: 100%; 
	padding: 0; 
	margin: 0;
	border-right: 1px solid #cccccc;
	list-style-type: none;
}
div.dialog ol.steps li {
	padding: 0px;
	margin: 0;
}
div.dialog ol.steps li span {
	display: block;
	padding: 5px;
}
div.dialog ol.steps li.active {
	color: white;
	background-color: #3f6a94;
}
div.dialog ol.steps li a {
	display: block;
	padding: 5px;
	text-decoration: none;
}
div.dialog ol.steps li a:hover {
	background-color: #e5f1fd;
}
div.dialog ol.steps li.active a, div.dialog ol.steps li.active a:hover {
	color: white;
	background-color: #3f6a94;
}
div.dialog div.body {
	position: relative;
	right: -10px;
	padding-right: 10px;
	float: right;
	overflow: auto;
	height: 100%;
	width: 460px;
}
div.dialog_800 div.body {
	width: 600px;
}
div.dialog .substep {
	display: none;
	margin-top: 10px;
}
div.dialog div.input_row {
	clear: both;
	border-top: 1px solid #cccccc;
}
div.dialog div.input_row_level2 {
	margin: 2px 0;
}
div.dialog div.input_row_level2_first {
	margin-top: 0;
}
div.dialog div.input_row_level2_last {
	margin-bottom: 0;
}
div.dialog div.input_row label {
	float: left;
	width: 120px;
	padding-top: 5px;
	padding-bottom: 3px;
}
div.dialog_800 div.input_row label {
	width: 150px;
}
div.dialog div.input_row div.input_element {
	float: left;
	margin: 3px 0 3px 10px;
	width: 305px;
}
div.dialog_800 div.input_row div.input_element {
	width: 420px;
}
/*div.dialog div.input_row div.input_element {
	margin-top: 3px;
	margin-left: 130px;
	margin-bottom: 3px;
}*/
/*	padding-top: 3px;*/
/*	border-top: 1px solid #cccccc;*/
div.dialog div.buttons {
	clear: both;
	text-align: right;
}
div.dialog div.input_row label.inline, div.dialog div.input_row label.radio, div.dialog div.input_row label.radio_label {
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
	padding-right: 1em;
}
div.dialog div.input_row label.inline {
	padding-right: 3px;
}
div.dialog div.input_element label {
	width: 120px;
}
div.dialog div.buttons {
	padding-top: 1em;
}
div.dialog div.error_on_dialog {
	background-color: #e4d1d1;
}
div.dialog .error {
	padding: 0.5em;
	margin: 0.5em 0;
	overflow: hidden;
}
div.dialog .error .ui-icon, #regatta_listing .error .ui-icon {
	float: left;
}
div.dialog .error .message {
	margin-left: 20px;
}
div.dialog label.error_label {
	color: rgb(205, 10, 10);
}
div.dialog .error_message {
	display: none;
	color: rgb(205, 10, 10);
}
div.dialog_800 input.full, div.dialog_800 select.full, div.dialog_800 textarea.full {
	width: 400px;
}
div.dialog_800 input.full_level2, div.dialog_800 select.full_level2, div.dialog_800 textarea.full_level2 {
	width: 290px;
}
div.dialog input.number_small {
	width: 20px;
	text-align: center;
}
div.dialog input.zip {
	width: 60px;
}
div.dialog input.time {
	width: 40px;
	text-align: center;
}
div.dialog div.timespan div img {
	position: absolute;
	top: 0;
	right: -20px;
}
div.dialog div.timespan div.left {
	float: left;
	position: relative;
	margin-right: 40px;
}
div.dialog .template {
	display: none;
}
/* footer *****************************************************************************************/
div#footer {
	position: relative;
	background-image: url("../images/bg_footer.jpg");
	background-repeat: no-repeat;
	height: 72px;
	padding: 0 20px;
	color: #a2bacf;
}
div#footer ul.footer_nav {
	margin: 0;
	padding: 10px 5px;
	list-style-type: none;
	line-height: 13px;
}
div#footer ul.footer_nav li {
	float: left;
	line-height: 25px;
}
div#footer ul.footer_nav li a {
	display: block;
	padding: 0 10px;
	border-right: 1px solid #3f6a94;
	color: #3f6a94;
	text-transform: uppercase;
	text-decoration: none;
}
div#footer ul.footer_nav li.last a, div#footer ul.footer_nav li[last] a {
	border-right: none;
}
div#footer ul.footer_nav li a:hover {
	color: #7193b5;
}
div#footer ul.footer_nav li.active a {
	color: white;
	background-color: #3F6A94;
}
div#footer div.credits {
	float: right;
	padding: 15px 15px;
}
div#footer a {
	text-decoration: none;
	color: #8cabc6;
}
div#footer a:hover {
	color: #3f6a94;
}
/* specials ***************************************************************************************/
div.admin {
	display: none;
	margin: 5px 0;
	padding: 5px;
	background-color: #eeeeee;
	border: 2px dashed #cccccc;
	color: #666666;
	font-size: 10px;
}