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

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

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

a
{
	color: #CC0000;
	font-weight: normal;
	text-decoration: underline;
}
a:active,
a:hover
{
	color: #CC0000;
	font-weight: normal;
	text-decoration: underline;
}
a:visited
{
	color: #868A8B;
	font-weight: normal;
	text-decoration: underline;
}

body
{
	background-color: #fff;
	margin: 0;
	padding: 0;
	text-align: left;
}
body#site
{
	text-align: center;
}

div
{
	margin: 0;
	padding: 0;
}

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

form
{
	margin: 0;
	padding: 0;
}

h1, h2, h3, h4, h5, h6,
h1 *, h2 *, h3 *, h4 *, h5 *, h6 *
{
	color: #CC0000;
	font-family: "Trebuchet MS", Verdana;
	margin: 0;
	text-align: left;
}
h1
{
	padding: 5px 0 10px 0;
}
h2, h3, h4, h5, h6
{
	padding: 10px 0 5px 0;
}
h1, h1 *
{
	font-size: 22pt;
	font-weight: bold;
}
h2, h2 *
{
	color: #24315D;
	font-size: 18pt;
	font-weight: bold;
}
h3, h3 *
{
	font-size: 18pt;
	font-weight: bold;
}
h4, h4 *
{
	color: #24315D;
	font-size: 16pt;
	font-weight: bold;
}
h5, h5 *
{
	color: #24315D;
	font-size: 16pt;
	font-weight: normal;
}
h6, h6 *
{
	color: #24315D;
	font-size: 14pt;
	font-weight: normal;
}

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

legend
{
	font-weight: bold;
	padding: 0 5px;
}

li
{
	margin: 0;
	padding: 0;
}

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

option
{
	background-color: #F2F2F2;
}

p
{
	margin: 5px 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;
}

#header
{
	height: 242px;
	background: url( "../tmpl/img/header_bgr.jpg" ) repeat-x left top;
	text-align: left;
}

#header-inner
{
	width: 850px;
	height: 242px;
	background: url( "../tmpl/img/header.jpg" ) no-repeat left top;
	margin: 0 auto;
}

* html #middle
{
	height: 400px;
}

#middle
{
	min-height: 400px;
	background: #FFF url( "../tmpl/img/body_bgr.jpg" ) repeat-x left top;
}

#middle-inner
{
	width: 850px;
	margin: 0 auto;
	padding: 0;
}

#middle-content
{
	width: 850px;
	margin: 0 auto;
	text-align: left;
}

#columns
{
	padding-bottom: 20px;
	width: 100%;
}

#columns td
{
	vertical-align: top;
	text-align: left;
}

#column-left
{
	width: 70%;
}
#column-left .hdr
{
	width: 100%;
}
#column-left .hdr table
{
	width: 96%;
}

#column-right
{
	width: 30%;
}
#column-right h5
{
	padding: 0 0 5px 0;
}
#column-right ul
{
	margin: 0;
}
#column-right li
{
	background: url( "../tmpl/img/bullet.png" ) no-repeat 0 50%;
	list-style: none;
	padding-left: 16px;
}
#column-right li a
{
	display: block;
	color: #000;
	text-decoration: none;
}
#column-right li a:hover
{
	color: #000;
	text-decoration: underline;
}



#print-icon-cell
{
	width: 29px;
}

#column-right .body
{
	margin: 0;
	margin-bottom: 15px;
	text-align: left;
}
#column-right .body ul
{
	margin: 0 0 0 20px;
}

#footer
{
	height: 267px;
	background: url( "../tmpl/img/footer_bgr.jpg" ) repeat-x left top;
	text-align: left;
}

#footer-inner
{
	width: 850px;
	height: 267px;
	margin: 0 auto;
}

#footer-inner table
{
	margin-top: 15px;
}

#footer-inner td,
#footer-inner td *
{
	color: #FFF;
	text-align: left;
	vertical-align: top;
	white-space: pre;
	width: 283px;
}

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

#home_link
{
	display: block;
	width: 285px;
	height: 110px;
	margin-top: 50px;
	margin-left: 20px;
}

