/************** main *************/
body {
	background-color: white;
	font-family: 'Calibri', 'Arial', helvetica, sans-serif;
	//background-color: #606070;
	background-color: #E0E0FF;
	margin: 0px;
	padding: 0px;
	text-align: center;
	font-size: 15px;
}

h1 {
	font-size: 24px;
	margin: 0px; 
}
h2 {
	margin-top: 20px; 
	margin-bottom: 8px; 
}

a {
	text-decoration: none;
	color: #4040FF
}
a:hover {
	text-decoration: underline;
}

.spanlink, .strikelink {
	text-decoration: none;
	cursor:pointer;
}
span.spanlink:hover {
	text-decoration: underline;
	color: #4040FF
}

span.strikelink:hover {
	text-decoration: line-through;
	color: #4040FF;
}

.info {
	color: #909090;
	font-size: 13px;
	/*margin-bottom: 2px;*/
}

.score {
	color: #A0A0A0;
	font-weight: bold;
	font-family: 'Arial', helvetica, sans-serif;
	margin-left: 5px;
}

key,.key {
	border: 1px solid #A0A0A0;
	border-bottom-width: 3px;
	border-right-width: 3px;
	background-color: #F8F8F8;
	color: #606060;
	font-weight: bold;
	font-size: 0.8em;
	padding: 2px 5px;
	line-height: 0.8em;
}

#top {
	margin: 0px auto;
	width: 1035px;
	background-image: url('../images/bgtop2.png');
	background-repeat: no-repeat;
	background-position: 0px -5px;
	height: 64px;
	text-align: left;
}
#page {
	margin: 0px auto;
	padding: 15px 20px 15px 40px;
	width: 975px;
	/*background-color: #FFFFFF;*/
	/*border: 1px solid #A0A0E0;*/
	background-image: url('../images/bgmid2.png');
	background-repeat: repeat-y;
	text-align: left;
}
#centerpart {
	/*padding-top: 15px;*/
}

#bottom {
	margin: 0px auto;
	background-image: url('../images/bgbottom2.png');
	background-repeat: no-repeat;
	width: 1035px;
	height: 70px;
	text-align: left;
}

#footer {
	color: #4040FF;
	margin-left: 60px;
}


/************** header *************/
#headpart {
	float: none;
	height: 70px;
	margin-top: -64px;
	margin-bottom: 10px;
	background-image: url('../images/header.png');
	width: 950px;
	background-color: #0048A0;
}

#logopart {
	width: 370px;
	height: 52px;
	float: left;
	margin-left: 25px;
	margin-top: 17px;
	color: #E8E8FF;	
}
#logopart a,
#logopart a:hover  {
	color: #E8E8FF;
	font-size:40px;
	font-style: italic;
	font-weight: bold;
	text-decoration: none;
	font-family: 'Trebuchet MS';
	float: left;
}

#logopart small {
	margin-top: 11px;
	margin-left: 13px;
	color: white;
	font-size: 17px;
	line-height: 17px;
	display: block;;
	width: 120px;
	float: left;
}

#toppart {
	height: 20px;
	padding: 4px 0px 0px 0px;
	float: right;
	margin-top: 12px;
	margin-right: 20px;
}

#toppart,
#toppart a {
	color: #E8E8FF;
	text-decoration: none;
}

#toppart .score {
	font-size: 14px;
}

#menu {
	height: 34px;
	margin-top: 5px;
}

#menu a {
	padding: 2px 10px	;
	margin-right: 5px;
	float: left;
	display: block;
	font-weight: bold;
	background-color: #8080EF;
	color : white;
	-moz-border-radius: 3px;
}

#menu a.active {
	background-color: #E0E0FF;
	color: #4040F0;
}

#menu a:hover {
	background-color: #E0E0FF;
	text-decoration: none;
	color: #4040E0;
}

#menu a.inactive {
	background-color: #C0C0C0;
}

/************** main page *************/
#mainpart {
	width: 700px;
	float: left;
	margin-left: 20px;
}

#mainpart > h1 {
	border-bottom: 1px solid #808080;
}

/************** submenu *************/
.submenu {
	float: right;
	position: relative;
	top: -21px;
	margin-right: 10px;
}

.submenu a {
	margin-left: 0px;
	padding: 4px 10px 2px 10px;
	border: 1px solid #A0A0A0;
	border-bottom: 1px solid #808080;
	-moz-border-radius-topleft: 8px;
	-moz-border-radius-topright: 8px;
	background-color: #E0E0FF;
	color: black;
}

