html, body {
	color: #000000;
	background-color: #CCFF99;
	text-align: center;	/* IE Fix */
	font-family: "Bitstream Sans Serif", "Bitstream Vera Sans";
}

div#header {
	position: fixed;
	top: 7px;
	left: 0; right: 0; margin: 0 auto 0 auto;
	height: 50px; width: 770px;
	border: 1px solid green;
	border-bottom: 3px double green;
	background-image: url('./images/titol.jpg');
	background-repeat: no-repeat;
}

body > div#header {
	position: absolute;	/* IE Fix*/
}

div#header h1 { display: none; }

div#header h2 {
	font-size: 13px;
	font-weight: normal;
	display: none;	/* IE Fix */
}

div#header > h2 {
	position: absolute;
	right: 5px; bottom: 0px; margin: 0px;
	display: inline;	/* IE Fix */
}

div#container {
	position: fixed;
	top: 58px;
	left: 0; right: 0; margin: 0 auto 0 auto;
	width: 770px; height: 325px;
	border-left: 1px solid green;
	border-right: 1px solid green;
}

body > div#container {
	position: absolute;	/* IE Fix*/
}

div#content {
	float: left;
	overflow: auto;
	width: 600px; height: 325px;
	text-align: left;
	padding: 5px 10px 0 10px;
}

div#content div#inicial {
	text-align: center;
}

div#content div#inicial a.triaOp {
	display: block;
	width: 125px; height: 25px;
	float: left;
	margin: 24px 4px 4px 7px;
	padding: 10px 4px 5px 4px;
	border: 1px solid black;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	
	font-size: 18px;
	text-decoration: none;
	color: #DDDDDD;
}

div#content div#inicial > a.triaOp {
	/* IE Fix */
	width: 130px;
	margin-left: 4px;
}

div#content div#inicial a.triaOp:hover {
	border-width: 2px 1px 2px 1px;
	padding: 9px 4px 4px 4px;
	font-weight: bold;
}

div#content div#inicial p {
	font-size: 13px;
	text-align: justify;
	border: 1px solid black;
	padding: 4px;
	width: 90%;
	margin: auto;
	margin-top: 40px;
}

div#content div#inicial p b {
	display: block;
	border-bottom: 1px solid black;
	margin-bottom: 5px;
}

div#content br.clear {
	clear: both;
}

#calcul {
	margin-top: 10px;
	padding: 10px;
}

#calcul span#write_resposta .notify {
	vertical-align: middle;
}

#calcul div#stats {
	text-align: right;
	letter-spacing: 2px;
}

#calcul div#correct, #calcul div#bigfail {
	border-bottom: 1px solid #000000;
	padding-bottom: 5px;
	margin-bottom: 15px;
}

div#happy {
	position: fixed;
	top: 127px;
	left: 0; right: 0; margin: 0 auto 0 auto;
	padding-right: 146px;
}

body > div#happy {
	position: absolute;	/* IE Fix*/
}

div#menu {
	float: left;
	width: 146px; height: 330px;
	border-left: 1px solid green;
}

div#menu a {
	display: block;
	border: 1px solid #444444;
	padding: 5px;
	margin: 10px 0 5px -5px;
	width: 135px;
	
	text-align: left;
	text-decoration: none;
	font-size: 12px;
	letter-spacing: 1.5px;
}

div#menu a:hover {
	background-color: #339933;
	color: #DDDDDD;
	font-weight: bold;
}

#secondary_menu a:hover {
	font-weight: normal;
}

a.selected_difficulty {
	text-decoration: none;
}

a:hover.selected_difficult{
	font-weight: normal;
}

div#footer {
	position: fixed;
	top: 380px;
	left: 0; right: 0; margin: 0 auto 0 auto;
	width: 764px; height: 10px;
	border: 1px solid green;
	text-align: center;
	font-size: 10px;
	padding: 3px;
	background-color: #CCFF99;
	-moz-border-radius: 0 0 5px 5px;
	-webkit-border-radius: 0 0 5px 5px;
}

body > div#footer {
	position: absolute;	/* IE Fix*/
}

div#footer a:hover {
	font-weight: normal;
}

fieldset {
	border: 1px solid #444444;	
}

h1, legend {
	margin: 0px;
	text-align: center;
	font-size: 15px;
	font-weight: bold;
	text-decoration: none;
}

a {
	color: #000000;
	background-color: #CCFF99;
	text-decoration: underline;
}

a:hover {
	font-weight: bold;
	text-decoration: none;
}

div#formulari fieldset {
	padding: 15px;
}

input, textarea {
	color: #000000;
	background-color: #CCFF99;
	border: 1px solid green;
}

img {
	border: 0;	
}


/* Colors */

.color_addition {
	background-color: #0033FF;
}

.color_subtract {
	background-color: #CC00CC;
}

.color_multipl {
	background-color: #CC9900;
}

.color_division {
	background-color: #FF0000;
}

