/********************************************
	General stuff
********************************************/

a
{
	font-weight: bolder;
	text-decoration: none;
}

a img
{
	border-width: 0px;
}


.center{
	text-align: center;
}


.floatLeft{
	float: left;
}

.floatRight{
	float: right;
}

.floatBoth{
	float: both;
}

/********************************************
	Forms
********************************************/
div.error-message {
	clear: both;
	color: #a40000;
	font-weight: bolder;
	background-image: url("/img/icons/warning.small.png");
	background-repeat: no-repeat;
	height: 35px;
	padding-left: 35px;
}

div.required label{
	font-weight: bold;
}

div.invisibleForm input{
	border-width: 0px;
	background-color: white;
}



/********************************************
	AJAX
********************************************/
.ajax-loading {
	padding: 20px 0;
	background: url(/css/ajax-loader.gif) no-repeat center;
}

.custom-tip {
	color: #000;
	width: 130px;
	z-index: 13000;
}
 
.custom-title {
	font-weight: bold;
	font-size: 11px;
	margin: 0;
	color: #3E4F14;
	padding: 8px 8px 4px;
	background: #C3DF7D;
	border-bottom: 1px solid #B5CF74;
}
 
.custom-text {
	font-size: 11px;
	padding: 4px 8px 8px;
	background: #CFDFA7;
}



/********************************************
	Footer
********************************************/

#footer a, #footer a:visited
{
	color: #2e3436;
}

#footer a:hover
{
	color: black;
}

#footer div#languageSelector
{
	float: left;
	position: relative;
	left: 0px;
	top: -30px;
}

#footer div#footerGoodies
{
	float: left;
	position: relative;
	left: 60px;
	top: -30px;
}

#footer div#languageSelectorResponse
{
	float:right;
	left:-428px;
	position:relative;
	top:-93px;
	text-align:center;
}


/********************************************
	Menu
********************************************/

#menu div.link
{
	width: 150px;
	float:left;
	height: 40px;
	border-right: 1px black solid;
	text-align: center;
}

#menu div.link:hover
{
	background-color: #3465a4;
}

#menu div.selected
{
	background-color: #204a87;
}

#menu a, #menu a:visited, #menu a:hover
{
	color:  black; /* #5c3566;*/ /* #75507b;*/
}





/********************************************
	Content
********************************************/

#content h1, h2, h3, h4
{
	color: #204a87; 
}

#content a, #content a:visited
{
	color:  #4e9a06; /* #5c3566;*/ /* #75507b;*/
}

#content a:hover
{
	color: #cc0000;
	border-bottom-color: #cc0000;
	border-bottom-style: dotted;
	border-bottom-width: 1px;
	
	border-top-color: #cc0000;
	border-top-style: dotted;
	border-top-width: 1px;
}

#content p
{
	text-align: justify;
}

#content .adminBox
{
	border: 1px black solid;
	background-color: #fce94f;
	border-left: solid 10px red;
	margin-top: 10px;
	padding-left: 5px;
	padding-top: 2px;
	padding-bottom: 2px;
}



/********************************************
	Puzzles
********************************************/


div#content .puzzleWrapper
{
	height: 67px;
	width: 750px;
	position: relative;
	left: -10px;
	padding-top: 5px;
	padding-bottom: 5px;
	margin-top: 50px;
	border-bottom: solid 1px #ABB0B8;
	border-top: solid 1px #ABB0B8;
	background-color: #eeeeec;
}

div#content .puzzleNumber{
	width: 200px;
	vertical-align: middle;
	font-size: 1.3em;
	font-style: oblique;
	letter-spacing: 2pt;
	color: #fcaf3e;
}

div#content .puzzleTitle{
	vertical-align: middle;
	text-align: left;
	height: 30px;
	font-size: 1.5em;
	font-variant: small-caps;
	font-weight: bolder;
	color: #3465a4;
}
div#content .puzzleDifficulty{
	float: left;
	margin-right: 10px;
}

div#content .puzzleSolution{
	color:				#520909;
	padding-left:			60px;
	background-color:		#E6E6E6;
}

div#content .puzzleTip{
}

