body { color: #606060; font-size: 62%; line-height: 1.9em; font-family: Tahoma, Geneva, sans-serif; background: #fff url('../images/bg.jpg') repeat-x;}


#main_content ul{	margin: 5px 0px 5px 0px; padding: 0px; list-style: none; }
#main_content li{	text-align: left; margin: 0px 0px 0px 10px; padding: 2px 0px 2px 17px; background: url(../images/li.gif) left 9px no-repeat; }

p {text-indent: 0px; margin: 5px 0px; padding: 0px;}

a:link, a:visited{ color: #606060; }
a:hover{ } 
a img { border: none; }

h1#logo { float: left; margin: 0; text-indent: -9999px; font-size: 0px; }
h1#logo a { display: block; margin: 22px 0 0 6px; width: 217px; height: 62px; background: url(../images/logo.gif) no-repeat; text-indent: -5000px; }

/**top_nav**/
#top_nav ul { margin: 0; padding: 0; }
#top_nav li { float: left; margin: 0 20px 0 0; padding: 0; background: none; }
#top_nav li a { float: left; display: block; padding: 0 0 0 5px; line-height: 36px; color: #fff; text-decoration: none;  }
#top_nav li a span { float: left; display: block; padding: 0 5px 0 0; line-height: 36px; font-size: 1.4em; font-weight: bold; }
#top_nav li a:hover,
#top_nav li#current a { cursor: pointer; color: #7c6829; background: url(../images/menu_h_l.gif) left top no-repeat; }
#top_nav li a:hover span,
#top_nav li#current a span { background: url(../images/menu_h_r.gif) right top no-repeat; }
#top_nav ul ul { display: none; }

/**top mods**/
#top_mods h3 { font-size: 1.09em; line-height: 31px; color: #5A4A17; text-indent: 15px; }
#top_mods table.minifp { height: 221px; }
#top_mods .minifp td { padding: 0 15px; border-right: 1px solid #e7ddaf; }

#top_mods_search h3 { text-indent: 0;}

#top_mods_search #mod_search_searchword { margin: .5em 0; width: 178px; border: 1px solid #e7ddaf; }
#top_mods_search input.button { display: block; margin: 0 0 .5em 0; padding: 0px 0 0 0; width: 182px; height: 23px; font-size: 10px; line-height: 23px; vertical-align: middle; color: #706229; background: url('../images/search_btn.png') no-repeat; }
/**sidebar**/
#sidebar div.module h3,
#sidebar div.module_menu h3,
#sidebar div.module_text h3,
#bottom_mod h3 { margin: 0 -15px 15px -15px; padding: .5em 0; font-size: 1.09em; text-indent: 15px; color: #5a4a17; background: #e7ddaf;}

#sidebar div.module,
#sidebar div.module_menu,
#sidebar div.module_text { padding-bottom: 15px; background: #f5f5f5; }

#sidebar div.module div div div,
#sidebar div.module_menu div div div,
#sidebar div.module_text div div div { padding: 0 15px; }

#sidebar div.module div div div div,
#sidebar div.module_menu div div div div,
#sidebar div.module_text div div div div { padding: 0; }

#sidebar ul.menu { }
#sidebar ul.menu li { width: 100%; line-height: 1.6em; background: url('../images/menu_marker.gif') left 6px no-repeat; }
#sidebar ul.menu li a { padding: 0 0 0 15px; line-height: 1.6em; text-decoration: none;}
#sidebar ul.menu li a:hover { font-weight: bold; }
#sidebar ul.menu li.active a { color: #987d00; }

#sidebar div.module.bright h3,
#bottom_mod h3  { background: #fff url('../images/h3_bright.png') bottom repeat-x; }
#sidebar div.module.bright { background: #fdf6d6; }

#collapse div.module { padding: 0; }
#collapse h3 { margin-bottom: 0!important; cursor: pointer; }
#collapse h3.hide span { display: block; background: url('../images/rozwin.gif') 200px 50% no-repeat; }
#collapse h3.show span { display: block; background: url('../images/zwin.gif') 200px 50% no-repeat; }
#collapse ul.menu { padding: 15px 0;}

#sidebar div.module_adv { margin: 5px 0;}

/**second content ***/
#content_second_news h3,
#content_second_sidebar h3 { margin: 0 -20px 0 -15px; font-size: 1.09em; line-height: 31px; text-indent: 15px; color: #5a4a17; background: url('../images/top_mods_h3.gif') repeat-x; }
#content_second_sidebar h3 { margin: 0 0px 0 -2px; }
#content_second_news .minifp span.minifp-anotherlinks { display: none; }
#content_second_news .minifp td { padding: 0; }
#content_second_news ul.minifp { margin: 40px 0 0 0; }
#content_second_news ul.minifp li {  font-size: 1em; text-decoration: none;  }
#content_second_news ul.minifp li a { display: block; padding: 0 0 0 20px; background: url('../images/doc_ico.gif') left 6px no-repeat; text-decoration: none; }

/**minifp**/
.minifp-introtitle a, .minifp-introtitle a:visited, .minifp-introtitle a:active, .minifp-introtitle a:link  { display: block; padding: .5em 0; font-size: 1.09em; text-transform: none; color: #000; text-decoration: none; }
a.minifp-full-link, a.minifp-full-link:visited, a.minifp-full-link:active, a.minifp-full-link:link, a.minifp-full-link:hover { float: right; display: block; padding: 0 0 0 5px; width: 47px; height: 23px; line-height: 23px; background: url('../images/minifp_btn.png') no-repeat; text-align: left; text-decoration: none; text-transform: lowercase; color: #706229;}
.minifp td img { float: left; margin: 1em .5em .3em 0; }
br.minifp-seperator { display: none;}

#content_second_news tr { height: 170px; }

/**phoca mod**/
#phocagallery-module-ri .phocagallery-box-file { display: inline; margin: 5px 5px 5px 28px; }
#phocagallery-module-ri a img { width: 145px!important; height: 105px!important; }
#phocagallery-module-ri .name { width: 145px; }
.phocagallery-box-file-first { width: 145px!important; }
/**bottom_mod**/
#bottom_mod div.moduletable { padding: 0 15px 15px 15px; }
#bottom_mod ul.latestnews li a,
#bottom_mod ul.mostread li a  { padding-left: 20px; background: url('../images/doc_ico.gif') left 2px no-repeat; text-decoration: none; }
#bottom_mod ul.mostread li a { background: url('../images/mostread_li.gif') left 2px no-repeat; }


/**footer_nav**/
#footer_nav ul { display: inline;}
#footer_nav ul li { display: inline; margin-right: 10px; padding-right: 10px; border-right: 1px solid #5e4400;  }
#footer_nav ul li a { font-size: 1.1em; color: #5e4400; text-decoration: none; }

#dj_link { padding: .5em 1em; text-decoration: none; color: #d9c286; border-top: 1px solid #d9c286; border-bottom: 1px solid #d9c286; }


/*clearfix*/
.clearfix:after {content: "."; display: block; height: 0; clear: both; visibility: hidden;}
.clearfix {min-width: 0; display: inline-block; /* \*/	display: block;}	/* trigger hasLayout for IE7. Hide from IE Mac */

* html .clearfix {height: 1%;} /* Hide from IE Mac */ 

.clr, .clear {clear:both;}
/*end clearfix*/