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

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

*
{
	color: #545852;
	font-size: 12px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}

#article a,
#article a:hover,
#article a:active
{
	color: #173471;
	border-bottom: 1px solid #173471;
	font-weight: normal;
	text-decoration: none;
	background-color: #D7DAD3;
}
#article a:visited
{
	color: #545852;
	border-bottom: 1px solid #545852;
	background-color: #F4F4F3;
	text-decoration: none;
	font-weight: normal;
}

body
{
	background: #F4F5F3;
	/*height: 100%;*/
	margin: 0;
	padding: 0;
	text-align: left;
}
body#site
{
	background-color: #C8D7EF;
	text-align: center;
}

div
{
	margin: 0;
	padding: 0;
}

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

form
{
	margin: 0;
	padding: 0;
}

h1, h2, h3, h4, h5, h6,
h1 *, h2 *, h3 *, h4 *, h5 *, h6 *
{
	color: #092869;
	font-family: Verdana, "Trebuchet MS";
	margin: 0;
	text-align: left;
}
h1
{
	margin: 5px 0 20px 0;
}
h2, h3, h4, h5, h6
{
	margin: 10px 0 5px 0;
}
h1, h1 *
{
	font-size: 22px;
	font-weight: bold;
	line-height: 22px;
}
h2, h2 *
{
	font-size: 20px;
	font-weight: bold;
}
h3, h3 *
{
	font-size: 18px;
	font-weight: bold;
}
h4, h4 *
{
	font-size: 18px;
	font-weight: normal;
}
h5, h5 *
{
	font-size: 16px;
	font-weight: bold;
}
h6, 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 0 0 20px;
	padding: 0;
}

option
{
	background-color: #F2F2F2;
}

p
{
	margin: 11px 0;
}

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

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 0 0 20px;
	padding: 0;
}


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

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

#container
{
	width: 828px;
	text-align: left;
	margin: 0 auto;
	padding-bottom: 15px;
}

#hdr-menu
{
	width: 820px;
	height: 36px;
	margin: 0 auto;
}

#hdr
{
	width: 828px;
	height: 264px;
	background: url("../tmpl/img/header.jpg") no-repeat left top;
	text-align: left;
}

#main-menu-background
{
	width: 820px;
	height: 40px;
	background: #FFF;
	margin: 0 auto;
	position: relative;
}

#main-menu
{
	width: 820px;
	height: 50px;
	background: transparent;
	position: absolute;
	top: -10px;
}

#box-shadow-lower
{
	width: 828px;
	margin-top: 20px;
	background: url("../tmpl/img/shadow-lower.jpg") no-repeat left bottom;
	padding-bottom: 11px;
/*	border: 1px solid green;*/
}

#box-shadow-left
{
	width: 828px;
	background: url("../tmpl/img/shadow-left.jpg") repeat-y left top;
/*	border: 1px solid blue;*/
}

#box-shadow-right
{
	width: 824px;
	margin-left: 4px;
	background: url("../tmpl/img/shadow-right.jpg") repeat-y right 1%;
/*	border: 1px solid yellow;*/
}

#box
{
	width: 820px;
	background: #FFF;
	padding-top: 15px;
/*	border: 1px solid red;*/
}

#content
{
	width: 790px;
	margin: 0 auto;
	margin-bottom: 15px;
}

#content .spacer
{
	width: 10px;
	background: #FFF;
}

#content .left,
#content .right
{
	vertical-align: top;
	text-align: left;
}
#content .left
{
	margin-right: 10px;
	background: #F4F5F3;
	width: 215px;
}
#content .right
{
	background: #F4F5F3;
}

#footer
{
	width: 790px;
	margin: 0 auto;
}

#footer div
{
	border: 1px solid green;
	height: 15px;
}

#footer .left,
#footer .right
{
	vertical-align: top;
	text-align: left;
}

#footer .left,
#footer .left *
{
	font-size: 10px;
}
#footer .right
{
	width: 567px;
	height: 70px;
	background: url( "../tmpl/img/logos.jpg" ) no-repeat left top;
	border-left: 4px solid #CED0CC;
}

