/* GENERAL */
body {
	margin: 0;
	padding: 0;
	font: 16px Arial, Verdana, Geneva, Helvetica, sans-serif;
	line-height: 2em;
	color: #4D4D4D;
	background: #F3EFE3;
}

form { margin: 0px }

img {
	border: none;
}

h1 {
	color: #1877d1
}

h1.news_headline {
	margin-top: 0px;
	padding-top: 0px;
}

h2 {
	color: #0099E7;
}

a {
	text-decoration: none;
	color: #239eec;
}

a:hover {
	text-decoration: underline;
}

hr {
	height: 1px;
	border: 0; /* reset */
	border-bottom: 1px solid #B3B3B3;
}

.clear {
	clear: both;
}

/* MAIN */
#body {
	background: #F3EFE3 url('img/body_bg.jpg') repeat-x;
}

#center {
	width: 982px;
	margin: 0 auto;
	text-align: left;
}

/* TOP */
#top {
	height: 86px;
}

#logo {
	float: left;
	margin-top: 15px;
}

#SitemapContainer {

	background: white; padding: 15px; padding-top: 2px

}

#lang {
	float: right;
	margin: 1em 0;
}

#lang li {
	display: inline;
}

/* MAIN NAVIGATION */
#main_nav {
	float: right;
	display: inline;
	margin: -36px 0 -1px;
}

#main_nav li {
	float: left;
	display: block;
	list-style-type: none;
	width: 102px;
	height: 37px;
	text-align: center;
}

#main_nav li a {
	display: block;
	width: 100%;
	height: 32px;
	background: url('img/nav.jpg');
	color: #797A7A;
	text-decoration: none;
	padding-top: 5px;
	font-weight: bold;
}

#main_nav li a:hover {
	color: #0450BE;
	border-bottom: none;
}

#main_nav li.pre_selected a {
	background: url('img/nav_pre_selected.jpg');
}

#main_nav li.selected a {
	background: url('img/nav_selected.jpg');
	color: #0450BE;
}

/* BANNER */
#banner {
	height: 376px;
	position: relative;
	margin-bottom: 1em;
}

/* SUB NAVIGATION */
/* 1st level */
#sub_nav {
	position: absolute;
	top: 20px;
	background: #EBE9F4;
	margin: 0;
	padding: 1em 0;
	list-style: none;
	width: 250px;
	font-size: .75em;
	min-height: 210px;
}

#new_sub_nav {
	top: 20px;
	color: white;
}

#sub_nav li {
	margin: 0px; padding: 0px; 
}

#sub_nav a {
	display: block;
	padding: 0 1.5em;
	margin: 0px;
	text-decoration: none;
	color: #836414;
}

#sub_nav a:hover, #sub_nav li:hover a {
	background: #939495;
	color: white;
	border: none;
}

#sub_nav a span {
	display: block;
	border-bottom: 1px solid #C3C3C5;
}

#sub_nav a:hover span {
	border-color: #A5A7A6;
}

/* 2nd level */
#sub_nav ul {
	background: #939495;
	color: white;
	list-style: none;
	width: 250px;
	position: absolute;
	left: 250px;
	top: 0px;
	margin: 0;
	padding: 1em 0;
	visibility: hidden;
	min-height: 210px;
}

#sub_nav ul a {
	display: block;
	padding: 0 1.5em;
	text-decoration: none;
	color: white;
}

#sub_nav ul a:hover {
	background: #A5A7A6;
}

#sub_nav ul a:hover span {
	border-color: #C3C3C5;
}

/* EXTRA LINKS */
#extra_links {
	position: relative;
	top: 10px;
	float: right;
	list-style: none;
	margin: 0;
	padding: 0;
}

#extra_links li {
	display: BLOCK;
	padding: 0;
	float: left;
	
}

#extra_links a { text-decoration: none }
#extra_links a:hover { text-decoration: none }

/* CONTENT */
#content {
	font-size: 0.75em;
	line-height: 2em; 
}

#content h1, #content h2 {
	font-size: 1.8em;
	font-weight: normal
}

#content ul li {
}

.video, .video:hover {
	color: #0099E7;
	padding: 5px 5px 5px 30px;
	background: #F2EEE2 url('img/pointer.jpg') 5px center no-repeat;
	border: #9D9C9A 1px solid;
	font-size: .9em;
	font-weight: bold;
}

#ArticlesContainer {
	padding-right: 2em;
}

#ArticlesContainer a {
	font-weight: bold;
}

/* trail */

#asukohatee { border-bottom: 1px solid #97978d; padding: 3px; padding-left: 0px; font-weight: normal; font-size: 0.9em; font-family: Tahoma; margin-bottom: 10px; margin-top: -12px }
#asukohatee a { font-weight: normal; color: #646462; text-decoration: none }
#asukohatee a:hover { font-weight: normal; color: #646462; text-decoration: none }
#asukohatee span { padding: 3px }

/* main page */

