/****************************************************************************************************************
	Tags
****************************************************************************************************************/
body
{
	margin:0 0 0 0;
	background:url(../Images/footer.png) repeat-x #037cae 50% 100%;
	min-height:900px; 
}

a
{
	text-decoration:none;
}
h1, h2, h3, h4, h5
{
	padding: 0px;
	margin: 0;
	margin-top: 8px;
}
h1, h2
{
	margin-bottom: 8px;
}

p
{
	margin: 0px;
	padding: 0px;	
}

/****************************************************************************************************************
	Useful Classes
****************************************************************************************************************/

.clearboth
{
	line-height:1px;
	clear:both;					
}

.bold
{
	font-weight:bold;
}

.noBorder
{
	border:none;
}

.padding {
	padding:5px;
}


/****************************************************************************************************************
	News
****************************************************************************************************************/

.newsBox
{
	margin:0 0 15px 0;
	padding:0;
	/*border:1px solid #ccc;*/
	/*background:#F8F8F8;*/
	
}




#maincontent .newsText p
{
	padding:5px;
	font-size:13px;
	
}

.newsFooter a, .newsFooter span
{
	float:right;
}
.newsBox .newsTopic{
	color: #023341;
}


.newsBox .newsTopic h2
{
	font-size:13px;
	padding-top: 0;
	padding-bottom: 3px;
}
#maincontent  .newsTopic a:link,#maincontent .newsTopic a:visited, 
#maincontent .newsTopic a:active{
	color: #023341;
}

.newsBox .newsTopic a h2
{
	font-size:14px;
	padding-top: 0;
	padding-bottom: 3px;
}

#maincontent .newsTopic a:hover{
	
	color:#EA5200;
}




/*#FCC073
 * .newsBox a h2
{
	color: #446889;
	color: #fff;
	padding-top: 5px;
	padding-bottom: 3px;
	margin-left: 10px;
}
 * 
 * 
 * 
 * */



.newsBox .newsFooter{
	height:30px;
	background:url("../Images/footnote.png") no-repeat center center;
}

.newsBox .newsText{ 
padding: 20px 0 10px 2px;
	
 }
 
.newsBox div.newsText{ 
	font-size:16px;
	font-family:Arial, Helvetica, sans-serif;
 }

.metaDataBar{
	color:#54ACD1;
	font-size:0.95em;
	padding:0 0 0 2px;
	font-family:Arial, Helvetica, sans-serif;
	
}

.metaDataBar span.newsDate, .metaDataBar span.newsCom,
.metaDataBar span.editBox,.metaDataBar span.delBox,
.metaDataBar span.newsComDis {

	padding:4px 0 4px 18px;
}

.metaDataBar span.newsDate{
	background:url("../Images/ui_icons/clock.png") no-repeat center left;
} 

.metaDataBar span.newsCom{
	background:url("../Images/ui_icons/balloon_left.png") no-repeat center left;
}

.metaDataBar span.newsComDis{
	background:url("../Images/ui_icons/balloon_lock.png") no-repeat center left;
}

.metaDataBar span.editBox{
	
	background:url("../Images/ui_icons/edit.png") no-repeat center left;
}

.metaDataBar span.delBox {
	background:url("../Images/ui_icons/cross.png") no-repeat center left;
}
/* ui_icons/exclamation_octagon_frame.png */
/****************************************************************************************************************
	Comments
****************************************************************************************************************/

blockquote
{
	border: 1px #54acd1 solid;
	border-left: 5px #54acd1 solid;
	background: #fff;
	margin: 10px 0;
	padding: 10px;
	font-style:italic;
}

.comment 
{
	width:100%;
	height:60px;
}

.commentCredits 
{
	margin-bottom: 20px;
	padding: 5px 0 20px 8px;
}

.commentCredits p 
{
	margin: 0;
	padding: 0;
	line-height: normal;
}

/****************************************************************************************************************
	Header
****************************************************************************************************************/

.headerbar{
	background-color:#a9e0f7;
	width:100%;
	padding:0 0 3px 0;
}

#header
{
	margin: 0 auto -5px auto;
	width:1024px;
}

