/**
* 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, td, button
{
	font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
}

body
{
	background-color: #fff;
	color: #333;
	/*height: 100%;*/
	margin: 0;
	padding: 0;
	text-align: left;
}
body.ajax-wait,
body.ajax-wait *
{
  cursor: wait !important;
}
body#site
{
	background: #2983cf url("../tmpl/img/body.jpg") no-repeat 50% 0;
	text-align: center;
}

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

div
{
	margin: 0;
	padding: 0;
}

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

form
{
	margin: 0;
	padding: 0;
}

h1, h2, h3, h4, h5, h6
{
	color: #178acb;
	font-family: Georgia, Serif;
	margin: 0;
	padding: 0;
	text-align: left;
}
h2, h3, h4, h5, h6
{
	margin: 0 0 5px 0;
}
h1
{
	background: url("../tmpl/img/h1.jpg") no-repeat 50% 0;
	font-size: 24px;
	font-weight: normal;
	line-height: 39px;
	margin: 15px 0;
	padding: 0 12px;
	text-align: center;
}
h2
{
	font-size: 22px;
	font-weight: normal;
}
h3
{
	font-size: 20px;
	font-weight: normal;
}
h4
{
	font-size: 18px;
	font-weight: normal;
}
h5
{
	font-size: 16px;
	font-weight: normal;
}
h6
{
	font-size: 14px;
	font-weight: normal;
}

img
{
	border: 0;
}

input.checkbox
{
	height: 12px;
	width: 12px;
}
input.radio
{
	height: 12px;
	width: 12px;
}
input.text
{
	background-color: #fff;
	border: 1px solid #999;
	padding: 4px;
	width: 99%;
}
input.text:focus
{
	background-color: #ff9;
}

li
{
	margin: 0;
	padding: 0;
}

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

option
{
	background-color: #fff;
}

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

pre
{
	font-family: Courier, "Courier new";
}

select
{
	background-color: #fff;
	border: 1px solid #999;
	margin: 0;
	padding: 1px;
}

sub, sup
{
	font-size: 9px;
}

textarea
{
	background-color: #fff;
	border: 1px solid #999;
	margin: 0;
	padding: 4px;
	width: 99%;
}
textarea:focus
{
	background-color: #ff9;
}

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


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

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

#wrap
{
	margin: 0 auto;
	width: 972px;
}

#header1
{
	height: 221px;
	margin: 0 25px;
	position: relative;
}

#header2
{
	background: url("../tmpl/img/header2.png") no-repeat 50% 0;
	height: 53px;
	padding-top: 35px;
	position: relative;
	text-align: center;
}
#header2-bottom
{
	background: url("../tmpl/img/main.png") no-repeat 0 0;
	bottom: 0;
	height: 6px;
	left: 25px;
	position: absolute;
	width: 922px;
}

#header3
{
	background: url("../tmpl/img/main.png") no-repeat 0 -6px;
	height: 50px;
	margin: 0 25px;
	padding: 20px 12px 0 12px;
	position: relative;
}

#main
{
	background: #fff url("../tmpl/img/main.png") no-repeat 50% -76px;
	border-left: 1px solid #2f82b2;
	border-right: 1px solid #2f82b2;
	float: left;
	margin: 0 25px;
	min-height: 400px;
	text-align: left;
	width: 920px;
}

#left
{
	float: left;
}

#right
{
	float: right;
}

#article
{
	line-height: 140%;
	padding: 0 12px;
	text-align: left;
	vertical-align: top;
}

#article-left
{
	float: left;
	width: 240px;
}
#article-right
{
	float: left;
	width: 656px;
}

#footer
{
	background: url("../tmpl/img/footer.jpg") no-repeat 50% 0;
	clear: both;
	font-size: 11px;
	margin-top: 15px;
	padding: 26px 0 15px 0;
	text-align: center;
}
#footer-bottom
{
	background: url("../tmpl/img/footer_bottom.jpg") no-repeat 50% 100%;
	font-size: 0;
	height: 13px;
	margin: 0 auto 15px auto;
	width: 922px;
}


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

.button
{
	display: block;
	text-decoration: none;
}
.button:hover
{
	text-decoration: none;
}
.button-left
{
	background: url("../tmpl/img/button_left.png") no-repeat 0 0;
	float: left;
	padding: 0 0 0 5px;
}
.button-right
{
	background: url("../tmpl/img/button_right.png") no-repeat 100% 0;
	color: #fff;
	cursor: pointer;
	float: left;
	font-family: Georgia, Serif;
	font-size: 11px;
	font-weight: bold;
	line-height: 27px;
	padding: 0 15px 0 10px;
	text-decoration: none;
	white-space: nowrap;
}
.button:hover .button-left
{
	background-position: 0 -30px;
}
.button:hover .button-right
{
	background-position: 100% -30px;
	text-decoration: none;
}

#cart-info
{
	float: right;
}
#cart-items-wrap
{
	background: url("../tmpl/img/icon_cart.png") no-repeat 0 50%;
	float: left;
	line-height: 27px;
	margin-right: 20px;
	padding-left: 30px;
}
#cart-items
{
	color: #2886ce;
}
#cart-checkout
{
	float: left;
}

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

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

