body{
	padding: 0;
	margin: 0;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	text-align: center; /* your wysiwyg editor will use this in editing mode */
	font-family: Arial;
	color: #333;	
	background-color: #949495;
	background-image: url('../images/bg.jpg');
	background-position: top left;
	background-repeat: repeat-x;
}

/* basic links on the site */

a {
	font-size: 14px;
	text-decoration:none;
	text-transform:none;
}
a:link, a:visited {
	color: #689048; 
	
	
}

a:hover {
	color: #006600;
	background-image: none;
	text-decoration: underline;
	}

a.footer:link, a.footer:visited {
	color: #626262; text-decoration: none;
	font-weight: normal;
}

a.footer:hover {
	color: #626262;	text-decoration: underline;
}

a.pathway:link, a.pathway:visited{
	color: #7f7f7f;
}

a.pathway:hover{
	color: #7f7f7f;
	text-decoration: underline;
}

a.toclink:link, a.toclink:visited{
	font-size: 11px;
}

a.toclink:hover{
	font-size: 11px;
	text-decoration: underline;
}

#ja-usertoolswrap {
	float: left;
	display: block;
	margin-top: 30px;
	padding-right: 20px;
}

#ja-usertools {
	padding: 0 20px 0 4px;
	float: left;
	display: block;
	font-size: 11px;
	height: 25px;
}

img {
	border: none;
}

/* главный контейнер с фоном */
#main{
	margin: 0;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: transparent;
	width: 99%; /*v mozille smescenije propadaret pri 101*/
	*width: 936 px; /* для  осла*/
	text-align: center;	
	height: auto;
	background-image: url(../images/bgr.jpg);	
	background-position:top center;
	background-repeat:repeat-y;
}

#kehys  {
	margin: auto;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 930px;
	height: 100%;
	background-color: transparent;
}

#boxes {	
	width: 100%;	
	
	margin: 0px;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	padding: 0px;
	background-color: transparent;
	height: 100%;
	}

#header{
	width: 930px;
	height: 237px;
	overflow: hidden; /*overflow: hidden; width: 100%; кросбраузерный параметр http://xhtml.ru/2008/09/30/clear-without-clear/#comments*/
	width: 100%;
	margin: 0;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

#logo_krp{
	width: 172px;
	height: 237px;
	vertical-align:top;
	float: left;
}

#logo_main{
	width: 617px;
	height: 237px;
	float: left;
}

#logo_right{
 	width: 141px;
 	background-image:url(../images/logo_info.jpg);
 	background-position: top right;
 	background-repeat:no-repeat;
 	height: 237px;
 	float: right;
	color: #555;
	overflow: visible;
}

#logo_info{
 width: 130px;
 text-align:right;
 font-size: 11px; /*razmer szrifta infy ob univere*/
 * padding-right: 10px;
}

#logo_lang{ 
 width: 141px;
 padding-top:58px;
 _padding-top:60px;
 *:first-child+html padding-top:58px;
 text-align:left; 
}

#logo_lang table {
	margin-left:51px;
	* margin-left:51px;
}

#logo_lang a:hover,#logo_lang a:active,#logo_lang a:link, #logo_lang a  { 
 font-weight:bold;
 font-size:14px;
 color:#689050;
 text-decoration:none; 
 text-transform:none; 
}

#logo_font{
 width: 130px;
 text-align:left;
 padding-left:35px;
 padding-top: 63px;
 
}

/* logo div, change width , if you want to change wider logo picture to your template */

#logo{
	width: 450px;
	float: left;
	text-align:left;
	height: 53px;
}

/* small navigation at the top right corner of the template */

#othernavi{
	width: 450px;
	float: right;
	text-align:right;
	margin-top: 11px;
	height: 13px;
	line-height: 13px;
}

#ja-mainnav-pad{	
	background-image: url('../images/top_menu.jpg');
	background-position: top left;
	background-repeat: no-repeat;
	font-weight: bold;
	height: 32px;
	width: 930px;}
	