div.white_content_box_container { background: url('mp_white_boxes.jpg'); border: 1px solid #f3efe3; margin-bottom: 10px; width: 600px }

div.white_content_box_1, div.white_content_box_0 { float: left; width: 295px; }
div.white_content_box_1 { float: right }
div.white_content_box_i { padding: 1.8em; }
div.white_content_box_i h1 { margin-top: 0px; padding-top: 0px; color: #0099e7; color: black }
div.white_content_box_i ul, div.white_content_box_i li { background: white; list-style-type: square }

/* search */

#search_and_results { }
#searh_sidebar { float: left; width: 200px; background: white }
#search_results_i, #searh_sidebar_i { padding: 15px }
#search_results { float: right; width: 770px; background: white }

div.tyhi_result { height: 95px }

#searh_sidebar_title { color: #0099e7; font-weight: bold; font-size: 14px }

div.otsing_box_vorm { margin-top: 10px }
div.otsing_box_vorm input { font-size: 11px }

.search_query { color: #504f4b; width: 160px; padding-top: 7px; padding-bottom: 7px; background: #f3efe3; padding-left: 5px; border: 1px solid #7c7a74 }
.search_button { margin-top: 4px; background: #064fb8; color: white; border: 1px solid black; cursor: pointer; padding: 3px; }

div.search_results_i { padding: 15px }

.SearchResultsLabel {  }
.SearchTypeSelector { font-weight: bold; background: white; width: 100%; height: 38px; border-bottom: 1px solid #9f9c95 }
.SearchTypeSelector span { font-weight: normal; color: #666666 }
.SearchTypeSelector div { float: left; }
.SearchTypeSelector div, .SearchTypeSelector a { border: 1px solid white; display: block; float: left; height: 36px; line-height: 36px; padding-left: 8px; padding-right: 8px; text-decoration: none; text-decoration: none; margin-left: 2px; margin-right: 2px }
a.selected_type, .SearchTypeSelector a:hover { border: 1px solid #9f9c95; background: #f3efe3 !important; text-decoration: none !important; border-bottom: 0px !important }

h1.find_keyword { display: inline }

#SearchResults { list-style-type: square }

/* registratuurid */

table.registratuurid { }
td.registratuur { vertical-align: top; padding: 20px; background: white }
td.registratuur h2 { font-size: 1em; font-weight: bold; color: black }

td.registratuur_vahe { width: 20px }

/* google map template */

td.map_lefttext { width: 460px; background: white  }
div.map_lefttext { padding: 26px; padding-top: 5px }

/* SIDEBAR */
#left {
	float: left;
	width: 600px;
}

#leftSidebar, #rightSidebar {
	float: left;
	width: 400px;
	margin-right: 2em;
	background: white;
	padding: 1em;
	line-height: 1.4;
	font-size: .9em;
}

#rightSidebar {
	float: right;
	margin-right: 0;
	margin-left: 2em;
}

#ArticlesContainer { background: white;  }
#ArticlesContainer_i { padding: 1.8em }
#ArticlesContainer_i h1, #search_results_i h1 { margin-top: 0px; padding-top: 0px }

#leftSideBarTemplate #ArticlesContainer, #rightSideBarTemplate #ArticlesContainer {
	float: left;
	width: 510px;
}

#leftSideBarTemplate #ArticlesContainer {
	float: right;
}

#houseButton {
	background: url('img/house_button.jpg') top left no-repeat;
	padding-left: 80px;
}

#infoButton {
	background: url('img/info_button.jpg') top left no-repeat;
	padding-left: 80px;
}

#leftSidebar h2, #rightSidebar h2 {
	padding: 0;
	font-weight: bold;
	color: #845F3E;
	font-size: 1.1em;
}

/* NEWS */
#right {
	float: right;
	width: 300px;
	background: white;
	padding: 1.8em;
}

#right h2 {
	margin-bottom: 0;
	line-height: 1;
	font-size: 1.5em
}

#right h2 a {
	color: black;
}

#right h2 a:hover {
	color: #239eec;
	border-bottom: none;
}

#right p {
	margin-top: .2em;
}

#right hr {
	margin-bottom: 0px;;
}

.date {
	color: #7F7F7F;
	font-size: .8em;
	font-weight: bold;
}

.read_more {
	padding: 1px 0 1px 20px;
	background: url('img/pointer.jpg') no-repeat;
	color: #7F7F7F;
}

.read_more:hover { 
	text-decoration: underline
}

div.closed_headlines_container { 
	margin-top: 3px 
}

div.news_closed_headline, div.news_closed_headline span, div.news_closed_headline a {
	font-size: 11px !important; 
	font-weight: normal !important 
}

div.news_closed_headline span {
	padding-right: 6px
}	


/* HOME BOTTOM */
#homeBottomLinks p {
	margin: 0;
}

/* FOOTER */
#foot {
	margin-top: 10px;
	background: white;
	padding: 1em !important;
	font-size: .75em;
	line-height: 22px;
}

#foot p { display: inline !important;  } 

/* reset */
#logo a, #lang a, #extra_links a, .read_more:hover {
	border-bottom: none;
}
div.sisuk { float: left; color: white; font-family: arial; font-size: 9px; letter-spacing: 2px; text-transform: uppercase; padding-left: 5px;  cursor: pointer;}
div.sitepic { float: left; cursor: pointer; padding-left: 15px; }

div.galerii_albumid { float: left; background: white; }
div.galerii_albumid a { display: block }
div.galerii { background-color: white; padding: 15px; padding-top: 1px }
div.galerii_vahe { float: left; width: 20px; height: 10px  }
div.galerii_vahe1 { float: left; width: 20px; height: 10px  }
div.galerii a:hover { text-decoration: underline }

div.right_sidebar_gallery_vahe { clear: both; width: 535px; height: 10px; }
div.right_sidebar_gallery { clear: both; width: 535px; background-color: white }
div.right_sidebar_gallery_i { padding: 15px }


div.wrapper_artiklis { margin: 10px }

div.right_sidebar_gallery_2 { float: right; width: 420px; background-color: white }











