html, body {
	margin: 0;
	padding: 0;
}

body {
	background: #515459;
	color: #222222;
	font-family: Arial, Verdana, Tahoma, "Trebuchet MS", Sans-Serif, Georgia, Courier, "Times New Roman", Serif;
	font-size: 12px;
	line-height: 135%;
	text-align: center;
	padding-bottom: 20px;
}

img {
	border: none;
}

a {
	color: #222222;
	text-decoration: underline;
}

a:hover {
	color: #222222;
	text-decoration: none;
}

.clear {
	clear: both;
}


#wrapper_outer
{
	margin: 10px auto 0 auto;
	text-align: left;
	width: 960px;
	background: #777c7f url(http://www.mg-forum.net/style_images/1/ipbwrapper_outer.gif) no-repeat top left;
}

#wrapper_inner
{
	margin: 0 10px 5px 10px;
	padding-top: 10px;
}

#toplinks {
	text-align: left;
	margin: 0 0 5px 0;
	padding-left: 2px;
	font-size: 11px;
}

#toplinks a {
	color: #ffffff;
	text-decoration: none;
	padding-left: 10px;
	padding-right: 10px;
	border-left: 1px solid #b8bec1;
}

#toplinks a:hover {
	color: #ffffff;
	text-decoration: underline;
}

.box {
	background: #ffffff;
	border: 1px solid #303b4a;
	padding: 1px;
	margin-bottom: 20px;
}

h3 {
	margin: 0;
	color: #ffffff;
	padding: 10px;
	font-weight: bold;
	background-color: #303b4a;
	font-size: 12px;
}

#logo {
	background-color: #303b4a;
}

#data {
	position: relative;
	background-color: #ffffff;
	color: #ffffff;
	height: 30px;
	border-top: 1px solid #ffffff;
	font-size: 11px;
	font-weight: bold;
}

#data ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

#data ul li {
	padding: 0;
	margin: 0;
	width: 233px;
	height: 30px;
	margin-left: 1px;
	float: left
}


#data a {
	display: block;
	height: 30px;
	text-align: center;
	line-height: 30px;
	background-color: #536580;
	color: #ffffff;
	text-decoration: none;
}

#subject, #level, #grade, #year {
	position: absolute;
	left: 0;
	top: 30px;
	width: 234px;
	border-bottom: 1px solid #536580;
	background: #ffffff url(http://takmicenja.mg-forum.net/menu_start.gif) repeat-y top left;
	display: none;
	padding-bottom: 1px;
}

#level, #grade, #year {
	width: 233px;
	background: #ffffff url(http://takmicenja.mg-forum.net/menu.gif) repeat-y top left;
}

#level {
	left: 235px;
}

#grade {
	left: 469px;
}

#year {
	left: 703px;
}

#data ul li * a {
	display: block;
	line-height: 22px;
	height: 22px;
	margin: 1px 2px 0 2px;
	background-color: #536580;
	font-weight: normal;
	color: #ffffff;
}

#data ul li * a:hover {
	font-weight: bold;
	color: #3a4f6c;
	background-color: #ced7e5;
}


#data .start {
	margin-left: 0;
	width: 234px;
}

#copyright {
	background: transparent url(http://www.mg-forum.net/style_images/1/copyright.gif) no-repeat bottom left;
	font-size: 11px;
	text-align: center;
	padding-bottom: 5px;
	color: #eeeeee;
	margin: 0;
}

#copyright a {
	color: #eeeeee;
	text-decoration: underline;
}

#copyright a {
	color: #eeeeee;
	text-decoration: underline;
}

#desc {
	margin-top: 1px;
	border-bottom: 1px solid #5176b5;
	background-color: #ced7e5;
	font-size: 11px;
	font-weight: bold;
	padding: 5px 0 5px 0;
	color: #3a4f6c;
}

.first {
	margin-left: 38px;
	width: 230px;
	float: left;
	display: inline;
}

.second {
	width: 300px;
	float: left;
	display: inline;
}

.third {
	width: 180px;
	float: left;
	display: inline;
}

.fourth {
	width: 118px;
	float: left;
	display: inline;
}

.fifth {
	width: 60px;
	float: left;
	display: inline;
}

#loading {
	background-color: #eff1f3;
	color: #222222;
	width: 936px;
	height: 22px;
	line-height: 22px;
	margin-bottom: 1px;
}

.bottom {
	background-color: #656f7b;
	height: 10px;
}

.comp {
	background: #eff1f3 none no-repeat 10px 9px;
	width: 936px;
}

.comp a {
	height: 22px;
	width: 936px;
	line-height: 22px;
	color: #222222;
	text-decoration: none;
	font-weight: normal;
	display: block;
	cursor: pointer;
}

.comp a:hover {
	color: #222222;
	text-decoration: none;
	font-weight: bold;
}
