html {
	height: 100%; 
	padding-bottom: 1px;
}

body {
	background-image: url('../images/bg.jpg');
	text-align: center;
	margin: 0px;
}

#mainContainer {
	padding-top: 0px;
	width: 818px;
	background-color: white;
	font-family: Arial;
	font-size: 11px;
	margin-left: auto;
	margin-right: auto;
}

#contentContainer {
	width: 786px;
	margin-left: auto;
	text-align: left;
}

#header img {
	border: 0px;
	display: block;
}

#header p {
 	margin: 0px;
	padding: 0px;
}

#mainMenu {
	width: 578px;
	height: 23px;
	float: right;
	background-image: url("../images/mainmenu_bg.gif");
	background-repeat: repeat-x;
	font-weight: bold;
}

#mainMenu img {
	float: left;
	border: 0px;
}

#mainMenu ul {
	list-style: none;
	float: left;
	margin: 0px;
	padding: 0px;
}

#mainMenu ul li {
	float: left;
	margin-left: 15px;
	margin-right: 10px;
	color: white;
	line-height: 21px;
}

#mainMenu ul li a, 
#mainMenu ul li a:visited {
	color: white;
	text-decoration: none;
}

#mainMenu ul li a:hover {
	color: white;
	text-decoration: underline;
}

#sideMenu {
	float: left;
	margin-top: 43px;
}

#sideMenu ul {
	list-style-type: none;
	margin-top: 0px;
	margin-bottom: 15px;
	margin-left: 0px;
	margin-right: 0px;
	padding: 0px;
}

#sideMenu ul li {
	background-image: url('../images/arrow1.gif');
	background-repeat: no-repeat;
	background-position: 5px 7px;
	background-color: rgb(231,230,217);
	margin-top: 1px;
	margin-bottom: 1px;
	width: 160px;
	padding-left: 13px;
	padding-right: 5px;
	padding-top: 4px;
	padding-bottom: 4px;
	border: 1px solid rgb(233, 232, 220);
	font-weight: bold;
}

#sideMenu ul li a, 
#sideMenu ul li a:visited {
	color: rgb(73, 100, 47);
	text-decoration: none;
}

#sideMenu ul li a:hover {
	color: rgb(73, 100, 47);
	text-decoration: underline;
}

#sideMenu ul.level2 {
	margin: 0px;
	padding: 0px;
}

#sideMenu ul.level2 li {
	margin: 0px;
	margin-left: 0px;
	padding: 0px;
	padding-left: 8px;
	font-weight: normal;
	width: 150px;
	background-image: url('../images/arrow2.gif');
	background-repeat: no-repeat;
	background-position: 0px 3px;
}

#sideMenu ul.level2 li a, 
#sideMenu ul.level2 li a:visited {
	color: black;
	text-decoration: none;
}

#sideMenu ul.level2 li a:hover{
	color: black;
	text-decoration: underline;
}

#sideMenu ul.level3 li {
	background: none;
	margin: 0px;
	padding: 0px;
	width: 150px;
}

#sideMenu ul.level4,
#sideMenu ul.level3 {
	margin: 0px;
	padding: 0px;
}

#sideMenu ul.level4 li {
	background: none;
	margin: 0px;
	padding: 0px;
	margin-left: 10px;
	width: 140px;
}


#mainContent {
	color: rgb(100,100,100);
	margin-top: 20px;
	float: right;
	width: 550px;
	margin-right: 26px;
	margin-bottom: 20px;
	line-height: 16px;
}

#mainContent p {
	margin-top: 0px;
	margin-bottom: 10px;
}

#mainContent h1 {
	color: rgb(49, 80, 21);
	font-size: 17px;
	margin-top: 10px;
	margin-bottom: 10px;
}

#mainContent a, 
#mainContent a:visited {
	color: rgb(85, 110, 60);
	text-decoration: none;
}

#mainContent a:hover {
	color: rgb(49, 80, 21);
	text-decoration: underline;
}

.floatFix {
	clear:both;
}

#sideMenu form {
	margin-top: 10px;
	margin-bottom: 15px;
	padding-top: 5px;
	padding-bottom: 10px;
	background-color: rgb(231,230,217);
	width: 180px;
}
#sideMenu form input.submit {
	border: 1px solid rgb(100,100,100);
	font-size: 11px;
	height: 20px;
	padding-top: 1px;
	padding-bottom: 4px;
	padding-left: 3px;
	padding-right: 3px;
}
#sideMenu form input.text {
	width: 140px;
	font-size: 11px;

}

#sideMenu form p {
	margin-left: 12px;
	margin-top: 3px;
	margin-right: 5px;
	margin-bottom: 3px;
	width: 137px;
}

#sideMenu form a, 
#sideMenu form a:visited {
	color: rgb(73, 100, 47);
	text-decoration: none;
}

