/**
* Main CSS of site interface.
*
* @package Site
* @subpackage CSS
* @author Pavel "Papi" Jartsev <papi@digitalfruit.ee>
* @filesource
*/

/*html
{
	height: 100%;
}*/

body, input, option, select, textarea
{
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
}

body
{
	background-color: #fff;
	color: #666;
	/*height: 100%;*/
	margin: 0;
	padding: 0;
	text-align: left;
}
body#site
{
	background: url("../tmpl/img/body.png") repeat-x 50% 0;
	text-align: center;
}

a
{
	color: #c00;
	font-weight: normal;
	text-decoration: none;
}
a:active,
a:hover
{
	color: #500;
	text-decoration: none;
}

div
{
	margin: 0;
	padding: 0;
}

fieldset
{
	margin: 0;
	padding: 4px;
}

form
{
	margin: 0;
	padding: 0;
}

h1, h2, h3, h4, h5, h6
{
	color: #667;
	font-family: "Trebuchet MS", Verdana;
	padding: 0;
	margin: 0;
	text-align: left;
}
h2, h3, h4, h5, h6
{
	margin: 0 0 5px 0;
}
h1
{
	color: #4b626d;
	font-size: 20px;
	font-weight: normal;
}
h2
{
	font-size: 18px;
	font-weight: bold;
}
h3
{
	font-size: 18px;
	font-weight: normal;
}
h4
{
	font-size: 16px;
	font-weight: bold;
}
h5
{
	font-size: 16px;
	font-weight: normal;
}
h6
{
	font-size: 14px;
	font-weight: bold;
}

img
{
	border: 0;
}

input.checkbox
{
	height: 12px;
	width: 12px;
}
input.radio
{
	height: 12px;
	width: 12px;
}
input.text
{
	background-color: #F2F2F2;
	border: 1px solid #999;
	padding: 2px;
	width: 100%;
}
input.text:focus
{
	background-color: #ff9;
}

li
{
	margin: 0;
	padding: 0;
}

ol
{
	margin: 0;
	padding: 0;
}

option
{
	background-color: #F2F2F2;
}

/*p
{
	padding: 10px 0;
}*/

pre
{
	font-family: Courier, "Courier new";
}

select
{
	background-color: #F2F2F2;
	margin: 0;
	padding: 1px;
	width: 100%;
}

sub, sup
{
	font-size: 9px;
}

textarea
{
	background-color: #F2F2F2;
	border: 1px solid #999;
	margin: 0;
	padding: 2px;
	width: 100%;
}
textarea:focus
{
	background-color: #ff9;
}

ul
{
	margin: 0;
	padding: 0;
}


/*********************/
/* Layout containers */
/*********************/

br.clear
{
	clear: both;
	display: block;
	font-size: 0;
}

#wrap
{
	margin: 0 auto;
	width: 968px;
}

#header1
{
	height: 33px;
	position: relative;
}

#header2
{
/* 	background: url("../tmpl/img/header2.png") no-repeat 50% 100%; */
	height: 79px;
	position: relative;
}
h2#slogan
{
	float: left;
	font-size: 32px;
	margin: 12px 0 0 10px;
}
#header2-bottom
{
	background: url("../tmpl/img/header2.png") no-repeat 50% 0;
	height: 16px;
	position: relative;
}

#header3
{
	height: 70px;
	position: relative;
}

#main
{
	float: left;
	padding: 40px 4px 0 4px;
	text-align: left;
	width: 960px;
}

#left
{
	float: left;
	width: 210px;
}
#left h2
{
	background: #fff url("../tmpl/img/left_h2.png") no-repeat 0 100%;
	float: left;
	font-size: 15px;
	line-height: 100%;
	margin: 0 0 15px 0;
	padding: 0 0 12px 0;
	width: 210px;
}
#left h2 b
{
	background: #fff url("../tmpl/img/left_h2.png") no-repeat 0 0;
	color: #fff;
	float: left;
	padding: 10px 0 0 24px;
	width: 186px;
}

#right
{
	float: left;
	padding-left: 40px;
	width: 710px;
}

#article
{
	float: left;
	line-height: 140%;
	min-height: 300px;
	padding: 0 0 20px 0;
	text-align: left;
	vertical-align: top;
	width: 710px;
}
* html #article /* IE 6 */
{
	height: 300px;
}
/*#article a
{
	border-bottom: 1px solid #c00;
	text-decoration: none;
}
#article a:hover
{
	background-color: #ebebeb;
	text-decoration: none;
}*/
#article ol,
#article ul
{
	margin-left: 20px;
}