.submenu a:hover {
	text-decoration: none;
	background-color: white;
	border: 1px solid #808080;
	border-bottom: 1px solid white;
}

.submenu a.selected {
	padding: 10px 14px 2px 14px;
	-moz-border-radius-topleft: 8px;
	-moz-border-radius-topright: 8px;
	border: 1px solid #808080;
	border-bottom: 1px solid white;
	background-color: white;
	font-weight: bold;
	
}

/************** sidebar *************/

#sidebar {
	float: left;
	width: 200px;
	margin-left: 10px;
	margin-top: 27px;
}

.sideblock {
	width: 190px;
	margin-bottom: 5px;
	padding: 10px 7px;
	background-color: #D0D0FF;
	-moz-border-radius : 6px;
	font-size: 90%; 
}
.sideblock p {
 	margin: 8px 0px; 
 }

#sidebar h3 {
	margin-top: 0px;
	margin-bottom: 5px;
}

#sidebar h4 {
	margin-top: 5px;
	margin-bottom: 0px;
}

/************** boxes *************/
.box {
	/*font-family: 'Calibri', 'Arial', helvetica, sans-serif;*/
	font-family: 'Arial', helvetica, sans-serif;
	width: 550px;
	float: left;
	margin-bottom: 15px;
	min-height: 115px;
	padding: 6px 15px 15px 15px;
	font-size: 15px;
	-moz-border-radius:15px;	
	border: 1px solid #D0D0D0;
}

.box.fullsize {
	width: 650px;
}

.box.high {
	border-bottom-width: 2px;
	border-right-width: 2px;
	background-color: #F4F4FF;
}

.box.warn {
	border-bottom-width: 2px;
	border-right-width: 2px;
	background-color: #FFDDF0;
	border-color: #E0A0A0;
}

.box.solution {
	background-color: #F0FFF0;
}


.box h2 {
	font-size: 17px;
	margin: 0px 0px 4px 0px;
}

.fullslim {
	border-bottom: 1px solid #D0D0D0;
	font-size: 17px;
	padding-top: 4px;
	padding-bottom: 4px;	
}

.fullslim .details {
	width: 570px;
	font-size: 15px;
	color: #404040;
}


.solvedbar {
	width: 58px;
	/*height: 35px;*/
	margin-left: 4px;
	margin-top: 3px;
	margin-right: 12px;
	float: left;	
}

a.title {
	min-height: 20px;
	display: block;
	color: black;
}
.fullslim .title {
}
.userquestions .fullslim .title {
	width: 495px;
	float: left;
}
.userquizes .fullslim .title {
	width: 570px;
	float: left;
}
.userquestions .fullslim .title.left,
.userquizes .fullslim .title.left {
	width: 540px;
	float: none;
}

.titleantags {
	float: left;
	width: 420px;
}

.tag {
	/*border: 1px solid black;*/
	color: #A0A0A0;
	font-size: 13px;
	padding: 1px 3px;
	-moz-border-radius: 3px;
	border: 1px solid #F4F4FF;
	background-color: #FBFBFF;
}
.tag.high {
	border: 1px solid #A0A0FF;
	background-color: #D8D8FF;
	color: black;
}
a.tag.high:hover {
	border: 1px solid #6060FF;
}
a.tag:hover {
	background-color: #C0C0FF;
	color: black;
	text-decoration: none;
	border: 1px solid #8080FF;
}
.high .tag {
	border: 1px solid #E0E0FF;
	background-color: #E8E8FF;
}
.tag.ordered{
	display: block;
	float: left;
	width: 150px;
	margin: 2px 4px;
}

.summarybox {
	padding: 0px 10px 0px 5px;
	float: left;
	font-size: 15px;
	font-weight: bold;
	line-height: 21px; 
	color: #404050;
	background-color: #E4E4FF;
	margin-left: 4px;
	margin-right: 0px;
	min-height: 22px;
	-moz-border-radius: 5px;
}
.summarybox small {
	color: #707090;
	font-size: 12px;
	/*margin-left: 2px;*/
	line-height: 12px;
}
.summarybox.low {
	background-color: #D0D0FF;
}

.answerbox {
	width: 80px;
	text-align: center;
}

.answerbox.left {
	margin-right: 10px;
}

