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

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

a
{
	color: #C00;
	font-weight: normal;
	text-decoration: underline;
}
a:active,
a:hover
{
	color: #C00;
	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: #CC0000;
	font-family: Verdana, "Trebuchet MS";
	margin: 0;
	text-align: left;
}
h1
{
/*	border-bottom: 1px solid #CC0000;*/
	margin: 0 0 15px 0;
	text-transform: uppercase;
}
h2, h3, h4, h5, h6
{
	margin: 0 0 5px 0;
}
h1
{
	font-size: 1.833em; /*22px;*/
	font-weight: bold;
}
h2
{
	font-size: 1.666em; /*20px;*/
	font-weight: bold;
}
h3
{
	font-size: 1.499em; /*18px;*/
	font-weight: bold;
}
h4
{
	font-size: 1.333em; /*16px;*/
	font-weight: bold;
}
h5
{
	font-size: 1.166em; /*14px;*/
	font-weight: bold;
}
h6
{
	font-size: 1em; /*12px;*/
	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: 11px;
}

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

#header-1
{
	background: url("../tmpl/img/header-1-bgr.jpg") no-repeat center top;
	height: 146px;
	position: relative;
}
#header-2
{
	background: url("../tmpl/img/header-2-bgr.png") no-repeat center top;
	height: 125px;
}

#hdr-1-container,
#hdr-2-container
{
	height: 100%;
	margin: 0 auto;
	position: relative;
	width: 800px;
}

#logo
{
	background: url("../tmpl/img/logo.png") no-repeat left top;
	height: 85px;
	left: 0;
	position: absolute;
	top: 30px;
	width: 191px;
}

#woman
{
	background: url("../tmpl/img/woman.png") no-repeat left top;
	bottom: 0;
	height: 255px;
	position: absolute;
	right: 0;
	width: 170px;
}

#bottom
{
	background: url("../tmpl/img/bottom-bgr.jpg") repeat-y center top;
	min-height: 600px;
}
* html #bottom
{
	height: 600px;
}
#btm-shadow
{
	background: url("../tmpl/img/btm-shadow.png") no-repeat left top;
	height: 14px;
	margin: 0 auto;
	width: 800px;
}
#container
{
	clear: both;
	margin: 0 auto;
	padding: 0;
	position: relative;
	text-align: left;
	width: 800px;
}

#content
{
	left: 0;
	margin: 0;
	min-height: 600px;
	position: relative;
	text-align: left;
	top: 0;
	vertical-align: top;
	width: 540px;
}
* html #content
{
	height: 600px;
}

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


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

#article
{
	line-height: 140%;
/*	position: relative;*/
	text-align: left;
	vertical-align: top;
}

#home-link
{
	display: block;
	height: 100%;
	text-decoration: none;
}

#email a
{
	direction:rtl;
	color: #FFF;
	padding-left: 4px;
	unicode-bidi: bidi-override;
}

#red-box
{
	position: absolute;
	right: 0;
	top: 0;
	width: 230px;
}
#red-box-top
{
	background: url("../tmpl/img/red-box-top.png") no-repeat left top;
	height: 5px;
	font-size: 0;
}
#red-box-mdl
{
	background: #DD0000 url("../tmpl/img/red-box-mdl.png") repeat-x left top;
	color: #FFF;
	min-height: 200px;
	padding: 15px 15px 0 15px;
	text-align: left;
}
* html #red-box-mdl
{
	height: 200px;
}
#red-box-btm
{
	background: url("../tmpl/img/red-box-btm.png") no-repeat left top;
	height: 5px;
}

.button
{
	background: url( "../tmpl/img/button-bgr.png") no-repeat center center;
	color: #FFF;
	display: block;
	height: 27px;
	line-height: 27px;
	text-align: center;
	text-decoration: none;
	width: 129px;
}
.button:active,
.button:hover
{
	color: #FFF;
	text-decoration: underline;
}


#icon-print
{
	background: #e6e6e6 url("../tmpl/img/icon_print.gif") no-repeat center center;
	height: 16px;
	position: absolute;
	right: 0;
	top: 0;
	width: 16px;
}
#icon-print a
{
	text-decoration: none;
}

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

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

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: 90%;
}
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: 10%;
}
div.total-rows span
{
	font-weight: bold;
}


/********/
/* 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: 40px;
	left: 0;
	margin: 0;
	padding: 0;
	position: absolute;
}
.mtop li
{
	display: block;
	float: left;
	list-style: none;
	margin-right: 15px;
	white-space: nowrap;
}
.mtop a
{
	cursor: pointer;
	display: block;
	float: left;
	text-decoration: none;
}
.mtop a .num
{
	background-color: #CC0000;
	color: #FFF;
	display: block;
	float: left;
	margin-right: 1px;
	padding: 0 4px 0 4px;
}
.mtop a .item
{
	color: #CC0000;
	display: block;
	float: left;
	padding: 0 4px 0 4px;
}
.mtop a:hover .item,
.mtop li.active a .item
{
	background-color: #CC0000;
	color: #FFF;
}

/* vertical right */
.mright
{
	padding: 0;
	margin: 0 0 15px 0;
}
.mright li
{
	list-style: none;
	text-align: left;
	text-decoration: none;
	white-space: nowrap;
}
.mright li a
{
	color: #FFF;
	background: url("../tmpl/img/menu-bullet.gif") no-repeat 5px center;
	border: 1px solid transparent;
	display: block;
	height: 25px;
	line-height: 25px;
	padding-left: 20px;
	text-decoration: none;
}
.mright li a:hover
{
	color: #FFF;
	border: 1px solid #EE7580;
	display: block;
	text-decoration: none;
}
.mright li.active a
{
	color: #FFF;
	border: 1px solid #FFF;
	display: block;
	text-decoration: none;
}

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