#footer
{
	background: url("../tmpl/img/footer.png") no-repeat 50% 0;
	clear: both;
	color: #999;
	float: left;
	margin-top: 20px;
	padding: 15px 0 30px 0;
	text-align: center;
	width: 960px;
}
#footer a
{
	color: #999;
}
#footer span
{
	padding-right: 10px;
}


/*********/
/* Items */
/*********/

a.button,
address a
{
	background: url("../tmpl/img/button.png") no-repeat 0 0;
	border-bottom: 0;
	color: #333;
	display: block;
	line-height: 22px;
	padding-left: 25px;
	text-decoration: none;
	width: 75px;
}
a.button:active,
address a:active,
a.button:hover,
address a:hover
{
	color: #666;
}
address a
{
	font-style: normal;
}

#icon-bookmark
{
	background: url("../tmpl/img/icon_bookmark.png") no-repeat 0 0;
	float: right;
	height: 16px;
	width: 16px;
}

#icon-print
{
	background: url("../tmpl/img/icon_print.png") no-repeat 0 0;
	float: right;
	height: 25px;
	margin: 0 2px 0 8px;
	width: 28px;
}

#icon-rss
{
	background: url("../tmpl/img/icon_rss.gif") no-repeat left center;
	color: #77695E;
	float: right;
	line-height: 16px;
	margin: 20px 40px 0 0;
	padding: 0 0 0 20px;
	text-decoration: none;
}
#icon-rss:hover
{
	color: #77695E;
	text-decoration: underline;
}

#logo
{
	float: left;
	margin: 0 0 0 20px;
}

#search-form
{
	background: url("../tmpl/img/search.png") no-repeat 0 0;
/* 	float: right; */
	height: 29px;
	margin: 25px 2px 0 0;
	position: absolute;
	right: 0;
	width: 208px;
}
#search-btn
{
	background: transparent;
	border: 0;
	color: #fff;
	cursor: pointer;
	float: left;
	font-weight: bold;
	height: 29px;
	margin: 0;
	width: 62px;
}
#search-word
{
	background-color: #fff;
	border: 0;
	color: #999999;
	float: left;
	font-style: italic;
	padding: 2px 2px;
	margin: 5px 0 0 10px;
	width: 128px;
}

/*#skype
{
	background: url("../tmpl/img/skype.png") no-repeat center top;
	float: left;
	height: 23px;
	width: 145px;
}*/


/*****************/
/* Form, Listing */
/*****************/

.layout_body
{
	margin-bottom: 4px;
	margin-top: 4px;
	width: 100%;
}
.layout_body .edata
{
	background-color: #fff;
}
.layout_body .odata
{
	background-color: #f2f2f2;
}

.layout_footer1,
.layout_footer2,
.layout_header1,
.layout_header2
{
	width: 100%;
}

.layout_footer1 #sep
{
	width: 6px;
}

.layout_footer2 #sep
{
	width: 6px;
}

.layout_header1 #sep
{
	width: 6px;
}

.layout_header2 #sep
{
	width: 6px;
}

.clabel
{
	background-color: #999;
	color: #fff;
	padding: 4px;
}
.edata
{
	background-color: #f2f2f2;
	padding: 4px;
}
.odata
{
	padding: 4px;
}

td.groups
{
	color: #7f7f7f;
	font-weight: normal;
}
div.groups
{
	border-top: 1px solid #ccc;
	float: left;
	margin-top: 20px;
	padding-top: 5px;
	text-align: left;
	width: 80%;
}
div.groups a
{
	color: #7f7f7f;
	font-weight: normal;
	text-decoration: none;
}
div.groups a:active,
div.groups a:hover
{
	color: #999;
	font-weight: normal;
	text-decoration: none;
}
div.groups a.sel
{
	font-weight: bold;
}
div.groups .npage
{
	padding-left: 10px;
}
div.groups .ppage
{
	padding-right: 10px;
}
div.total-rows
{
	border-top: 1px solid #ccc;
	float: right;
	margin-top: 20px;
	padding-top: 5px;
	text-align: right;
	width: 20%;
	white-space: nowrap;
}
div.total-rows span
{
	font-weight: bold;
}


