/**
* 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;
	color: #000;
	text-align: left;
}
body#site
{
	background-color: #7272CB;
	color: #FFF;
	text-align: center;
	height: 100%;
	margin: 0;
	padding: 0;
}
body.front-page
{
	background: #7272CB url("../tmpl/img/header_bgr.png") repeat-x top left;
}
body.default
{
	background: #7272CB url("../tmpl/img/header_bgr_body.png") repeat-x top left;
}

a
{
	color: #FFF;
	font-weight: normal;
	text-decoration: underline;
}
a:active,
a:hover
{
	color: #FFF;
	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: #F5D194;
	font-family: "Trebuchet MS", Verdana;
	margin: 0;
	text-align: left;
}
h1
{
	margin: 0 0 10px 0;
}
h2, h3, h4, h5, h6
{
	margin: 0 0 5px 0;
}
h1
{
	font-size: 2.181em; /*24px*/
	font-weight: bold;
}
h2
{
	font-size: 1.999em; /*22px;*/
	font-weight: bold;
}
h3
{
	font-size: 1.818em; /*20px;*/
	font-weight: bold;
}
h4
{
	font-size: 1.636em; /*18px;*/
	font-weight: bold;
}
h5
{
	font-size: 1.454em; /*16px;*/
	font-weight: bold;
}
h6
{
	font-size: 1.272em; /*14px;*/
	font-weight: bold;
}

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: 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-bottom: 10px;
	padding: 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: 860px;
	min-height: 520px;
	margin: 0 auto;
}
* html #container /* bullshit IE6 min-height */
{
	height: 520px;
}

#header
{
	margin: 0 auto;
	position: relative;
	text-align: left;
	width: 860px;
}
div.front-page
{
	background: url("../tmpl/img/header.png") no-repeat top left;
	height: 176px;
}
div.default
{
	background: url("../tmpl/img/header_body.png") no-repeat top left;
	height: 125px;
}

#content_table
{
	width: 100%;
	padding-top: 40px;
}

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

#ctbl_left
{
	width: 250px;
}

#ctbl_left *
{
	color: #FFF;
	font-size: 1em;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}

#ctbl_center
{
	padding-bottom: 20px;
	padding-left: 40px;
}

#ctbl_center div#doc_body
{
	color: #FFF;
	font-size: 1em;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	line-height: 140%;
	margin-top: 15px;
}

#ctbl_center #doc_title
{
	height: 2.2em;
	position: relative;
}
#ctbl_center #doc_title h1
{
	float: left;
	width: 540px;
}

#ctbl_center #icon-print
{
	background: url("../tmpl/img/icon_print.gif") no-repeat right top;
	bottom: 0;
	height: 20px;
	position: absolute;
	right: 0;
	width: 20px;
	z-index: 10;
}

#ctbl_center #icon-print a,
#ctbl_center #icon-print a:hover
{
	display: block;
	width: 19px;
	height: 19px;
	margin: 0 auto;
	border: 0;
	background: none;
	text-decoration: none;
}


#footer
{
	background: url("../tmpl/img/footer_bgr.png") repeat-x top left;
	height: 304px;
}

#footer *
{
	color: #FFF;
	font-size: 1em;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}

#phones_border
{
	height: 55px;
	border-bottom: 1px solid #666666;
}

#phones
{
	width: 840px;
	margin: 0 auto;
}

#phones div
{
	float: left;
	height: 55px;
	line-height: 55px;
	font-size: 1.09em;
	color: #CCCCCC;
	margin-right: 12px;
}

#phones div a
{
	color: #CCCCCC;
	font-size: 1.09em;
	direction:rtl;
	unicode-bidi: bidi-override;
}

/*********/
/* Items */
/*********/
#home_link
{
	display: block;
	width: 180px;
	height: 120px;
	margin-left: 30px;
	background: none;
}

#menu_shadow
{
	width: 10px;
	height: 224px;
	background: url("../tmpl/img/menu_shadow.png") no-repeat left top;
	float: left;
	margin-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;
}

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

#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: -8px 0 0 10px;
}*/

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

/*#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: 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
----------------------------------------------------------------------*/
.mtop
{
	bottom: 0;
	height: 2em;
	position: absolute;
	right: 0;
}
.mtop li
{
	display: block;
	float: left;
	list-style: none;
}
.mtop li a
{
	border-left: 1px solid #FFF;
	color: #FFF;
	display: block;
	float: left;
	font-weight: bold;
	padding: 0 5px 0 5px;
	text-decoration: none;
}
.mtop li a:hover,
.mtop li.active a
{
	text-decoration: underline;
}
.mtop li#mt-1 a
{
	border-left: none;
}


.mleft
{
	margin-top: 8px;
}
.mleft li
{
	display: inline;
	list-style: none;
	font-size: 0;
}
.mleft li a
{
	background: url("../tmpl/img/menu_bullet.png") no-repeat 5px center;
	border-bottom: 1px solid #8192D3;
	display: block;
	font-size: 11px;
	padding: 3px 5px 3px 20px;
	text-decoration: none;
}
.mleft li#mlf-1 a
{
	border-top: 1px solid #8192D3;
}
.mleft li a:hover,
.mleft li.active a
{
	background-color: #3A5EBB;
}
/* 2.nd level */
.mleft li ul li a,
.mleft li.active ul li a
{
	background: url("../tmpl/img/menu_bullet.png") no-repeat 5px center;
	border-bottom: 1px solid #8192D3;
	font-size: 1em;
	display: block;
	padding: 3px 5px 3px 20px;
	text-decoration: none;
}
.mleft li ul li a:hover,
.mleft li ul li.active a
{
	background-color: #3A5EBB;
}
/* 3.rd level */
.mleft li ul li ul li a,
.mleft li ul li.active ul li a
{
	background: url("../tmpl/img/menu_bullet.png") no-repeat 5px center;
	border-bottom: 1px solid #8192D3;
	font-size: 1em;
	display: block;
	padding: 3px 5px 3px 20px;
	text-decoration: none;
}
.mleft li ul li ul li a:hover,
.mleft li ul li ul li.active a
{
	background-color: #3A5EBB;
}

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