#headerText
{
	background: url(../Images/logotype.png) no-repeat top left;
	font-size:20px;
	font-family:"Lucida Grande", arial, sans-serif;
	font-weight:300;	
	padding:20px 0 15px 80px;
	float:left;
	margin:15px 0px 0px 180px;
	color:#446889;
	width: 360px;
	height: 30px;
}

/****************************************************************************************************************
	Content
****************************************************************************************************************/

#containerwrap
{
	background:url(../Images/segelBild.png) repeat-x transparent 50% 0%;
	width:100%;
}

#container
{
	margin: 0 auto 50px auto;
	width:1024px;
	padding:0;
}

#contentHolder
{
	width:100%;
	float:left;
}

#content
{
	margin:11px 0 0 0;
	float:left;
	width:800px;
	background:url(../Images/box.png) repeat-y;
}

#contentwrap
{
	padding:0 0 0 40px;
	font-family:"Lucida Grande", arial, sans-serif;
	font-size:12px;
	color: #023341;
	min-height:500px;
}

#maincontent
{
	width:480px;
	float:left;
	margin:0 25px 25px 0;
	min-height: 900px;
}

#maincontent p{ 
		font-family: Helvetica, Arial, sans-serif;
		font-size: 12px;
		font-style: normal;
		font-weight: normal;
		text-transform: none;
		letter-spacing: normal;
		line-height: 1.45em;
		}
	
#maincontent a:link,#maincontent a:visited,#maincontent a:active{
	color: #EA5200;
	text-decoration:none;
}
#maincontent a:hover{
		text-decoration:underline;
	}


#boxtop
{
	float:left;
	margin:-25px 0 0 0;
	width:800px;
	background:url(../Images/topbox.png);
	height:25px;
}

#boxbottom
{
	float:right;
	margin:0 0 -25px 0;
	width:800px;
	background:url(../Images/bottombox.png);
	height:25px;	
}


.description{
	font-size:0.8em;
	font-weight:bold;
	font-family:Arial, Helvetica, sans-serif;
	
}

/****************************************************************************************************************
	Quick Navigation
****************************************************************************************************************/

#quickNav
{
	height:30px;
	text-align:right;
	padding:0 35px 0 0;
}

#quickNav select
{
	border:1px solid #9ca1a3;
	padding:1px;
	width:176px;
	text-align:right;
	font-family:"Lucida Grande", arial, sans-serif;
	font-size:12px;
}

#quickNav input
{
	width:30px;
}

select .optHeader
{
	background-color: #BBC5cB;
	font-weight : bold;
	border-top : thin solid;
	border-bottom: thin solid;
	border-right: thin solid;
	color:#000000;
}

/****************************************************************************************************************
	Sub Content
****************************************************************************************************************/

.subContent
{
	margin-top:10px;
	width:210px;
	float:left;
	background-color:#f8f8f8;
	margin-bottom:10px;
	margin-left:10px;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 9px;
	font-style: normal;
	font-weight: normal;
	text-transform: uppercase;
	letter-spacing: normal;
	line-height: 1.6em;	
}

.subContent h3
{
	padding:10px 10px 10px 10px;
	background:#54acd1;	
	color:#fff;
	margin:0 0 0 0;
	padding:5px 10px 5px 10px;
	background:#54acd1;	
	color:#fff;
	font-size:12px;
	font-style: normal;
	font-weight: normal;
	text-transform: uppercase;
	letter-spacing: normal;
	line-height: 18px;	
	
}

.subContent p
{
	margin:10px;
}

/****************************************************************************************************************
	Main Navigation
****************************************************************************************************************/

/*** Text ***/

#topMenu li a
	{
	
	font-family:"Lucida Grande", arial, sans-serif;	
	font-size:12px;
	font-weight: bold;
	
	}
	
	#topMenu li.active a,#topMenu li.active a:hover,
	#topMenu li.active a:active,#topMenu li.active a:visited {
	
		text-decoration:none;
	}
	
/*** Position and Color ***/
	
#topMenu
{
	padding:5px 60px 5px 0;
	float:right;
}

#topMenu ul
{
	list-style-type:none;
	padding:6px 0 0 0;
	margin:0 15px 0 0;
	letter-spacing:3px;
}

#topMenu li
{
	display:inline;
	letter-spacing:1px;
	padding:0 0 0 0;
	margin:0 0px 0 0px;
	
}