#ja-mainnav-rast{
	float:left;	
	}	
	
#ja-mainnav {
	display: block;
	float:left;
	height: 29px;
	width: 810px;
	/*padding-left: 30px; едет левый бок в иксплорере еси замного*/
	text-align: left;
	vertical-align: text-top;
	font-size: 12px;
	font-weight: bold;
	text-transform: uppercase;
	}

a#ja-mainnav {	
	font-weight: bold;
	font-size: 12px;
	}	
		
/*#ja-mainnav a:active, a:hover {
	font-weight: bold;
	font-size: 12px;
	background-image: url('../images/navi_active.png')!important;
	background-repeat: repeat-x;
	
}	*/


	

/* main navigation top of the page with blue background */

#mainnavi{
	background-image: url('../images/navibg.gif');
	background-position: top left;
	background-repeat: no-repeat;
	
	width: 900px;
	height: 27px;
	text-align: left;
	line-height: 27px;
}


#navi{
	float: left;
	width: 930px;
	text-align: left;
	background-image:url(../images/search_bgr.jpg);
	background-position:top left;
	background-repeat:no-repeat;
	height:33px;
	}

/* pathaway part, breadcrumbs */
#crumbs{
	height: 27px;
	line-height:27px;
	text-align:left;
	font-family: Arial;
	font-size: 11px;
	color: #9a9a9a;
	padding-left: 22px;
}

/* div dearch box module */
#search{
	float: left;
	display:inline;
	width: 184px;
	text-align: left;
	line-height: 27px;
	height: 23px;
	margin-top: 6px;
	margin-left: 55px;
}



/* left column of the template */

/*#left{
	float: left;
	width: 200px;
	text-align:center;
	margin-bottom: 100px;
	background-color: #f2f2f2;
	padding-top: 13px;
}*/

#left{
	float: left;
	width: 214px;
	text-align:center;
	background-image:url(../images/left_menu_bgr.jpg);
	/*background-position: bottom left;*/
	background-repeat:repeat-y;
	/*padding-top: 13px;*/
	
	}



/* place for mainbody and components, different layouts have different widths. Change them. */

#story{
	float: left;
	width: 480px;
	text-align:left;
	margin: 0px 10px 0px 10px;
	padding-bottom: 100px;
}

#story1{
	float: right;
	width: 690px;
	text-align:left;
	margin: 0px 10px 0px 10px;
	}

#story2{
	float: left;
	width: 680px;
	text-align:left;
	margin: 0px 10px 0px 10px;
	padding-bottom: 100px;
}

#story3{
	float: left;
	width: 880px;
	text-align:left;
	margin: 0px 10px 0px 10px;
	padding-bottom: 100px;
}

/* right column of the template */

#right{
	float: right;
	width: 200px;
	text-align: center;
	margin-bottom: 100px;
	background-color: #f2f2f2;
	padding-top: 13px;
}

#admin{
	float:left;
	width: 930px;
	font-size: 11px;
	text-align: left;
	text-indent: 58px;
	height: 71px;
	overflow: hidden;
	background-image:url(../images/admin_bgr.jpg);
	background-position: left top;
	background-repeat:no-repeat;
	vertical-align:bottom;
}
  
#nadfooter {
	float: left;
	height: 71px!important;	
	clear:both;
	width: 218px;
	font-size: 11px;
	text-align: center;
	
}

#nadfooterbaner {
	width: 698px;	
	height 42px;	
	text-align: center;	  
	float:left;	
	}

#nadfooterbaner img{
	display:block;
	}
	
#nadfooterborder {
	width: 700px;
	text-align: center;
	overflow: hidden;
	border-top: 1px solid  #999999;
}


/* footer div */ 
#footer{
	height: 52px;
	clear:both;
	background-image:url(../images/footer_bgr.jpg);
	background-position:left top;
	background-repeat:no-repeat;
}

