body{
	margin: 0;
	font: 16px/27px Tahoma, Arial, sans-serif;
	background: #eee;
	overflow-x: hidden;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

#wrapper{
	width: 1007px;
	margin: 20px auto;
}

#logo{
	height: 160px;
}

#head{
	background: #fff;
	border-bottom: 1px solid #ddd;
	background-size: cover;
}

#head a,
.nostyle{
	text-decoration: none;
}

.nostyle{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	color: inherit;
	z-index: 9;
}

#footer a{
	text-decoration: none;
}

#head-background{
	padding: 20px 0 0;
	/*c3bfbf background: radial-gradient( rgba(255, 255, 255, .8) , rgba(255, 255, 255, .8), rgba(255, 255, 255, .8), rgba(255, 255, 255, .55) );*/
}

#footer-background{
	padding: 15px 0;
	height: 150px;
	background: url('../images/bg.jpg') repeat-x bottom center;
	/*background: radial-gradient( rgba(255, 255, 255, .4) , rgba(255, 255, 255, .4));*/
}

#head-aligner,
#footer-aligner{
	padding: 20px 0;
	width: 1000px;
	margin: 0 auto;
}

#head-contacts{
	width: 225px;
	margin-left: 50px;
}

#head-contacts-map,
#head-contacts-map a:active,
#head-contacts-map a:visited{
	margin-top: 15px;
	color: #3C5AA8;
	cursor: pointer;
}

#head-contacts-map:hover,
.content-post-title:hover{
	text-decoration: underline;
}

#quote{
	display: inline-block;
	width: 400px;
	text-align: right;
	float: right;
	line-height: 25px;
}

#quote-author{
	color: #666;
	font-size: 14px;
	position: relative;
	top: 10px;
	text-align: right;
}

.news-headline{
	color: #7B9F32;
  font-size: 28px;
  line-height: 40px;
  font-weight: bold;
  font-family: 'PT Sans';
}

#content-post{
	width: 480px;
}

.content-postbox{
	width: 493px;
	display: inline-block;
	vertical-align: top;
	margin: 20px 20px 0 0;
}

.content-postbox:last-child{
	margin: 20px 0 0 0;
}

.content-post{
	width: 100%;
    box-sizing: border-box;
	position: relative;
	background: #fff;
	padding: 20px;
	margin: 0 0 20px;
	border: 1px solid #ddd;
	border-radius: 4px;
	display: inline-block;
}

.content-post:last-child{
	margin: 0;
}

.content-post-title{
	position: relative;
	font-size: 26px;
	font-family: 'PT Sans';
	color: #3C5AA8;
	word-break: break-word;
}

.content-post-text{
	word-break: break-word;
	margin: 15px 0;
}

.content-post-continue,
.content-post-continue a{
	margin: 15px 0;
	color: #3C5AA8;
	cursor: pointer;
	text-decoration: none;
	word-break: break-word;
}

.content-post-continue{
	position: relative;
}

.content-post-continue a{
	margin: 0;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.content-post-continue:hover{
	text-decoration: underline;
}

.content-post-img img{
	max-width: 100%;
}

.content-post-info{
	color: #666;
	margin: 10px 0;
}

.content-post-info-author{
	word-break: break-word;
	position: relative;
	float: left;
}

.content-post-info-date{
	float: right;
}

#footer{
	position: relative;
	color: #333;
	border-top: 1px solid #ddd;
	background: #fff;
	clear: both;
	background-size: cover;
}

#gymnasium{
	position: absolute;
	width: 250px;
	margin: -60px 0 0 0;
	top: 50%;
	left: 175px;
	font-size: 16px;
	color: #333;
}

#tagline{
	position: absolute;
	width: 550px;
	margin: -13px 0 0 0;
	top: 50%;
	left: 175px;
	font-size: 26px;
	font-weight: bold;
	color: #333;
}

#copyright{
	float: right;
}

#menu{
	background: #fff;
	border-radius: 4px;
	border: 1px solid #ddd;
}

.navigation-item{
	position: relative;
	margin-right: -5px;
	padding: 8px 15.34px;
	border-bottom: 3px solid transparent;
}

.navigation-item:first-child{
	border-radius: 4px;
	border-bottom-right-radius: 0;
}


.navigation-item:last-child{
	margin: 0;
	border-radius: 4px;
	border-bottom-left-radius: 0;
}

.navigation-item-link{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: block;
}

.navigation-item:hover{
	border-bottom: 3px solid #A2E24E;
	background: #fff;
}

.navigation-item-selected,
.navigation-item-in-selected{
	border-bottom: 3px solid #81a43d !important;
}

.navigation-item-text{
	padding-left: 12px;
	color: #1a3e0b;
}

.navigation-item-img,
.navigation-item-text,
.navigation-item{
	display: inline-block;
	vertical-align: middle;
}

#head-contacts{
	display: inline-block;
	vertical-align: top;
}

.navigation-item-img{
	line-height: 0;
}

.navigation-item-in .navigation-item-text{
	font-size: 14px;
	padding: 0;
}

.navigation-item-in{
	display: none;
}

.navigation-item-in-opened{
	display: block !important;
}