#sideMenu form a:hover {
	color: rgb(73, 100, 47);
	text-decoration: underline;
}

#FooterMenu {
	width: 804px;
	font-family: Arial;
	font-size:12px;
	background: #333333 none repeat scroll 0 0;
	color: #CCCCCC;
	clear:both;
	margin:0 auto;
	padding:7px;
	text-align:center;
}

#FooterMenu a {
	text-decoration: none;
	color: #009933;
}
#FooterMenu p {
	padding: 0px;
	margin:0 auto;
}

#NewsArchiveContainer ul.year {
	width: 100%;
	height: 20px;
	list-style: none;
	margin-left: 0px;
	margin-right: 0px;
	margin-top: 20px;
	padding: 0px;
	border-bottom: 1px solid rgb(200,200,200);
	border-left: 1px solid rgb(200,200,200);
}

#NewsArchiveContainer ul.year li {
	float: left;
	padding-left: 10px;
	padding-right: 10px;
	border-right: 1px solid rgb(200,200,200);
	border-top: 1px solid rgb(200,200,200);
	line-height: 20px;
}

#NewsArchiveContainer ul.year li.selected {
	float: left;
	padding-left: 10px;
	padding-right: 10px;
	border-right: 1px solid rgb(200,200,200);
	border-top: 1px solid rgb(200,200,200);
	line-height: 20px;
	background-color: rgb(240,240,240);
}

#NewsArchiveContainer ul.month {
	width: 100%;
	height: 20px;
	list-style: none;
	margin-left: 0px;
	margin-right: 0px;
	margin-bottom: 20px;
	padding: 0px;
	border-bottom: 1px solid rgb(200,200,200);
	border-left: 1px solid rgb(200,200,200);
}

#NewsArchiveContainer ul.month li {
	float: left;
	padding-left: 10px;
	padding-right: 10px;
	border-right: 1px solid rgb(200,200,200);
	border-top: 1px solid rgb(200,200,200);
	line-height: 20px;
}

#NewsArchiveContainer ul.month li.selected {
	float: left;
	padding-left: 10px;
	padding-right: 10px;
	border-right: 1px solid rgb(200,200,200);
	border-top: 1px solid rgb(200,200,200);
	line-height: 20px;
	background-color: rgb(240,240,240);
}

#NewsListContainer {
	margin-top: 20px;
}

#ForumContainer {
}

#ForumContainer h1 {
	width: 97,5%;
	height: 15px;
	background-image: url('../images/bg_list.gif');
	background-repeat: repeat-x;
	color: #FFF;
	padding: 2px;
	line-height: 15px;
	padding-left: 10px;
}

#ForumContainer p {
	padding-left: 5px;
	padding-right: 5px;
}

table.DataTable {
	margin-bottom: 20px;
	margin-top: 20px;
	border-left: 1px solid #164600;
	border-right: 1px solid #164600;
}

table.DataTable tr td {
	border-bottom: 1px solid #164600;
	height: 20px;

}

#table_row_1 {
	background-image: url('../images/bg_list.gif');
	background-repeat: repeat-x;
	font-size: 12px;
	font-weight: bold;
	color: #FFFFFF;
	height: 25px;
}

#article_form {
	margin-top: 20px;
	border: 0px solid #164600;
	margin-bottom: 10px;
}

td.DataTableWrap a {
	padding-left: 20px;
}

/*Foorum Topic Post */

table.TopicTable {
	margin-bottom: 5px;
	margin-top: 5px;
	border-left: 1px solid #164600;
	border-right: 1px solid #164600;
	width: 100%;
}

table.TopicTable tr td {
	border-bottom: 1px solid #164600;
	height: 20px;

}

#ForumTopicContainer p {
	color: #393;
	margin-top: 20px;
	font-size: 16px;
	font-weight: 700;
}

table.FormTable {
	margin-top: 10px;
	border: 1px solid #000;
	background-color: #FFF;
	margin-left: auto;
	margin-right: auto;
}

table.FormTable tr td {
	padding: 5px 5px 5px 5px;
}

/*Foorum Post Form Style End*/



/*Foorum Post Form Style*/
#uus_teema {
	margin-left: 10px;
	margin-bottom: 10px;
}

#mask {
  position:absolute;
  left:0;
  top:0;
  z-index: 9000;
  background-color: #000;
}
  
#boxes .window {
  position: absolute;
  width: 450px;
  height: 350px;
  display: none;
  z-index: 9999;
  padding: 20px;
  background-color: #FFF;
}

/*Foorum Post Form Style End*/

#boxes_2 .window {
  position: absolute;
  width: 350px;
  height: 250px;
  display: none;
  z-index: 9999;
  padding: 20px;
  background-color: #FFF;
}