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

body
{
	background-color: #fff;
	color: #636466;
	margin: 0;
	padding: 0;
	text-align: left;
}
body.ajax-wait,
body.ajax-wait *
{
  cursor: wait !important;
}
body#site
{
	text-align: center;
}

a
{
	color: #636466;
	font-weight: normal;
	text-decoration: none;
}

div
{
	margin: 0;
	padding: 0;
}

fieldset
{
	margin: 0;
	padding: 4px;
	margin-bottom: 4px;
	width: 99%;
}

fieldset.checkboxgroup
{
	border: 0;
	padding: 0;
	margin: 0;
}

form
{
	margin: 0;
	padding: 0;
}

h1, h2, h3, h4, h5, h6
{
	color: #636466;
	font-family: Tahoma, Verdana, sans-serif;
	margin: 0;
	padding: 0;
	text-align: left;
}
h2, h3, h4, h5, h6
{
	margin: 0 0 5px 0;
}
h1
{
	font-size: 24px;
	font-weight: normal;
	margin: 0 0 10px 0;
}
h2
{
	color: #f8982a;
	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: 2px;
	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: 2px;
	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;
	position: relative;
	width: 800px;
}

#header
{
	width: 800px;
	margin: 0 0 30px 0;
	overflow: auto;
	padding-top: 51px;
}

#logo
{
	float: left;
	margin-right: -20px;
}

#top
{
	float: right;
	padding-top: 40px;
}

#menu
{
	float: left;
	padding-top: 30px;
	clear: both;
	width: 100%;
}

#main
{
	padding-bottom: 50px;
	overflow: auto;
}

#left
{
	width: 313px;
	float: left;
	text-align: left;
}

#left_title
{
	width: 273px;
	color: #fff;
	font-size: 20px;
	padding: 20px;
	text-align: left;
}

#footer
{
	border-top: 1px solid #ecebe1;
	color: #999;
	font-size: 10px;
	padding: 10px;
	text-align: left;
	clear: both;
}

.footer
{
	color: #f00;
	font-size: 16px;
	padding: 10px;
	text-align: left;
	font-family: "Arial Narrow";
	clear: both;
	font-weight: bold;
}

.title
{
	height: 76px;
}

.quotes
{
	background: #b1953a;
}

.plainprinted
{
	background: #50c8e8;
}

.freesample
{
	background: #f89829;
}

.home
{
	background: #ed1c24;
}

.about
{
	background: #6dcead;
}

.services
{
	background: #bc89cc;
}

.contact
{
	background: #a1b97f;
}

.prod
{
	background: #f7a08b;
}

.user
{
	background: #f89829;
}

#login_form
{
	color: #636466;
	margin: 10px 0;
}

#login_form div
{
	padding: 9px 0;
	margin: 3px 0;
}

#login_form input
{
	margin: 3px 0;
}

#login_form div#register
{
	padding-left: 70px;
}

#register_link
{
	font-weight: bold;
	color: #f7a08b;
}

#logged
{
	margin: 15px 0;
	line-height: 150%;
}

#prod_cats
{
	padding-top: 10px;
	clear: both;
	text-align: center;
}

.prod_cat img
{
	margin: 8px 0 4px 0;
}

.prod_cat
{
	height: 150px;
	width: 125px;
}
.prod_cat a
{
	font-weight: bold;
}
.prod_cat.right
{
	margin-right: 50px;
}

#right
{
	float: right;
	width: 477px;
}

.top_pic
{
	width: 476px;
	height: 116px;
}

#right_title
{
	background: #ecebe1;
	height: 14px;
	width: 437px;
	color: #f89829;
	font-size: 14px;
	font-weight: bold;
	padding: 25px 20px;
	text-align: left;
}

#right_title img
{
	margin-right: 10px;
}

#article
{
	float: left;
	line-height: 140%;
	text-align: left;
	vertical-align: top;
	padding: 10px;
	width: 457px;
}

.left
{
	float: left;
}

.right
{
	float: right;
}

.clear
{
	clear: both;
}

.ar
{
	text-align: right;
}
/*********/
/* Items */
/*********/

.button
{
	/*background-color: #f7a08b;*/
	background-color: #ed1c24;
	border: none;
	color: #fff;
	cursor: pointer;
	display: inline-block;
	font-weight: bold;
	text-decoration: none;
	width: 78px;
	height: 34px;
	line-height: 34px;
	font-family: tahoma, sans-serif;
	margin: 0 2px;
	text-align: center;
}

.button.wide
{
	width: 120px;
}

