/* General styles */
body {
	margin:0;
	padding:0;
	border:0;			/* This removes the border around the viewport in old versions of IE */
	width:100%;
	background:#fff;
	min-width:600px;    /* Minimum width of layout - remove line if not required */
	/* The min-width property does not work in old versions of Internet Explorer */
	font-family: tahoma !important;
	color:black;
	font-size:15px !important;
	height:100%;
}

body h3
{
	color: #37436B;
}

body p
{
	font-size: 15px;
}

body span.date
{
	font-size: 15px;
}


a{
	color:#37436b;
	font-family: tahoma;
	font-size: 15px;
}

#header {
	clear:both;
	float:left;
	width:100%;


}
#header .background {
	background:url(top-bg.png) repeat-x;
	height:113px;
}
#header .greenline {height:20px; background:#3f766d;}

#header .cont {width:1000px; margin:0 auto; }

#header a img {border:0;}
#header a.logo {display:block; padding:5px 20px 0 20px ; float:left; 	}
#header a.logo span.logo{display:block; width:104px; height:103px; background:url('logo.png') no-repeat;}

* html #header a.logo span.logo
{
	background: url(logo.png);
	_behavior: expression(  /* IE6 only - transparency with proper handling of relative URLs */
              this.src = this.src ? this.src : this.currentStyle.backgroundImage.split('"')[1],
              this.style.background = "none",
              this.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src=" + this.src + ")");
}


#header .titles {height:84px; overflow:hidden; }
#header h1 {
	font-size:22px !important;
	margin:5px 0 0 0;
	color:#3e746b;
	padding: 0px;
	font-family: tahoma;
}

ul.main-menu {
	padding:0;
	margin:0;
	display:block;

	height: 29px;

}

ul.main-menu li {
	display:block;
	float:left;
	height:29px;
	background:url(menu-left.png) no-repeat top left;
	padding: 0px;

	margin:0 5px 0 0
}

ul.main-menu li span {
	background:url(menu-right.png) no-repeat top right;
	margin:0px;
	padding:6px 12px 0 0;
	margin-left: 12px;
	display:block;
	height:23px;
	white-space:nowrap;
}


ul.main-menu li ul
{
	background-color: #7d89ae;
	background-image: none;
	display: block;
	position: absolute;
	height: auto;
	width: auto;
	z-index: 1000;
	margin: 0px;
	padding: 0px;
}

ul.main-menu li ul li
{
	padding-left: 15px;
	display: block;
	float: none;
	clear: both;
	background-image: none;
	height: 25px;
	z-index: 1000;
	background-image: none;
	background-color: #7d89ae;
	width: auto;
}

ul.main-menu li ul li.bordered
{
	border: 0px;
	display: block;
	width: auto;
}

ul.main-menu li ul li a:hover
{
	text-decoration: underline;
}

ul.main-menu li.active ul li
{
	display: block;
	float: none;
	background-image: none;
	height: 25px;
	background-image: none;
	background-color: #1d336c;
}

ul.main-menu li.active ul
{
	background-color: #1d336c;
	background-image: none;
	display: block;
	position: absolute;
	height: auto;
	z-index: 1000;
	margin: 0px;
	padding: 0px;
}

ul.main-menu ul li span
{
	background-image: none;
	display: block;
}

ul.main-menu li.active ul li span
{
	background-image: none;
}


* html ul.main-menu li span{width:0;}

ul.main-menu li.active {background:url(menu-active-left.png) no-repeat top left;}
ul.main-menu li.active span {background:url(menu-active-right.png) no-repeat top right;}

ul.main-menu li span a {
	color:white;
	font-family:tahoma;
	text-decoration:none;
	font-weight:bold;
	text-align:center;
	font-size:13px;
}

ul.main-menu li span a:visited {
	color:white;
	font-family:tahoma;
	text-decoration:none;
	font-weight:bold;
	text-align:center;
}



.clear
{
	clear: both;
}