/*********/
/* Items */
/*********/
#article
{
	line-height: 140%;
	margin: 5px 15px;
	text-align: left;
}
#article div
{
	clear: both;
}
#article.minw { width: 530px; }
#article.minw h1 { float: left; width: 490px; }
#article.maxw { width: 100%; }
#article.maxw h1 { float: left; width: 720px; }

#home_link
{
	display: block;
	width: 820px;
	height: 253px;
	margin: 0 auto;
}

/** html #article
{
}*/

#article .button
{
	background-color: #FFF;
	border: 1px #666 solid;
	color: #666;
	display: block;
	margin: 10px 0;
	padding: 1px 4px;
	text-decoration: none;
}
#article .button:active,
#article .button:hover
{
	background-color: #173471;
	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;
}
*/

#bbb-link
{
	float: left;
	height: 70px;
	width: 45px;
}

#icon-print-relbox
{
	width: 100%;
	position: relative;
	height: 0;
}
#icon-print-absbox
{
	height: 55px;
	position: absolute;
	top: 0;
	right: 0;
}
#icon-print
{
	width: 55px;
	height: 55px;
	background: url("../tmpl/img/print-icon.jpg") no-repeat left top;
	float: right;
}
#icon-print-link
{
	display: block;
	width: 19px;
	height: 19px;
	margin-left: 27px;
	margin-top: 5px;
}

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

#maintainer
{
	font-size: 11px;
	padding: 2px 10px 0 0;
	text-align: right;
}
#maintainer a
{
	font-size: 11px;
}
#maintainer a:hover
{
	font-size: 11px;
	text-decoration: none;
}

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

/* horisontal main menu */
.menu1
{
	margin: 0;
	height: 50px;
}

.menu1 li
{
	float: left;
	list-style: none;
	text-decoration: none;
	white-space: nowrap;
	height: 50px;
}
.menu1 a
{
	display: block;
	text-decoration: none;
	cursor: pointer;
	height: 50px;
	float: left;
}
.menu1 a .c-lft
{
	display: block;
	background: url("../tmpl/img/mm-lower-left.gif") no-repeat left bottom;
	float: left;
	height: 41px;
	margin-top: 9px;
}
.menu1 li#first-1 a .c-lft { background: none; }
.menu1 li#last-1 a .c-rgt { background: none; }

.menu1 a .c-rgt
{
	display: block;
	background: url("../tmpl/img/mm-lower-right.gif") no-repeat right bottom;
	float: left;
	height: 32px;
	padding-top: 9px;
}
.menu1 a .txt
{
	display: block;
	color: #092869;
	font-size: 11px;
	font-weight: bold;
	padding: 2px 10px 2px 10px;
	border-left: 1px solid #D3D3D3;
}
.menu1 li#first-1 a .txt { border-left: 0 }

/* horisontal main menu hover */
.menu1 li a:hover
{
	background: url("../tmpl/img/mm-hover-upper.jpg") repeat-x left top;
}
.menu1 li a:hover .c-lft,
.menu1 li#first-1 a:hover .c-lft
{
	color: #FFF;
	background-color: #E7E9E4;
}
.menu1 li a:hover .c-rgt
{
	background-color: transparent;
}
.menu1 li a:hover .txt
{
	color: #092869;
	background-color: #E7E9E4;
	border-left: 1px solid #E7E9E4;
}

/* horisontal main menu active*/
.menu1 li.active a
{
	background: url("../tmpl/img/mm-sel-upper.jpg") repeat-x left top;
}
.menu1 li.active a .c-lft,
.menu1 li.active#first-1 a .c-lft
{
	color: #FFF;
	background-color: #173471;
}
.menu1 li.active a .c-rgt
{
	background-color: transparent;
}
.menu1 li.active a .txt
{
	color: #FFF;
	background-color: #173471;
	border-left: 1px solid #173471;
}

/* horisontal header menu */
.menu2
{
	float: right;
	margin: 0;
	margin-top: 15px;
}

.menu2 li
{
	list-style: none;
	text-decoration: none;
	white-space: nowrap;
	float: left;
}
.menu2 a
{
	display: block;
	text-decoration: none;
	font-size: 10px;
	color: #074D7A;
	border-left: 1px solid #074D7A;
	padding: 0 5px;
}
.menu2 li#m2-first-1 a { border-left: 0; }

