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

body
{
	background-color: #fff;
	color: #000;
	/*height: 100%;*/
	margin: 0;
	padding: 0;
	text-align: left;
}
body#site
{
	background: #f3f4ea url("../tmpl/img/body.png") repeat-x 0 0;
	color: #666;
	text-align: center;
}

a
{
	color: #f9761c;
	font-weight: normal;
	text-decoration: none;
}
a:active,
a:hover
{
	color: #ac5216;
	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: #fb6e0e;
	font-family: "Trebuchet MS", Verdana;
	margin: 0;
	padding: 0;
	text-align: left;
}
h2, h3, h4, h5, h6
{
	margin: 0 0 5px 0;
}
h1
{
	font-size: 26px;
	font-weight: normal;
	margin: 0 0 10px 0;
}
h2
{
	font-size: 22px;
	font-weight: bold;
}
h3
{
	font-size: 20px;
	font-weight: bold;
}
h4
{
	color: #00205a;
	font-size: 20px;
	font-weight: normal;
}
h5
{
	color: #00205a;
	font-size: 16px;
	font-weight: bold;
}
h6
{
	color: #00205a;
	font-size: 14px;
	font-weight: bold;
}

img
{
	border: 0;
}

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

li
{
	margin: 0;
	padding: 0;
}

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

option
{
	background-color: #F2F2F2;
}

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

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

select
{
	background-color: #F2F2F2;
	margin: 0;
	padding: 1px;
}

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

textarea
{
	background-color: #F2F2F2;
	border: 1px solid #999;
	margin: 0;
	padding: 2px;
	width: 100%;
}
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: 890px;
	text-align: left;
}

#header
{
	height: 30px;
	position: relative;
}

#content
{
	float: left;
	margin-top: 40px;
	width: 890px;
}

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

#right
{
	float: right;
	padding-right: 10px;
	width: 690px;
}

#article
{
	float: left;
	line-height: 140%;
	min-height: 300px;
	padding: 0;
	text-align: left;
	width: 690px;
}
* html #article /* IE 6 */
{
	height: 300px;
}

#footer
{
	border-top: 1px solid #f9761c;
	float: left;
	margin: 0 0 0 185px;
	padding: 15px 0 20px 5px;
	width: 695px;
}
#footer span
{
	padding-left: 10px;
}


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

#icon-print
{
	background: url("../tmpl/img/icon_print.png") no-repeat 0 100%;
	float: right;
	height: 100%;
	margin-right: 13px;
	width: 17px;
}

#logo
{
	float: left;
	height: 95px;
	width: 155px;
}

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

/*
#skype
{
	background: url("../tmpl/img/skype.png") no-repeat center top;
	float: left;
	height: 23px;
	width: 145px;
}
*/

/*
#slogan
{
	background: url("../tmpl/img/slogan.png") no-repeat 0 0;
	float: left;
	height: 100%;
	width: 490px;
}
*/


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

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

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

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

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


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

#menu1
{
	float: left;
	/*margin: 60px 0 0 0;*/
	margin: 30px 0 0 0;
	position: relative;
	text-align: left;
	width: 890px;
}
#menu1 li
{
	background-position: 0 0;
	background-repeat: no-repeat;
	float: left;
	height: 207px;
	list-style: none;
	margin: 0 12px 0 0;
	padding: 0;
	position: relative;
	width: 168px;
}
#menu1 li a
{
	color: #fff;
	float: left;
	font-weight: bold;
	line-height: 20px;
	margin: 173px 0 0 5px;
	text-decoration: none;
	text-align: center;
	width: 150px;
}
#menu1 li a:hover
{
	color: #fff;
	text-decoration: none;
}

#menu1 #item-1-1
{
	background-image: url("../tmpl/img/menu1_1.png");
}
#menu1 #item-1-1-a
{
	background-color: #f90;
}

#menu1 #item-1-2
{
	background-image: url("../tmpl/img/menu1_2.png");
}
#menu1 #item-1-2-a
{
	background-color: #6f0067;
}

#menu1 #item-1-3
{
	background-image: url("../tmpl/img/menu1_3.png");
}
#menu1 #item-1-3-a
{
	background-color: #0b90df;
}

#menu1 #item-1-4
{
	background-image: url("../tmpl/img/menu1_4.png");
}
#menu1 #item-1-4-a
{
	background-color: #fe0000;
}

#menu1 #item-1-5
{
	background-image: url("../tmpl/img/menu1_5.png");
	margin-right: 0;
}
#menu1 #item-1-5-a
{
	background-color: #fe00fe;
}

#menu1 li ul
{
	background: url("../tmpl/img/menu1_ul.gif") no-repeat 22px 0;
	display: none;
	left: 0;
	margin: 0;
	padding-top: 6px;
	position: absolute;
	top: 207px;
}
#menu1 li ul li
{
	background: #f9761c;
	float: none;
	height: auto;
	padding: 0;
	width: 160px;
}
#menu1 li ul li a
{
	background: url("../tmpl/img/menu1_li.gif") no-repeat 7px 9px;
	border-bottom: 1px solid #fb9d60;
	float: none;
	font-weight: normal;
	display: block;
	line-height: 140%;
	margin: 0;
	padding: 4px 4px 4px 22px;
	text-align: left;
	width: auto;
}
#menu1 li:hover ul
{
	display: block;
}
#menu1 li:hover ul li a:hover
{
	background-color: #00205a;
}

#menu2
{
}
#menu2 li
{
	list-style: none;
	padding: 5px 0;
	text-align: left;
}
#menu2 li a
{
	color: #666;
	text-decoration: underline;
}
#menu2 li a:hover
{
	color: #000;
	text-decoration: none;
}
#menu2 li.active a
{
	color: #099;
}

/* language selector */
#lang
{
	margin: 0;
	position: absolute;
	right: 10px;
	top: 0;
}
#lang li
{
	float: left;
	list-style: none;
}
#lang a
{
	background-color: #999;
	color: #fff;
	float: left;
	margin-left: 10px;
	padding: 4px 12px;
}
#lang a:hover,
#lang li.active a:hover
{
	background-color: #666;
	text-decoration: none;
}


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

