/**
* 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, td
{
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
}

body
{
	background-color: #fff;
	color: #000;
	/*height: 100%;*/
	margin: 0;
	padding: 0;
	text-align: left;
}
body#site
{
	background: #fff url("../tmpl/img/body.gif") repeat-y 0 0;
	color: #036;
}

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

div
{
	margin: 0;
	padding: 0;
}

fieldset
{
	border: 1px solid #999;
	margin: 0;
	padding: 4px;
}

form
{
	margin: 0;
	padding: 0;
}

h1, h2, h3, h4, h5, h6
{
	color: #036;
/* 	font-family: "Trebuchet MS", Verdana; */
	margin: 0;
	padding: 0;
	text-align: left;
}
h2, h3, h4, h5, h6
{
	margin: 0 0 5px 0;
}
h1
{
	font-size: 17px;
	font-weight: bold;
	line-height: 20px;
	margin: 0 0 10px 0;
}
h2
{
	color: #600;
	font-size: 13px;
	font-weight: bold;
	line-height: 18px;
}
h3
{
	font-size: 12px;
	font-weight: bold;
	margin: 30px 0 10px 0;
}
h4
{
	font-size: 11px;
	font-weight: bold;
}
h5
{
	font-size: 11px;
	font-weight: normal;
}
h6
{
	font-size: 14px;
	font-weight: normal;
}

img
{
	border: 0;
}

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

legend
{
	color: #036;
	font-size: 11px;
	font-weight: bold;
}

li
{
	margin: 0;
	padding: 0;
}

ol
{
	margin: 0 0 0 20px;
	padding: 0;
}

option
{
	background-color: #fff;
}

p
{
	margin: 0;
	padding: 5px 0;
}

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

select
{
	background-color: #fff;
	border: 1px solid #999;
	margin: 0;
	padding: 1px;
}

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

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

ul
{
	margin: 0 0 0 20px;
	padding: 0;
}


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

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

#wrap
{
/* 	margin: 0 auto; */
	width: 985px;
}

#header1
{
	background-color: #036;
	height: 100px;
	position: relative;
}

#header1-right
{
	float: right;
	margin: 17px 9px 0 0;
}

#header2
{
	background: url("../tmpl/img/header2.jpg") no-repeat 100% 0;
	height: 70px;
}

#left
{
	float: left;
	width: 185px;
}

#main
{
	float: left;
	padding: 16px;
	width: 583px;
}

#article
{
	float: left;
	line-height: 140%;
	min-height: 300px;
	padding: 0;
	text-align: left;
	vertical-align: top;
	width: 583px;
}
* html #article /* IE 6 */
{
	height: 300px;
}

#right
{
	float: right;
	padding-top: 1px;
	width: 185px;
}
#right h2
{
	background-color: #036;
	color: #fff;
	font-weight: bold;
	font-size: 12px;
	margin: 0;
	padding: 4px 5px 4px 15px;
}
#right p
{
	padding: 4px 5px 4px 15px;
}

#footer
{
	clear: both;
	float: left;
	padding: 0 0 20px 201px;
	width: 784px;
}
#footer a
{
	color: #9d9d9d;
	text-decoration: none;
}
#footer a:hover
{
	text-decoration: underline;
}


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

.button
{
	background-color: #FFF;
	border: 1px #666 solid;
	color: #666;
	display: block;
	font-weight: bold;
	margin: 10px 0;
	padding: 1px 4px;
	text-decoration: none;
}
.button:active,
.button:hover
{
	background-color: #666;
	border: 1px #666 solid;
	color: #FFF;
	text-decoration: none;
}

