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

body
{
	background-color: #fff;
	color: #666;
	/*height: 100%;*/
	margin: 0;
	padding: 0;
	text-align: left;
}
body#site
{
/* 	background-color: #0a3e7a; */
	text-align: center;
}

a
{
	color: #066dd5;
	font-weight: normal;
	text-decoration: underline;
}
a:active,
a:hover
{
	color: #066dd5;
	text-decoration: none;
}

div
{
	margin: 0;
	padding: 0;
}

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

form
{
	margin: 0;
	padding: 0;
}

h1, h2, h3, h4, h5, h6
{
/* 	background: url("../tmpl/img/title.png") no-repeat left bottom; */
	border-bottom: 3px double #ccc;
	color: #666;
	font-family: "Trebuchet MS", Verdana;
/* 	line-height: 100%; */
	margin: 0;
	text-align: left;
	padding: 0 0 3px 0;
}
h2, h3, h4, h5, h6
{
	margin: 6px 0 3px 0;
}
h1
{
	float: left;
	font-size: 24px;
	font-weight: normal;
	margin: 0 0 6px 0;
	width: 560px;
}
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: bold;
}
h6
{
/* 	background: none; */
	border-bottom: 0;
	clear: both;
	color: #185f98;
	font-size: 14px;
	font-weight: bold;
	line-height: 100%;
}

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;
}
input.text:focus
{
	border: 1px solid #0B0;
}

li
{
	margin: 0;
	padding: 0;
}

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

option
{
	background-color: #F2F2F2;
}

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

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

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

textarea
{
	background-color: #F2F2F2;
	border: 1px solid #999;
	margin: 0;
	padding: 1px;
}
textarea:focus
{
	border: 1px solid #0B0;
}

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


/*********************/
/* Layout containers */
/*********************/

br.clear
{
	clear: both;
	display: block;
	font-size: 0;
}

.wrap
{
	height: 230px;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
}

#main-left
{
	background: url("../tmpl/img/main_left.jpg") repeat-x right top;
	float: left;
	height: 230px;
	overflow: hidden;
	width: 50%;
}
#main-right
{
	background: url("../tmpl/img/main_right.jpg") repeat-x 425px 0;
	float: left;
	height: 230px;
	overflow: hidden;
	width: 49.99%;
}

#main
{
	background: url("../tmpl/img/main.jpg") no-repeat left top;
	margin: 0 auto;
	width: 850px;
}

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

#wrap2
{
	background-color: #fff;
	left: 0;
	padding-top: 15px;
	position: absolute;
	top: 230px;
	width: 100%;
}

#content
{
	margin: 0 auto;
	width: 850px;
}

#sidebar
{
	float: left;
	padding: 0 30px 20px 0;
	text-align: left;
	width: 260px;
}

#article
{
	float: right;
	line-height: 140%;
	min-height: 400px;
	padding-bottom: 20px;
	text-align: left;
	vertical-align: top;
	width: 560px;
}
* html #article /* IE 6 */
{
	height: 400px;
}
#article input.text,
#article select,
#article textarea
{
	width: 290px;
}
#article input.text2
{
	margin-right: 11px;
	width: 200px;
}
#article input.text3
{
	margin-left: 5px;
	width: 50px;
}

#footer-wrap
{
	background: #093972 url("../tmpl/img/footer.png") repeat-x left top;
	border-bottom: 1px solid #0098ca;
	border-top: 1px solid #0098ca;
	clear: both;
	padding-bottom: 15px;
}
#footer
{
	color: #fff;
	margin: 0 auto;
	text-align: left;
	width: 850px;
}


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

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

.button-rounded
{
	float: right;
/* 	line-height: 20px; */
	margin-right: 20px;
	text-decoration: none;
	width: 12em;
}
.button-rounded:hover
{
	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: #f2f2f2;
	border-left: 1px solid #999;
	border-right: 1px solid #999;
}
.button-rounded .b1
{
	margin: 0 5px;
	background: #999;
}
.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: #f2f2f2;
	border: 0 solid #999;
	border-width: 0 1px;
	color: #002859;
	display: block;
	font-size: 1em;
	padding: 0 10px;
}

#client-signin
{
	float: left;
	font-weight: bold;
	padding: 10px 0;
	width: 420px;
}

#contacts
{
	border-top: 1px solid #7d98b5;
	clear: both;
	padding: 10px 0;
}
#contacts *
{
	color: #fff;
}
#contacts span
{
	float: right;
}

#icon-print
{
	background: url("../tmpl/img/icon_print.gif") no-repeat left center;
	float: right;
	height: 17px;
	margin-top: 8px;
	width: 18px;
}

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

#logo
{
	background: url("../tmpl/img/logo.png") no-repeat 0 0;
	cursor: pointer;
	height: 131px;
	left: 0;
	position: absolute;
	top: 15px;
	width: 840px;
	z-index: 0;
}

