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

html
{
	height: 100%;
}

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

a
{
	color: #C00;
	font-weight: normal;
	text-decoration: underline;
}
a:active,
a:hover
{
	color: #C00;
	text-decoration: none;
}

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

div
{
	margin: 0;
	padding: 0;
}

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

form
{
	margin: 0;
	padding: 0;
}

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

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

option
{
	background-color: #F2F2F2;
}

p
{
	margin: 0;
	padding: 5px 0;
}

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

.wrap
{
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
}

#main1
{
	background: #fff;
	border-left: 1px solid #3192b8;
	border-right: 1px solid #3192b8;
	height: 100%;
	margin: 0 auto;
	width: 848px;
}
#main1-inner
{
	background: #e4f0fa;
	height: 100%;
	margin: 0 9px;
}

#main2
{
	background: #fff;
	border-left: 1px solid #3192b8;
	border-right: 1px solid #3192b8;
	margin: 0 auto;
	width: 848px;
}
#main2-inner
{
	background: #fff;
	margin: 0 7px;
}

#header1
{
	background: url("../tmpl/img/header1.jpg") no-repeat center top;
	height: 76px;
	text-align: left;
}

#header2
{
	background: url("../tmpl/img/header2.jpg") no-repeat center top;
	height: 223px;
}

#content
{
	background: url("../tmpl/img/content.jpg") repeat-y 2px 0;
	float: left;
	margin: 10px 0;
	text-align: left;
	vertical-align: top;
	width: 100%;
}
#content-footer
{
	background: url("../tmpl/img/left_footer.gif") no-repeat 2px 0;
	height: 6px;
	font-size: 0;
}

#left
{
	float: left;
	width: 281px;
}

#left-inner
{
	margin: 0 0 0 2px;
	width: 270px;
}
#left-header
{
	background: url("../tmpl/img/left_header.gif") no-repeat left top;
	height: 6px;
	font-size: 0;
}
#left-content
{
	background: url("../tmpl/img/left_content.jpg") repeat-x left top;
	height: 201px;
	padding: 0 15px;
}

#right
{
	float: left;
	width: 551px;
}

#footer
{
	background: #e4f0fa url("../tmpl/img/footer.jpg") repeat-x center top;
	clear: both;
	margin: 0 auto;
	padding-bottom: 20px;
	width: 830px;
}
#footer p
{
	color: #333;
	padding: 10px 0;
}
#footer a,
#footer a:hover
{
	color: #333;
}
#footer-top
{
	background: url("../tmpl/img/footer_top.jpg") no-repeat center top;
	height: 8px;
	font-size: 0;
}


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

#article
{
	line-height: 140%;
	min-height: 300px;
	padding: 0 8px 0 4px;
	text-align: left;
	vertical-align: top;
}
* html #article /* IE 6 */
{
	height: 300px;
}

/*
.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
{
	background-color: #e2ebf2;
	float: left;
}
.button .t
{
	background: url("../tmpl/img/button_tr.gif") no-repeat right top;
	margin: 0;
	padding: 0;
}
.button .b
{
	background: url("../tmpl/img/button_br.gif") no-repeat right top;
	margin: 0;
	padding: 0;
}
.button .t img,
.button .b img
{
	border: none;
	display: block !important;
	height: 2px;
	margin: 0;
	padding: 0;
	width: 2px;
}
.button p
{
	margin: 0;
	padding: 1px 10px;
	white-space: nowrap;
}
.button p a
{
	color: #305d7f;
	font-weight: normal;
	margin: 0;
	padding: 0;
	text-decoration: none;
}
.button p a:active,
.button p a:hover
{
	color: #305d7f;
	text-decoration: none;
}

#icon-print
{
	background: #e6e6e6 url("../tmpl/img/icon_print_l.gif") no-repeat left center;
	color: #666;
	float: right;
	line-height: 25px;
	padding: 0 0 0 10px;
	text-decoration: none;
}
#icon-print:hover
{
	color: #666;
	text-decoration: underline;
}
#icon-print div
{
	background: #e6e6e6 url("../tmpl/img/icon_print_r.gif") no-repeat right center;
	float: left;
	padding: 0 10px 0 0;
}
#icon-print div div
{
	background: #e6e6e6 url("../tmpl/img/icon_print.gif") no-repeat right center;
	color: #666;
	cursor: pointer;
	cursor: hand;
	float: left;
	padding: 0 25px 0 0;
}

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

#link-cart
{
	background: url("../tmpl/img/icon_cart.gif") no-repeat left center;
	color: #172553;
	display: block;
	float: right;
	margin-top: 20px;
	padding: 4px 30px;
	text-decoration: none;
}
#link-cart:hover
{
	text-decoration: underline;
}

#link-checkout
{
	background: url("../tmpl/img/icon_checkout.gif") no-repeat left center;
	color: #172553;
	float: right;
	margin-top: 20px;
	padding: 4px 30px;
	text-decoration: none;
}
#link-checkout:hover
{
	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;
}


/*************/
/*  Listing  */
/*************/

/* groupsbar */
td.groups
{
	padding-top: 5px;
}
div.groups
{
	float: left;
	width: 80%;
}
div.groups a
{
	color: #305D7F;
	font-weight: normal;
	text-decoration: none;
}
div.groups a:active,
div.groups a:hover
{
	color: #305D7F;
	font-weight: normal;
	text-decoration: underline;
}
div.groups a.sel
{
	font-weight: bold;
}
div.groups .npage
{
	padding-left: 10px;
}
div.groups .ppage
{
	padding-right: 10px;
}
div.total-rows
{
	float: right;
	text-align: right;
	width: 20%;
}
div.total-rows span
{
}


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