#scrollTop{
	display: none;
	position: fixed;
	top: 0;
	left : 0;
	height: 100%;
	cursor: pointer;
	opacity: .4;
}

#scrollTop:hover{
	opacity: 1;
}

#scrollTop-arrow{
	width: 100%;
	height: 100%;
	background: url('../images/arrow-top.png') no-repeat center;
}

#content-news{
	position: relative;
	background: #fff;
	border-radius: 4px;
	padding: 20px;
	border: 1px solid #ddd;
	margin-top: 20px;
}

.news-table{
	width: 100%;
	border-radius: 4px;
	border-spacing: 0;
	border: 2px solid #ddd;
	margin: 15px 0;
}

.news-table td{
	border-right: 2px solid #ddd;
	border-bottom: 2px solid #ddd;
	padding: 10px;
	text-align: center;
}

.news-table tr:first-child td{
	font-weight: bold;
	background: #eee;
}

.news-table tr:nth-child(odd){
	background: #f9f9f9;
}

.news-table td:last-child{
	border-right: 0;
}

.news-table tr:last-child td{
	border-bottom: 0;
}

.news-text,
.news-photo,
.news-document{
	margin: 15px 0;
}

.news-photo:last-child{
	margin-bottom: 0;
}

#content-news .news-photo{
	display: inline-block;
    vertical-align: top;
    margin-right: 10px;
}

#content-news .news-photo img{
	margin: 0;
}

.news-document:last-child,
.news-document:last-child ul{
	margin-bottom: 0;
}

/* .news-document + .news-document,
.news-document + .news-document ul{
	margin-top: -15px;
} */

/* .news-document + .news-document + .news-text{
	margin-top: -10px;
} */

.news-headline{
	margin: 25px 0 -10px;
}

.news-text{
	white-space: pre-line;
}

.news-text a{
	color: #3C5AA8;
	text-decoration: none;
}

.news-text a:hover{
	text-decoration: underline;
}

.image-description {
  color: #444;
  text-align: center;
  margin: -15px 0 15px;
}

.img-float{
	max-width: 280px !important;
    float: left;
    margin: 15px;
    margin-left: 0;
    margin-top: 5px;
}

.content-post-link{
	/*background: url('../images/link.png');*/
}

.content-post-anchor{
	position: relative;
	top: 5px;
	margin-left: 7px;
	cursor: pointer;
}

.news-photo img{
	max-width: 100%;
}

#content-news img{
	max-height: 618px;
}

.news-document a:hover .news-document-text{
	text-decoration: underline;
}

.news-document img{
	display: inline-block;
	vertical-align: middle;
}

.news-document-text{
	display: inline-block;
	vertical-align: middle;
	margin-left: 12px;
	text-decoration: none;
	color: #3C5AA8;
    cursor: pointer;
}

#content-news .content-post-title:hover,
#content-news .content-post-info-author:hover,
#content-news .content-post-info-author a{
	text-decoration: none;
	cursor: default !important;
}

#author{
	text-align: right;
	margin-top: 15px;
	margin-bottom: -10px;
	margin-right: 10px;
}

#author a{
	color: #3C5AA8;
	text-decoration: none;
}

#author a:hover{
	text-decoration: underline;
}

#notification{
	width: 340px;
	position: fixed;
	bottom: 15px;
	right: 15px;
	padding: 7px 12px;
	background: #7b9f32;
	color: #fff;
	border-radius: 4px;
	border: 2px solid #5d7923;
	box-shadow: 1px 1px 10px rgba(0, 0, 0, .4);
	transition: opacity 1s ease-out 0.5s;
}

#notification-close{
	text-align: right;
	margin-bottom: -5px;
}

#notification-close img{
	cursor: pointer;
	opacity: .7;
}

#notification-close img:hover{
	opacity: 1;
}

.link{
	color: #666 !important;
}

.link:hover{
	text-decoration: underline !important;
	cursor: pointer;
}

@media screen and (device-width: 1024px) {
	#head,
	#footer{
		padding: 0 20px;
	}
	#head-aligner,
	#footer-aligner{
		width: 960px;
	}
}

@font-face{
	font-family: 'PT Sans';
	src: url('/fonts/pt_sans.ttf');
}

#poster{
	height: 84px;
	background: #fff;
	border-bottom: 1px solid #ddd;
}

#poster-inner{
	height: 64px;
	width: 1000px;
	margin: 0 auto;
	padding: 10px 0;
	text-align: center;
	font-size: 24px;
	font-family: 'PT Sans';
}

#footer span{
	position: relative;
	top: -23px;
	left: 20px;
	text-align: center;
	font-size: 24px;
	font-family: 'PT Sans';
}

.not{
	color: #000;
	text-decoration: none;
}

#poster-inner img:nth-child(1){
	float: left;
	margin-right: 30px;
	vertical-align: middle;
}

#poster-inner img:nth-child(3){
	float: right;
	margin-left: 30px;
	opacity: .7;
	margin-top: 4px;
	position: relative;
	top: 20px;
}

#poster-inner img:nth-child(3):hover{
	opacity: 1;
}

#poster-inner span{
	position: relative;
	top: 20px;
}

.not + #head #exit{
	top: 144px !important;
}

.not + #head #info-edit .content-post-edit{
	top: 104px !important;
}