@import "reset.css";

html {
	height: 100%;
}
body {
	font: 14px/18px Tahoma, Verdana, sans-serif;
	height: 100%;
	color: #323232;
}
a {
	color: #78c6c7;
	outline: none;
	text-decoration: underline;
}
a:hover {
	text-decoration: none;
}
p {
	margin: 0 0 18px
}
img {
	border: none;
}
input {
	vertical-align: middle;
}
#wrapper {
 min-width: 790px;
 max-width: 1490px;
 margin: 0 auto;
 padding: 0 110px 0 100px;
 min-height: 100%;
 height: auto !important;
 height: 100%;
}
h1, h2, h3, h4 {font: 20px "Comic Sans MS", cursive, sans-serif; margin-bottom: 10px;}
h1 {color: #78c6c7;}
h2 {font-size: 18px; }
h3 {font-size: 16px; font-weight: bold;}
h4 {font-size: 14px; font-weight: bold;}
.clr {clear: both; height: 0; font-size: 0;}

input[type="text"], input[type="password"] {
	border: 1px solid #f691a8;
	padding: 2px 4px;
	font: normal 14px/18px Tahoma, sans-serif;
}
input[type="button"], input[type="submit"], input[type="reset"] {
	border: none;
	width: 163px;
	height: 26px;
	text-align: center;
	font: normal 14px/26px "Comic Sans MS", cursive;
	overflow: hidden;
	background: #ffc82e url(../images/bg-fulllink.png) no-repeat 0 0;
	color: #fff;
	text-decoration: none;
	}
	input[type="button"]:hover, input[type="submit"]:hover, input[type="reset"]:hover {
		background: #aedd6c url(../images/bg-fulllink.png) no-repeat 0 -26px;
	}

.tooltip {
    z-index:999;
    left:-9999px;
    background:#fff;
    border:1px solid #aedd6c;
    font-size:11px;
    color: #444;
    padding:4px 8px;
    position:absolute;
}
.tooltip p { margin: 0px; padding: 0px;}
/* Header
-----------------------------------------------------------------------------*/
#header {
	height: 205px;
	background: url(../images/bg-header-foto.jpg) no-repeat 55% bottom;
	}
	.h-wrap1 {
		background: url(../images/bg-header-chicken.gif) no-repeat right bottom;
		}
		.logo {
			margin-left: -80px;
		}

/* Middle
-----------------------------------------------------------------------------*/
	.wrap1 {
		border: solid 7px #b2dfdf;
		border-bottom: none;
		}
		.wrap2 {
			border: solid 10px #def1fc;
			border-bottom: none;
			}
			.wrap3 {
				background: url(../images/bg-body-0.gif) repeat-x left top;
				margin: -10px 0 0 0;
				padding: 10px 0 0 0;
				}
				.wrap4 {
					background: url(../images/bg-body-1.gif) no-repeat left top;
					margin: -54px 0 0 -111px;
					padding: 54px 0 0 111px;
					}
					.wrap5 {
						background: url(../images/bg-body-2.png) no-repeat right top;
						margin: -17px -17px 0 0;
						padding: 7px 7px 0 20px;
						}
						#middle {
							width: 100%;
							padding: 0 0 219px;
							height: 1%;
							}
							#middle:after {
								content: '.';
								display: block;
								clear: both;
								visibility: hidden;
								height: 0;
								}

.navigation {
	display: block;
	height: 40px;
	margin: 0 10px 20px 70px;
	overflow: hidden;
}

.navigation a {
	background: url(../images/pink-button.png) no-repeat top right; 
	display: block;	
	float: left; 
	height: 29px; 
	margin: 5px 10px 0 0; 
	padding-right: 10px; 
	text-decoration: none; 
	font: normal 20px/29px "Comic Sans MS", cursive, sans-serif;
	color: #f691a8;
	}
	.navigation a span {
		background: url(../images/pink-button.png) no-repeat 0 0; 
		display: block; 
		line-height: 29px; 
		padding: 0 0 0 10px; 
		color: #f691a8;
		} 
		.navigation a:hover span	{
			background-position: 0 -29px; 
			color: #fff;
			background-color: #f691a8;
			}
			.navigation a:hover {
				background-position: right -29px;
				background-color: #f691a8;
				color: #fff;
			}

#container {
	width: 100%;
	float: left;
	overflow: hidden;
}
#content {
	padding: 5px 273px 0 0;
}
/*NEWS
-------------------------------------------------------------------------------*/
.news {
	position: relative;
}
.news img {
	margin: 10px 10px 10px 0;
}
.news a {
	color: #ffc82e;
}
.news.green a {
	color: #66bc29;
}
.news.full.green a {
	color: #78c6c7;
}
.news .date-s {
	position: absolute;
	top: 5px;
	right: 0;
	width: 110px;
	height: 36px;	
	background: #ffc82e url(../images/bg-date-s.gif) no-repeat 0 0;
	overflow: hidden;
	}
	.news .date-s div {
		background: url(../images/bg-date-s.gif) no-repeat 100% -36px;
		padding: 2px 4px;
		text-align: center;
		font: normal 11px/12px Tahoma, sans-serif;
		color: #fff;
		}
		.news .date-s div div {
			background: transparent;	
			}
			.news .date-s div div div {
				background: transparent;
			}