#topMenu li a
{
	background:transparent url(../Images/tab_left.png) no-repeat scroll left top;
	float:left;
	margin:0 0 0 2px;
	padding:0 0 0 4px;
	text-decoration:none;
	z-index: 1000;
	position:relative;
}

#topMenu li a span
{
	background:transparent url(../Images/tab_right.png) no-repeat scroll right top;
	color:#000;
	display:block;
	float:left;
	padding:10px 10px 10px 6px;
	z-index: 1000;
	position:relative;
}

#topMenu li a:hover
{
	
	text-decoration:underline;
}

#topMenu li.active a,#topMenu li.active a:hover,#topMenu li.active a:active,#topMenu li.active a:visited {
	display:block;
	border-bottom:3px solid #fff;
	color:#000;
	z-index: 1000;
	position:relative;
}

#topMenu li.active a 
{
		background:transparent url(../Images/tabActive_left.png) no-repeat scroll left top;
}

#topMenu li.active a span 
{
	background:transparent url(../Images/tabActive_right.png) no-repeat scroll right top;
}

	
/****************************************************************************************************************
	Sub Navigation
****************************************************************************************************************/
#subnav 
{
	width: 170px;
	float: left;
	overflow: hidden;
	padding-top: 15px;
	margin-top: 260px;
	position: relative;
	right: -6px;
}

#subnav ul 
{
	width: 100%;
	display: block;
	margin: 0;
	padding: 0;
}

#subnav li a{
	margin: 0 0 0 0px;
	padding: 0 0 0 0px;
}

#subnav li, #subnav li a 
{
	display: block;
	height: 1%;
}

#subnav li 
{
	background: none;
	padding: 0 0 0 0px;
	
}

#subnav li.active 
{
	padding: 0 0 0 0;
	background: url(../Images/subtabTop.png) no-repeat 0px 0;
	/*background: url(../Images/subnav_active.png) no-repeat 0 0;*/
	/*height: 47px;*/
}

#subnav li.active a
{
	padding: 0 0 0 18px;
	background: url(../Images/subtabBot.png) no-repeat 0 100%;
	/*height: 47px;*/
	
}

#subnav li a:active, #subnav li a:visited, #subnav li a:link 
{
	color: #c5dde8;
	font-family:"Lucida Grande", arial, sans-serif;	
	font-size:13px;				
	font-weight:bold;
	line-height: 14px;
	text-decoration: none;
	padding-top: 13px;
	padding-bottom: 15px;
	text-align:left;
	padding-right:10px;
	padding-left:20px;
}

#subnav li.active a
{
	color:#30658d;
}

#subnav li a:hover 
{ 
	color:#fff;
	text-decoration:underline; 
}

#subnav li.active a:hover 
{
	color: #30658d;
	text-decoration:none;
}
/****************************************************************************************************************
	Footer
****************************************************************************************************************/

#footer{
		color:#fff;
		
		width:1024px;
		margin:25px auto 150px auto;	
	}
	 #copyright {
			float:left;
			padding:0 0 0 180px;
			margin:0px 0 60px 0;
		}
		
#footer ul { list-style-type:none;
	float:right;
	padding:0px 60px 0 0;
	margin:0px;
	}
#footer ul li {
	display:inline;
	letter-spacing:1px;	
	}
#footer ul li a {
		float:left;
		padding:0px 5px 3px 5px;
		margin-bottom:-1px;
		color:#fff;
		}
#footer ul li a:hover {
	text-decoration:underline;
	}	

#footer{
		font-family:"Lucida Grande", arial, sans-serif;
		font-size:11px;	
	}


/****************************************************************************************************************
	Error Messages
****************************************************************************************************************/

.messageSuccess
{
	background-image:url(../Images/ui_icons/tick_shield.png);
	background-repeat:no-repeat;
	background-position:5px 3px;
	padding:5px;
	border:1px solid green;
	background-color:#eef4d3;
	color:Green;
	font-weight:bold;
	margin-bottom:15px;
	margin-top:15px;
}

.messageError
{
	background-image:url(../Images/ui_icons/cross_shield.png);
	background-repeat:no-repeat;
	background-position:5px 3px;
	padding:5px;
	border:1px solid #D04544;
	background-color:#f7cbca;
	color:#D04544;
	font-weight:bold;
	margin-bottom:15px;
	margin-top:15px;
	width:100%;
}