/********/
/* Form */
/********/

.form
{
	width: 100%;
}

.form_field
{
	padding: 3px 1px;
	text-align: left;
	vertical-align: middle;
}

.form_label
{
	padding: 3px 1px;
	text-align: left;
	vertical-align: middle;
}

.form_field_children .form_field,
.form_field_children .form_field_right,
.form_field_children .form_label
{
 	border: 0;
	padding: 0;
}

.radiogroup
{
	border: 0;
}

.err,
#err
{
	color: #C00;
}
input.err
{
	border: 1px #C00 solid;
}
select.err,
select.err option,
textarea.err
{
	border: 1px #C00 solid;
}

#hint
{
	color: #999;
	padding: 0 5px;
}

#req,
span.req
{
	color: #C00;
}

.form .title
{
	font-weight: bold;
	padding: 10px 0 5px 0;
}


/*********/
/* Menus */
/*********/

#menu1
{
	float: left;
	margin: 7px 0 0 0;
}

#menu1 li
{
	float: left;
	list-style: none;
	margin: 0 5px;
	padding-right: 20px;
}
#menu1 li a
{
	color: #fff;
	float: left;
	font-size: 12px;
	font-weight: bold;
	line-height: 30px;
	padding-left: 20px;
	text-decoration: none;
}

#menu1 li:hover
{
	background: url("../tmpl/img/menu1.png") no-repeat 100% 100%;
}
#menu1 li:hover a
{
	background: #a6ce39 url("../tmpl/img/menu1.png") no-repeat 0 100%;
	color: #fff;
	text-decoration: none;
}

#menu1 li.active
{
	background: url("../tmpl/img/menu1.png") no-repeat 100% 0;
}
#menu1 li.active a,
#menu1 li.active a:hover
{
	background: #a6ce39 url("../tmpl/img/menu1.png") no-repeat 0 0;
	color: #004271;
}

#menu2
{
	float: left;
	margin-bottom: 20px;
}
#menu2 li
{
	background: url("../tmpl/img/theme_2/menu2.png") no-repeat 100% 100%;
	float: left;
	list-style: none;
	margin-right: 24px;
	padding-bottom: 12px;
}
#menu2 li a
{
	background: #fff url("../tmpl/img/theme_2/menu2.png") no-repeat 100% 0;
	color: #fff;
	float: left;
	font-family: "Trebuchet MS", Verdana;
	font-size: 12px;
	font-weight: bold;
	padding: 12px 0 0 0;
	text-align: center;
	text-decoration: none;
	width: 220px;
}
#menu2 li:hover,
#menu2 li.active
{
	background-position: 0 100%;
}
#menu2 li:hover a,
#menu2 li.active a
{
	background-position: 0 0;
	color: #fff;
	text-decoration: none;
}
#menu2 li#menu2-first-1,
#menu2 li#menu2-first-1 a
{
	background-image: url("../tmpl/img/theme_1/menu2.png");
}
#menu2 li#menu2-last-1
{
	margin-right: 0;
}
#menu2 li#menu2-last-1,
#menu2 li#menu2-last-1 a
{
	background-image: url("../tmpl/img/theme_3/menu2.png");
}


#menu3
{
	background: url("../tmpl/img/menu3_li.png") no-repeat 50% 0;
	float: left;
	margin-bottom: 20px;
	padding-top: 4px;
	width: 210px;
}

/* 1.level */
#menu3 li
{
	background: url("../tmpl/img/menu3_li.png") no-repeat 50% 100%;
	clear: both;
	float: left;
	list-style: none;
	margin-bottom: 0;
	padding: 4px 0 8px 0;
	text-align: left;
	width: 210px;
}
#menu3 li b
{
	float: left;
	padding-bottom: 12px;
	width: 210px;
}
#menu3 li b a
{
	color: #666;
	float: left;
	font-family: "Trebuchet MS", Verdana;
	font-size: 13px;
	font-weight: bold;
	padding: 11px 10px 0 12px;
	text-decoration: none;
	width: 188px;
}
#menu3 li:hover b,
#menu3 li.active ul li:hover b
{
	background: url("../tmpl/img/menu3.png") no-repeat 100% 100%;
}
#menu3 li:hover b a,
#menu3 li.active ul li:hover b a
{
	background: #fff url("../tmpl/img/menu3.png") no-repeat 100% 0;
	color: #666;
}
#menu3 li.active b
{
	background: url("../tmpl/img/menu3.png") no-repeat 0 100%;
}
#menu3 li.active b a
{
	background: #fff url("../tmpl/img/menu3.png") no-repeat 0 0;
	color: #fff;
	font-weight: bold;
}

