/**
* 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;
	/*height: 100%;*/
	margin: 0;
	padding: 0;
	text-align: left;
}
body#site
{
	background: #41424a url("../tmpl/img/body.jpg") repeat-x left top;
	color: #716e5d;
	margin-bottom: 8px;
}

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

div
{
	margin: 0;
	padding: 0;
}

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

form
{
	margin: 0;
	padding: 0;
}

h1, h2, h3, h4, h5, h6
{
	color: #716e5d;
	font-family: /*"Trebuchet MS",*/ Verdana, Arial;
	margin: 0;
	padding: 0;
	text-align: left;
}
h2, h3, h4, h5, h6
{
	margin: 10px 0 5px 0;
}
h1
{
	color: #f60;
	font-size: 30px;
	font-weight: normal;
	margin: 20px 0 5px 36px;
}
h2
{
	font-size: 30px;
	font-weight: normal;
}
h3
{
	font-size: 18px;
	font-weight: bold;
}
h4
{
	font-size: 16px;
	font-weight: bold;
}
h5
{
	font-size: 14px;
	font-weight: bold;
}
h6
{
	font-size: 12px;
	font-weight: bold;
	margin: 5px 0 0 0;
}

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: 4px;
	width: 99%;
}
input.text:focus
{
	background-color: #ff9;
}

li
{
	margin: 0;
	padding: 0;
}

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

option
{
	background-color: #F2F2F2;
}

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

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

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

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

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

ul
{
	list-style: none;
	margin: 0 0 0 10px;
	padding: 0;
}
ul li
{
	background: url("../tmpl/img/ul_l1.png") no-repeat 0 5px;
	padding-left: 16px;
}
ul ul li
{
	background: url("../tmpl/img/ul_l2.png") no-repeat 7px 7px;
	padding-left: 20px;
}


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

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

#header
{
	height: 103px;
	width: 950px;
}

#content-wrap
{
	background: #fff url("../tmpl/img/content_wrap.png") repeat-x 0 0;
	float: left;
	width: 100%;
}
#content
{
	float: left;
	padding-bottom: 25px;
	width: 950px;
}

#article
{
	float: left;
	line-height: 160%;
	min-height: 350px;
	padding: 0 10px 30px 37px;
	text-align: left;
	vertical-align: top;
	width: 628px;
}
* html #article /* IE 6 */
{
	height: 350px;
}
#article a
{
	background-color: #e8e8e3;
	border-bottom: 1px solid #f60;
	color: #716e5d;
	font-weight: normal;
	text-decoration: none;
}
#article a:hover
{
	border-bottom: 0;
	color: #716e5d;
	text-decoration: none;
}

#article li
{
	margin-bottom: 10px;
}

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