.messageError p
{
	padding:0;
	margin:0;
}

.statusText
{
	margin: 5px 0px 5px 30px;
	padding:0;
}

/****************************************************************************************************************
	Forms
****************************************************************************************************************/

.subContent  input[type="text"],.subContent input[type="password"]	{
			width:150px;
		}
	
	
	


fieldset 	{
				margin:1em 0;
				padding:1em;
				border:1px solid #ccc;
				background:#F8F8F8;	
			}
			
legend	{
			font-weight:bold;
		}

label 	{
			display:block;
			float:left;
			width:10em;
		}
		
label.error{
	background:url("../Images/ui_icons/cross_circle.png") no-repeat 0px 0px;
	float:none;
	display:block;
	padding-left: 18px;
  	margin-top:5px;
  	padding-bottom: 1px;
  	font-weight: bold;
  	color: #EA5200;
  	margin-left:5px;
  	font-size:10px;
  	font-weight:normal;
  	margin-left:14em;
  	width:100%;
  	
	}
label.checked {
  background:url("images/checked.gif") no-repeat 0px 0px;
  display:inline;
  margin:0 0 0 5px;
  padding:2px 5px 2px 10px;
}	

		
input[type="text"], input[type="password"]	{
			width:200px;
		}
input[type="text"]:focus,input[type="password"]:focus, textarea:focus{
		background:#ffc;
	}
		
input[type="text"],input[type="password"],textarea{
	border-top:2px solid #999;
	border-left:2px solid #999;
	border-bottom:1px solid #ccc;
	border-right:1px solid #ccc;
	padding:5px;
}

textarea{
		width:430px;
		height:280px;
	}
	
.required{
		font-size:0.75em;
		color: #EA5200;
	}

.inforuta{
	position:relative;
	margin:1em 0;
	padding:1em;
	border:1px solid #8EA5AE;
	background:#E6F5FB;		
}
.inforuta_special{
	float:left;
	margin:1em 0;
	padding:1em;
	width: 450px;
	border:1px solid #8EA5AE;
	background:#E6F5FB;		
}
	
.inforuta dl {
	
	width: 100%;
	
	}
.inforuta  dt {
	position:relative;
	left:15px;
	top:-19px;
	margin:0 0 0px 8em;
	padding:0 0 0 0;
	width:300px;
	font-style:italic;
}
.inforuta  dd {
	font-weight: 300;
	margin:0 0 0px 0;
	padding:0 0 0 0;
	position:relative;
	left:0px;
	width:7em;
	}

.inforuta h3
{
	padding: 0px;
	margin: 0px;
}	
.inforuta ul
{
	margin: 2px 0px 2px -15px;
}
.inforuta li 
{
	list-style-type: square;
	list-style-position: outside;
	margin-bottom: 2px;
}

#registerRace label, #crewReg label,#boatReg label
{
	display:block;
	width:98%;
}

#pickRace label{
	display:inline;
	float:none;
	width:200px;
	
}
	
.addPadding p {
	padding:5px;
}
	
/****************************************************************************************************************
	Formstepper
****************************************************************************************************************/

#stepview{
	margin-bottom:15px;
	
}
#stepview ul{
	list-style-type:none;
	padding:15px 0 0 0;
	margin:0px;
	font-size:10px;
	font-family:Arial, Helvetica, sans-serif;
	
}

#stepview ul li{
	color:#30658d;
	background:url("../Images/step.png") no-repeat 100% 50%;
	display:inline;
	padding:5px 40px 5px 8px;
	margin: 0 0 0 5px;
	
}


#stepview ul .currentStep{
	color:#f8f8f8;
	background:url("../Images/currentStep.png") no-repeat 100% 50%;
	
}


/****************************************************************************************************************
	Add Race Form, Boatreg, crewreg
****************************************************************************************************************/



#registerRace label .help
{
	font-size:10px;
}

form p span{
	padding-right:25px;
}