.menu2 li a:hover,
.menu2 li.active a
{
	color: #074D7A;
	text-decoration: underline;
}

/* vertical main submenu left */
.menu-left
{
	margin: 0;
	background: #F4F5F3;
	padding-top: 10px;
	padding-bottom: 15px;
}
.menu-left li
{
	list-style: none;
	text-decoration: none;
	text-align: left;
	white-space: nowrap;
	padding-bottom: 2px;
}
.menu-left li a
{
	display: block;
	color: #173471;
	text-decoration: none;
	background: #F4F5F3 url( "../tmpl/img/ml-level1.jpg" ) no-repeat 10px center;
	padding-left: 25px;
	height: 22px;
	line-height: 22px;
	font-size: 11px;
}
.menu-left li a:hover,
.menu-left li.active ul li a:hover
{
	color: #173471;
	text-decoration: none;
	background-color: #E7E9E4;
}
.menu-left li.active a
{
	color: #FFF;
	background: #2B6399 url( "../tmpl/img/ml-level1.jpg" ) no-repeat 10px center;
}
.menu-left li.active ul a
{
	color: #173471;
	background: #F4F5F3;
}
/* vertical main submenu left 2nd level */
.menu-left li ul li a,
.menu-left li.active ul li a
{
	display: block;
	color: #173471;
	background: #F4F5F3 url( "../tmpl/img/ml-level2.jpg" ) no-repeat 12px center;
	height: 22px;
	line-height: 22px;
}
.menu-left li ul li.active a
{
	color: #FFF;
	background:  #2B6399 url( "../tmpl/img/ml-level2-sel.jpg" ) no-repeat 12px center;
	height: 22px;
	line-height: 22px;
}
/* vertical main submenu left 3rd level */
.menu-left li ul li ul li a,
.menu-left li ul li.active ul li a
{
	display: block;
	color: #173471;
	background: #F4F5F3;
	height: 22px;
	line-height: 22px;
}
.menu-left li ul li ul li.active a
{
	color: #FFF;
	background:  #2B6399;
	height: 22px;
	line-height: 22px;
}

/* frontpage menu links left */
.menu-fp-left
{
	margin: 0;
	background: #F4F5F3;
	padding-top: 10px;
	padding-bottom: 15px;
}
.menu-fp-left li
{
	display: block;
	list-style: none;
	text-decoration: none;
	text-align: left;
	white-space: nowrap;
	padding-bottom: 2px;
}
.menu-fp-left li a
{
	display: block;
	color: #173471;
	background: #CDD1C9;
	text-decoration: none;
	font-size: 11px;
	font-weight: bold;
	height: 25px;
	line-height: 25px;
	padding-left: 10px;
}
.menu-fp-left li a:hover
{
	color: #173471;
	text-decoration: none;
	background-color: #E7E9E4;
}
.menu-fp-left li.active a
{
	color: #FFF;
	background: #2B6399;
}

/* language selector */
.lang li
{
	display: block;
	list-style: none;
	padding: 0 8px 0 0;
	text-decoration: none;
	white-space: nowrap;
}
.lang li a:hover,
.lang li.active a:hover
{
	text-decoration: underline;
}
/*
.lang .est
{
	background: url("../tmpl/img/lang_est.gif") no-repeat left center;
}
.lang .eng
{
	background: url("../tmpl/img/lang_eng.gif") no-repeat left center;
}
.lang .rus
{
	background: url("../tmpl/img/lang_rus.gif") no-repeat left center;
}
.lang .lit
{
	background: url("../tmpl/img/lang_lit.gif") no-repeat left center;
}
.lang .lat
{
	background: url("../tmpl/img/lang_lat.gif") no-repeat left center;
}
*/

/* location bar */
/*.location_bar td
{
	vertical-align: top;
}
.location_bar a
{
	color: #999;
	font-weight: normal;
	padding: 0 1px;
	text-decoration: none;
}
.location_bar a:active,
.location_bar a:hover
{
	color: #666;
	text-decoration: underline;
}
.location_bar .sep
{
	color: #666;
	font-weight: normal;
	padding: 0 4px 0 1px;
}*/

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