/* horizontal menu at left-top corner */
.h1_menu_content
{
	margin: 25px 0 0 65px;
}
.h1_menu_content .l1,
.h1_menu_content .l1_a
{
	border-right: 1px solid #fff;
	color: #fff;
	display: block;
	font-weight: bold;
	padding: 0 15px;
	text-decoration: none;
	white-space: nowrap;
}
.h1_menu_content .l1_a,
.h1_menu_content .l1:active,
.h1_menu_content .l1:hover,
.h1_menu_content .l1_a:active,
.h1_menu_content .l1_a:hover
{
	color: #fff;
	text-decoration: underline;
}
#h1-last
{
	border-right: 0;
}

/* vertical menu at left */
.v1_menu_content
{
	width: 100%;
}
.v1_menu_content .l1,
.v1_menu_content .l1_a
{
	background: url("../tmpl/img/menu_v1_l1.gif") no-repeat 4px 50%;
	color: #24315d;
	display: block;
	font-weight: bold;
	padding: 4px 5px 4px 27px;
	text-decoration: none;
}
.v1_menu_content .l1:active,
.v1_menu_content .l1:hover
{
	background-position: 3px 50%;
	border: 1px solid #fff;
	color: #24315d;
	padding: 3px 4px 3px 26px;
	text-decoration: none;
}
.v1_menu_content .l1_a,
.v1_menu_content .l1_a:active,
.v1_menu_content .l1_a:hover
{
	background-position: 3px 50%;
	border: 1px solid #fff;
	color: #24315d;
	padding: 3px 4px 3px 26px;
	text-decoration: none;
}
.v1_menu_content .l2,
.v1_menu_content .l2_a
{
	background: url("../tmpl/img/menu_v1_l2.gif") no-repeat 9px 50%;
	color: #24315d;
	display: block;
	font-weight: normal;
	padding: 4px 5px 4px 34px;
	text-decoration: none;
}
.v1_menu_content .l2:active,
.v1_menu_content .l2:hover
{
	background-position: 8px 50%;
	border: 1px solid #fff;
	color: #24315d;
	padding: 3px 4px 3px 33px;
	text-decoration: none;
}
.v1_menu_content .l2_a,
.v1_menu_content .l2_a:active,
.v1_menu_content .l2_a:hover
{
	background-position: 8px 50%;
	border: 1px solid #fff;
	color: #24315d;
	padding: 3px 4px 3px 33px;
	text-decoration: none;
}

/* products menu */
.v2_menu_content
{
	margin-top: 20px;
	width: 100%;
}
.v2_menu_content .l1,
.v2_menu_content .l1_a
{
	background: #ecf4fb url("../tmpl/img/menu_v2_l1.gif") no-repeat 8px 50%;
	color: #24315d;
	display: block;
	font-weight: bold;
	margin-bottom: 10px;
	padding: 5px 5px 5px 33px;
	text-decoration: none;
}
.v2_menu_content .l1:active,
.v2_menu_content .l1:hover,
.v2_menu_content .l1_a,
.v2_menu_content .l1_a:active,
.v2_menu_content .l1_a:hover
{
	color: #24315d;
	text-decoration: underline;
}
.v2_menu_content .l2,
.v2_menu_content .l2_a
{
	background: url("../tmpl/img/menu_v2_l2.gif") no-repeat 9px 50%;
	color: #24315d;
	display: block;
	font-weight: normal;
	padding: 4px 5px 4px 34px;
	text-decoration: none;
}
.v2_menu_content .l2:active,
.v2_menu_content .l2:hover
{
	background-position: 8px 50%;
	border: 1px solid #fff;
	color: #24315d;
	padding: 3px 4px 3px 33px;
	text-decoration: none;
}
.v2_menu_content .l2_a,
.v2_menu_content .l2_a:active,
.v2_menu_content .l2_a:hover
{
	background-position: 8px 50%;
	border: 1px solid #fff;
	color: #24315d;
	padding: 3px 4px 3px 33px;
	text-decoration: none;
}

/* language selector */
.lang_menu_content
{
	padding: 7px 0 0 0;
}
.lang_menu_content .l1,
.lang_menu_content .l1_a
{
	display: block;
	padding: 0 8px 0 0;
	text-decoration: none;
	white-space: nowrap;
}
.lang_menu_content .l1_a,
.lang_menu_content .l1:active,
.lang_menu_content .l1:hover,
.lang_menu_content .l1_a:active,
.lang_menu_content .l1_a:hover
{
	text-decoration: underline;
}
/*
.lang_menu_content .l1-est
{
	background: url("../tmpl/img/lang_est.gif") no-repeat left center;
}
.lang_menu_content .l1-eng
{
	background: url("../tmpl/img/lang_eng.gif") no-repeat left center;
}
.lang_menu_content .l1-rus
{
	background: url("../tmpl/img/lang_rus.gif") no-repeat left center;
}
.lang_menu_content .l1-lit
{
	background: url("../tmpl/img/lang_lit.gif") no-repeat left center;
}
.lang_menu_content .l1-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_menu_content
{
	border-top: 1px #F00 dotted;
	padding: 9px 0;
}
.navi_menu_content .l1,
.navi_menu_content .l1_a
{
	color: #666;
	font-weight: normal;
	padding: 0 0;
	text-decoration: none;
}
.navi_menu_content .l1_a,
.navi_menu_content .l1:active,
.navi_menu_content .l1:hover,
.navi_menu_content .l1_a:active,
.navi_menu_content .l1_a:hover
{
	color: #666;
	text-decoration: underline;
}
.navi_menu_content .l1_sep
{
	color: #666;
	font-weight: normal;
	padding: 0 11px;
}


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

