/**
* 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: #000;
	/*height: 100%;*/
	margin: 0;
	padding: 0;
	text-align: left;
}
body#site
{
	background: #bed7de url("../tmpl/img/body.jpg") repeat-x 0 0;
	color: #115177;
	text-align: center;
}

a
{
	color: #115177;
	font-weight: normal;
	text-decoration: underline;
}
a:active,
a:hover
{
	color: #115177;
	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: #115177;
/* 	font-family: "Trebuchet MS", Verdana; */
/* 	font-family: Verdana, Arial, Helvetica, sans-serif; */
	margin: 0;
	padding: 0;
	text-align: left;
}
h2, h3, h4, h5, h6
{
	margin: 0 0 5px 0;
}
h1
{
	background: url("../tmpl/img/h1.gif") no-repeat 0 50%;
/* 	float: left; */
	font-size: 24px;
	font-weight: bold;
	line-height: 100%;
	margin: 0 0 0 18px;
	padding-left: 30px;
}
h2
{
	font-size: 22px;
	font-weight: bold;
}
h3
{
	font-size: 20px;
	font-weight: bold;
}
h4
{
	font-size: 18px;
	font-weight: bold;
}
h5
{
	font-size: 16px;
	font-weight: bold;
}
h6
{
	font-size: 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;
	padding: 0;
}

option
{
	background-color: #F2F2F2;
}

p
{
	margin: 0;
	padding: 10px 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;
	padding: 0;
}


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

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

#wrap
{
	margin: 0 auto;
	text-align: left;
	width: 900px;
}

#header
{
	float: left;
	height: 114px;
	width: 100%;
}

#main-header
{
	background: url("../tmpl/img/main_header.png") no-repeat 0 0;
	float: left;
	height: 10px;
	width: 900px;
}

#main
{
	border-left: 1px solid #8bc1dc;
	border-right: 1px solid #8bc1dc;
	float: left;
	width: 898px;
}

#main1
{
	background: #fff url("../tmpl/img/main1.png") repeat-x 0 0;
	border-left: 1px solid #79b8e2;
	border-right: 1px solid #79b8e2;
	float: left;
	margin: 0 2px;
	padding: 0 11px;
	width: 870px;
}

#main-footer
{
	background: url("../tmpl/img/main_footer.png") no-repeat 0 0;
	float: left;
	height: 10px;
	width: 900px;
}

#content
{
	float: left;
	margin: 20px 0;
	width: 870px;
}
#content-left
{
	float: left;
	height: 100%;
	width: 210px;
}
#content-right,
#content-right-full
{
	float: right;
	height: 100%;
	width: 660px;
}
#content-right-full
{
	width: 870px;
}

#article
{
	float: left;
	line-height: 140%;
	min-height: 350px;
	margin: 0 18px;
	padding: 0;
	text-align: left;
	vertical-align: top;
/* 	width: 640px; */
}
* html #article /* IE 6 */
{
	height: 350px;
}
#article ol,
#article ul
{
	margin: 0 0 0 20px;
}

#footer
{
	float: left;
	font-size: 11px;
	padding: 25px 0 15px 0;
	width: 100%;
}
#footer span
{
	padding-right: 10px;
}


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

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

.product-example
{
	float: left;
	margin-bottom: 20px;
	width: 100%;
}
.product-example a
{
	border: 2px solid #fff;
	float: left;
	margin: 0 5px 5px 0;
}
.product-example a:hover
{
	border: 2px solid #999;
}
.product-example a img
{
	float: left;
}

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

#contacts
{
	color: #134e81;
	float: left;
}
#contacts a
{
	color: #134e81;
}

#copyright
{
	color: #134e81;
	float: left;
/* 	margin-left: 12px; */
	width: 250px;
}

#icon-bookmark
{
	background: url("../tmpl/img/icon_bookmark.png") no-repeat 0 100%;
	float: right;
	height: 100%;
	margin-right: 22px;
	width: 16px;
}

#icon-feedback
{
	background: url("../tmpl/img/icon_feedback.png") no-repeat 0 100%;
	float: right;
	height: 100%;
	margin-right: 13px;
	width: 25px;
}

#icon-print
{
	background: url("../tmpl/img/icon_print.png") no-repeat 0 100%;
	float: right;
	height: 100%;
	margin-right: 13px;
	width: 17px;
}

/*
#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
{
	background: url("../tmpl/img/logo.png") no-repeat 0 0;
	float: left;
	height: 100%;
	width: 190px;
}

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

#slogan
{
	background: url("../tmpl/img/slogan.png") no-repeat 0 0;
	float: left;
	height: 100%;
	width: 490px;
}


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

.fieldset-wrap fieldset
{
	border: 1px solid #115177;
	margin-bottom: 15px;
}
.fieldset-wrap fieldset legend
{
	color: #115177;
	font-weight: bold;
	padding: 0 5px;
}

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

.form_field_children .form_field,
.form_field_children .form_field_right,
.form_field_children .form_label
{
 	border: 0;
	padding: 0;
}

.form .radiogroup
{
	border: 0;
}

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

/*
#menu1
{
}
#menu1 li
{
	float: left;
	list-style: none;
	padding: 0 8px;
}
#menu1 a
{
	color: #000;
	font-weight: bold;
	text-decoration: underline;
}
#menu1 a:hover
{
	color: #000;
	text-decoration: none;
}
#menu1 li.active a
{
	color: #c00;
}
*/

#menu2-wrap
{
	background: #2484b7 url("../tmpl/img/menu2_wrap.png") no-repeat 0 0;
/* 	clear: left; */
	float: left;
	margin: 43px 0 0 0;
	padding-top: 7px;
	width: 197px;
}
#menu2
{
	background: url("../tmpl/img/menu2.gif") no-repeat 0 100%;
	float: left;
	padding-bottom: 7px;
	width: 197px;
}
#menu2 li
{
	list-style: none;
	padding: 0;
	text-align: left;
}
#menu2 li a
{
	background: url("../tmpl/img/menu2_l1.gif") no-repeat 18px 50%;
	color: #fff;
	display: block;
	font-size: 11px;
	padding: 4px 14px 4px 38px;
	text-decoration: none;
}
#menu2 li a:hover
{
	color: #76b7d9;
	text-decoration: none;
}
#menu2 li.active a
{
	color: #76b7d9;
}

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

/* path */
/*#path
{
	float: left;
	margin-bottom: 20px;
}
#path li
{
	float: left;
	list-style: none;
	padding-right: 5px;
}
#path li a
{
	color: #b6b6b6;
	text-decoration: none;
}
#path li a:hover,
#path li.active a:hover
{
	color: #666;
	text-decoration: none;
}*/


/* navigation bar */
/*#navi li
{
	float: left;
	list-style: none;
}
#navi li a
{
	color: #666;
	font-weight: normal;
	text-decoration: none;
}
#navi li 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;
}