.rounded_input
{
	height: 15px;
	width: 207px;
	background: url('../tmpl/img/bg_input.gif') no-repeat;
	border: 0px;
	padding: 9px 10px;
	color: #636466;
	margin: 2px 2px;
}

.rounded_input.small
{
	width: 114px;
	background: url('../tmpl/img/bg_input_small.gif') no-repeat;
}

.rounded_textarea
{
	height: 80px;
	width: 280px;
	background: url('../tmpl/img/bg_textarea.gif') no-repeat;
	border: 0px;
	padding: 10px 10px;
	color: #636466;
	margin: 0 2px;
}

.rule
{
	height: 2px;
	border-bottom: 1px solid #b2b3b4;
	padding-top: 8px;
	margin-bottom: 12px;
	clear: both;
}

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

.layout_body
{
	margin-bottom: 4px;
	margin-top: 4px;
	width: 100%;
}
.edata
{
	background-color: #fff;
}
.odata
{
	background-color: #f2f2f2;
}

.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.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
{
	width: 100%;
	color: #636466;
}

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

.form_label
{
	padding: 5px 1px 3px 1px;
	text-align: right;
	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
{
	background: url('../tmpl/img/bg_input_err.gif') no-repeat;
}
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;
}

legend
{
	color: #636466;
}

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

/* simple horisontal */
#menu1
{
	float: left;
	margin: 0px;
}

#menu1 li
{
	float: left;
	list-style: none;
}
#menu1 a
{
	color: #000;
	text-decoration: none;
}
#menu1 a:hover
{
	color: #000;
	text-decoration: none;
}

#menu1 a#item-1-1-a
{
	color: #ed1c24;
	padding-right: 12px;
	border-right: 1px solid #b2b3b4;
}

#menu1 a#item-1-2-a
{
	color: #b1953a;
	padding: 0 12px;
	border-right: 1px solid #b2b3b4;
}

#menu1 a#item-1-3-a
{
	color: #50c8e8;
	padding: 0 12px;
	border-right: 1px solid #b2b3b4;
}

#menu1 a#item-1-4-a
{
	color: #f89728;
	padding: 0 12px;
	border-right: 1px solid #b2b3b4;
}

#menu1 a#item-1-5-a
{
	color: #c2c776;
	padding: 0 12px;
	border-right: 1px solid #b2b3b4;
}

#menu1 a#item-1-6-a
{
	color: #6dcead;
	padding: 0 12px;
	border-right: 1px solid #b2b3b4;
}

#menu1 a#item-1-7-a
{
	color: #bc89cc;
	padding: 0 12px;
	border-right: 1px solid #b2b3b4;
}

#menu1 a#item-1-8-a
{
	color: #a1b97f;
	padding: 0 12px;
}


#menu2
{
	/*float: left;*/
	display: inline;
	margin: 0;
}
#menu2 li
{
	list-style: none;
	padding: 5px 6px;
	text-align: left;
	font-family: segoe ui, sans-serif;
	font-size: 10px;
	/*float: left;*/
	display: inline;
}
#menu2 li a
{
	color: #000;
	/*float: left;*/
	line-height: 20px;
	padding-right: 16px;
	text-decoration: none;
}
#menu2 li a:hover
{
	color: #000;
	text-decoration: none;
}
#menu2 img
{
	/*float: right;*/
	display: inline;
	margin: 0 0 0 6px;
}
#menu2-1-1-a
{
	background: url('../tmpl/img/icon_sitemap.gif') no-repeat 100% 50%;
}
#menu2-1-2-a
{
	background: url('../tmpl/img/icon_mail.gif') no-repeat 100% 50%;
}
#menu2-1-3-a
{
	background: url('../tmpl/img/icon_policies.gif') no-repeat 100% 50%;
}
#menu2-1-4-a
{
	background: url('../tmpl/img/icon_newsletter.gif') no-repeat 100% 50%;
}
#menu2-1-5-a
{
	background: url('../tmpl/img/icon_print.gif') no-repeat 100% 50%;
}


#menu3
{
	float: left;
	margin: 0;
	position: absolute;
	right: 0;
	top: 70px;
}
#menu3 li
{
	float: left;
	list-style: none;
}
#menu3 a
{
	float: left;
	font-family: segoe ui, sans-serif;
	font-size: 10px;
	margin: 0 8px;
}
#menu3 a:hover,
#menu3 li.active a
{
	text-decoration: underline;
}
#menu3-first-1 a
{
	color: #d2232a;
}


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

.u, a.u
{
	text-decoration: underline;
}

.red
{
	color: #ED1C24;
}

.b
{
	font-weight: bold;
}

.clear
{
	clear: both;
}