#footer-wrap
{
	background-color: #e2e3dd;
	border-top: 1px solid #fff;
	float: left;
	margin-bottom: 8px;
	width: 100%;
}
#footer
{
	float: left;
	padding: 15px 0;
	width: 950px;
}
#footer div
{
	background: url("../tmpl/img/footer_right.gif") repeat left top;
	float: left;
}
#footer div div
{
	background: none;
	border-right: 1px solid #cecdc4;
	float: left;
	height: 100%;
	margin: 0;
	padding: 0 15px;
	width: 206px;
}
#footer .p1
{
	margin: 0 0 10px 0;
}
#footer .p1 .b1,
#footer .p1 .b2,
#footer .p1 .b3t,
#footer .p1 .b3t span,
#footer .p1 .b3b,
#footer .p1 .b3b span
{
	display: block;
	font-size: 1px;
	height: 1px;
	overflow: hidden;
}
#footer .p1 .b1
{
	background: #fff;
	border: 0 solid #f1f2ef;
	border-width: 0 1px;
	margin: 0 1px;
}
#footer .p1 .b2
{
	background: #fff;
	border: 0 solid #f1f2ef;
	border-width: 0 1px;
}
#footer .p1 .b3t,
#footer .p1 .b3b
{
	border: 0 solid #fff;
	border-width: 0 2px;
}
#footer .p1 .b3t span
{
	background: #60b5ee;
	border: 0 solid #c9e6f9;
	border-width: 0 1px;
}
#footer .p1 .b3b span
{
	background: #069;
	border: 0 solid #a9cbdd;
	border-width: 0 1px;
}
#footer .p1 .b-content
{
	background: #069 url("../tmpl/img/footer_title.png") repeat-x left top;
	border: 0 solid #fff;
	border-width: 0 2px;
	color: #fff;
	font-weight: bold;
	display: block;
	padding: 4px 14px;
}
#footer .p2
{
	color: #666;
	line-height: 160%;
	margin: 0;
	padding: 0 5px;
}
#footer .p2 a
{
	display: block;
	margin-top: 20px;
	padding: 0 0 0 116px;
	text-decoration: none;
}
#footer .p2 .read-more-est
{
	background: url("../tmpl/img/look_more_est.gif") no-repeat left center;
}
#footer .p2 .read-more-eng
{
	background: url("../tmpl/img/look_more_eng.png") no-repeat left center;
}
#footer .p2 a:hover
{
	text-decoration: none;
}
#footer .p2 a#selected2
{
	background-image: none;
	border: 3px solid #fff;
	margin: 0;
	padding: 0;
}
#footer .p2 a#selected2 img
{
	border: 1px solid #cecdc4;
	display: block;
}


#footer2
{
	background: #dee2e5 url("../tmpl/img/footer2.jpg") repeat-x left top;
	border-bottom: 2px solid #fff;
	border-top: 1px solid #f2f2f3;
	float: left;
	padding: 10px 0;
	margin-bottom: 8px;
	width: 100%;
}
#footer2 p
{
	color: #666;
	float: left;
	line-height: 160%;
	margin: 0;
	padding: 0;
	width: 320px;
}


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

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

#logo
{
	float: left;
/* 	margin: 0 0 0 10px; */
	left: 10px;
	position: absolute;
	top: 20px;
}

#search-form
{
	clear: right;
	float: right;
	margin: 26px 0 0 0;
	vertical-align: bottom;
}
#search-form label
{
	color: #0B96D2;
	margin: 0;
	padding: 0;
	vertical-align: bottom;
}
#search-btn
{
	border: 1px #0DA0E0 solid;
	border-left: 0;
	display: block;
	float: left;
	margin: 4px 0 0 0;
	vertical-align: bottom;
}
#search-word
{
	background-color: #EBF8FE;
	border: 1px #0DA0E0 solid;
	border-right: 0;
	color: #0DA0E0;
	display: block;
	float: left;
	height: 20px;
	line-height: 20px;
	padding: 0 2px 0 2px;
	margin: 4px 0 0 0;
	vertical-align: bottom;
	width: 127px;
}

#selected1
{
	background: url("../tmpl/img/selected1.jpg") no-repeat left top;
	float: right;
	height: 236px;
	width: 249px;
}
#selected1 img
{
	left: 9px;
	position: relative;
	top: 21px;
}

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

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

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

