/**
* Main CSS of site interface.
*
* @package Site
* @subpackage CSS
* @author Pavel "Papi" Jartsev <papi@digitalfruit.ee>
* @filesource
*/

html
{
	height: 100%;
}

*
{
	color: #4a3315;
	font-size: 11px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}

body
{
	background-color: #fff;
	height: 100%;
	margin: 0;
	padding: 0;
	text-align: left;
}
body#site
{
	background-image: url("../tmpl/img/body.jpg");
	text-align: center;
}

div
{
	margin: 0;
	padding: 0;
}

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

form
{
	margin: 0;
	padding: 0;
}

h1, h2, h3, h4, h5, h6
{
	color: #5b1632;
	font-family: Georgia, Verdana, Arial;
	font-style: italic;
	margin: 0;
	text-align: left;
}
h1
{
	background: url("../tmpl/img/h1.gif") no-repeat left center;
	font-size: 24px;
	font-weight: bold;
	line-height: 26px;
	margin: 0 0 30px 0;
	padding: 0 90px 0 40px;
}
h2, h3, h4, h5, h6
{
	padding: 10px 0 5px 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: bold;
}
h6
{
	font-size: 14px;
	font-weight: bold;
}

input.checkbox
{
	height: 12px;
	width: 12px;
}
input.radio
{
	height: 12px;
	width: 12px;
}
input.text
{
	background-color: #fff;
	border: 0;
	border-bottom: 1px solid #cba44b;
	padding: 3px;
	width: 100%;
}
input.text:focus
{
	border-bottom: 1px solid #0B0;
}

li
{
	margin: 0;
	padding: 0;
}

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

option
{
	background-color: #F2F2F2;
}

p
{
	margin: 0;
}

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

textarea
{
	background-color: #fff;
	border: 0;
	border-bottom: 1px solid #cba44b;
	margin: 0;
	padding: 3px;
	width: 100%;
}
textarea:focus
{
	border-bottom: 1px solid #0B0;
}

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


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

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

/* simple centered */

#main
{
	margin: 0 auto;
	width: 844px;
}

#header1
{
	height: 40px;
}
#header2
{
	background: url("../tmpl/img/header2.gif") repeat left top;
	border: 1px solid #934110;
	margin: 0 auto;
	width: 812px;
}

#content-t
{
	background: url("../tmpl/img/content_t.png") no-repeat left bottom;
	height: 33px;
}
#content
{
	background: url("../tmpl/img/content.png") repeat-y left top;
}
#content-b
{
	background: url("../tmpl/img/content_b.png") no-repeat left top;
	height: 21px;
}

#content2
{
	background: #1b0f01 url("../tmpl/img/content2.jpg") no-repeat left top;
	margin: 0 auto;
	width: 800px;
}
#content2-l
{
	float: left;
	padding-top: 5px;
	width: 560px;
}
#content2-r
{
	float: left;
	text-align: left;
	width: 240px;
}
#content2-b
{
	/*background: url("../tmpl/img/content2_b.png") no-repeat 585px 0;*/
	height: 64px;
}
#content2-br
{
	background: url("../tmpl/img/content2_b.png") no-repeat 0 0;
	float: left;
	height: 63px;
	margin-left: 25px;
	width: 190px;
}

#footer
{
	margin: 8px auto;
}
#footer,
#footer *
{
	color: #a88431;
	font-family: Georgia, Verdana, Arial;
	font-size: 12px;
	font-style: italic;
}


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

#article
{
	background: #fff4dd url("../tmpl/img/article_tl.gif") no-repeat left top;
	line-height: 140%;
	margin-left: 5px;
	min-height: 415px;
	text-align: left;
	vertical-align: top;
}
* html #article /* IE 6 */
{
	height: 415px;
}

#article a
{
	background-color: #e7d5dc;
	border-bottom: 1px solid #53142d;
	color: #53142d;
	font-weight: normal;
	text-decoration: none;
}
#article a:hover
{
	border-bottom: 0;
	color: #53142d;
	text-decoration: none;
}

#article ul
{
	margin: 10px 0 0 10px;
}
#article li
{
	list-style: none;
	padding: 2px 0;
}
#article li a
{
	background: #fff4dd url("../tmpl/img/courses.gif") no-repeat left center;
	border-bottom: 0;
	color: #cf3875;
	padding-left: 30px;
}