#content
{
	position: relative;
	padding-left: 230px;   /* LC fullwidth */
	padding-right: 270px;  /* RC fullwidth + CC padding */
	overflow: hidden;
	min-width:500px;

}

#center
{
	text-align: left;
	padding: 10px 20px; /* CC padding */
	width: 100%;
	position: relative;
	float: left;
	overflow-x:auto;

}

#left
{
	position: relative;
	float: left;
	width: 210px; /* LC width */
	padding: 10px; /* LC padding */
	right: 270px; /* LC fullwidth + CC padding */
	margin-left: -100%;
	text-align: left;

}

/*** IE Fix ***/
* html #left {
	left: 230px; /* RC fullwidth */
	/*border: 1px solid red;*/
}

#right
{
	position: relative;
	float: left;
	width: 210px;          /* RC width */
	padding: 10px;       /* RC padding */
	margin-right: -290px;  /* RC fullwidth + CC padding */
	text-align: left;
	border-left:3px dotted #c2c2c0;

}


/* Footer styles */
#footer {
	clear:both;
	float:left;
	width:100%;

}
#footer p {
	padding:10px;
	margin:0;
}

#footer span.copyright {text-align:center; font-size:12px; margin:10px 0; display:block;}


div.block-title{

	background:url(plashka-left.png) no-repeat top left;
	padding:0 0 0 33px;
	width:182px;
}

div.block-title span{
	display:block;
	background:url(plashka-right.png) no-repeat top right;
	height:26px;
	text-align:center;
	color:white;
	font-family:tahoma;
	padding: 6px 33px 0 0;
	font-weight:bold;
	font-size: 15px !important;

}
div.block {
	width:215px;
	margin:0 0 10px 0px;

}


div.block span.top{
	height:8px;
	width:215px;
	display:block;
	background:url(panel-top.png) no-repeat;
	font-size:1px;
}

div.block span.center{
	padding:10px 15px;
	display:block;
	background:url(panel-middle.png) repeat-y ;
}

div.block span.bottom {
	background:url(panel-bottom.png) no-repeat;
	height:12px;
	display:block;

}

ul.navi {
	list-style-type:none;
	margin:0px;
	padding:0;
}

ul.navi li{
	margin:10px 0;
}

ul.navi li a {font-weight:bold; text-decoration:none !important; color: #37436B }
ul.navi li a:hover {text-decoration:underline !important;}
ul.navi li a:visited {text-decoration:underline;}

ul.navi li a.active {color: black;}

#datepicker *{
	font-size:10px !important;

}

div.top-message{
	background:#e8f0f2;
	padding:20px;
}

div.top-message ul.events {
	margin:0px;
	padding:0px;
	list-style-type:none;
}
div.top-message ul.events li {
	padding:0 0 20px 0;

}

div.top-message ul.events li span.date
{
	font-weight:bold;

}

div.top-message ul.events li p{
	margin:2px 0;
	padding:0;
	text-align:justify;
}
div.top-message ul.events li a.details {float:right; font-weight:bold;}

div.block-title-center{
	background:url(plashka-left.png) no-repeat top left;
	padding-left:33px;
	margin-top:20px;
	overflow: hidden;
	line-height: 1.4em;
}

div.block-title-center span{
	display:block;
	height:32px;
	background:url(plashka-right.png) no-repeat top right;
	color:white;
	text-align:center;
	font-weight:bold;
	padding-top:6px;
	font-size: 15px;
}

div.page-content {
	text-align:justify;
	font-size: 15px !important;
}


input.submit {background-color:#818EBB; border:0; margin:0; color:white;}

#form_textdiveditor
{
	margin-top: 25px;
	background-color: red;
}

#partners
{

	text-align: center;
}

#partners a
{
	display: block;
	margin-bottom: 10px;
}

#partners a img
{
	border: 0px;

}

.eventsMessage
{
	margin-top: 100px;
	width: auto;
	text-align: center;
}

ul.neighbors{
    list-style:none;
}

ul.neighbors li{
    float:left;
    margin:0 5px;
}