@charset "utf-8";
html, body, img, ul, li, a, p, div, object {
	margin: 0;
	padding: 0;
	border: 0;
	outline-style: none;
}

body {
	/*background: top left repeat-x url(../img/bg.png) #f1e28d;*/
	background: top left repeat url(../img/rooste-bg.jpg);
	font-size: 12px;
	font-family: Arial, Helvetica, sans-serif;
	color: #652314;
	line-height: 140%;
}

body.rooste { background: top left repeat fixed url(../img/rooste-bg.jpg); }
body.tellis { background: top center no-repeat fixed url(../img/tellis-bg.jpg); }

a:link,
a:visited {
	color: #f26522;
	text-decoration: none;
}

a:hover,
a:active {
	text-decoration: underline;
}

img {
	vertical-align: middle;
}

.center {
	width: 909px;
	margin: 0 auto;
}

.clear {
	clear: both;
}

#container {
	background: 5px bottom no-repeat url(../img/bg_content.png) #FFFFFF;	
	min-height: 566px;
	height: auto !important;
	height: 566px;
	padding: 0px 5px;
	width: 899px;
	margin: 0px auto 0px auto;
}

/**
 * Header
 */
#header {
	/*padding-left: 30px;*/
	background-color:#FFFFFF;
}

/**
 * Menu
 */
#menu {
	border-top: 1px solid #FFFFFF;
	background-color: #652314;
	height: 28px;
	padding-left: 30px;
}

#menu a.first img {
	border-left: none;
	padding-left: 0px; 
}


#menu a img {
	border-left: 1px solid #7a473f;
	padding-left: 5px;
	padding-right: 5px;
}

#menu a:link,
#menu a:visited {
	color: #FFFFFF;
	display: block;
	margin-top: 6px;
	height: 22px;
	float: left;
}

#menu a:hover,
#menu a:active,
#menu a.active:link,
#menu a.active:visited {
	background: center bottom no-repeat url(../img/menu_active.png);	
}

#menu a.sub:hover,
#menu a.sub:active,
#menu a.sub:link,
#menu a.sub:visited {
	background: center bottom no-repeat url(../img/menu_active2.png);	
}

/**
 * Submenu
 */
#menu div.submenu {
	position: absolute;
	margin-top: 28px;
	height: 28px;
	line-height: 28px;
	background-color: #b77345;
	padding: 0px 5px 0px 6px;
}

#menu div.submenu a.first img {
	border-left: none;
	padding-left: 0px; 
}


#menu div.submenu a img {
	border-left: 1px solid #7a473f;
	padding-left: 5px;
	padding-right: 5px;
}

#menu div.submenu a:link,
#menu div.submenu a:visited {
	color: #FFFFFF;
	display: block;
	margin-top: 6px;
	height: 22px;
	float: left;
}

#menu div.submenu a:hover,
#menu div.submenu a:active,
#menu div.submenu a.active:link,
#menu div.submenu a.active:visited {
	background: center bottom no-repeat url(../img/menu_active3.png);	
}

/**
 * Content
 */
#content {
	padding: 38px 25px 20px 25px;
}

#contenttext {
	padding: 0px 15px;
}
/**
 * Title
 */
#content div.title {
	height: 74px;
	background: top left no-repeat url(../img/title_bg.png);
	padding-bottom: 15px;
}

/**
 * Lang
 */
#lang { margin-top: 48px; height: 19px; }
#lang div.langbg { float: right; }
#lang a.est:link,
#lang a.est:visited { position: absolute; margin: 4px 0px 0px 2px; }
#lang a.eng:link,
#lang a.eng:visited { position: absolute; margin: 4px 0px 0px 34px; }

/**
 * Corners
 */
#topcorners {
}

.corners {
	height: 6px;
	overflow: hidden;
}

.corners .middle {
	float: left;
	width: 903px;
	height: 6px;
	background-color: #FFFFFF;
}

#tleft, #tright, #bleft, #bright {
	width: 6px;
	height: 6px;
	float: left;
	overflow: hidden;
}

#tleft {
	background: top left no-repeat url(../img/corner_tleft.png);
}

#tright {
	background: top left no-repeat url(../img/corner_tright.png);
}

#bleft {
	background: top left no-repeat url(../img/corner_bleft.png);
}

#bright  {
	background: top left no-repeat url(../img/corner_bright.png);
}

/**
 * Footer
 */
#footer {
	font-size: 11px;
	padding-left: 30px;
	padding-top: 4px;
	width: 879px;
	margin: 0px auto;
	line-height: 19px;
	height: 19px;
	background-color: #FFFFFF;
}

#ornament {
	padding-left: 20px;
	width: 889px;
	padding-bottom: 20px;
}

/**
 * Content elements
 */
/*#content p,*/
#content table,
#content ol,
#content ul {
	margin-bottom: 20px;
}
#content p {
	padding-bottom: 20px;
}

#content h1 {
	font-size: 25px;
	font-weight: normal;
	margin: 0;
	line-height: 140%;
}

#content h2 {
	font-size: 17px;
	font-weight: normal;
	margin: 0;
	line-height: 140%;
}

#content h3 {
	font-size: 15px;
	font-weight: normal;
	margin: 0;
	line-height: 140%;
}

#content h4 {
	font-size: 13px;
	font-weight: bold;
	margin: 0;
	line-height: 140%;
}

#content ul, ol {
	margin-left: 20px;
}

#content a:link,
#content a:visited {
	font-weight: bold;
}

#content input, #content textarea, #content select {
	border:1px inset #652314;
	background-color: #FFFFFF;
	font-size: 12px;
	font-family: Arial, Helvetica, sans-serif;
	color: #652314;
	padding:2px;
}

#content input.btn, 
#content input.btn2 {
	border:1px outset #652314;
	padding:2px;
	color: #FFFFFF;
	background-color: #652314;
}

#content input.radio, 
#content input.checkbox {
	border: none;
}

#content table.visible_table th {
	background-color: #652314;
	text-align: center;
	color: #FFFFFF;
	padding: 4px 0px 4px 0px;
	line-height: normal;
	font-weight: bold;
}

#content table.visible_table tr.light td {
	background-color: #FFFFFF;
}

#content table.visible_table td {
	text-align: center;
	padding: 4px;
}

#content table.visible_table td.bold {
	font-weight: bold;
}

#content table.visible_table span.brown {
	color: #804000;
}

#content table.visible_table span.green {
	color: #197b30;
}

#content table.visible_table span.red {
	color: #ed1c24;
}

#content div.gallery a {
	border: 1px solid #d0bdb8;
	padding: 3px;
	background-color: #FFFFFF;
	display: block;
	/*width: 92px;*/
	height: 92px;
	float: left;
	margin-left: 19px;
	margin-bottom: 19px;
}

#content div.gallery a.first {
	/*margin-left: 0px;*/
} 

/**
 * Page specific
 */
#tutvustus-column {
	width: 222px;
	padding-left: 15px;
}

#image-rotator {
	position: relative; 
	float: right; 
	margin-top: -49px;
	height: 311px;
}

#image-rotator  div.flashContent {
	margin-top: 50px;
}

#content div.leftcolumn {
	width: 387px;
	float: left;
}

#content div.rightcolumn {
	width: 387px;
	float: right;
}

#majaplaan {
	margin-top: -26px;
}