.toggler {
	color: #222;
	margin: 0;
	padding: 2px 5px;
	background: #eee;
	border-bottom: 1px solid #ddd;
	border-right: 1px solid #ddd;
	border-top: 1px solid #f5f5f5;
	border-left: 1px solid #f5f5f5;
	font-size: 13px;
	font-weight: normal;
	font-family: 'Andale Mono', sans-serif;
}


div#content .showHide{
	background-color: #d3d7cf;
	padding-left: 60px;
	border-left: 7px #babdb6 solid;
	/*display: none;*/
	/*min-height: 70px;*/
}

div#content .showHideHint{
	background-image: url("/img/icons/hint.png");
	background-repeat: no-repeat;
}


div#content .showHideSolution{
	background-image: url("/img/icons/folder.png");
	background-repeat: no-repeat;
}

div#content .showHideSolutionRead{
	background-image: url("/img/icons/folder-open.png");
	background-repeat: no-repeat;
}


div#content .showHideAdd{
	background-image: url("/img/icons/edit.png");
	background-repeat: no-repeat;
}



div#content .showHideProblem{
	background-image: url("/img/icons/write.png");
	background-repeat: no-repeat;
}

div#content .showHideComments{
	background-image: url("/img/icons/microphone.png");
	background-repeat: no-repeat;
}

div#content .showHideExport{
	background-image: url("/img/icons/save.png");
	background-repeat: no-repeat;
}

/* comments */

div#content .commentWrapper{
	/*background-color:white;*/
}

div#content .commentHeader{
	float:	left;
}

div#content .commentDate{
	position: relative;
	left: 10px;
	top: 0px;
	float: left;
	font-style: italic;
	font-size: x-small;
}

div#content .commentAuthor{
	float:	left;
	font-weight: bolder;
}

div#content .comment{
	clear: both;
	min-height: 30px;
	padding-left: 15px;
	text-indent: -15px;
	padding-right: 5px;
	padding-top: 1px;
	background: url("/css/images/quotes.down.png") no-repeat right bottom;

}

div.comment p:first-letter {
	padding-left: 30px;
	padding-top: 15px;
	background: url("/css/images/quotes.png") no-repeat left top;
}



	/******
             styles for the star rater                
	******/
	div.rating{
		float: right;
		position: relative;
		left: 0px;
	}
	
	.star-rating{
		list-style:none;
		margin: 0px;
		padding:0px;
		width: 125px;
		height: 25px;
		position: relative;
		overflow:hidden;
		background: url(alt_star.png) top left repeat-x;		
	}
	.star-rating li{
		padding:0px;
		margin:0px;
		width:25px;
		height:25px;
		/*\*/
		float: left;
		/* */
	}
	.star-rating li a{
		display:block;
		width:25px;
		height: 25px;
		line-height:25px;		
		text-decoration: none;
		text-indent: -9000px;
		z-index: 20;
		position: absolute;
		padding: 0px;
		overflow:hidden;
		border-width: 0px;
	}
	.star-rating li a:hover{
		background: url(alt_star.png) left bottom;
		z-index: 2;
		left: 0px;
		border:none;
	}
	.star-rating a.one-star{	left: 0px;}
	.star-rating a.one-star:hover{width:25px;}
	.star-rating a.two-stars{left:25px;}
	.star-rating a.two-stars:hover{width: 50px;}
	.star-rating a.three-stars{left: 50px;}
	.star-rating a.three-stars:hover{width: 75px;}
	.star-rating a.four-stars{left: 75px;}	
	.star-rating a.four-stars:hover{width: 100px;}
	.star-rating a.five-stars{left: 100px;}
	.star-rating a.five-stars:hover{width: 125px;}
	.star-rating li.current-rating
	{
		background: url(alt_star.png) left center;
		position: absolute;
		height: 25px;
		display: block;
		text-indent: -9000px;
		z-index: 1;
	}
	
	/* remove halo effect in firefox   */
	a:active{
		outline: none;
	}
	
	
	.ratingNrOfVotes
	{
		margin-top: 30px;
	}


/********************************************
	Guestbooks
********************************************/
div#content .guestbookComment .comment{
	padding-left: 34px;
	background-image: url("/css/images/quotes-inverted.png");
}
