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

a
{
	color: #4EB4FE;
	font-weight: normal;
	text-decoration: underline;
}
a:active,
a:hover,
a:visited:hover
{
	background: #6A6A6A;
	color: #FFF;
	text-decoration: none;
}
a:visited
{
	color: #999999;
	font-weight: normal;
	text-decoration: underline;
}


div
{
	margin: 0;
	padding: 0;
}

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

form
{
	margin: 0;
	padding: 0;
}

h1, h2, h3, h4, h5, h6
{
	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: 2.181em; /*24px;*/
	font-weight: bold;
	margin: 0 0 10px 0;
}
h2
{
	font-size: 1.999em; /*22px;*/
	font-weight: bold;
}
h3
{
	font-size: 1.818em; /*20px;*/
	font-weight: bold;
}
h4
{
	font-size: 1.636em; /*18px;*/
	font-weight: bold;
}
h5
{
	font-size: 1.454em; /*16px;*/
	font-weight: bold;
}
h6
{
	font-size: 1.272em; /*14px;*/
	font-weight: bold;
}

body#site h1,
body#site h2,
body#site h3,
body#site h4,
body#site h5,
body#site h6
{
	color: #FFF;
}

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;
	padding: 0;
}

option
{
	background-color: #F2F2F2;
}

/*p
{
	padding: 10px 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;
	padding: 0;
}


/***************************************************************************
#LAYOUT CONTAINERS
***************************************************************************/
br.clear
{
	clear: both;
	display: block;
	font-size: 0;
}

#header
{
	background-color: #000000;
	/*height: 45px;*/
	height: 4.090em;
}
div.image
{
	background: url("../tmpl/img/generic_image.png") no-repeat 59% center;
	height: 231px;
}
div.image.law
{
	background: url("../tmpl/img/law_image.png") no-repeat 59% center;
}
div.image.sportsman
{
	background: url("../tmpl/img/sportsman_image.jpg") no-repeat 59% center;
}

div.content
{
	background: #333333 url("../tmpl/img/generic_content_bgr.png") repeat-x top left;
	min-height: 412px;
}
* html div.content
{
	height: 412px;
}
div.content.law
{
	background: #333333 url("../tmpl/img/law_content_bgr.png") repeat-x top left;
}
div.content.sportsman
{
	background: #A07B36 url("../tmpl/img/sportsman_content_bgr.png") repeat-x top left;
}

div.footer
{
	background: #4D473B url("../tmpl/img/generic_footer_top.png") repeat-x top left;
	min-height: 200px;
	padding-top: 20px;
}
* html div.footer
{
	height: 200px;
}
div.footer.law
{
	background: #002978 url("../tmpl/img/law_footer_top.png") repeat-x top left;
	padding-top: 20px;
}
div.footer.sportsman
{
	background: #4D473B url("../tmpl/img/sportsman_footer_top.png") repeat-x top left;
	padding-top: 20px;
}

div.footer-bgr.law
{
	background: #4D473B url("../tmpl/img/law_footer_bgr.png") repeat-x top left;
	min-height: 200px;
}
* html div.footer-bgr-law { height: 200px; }
div.footer-bgr.sportsman
{
	background: #4D473B url("../tmpl/img/sportsman_footer_bgr.png") repeat-x top left;
	min-height: 200px;
}
* html div.footer-bgr-sportsman { height: 200px; }


.viewport
{
	margin: 0 auto;
	padding: 0;
	text-align: left;
	width: 890px;
}

#vp-layout
{
}
#vp-layout td
{
	margin: 0;
	padding: 0;
	vertical-align: top;
}
#vp-layout td.lft
{
	width: 300px;
}
#vp-layout td.rgt
{
	width: 590px;
}

#footer .viewport
{
}

/***************************************************************************
#ITEMS
***************************************************************************/
#home-link,
#home-link:active,
#home-link:hover,
#home-link:visited
{
	background: none;
	display: block;
	height: 210px;
	width: 100%;
}
#article
{
	font-size: 1em;
	line-height: 140%;
	margin: 0 0 30px 0;
	padding: 0;
	position: relative;
	text-align: left;
}
#article ol,
#article ul
{
	margin: 0 0 0 20px;
}

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

/*#logo
{
	float: left;
	margin: -8px 0 0 10px;
}*/

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


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


/***************************************************************************
#LAYOUT CONTAINERS
***************************************************************************/
#menu-top-left
{
	float: left;
	margin: 0;
	padding: 0;
}
#menu-top-left li
{
	float: left;
	list-style: none;
}
#menu-top-left a
{
	background: none;
	border-left: 1px solid #FFF;
	color: #FFF;
	display: block;
	margin-top: 1.2em;
	padding: 0 10px;
	text-decoration: none;
}
#menu-top-left #mtl-first-1 a
{
	border: none;
	padding-left: 0;
}
#menu-top-left a:hover
{
	color: #FFF;
	text-decoration: underline;
}
#menu-top-left li.active a
{
	color: #FFF;
	text-decoration: underline;
}

#menu-top-right
{
	float: right;
	margin: 0;
	padding: 0;
}
#menu-top-right li
{
	float: left;
	list-style: none;
}
#menu-top-right li a
{
	background: none;
	color: #FFF;
	display: block;
	margin-top: 1.2em;
	padding: 0 15px;
	text-decoration: none;
}
#menu-top-right #mtr-last-1 a
{
	padding-right: 0;
}
#menu-top-right li a:hover
{
	color: #FFF;
	text-decoration: underline;
}
#menu-top-right li.active a
{
	color: #FFF;
	text-decoration: underline;
}

