/**
* 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;
	height: 100%;
	margin: 0;
	padding: 0;
	text-align: justify;
}
body#site
{
	background-color: #eeeeee;
}

a
{
	color: #0f80aa;
	font-weight: normal;
	text-decoration: underline;
}
a:active,
a:hover
{
	color: #0f80aa;
	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: #006e6f;
	font-family: "Trebuchet MS", Verdana;
	margin: 0;
	padding: 5px 0 20px 0;
	text-align: left;
	line-height:1.2em;

}
h2, h3, h4, h5, h6
{
	padding: 10px 0 5px 0;
}
h1
{
	font-size: 26px;
	font-weight: bold;
}
h2
{
	font-size: 24px;
	font-weight: normal;
}
h3
{
	font-size: 20px;
	font-weight: normal;
}
h4
{
	font-size: 18px;
	font-weight: normal;
}
h5
{
	font-size: 16px;
	font-weight: bold;
}
h6
{
	font-size: 14px;
	font-weight: bold;
}

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

li
{
	margin: 0;
	padding: 0;
}

ol
{
	margin: 0;
	padding: 5px 0 5px 30px;
}

option
{
	background-color: #F2F2F2;
}

p
{
	margin: 0 0 10px 0;

}

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

textarea
{
	background-color: #F2F2F2;
	border: 1px solid #999;
	margin: 0;
	padding: 1px;
}
textarea:focus
{
	border: 1px solid #0B0;
}

ul
{
	margin: 0;
	padding: 5px 0 5px 30px;
}


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

br.clear
{
	clear: both;
	display: block;
	font-size: 0;
	margin:0;
	margin-bottom:-10px;
	padding:0;
	height:0;
	line-height:0;
}

#main
{
	background: url("../tmpl/img/main.jpg") repeat-y left top;
	margin: 0 auto;
	width: 837px;
	position:relative;
}

#main-inner
{
	margin: 0 10px;
	padding: 10px 0;
}

#header
{
	display: block;
	padding-bottom: 20px;
}

#menu
{
	float: left;
	text-align: left;
	width: 190px;
}

#sponsor
{
	margin: 10px 9px;
}

#footer
{
	border: 8px solid #cad8d2;
	clear: both;
	margin: 10px 9px;
	text-align: left;
}
#footer div
{
	background: url("../tmpl/img/frens_logo.gif") no-repeat 10px 50%;
	border-top: 1px solid #ccc;
	color: #666;
	padding: 10px 10px 10px 250px;
}
#footer a,
#footer a:hover
{
	color: #666;
}


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

#article
{
	background: #fff;
	float: left;
	line-height: 140%;
	min-height: 400px;
	padding: 0 60px 20px 30px;
	vertical-align: top;
	width: 537px;
}
* html #article /* IE 6 */
{
	height: 400px;
}

#article h1
{
	color: #006e6f;
	font-family: Georgia, Verdana;
	font-size: 24px;
	font-weight: bold;
	margin: 0 0 10px 0;
	padding: 0;
	text-align: left;
}

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

#logo
{
	background: url("../tmpl/img/logo.jpg") no-repeat left top;
	display: block;
	float: left;
	height: 87px;
	width: 197px;
}

#icon-print
{
	background: url("../tmpl/img/icon_print.gif") no-repeat right center;
	color: #666;
	float: right;
	line-height: 25px;
	padding: 0 25px 0 0;
	text-decoration: none;
	position:absolute;
	top:220px;
	right:20px;
}
#icon-print:hover
{
	color: #666;
	text-decoration: underline;
}

#article table{
border-collapse:collapse;
border:0;
border-color:#fff;
}

#article table th{
background:#d3edfd;
padding:10px 10px 8px 10px;
font-weight:bold;
text-align:left;
color:#006566;
font-size:14px;
border-right:1px solid #fff;
}

#article table td{
background:#e7f5fe;
border:0;
border-bottom:1px solid #fff;
padding:4px 10px;
font-size:11px;
}




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

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


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

.layout_body
{
	margin-bottom: 4px;
	margin-top: 4px;
}

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

.layout_footer1 #sep
{
	width: 6px;
}

.layout_footer2 #sep
{
	width: 6px;
}

.layout_header1 #sep
{
	width: 6px;
}

.layout_header2 #sep
{
	width: 6px;
}


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

.form
{
	background-color: #FFF;
	width: 99%;
}
.form td
{
	background-color: #FFF;
}

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

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

.err,
#err
{
	color: #C00;
}
input.err
{
	background-color: #F2F2F2;
	border: 1px #C00 solid;
	padding: 1px;
}
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 */
/*********/

.v1_menu_content
{
	margin-top: 5px;
	width: 100%;
}
.v1_menu_content .l1,
.v1_menu_content .l1_a
{
	background: url("../tmpl/img/menu_l1.gif") no-repeat 162px center;
	border: 1px solid #fff;
	color: #666;
	display: block;
	font-weight: normal;
	margin: 0 0 0 10px;
	padding: 4px 26px 4px 0px;
	text-align: right;
	text-decoration: none;
	white-space: nowrap;
}
.v1_menu_content .l1:hover
{
	border: 1px solid #e6e6e6;
	color: #666;
	text-decoration: none;
}
.v1_menu_content .l1_a,
.v1_menu_content .l1_a:hover
{
	background: #cad8d2 url("../tmpl/img/menu_l1_a.gif") no-repeat 162px center;
	border: 1px solid #cad8d2;
	color: #006566;
	text-decoration: none;
}

.lang_menu_content
{
	float: right;
}
.lang_menu_content .l1,
.lang_menu_content .l1_a
{
	color: #86817D;
	display: block;
	line-height: 87px;
	margin: 0 10px;
	padding-left: 24px;
	text-decoration: none;
	white-space: nowrap;
}
.lang_menu_content .l1_a,
.lang_menu_content .l1:active,
.lang_menu_content .l1:hover,
.lang_menu_content .l1_a:active,
.lang_menu_content .l1_a:hover
{
	text-decoration: underline;
}
.lang_menu_content .l1-est
{
	background: url("../tmpl/img/lang_est.gif") no-repeat left center;
}
.lang_menu_content .l1-eng
{
	background: url("../tmpl/img/lang_eng.gif") no-repeat left center;
}
.lang_menu_content .l1-rus
{
	background: url("../tmpl/img/lang_rus.gif") no-repeat left center;
}
.lang_menu_content .l1-lit
{
	background: url("../tmpl/img/lang_lit.gif") no-repeat left center;
}
.lang_menu_content .l1-lat
{
	background: url("../tmpl/img/lang_lat.gif") no-repeat left center;
}


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