/**
* 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: Arial, Helvetica, sans-serif;
	font-size: 12px;
}

body
{
	background-color: #fff;
	color: #777;
	height: 100%;
	margin: 0;
	padding: 0;
	text-align: left;
}
body.ajax-wait,
body.ajax-wait *
{
  cursor: wait !important;
}
body#site
{
	text-align: center;
	background: #f7f8fa url('../tmpl/img/bg.jpg') center repeat-y;
}

a
{
	color: #777;
	text-decoration: none;
}
a:active,
a:hover
{
	text-decoration: none;
}

div
{
	margin: 0;
	padding: 0;
}

fieldset
{
	border: 0;
	margin: 0;
	padding: 4px;
	border-top: 1px solid #e0e0e0;
}

form
{
	margin: 0;
	padding: 0;
}

h1, h2, h3, h4, h5, h6
{
	color: #202020;
	font-family: Arial, sans-serif;
	margin: 0;
	padding: 0;
	text-align: left;
}
h1, h2, h3, h4, h5, h6
{
	margin: 3px 0 5px 0;
}
h2
{
	font-size: 22px;
	font-weight: normal;
}
h3
{
	font-size: 20px;
	font-weight: normal;
}
h4,h1
{
	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 #c0c0c0;
	padding: 5px 5px;
	width: 260px;
	height: 15px;
}

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 #ccc;
	margin: 0;
	padding: 2px;
	width: 265px;
}

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


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

#wrap
{
	margin: 0 auto;
	width: 960px;
	height: auto;
	min-height: 100%;
	border: 1px solid #c6c7c9;
	border-width: 0 1px;
}

#header
{
	background: url('../tmpl/img/header.jpg') no-repeat;
	width: 960px;
	height: 156px;
	border-bottom: 1px solid #c7c7c7;
}

#logo
{
	float: left;
	margin: 0 20px;
}

#user-menu
{
	float: right;
	margin: 96px 38px 0 0;
	background: url('../tmpl/img/user_bg.gif') bottom no-repeat;
	height: 26px;
	width: 256px;
	padding: 12px 0 0 0;
}

#user-menu2
{
	float: right;
	margin: 6px 38px 0 0;
	background: url('../tmpl/img/user_bg2.gif') bottom no-repeat;
	height: 92px;
	width: 191px;
	padding: 27px 0 0 15px;
	text-align: left;
}

#user-menu a
{
	float: left;
	margin-left: 27px;
	font-weight: bold;
}

#sales-banner
{
	width: 810px;
	height: 100px;
	background: url('../tmpl/img/bg_sales_banner.png');
	padding: 42px 0 0 150px;
	text-align: left;
	cursor: pointer;
}

#sales-banner .title
{
	color: #c82100;
	font-size: 28px;
	font-weight: bold;
	margin-bottom: 6px;
	display: block;
}

#sales-banner .descr
{
	color: #000;
	line-height: 140%;
	margin-bottom: 12px;
	display: block;
}

#sales-banner .morelink a
{
	color: #c82100;
}

#nav
{
	background: url('../tmpl/img/nav.jpg') no-repeat;
	width: 965px;
	height: 53px;
	padding: 22px 0 0 20px;
}

#cart-link
{
	float: right;
	margin-right: 50px;
}

#cart-link img
{
	margin-top: 5px;
}

#cart-link a
{
	padding-top: 12px;
	zoom: 1;
	display: inline-block;
	*display: inline;
	color: #fff;
	padding-bottom: 10px;
}

#main
{
	text-align: left;
}

#footer
{
	background: url('../tmpl/img/footer.jpg') no-repeat;
	width: 960px;
	height: 145px;
}

#footer img
{
	margin: 5px 0 0 20px;
}

#footer div
{
	margin: 20px 35px 0 0;
}

.title-top
{
	background: url('../tmpl/img/title_top.jpg') no-repeat;
	width: 910px;
	height: 41px;
	padding: 20px 25px 0 25px;
}

.title-body
{
	background: url('../tmpl/img/title_body.jpg') no-repeat;
	width: 910px;
	height: 40px;
	padding: 10px 25px 0 25px;
}

.text-body
{
	background: url('../tmpl/img/text_body.jpg') repeat-y;
	width: 910px;
	padding: 13px 25px;
	overflow: auto;
}

.text-body2
{
	background: url('../tmpl/img/text_body2.gif') repeat-y;
	width: 910px;
	padding: 13px 25px;
	overflow: auto;
}

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

.box-img
{
	float: left;
	padding: 4px;
	border: 1px solid #c8c8c8;
	width: 284px;
	min-height: 150px;
	text-align: center;
}

.box-text
{
	float: left;
	width: 600px;
	margin-left: 10px;
	line-height: 170%;
}

.box-text2
{
	float: left;
	width: 750px;
	margin-left: 10px;
	line-height: 170%;
}

.box-img2
{
	float: left;
	padding: 4px;
	border: 1px solid #c8c8c8;
	width: 135px;
	min-height: 135px;
	text-align: center;
}

.rec-prod-data
{
	float: left;
	width: 500px;
}

.rec-prod-data2
{
	float: right;
	text-align: right;
	width: 200px;
}

#hide-lay
{
	position: fixed;
	opacity: 0.8;
	*filter: alpha(opacity = 80);
	background-color: #666;
	width: 100%;
	height: 100%;
	z-index: 50;
	left: 0px;
}

#login-box
{
	position: fixed;
	top: 150px;
	left: 50%;
	z-index: 100;
}

#login-box-inner
{
	width: 324px;
	height: 265px;
	position: relative;
	left: -162px;
	background: url('../tmpl/img/login_bg.jpg');
	text-align: left;
	line-height: 200%;
}

#login-box-title
{
	padding: 27px 0 0 25px;
	float: left;
}

#login-box-close
{
	float: right;
	position: relative;
	top: 32px;
	left: -30px;
	cursor: pointer;
}

#login-box-form
{
	padding: 20px 0 0 25px;
}

#login-button
{
	margin: 15px 8px 0 0;
}

.login-text
{
	float: left;
	padding-right: 30px;
	line-height: normal;
	padding-top: 15px;
}


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

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

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

.edata
{
	background-color: #fff;
}
.odata
{
	background-color: #f2f2f2;
}

.layout_footer1,
.layout_footer2,
.layout_header1,
.layout_header2
{
}

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

.form
{
}

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

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

legend
{
	font-size: 1.4em;
	padding: 10px 5px;
	color: #999;
}

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

/* simple horisontal */