.editoptions {
	color: #A0A0A0;
	padding-left: 10px;
	margin-top:20px;
	font-size: 13px;
}

.editoptions a  {
	color: #A0A0A0;
}

.editoptions a:hover {
	color: #4040FF
}

.leftcontrols {
	width: 50px;
	height: 100px;
	float: left;
}

.afterleftcontent {
	width: 485px;
	margin-left: 15px;
	float: left;
}

.leftcontrols .votes, .leftcontrols .solution {
	text-align: center;
	color: white;
}
.leftcontrols .votes {
	width: 40px;
	height: 23px;
	padding: 5px 5px 0px 5px;
	font-size: 21px;
	font-weight: bold;
	background-color: #8080EF;
	-moz-border-radius-topleft: 10px;
	-moz-border-radius-topright: 10px;
	
}
.leftcontrols .solution {
	width: 50px;
	height: 18px;
	padding-top: 2px;
	font-size: 12px;
	background-color: #A0A0EF;
	-moz-border-radius-bottomleft: 10px;
	-moz-border-radius-bottomright: 10px;
	border-top: 1px solid #C0C0FF;
}
.answer {
	min-height: 130px;	
}

.quizquestion {
	margin: 10px 20px 30px 20px; 
}

.quizanswer {
	width: 600px;
	margin-left: 5px;
	margin-right: 5px;
	float: left;
	margin-bottom: 15px;
	padding: 9px 15px 15px 5px;
	background-color: #F4F4FF;
	font-family: 'Arial', helvetica, sans-serif;
	font-size: 15px;
	border: 1px solid #D0D0D0;
	border-bottom-width: 2px;
	border-right-width: 2px;
	-moz-border-radius:15px;
	background-color: #F4F4FF;	
}

.quizanswer .text {
	width: 450px;
	float: left;	
	margin-left: 20px;	
	margin-right: 20px;	
}

.comment {
	font-family: 'Arial', helvetica, sans-serif;
	width: 580px;
	margin: 0px 0px 10px 100px;
	border-bottom: 1px solid #D0D0D0;
	padding-bottom: 4px;
	font-size: 12px;
	color: #606060;
}
.comment .details {
	width: 470px;
	float: left;
	margin-right: 10px;
}
.comment .user {
	width: 100px;
	float: left;
}

.comment a.option {
	color: #A0A0A0;
}

.comment a.option {
	color: #A0A0A0;
}
.comment a.option:hover {
	color: #4040FF;
}


/************** controls *************/
.inputbox {
	border: 1px solid #A0A0A0;
	padding: 0px 2px;
	min-height: 20px;
}

.wide {
	width: 550px;
}

.short {
	width: 150px;
}

.done {
	height: 13px;
	float: left;
	background-color: #A0A0F0;
	background-image: url('../images/bar1.png');
	border: 1px solid #20A020;
	border-right-width: 0px; 
	-moz-border-radius-topleft: 3px;
	-moz-border-radius-bottomleft: 3px;
}

.remain {
	height: 13px;
	float: left;
	background-color: #F0F0FF;
	border: 1px solid #C0C0FF; 
	border-left-width: 0px; 
	-moz-border-radius-topright: 3px;
	-moz-border-radius-bottomright: 3px;
}

.done.full {
	border-right-width: 1px; 
	-moz-border-radius-topright: 3px;
	-moz-border-radius-bottomright: 3px;
}
.done.empty {
	display: none;
}
.remain.full {
	border-left-width: 1px; 
	-moz-border-radius-topleft: 3px;
	-moz-border-radius-bottomleft: 3px;
}
.remain.empty {
	display: none;
}

.button, .button.disabled {
	font-family: 'Calibri', 'Arial', helvetica, sans-serif;
	font-weight: bold;
	border: 1px solid #808080;
	background-color: #E0E0E0;
	padding: 3px 12px;
	margin-top: 10px;
	font-size: 14px;
}
.button.disabled {
	color: #808080;
}
.button:hover {
	background-color: #8080EF;
	color: #E0E0FF;
	border-color: #404080;
	
}
.button.disabled:hover {
	background-color: #E0E0E0;
	color: #808080;
	border-color: #808080;
}

#loginsection {
	margin-top: 25px;
	margin-bottom: 15px;
	border: 2px dashed #8080EF;
	padding: 5px 20px;
	width: 250px;
	background-color: #D0D0FF;
	-moz-border-radius: 10px;	
}