#article-inner
{
	background: url("../tmpl/img/article_tr.gif") no-repeat right top;
	padding: 26px 50px 0 26px;
}
#article-bl
{
	background: #fff4dd url("../tmpl/img/article_bl.gif") no-repeat left bottom;
	float: left;
	font-size: 0;
	height: 54px;
	margin-left: 5px;
	width: 555px;
}
#article-br
{
	background: url("../tmpl/img/article_br.gif") no-repeat right bottom;
	font-size: 0;
	height: 54px;
}

#article a.button
{
	background: #9f2455 url("../tmpl/img/button.gif") no-repeat 6px 50%;
	border: 1px #7d370d solid;
	color: #cba44b;
	display: block;
	font-weight: bold;
	margin: 10px 0;
	padding: 4px 10px 4px 32px;
	text-decoration: none;
}
#article a.button:hover
{
	background-color: #9f2455;
	border: 1px #cba44b solid;
	color: #cba44b;
	text-decoration: none;
}

#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
{
	background: url("../tmpl/img/logo.png") no-repeat left top;
	display: block;
	float: left;
	height: 189px;
	margin-left: 25px;
	width: 190px;
}

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


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

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

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

.layout_footer1 .sep
{
	width: 20px;
}

.layout_footer2 .sep
{
	width: 20px;
}

.layout_header1 .sep
{
	width: 6px;
}

.layout_header2 .sep
{
	width: 6px;
}


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

.form
{
	width: 99%;
}

.layout_footer1,
.layout_footer2
{
	padding: 10px 0 0 112px;
}

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

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

.err,
#err
{
	color: #C00;
}
input.err
{
	border-bottom: 1px #C00 solid;
}
select.err,
select.err option,
textarea.err
{
	border-bottom: 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 */
/*********/

/* horizontal */
.h1_menu_content
{
	margin: 0 auto;
}
.h1_menu_content .l1,
.h1_menu_content .l1_a
{
	color: #cba44b;
	display: block;
	font-family: Georgia, Verdana, Arial;
	font-size: 12px;
	font-style: italic;
	font-weight: normal;
	margin: 5px 2px;
	padding: 3px 6px;
	text-decoration: none;
	white-space: nowrap;
}
.h1_menu_content .l1:hover
{
	background-color: #683147;
	color: #cba44b;
	text-decoration: none;
}
.h1_menu_content .l1_a,
.h1_menu_content .l1_a:hover
{
	background-color: #cba44b;
	color: #5b1632;
	text-decoration: none;
}

/* vertical */
.v1_menu_content
{
	background-color: #53142d;
	border-collapse: collapse;
	float: left;
	margin: 30px 0 0 28px;
	width: 184px;
}
.v1_menu_content td
{
	border: 1px solid #7d370d;
	text-align: left;
}
.v1_menu_content .l1 a,
.v1_menu_content .l1_a a
{
	background: url("../tmpl/img/menu_v1.gif") no-repeat 6px 50%;
	color: #cba44b;
	display: block;
	font-family: Georgia, Verdana, Arial;
	font-size: 12px;
	font-weight: normal;
	padding: 4px 5px 4px 33px;
	text-decoration: none;
}
.v1_menu_content .l1 a:hover
{
	background-color: #683147;
	color: #cba44b;
	text-decoration: none;
}
.v1_menu_content .l1_a a,
.v1_menu_content .l1_a a:hover
{
	background-color: #683147;
	color: #cba44b;
	text-decoration: none;
}
.v1_menu_content .l2,
.v1_menu_content .l2_a
{
	border-bottom: 0;
	border-top: 0;
}
.v1_menu_content .l2 a,
.v1_menu_content .l2_a a
{
	color: #cba44b;
	display: block;
	font-family: Georgia, Verdana, Arial;
	font-size: 12px;
	font-style: italic;
	font-weight: normal;
	padding: 4px 5px 4px 33px;
	text-decoration: none;
}
.v1_menu_content .l2 a:hover
{
	background-color: #683147;
	color: #cba44b;
	text-decoration: none;
}
.v1_menu_content .l2_a a,
.v1_menu_content .l2_a a:hover
{
	background-color: #683147;
	color: #cba44b;
	text-decoration: none;
}

/* language selector */
.lang_menu_content
{
	border-collapse: collapse;
	float: right;
	margin: 10px 75px 0 0;
}
.lang_menu_content td
{
	border-left: 1px solid #cba44b;
	border-right: 1px solid #cba44b;
}
.lang_menu_content .l1
{
	color: #cba44b;
	display: block;
	font-family: Georgia, Verdana, Arial;
	font-size: 12px;
	padding: 0 6px;
	text-decoration: none;
	white-space: nowrap;
}
.lang_menu_content .l1:hover
{
	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;
}
