/**
* 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: #585858;
	/*height: 100%;*/
	margin: 0;
	padding: 0;
	text-align: left;
}
body#site
{
	text-align: center;
}

a
{
	color: #288ecd;
	text-decoration: none;
}
a:active,
a:hover
{
	color: #288ecd;
	text-decoration: underline;
}

div
{
	margin: 0;
	padding: 0;
}

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

form
{
	margin: 0;
	padding: 0;
}

h1, h2, h3, h4, h5, h6
{
	color: #093;
	font-family: Tahoma, 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: 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
{
	background: url("../tmpl/img/wrap.png") no-repeat 50% 0;
	margin: 0 auto;
	padding-top: 13px;
	width: 960px;
}

#header
{
	height: 88px;
}

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

#right
{
	float: right;
	padding: 10px 0 0 25px;
	width: 715px;
}

#article
{
	float: left;
	line-height: 160%;
	min-height: 400px;
	padding: 0;
	text-align: left;
	vertical-align: top;
	width: 715px;
}
* html #article /* IE 6 */
{
	height: 400px;
}

#footer
{
	background-color: #288ecd;
	clear: both;
	color: #fff;
	float: left;
	padding: 8px 12px;
	text-align: left;
	width: 936px
}
#footer div
{
	float: left;
}


/*********/
/* 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-rounded
{
	background: transparent;
	color: #666;
	text-decoration: none;
	margin: 10px 0;
}
.button-rounded:hover
{
	color: #666;
	text-decoration: none;
}
.button-rounded .b1,
.button-rounded .b2,
.button-rounded .b3,
.button-rounded .b4
{
	display: block;
	font-size: 1px;
	height: 1px;
	overflow: hidden;
}
.button-rounded .b2,
.button-rounded .b3,
.button-rounded .b4
{
	background: #F5F4E0;
	border-left: 1px solid #E2E0C4;
	border-right: 1px solid #E2E0C4;
}
.button-rounded .b1
{
	margin: 0 5px;
	background: #E2E0C4;
}
.button-rounded .b2
{
	border-width: 0 2px 0 2px;
	margin: 0 3px;
}
.button-rounded .b3
{
	margin: 0 2px;
}
.button-rounded .b4
{
	margin: 0 1px;
	height: 2px;
	border-width: 0 1px 0 1px;
}
.button-rounded .b-content
{
	background: #F5F4E0;
	border: 0 solid #E2E0C4;
	border-width: 0 1px;
	display: block;
	padding: 0 10px;
}
*/

/*
#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-print
{
	background: #e6e6e6 url("../tmpl/img/icon_print_l.gif") no-repeat left center;
	color: #666;
	float: right;
	line-height: 25px;
	padding: 0 0 0 10px;
	text-decoration: none;
}
#icon-print:hover
{
	color: #666;
	text-decoration: underline;
}
#icon-print div
{
	background: #e6e6e6 url("../tmpl/img/icon_print_r.gif") no-repeat right center;
	float: left;
	padding: 0 10px 0 0;
}
#icon-print div div
{
	background: #e6e6e6 url("../tmpl/img/icon_print.gif") no-repeat right center;
	color: #666;
	cursor: pointer;
	cursor: hand;
	float: left;
	padding: 0 25px 0 0;
}
*/

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

#logo
{
	float: left;
	height: 88px;
	width: 350px;
}

#search-form
{
	background-color: #fff;
	border: 1px #b1adaa solid;
	float: right;
	height: 20px;
	margin-top: 39px;
	padding-left: 4px;
}
#search-btn
{
	background: url("../tmpl/img/search.png") no-repeat 50% 50%;
	border: 0;
	border-left: 0;
	cursor: pointer;
	float: left;
	height: 20px;
	margin: 0;
	padding: 0;
	width: 20px;
}
#search-word
{
	background-color: #fff;
	border: 0;
	color: #666;
	float: left;
	font-size: 11px;
	padding: 3px 4px 0 0;
	margin: 0;
	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: 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
{
	background: #fdfefe url("../tmpl/img/menu1.png") repeat-x 0 0;
	border: 1px solid #98c2da;
	float: left;
	margin: 0 0 7px 0;
	padding: 1px 0;
	width: 958px;
}
#menu1 li
{
	float: left;
	list-style: none;
}
#menu1 a
{
	color: #585858;
	font-weight: bold;
	float: left;
	padding: 9px 8px;
	margin: 0 15px;
	text-decoration: none;
}
#menu1 a:hover
{
	border-bottom: 3px solid #999;
	color: #999;
	padding-bottom: 6px;
	text-decoration: none;
}
#menu1 li.active a
{
	border-bottom: 3px solid #288ecd;
	color: #585858;
	padding-bottom: 6px;
}

/*
* dynamic: 1. level horisontal, others vertical
*/
/*
#menu1
{
	float: left;
	margin: 60px 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;
	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 li ul
{
	display: none;
	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
{
	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
{
	font-size: 11px;
	float: right;
	margin: 39px 16px 0 0;
}
#menu2 li
{
	float: left;
	list-style: none;
	text-align: left;
}
#menu2 li a
{
	border-right: 1px solid #aeb1b2;
	color: #999;
	float: left;
	line-height: 20px;
	padding: 0 8px;
	text-decoration: none;
}
#menu2 li a:hover
{
	color: #000;
	text-decoration: none;
}
#menu2 li.active a
{
	color: #000;
	text-decoration: none;
}
#menu2 li#menu2-last-1 a
{
	border-right: 0;
}

#menu3
{
	float: right;
	margin: 0;
}
#menu3 li
{
	float: left;
	list-style: none;
	text-align: left;
}
#menu3 li a
{
	color: #fff;
	float: left;
	padding: 0 0 0 16px;
	text-decoration: none;
}
#menu3 li a:hover
{
	color: #fff;
	text-decoration: underline;
}
#menu3 li.active a
{
	color: #fff;
	text-decoration: underline;
}

#menu4
{
	float: left;
	margin: 0;
	width: 220px;
}
#menu4 li
{
	float: left;
	list-style: none;
	margin: 1px 0 0 0;
}
#menu4 li a
{
	background: url("../tmpl/img/menu4.png") repeat-y 50% 0;
	color: #666;
	float: left;
	font-weight: bold;
	padding: 6px 4px 6px 4px;
	text-decoration: none;
	width: 212px;
}
#menu4 li a:hover
{
	color: #000;
	text-decoration: none;
}
#menu4 #item-1-2-a
{
	background-image: url("../tmpl/img/menu4_2.png");
}
#menu4-img
{
	float: left;
	margin-top: 1px;
	width: 220px;
}


#menu5
{
	float: left;
	margin: 18px 0 20px 0;
	width: 220px;
}
#menu5 li
{
	border-top: 1px dashed #ccc;
	float: left;
	list-style: none;
	text-align: left;
}
#menu5 li a
{
	background: url("../tmpl/img/menu5.gif") no-repeat 8px 7px;
	color: #585858;
	float: left;
	margin: 1px 0;
	padding: 6px 4px 6px 30px;
	text-decoration: none;
	width: 186px;
}
#menu5 li a:hover
{
	background-color: #e4f1f9;
	color: #585858;
	text-decoration: none;
}
#menu5 li.active a
{
	background-color: #288ecd;
	background-image: url("../tmpl/img/menu5_a.gif");
	color: #fff;
	text-decoration: none;
}
#menu5 li#menu5-last-1
{
	border-bottom: 1px dashed #ccc;
}


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

