/**
* 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: Arial, Helvetica, sans-serif;
	font-size: 12px;
}

body
{
	background-color: #fff;
	color: #000;
	/*height: 100%;*/
	margin: 0;
	padding: 0;
	text-align: left;
}
body#site
{
	background-color: #3dbd18;
	padding-bottom: 20px;
	text-align: center;
}

a
{
	color: #093;
	font-weight: normal;
	text-decoration: none;
}
a:active,
a:hover
{
	color: #093;
	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: #297FAD;
/* 	font-family: "Trebuchet MS", Arial, Verdana; */
	margin: 0;
	padding: 0;
	text-align: left;
}
h2, h3, h4, h5, h6
{
	margin: 0 0 5px 0;
}
h1
{
	float: left;
	font-size: 24px;
	font-weight: normal;
	width: 440px;
}
h2
{
	font-size: 22px;
	font-weight: normal;
}
h3
{
	font-size: 20px;
	font-weight: normal;
}
h4
{
	font-size: 18px;
	font-weight: normal;
}
h5
{
	border-bottom: 1px solid #666;
	color: #666;
	font-size: 12px;
	font-style: italic;
	font-weight: normal;
	margin-top: 10px;
	text-align: right;
}
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;
}

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
{
	border: 10px solid #1b7800;
	margin: 8px auto 0 auto;
	text-align: left;
	width: 760px;
}

#header
{
	background: url("../tmpl/img/header.jpg") no-repeat 0 0;
	height: 105px;
	position: relative;
}

#main
{
	background: url("../tmpl/img/main.png") repeat-y 0 0;
/* 	clear: both; */
	float: left;
/* 	min-height: 300px; */
	padding: 0;
	width: 760px;
}

#left
{
/* 	background-color: red; */
	float: left;
	width: 230px;
}
#left img
{
	margin: 0;
	padding: 0;
}

#right
{
	background-color: #eaf8e6;
	float: right;
	padding: 20px;
	width: 490px;
}

#article
{
	clear: both;
	float: left;
/* 	font-size: 12px; */
	line-height: 140%;
	min-height: 300px;
	padding: 0;
	text-align: left;
	width: 490px;
}

#footer
{
/* 	background: url("../tmpl/img/footer.png") no-repeat 0 100%; */
/* 	clear: both; */
/* 	float: left; */
/*  	margin-bottom: 20px; */
/* 	padding-bottom: 4px; */
	margin: 0 auto;
	width: 780px;
}


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

.dict-all
{
	color: #fff;
	display: block;
	font-weight: bold;
	margin-top: 10px;
	text-decoration: none;
}
.dict-all:hover
{
	color: #fff;
	text-decoration: underline;
}

#home
{
	background: url("../tmpl/img/home.gif") no-repeat 10px 50%;
	border-bottom: 1px solid #fff;
	display: block;
	color: #fff;
	font-weight: bold;
	padding: 4px 8px 4px 22px;
	text-decoration: none;
}
#home:hover
{
	text-decoration: underline;
}

/*
#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.gif") no-repeat 0 0;
	float: right;
/* 	height: 100%; */
	line-height: 18px;
	padding-left: 20px;
/* 	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
{
	float: left;
	height: 60px;
	margin: 15px 0 0 0;
	width: 600px;
}

#logo2
{
	float: right;
	height: 26px;
	margin: 10px;
	width: 51px;
}

#search-form
{
	/*background: url("../tmpl/img/search.png") no-repeat 0 0;*/
	float: right;
/* 	height: 26px; */
	/*margin: 32px 13px 0 0;*/
	position: absolute;
	right: 0;
	top: 75px;
}
#search-btn
{
	background: none;
	border: 0;
	color: #fff;
	cursor: pointer;
	float: left;
	margin: 0;
	padding: 0 8px 0 4px;
	text-transform: uppercase;
}
#search-word
{
	background-color: #fff;
	border: 0;
	color: #333;
	float: left;
	padding: 2px 4px;
/* 	margin: 5px 10px 0 5px; */
	width: 120px;
}

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

/*
#slogan
{
	background: url("../tmpl/img/slogan.png") no-repeat 0 0;
	float: left;
	height: 100%;
	width: 490px;
}
*/


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

.layout_body
{
	margin-bottom: 4px;
	margin-top: 4px;
	width: 100%;
}
.edata
{
	background: none;
}
.odata
{
	background: none;
}

.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: 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;
}

.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;
}
.hint-bottom
{
	color: #999;
	padding-left: 2px;
}

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

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


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

