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


body, input, option, select, textarea, td
{
	font-family: Segoe UI, Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
}

body
{
	background-color: #fff;
	color: #333;
	margin: 0;
	padding: 0;
	text-align: left;
}
body.ajax-wait,
body.ajax-wait *
{
  cursor: wait !important;
}
body#site
{
	margin-top: 27px;
	text-align: center;
	background: #1e3e8b url('../tmpl/img/bg.jpg') repeat-x;
}

body#site a
{
	text-decoration: none;
}

a
{
	color: #333;
	font-weight: normal;
	text-decoration: underline;
}
a:active,
a:hover
{
	color: #333;
	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: #F04045;
	font-family: Segoe UI, "Trebuchet MS", Verdana;
	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
{
	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;
	width: 960px;
	background: #fff;
}

#header_top
{
	height: 25px;
	padding: 25px 0 10px 15px;
	width: 100%;
	font-size: 11px;
}

#header_top_locator
{
	width: 55%;
	float: left;
	text-align: left;
	padding-left: 10px;
	position: relative;
	top: -5px;
}

.gradient_input
{
	background: url('../tmpl/img/textbox_bg.jpg') no-repeat;
	margin-left: 10px;
	border: 0px;
	width: 159px;
	height: 19px;
	padding: 3px 0 0 0;
}

#header_top_menu
{
	width: 40%;
	float: right;
}

#header_main
{
	background: url('../tmpl/img/flag.jpg') no-repeat;
	height: 223px;
	width: 100%;
	text-align: left;
}

#image-rotator
{
	vertical-align: bottom;
}

#header_main_logo
{
	cursor: pointer;
	width: 430px;
	height: 200px;
	float: right;
}

#header_menu
{
	border: 1px solid #122159;
	width: 100%;
	height: 45px;
	background: url('../tmpl/img/menu_bg.jpg') repeat-x right;
}

#header_nav
{
	text-align: left;
	padding: 18px 25px;
	border-bottom: 1px solid #dedede;
	overflow: auto;
}

#header_nav_nav
{
	float: left;
	margin-top: 3px;
}

#header_nav_nav img
{
	position: relative;
	top: 2px;
	margin: 0px 10px;
	z-index: 1;
}

#header_nav_search
{
	float: right;
	margin: -5px 0 -3px 0;
	padding-top: 5px;
}

#main
{
	overflow: hidden;
	text-align: left;
	width: 960px;
}

#body
{
	padding: 20px 30px;
	width: 900px;
}

#article
{
	float: left;
	line-height: 140%;
	padding: 0;
	text-align: left;
	vertical-align: top;
	width: 100%;
	padding-bottom: 40px;
}

body#site #body a
{
	text-decoration: underline;
}

#footer
{
	clear: both;
	border-top: 1px solid #dedede;
	width: 100%;
	height: 17px;
	padding: 25px;
	float: left;
	text-align: left;
	font-size: 11px;
	color: #333;
}

.prod_cat_thumb
{
	border: 1px solid #1e3e8b;
}

.prod_cell
{
	border-bottom: 1px solid #dedede;
	padding: 10px 10px 10px 0;
}

.prod_cell a
{
	color: #f04045;
}

.prod_img
{
	float: left;
}

.prod_text
{
	padding-left: 15px;
	float: left;
	width: 260px;
}

#group_list
{
	width: 100%;
	margin: 20px 30px 50px 30px;
}

#prod_list
{
	width: 100%;
	margin-bottom: 30px;
}

.prod_list_header td
{
	font-weight: bold;
	padding: 15px 30px 15px 30px;
}

.prod_list_img, .prod_list_name, .prod_list_shown_in, .prod_list_sizes, .prod_list_buy
{
	height: 100px;
	padding: 10px 0 10px 30px;
	border-top: 1px solid #dedede;
}

.prod_list_header_buy
{
	text-align: right;
}

.prod_list_img
{
	width: 130px;
}

.prod_list_img img
{
	border: 1px solid #1e3e8b;
}

#prod_detail_left
{
	width: 580px;
	float: left;
}

#prod_detail_right
{
	width: 320px;
	float: right;
}

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

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

.green
{
	color: #f04045;
	font-weight: bold;
}

#image-rotator
{
	float: left;
	position: relative;
}
#image-rotator img
{
	left: 0;
	position: absolute;
	top: 0;
}

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

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

/* simple horisontal */
#menu1
{
	margin:0px;
	padding: 0px;
	float: left;
}
#menu1 li
{
	float: left;
	list-style: none;
	padding: 0;
	font-size: 11px;
	background: url('../tmpl/img/menu_separator.jpg') no-repeat right;
	position: relative;
	z-index: 2;
}

#menu1 a
{
	color: #fff;
	font-weight: bold;
	text-decoration: none;
	display: block;
	height: 15px;
	padding: 15px 22.7px;
}
#menu1 a:hover
{
	color: #fff;
	text-decoration: none;
}

#menu1 li:hover
{
	background: url('../tmpl/img/menu_bg_hover.jpg');
}

#menu1 li ul
{
	display: none;
	left: -1px;
	margin: 0;
	top: -2px;
	position: absolute;
	padding-top: 47px;
}

#menu1 li ul li
{
	background: #172564;
	float: left;
	padding: 0;
	width: 208px;
	height: auto;
	clear: both;
}
#menu1 li ul li a
{
	background: #172564;
	float: none;
	display: block;
	text-align: left;
	height: 25px;
	padding: 12px 0 0 20px;
	border-bottom: 1px solid #455289;
}
#menu1 li:hover ul
{
	display: block;
}
#menu1 li:hover ul li a:hover
{
	background: url('../tmpl/img/submenu_bg_hover.jpg') repeat-x;
}

#top_menu li
{
	float: left;
	list-style: none;
	padding: 0 10px 0 20px;
}

#item-1-1
{
	background: url('../tmpl/img/home_icon.gif') no-repeat left 0px;
}

#item-1-2
{
	background: url('../tmpl/img/table_icon.gif') no-repeat left 1px;
}

#item-1-3
{
	background: url('../tmpl/img/catalog_icon.gif') no-repeat left 0px;
}

#item-1-4
{
	background: url('../tmpl/img/print_icon.gif') no-repeat left -3px;
}

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