#article
{
	background: #fff;
	border-top: 2px solid #fff;
	float: left;
	line-height: 140%;
	min-height: 500px;
	padding: 30px 25px 30px 35px;
	text-align: left;
	vertical-align: top;
	width: 650px;
}
* html #article /* IE 6 */
{
	height: 500px;
}

.body
{
	padding-right: 20px;
}

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

#icon-print
{
	display: block;
	float: right;
	width: 29px;
	height: 29px;
	background: url("../tmpl/img/print_icon.gif") no-repeat left center;
	text-decoration: none;
	margin-top: 8px;
}

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

fieldset.checkboxgroup
{
	border: 0;
	padding: 0;
	margin: 0;
}


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

/* main */
.main
{
	padding-top: 10px;
	margin-bottom: 60px;
	position: relative;
}

.main li
{
	display: block;
	float: left;
	list-style: none;
	text-decoration: none;
	white-space: nowrap;
	border-bottom: 3px solid #CC0000;
	margin-right: 25px;
}
.main a,
.main a:visited
{
	display: block;
	color: #FFF;
	font-weight: bold;
	font-size: 12px;
	text-decoration: none;
	margin-bottom: 2px;
	padding-left: 3px;
	padding-right: 3px;
}
.main a:hover
{
	color: #FFF;
	text-decoration: none;
	background: #18242C;
}

.main li.active
{
	color: #FFF;
	border-bottom: 3px solid #868A8B;
}

.main li ul
{
	background-color: #868a8b;
	border: 1px solid #1b1c3a;
	display: none;
	margin: 0;
	min-width: 200px;
	position: absolute;
	text-align: left;
	top: 28px;
}
.main li:hover ul
{
	display: block;
}
.main li ul li
{
	border-bottom: 0;
	display: block;
	float: none;
	margin-right: 0;
}
.main li ul a,
.main li ul a:visited
{
	font-weight: normal;
	font-size: 11px;
	margin: 0;
	padding: 4px 8px;
}
.main li ul a:hover
{
	color: #FFF;
	text-decoration: none;
	background: #1b1c3a;
}

/* extra */
ul.extra
{
	padding-top: 15px;
}

.extra li
{
	display: block;
	float: left;
	list-style: none;
	text-decoration: none;
	white-space: nowrap;
	margin-right: 15px;
}
.extra a,
.extra a:visited
{
	display: block;
	color: #FFF;
	text-decoration: none;
	border-left: 1px solid #FFF;
	padding-left: 15px;
}

.extra li#extra-1 a
{
	border-left: 0;
	padding-left: 0;
}

.extra a:hover
{
	color: #FFF;
	text-decoration: underline;
}
.extra li.active a
{
	color: #FFF;
	text-decoration: underline;
}

/* left-submenu */
.left-submenu
{
	background: #868A8B;
	padding-top: 20px;
	padding-bottom: 20px;
	margin-top: 5px;
	margin-right: 20px;
}

.left-submenu li
{
	list-style: none;
	text-align: left;
	text-decoration: none;
	white-space: nowrap;
}
.left-submenu li a,
.left-submenu li a:visited
{
	display: block;
	color: #FFF;
	text-decoration: none;
	height: 25px;
	line-height: 25px;
	background: url( "../tmpl/img/bullet.png" ) no-repeat 18px center;
	padding-left: 35px;
}
.left-submenu li a:hover
{
	color: #FFF;
	text-decoration: none;
	background-color: #CACCCC;
}
.left-submenu li.active a,
.left-submenu li.active a:visited
{
	color: #FFF;
	text-decoration: none;
	background-color: #6D7172;
	border-bottom: 1px solid #CC0000;
}
/* level 2 */
.left-submenu li ul li a,
.left-submenu li ul li a:visited,
.left-submenu li.active ul li a,
.left-submenu li.active ul li a:visited
{
	display: block;
	color: #6D7172;
	background-color: #FFF;
	border: 0;
}

.left-submenu li ul li a:hover,
.left-submenu li.active ul li a:hover
{
	color: #FFF;
	text-decoration: none;
	background-color: #CACCCC;
}

.left-submenu li ul li.active a,
.left-submenu li ul li.active a:visited,
.left-submenu li.active ul li.active a,
.left-submenu li.active ul li.active a:visited
{
	color: #FFF;
	text-decoration: none;
	background-color: #6D7172;
	border: 0;
}


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