#menu1
{
	background: url("../tmpl/img/menu1/6.gif") repeat-x 0 0;
	border-bottom: 2px solid #71e34d;
	float: left;
	margin: 0;
/* 	padding-right: 40px; */
	width: 760px;
}
#menu1 li
{
	background-repeat: repeat-x;
	background-position: 0 0;
	float: left;
	list-style: none;
	padding-top: 8px;
}
#menu1 a
{
	color: #fff;
	float: left;
/* 	font-family: "Trebuchet MS", Arial, Verdana; */
	font-size: 14px;
	font-weight: bold;
	padding: 6px 9px;
	text-decoration: none;
}
#menu1 a:hover
{
	color: #fff;
	text-decoration: none;
}
#menu1 li.active a
{
	color: #FEFF66;
}

#menu1 #item-1-1
{
	background-image: url("../tmpl/img/menu1/1.gif");
}
#menu1 #item-1-1-a:hover,
#menu1 li.active #item-1-1-a
{
	background-color: #D02F63;
}

#menu1 #item-1-2
{
	background-image: url("../tmpl/img/menu1/2.gif");
}
#menu1 #item-1-2-a:hover,
#menu1 li.active #item-1-2-a
{
	background-color: #598B92;
}

#menu1 #item-1-3
{
	background-image: url("../tmpl/img/menu1/3.gif");
}
#menu1 #item-1-3-a:hover,
#menu1 li.active #item-1-3-a
{
	background-color: #851B42;
}

#menu1 #item-1-4
{
	background-image: url("../tmpl/img/menu1/4.gif");
}
#menu1 #item-1-4-a:hover,
#menu1 li.active #item-1-4-a
{
	background-color: #FA8545;
}

#menu1 #item-1-5
{
	background-image: url("../tmpl/img/menu1/5.gif");
}
#menu1 #item-1-5-a:hover,
#menu1 li.active #item-1-5-a
{
	background-color: #9AC300;
}

#menu1 #item-1-6
{
	background-image: url("../tmpl/img/menu1/6.gif");
}
#menu1 #item-1-6-a:hover,
#menu1 li.active #item-1-6-a
{
	background-color: #1C7700;
}

#menu2
{
	float: left;
	margin: 0 0 20px 0;
	padding: 0;
	width: 230px;
}
#menu2 li
{
	float: left;
	list-style: none;
	text-align: left;
	width: 230px;
}
#menu2 a
{
	background: url("../tmpl/img/menu2.gif") no-repeat 0 6px;
	clear: both;
	color: #fff;
	float: left;
	font-weight: bold;
	/*margin: 3px 0 3px 10px;*/
	margin: 0 0 0 10px;
	padding: 3px 8px 3px 12px;
	text-decoration: none;
}
#menu2 a:hover
{
	color: #fff;
	text-decoration: underline;
}
#menu2 li.active a
{
	color: #145900;
	text-decoration: none;
}
#menu2 li.active ul
{
	background-color: #fff;
	float: left;
	margin: 0;
}
#menu2 li.active ul a
{
	background-image: url("../tmpl/img/menu2_l1.gif");
	color: #3285b1;
	font-weight: normal;
	margin-left: 22px;
}
#menu2 li.active ul a:hover
{
	text-decoration: underline;
}
#menu2 li.active li.active a
{
	color: #145900;
}
#menu2 li.active li.active a:hover
{
	text-decoration: underline;
}
#menu2 li.active li.active ul
{
	background-color: #b3ffaa;
}
#menu2 li.active li.active ul a
{
	color: #3285b1;
	margin-left: 34px;
}
#menu2 li.active li.active li.active a
{
	color: #145900;
}

#menu3
{
	float: left;
	margin: 15px 0 0 0;
	width: 689px;
}
#menu3 li
{
	display: inline;
	list-style: none;
	text-align: left;
}
#menu3 a
{
	color: #fff;
	padding: 0 6px;
	text-decoration: none;
}
#menu3 a:hover
{
	color: #fff;
	text-decoration: underline;
}
#menu3 li.active a
{
	color: #fff;
	text-decoration: underline;
}


/* language selector */
#lang
{
	float: right;
	margin: 0;
	padding: 8px 2px 8px 0;
}
#lang li
{
	float: left;
	list-style: none;
	text-decoration: none;
	white-space: nowrap;
}
#lang a
{
	border-right: 1px solid #fff;
	color: #fff;
	float: left;
	font-weight: bold;
	padding: 0 8px;
/* 	height: 27px; */
/* 	width: 27px; */
}
#lang li a:hover,
#lang li.active a:hover
{
	text-decoration: none;
}
#lang #lang-last-1 a
{
	border-right: 0;
}


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