/*
.button-rounded
{
	background: transparent;
	color: #666;
	text-decoration: none;
	margin: 10px 0;
}
.button-rounded:hover
{
	color: #666;
	text-decoration: none;
}
.button-rounded .b1,
.button-rounded .b2,
.button-rounded .b3,
.button-rounded .b4
{
	display: block;
	font-size: 1px;
	height: 1px;
	overflow: hidden;
}
.button-rounded .b2,
.button-rounded .b3,
.button-rounded .b4
{
	background: #F5F4E0;
	border-left: 1px solid #E2E0C4;
	border-right: 1px solid #E2E0C4;
}
.button-rounded .b1
{
	margin: 0 5px;
	background: #E2E0C4;
}
.button-rounded .b2
{
	border-width: 0 2px 0 2px;
	margin: 0 3px;
}
.button-rounded .b3
{
	margin: 0 2px;
}
.button-rounded .b4
{
	margin: 0 1px;
	height: 2px;
	border-width: 0 1px 0 1px;
}
.button-rounded .b-content
{
	background: #F5F4E0;
	border: 0 solid #E2E0C4;
	border-width: 0 1px;
	display: block;
	padding: 0 10px;
}
*/

#contacts
{
	float: left;
	line-height: 140%;
	margin: 30px 12px;
	text-align: right;
	width: 161px;
}

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

#icon-print
{
	background: url("../tmpl/img/icon_print.png") no-repeat 0 100%;
	float: right;
	height: 100%;
	margin-right: 13px;
	width: 17px;
}
/*
#icon-print
{
	background: #e6e6e6 url("../tmpl/img/icon_print_l.gif") no-repeat left center;
	color: #666;
	float: right;
	line-height: 25px;
	padding: 0 0 0 10px;
	text-decoration: none;
}
#icon-print:hover
{
	color: #666;
	text-decoration: underline;
}
#icon-print div
{
	background: #e6e6e6 url("../tmpl/img/icon_print_r.gif") no-repeat right center;
	float: left;
	padding: 0 10px 0 0;
}
#icon-print div div
{
	background: #e6e6e6 url("../tmpl/img/icon_print.gif") no-repeat right center;
	color: #666;
	cursor: pointer;
	cursor: hand;
	float: left;
	padding: 0 25px 0 0;
}
*/

#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;
}

/*
#icon-sendlink
{
	background: url("../tmpl/img/icon_sendlink.gif") no-repeat 50% 50%;
	float: right;
	height: 13px;
	margin: 20px 10px 0 0;
	width: 14px;
}
*/

#logo
{
	position: absolute;
	height: 100px;
	left: 41px;
	top: 70px;
	width: 102px;
}

#search-form
{
	float: left;
	margin: 40px 0 0 0;
}
#search-btn
{
	background: url("../tmpl/img/search.gif") no-repeat 0 0;
	border: 0;
	cursor: pointer;
	float: left;
	height: 12px;
	margin: 4px 0 0 5px;
	width: 15px;
}
#search-word
{
	background-color: #fff;
	border: 1px solid #a0b2c0;
	color: #666;
	float: left;
	padding: 2px 4px;
	margin: 0 0 0 12px;
	width: 130px;
}

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

#slogan
{
	font-size: 9px;
	float: left;
	font-weight: bold;
	margin: 5px 0 20px 0;
	text-align: center;
	width: 185px;
}
#slogan2
{
	color: #fc0;
	float: left;
	font-size: 13px;
	font-weight: bold;
	margin-top: 17px;
	text-align: center;
	width: 185px;
}


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

.layout_body
{
	margin-bottom: 4px;
	margin-top: 4px;
	width: 100%;
}
.edata
{
/* 	background-color: #fff; */
}
.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;
}

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 */
/********/

.fieldset-wrap fieldset
{
	margin-bottom: 20px;
}

.form
{
	width: 100%;
}

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

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

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

.fieldset-wrap .radiogroup
{
	border: 0;
	margin: 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;
}
.hint-bottom
{
	color: #999;
	padding-left: 2px;
}

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

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


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

#menu1-border
{
	border-bottom: 1px solid #ccc;
	bottom: 0;
	left: 185px;
	margin: 0 0 2px 0;
	position: absolute;
	width: 800px;
	z-index: 1;
}

