* {	margin: 0px; padding: 0px;}
body {background:url(images/bg.jpg) repeat; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px; color:#666666;}
.clear {clear:both;}
#wrap {background:url(images/wrapbg.jpg) repeat-y; width:927px; margin:25px auto 25px auto;}
#wrap #header #sitename {color: #ffffff; font-family: Georgia, "Times New Roman", Times, serif; font-size: 58px; font-weight: normal;	display: block;	padding-top: 140px;	text-align: right; padding-right: 50px;}
#sitename a, #sitename a:visited, #sitename a:active{color:#ffffff; text-decoration:none;}
#sitename a:hover{color:#ffffcc; text-decoration:none;}
#header {background:url(images/header.jpg) no-repeat; height:341px;}

#page {padding:0px 10px 0px 10px;}
#page #menu {float:left; background:url(images/sidemenu.jpg) no-repeat; width:269px;}
#page #content {margin:0px 0px 0px 275px; padding:0px 20px 0px 5px;}
#content p {line-height:22px; margin:0px 0px 0px 0px;}
#content h2 {font-family:Georgia, "Times New Roman", Times, serif; font-weight:normal; font-size:26px; color:#1C4A88; display:block; margin-bottom:20px;}

#content a {color:#1C4A88;}
#content a:visited {color:#666666;}
#content a:active { color:#99CC00;}
#content a:hover {color:#1C4A88; text-decoration:none;}
#content h2 .seo {display:block; text-align:right; font-size:10px; color:#1C4A88; background:#efefef; padding:3px;}
#content blockquote {display:block; padding:5px; margin:10px; text-align:center; font-family:Georgia, "Times New Roman", Times, serif; color:#996600; background:#F8FDBA; border-top:dashed 1px #666666; border-bottom:dashed 1px #666666;}
#content blockquote p {margin:0px;}
#content blockquote cite {color:#000000; display:block; text-align:right; padding:5px; border-top:solid 1px  #F3ECBE;}

#content .alignleft {float:left;}
#content .alignright {float:right;}
#content .postmetadata {display:block; padding:3px; background: #E3EDAF;}
#content h1,#content h3,#content h4,#content h5,#content h6 {color:#666600;}
#content ul {list-style:square;  padding:5px; margin:10px 10px 10px 20px;}
#content li {padding:5px; margin-bottom:10px;}
#content ol {padding:5px; margin:10px 10px 10px 20px;}

#browse { background:#f8fdbb; padding:10px 5px 10px 5px;}
#browse .subhead{font-family:Georgia, "Times New Roman", Times, serif; font-weight:normal; padding-left:25px; font-size:26px; color:#1C4A88; display:block; margin-bottom:35px;}
#browse .categoryhead {font-family:Georgia, "Times New Roman", Times, serif; font-weight:normal; padding:5px; font-size:22px; color:#1C4A88; display:block; border-bottom:solid 1px #ffffff;}
#browse ul {list-style:none;}
#browse li {display:block; height:25px; border-top:solid 1px #FEFEFC; border-top: solid 1px #EBE6B4;}
#browse ul a {display:block; height:20px; padding:5px 5px 0px 5px; text-decoration:none; color:#000000;}
#browse a:visited,active{display:block; height:20px; padding:5px 5px 0px 5px; text-decoration:none; color:#000000;border-bottom:solid 1px #D7C479;}
#browse a:hover {background:#ffffff; color:#000000;}

.browsecat {float:center; width:95%; padding:5px 6px 8px 6px; margin-left:10px;  background:#f8fdbb;}

#menu h2 {display:block; color:#1C4A88; border-bottom:solid 1px #DFCD95; padding:5px; font-family:Georgia, "Times New Roman", Times, serif; font-size:22px; font-weight:normal;}
#wrap #page #menu #sidemenu { padding: 65px 45px 0px 40px; list-style:none; display: block;}
#sidemenu ul { display:block;list-style:none;}
#sidemenu li {display:block; border-top:solid 1px #FFFFff;}

#sidemenu a, #sidemenu a:visited, #sidemenu a:active {display:block; height:20px; padding:5px 5px 0px 5px; color:#666666; text-decoration:none; border-bottom:solid 1px #DFCD95;}
#sidemenu a:hover{background:#ffffcc;}
#sidemenu .active a,#sidemenu .active a:visited, #sidemenu .active a:active, #sidemenu .active a:hover {background:#ffffcc;}

#cont {padding:5px; font-size:10px; }
#cont a, #cont a:visited, #cont a:active {color:#996633; font-size:10px; text-decoration:none;}

#footer {background:url(images/footer.jpg) no-repeat; background-position:bottom; height:100px; text-align:center;}
#footercontent {margin:15px; border-top:solid 1px #EBE6B4; padding-top:15px;}
#footer a, #footer a:visited, #footer a:active {color:#996633; text-decoration:none;}
#footer #credit {font-size:10px;}



.button {display: block; padding:0px; background-color:#E3E6C8; margin:3px;	border: 2px solid #efefef; color:#000000;}
.textfield:hover {background:#FBFCF8;}
.textfield:focus {background:#ffffff;}
#content .clear2 {clear:right; width:90%;}
.hide {display:none;}

#content table {margin:10px; width:500px; border:solid 1px #BDDB99;}
#content th {background:#DFEDCD; padding:5px 15px 5px 15px; color:#999933; font-weight:bold; text-align:center; border-bottom:1px solid #BDDB99;}
#content td {border-bottom:1px solid #DFEDCD ; padding:5px 15px 5px 15px; border-right:1px solid #DFEDCD;}

.thumbs a img { border: 3px solid #ddd; }
.thumbs a:hover img { border: 3px solid #1C4A88; }

#contacts {padding: 0px 2px; margin: 0 0 10px 10px; color: #000; font-size:85%; line-height:1.3em; text-decoration:none;}
#contacts a {color: #000; font-size:85%;}






	
	
	
#search { float: right; }
	#search p { padding: 0; margin: 0; }

/* ------------- New, Nov.05.07 Event Block Generator ------------------------*/
.event {
	margin-bottom: 1em;
	border: 1px solid #ccc;
        width: 100%;
	background: #f6f0e8;
}
.event h4 {
	margin-bottom: .6em;
	padding: 0.3em;
	font: bold 1.1em arial, sans-serif; text-align: center;
	color: #fff;
	background-color: #B9B9B9;  /* #E23300 */
}
.event_date { font-weight: bold; text-align: center; color: #E23300; padding-bottom: .2em; }
.event_text { padding: 0 .6em .6em .6em; line-height: 1.3em; }

.paginator {padding-top: 10px; text-align:center}

.floatright { position: relative; float: right; padding: 0 0 0 10px; border: none; }
.floatleft { position: relative; float: left; padding: 0 10px 0 0; border: none; }

/* админка */
/* indents icons in sitemap, archive & rss_links_sm - this package only. */
.icon_indent { margin-left: 20px; }

.date { border-top: 1px solid #eee; margin: 0 0 20px 0; }

/* for functions in custom_login.php only */
.sess_uname { color: #E23300; } /* logged-in username */
.clogin_panel { margin-bottom: 1em; border: 1px solid #ccc; width: 100%; padding: .3em 0 .3em 0; background: #f6f0e8; }

/* For custom admin panels mod only REVISED JAN.13.08 - validation revisions */
.centerit { text-align: center; } /* in snusers.php */
.admpanel { text-align: center; }
.admpanel, .otherpanels {
	border: 1px solid #ccc; padding: 10px 8px 10px 15px; margin: 0 0 8px 0; background: #efefef; color: #000; }
.admintitle { font: bold 16px Arial; color: #E23300;  }
.usertitle { margin-bottom: .5em; font: bold 13px Arial; color: #E23300; text-align: center; }
.settingbutton { margin-bottom: 10px; text-align: center; }
.buttonmargin { margin-bottom: 10px; }
/* --- end of Jan.13.08 validation revisions ---------------------------- */

/* For custom admin panels mod only */
.fieldset { border: 1px solid #ccc; padding: 20px 8px 20px 15px; margin: 0 0 8px 0; background: #efefef; color: #000; }
legend { font: bold 16px arial; margin: 10px 0 0 0; }
input { padding: 3px; margin: 0; }
textarea { width: 95%; height: 20em; padding: 3px;}

/* for admin tip panel (expandable) */
.tip_panel { width: 85%; border : 1px solid #ccc; font: normal 12px arial; background : #fff; padding : 10px; }
.tip_panel b { color: maroon; padding-top:0.2em; }
.expand { border : 1px solid #ccc; background : #fafafa; padding : 0.6em; margin: 0.4em 0 0.4em 0; }
#preview { border : 1px solid #ccc; background : #fafafa; padding : 0.6em; margin: 0.4em 0 0.4em 0; }

/* span styles used in custom admin panels only */
.redtitle { font: bold 14px Arial; color: #ff0000; text-align: center; }
.bluetitle { font: bold 14px Arial; color: #0054bc; text-align: center; }

/* div classes to float images or inserted blocks with text-wrap in articles */
.floatright { position: relative; float: right; padding: 0 0 0 10px; border: none; }
.floatleft { position: relative; float: left; padding: 0 10px 0 0; border: none; }

/* Comments and comment panel styles */
.comment { color: #4e1a1a; background: #f6f0e8; padding: 10px; margin-bottom: 10px; border: 1px solid #C0C0C0; }
.commentsbox { background: #f5f5f5; color: #808080; padding: 10px; margin: 0 0 10px 0; border: 1px solid #C0C0C0; }

/* extra box for extra 2 & extra 2 blocks, above & below the center content */
.extrabox { border : 1px solid #ccc; background : #f6f0e8; padding : 10px; }

/* Philmoz, Admin Links mod, May 23.07 */
.New_Admin_Links { font-size:85%; text-align:center; }
/* Philmoz, Expandable Categories, Oct.29.07 */
.expandacat { padding: 0px 0px; margin: 0 0 0px 0; text-decoration: none; } /* background: #fff; color: #0066B3;  */
.expandaArticles {padding: 0px 2px; margin: 0 0 10px 10px; color: #000; font-size:85%; line-height:1.3em; text-decoration:none;}


/* # mattonik's image links panel mod */
#thumb {position:relative; z-index:100; display: inline;}
#thumb a img {border:0;}
#thumb a.p1:hover {text-decoration:none; background-color:#8c97a3; color:#000;}
#thumb a .large {display:block; position:absolute; width:0; height:0; border:0; top:0; left:0;}
#thumb a.p1:hover .large {display:block; position:absolute; top:-35px; left:400px; width:100px; height:100px; border:1px solid #ccc;}

/* mattonik's internal links mod */
#InterneLinky { border: 1px solid #ccc; background : #fafafa; padding: 0.6em; margin: 0.4em 0 0.4em 0; }

.ILclanky {
display: block;
width: 35%;
height: 100%; /* 20em */
overflow:auto;
float: left;
}

.ILsites {
display: block;
width: 30%;
height: 100%;
overflow:auto;
padding-left: 0.3em;
float: left;
border-left: 1px solid #ccc;
}

.ILcat {
display: block;
width: 30%;
height: 100%;
overflow:auto;
padding-left: 0.3em;
border-left: 1px solid #ccc;
}
.box {
height: 0;position: absolute;overflow: hidden;width: 0
}