/*
#icon-sendlink
{
	background: url("../tmpl/img/icon_sendlink.gif") no-repeat 50% 50%;
	float: right;
	height: 13px;
	margin: 20px 10px 0 0;
	width: 14px;
}
*/

#logo1
{
	left: 1px;
	height: 100px;
	position: absolute;
	width: 410px;
	top: 38px;
}
#logo2
{
	left: 458px;
	height: 147px;
	position: absolute;
	width: 103px;
	top: 19px;
}
#logo3
{
	right: 1px;
	height: 44px;
	position: absolute;
	width: 321px;
	top: 86px;
}

#search-form
{
	background: url("../tmpl/img/search_form.png") no-repeat 0 0;
	float: left;
	height: 27px;
}
#search-btn
{
	border: 0;
	cursor: pointer;
	float: left;
	height: 27px;
	padding: 0;
}
#search-btn-input
{
	background: none;
	border: 0;
	color: #fff;
	cursor: pointer;
	font-family: Georgia, Serif;
	font-size: 11px;
	font-weight: bold;
	height: 27px;
	line-height: 27px;
	padding: 0;
}
#search-word
{
	background-color: #fff;
	border: 0;
	float: left;
	font-size: 11px;
	margin: 5px 20px 0 5px;
	width: 200px;
}

#theme-images img
{
	margin-left: 12px;
}


/*****************/
/* Form, Listing */
/*****************/

.layout_body
{
	margin-bottom: 4px;
	margin-top: 4px;
	width: 100%;
}

.clabel
{
	font-weight: bold;
	padding: 4px 6px;
}

.edata
{
	background-color: #fff;
	vertical-align: top;
	padding: 4px 6px;
}
.odata
{
	background-color: #f2f2f2;
	vertical-align: top;
	padding: 4px 6px;
}

.layout_footer1,
.layout_footer2,
.layout_header1,
.layout_header2
{
	width: 100%;
}

.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: 80%;
}
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: 20%;
	white-space: nowrap;
}
div.total-rows span
{
	font-weight: bold;
}


/********/
/* Form */
/********/

.fieldset-wrap fieldset
{
	border: 1px solid #dfdfdf;
	margin-bottom: 20px;
}
.fieldset-wrap legend
{
	font-size: 14px;
	font-weight: bold;
}

.form
{
	width: 100%;
}

.form_field
{
	padding: 3px 1px;
	text-align: left;
	vertical-align: top;
}

.form_label
{
	padding: 5px 1px 3px 1px;
	text-align: left;
	vertical-align: top;
}

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

.radiogroup
{
	border: 0;
}

.err,
#err
{
	color: #C00;
}
input.err
{
	border: 1px #C00 solid;
}
select.err,
select.err option,
textarea.err
{
	border: 1px #C00 solid;
}

.hint
{
	color: #999;
	padding: 0 5px;
}
.hint-bottom
{
	color: #999;
	padding-left: 2px;
}

#req,
span.req
{
	color: #C00;
}

.form .title
{
	font-weight: bold;
	padding: 10px 0 5px 0;
}


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

#menu1
{
	display: inline;
	margin: 0;
}
#menu1 li
{
	background: url("../tmpl/img/menu1_left.png") no-repeat 0 0;
	display: inline;
	font-family: Georgia, Serif;
	list-style: none;
	margin: 0 4px;
	padding: 7px 0 7px 5px;
}
#menu1 a
{
	background: url("../tmpl/img/menu1_right.png") no-repeat 100% 0;
	color: #333;
	display: inline;
	font-family: Georgia, Serif;
	font-size: 11px;
	font-weight: bold;
	padding: 7px 15px 7px 10px;
	text-decoration: none;
	white-space: nowrap;
}
#menu1 li:hover,
#menu1 li.l1-active:hover
{
	background-position: 0 -30px;
}
#menu1 li:hover a
{
	background-position: 100% -30px;
	color: #333;
	text-decoration: none;
}
#menu1 li.l1-active
{
	background-position: 0 -60px;
}
#menu1 a.l1-active
{
	background-position: 100% -60px;
	color: #fff;
}

#menu2
{
	border-top: 1px solid #dfdfdf;
	float: left;
	margin: 0;
	width: 230px;
}
#menu2 li.l1
{
	float: left;
	list-style: none;
}
#menu2 a.l1
{
	border: 1px solid #dfdfdf;
	border-top: 0;
	color: #333;
	float: left;
	font-weight: bold;
	padding: 8px 12px;
	width: 204px;
}
#menu2 a.l1-active
{
	background-color: #dfdfdf;
}
#menu2 ul.l2
{
	float: left;
	width: 230px;
}
#menu2 li.l2
{
	list-style: none;
}
#menu2 ul.l2
{
	border-bottom: 1px solid #dfdfdf;
	margin: 0;
}
#menu2 a.l2
{
	color: #333;
	float: left;
	padding: 8px 12px 8px 24px;
	width: 192px;
}
#menu2 a.l2-active
{
	text-decoration: underline;
}

/* language selector */
/*#lang
{
}
#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;
}*/


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