.news .date-s a {
	color: #fff;
	text-decoration: none;
	}
	.news .date-s a:hover {
		text-decoration: underline;
	}
.news.green .date-s {
	background: #aedd6c url(../images/bg-date-s.gif) no-repeat 0 -72px;
	}
	.news.green .date-s div {
		background: url(../images/bg-date-s.gif) no-repeat 100% -108px;
		}
		.news.green .date-s div div {
			background: transparent;	
			}
			.news.green .date-s div div div {
				background: transparent;
			}


.date-f {
	float: left;
	margin: 0 10px 0 20px;
	}
	.date-f .date-d {
		font: italic 20px Georgia, "Times New Roman", serif;
		color: #78c6c7;
		text-align: center;
		}
		.date-f .date-m {
			font: normal 11px sans-serif;
			color: #78c6c7;
		}
.news h1 {
	font-size: 25px;
	font-variant: small-caps;
	color: #94d2d3;
	}
	
.news h2 {
	font-size: 25px;
	font-variant: small-caps;
	text-indent: 45px;
	background: url(../images/lamp-yellow.gif) no-repeat 0 0; 
	margin-left: 20px;
	padding-right: 120px;
	}
	.news h2, .news h2 a {
		color: #ffc82e;
			}
			.news h2 a {
				text-decoration: none;
				}
				.news h2 a:hover {
					text-decoration: none;
					border-bottom: dashed 2px #66bc29;
				}
	.news.green h2 {
		color: #66bc29;
		background: url(../images/lamp-green.gif) no-repeat 0 0;
		}
		.news.green h2 a {
			color: #66bc29;
			}
			.news.green h2 a {
				text-decoration: none;
				}
				.news.green h2 a:hover {
					text-decoration: none;
					border-bottom: dashed 2px #ffc82e;
				}

.news .button-link a {
	display: block;
	width: 163px;
	height: 26px;
	text-align: center;
	font: normal 14px/26px "Comic Sans MS", cursive;
	overflow: hidden;
	background: #ffc82e url(../images/bg-fulllink.png) no-repeat 0 0;
	color: #fff !important;
	text-decoration: none;
	margin: 15px 0 30px 30px;
	float: left;
	}
	.news .button-link a:hover {
		background: #aedd6c url(../images/bg-fulllink.png) no-repeat 0 -26px;
	}
.news.green .button-link a {
	background: #aedd6c url(../images/bg-fulllink.png) no-repeat 0 -26px;
	}
	.news.green .button-link a:hover {
		background: #ffc82e url(../images/bg-fulllink.png) no-repeat 0 0;
	}
.othernews {
	margin: 20px 0 10px;
	border-left: #b2dfdf solid 2px;
	padding: 10px;
}
.othernews h3 {
	font-size: 20px;
	font-weight: normal;
	color: #66bc29;
}
.othernews a:hover {
	color: #66bc29 !important;
}
/* Sidebar Right
-----------------------------------------------------------------------------*/
#sideRight {
	float: left;
	margin-right: -3px;
	width: 223px;
	padding: 0 10px;
	margin-left: -253px;
	background: #fff;
	border-left: solid 10px #def1fc;
	text-align: justify;
	}
	.sb-wrap {
		background: url(../images/bg-sidebar.png) no-repeat right bottom;
		margin: 0 -10px -20px -20px;
		padding: 0 10px 25px 30px;
	}
#sideRight a {
	color: #f691a8;
}
#sideRight h3 {
	background-image: url(../images/menu-icons.png);
	background-repeat: no-repeat;
	font-size: 20px;
	padding: 15px 0 5px 0;
	font-weight: normal;
	margin: 0 0 10px -40px;
	height: 40px;
	overflow: hidden;
}
#sideRight .block.login h3 {
	background-position: 0 0;
	color: #f691a8;
	text-indent: 60px;
}
#sideRight .block.menu h3 {
	background-position: 0 -60px;
	color: #6773b7;
	text-indent: 80px;
	}
	#sideRight .block.menu a {
		display: block;
		font: normal 18px "Comic Sans MS", cursive;
		padding: 0 0 3px 23px;
		color: #6773b7;
		text-decoration: none;
		background: url(../images/menu-prefix.png) no-repeat 0 6px;
		margin-left: 10px;
		}
		#sideRight .block.menu a:hover {
			background-position: 0 -24px;
			color: #55a51c;
		}
	

