/**
* 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: #666;
	/*height: 100%;*/
	margin: 0;
	padding: 0;
	text-align: left;
}
body.ajax-wait,
body.ajax-wait *
{
  cursor: wait !important;
}
body#site
{
	background: #eee url("../tmpl/img/body.png") repeat-y 50% 0;
	text-align: center;
}

a
{
	color: #333;
	font-weight: normal;
	text-decoration: underline;
}
a:active,
a:hover
{
	color: #666;
	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: #0058a4;
	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: 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;
	text-align: left;
	width: 800px;
}

#header
{
	padding: 20px 0 30px 0;
}

#left
{
	float: left;
	padding-bottom: 20px;
	width: 200px;
}
#left h2
{
	color: #666;
	margin: 5px 0 15px 0;
	text-align: center;
}

#right
{
	float: right;
	padding: 0 60px 20px 25px;
	width: 515px;
}

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

#footer
{
	background: url("../tmpl/img/frens_conferences.jpg") no-repeat 10px 50%;
	border: 5px solid #cfcfcf;
	clear: both;
	color: #666;
	margin-bottom: 20px;
	padding: 20px 10px 20px 220px;
}
#footer a
{
	color: #666;
	text-decoration: none;
}
#footer a:hover
{
	color: #666;
	text-decoration: underline;
}
#footer span
{
	padding-right: 15px;
}


/*********/
/* Items */
/*********/

.button
{
	background-color: #999;
	border: 1px #999 solid;
	color: #fff;
	display: block;
	font-weight: bold;
	margin: 10px 0;
	padding: 2px 18px;
	text-decoration: none;
}
.button:active,
.button:hover
{
	background-color: #666;
	border: 1px #666 solid;
	color: #FFF;
	text-decoration: none;
}

#home
{
	display: block;
}

#icon-print
{
	background: url("../tmpl/img/icon_print.gif") no-repeat 0 0;
	float: right;
	height: 16px;
	width: 16px;
}

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

#logos img
{
	display: block;
	margin: 40px auto 0 auto;
}

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

#video
{
	margin: 40px 0 0 10px;
}


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

#menu1
{
	margin: 0;
}
#menu1 li
{
	list-style: none;
}
#menu1 a
{
	background: url("../tmpl/img/menu1.gif") no-repeat 100% 50%;
	display: block;
	color: #666;
	padding: 3px 18px 3px 0;
	text-align: right;
	text-decoration: none;
}
#menu1 a:hover
{
	color: #000;
	text-decoration: underline;
}
#menu1 li.active a
{
	color: #000;
	text-decoration: underline;
}


/* language selector */
#lang
{
}
#lang li
{
	display: block;
	list-style: none;
	padding: 0 8px 0 0;
	text-decoration: none;
	white-space: nowrap;
}
#lang li a:hover,
#lang li.active a:hover
{
	text-decoration: underline;
}
/*
#lang .est
{
	background: url("../tmpl/img/lang_est.gif") no-repeat left center;
}
#lang .eng
{
	background: url("../tmpl/img/lang_eng.gif") no-repeat left center;
}
#lang .rus
{
	background: url("../tmpl/img/lang_rus.gif") no-repeat left center;
}
#lang .lit
{
	background: url("../tmpl/img/lang_lit.gif") no-repeat left center;
}
#lang .lat
{
	background: url("../tmpl/img/lang_lat.gif") no-repeat left center;
}
*/

/* path */
/*#path
{
	float: left;
	margin-bottom: 20px;
}
#path li
{
	float: left;
	list-style: none;
	padding-right: 5px;
}
#path li a
{
	color: #b6b6b6;
	text-decoration: none;
}
#path li a:hover,
#path li.active a:hover
{
	color: #666;
	text-decoration: none;
}*/


/* navigation bar */
/*#navi li
{
	float: left;
	list-style: none;
}
#navi li a
{
	color: #666;
	font-weight: normal;
	text-decoration: none;
}
#navi li a:hover
{
	color: #666;
	text-decoration: underline;
}*/


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