/* horisontal: header */
.menu1
{
	float: right;
	margin-top: 40px;
}
.menu1 li
{
	background: none;
	float: left;
	list-style: none;
	margin: 0 12px;
	padding: 0;
	text-decoration: none;
	white-space: nowrap;
}
.menu1 a
{
	color: #fff;
	display: block;
	font-size: 12px;
	font-weight: normal;
	padding: 4px 8px;
	text-decoration: none;
}
.menu1 a:hover,
.menu1 li.active a
{
	border: 1px solid #cbcbcb;
	color: #fff;
	padding: 3px 7px;
	text-decoration: none;
}
#menu1-first-1 a
{
	background: #3c98ce url("../tmpl/img/menu1_first_tr.jpg") no-repeat right top;
	padding: 0;
}
#menu1-first-1 a:hover
{
	border: 0;
	text-decoration: none;
}
#menu1-first-1 a b
{
	color: #fff;
	display: block;
	font-size: 12px;
	font-weight: normal;
}
#menu1-first-1 a b.tl
{
	background: url("../tmpl/img/menu1_first_tl.jpg") no-repeat left top;
}
#menu1-first-1 a b.br
{
	background: url("../tmpl/img/menu1_first_br.jpg") no-repeat right bottom;
}
#menu1-first-1 a b.bl
{
	background: url("../tmpl/img/menu1_first_bl.jpg") no-repeat left bottom;
	padding: 4px 8px;
}

/* horisontal: top left corner */
#menu2-wrap
{
	background: url("../tmpl/img/menu2_right.gif") no-repeat right bottom;
	float: right;
}
#menu2-wrap2
{
	background: url("../tmpl/img/menu2_left.gif") no-repeat left bottom;
	float: left;

}
.menu2
{
	background-color: #333;
	border-bottom: 1px solid #3e3c3a;
	float: left;
	/*margin: 0 4px;*/
	margin: 0 0 0 4px;
	padding: 6px 32px 6px 16px;
}
.menu2 li
{
	background: none;
	border-right: 1px solid #fda000;
	float: left;
	list-style: none;
	padding: 0 12px;
	text-align: left;
	text-decoration: none;
	white-space: nowrap;
}
.menu2 a
{
	color: #fda000;
	text-decoration: none;
}
.menu2 a:hover
{
	color: #fda000;
	text-decoration: underline;
}
.menu2 li.active a
{
	color: #fda000;
	text-decoration: underline;
}
.menu2 li#menu2-last-1
{
	border-right: 0;
}

/* vertical: right */
#menu3-wrap
{
	background: url("../tmpl/img/menu3_top.png") no-repeat left top;
	float: right;
	margin-bottom: 20px;
	padding-top: 9px;
	width: 260px;
}
#menu3-wrap2
{
	background: url("../tmpl/img/menu3.png") repeat-y left top;
	float: left;
	width: 260px;
}
.menu3
{
	background: url("../tmpl/img/menu3_bottom.png") no-repeat left bottom;
	float: left;
	margin: 0;
	padding: 5px 0 14px 0;
	width: 260px;
}
.menu3 li
{
	background: none;
	display: block;
	list-style: none;
 	padding: 2px 0;
	text-align: left;
	text-decoration: none;
	white-space: nowrap;
}
.menu3 li a
{
	background: url("../tmpl/img/menu3_l1.png") no-repeat 30px 50%;
	color: #716e5d;
	display: block;
	padding: 3px 10px 3px 56px;
	text-decoration: none;
}
.menu3 li a:hover,
.menu3 li.active a
{
	color: #000;
	text-decoration: none;
}
.menu3 li.active li a
{
	color: #716e5d;
	background: none;
	padding-left: 50px;
}
.menu3 li.active li a:hover,
.menu3 li.active li.active a
{
	background: none;
	color: #000;
}


/* language selector */
#lang
{
	background-color: #333;
	border-bottom: 1px solid #3e3c3a;
	float: left;
	margin: 0 4px 0 0;
	padding: 6px 28px 6px 0;
}
#lang li
{
	background: none;
/* 	display: inline; */
	float: left;
	list-style: none;
	margin: 0;
	padding: 0;
}
#lang a
{
	color: #fff;
	float: left;
	font-weight: bold;
}
#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;
	text-decoration: none;
}
#path li a:hover,
#path li.active a:hover
{
	color: #666;
	text-decoration: none;
}*/


/* navigation bar */
/*#navi li
{
	float: left;
	list-style: none;
}
#navi li a
{
	color: #666;
	font-weight: normal;
	text-decoration: none;
}
#navi li 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;
}