#sideRight .block.photo h3 {
	background-position: 0 -120px;
	color: #f691a8;
	text-indent: 70px
}
#sideRight .block.vot h3 {
	background-position: 0 -180px;
	color: #6773b7;
	text-indent: 70px
}
#sideRight .block.vot {
	color: #6773b7;
}
.sidebar .block.poisk {
	margin-top: -20px;
}
.sidebar .block.poisk h3 {
	background-position: 0 -610px;
	color: #ffc82e;
	text-indent: 60px;
	margin-bottom: -10px;
}
#sideRight .block.arhiv h3 {
	background-position: 0 -240px;
	color: #6773b7;
	text-indent: 65px
}
#sideRight .block.arhiv a {
	color: #6773b7;
}
#sideRight .block.calend h3 {
	background-position: 0 -300px;
	color: #f691a8;
	text-indent: 60px
}
#sideRight .block.cloud h3 {
	background-position: 0 -360px;
	color: #78c6c7;
	text-indent: 65px
}
.block.login input[type="text"], .block.login input[type="password"] {
	float: left;
}
.block .cal {
	padding-left: 20px;
}
.block.login input[type="button"] {
	border: 0;
	display: block;
	width: 223px;
	height: 26px;
	background: #f691a8 url(../images/pink-button-large.png) no-repeat 0 0;
	font: normal 14px/26px "Comic Sans MS", cursive;
	color: #fff;
	margin-left: -10px;
}
.block.login p {
	margin-bottom: 5px; 
	font-size: 14px; 
}
.block.login {
	font-size: 12px;
}
.block.login span {
	display: block;
	width: 50px;
	float: left;
	padding-top: 3px;
}
.block.cloud a {
	color: #78c6c7 !important;
}
.block.photo img {
	margin: 0 auto;
	display: block;
}
.block.cloud a:hover {
	color: #f691a8 !important;
}
/* Footer
-----------------------------------------------------------------------------*/
#footer {
 margin: -219px auto 0;
 min-width: 790px;
 max-width: 1490px;
 height: 199px;
 padding: 0 110px 0 100px;
 }
	.f-wrap-1 {
		background: url(../images/bg-footer-2.gif) repeat-x left bottom;
		}
		.f-wrap-2 {
			background: url(../images/bg-footer-1.png) no-repeat left bottom;
			margin-left: -50px;
			padding-left: 50px;
			}
			.f-wrap-3 {
				background: url(../images/bg-footer-3.png) no-repeat right bottom;
				margin-right: -109px;
				height: 128px;
				padding: 30px 137px 61px 110px;
				text-align: justify;
				font-size: 12px;
				}
.foot-left {
	display: block;
	width: 20%;
	padding-right: 10px;
	float: left;
}
.foot-left a {
	display: block;
}
.foot-center {
	display: block;
	padding: 0 10px;
	float: left;
	width: 50%;
}
.foot-right {
	display: block;
	width: 20%;
	float:	right;
}
				
				
/*ADDNEWS
---------------------------*/
.mass_comments_action input[type="submit"], .liner input[type="button"], .liner input[type="submit"], .liner input[type="reset"]  {
	display: inline;
}
.info {
	font: normal 14px/14px Verdana, serif;
	margin: 10px 0 20px 0;
}
.addnews label {
	display: block;
	padding: 5px 10px 10px 10px;
	color: #323232;
}

.addnews input[type="text"], .addnews input[type="password"], .addnews input[type="file"], .addnews textarea {  
	padding: 3px 5px; 
	border: 1px solid #f691a8; 
	background: #fff;
}
.addnews input[type="text"], .addnews input[type="password"], .addnews input[type="file"] {
	width: 90%;
}
.addnews textarea {
	width: 90%;
	height: 200px;
}
.addnews fieldset {
	border: dashed 1px #f691a8;
	color: #323232;
}
.addnews input:focus, .addnews textarea:focus, .addnews select:focus {
	border-color: #bbb;
}
.addnews select {
	border: 1px solid #ddd; 
	background: #fff;
	font: normal 12px/18px Tahoma, sans-serif;
	height: 20px;
}
.addnews input:focus, .addnews textarea:focus, .addnews select:focus {
	border-color: #78c6c7;
}
.checkbox label {
	display: inline;
}
.over {
	background-color: #f0f9f9;
}