/* simple horisontal */
#menu1
{
	bottom: 0;
	left: 185px;
	margin: 0 0 2px 0;
	position: absolute;
	z-index: 2;
}
#menu1 li
{
	background: url("../tmpl/img/menu1.gif") no-repeat 100% 0;
	float: left;
	list-style: none;
}
#menu1 li a
{
	border-top: 1px solid #ccc;
	color: #999;
	float: left;
	font-weight: bold;
	margin: 3px 12px 0 0;
	padding: 7px 17px 6px 17px;
	text-decoration: none;
}
#menu1 li a:hover
{
	color: #fc0;
	text-decoration: none;
}
#menu1 li.active
{
	background: url("../tmpl/img/menu1_a.gif") no-repeat 100% 0;
	border-bottom: 1px solid #036;
}
#menu1 li.active a
{
	color: #fc0;
	margin-top: 0;
	padding-top: 10px;
}

#menu2
{
	/*float: right;
	margin: 17px 9px 0 0;*/
	clear: both;
	float: left;
}
#menu2 li
{
	float: left;
	list-style: none;
	text-align: left;
}
#menu2 li a
{
	border-right: 1px solid #fff;
	color: #fff;
	float: left;
	font-size: 10px;
	padding: 0 6px;
	text-decoration: none;
}
#menu2 li a:hover
{
	color: #fc0;
	text-decoration: none;
}
#menu2 li#menu2-last-1 a
{
	border-right: 0;
}
#menu2 li.active a
{
	color: #fc0;
}

#menu3
{
	float: left;
	margin: 0;
	position: relative;
	text-align: left;
	width: 185px;
}
#menu3 li
{
	float: left;
	list-style: none;
	width: 185px;
}
#menu3 li a
{
	color: #036;
	float: left;
	font-weight: bold;
	padding: 8px 33px 8px 5px;
	text-decoration: none;
	text-align: right;
	width: 147px;
}
#menu3 li.has-items a
{
	background: url("../tmpl/img/menu3.gif") no-repeat 168px 50%;
}
#menu3 li a:hover
{
	background-color: #ebf7fb;
	color: #036;
	text-decoration: none;
}
#menu3 li.active a
{
	background-color: #afdfef;
}
#menu3 li ul
{
	display: none;
	left: 185px;
	margin: 0;
	padding-left: 1px;
	position: absolute;
	top: 0;
}
#menu3 li ul li
{
	background-color: #d1edf6;
	float: none;
	padding: 0;
	width: 165px;
}
#menu3 li ul li a
{
	background: none;
	float: none;
	font-weight: bold;
	display: block;
	margin: 0;
	padding: 8px 6px 8px 6px;
	text-align: left;
	width: 153px;
}
#menu3 li:hover ul
{
	display: block;
}
#menu3 li:hover ul li a:hover
{
	background-color: #ebf7fb;
}
#menu3 li.active ul li a
{
	background-color: #d1edf6;
}
#menu3 li.active ul li.active a
{
	background-color: #afdfef;
}

#menu-right
{
	margin: 0;
}
#menu-right li
{
	list-style: none;
	padding: 10px 5px 0 15px;
}
#menu-right li a
{
	line-height: 140%;
	text-decoration: none;
}
#menu-right li a:hover
{
	text-decoration: underline;
}


/* language selector */
#lang
{
	clear: both;
	float: left;
	margin-top: 10px;
}
#lang li
{
	float: left;
	list-style: none;
	text-align: left;
}
#lang li a
{
	color: #fff;
	float: left;
	font-size: 10px;
	padding: 0 6px;
	text-decoration: none;
}
#lang li a:hover
{
	color: #fc0;
	text-decoration: none;
}
#lang li.active a
{
	color: #fc0;
}


#news
{
	margin: 4px 0 16px 0;
}
#news li
{
	list-style: none;
	padding: 4px 5px 4px 15px;
}
#news li a
{
	line-height: 140%;
	text-decoration: none;
}
#news li a:hover
{
	text-decoration: underline;
}
#news-view-more
{
	display: block;
	margin: 10px 0 20px 15px;
	text-decoration: none;
}
#news-view-more:hover
{
	text-decoration: underline;
}


#news2
{
	margin: 0;
}
#news2 li
{
	list-style: none;
	padding: 10px 5px 0 15px;
}
#news2 li a
{
	line-height: 140%;
	text-decoration: none;
}
#news2 li a:hover
{
	text-decoration: underline;
}
#news2-view-more
{
	display: block;
	margin: 10px 0 20px 15px;
	text-decoration: none;
}
#news2-view-more:hover
{
	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;
}