#AddMainInputText label.newRaceError,#boatReg label.newRaceError,#crewReg label.newRaceError,
#BBoatSpecTable label.newRaceError
{
	background:url("../Images/ui_icons/cross_circle.png") no-repeat left center;
	float:none;
	display:block;
	padding-left: 18px;	
  	margin-top:5px;
  	padding-top: 2px;
  	font-weight: bold;
  	color: #E50000;
  	font-size:10px;
  	font-weight:normal;	
	margin-left:120px;
}

#AddMainInputText label.valid, #boatReg label.valid, #crewReg label.valid ,#BBoatSpecTable label.valid {
  	background:url("../Images/ui_icons/tick_circle.png") no-repeat center left;
	float:none;
	display:block;
	padding-left: 18px;
  	margin-top:5px;
  	padding-top: 2px;
  	font-weight: bold;
  	color: #007868;
  	font-size:10px;
  	font-weight:normal;
	margin-left:120px;
}


label.taChecked{
	background:url("../Images/checked.gif") no-repeat 0px 0px;
}

#AddMainInputText label.raceinfoError{
	
	margin-left:0px;
}
#AddMainInputText label.raceinfoValid{
	
	 margin-left:0px;
}




/****************************************************************************************************************
	Add Comment Form
****************************************************************************************************************/

#addCommentForm p
{
	padding:5px;
}

#addComText 
{
	width:250px;
	height:100px;
	margin-bottom:2px;
}

#addCommentForm label.newRaceError,#AddMainInputText label.newRaceError,#addNewsForm label.newRaceError
{
	background:url("../Images/ui_icons/cross_circle.png") no-repeat left center;
	float:none;
	display:block;
	margin-left:120px;
	padding-left: 18px;	
  	margin-top:5px;
  	padding-top: 2px; 
  	font-weight: bold;
  	color: #E50000;
  	font-size:11px;
  	font-weight:normal;	
	width:300px;
}

#addCommentForm label.valid, #AddMainInputText label.valid ,#addNewsForm label.valid{
  	background:url("../Images/ui_icons/tick_circle.png") no-repeat center left;
	float:none;
	margin-left:120px;
	display:block;
	padding-left: 18px;
  	margin-top:5px;
  	padding-top: 2px;
  	font-weight: bold;
  	color: #007868;
  	font-size:10px;
  	font-weight:normal;
}



/****************************************************************************************************************
	Add News Form
****************************************************************************************************************/

#AddMainInputText p
{
	padding:5px;
}

#mainInputText 
{
	width:430px;
	height:300px;
}
/**  Rättar till felmeddelanden för rutor som börjar längst till vänster **/
#AddMainInputText label.newsError,#addNewsForm label.newsError,#AddMainInputText label.raceinfoError,
#boatReg label.newRaceError, #crewReg label.newRaceError
{
	width:400px;
	margin-left:0px;
	
}
/**  Rättar till meddelanden för rutor som börjar längst till vänster **/
#AddMainInputText label.newsValid,#addNewsForm label.newsValid,#AddMainInputText label.raceinfoValid,
#boatReg label.valid, #crewReg label.valid
	
{
	width:400px;
	margin-left:0px;
}


	
/****************************************************************************************************************
	Tables
****************************************************************************************************************/	




table{
	border-collapse: collapse;
	width: 50em;
	border: 1px solid #666;
	font-size:0.8em;
	color:#000;
	margin: 15px 0;
	
}


#maincontent td a:link, #maincontent td  a:active, #maincontent td  a:visited {
	
	color:#000;
	text-decoration:none;
}

#maincontent td a:hover {
	
	color:#000;
	text-decoration:underline;
}


th{
	color:#fff;
}
th, td {
	padding:0.5em 1em;
}

caption {
	font-size: 0.8em;
	font-weight:bold;
	margin:1em 0;
}


/*

col {
	border-right:1px solid #9ab8c4;
}

col#regClosesCol, .lastcell {
	border:none;
}*/

thead {
	background: #54acd1 url(../Images/th_back.png) repeat-x center;
	border-top:1px solid #025d82;
	border-bottom:1px solid #025d82;
}
th {
	font-weight:normal;
	text-align:left;
}

.odd {
	background-color:#edf5ff;
}
.even {
	background-color:#fff;
}