/* 2.level */
#menu3 li ul li,
#menu3 li ul li b,
#menu3 li.active ul li,
#menu3 li.active ul li b
{
	background-image: none;
}
#menu3 li ul li
{
	padding: 0 0 4px 0;
}
#menu3 li ul li b a,
#menu3 li.active ul li b a
{
	background-image: none;
	color: #888;
	font-size: 12px;
	font-weight: normal;
	padding: 4px 10px 0 24px;
	width: 176px;
}
#menu3 li ul li b
{
	padding-bottom: 4px;
}
#menu3 li:hover ul li b,
#menu3 li:hover ul li b a
{
	background-image: none;
}
#menu3 li:hover ul li:hover b,
#menu3 li:hover ul li:hover b a
{
	background-image: none;
	color: #000;
}
#menu3 li:hover ul li.active b a,
#menu3 li.active ul li.active b a
{
	background: url("../tmpl/img/menu3_li2.png") no-repeat 6px 6px;
	color: #000;
}
#menu3 li ul li#menu3-first-2
{
	background: url("../tmpl/img/menu3_li.png") no-repeat 50% 0;
	margin-top: 4px;
	padding-top: 8px;
}

/* language selector */
#lang-pfx
{
	color: #fff;
	float: right;
	font-weight: bold;
	margin: 18px 10px 0 0;
}
#lang
{
	float: right;
	margin: 18px 8px 0 0;
}
#lang li
{
	float: left;
	list-style: none;
}
#lang li a
{
	color: #fff;
	text-decoration: none;
}
#lang li a:hover,
#lang li.active a:hover
{
	text-decoration: underline;
}

/* path */
#path
{
	float: left;
	margin-bottom: 20px;
}
#path li
{
	float: left;
	list-style: none;
	padding-right: 5px;
}
#path li a
{
	color: #b6b6b6;
	font-style: italic;
	text-decoration: none;
}
#path li a:hover,
#path li.active a:hover
{
	color: #666;
	text-decoration: none;
}

#news-left
{
	clear: both;
	float: left;
	margin-bottom: 20px;
	width: 220px;
}
#news-left li
{
	background: url("../tmpl/img/news_li.png") no-repeat 0 100%;
	float: left;
	list-style: none;
	margin: 0 0 6px 0;
	padding: 0 0 10px 0;
	width: 205px;
}
#news-left li a
{
	color: #999;
	float: left;
	padding: 0 2px;
}
#news-left li#news-last-1
{
	background-image: none;
}

#events-left
{
	clear: both;
	float: left;
	width: 220px;
}
#events-left li
{
	background: url("../tmpl/img/news_li.png") no-repeat 0 100%;
	float: left;
	list-style: none;
	margin: 0 0 6px 0;
	padding: 0 0 10px 0;
	width: 205px;
}
#events-left li a
{
	color: #999;
	float: left;
	padding: 0 2px;
}
#events-left li#events-last-1
{
	background-image: none;
}

/* navigation bar */
/*.navi l1
{
	float: left;
	list-style: none;
	padding: 0;
	text-decoration: none;
}
.navi l1 a
{
	color: #666;
	font-weight: normal;
}
.navi l1 a:hover
{
	color: #666;
	text-decoration: underline;
}*/


/************/
/* siteEdit */
/************/
.siteEditDotOver
{
	background-color: #f2f2f2;
	border: 1px solid #fff;
	display: none;
	margin: 0;
	position: absolute;
	text-align: left;
	visibility: visible;
	width: 160px;
	z-index: 2500;
}
.siteEditDotOver table
{
	border: 1px solid #105aa4;
	width: 100%;
}
.siteEditDotOver table td
{
	background-color: #fff;
	padding: 2px 4px 2px 6px;
}
.siteEditDotOver table td.icon
{
	background-color: #f4f4f4;
	padding: 2px 4px;
	text-align: center;
	width: 1%;
}
.siteEditDotOver a
{
	display: block;
	color: #009;
	text-decoration: none;
}
.siteEditDotOver a:hover
{
	text-decoration: underline;
}