/* left footer */

#footerleft{
	height: 23px;
	width: 633px;
	text-align: center;
	float: left;
	padding-top: 6px;
	padding-left: 100px;
	color: #FFF;
	font-weight:bold;
	font-size: 11px;
	text-transform:uppercase;
}


/*#footerleft{
	height: 23px;
	width: 930px;
	text-align: center;
	padding-top: 6px;
	float: left;
	padding-left: 330px;
	font-weight:bold;
	
	color: #ffffff;
	
}

/* */
#footerright{
	height: 13px;
	width: 600px;
	float:right;
	text-align: right;
	padding-top: 0px;
	padding-right: 12px;
	color: #626262;
	font-size: 11px;
}



/* layout for frontpage text and image */

#frontpage{
	float: right;
	text-align: left;
	width: 683px;
	padding-left: 17px;
	
}

#user1{
	float: left;
	width:683px;
	text-align: left;
}

#mainbody{
	float: left;
	width:669px;
	text-align: left;
	padding-top: 20px;
	background-color:#3300CC;
}

#mainbox{
	float: left;
	width: 930px;
	text-align: left;
	background-image:url(../images/main_bgr.jpg);
	background-position:top left;
	background-repeat:no-repeat;
}


#frontleft{
	padding-top: 10px;
	float: left;
	width: 340px;
	text-align:left;
}

#frontright{
	padding-top: 10px;
	float: right;
	width: 340px;
	text-align: left;
}

#frontpage div{
	text-align: left;
}

/* Joomla styles */

/* top navigation */
ul#mainlevel-nav{
	list-style: none;
	padding: 0;
	margin: 0;
	float: right;
	background: none
}

ul#mainlevel-nav li{
	padding-left: 0px;
	padding-right: 0px;
	float: left;
	margin: 0;
	font-size: 11px;
	line-height: 13px;
	white-space: nowrap;
	border-right: 1px solid #646464;
	background: none
}

ul#mainlevel-nav li a{
	display: block;
	padding-left: 14px;
	padding-right: 14px;
	text-decoration: none;
	color: #646464;
	background: transparent;
}

ul#mainlevel-nav li a:hover{
	
	text-decoration: underline;
}

/* for mainmenu flat list on the blue bg */
ul#mainlevel-menu{
	list-style: none;
	padding: 0;
	margin: 0;
	float: left;
	background: none
}

ul#mainlevel-menu li{
	padding-left: 0px;
	padding-right: 0px;
	float: left;
	margin: 0;
	font-size: 13px;
	line-height: 27px;
	white-space: nowrap;
	
	/* use this, if you don't want to use images */
	/* border-right: 1px solid #4077b2; */
	background: none;
	background-image: url('../images/line.gif');
	background-position: top right;
	background-repeat: no-repeat;
	
	font-weight: bold;
}

ul#mainlevel-menu li a{
	display: block;
	padding-left: 14px;
	padding-right: 14px;
	text-decoration: none;
	color: #ffffff;
	background: transparent;
}

ul#mainlevel-menu li a:hover{
	color: #ffffff;
	text-decoration: underline;
}

/* active page navigation style*/
ul#mainlevel-menu li #active_menu-menu{
	background-image: url('../images/activebg.gif');
	background-position: top left;
	background-repeat:repeat-x;
	
	color: #444444;
}


/* for search box on the top right of the page */
#mod_search_searchword{
	overflow: hidden;
	width: 147px;
	border: none;
	background: transparent;
	margin-bottom: 1px;
	* margin-bottom: 5px;
	color: #999;
	font-size: 12px;
}

table.contentpaneopen {
  	width: 100%;
	padding: 0px;
	border-collapse: collapse;
	border-spacing: 0px;
	margin: 0px;
	font-size: 14px;
	line-height: 1.5em;
}

table.contentpaneopen td {
	padding-right: 5px;
	line-height: 1.5em;
}