#menu_f
{
	float: left;
	margin-top: 25px;
}

#menu_f li
{
	float: left;
	list-style: none;
	padding: 0 12px;
	border-left: 1px #bebebe solid;
	line-height: 11px;
}

#menu_f li#first-1
{
	border-left: 0;
}

#menu_f li a
{
	color: #a86c6c;
}

#menu_f li a:hover
{
	text-decoration: underline;
}

.menu1-button-right, .menu1-button-left
{
	width: 4px;
	height: 38px;
	float: left;
}

#menu1 li:hover .menu1-button-left, #menu1 li.active .menu1-button-left
{
	background: url('../tmpl/img/menu1_button_left.jpg') no-repeat;
}

#menu1 li:hover .menu1-button-right, #menu1 li.active .menu1-button-right
{
	background: url('../tmpl/img/menu1_button_right.jpg') no-repeat;
}

.menu1-button-middle
{
	height: 14px;
	float: left;
	padding: 12px 7px;
}

#menu1 li:hover .menu1-button-middle, #menu1 li.active .menu1-button-middle
{
	background: url('../tmpl/img/menu1_button_middle.jpg') left;
}

#menu1
{
	margin: 0px;
	float: left;
}
#menu1 li
{
	float: left;
	list-style: none;
	padding: 0 3px 0 0;
	position: relative;
}
#menu1 a
{
	color: #fff;
	font-weight: bold;
	text-decoration: none;
}
#menu1 a:hover
{
	color: #000;
	text-decoration: none;
}
#menu1 li.active a, #menu1 li:hover a
{
	color: #5e5e5e;
}