#news
{
	float: left;
	margin-bottom: 20px;
}
#news ul
{
	margin: 0;
}
#news ul li
{
	list-style: none;
}
#news ul li a
{
	background: url("../tmpl/img/news.gif") no-repeat 4px 5px;
	color: #666;
	display: block;
	margin: 4px 0;
	padding: 2px 2px 2px 20px;
	text-align: left;
	text-decoration: none;
}
#news ul li a:hover
{
	background-color: #f2f2f2;
	color: #666;
	text-decoration: none;
}
#news a#news-view-more
{
	background: url("../tmpl/img/arrow_red.gif") no-repeat left top;
	color: #fff;
	float: left;
	font-family: Arial;
	font-size: 9px;
	margin-left: 12px;
	padding: 1px 0.9em 1px 2.7em;
	text-decoration: none;
}

#portfolio-wrap
{
	float: left;
	padding-bottom: 20px;
}
#portfolio
{
	float: left;
	margin: 6px 0 0 0;
}
#portfolio li
{
	float: left;
	list-style: none;
	margin: 0 10px 10px 0;
}
#portfolio li a
{
	border: 5px solid #ccc;
	float: left;
}
#portfolio li a:hover
{
	border-color: #47617c;
}
#portfolio li a img
{
	border: 1px solid #fff;
	float: left;
}
#portfolio-view-more
{
	background: url("../tmpl/img/arrow_red.gif") no-repeat left top;
	color: #fff;
	font-family: Arial;
	font-size: 9px;
	margin-left: 12px;
	padding: 1px 0.9em 1px 2.7em;
	text-decoration: none;
}

#proposal
{
	color: #900;
	float: right;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: bold;
/* 	line-height: 20px; */
	margin: 8px 20px 0 0;
	text-decoration: none;
}
#proposal:hover
{
	color: #900;
	text-decoration: underline;
}

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

#service-phone
{
	float: left;
	font-weight: bold;
	padding: 12px 0 10px 0;
	width: 430px;
}

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


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

.layout_body
{
	margin-bottom: 4px;
	margin-top: 4px;
}

.layout_footer1,
.layout_footer2,
.layout_header1,
.layout_header2
{
	width: 99%;
}

.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: 90%;
}
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: 10%;
}
div.total-rows span
{
	font-weight: bold;
}


/********/
/* Form */
/********/

.form
{
	background-color: #FFF;
	width: 99%;
}
.form td
{
	background-color: #FFF;
}

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

.err,
#err
{
	color: #C00;
}
input.err
{
	background-color: #F2F2F2;
	border: 1px #C00 solid;
	padding: 1px;
}
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
{
	bottom: 0;
	left: 0;
	margin: 0 0 11px 0;
	position: absolute;
}
#menu1 li
{
	display: block;
	float: left;
	list-style: none;
	padding-right: 20px;
	text-decoration: none;
	white-space: nowrap;
}
#menu1 a
{
	background: url("../tmpl/img/menu1.gif") no-repeat 5px 50%;
	display: block;
	float: left;
	color: #fff;
	font-weight: normal;
	padding: 3px 6px 3px 23px;
	text-decoration: none;
}
#menu1 a:hover,
#menu1 li.active a
{
	background-position: 4px 50%;
	border: 1px solid #fff;
	color: #fff;
	padding: 2px 5px 2px 22px;
	text-decoration: none;
}

/* left-side */
#menu2
{
	clear: both;
	float: left;
	margin: 0;
}
#menu2 li
{
	list-style: none;
	text-align: left;
}
#menu2 li a
{
	background: url("../tmpl/img/menu2.gif") no-repeat 0 50%;
	color: #002859;
	display: block;
	margin: 0;
	padding: 4px 0 4px 18px;
	text-decoration: none;
	white-space: nowrap;
}
#menu2 li a:hover,
#menu2 li.active a
{
	color: #002859;
	text-decoration: underline;
}

/* right-top */
#menu3
{
	float: right;
	margin: 20px 0 0 0;
	right: 0;
	position: absolute;
/* 	top: 20px; */
	z-index: 100;
}
#menu3 li
{
	border-left: 1px solid #fff;
	display: block;
	float: left;
	list-style: none;
}
#menu3 a
{
	color: #fff;
	display: block;
	float: left;
	margin: 0 2px;
	padding: 2px 6px;
	text-decoration: none;
	white-space: nowrap;
}
#menu3 a:hover
{
	background: #666;
	color: #fff;
	text-decoration: none;
}
#menu3 li.active a
{
	background: #666;
	color: #fff;
	text-decoration: none;
}
#menu3 #menu3-first-1
{
	border-left: 0;
}

/* left-side */
#menu4
{
	margin: 0 0 20px 0;
}
#menu4 li
{
	list-style: none;
	text-align: left;
}
#menu4 li a
{
	background: url("../tmpl/img/menu4.gif") no-repeat 0 50%;
	color: #002859;
	display: block;
	margin: 0;
	padding: 4px 0 4px 18px;
	text-decoration: none;
}
#menu4 li a:hover,
#menu4 li.active a
{
	color: #002859;
	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;
}