table.contentpaneopen td.componentheading {
	font-family: Arial;
	color: #4a4a4a;
	text-align: left;	
	font-weight: normal;
	font-size: 18px;
}

table.contentpaneopen div{
	
}

ul{
	margin: 0;
	padding: 0px 0px 10px 0px;
	list-style: none;
}

li{
	list-style-type: none;
	margin: 0;
	padding: 0px 0px 0px 10px;
	background-image: url('../images/bullet.gif');
	background-position: top left;
	background-repeat: no-repeat;
}

ol{
	margin: 0;
	padding: 0;
	list-style-type: decimal;
}

ol li{
	background: none;
}

table.contentpane{
  	width: 100%;
	padding: 0px;
	border-collapse: collapse;
	border-spacing: 0px;
	margin: 0px;
	font-size: 11px;
}

table.contentpane td {
	margin: 0px;
	padding: 0px;
}

table.contentpane table{
	
}

table.contentpane td.componentheading {
	font-family: Arial;
	color: #4a4a4a;
	text-align: left;	
	font-weight: normal;
	font-size: 18px;
}

table.contentpaneopen fieldset {
	border: 0px;
	border-bottom: 1px solid #eee;
}
/*рамка вокруг поля авторизации*/
fieldset.input  {
	border: none;
}

.button {
  color: #689048;
  font-family: Arial;
  text-align: center;
  font-size: 11px;
  font-weight: bold;
  border: 1px solid #cccccc;
  width: auto;
  padding: 0px 5px;
  line-height: 18px !important;
  line-height: 16px;
  height: 26px !important;
  height: 24px;
  margin: 1px;
}

.inputbox {
	padding: 2px;
	/*border:solid 1px #cccccc;*/
	background-color: #ffffff;
}

.componentheading{
	font-family: Arial;
	color: #4a4a4a;
	text-align: left;	
	font-weight: normal;
	font-size: 18px;
}

div.componentheading{
	font-family: Arial;
	color: #4a4a4a;
	text-align: left;	
	font-weight: normal;
	font-size: 18px;
}

.contentcolumn{
	padding-right: 5px;
}

.contentheading{
	font-family: Arial;
	color: #4a4a4a;
	text-align: left;	
	font-weight: normal;
	font-size: 18px;
}

.contentpagetitle {
	font-size: 13px;
	font-weight: bold;
	color: #cccccc;
	text-align:left;
}

table.searchinto {
	width: 100%;
}

table.searchintro td {
	font-weight: normal;
	font-size: 11px;
}

table.moduletable {
	width: 100%;
	margin-bottom: 5px;
	padding: 0px;
	border-spacing: 0px;
	border-collapse: collapse;
}

div.moduletable{
	margin:auto;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	padding: 0;
	margin-bottom: 27px;
	width: 170px;
	color: #646464;
	text-align:left;
	font-size: 11px;
}

div.moduletable table{
	font-family: Arial;
	font-size: 11px;
	color: #646464;
}

table.moduletable th, div.moduletable h3 {
	background-image: url('../images/moduletablebg_h3.gif');
	background-position:top left;
	background-repeat: no-repeat;
	overflov: visible;
	
	height: 40px;
	/*line-height: 10px;*/
	
	color: #4a4a4a;
	text-align: left;
	padding-left: 28px;
	padding-bottom: 10px;
	
	font-weight: bold;
	font-size: 14px;
	margin: 0;
}

table.moduletable td {
	font-size: 11px;
	padding: 0px;
	margin: 0px;
	font-weight: normal;
}

table.pollstableborder td {
  padding: 2px;
}

.blogsection a{
	font-size: 11px;
}

.latestnews a{
	font-size: 11px;
}

div.back_button{
	font-size: 11px;
}

.pagenav_prev{
	font-size: 11px;
}

.pagenav_next{
	font-size: 11px;
}

span.pathway{
	height: 27px;
	line-height: 27px;
	color: #7f7f7f;
}