.vote_up,
.vote_down {
	width: 32px;
	height: 24px;
	margin-left: 9px;
	cursor: pointer;
	margin-top: 4px;
}
.vote_up {
	background-image: url("../images/up.png");
}

.vote_down {
	background-image: url("../images/down.png");
}
div.vote_up:hover,
.vote_up.high {
	background-image: url("../images/uphigh.png");
}

div.vote_down:hover,
.vote_down.high {
	background-image: url("../images/downhigh.png");
}

div.vote_up.disabled:hover,
div.vote_up.disabled.high {
	background-image: url("../images/up.png");
}

div.vote_down.disabled:hover,
div.vote_down.disabled.high {
	background-image: url("../images/down.png");
}

.vote_solution {
	width: 32px;
	height: 32px;
	margin-left: 9px;
	cursor: pointer;
	background-image: url("../images/sol.png");
}

div.vote_solution:hover, .vote_solution.high {
	background-image: url("../images/solhigh.png");
}

.solutionpart {
	color: #909090;
	height: 50px;
	display: none;
}

.solutionpart .title {
	color: #606060;
	margin-bottom: 4px;
}

.solutionpart span {
	width: 38px;
	height: 15px;
	border: 1px solid #D0D0D0;
	display: block;
	float: left;
	margin-right: 3px;
	text-align: center;
	font-size: 12px;
}

.solutionpart .score_0 {
	border-style: dashed;
}

.solutionpart .hi {
	background-color: #A0FFA0;
	color: #606060;
}
.solutionpart span:hover {
	background-color: #60F060;
	color: black;
}

.box h1.topic {
	margin-bottom: 6px;
}


/************** feedback *************/
.feedback {
	min-height: 60px;
	padding: 10px 0px;
	border-bottom:1px solid #D0D0D0;
}

.feedback .title {
	color: black;
	font-size: 21px;
	font-weight: bold;
	margin-bottom: 20px;
}

.feedback .title a {
	color: black;
}


.feedback .votesection {
	width: 90px;
	height: 60px;
	float: left;
}

.feedback h2 {
	margin: 0px;
}

.feedback .votes {
	width: 50px;
	height: 56px;
	float: left;
	margin-top: 3px;
}

.feedback .voting {
	float: left;
}

.feedback .votes div {
	width: 50px;
	height: 27px;
	line-height: 27px;
	color: white;
	font-size:21px;
	font-weight:bold;
	text-align:center;
	/*-moz-border-radius:10px;*/
}

.feedback .votes .upvotes {
	background-color: #8080EF;
	-moz-border-radius-topleft: 10px;
	-moz-border-radius-topright: 10px;
}

.feedback .votes .downvotes {
	background-color: #8080EF;
	-moz-border-radius-bottomleft:10px;
	-moz-border-radius-bottomright:10px;
}

.feedback .votes .upvotes.low,
.feedback .votes .downvotes.low {
	background-color: #D0D0D0;
}

.feedback .vote_up,
.feedback .vote_down {
	margin-left: 3px;
}



.feedback .contentsection {
	width: 600px;
	/*background-color: #E0E0FF;*/
	float: left;
	margin-left: 10px;
}

.feedback .status {
	background-color: #909090;
	color: white;
	padding: 2px 8px;
	font-size: 15px;
	margin-left: 10px;
}

.feedback .status.s0 {
	background-color: #D0D0D0;
}

.feedback .status.s1 {
	background-color: #F0A000;
}

.feedback .status.s2 {
	background-color: #A0C000;
}

.feedback .status.s3 {
	background-color: #40C040;
}

.feedback .status.s4,
.feedback .status.s5 {
	background-color: #8080EF;
}

.feedback .status.s8,
.feedback .status.s9 {
	background-color: #909090;
}


.feedback .official {
	border: 1px solid #D0D0D0;
	width: 550px;
	background-color: #F2F2FF;
	padding: 8px 15px;
	color: #303040;
	font-size: 15px;
	-moz-border-radius: 10px;
}
.feedback .official .head {
	font-size: 13px;
	font-weight: bold;
	color: #808080;
	margin-bottom: 5px;
}

.feedback .official .author {
	margin-top: 5px;
	font-size: 14px;
	color: #4040E0;
}