#menu-left
{
	margin: 32px 15px 0 0;
	padding: 0;
}
#menu-left li
{
	list-style: none;
}
#menu-left li a
{
	background: url("../tmpl/img/star_yellow.gif") no-repeat 5px center;
	color: #FFF;
	display: block;
	height: 1.7em;
	line-height: 1.7em;
	padding-left: 25px;
	text-decoration: none;
}
#menu-left li a:hover
{
	color: #FFF;
	text-decoration: none;
	background-color: #6A6A6A;
}
#menu-left li.active a
{
	color: #FFF;
	text-decoration: underline;
}

#menu-prd
{
	margin: 20px 15px 0 0;
	padding: 0;
}
#menu-prd li
{
	list-style: none;
	margin: 0;
	padding: 0;
}
#menu-prd li a
{
	color: #FFF;
	display: block;
	text-decoration: none;
}
#menu-prd li a:hover
{
	color: #FFF;
	text-decoration: none;
	background-color: #6A6A6A;
}
#menu-prd li.active a
{
	color: #FFF;
	text-decoration: none;
}

#menu-prd li.level-1 a
{
	height: 2.454em; /*27px;*/
	width: 275px;
	margin-top: 10px;
}
#menu-prd li a span.top
{
	background: url("../tmpl/img/law_sidebutton_bgr.png") no-repeat 0 0;
	display: block;
	height: 1.545em; /*17px*/
	line-height: 2.454em; /*27px;*/
	padding-left: 15px;
	position: relative;
	z-index: 10;
}
#menu-prd li a span.btm
{
	background: url("../tmpl/img/law_sidebutton_bgr.png") no-repeat 0 -60px;
	display: block;
	height: 10px;
}
#menu-prd li a:hover span.top
{
	background: url("../tmpl/img/law_sidebutton_bgr.png") no-repeat 0 -80px;
	cursor: pointer;
}
#menu-prd li a:hover span.btm
{
	background: url("../tmpl/img/law_sidebutton_bgr.png") no-repeat 0 -140px;
	cursor: pointer;
}
#menu-prd li.active a span.top
{
	background: url("../tmpl/img/law_sidebutton_bgr.png") no-repeat 0 -160px;
}
#menu-prd li.active a span.btm
{
	background: url("../tmpl/img/law_sidebutton_bgr.png") no-repeat 0 -220px;
}


#menu-prd li.sportsman a span.top
{
	background: url("../tmpl/img/sportsman_sidebutton_bgr.png") no-repeat 0 0;
	display: block;
	height: 1.545em; /*17px*/
	line-height: 2.454em; /*27px;*/
	padding-left: 15px;
}
#menu-prd li.sportsman a span.btm
{
	background: url("../tmpl/img/sportsman_sidebutton_bgr.png") no-repeat 0 -60px;
	display: block;
	height: 10px;
}
#menu-prd li.sportsman a:hover span.top
{
	background: url("../tmpl/img/sportsman_sidebutton_bgr.png") no-repeat 0 -80px;
}
#menu-prd li.sportsman a:hover span.btm
{
	background: url("../tmpl/img/sportsman_sidebutton_bgr.png") no-repeat 0 -140px;
}
#menu-prd li.sportsman.active a span.top
{
	background: url("../tmpl/img/sportsman_sidebutton_bgr.png") no-repeat 0 -160px;
}
#menu-prd li.sportsman.active a span.btm
{
	background: url("../tmpl/img/sportsman_sidebutton_bgr.png") no-repeat 0 -220px;
}

/* 2nd level */
#menu-prd li.level-1 ul,
#menu-prd li.active ul
{
	padding-top: 5px;
	width: 275px;
}
#menu-prd li.level-1 ul li a,
#menu-prd li.active ul li a
{
	background: url("../tmpl/img/star_yellow.gif") no-repeat 15px center;
	color: #FFF;
	display: block;
/* 	height: 1.7em; */
	height: auto;
/* 	line-height: 1.7em; */
	margin-top: 0;
	padding: 3px 5px 3px 35px;
	text-decoration: none;
	width: auto;
}
#menu-prd li.level-1 ul li a:hover,
#menu-prd li.active ul li a:hover
{
	background-color: #6A6A6A;
	color: #FFF;
	text-decoration: none;
}
#menu-prd li.level-1 ul li.sportsman a:hover,
#menu-prd li.active ul li.sportsman a:hover
{
	background-color: #C59F59;
	color: #FFF;
	text-decoration: none;
}
#menu-prd li.level-1 ul li.active a,
#menu-prd li.active ul li.active a
{
	background-color: #6A6A6A;
	color: #FFF;
	text-decoration: none;
}
#menu-prd li.level-1 ul li.sportsman.active a,
#menu-prd li.active ul li.sportsman.active a
{
	background-color: #8E6E31;
	color: #FFF;
	text-decoration: none;
}


/* language selector */
#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
{
	margin: 0 0 30px 0;
	padding: 0;
	width: 100%
}
#path li
{
	float: left;
	list-style: none;
	padding-right: 5px;
}
#path li a
{
	background: none;
	color: #666;
	text-decoration: none;
}
#path li.sportsman a
{
	background: none;
	color: #8E6E31;
	text-decoration: none;
}
#path li a:hover,
#path li.active a:hover
{
	color: #999;
	text-decoration: underline;
}
#path li.sportsman a:hover,
#path li.sportsman.active a:hover
{
	color: #C59F59;
	text-decoration: underline;
}


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