/*----------------------
Комментарии
-----------------------*/
/*corner
------------------------------------*/
.tl, .tr, .bl, .br {background-image: url("../images/comment-border.png"); height: 10px; font-size: 2px;}
.blue .tl, .blue .tr, .blue .bl, .blue .br {background-image: url("../images/comment-border-blue.png"); height: 10px; font-size: 2px;}
.tl, .bl {margin-right: 10px;}
.tr, .br {margin-left: 10px; margin-top: -10px;}
.tr {background-position: 100% 0;}
.bl {background-position: 0 -10px;}
.br {background-position: 100% -10px;	}
.inside {border-left: 2px solid #aedd6c; border-right: 2px solid #aedd6c; color: #323232;	padding: 0 10px;}
.addcomment .inside {padding-top: 10px;}
.blue .inside {border-color: #b2dfdf;}

.comments {
	margin: 50px 0 20px 0;
	position: relative;
}
.comments a {
	color: #f691a8;
}
.com-head {
	position: absolute;
	top: -22px;
	left: 20px;
	height: 24px;
	background: url(../images/comment-info.png) no-repeat top right; 
	padding-right: 15px;
	display: block;
	}
	.com-head1 {
		background: url(../images/comment-info.png) no-repeat 0 0; 
		padding: 4px 0 0 15px;
		height: 24px;
		font: normal small-caps 14px "Comic Sans MS", cursive;
		color: #aedd6c;
		}
		.blue .com-head, .blue .com-head1 {
			background-image: url(../images/comment-info-blue.png);
			color: #78c6c7;
			}
			.com-head1 a {
				color: #aedd6c;
				text-decoration: none;
				}
				.blue .com-head1 a {
					color: #78c6c7;
					}
					.com-head1 a:hover {
						text-decoration: underline;
						}
						.com-head1 span.auth {
							color: #f691a8;
							font-weight: bold;
							}
							.com-head1 span.auth a {
								color: #f691a8;
							}

.comm-foto {
	margin: 0 10px 0 0; 
	width: 80px;
	float: left; 
}
.comment {
	display: block;
	margin: 0 0 0 110px;
}
.comfut {
	margin-top: 5px;
	}
	.comfut a {
		background: #aedd6c url(../images/com-fut-buttons.png) no-repeat 0 0;
		display: block;
		width: 90px;
		height: 20px;
		overflow: hidden;
		text-align: center;
		color: #fff;
		text-decoration: none;
		margin-left:10px;
		font-size: 11px;
		line-height: 20px;
		float: right;
		}
		.comfut a:hover, .blue .comfut a:hover {
			background: #ffc82e url(../images/com-fut-buttons.png) no-repeat 0 -20px;
			}
			.blue .comfut a {
					background: #b2dfdf url(../images/com-fut-buttons.png) no-repeat 0 -40px;
			}
#loading-layer img {
	margin-top: -20px;
}

/*Pagenavigation
--------------------------------------------------*/
.pagenavigation {
	padding:0 0 5px;
}

	.pagenavigation a {
		text-decoration:none;
		color: #f691a8;
		background: #fff;
		border: #b2dfdf solid 2px;
		padding:3px 8px;
		font: bold 14px  "Comic Sans MS", cursive;
		margin: 10px 0 0 0;
	}

	.pagenavigation a:hover {
		color: #fff;
		background: #b2dfdf;
		border: solid 2px #b2dfdf;
	}

	.pagenavigation span {
		text-decoration:none;
		color: #ddd;
		background: #fff;
		border: solid 2px #eee;
		padding:3px 8px;
		font: bold 14px  "Comic Sans MS", cursive;
	}



.pmlinks {
	display: block;
	margin: 20px 0;
	padding: 10px;
	border: 3px solid #b2dfdf;
	font: bold 14px Arial, Helvetica, sans-serif;
	text-align: center;
	}
	.pmlinks a {
		color: #f691a8;
		text-decoration: none;
		}
		.pmlinks a:hover {
			text-decoration: underline;
		}
.r_news li {
  display: block;
  position: relative;
  border-bottom: 1px solid #ddd;
  margin: 0 -7px;
  padding: 0 7px 5px 7px;
  color: #514f51;
  font: normal 10px/14px "Trebuchet MS", Tahoma, serif;
}
.r_news li:first-line { font: normal 13px/16px Arial, serif;}

.r_news li:hover { background: #F5F5F5; color: #000;}
.r_news li b { color: #2d9dff;}
.r_news li:hover b, .r_news li:hover a{ color: #000;}
.r_news li a { text-decoration: none;}
.r_news li a:hover { text-decoration: underline; color: #2d9dff;}

/*lastcomments block*/
.lcommbox {
	display: none;
	position: absolute;
	z-index: 3;
	right: 297px;
	top: 0px;
	padding:10px;
	border: 1px solid #ccc;
	background: #fff;
	font-size: 12px;
}
.lcomment.hover div[class="lcommbox"] {display: block;}
.lcommbox p {color: #2d9dff; background: #F5F5F5;  
margin: -9px -9px 10px -9px; padding: 5px 9px; font-size: 12px;}
.lcommbox p:first-child { margin-bottom: 0;}
.lcomment a {color: #000; font-size: 11px;}
.lcomment b a {color: #2d9dff; font-size: 13px;}