tr:hover,#maincontent tr:hover td a,#maincontent tr:hover td a:visited,#maincontent tr:hover td a:active {
	background-color:#3d80df;
	color:#fff;
}
#maincontent tr:hover td a,#maincontent tr:hover td a:visited,#maincontent tr:hover td a:active{
	text-decoration:underline;
}


thead tr:hover {
	background-color:transparent;
	color:inherit;
}


/****************************************************************************************************************
	Boat Table
****************************************************************************************************************/	
/*
.BBoatSpecTable 
{
	width:500px;
	border:1px solid black;
	border-collapse:collapse;
}

.BBoatSpecTable td
{
	padding:5px;
}

.BBoatTable
{
	width:500px;
	border:1px solid black;
	border-collapse:collapse;
}

.BBoatTable th
{
	border-bottom:1px solid black;
	padding:5px;
	text-align:left;
}

.BBoatTable td
{
	padding:5px;
}

.BSailNumber
{
	width:90px;
}

.BCountry
{
	width:80px;
}

.BBoatName
{
	width:250px;
}

.BWebsite
{
	width:100px;
}

.BCheckBox
{
	width:30px;
}

.BButton
{
	width:50px;
}

.BDeleteBtn
{
	border:1px solid black;
	font-size:12px;
}

.BSaveBtn
{
	width:500px;
	border:1px solid black;
	padding:5px;
	font-size:12px;
	text-align:left;
	font-weight:bold;
	background-color:#eef4d3;
}

.BBoatTable .even 
{
	background-color:#E6E6E6;
}
*/
/****************************************************************************************************************
	Horizontal menu
****************************************************************************************************************/

.navcontainer
{
	margin-bottom: 20px;
	border-top: 1px solid #999;
	z-index: 1;
}

.navcontainer ul
{
	list-style-type: none;
	margin-top: -8px;
	padding: 0;
	position: relative;
	z-index: 2;
}

.navcontainer li
{
	display: inline;
	text-align: center;
	margin: 0 5px;
}

.navcontainer li a
{
	padding: 1px 7px;
	color: #666;
	background-color: #fff;
	border: 1px solid #ccc;
	text-decoration: none;
}

.navcontainer li a:hover
{
	color: #000;
	background-color: #e6e6e6;
}

.navcontainer li a#current
{
	color: #000;
	border: 1px solid #666;
	border-top: 2px solid #666;
	border-bottom: 2px solid #666;
}

/****************************************************************************************************************
	BBCode
****************************************************************************************************************/

.btnbbcode 
{
	background-color:#EFEFEF;
	border:1px solid #666666;
	color:#000000;
	font-family:"Lucida Grande",Verdana,Helvetica,sans-serif;
	font-size:0.85em;
	font-weight:normal;
}

#addNewsForm .helpline
{
	width:100%;
	border-style:none;
	color:black;
	padding:2px;
	font-size:0.85em;
	background-color: #F8F8F8;
}

#AddMainInputText .helpline
{
	width:100%;
	border-style:none;
	color:black;
	padding:2px;
	font-size:0.85em;
	background-color: #F8F8F8;
}

/****************************************************************************************************************
	Competition
****************************************************************************************************************/


div.a
{
	float:left;
	width:510px;
}
div.sideinfo
{
	float:left;
	margin:3px;
	width:130px;
}
div.sideinfo img
{
	margin:3px;
}
div.date
{
	height:200px;
	margin:3px;
}
div.raceinfo
{
	float:left;
	margin:3px;
	width:360px;
	height:auto;
	text-align:center
}
div.racename
{
	margin:3px;
}
div.infotext
{
	padding:10px;
	margin:3px;
}
div.racename h4
{
	padding:10px;
	margin:0px
}
div.icon
{
	float:left;
	margin:4px;
	width:110px;
	height:110px;
	text-align:center;
}
div.documents
{
	float:left;
	margin:3px;
	width:490px;
	height:auto;
}
div.documents div.icon
{
	float:right;
	margin:4px;
	width:110px;
	height:110px;
}
div.officials
{
	float:left;
	margin:3px;
	width:500px;
	height:auto;
}
div.officials div.person
{
	float:right;
	margin:4px;
	width:240px;
}

div.image 
{
	width:125px;
	float:left;
	padding-right:5px;
}

div.icon img
{
	border:none;
	width:50%;
	height:50%;
}