span.pathway a{
	height: 27px;
	line-height: 27px;
	color: #7f7f7f;
}

div.syndicate{
	text-align: left;
	padding-top: 10px;
}

div.blog_more{
	font-size: 11px;
}

table.blog table td{
	padding-right: 10px;
}

.sectiontableheader {
  font-weight: bold;
  background: #f0f0f0;
  padding: 4px;
}

.sectiontablefooter {

}

.sectiontableentry1 {
	background-color : #ffffff;
}

.sectiontableentry2 {
	background-color : #f2f2f2;
}

.small {
	color: #c6c6c6;
	font-size: 10px;
}

.createdate {
	height: 15px;
	padding-bottom: 10px;
	color: #c6c6c6;
	font-size: 10px;
}

.modifydate {
	height: 15px;
	padding-top: 10px;
	color: #c6c6c6;
	font-size: 10px;
}

table.contenttoc {
  border: 1px solid #c6c6c6;
  padding: 2px;
  margin-left: 2px;
  margin-bottom: 2px;
}

table.contenttoc td {
  padding: 2px;
}

table.contenttoc th {
    color: #666666;
	text-align: left;
	padding-top: 2px;
	padding-left: 4px;
	height: 21px;
	font-weight: bold;
	font-size: 10px;
	text-transform: uppercase;
}

a.mainlevel:link, a.mainlevel:visited {
	display: block;
	vertical-align: middle;
	font-size: 13px;
	font-weight: bold;
	color: #646464;
	text-align: left;
	padding-top: 5px;
	
	height: 20px !important;
	height: 25px;
	width: 100%;
	text-decoration: none;
}

a.mainlevel:hover {
	text-decoration: underline;
	color: #646464;
}

a.mainlevel#active_menu {
	text-decoration: underline;
	color:#646464;
}

a.mainlevel#active_menu:hover {
	text-decoration: underline;
	color: #646464;
}

a.sublevel:link, a.sublevel:visited {
	padding-left: 2px;
	vertical-align: middle;
	font-size: 12px;
	font-weight: bold;
	color: #689048;
	text-align: left;
}

a.sublevel:hover {
	color: #900;
	text-decoration: none;
}

a.sublevel#active_menu {
	color: #333;
}

.highlight {
	background-color: Yellow;
	color: Blue;
	padding: 0;
}

.code {
	background-color: #ddd;
	border: 1px solid #999999;
}

form {
/* removes space below form elements */
	margin: 0;
 	padding: 0;
	border: none;	
}

div.mosimage {
  border: 1px solid #CCC;
}

.mosimage {
  border: 1px solid #CCC;
  margin: 5px
}

.mosimage_caption {
  margin-top: 2px;
  background: #efefef;
  padding: 1px 2px;
  color: #666;
  font-size: 10px;
  border-top: 1px solid #999999;
}

span.article_seperator {
	display: block;
	height: 1.5em;
}

h1{
	font-family: Arial;
	color: #4a4a4a;
	text-align: left;	
	font-weight: normal;
	font-size: 18px;
}

h2{
	color: #689048;
	font-family: Arial;
	font-size: 17px;
	font-weight: normal;
}

h3{
	color: #689048;
	font-family: Arial;
	font-size: 15px;
	font-weight: normal;
}

.imageContainer { padding: 4px }
/*.imageBorder { background-color: #fff; padding: 4px; border: solid 1px #ccc }*/
/*.imageImageBorder { border: solid 1px #000 }*/
.imageCaption { color: #666; font-size: 11px; font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: bold }

.text1 {
  color				: #333333;
  font-size			: 16px;
  font-family      : Verdana, Arial, Helvetica, sans-serif;
  }

.text2 {
	color				: #333333;
	font-size			: 14px;
	text-indent: 10px;
	
	
}
.text3 {
	color				: #333333;
	font-size			: 13px;
	font-family      : Verdana, Arial, Helvetica, sans-serif;
}