.sig {
	font-size: 0.8em;
	color: #606060;
	margin-bottom: 10px;
	float:right;
	clear: both;
	margin-right: 25px;
}


/************** wmd-preview *************/

.wmd-preview {
	width: 547px;
	border: 1px dashed #D0D0D0;
	background-color: #F0F0FF;
	font-size: 11pt;
	line-height: 1.2;
	padding: 3px;
	min-height: 50px;
	max-height: 600px;
	overflow: auto;
}

.wmd-preview h1, .box h1 {
	font-size: 18px;
	margin-top: 15px;
	margin-bottom: 2px;
}

.wmd-preview h2, .box h2 {
	font-size: 15px;
	margin-top: 15px;
	margin-bottom: 2px;
}

.wmd-preview h3, .box h3 {
	font-size: 15px;
	margin-top: 10px;
	margin-bottom: 2px;
}

.wmd-preview p, .box p {
	margin-top: 0px;
	margin-bottom: 12px;
}


.wmd-preview pre, .box pre {
	overflow: auto;
	background-color: #E6E6FF; 
	margin: 4px;
}
.box code {
	/*background-color: #E6E6FF;*/ 
	background-color: #D8F0FF;
}
.box.solution code {
	background-color: #C8FFD8;
}
.wmd-preview code, .box.high code {
	background-color: #D0E8FF
}



/************** user *************/
.slimuser, .userbox {
	width: 95px;
	float: left;
	text-align: center;
	font-size: 12px;
	border: 1px solid #D0D0FF;
	color: #808080;
	line-height: 1.3em;
}
.userbox {
	margin-top: 5px;
	margin-left: 8px;
	padding: 10px 5px 5px 5px;
	-moz-border-radius: 10px;
	height: 95px;
}

.userbox img {
	border: 0px;
	margin-bottom: 0px;
}

.slimuser {
	//height: 30px;
	padding: 5px;
	-moz-border-radius: 5px;
	border: 0px;
}

.stars {
	width : 80px;
	height: 16px;
	margin-left: 7px;
}

.fullslim .stars {
	float: left;
	margin-right: 8px;
}

.star {
	width: 16px;
	height: 16px;
	float: left;
}
.star.gold {
	background-image: url('../images/stars.png');
	background-position: 0px -32px;
}

.star.silver {
	background-image: url('../images/stars.png');
	background-position: 0px -16px;
}
.star.none {
	background-image: url('../images/stars.png');
	background-position: 0px 0px;
}


/************** user details *************/

.userdetails {
	margin-top: 20px;
	padding-left: 20px;
	width: 700px;
}

.userdetails .userimg {
	float: left;
	margin-right: 30px;
	margin-bottom: 10px;
}
.userquestions {
	padding-left: 20px;
	clear: both;
	width: 680px;
}

.userquestions .questionslim a {
	width: 575px;
}

.userdetails .score {
	font-size: 40px;
}

.userquizes {
	padding-left: 20px;
	clear: both;
	width: 680px;
}

/************** history *************/
.history .header {
	background-color: #E0E0FF;
	padding: 15px 20px;
	color: #606060;
	font-size: 17px;
	font-weight: bold;
	-moz-border-radius: 4px;
}

.history .title {
	font-size: 21px;
	margin-top: 4px;
	margin-bottom: 6px;
}

.history .details {
	font-family:'Courier New',monospace;
	font-size:10pt;
	line-height:1.2;
	margin-bottom: 30px;
}

.history ins {
	background-color: #C0FFC0;
	text-decoration: none;
	color: #008000;
}

.history del {
	text-decoration: line-through;
	color: #E04040;
}


/************** autocomplete *************/
.autocomplete {
	width: 400px;
	border: 1px solid #A0A0A0;
	background-color: white;
	
}
.autocomplete ul {
	margin: 0px;
	padding: 0px;
}
.autocomplete li {
	height: 17px;
	font-size: 15px;
	list-style: none;
}
.autocomplete .selected {
	background-color: #D0D0FF;
}

/************** enable script *************/
#activatejavascript_spacer {
	width: 100%;
	height: 40px;
}

#activatejavascript {
	background-color: #FF0000;
	color: #FFFF90;
	line-height: 30px;
	font-size: 20px;
	font-weight: bold;
	padding: 2px 15px;
	margin-bottom: 10px;
	border: 2px solid #F00000;
	top: 0px;
	position: fixed;
	width: 100%;
	left: 0px;
}