#menu1 li:hover ul
{
	display: block;
}

#menu1 li.has-items .menu1-button-middle
{
	background: url('../tmpl/img/arrow_down1.jpg') no-repeat right 16px ;
	padding-right: 16px;
}

#menu1 li:hover.has-items .menu1-button-middle, #menu1 li.active.has-items .menu1-button-middle
{
	background: url('../tmpl/img/menu1_button_middle.jpg') right;
}

#menu1 li ul
{
	position: absolute;
	top: 37px;
	left: -20px;
	background: #efefef;
	display: none;
}

#menu1 li ul li
{
	clear: both;
	padding: 9px 12px;
	border-top: 1px solid #e2e2e2;
	width: 130px;
	text-align: left;
}

#menu1 li ul li#first-2
{
	border-top: none;
}

#menu1 li ul li a
{
	color: #5e5e5e;
}

#menu1 li ul li:hover
{
	background: #f7f7f7;
}

#menu1 li ul li:hover a
{
	color: #444;
}

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


.next-button
{
	background: url('../tmpl/img/next_button2.gif') repeat-x right;
	height: 22px;
	padding: 6px 25px 0 15px;
	text-align: right;
	color: #fff;
	font-weight: bold;
	zoom: 1;
	display: inline-block;
	*display: inline;
	border: 0px;
}

input.next-button
{
	padding-top: 0px;
	height: 28px;
}

.next-button.login
{
	padding-bottom: 10px;
	margin-top: 12px;
	margin-right: 28px;
	float: right;
}

a:hover.next-button
{
	color: #fff;
}

#cart-link a.white-button
{
	background: url('../tmpl/img/checkout_button.jpg') no-repeat;
	height: 22px;
	width: 138px;
	text-align: center;
	padding: 6px 0 0 0;
	color: #333;
	zoom: 1;
	display: inline-block;
	*display: inline;
	border: 0px;
	margin-left: 10px;
	*margin-bottom: 5px;
}

#cart-link a.white-button.hidden
{
	display: none;
}

.cart-lay
{
	position: relative;
}

.cart-msg
{
	position: absolute;
	top: -240px;
	width: 110px;
	height: 180px;
	background: #fce8e9;
	color: #b29492;
	font-size: 14px;
	text-align: center;
	padding: 50px 15px 0 15px;
	display: none;
}


.cart-msg.detail
{
	width: 350px;
	height: 20px;
	top: 0px;
	left: 256px;
	padding: 5px 2px;
}

.cart-msg.rec
{
	width: 400px;
	height: 20px;
	top: 0px;
	left: -400px;
	padding: 5px 2px;
}

.add-button
{
	background: url('../tmpl/img/add_button.gif') no-repeat right;
	height: 28px;
	padding: 0px 30px 2px 15px;
	color: #fff;
	font-weight: bold;
	zoom: 1;
	display: inline-block;
	*display: inline;
	border: 0;
	width: 138px;
	float: left;
}

.big-select
{
	height: 25px;
	width: 100px;
	float: left;
	margin: 2px 0px 0 0;
}

.rule
{
	border-bottom: 1px solid #efefef;
	clear: both;
	height: 10px;
	margin-bottom: 10px;
}

.clear
{
	clear: both;
}

.left
{
	float: left;
}

.right
{
	float: right;
}

.em2
{
	font-size: 1.3em;
}

.pink
{
	color: #b97779;
}

.gray
{
	color: #b1b1b1;
}

.b
{
	font-weight: bold;
}

.ar
{
	text-align: right;
}

.black, .black a
{
	color: #202020;
}

.red
{
	color: red;
}

.lh2
{
	line-height: 170%;
}

.hidden
{
	display: none;
}

.u
{
	text-decoration: underline;
}

.pointer
{
	cursor: pointer;
}

.eur_price
{
	padding-top: 3px;
}