#flexa div{
display: block;
color: red;
}
#flexa{
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
}
p{
		margin:0;
	padding:0;
margin-block-start:0;margin-block-end:0px;
}
body{
	margin:0;
	background:#fff;
	font:12px/15px Inter, Geneva, sans-serif;
	color:#000;
	min-width:1002px;
}
img{border-style:none;}
a{
	text-decoration:none;
	color:#000;
}
a:hover{text-decoration:underline; }
input, textarea, select{
	font:100% Inter, Helvetica, sans-serif;
	vertical-align:middle;
    
}
form, fieldset{
	margin:0;
	padding:0;
	border-style:none;
}
#header{
	width:100%;
	background:url(http://tepk.pro/templates/aug2013/images/banner/banner.svg) no-repeat 50% 0;
}
#header .holder{
	width:1000px;
	margin:0 auto;
	text-align:right;
	padding-bottom:8px;
}
#header .logo {
	display:inline-block;
	vertical-align:top;
	text-align:left;
	width:100px;
	height:67px;
	text-indent:-9999px;
	overflow:hidden;
	margin:20px 0 43px;
}
#header .logo a {
	display:block;
	height:100%;
}
#nav{
	background-color: #f3eae8;
	padding:0px;
	margin:0px 0px 20px 0px;
	width:1000px;
	list-style:none;
	display:inline-block;
	vertical-align:top;
	-webkit-border-radius:0 0 5px 5px;
	border-radius:0 0 5px 5px;
	font:bold 16px/19px Trebuchet MS, sans-serif;
}
#nav > li{
	text-align:center;
	width:200px;
	float:left;
	position:relative;
}
#nav > li > a{
	padding:9px 0 11px;
	text-decoration:none;
	text-transform:uppercase;
	color:#fff;
	display:block;
	background:#6a8cd3 url(http://tepk.pro/templates/aug2013/image/separator.png) repeat-y;
}
#nav > li.active > a,
#nav > li:hover > a{
	-webkit-box-shadow:inset 0 -1px 0 0 #506bb2;
	box-shadow:inset 0 -1px 0 0 #506bb2;
	background:#030850 url(http://tepk.pro/templates/aug2013/image/separator.png) repeat-y;
	background:url(http://tepk.pro/templates/aug2013/image/separator.png) repeat-y, ;
	background:url(http://tepk.pro/templates/aug2013/image/separator.png) repeat-y, -moz-linear-gradient(top,  #030850 0%, #688ad1 100%);
	background:url(http://tepk.pro/templates/aug2013/image/separator.png) repeat-y, -webkit-gradient(linear, left top, left bottom, color-stop(0%,#030850), color-stop(100%,#688ad1));
	background:url(http://tepk.pro/templates/aug2013/image/separator.png) repeat-y, -webkit-linear-gradient(top,  #030850 0%,#688ad1 100%);
	background:url(http://tepk.pro/templates/aug2013/image/separator.png) repeat-y, -o-linear-gradient(top,  #030850 0%,#688ad1 100%);
	background:url(http://tepk.pro/templates/aug2013/image/separator.png) repeat-y, -ms-linear-gradient(top,  #030850 0%,#688ad1 100%);
	background:url(http://tepk.pro/templates/aug2013/image/separator.png) repeat-y, linear-gradient(to bottom,  #030850 0%,#688ad1 100%);
}
#nav > li:first-child > a{
	background:#6a8cd3;
	-webkit-border-radius: 0 0 0 5px;
	border-radius: 0 0 0 5px;
}
#nav > .last > a{
	-webkit-border-radius: 0 0 5px 0;
	border-radius: 0 0 5px 0;
}
#nav > li:first-child.active > a,
#nav > li:first-child > a:hover{
	background:#030850 url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAzMDg1MCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM2ODhhZDEiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  #030850 0%, #688ad1 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#030850), color-stop(100%,#688ad1));
	background: -webkit-linear-gradient(top,  #030850 0%,#688ad1 100%);
	background: -o-linear-gradient(top,  #030850 0%,#688ad1 100%);
	background: -ms-linear-gradient(top,  #030850 0%,#688ad1 100%);
	background: linear-gradient(to bottom,  #030850 0%,#688ad1 100%);
}
#nav > li:first-child:hover > a{border-radius:0;}
#nav > .last:hover > a{border-radius:0;}
#nav > li:hover .drop{left:2px;} 
#nav > li:first-child:hover .drop{
	left:0;
	width:170px;
}
#nav .drop{
	position:absolute;
	left:-9999px;
	width:168px;
	top:39px;
	z-index:99;
	background:#6788cf;
	padding:7px 15px 27px;
	margin:0px;
	list-style:none;
	font:12px/15px Tahoma, Geneva, sans-serif;
	-webkit-border-radius:0 0 4px 4px;
	border-radius:0 0 4px 4px;
	overflow:hidden;
}
#nav .drop li:first-child{
	box-shadow:none;
	border-top:none;
}
#nav .drop li{
	border-top:1px solid #506bb2;
	-webkit-box-shadow:inset 0 1px 0 0 #84a2e3;
	box-shadow:inset 0 1px 0 0 #84a2e3;
}
#nav .drop a{
	padding:4px 0;
	color:#d9e0ef;
	outline:none;
	text-decoration:none;
	display:inline-block;
	vertical-align:top;
}
#nav .drop a:hover{
	color:#fff;
	font-weight:bold;
}

.wrapper { margin-top: -16px !important; padding: 10px 50px 0px 50px !important; background-color: #fff; overflow: hidden; width: 1100px; margin: 0 auto; }
#main{

}
.rightblock {
	width:803px;
	float:right;
	padding-bottom:10px;
	overflow: hidden;
}
#content{
	width:903px;
	float:right;
	padding-bottom:10px;
	overflow: hidden;
}
.slideshow{
	background:#fff;
	border:1px solid #d1d0cd;
	-webkit-border-radius: 11px;
	border-radius: 11px;
	overflow:hidden;
	width:496px;
	padding:3px;
	float:left;
	position:relative;
	margin-right:8px;
}
.slideshow .slideset{
	position:relative;
	width:100%;
	overflow:hidden;
	-webkit-border-radius: 6px;
	border-radius: 6px;
}
.slideshow .slide{z-index:1;}
.slideshow .pagination{
	padding:10px 11px 5px;
	margin:0;
	list-style:none;
	position:absolute;
	background:#fff;
	overflow:hidden;
	right:10px;
	bottom:3px;
	z-index:20;
	-webkit-border-radius: 9px 9px 0 0;
	border-radius: 9px 9px 0 0;
}
.slideshow .pagination li{
	float:left;
	margin:0 1px;
}
.slideshow .pagination li a{
	display:block;
	text-indent:-9999px;
	overflow:hidden;
	background: url('http://tepk.pro/templates/aug2013/image/sprite.svg') no-repeat -10px 0; 
	width: 8px; 
	height: 9px;
}
.slideshow .pagination li a:hover,
.slideshow .pagination li.active a{background-position:0 0;}

.photos {
	overflow:hidden;
	margin-bottom: 5px;
}
.photos .sizer{
	width:305px;
	float:left;
}
.visualPhoto {
	display:block;
	margin-bottom: 5px;
}
.visual {
	overflow:hidden;
	margin-bottom: 5px;
}
.visual .info{
	width:305px;
	float:left;
}
.visual .info .date-info{
	text-align:right;
	display:block;
	font-weight:normal;
	color:#000;
	padding: 5px 8px 8px 0;
}
.visual .info .date-info .day{
	font-weight:bold;
	position:relative;
	padding-left:15px;
}
.visual .info .date-info .day:after{
	content:'';
	position:absolute;
	left:-1px;
	top:1px;
	background: url('http://tepk.pro/templates/aug2013/image/sprite.svg') no-repeat -26px 0; 
	width: 13px; 
	height: 13px;
}
.visual .info .date-info .time{
	font-style:normal;
	color:#000;
}

#content .box{
	border:0px solid #79643f;
	-webkit-border-radius: 0px;
	border-radius: 0px;
	background:#ffffff;
	position:relative;
	margin-bottom:8px;
	
}
#content .box:after{
	<!--content:'';-->
	position:absolute;
	left:0px;
	bottom:-5px;
	right:10px;
	background:#fcfcfc;
	padding:0 0 3px;
	border-bottom:1px solid #0099ff;
	-webkit-border-radius:0 0 6px 6px;
	border-radius:0 0 6px 6px;
	width:auto;
	-webkit-box-shadow:  0px 1px 1px 1px rgba(228, 227, 222, 0.5);
	box-shadow:  0px 1px 1px 1px rgba(228, 227, 222, 0.5);
} 
#content .box .title{
	margin:0;
	overflow:hidden;
	padding:4px 3px 4px 15px;
	-webkit-border-radius: 0px 0px 0 0;
	border-radius: 0px 0px 0 0;
	background:#f9f9f9;
	
	background: -moz-linear-gradient(top,  #f9f9f9 0%, #e5e5e5 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f9f9f9), color-stop(100%,#e5e5e5));
	background: -webkit-linear-gradient(top,  #f9f9f9 0%,#e5e5e5 100%);
	background: -o-linear-gradient(top,  #f9f9f9 0%,#e5e5e5 100%);
	background: -ms-linear-gradient(top,  #f9f9f9 0%,#e5e5e5 100%);
	background: #0099ff;
	
}
#content .box h2{
	color:#fff;
	font: 16px/19px Inter, sans-serif;
	
	-webkit-border-radius: 8px 8px 0 0;
	border-radius: 8px 8px 0 0;
	margin:0;
}
#content .box .content{
	border-top:0px solid #dfdcd6;
	
}
#content .box .content .list-posts{
	padding:0;
	margin:0;
	list-style:none;
	overflow: hidden;
}
#content .box .content .list-posts li{
	border-top:1px dotted #acacab;
	
}
#content .box .content .list-posts li:first-child{border:none;}
#content .box .content .list-posts .date{
	font-size:12px;
	line-height:22px;
	display:block;
	color:#000;
}
#content .box .content .list-posts h3{
	margin:0;
	font-size:12px;
	line-height:14px;
	font-weight:normal;
}
#content .box .content .list-posts h3 a{
	color:#000;
	text-decoration:underline;
}
#content .box .content .list-posts h3 a:hover{text-decoration:none;}
#content .box.preview{
	float:left;
	width:300px;
}
#content .box .cycle-gallery{position:relative;}
#content .box .cycle-gallery .btn-next,
#content .box .cycle-gallery .btn-prev{
	display:block;
	background: url('http://tepk.pro/templates/aug2013/image/sprite.svg') no-repeat -50px 0; 
	width: 22px; 
	height: 15px;
	text-indent:-9999px;
	overflow:hidden;
	margin:7px auto 0;
}
#content .box .cycle-gallery .btn-prev:hover{background-position:-148px 0;}
#content .box .cycle-gallery .btn-next{
	background-position:-84px 0;
	margin:-4px auto -2px;
}
#content .box .cycle-gallery .btn-next:hover{background-position:-114px 0;}
#content .box .cycle-gallery .list-posts li{padding:8px 0 9px;}
#content .box .cycle-gallery .list-posts li:first-child {padding:5px 0 6px;}
#content .box.news{
	width:590px;
	float:left;
	margin-left:20px;
}

#content .box.newscat{

	margin-left:8px;
}
#content .box.newsfull{
	margin-left:8px;
	overflow: hidden;
}
#content .box.newsfull h1 {

	font-size: 16px;
}
#content .box.news h2{float:left;}
#content .box.news .title .view{
	float:right;
	color:#f6f6f6;
	font-size:15px;
	line-height:14px;
	
	padding:1px 9px 4px 11px;
	-webkit-border-radius:5px;
	border-radius: 5px;
}
#content .box.news .post{
	overflow:hidden;
	border-bottom:0px solid #0099ff;
	
}
#content .box.news .post:first-child{
	border:none;
	padding-top:0;
}
#content .box.news .post .img-holder{
	float:left;
	border:1px solid #bebcb7;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	padding:3px;
	margin-right:5px;
}
#content .box.news .post .img-holder img{display:block;}
#content .box.news .post .frame{border-bottom: 1px solid #0099ff;overflow:hidden;}
#content .box.news .content{padding:0px 0px 0px 0px;}
#content .box.news .post .meta{overflow:hidden; margin: 5px 0px 0px 0px; padding: 2px 0px 2px 0px; }
#content .box.news .post .meta .time{
	float:left;
	color:#000;
	font-size:12px;
	line-height:18px;
}
#content .box.news .post .meta .view{
	float:right;
	font-size:10px;
	line-height:12px;
	color:#a6a6a6;
}
#content .box.news .post .meta .view em{
	font-style:normal;
	color:#010101;
}
#content .box.news .post p{
	margin:0;
	color:#000;
}
#content .box.news .post p .more{
	float: left;
	color:#0099ff;
	text-decoration:underline;
}
#content .box.news .post p .more:hover{text-decoration:none;}

.leftblock {
	float:left;
	width:185px;
}
#sidebar{
	float:left;
	width:185px;
}
#sidebar .sub-nav{
	padding:0 0 2px;
	margin:0;
	list-style:none;
}
#sidebar .sub-nav > li{margin-bottom:2px;}
#sidebar .sub-nav > li > a{
	display:block;
	
	padding:3px;
	
	text-decoration:none;
	color:#fff;
	font:bold 13px/15px Inter, sans-serif;
}
#sidebar .sub-nav > li > a span{
	display:block;
	padding:6px 16px 8px;
	
	background:#0099ff repeat-y;
	position:relative;
}
#sidebar .sub-nav > li.active > a span,
#sidebar .sub-nav > li > a:hover span{background:#0077ff repeat-y;}
#sidebar .sub-nav > li > a span:after{
	content:'';
	position:absolute;
	background: url('http://tepk.pro/templates/aug2013/image/sprite.svg') no-repeat -185px 0; 
	width: 6px; 
	height: 10px;
	right:7px;
	top:12px;
}
#sidebar .sub-nav > li.active > a span:after,
#sidebar .sub-nav > li > a:hover span:after{
	background-position:-189px -16px;
	width: 10px; 
	height: 6px;
	right:6px;
	top:15px;
}
#sidebar .sub-nav > li:hover > ul{display:block;}
#sidebar .sub-nav ul{
	padding:5px 0 8px;
	margin:0;
	list-style:none;
	display:none;
}
#sidebar .sub-nav ul li{
	padding:3px 12px 6px;
	border-top:1px solid #0099ff;
}
#sidebar .sub-nav ul li:first-child{border:none;}
#sidebar .sub-nav ul a{
	color:#000000;
	text-decoration:none;
	position:relative;
	display:inline-block;
	vertical-align:top;
	padding-left:8px;
}
#sidebar .sub-nav ul a:hover{text-decoration: none; color:#0099ff;}
#sidebar .sub-nav ul a:after{
	content:'';
	position:absolute;
	left:0;
	top:5px;
	background: url('http://tepk.pro/templates/aug2013/image/sprite.svg') no-repeat 0 -17px; 
	width: 4px; 
	height: 7px;
}
#sidebar .sub-nav ul a:hover:after{background-position:0 -41px;}
#sidebar .block{
	
	text-align:center;
	margin-bottom: 4px;
	
}
#sidebar .block .link{text-decoration:none;}
#sidebar .block .title{
	display:block;
	font-size:14px;
	line-height:17px;
	color:#103980;
	position:relative;
	text-align:left;
	padding:0 20px 3px 14px;
}
#sidebar .block .title:after{
	content:'';
	position:absolute;
	right:12px;
	top:7px;
	background: url('http://tepk.pro/templates/aug2013/image/sprite.svg') no-repeat -14px -27px;
	width: 6px;
	height: 10px;
}
#sidebar .block .img-holder{
	white-space:nowrap;
	height:89px;
	width:177px;
	display:block;
}
#sidebar .block .img-holder:after{
	content:'';
	display:inline-block;
	height:100%;
	width:1px;
	overflow:hidden;
	margin:0;
	vertical-align:bottom;
}
#sidebar .block .img-holder img{
	vertical-align:middle;
	display:inline-block;
	white-space:normal;
}
#sidebar .form-search{
	margin:0 0 5px;
	border:1px solid #0099ff;
	background:#fff;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	-webkit-box-shadow:inset 2px 2px 2px 0 #f5f5f5;
	box-shadow:inset 2px 2px 2px 0 #f5f5f5;
	overflow:hidden;
	padding:2px 3px 0 2px;
	position:relative;
}
#sidebar .form-search input[type="text"]{
	float:left;
	width:150px;
	border:none;
	background:none;
	outline:none;
	height:17px;
	padding:3px 0 4px;
	margin:0;
}
#sidebar .form-search input[type="submit"]{
	float:right;
	background: url('http://tepk.pro/templates/aug2013/image/sprite.svg') no-repeat -33px -23px;
	width: 24px;
	height: 25px;
	cursor:pointer;
	text-indent:-9999px;
	overflow:hidden;
	padding:0;
	margin:0;
	border:none;
}
#sidebar .form-search input[type="submit"]::-moz-focus-inner {
	border: 0 !important;
	padding: 0 !important;
}
#sidebar .more-links{
	display:block;
	border:1px solid #d1d2d0;
	background:#f9f8f8;
	padding:3px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	text-decoration:none;
	color:#fff;
	margin-bottom:6px;
	font:normal 16px/19px Inter, sans-serif;
}
#sidebar .more-links span{
	display:block;
	padding:6px 16px 8px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
	background:url(http://tepk.pro/templates/aug2013/image/sub-nav.png) repeat-y;
	position:relative;
}
#sidebar .more-links:hover span{background:url(http://tepk.pro/templates/aug2013/image/sub-nav-act.png) repeat-y;}
#sidebar .more-links span:after{
	content:'';
	position:absolute;
	background: url('http://tepk.pro/templates/aug2013/image/sprite.svg') no-repeat -185px 0; 
	width: 6px; 
	height: 10px;
	right:7px;
	top:12px;
}
#sidebar #calendar-layer{
	
	background:#fcfcfc;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	overflow:hidden;
	border-bottom:0px solid #dfdcd6;
	margin-bottom:13px
}
#sidebar table{
	color:#000;
	font-size:11px;
	line-height:11px;
}
#sidebar table tr{
	border-style:solid;
	border-width:0 1px;
	border-color:transparent #dfdcd6;
	text-align:top;
}
#sidebar table tr:first-child th{
	background:rgb(104, 138, 209);
	color:#fff;
	padding:25px 3px 6px;
	-webkit-border-radius: 10px 10px 0 0;
	border-radius: 10px 10px 0 0;
	text-shadow:1px 1px 1px #000;
	border-bottom:1px solid #888aae;
	font-size:13px;
	line-height:16px;
}
#sidebar table tr:first-child th span{
	font-size:12px;
	line-height:15px;

}
#sidebar table .day-active-v,#sidebar table .day-active{
	text-decoration: none;
	background:none;
}
#sidebar table td:hover{
	text-decoration: none;

	cursor:pointer;
}
#sidebar table .none{color:#bec7d6;}
#sidebar table .none:hover{
	cursor:default;
	background:none;
	color:#bec7d6;
}
#sidebar table td{padding:0px;}
#sidebar .opinion{
	display:inline-block;
	vertical-align:top;
	color:#103980;
	font-size:14px;
	line-height:17px;
	margin: 5px 18px 14px 14px;
	text-align:left;
	position:relative;
}
#sidebar .opinion:after{
	content:'';
	position:absolute;
	right:-6px;
	top:5px;
	background: url('http://tepk.pro/templates/aug2013/image/sprite.svg') no-repeat -14px -27px;
	width: 6px;
	height: 10px;
}
#sidebar .opinion:hover{text-decoration:underline;}
#sidebar .message{
	padding:3px 0 13px 60px;
	margin:0;
	list-style:none;
	background:url(http://tepk.pro/templates/aug2013/image/message.png) no-repeat 7px 0;
	text-align:left;
}
#sidebar .message li{ padding-bottom:5px;}
#sidebar .message a{
	color:#4c4c4c;
	font-size:11px;
	line-height:14px;
	text-decoration:underline;
}
#sidebar .message a:hover{text-decoration:none;}
#footer{background:
    linear-gradient(
      135deg,
      #0099ff,
      #2a7aed);}
#footer .footer-holder{
	width:1100px;
	margin:0 auto;
	padding:9px 0 20px;
	overflow:hidden;
    
}
#footer .social{
	padding:20px 24px 0 15px;
	margin:0;
	list-style:none;
	float:left;
}
#footer .social li{
	float:left;
	margin-right:5px;
}
#footer .social a{
	background: url('http://tepk.pro/templates/aug2013/image/sprite.svg') no-repeat 0 -9999px;
	width: 44px;
	height: 44px;
	display:block;
	text-indent:-9999px;
	overflow:hidden;
}
#footer .social .twitter{background-position:0 -62px;}
#footer .social .facebook{background-position:-49px -60px;}
#footer .social .vk{background-position:-98px -60px;}
#footer .social .blog{background-position:-147px -60px;}
#footer .sitemap{
	float:right;
	margin:5px 8px 0;
	color:#2e98e0;
	text-decoration:underline;
}
#footer .sitemap:hover{text-decoration:none;}
#footer .holder{overflow:hidden;}
#footer .holder .title{
	display:block;
	font-weight:normal;
	color:#fff;
	padding-bottom:1px;
}
#footer .holder .note{
	display:block;
	color:#fff;
	font-size:12px;
	line-height:12px;
}
#footer .holder .contact{
	padding:6px 0 0;
	margin:0;
	list-style:none;
	color:#fff;
	font-size:10px;
	line-height:13px;
}
#footer .holder .contact li{
	display:inline-block;
	vertical-align:top;
	padding-left:16px;
	position:relative;
}
#footer .holder .contact li:after{
	content:'';
	position:absolute;
	left:7px;
	top:2px;
	height:11px;
	width:1px;
	background:#c7c6c6;
}
#footer .holder .contact li:first-child{padding:0;}
#footer .holder .contact li:first-child:after{display:none;}
#footer .holder .contact span{color:#929292;}
#footer .holder .contact .mail{color:#6e6a6a;}

.textblock { }
.textblock img { float: left; max-height: 100px; max-width: 500px; padding: 0px;  margin: 0px 5px 0px 0px; }
.textblock span { font-size: 12px !important; }
.textblock h2 { font-size: 14px; }

.shortstory { border-radius: 2px; overflow: hidden; margin: 20px 5px 20px 10px; padding: 5px 10px 10px 10px; border: 1px solid #0099ff; background-color: #fff;  }
.shortstory img { float: left; max-height: 100px; max-width: 500px; padding: 3px; margin: 0px 5px 0px 0px; }
.metashort { padding: 0px 0px 4px 0px; overflow: hidden; margin: 0px 0px 10px 0px; color: #000; border-bottom: 1px solid #0099ff; }
.metashort views { float: right; color :#a6a6a6; }
.metashort span { color: #111; }
.moreshort { color: #0099ff; float: right; }

.fullstory { padding: 10px 10px 10px 0px; overflow: hidden; line-height: 21px; }
.fullstory img { margin: 5px; }
.fullstory p { overflow: hidden; }
.fullstory text_spoiler { overflow: hidden; }
.morefield { border-bottom: 1px solid #0099ff; padding: 3px 0px 3px 0px; overflow: hidden; margin: -10px 0px 10px 0px; color: #000; }
.morefield date { float: left; }
.morefield views { float: right; }
.speedbar { margin: 5px 10px; }


.navigation { overflow: hidden; font-size: 14px; font-weight: bold; }
.navigation span { margin: 0px 4px; }
.navigation a { margin: 0px 4px; }


	.slider {
		padding: 0px;
		border: 0px solid #a6a6a6;
		float: left;
		border-radius: 0px;
		background: url(http://tepk.pro/templates/aug2013/image/loading.gif) center center no-repeat;
		width:580px;
		height: 173px;
		position: relative;
		margin: 0px 12px 0px 0px;
	}
		
			.slider-item {
				border-radius: 0px;
				display: none;
				overflow: hidden;
				width:580px;
				height: 173px;
				position: relative;
			}
			
				.slider-item img {
					width: 580px;
					height: 173px;
					border-radius: 0px;

					position: absolute;
					left: 0;
					top: 0;
				}
		
					
			.slider-navi {
				padding: 5px; border-radius: 6px 6px 0px 0px;
				background-color: #fff;
				position: absolute;
				right: 20px;;
				bottom: 2px;
			}
			
				.navi-div {
					width: 11px;
					height: 11px;
					float: left;
					border: 2px solid #fff;
					border-radius: 50%;
					cursor: pointer;
					margin: 0 2px;
				}
				
					.navi-div-active {
						border: 2px solid #fff !important;;
						background: #0099ff !important;
					}


.sliderP {
		padding: 0px;
		border: 0px solid #a6a6a6;
		float: center;
		border-radius: 0px;
		background: url(http://tepk.pro/templates/aug2013/image/loading.gif) center center no-repeat;
		width:780px;
		height: 173px;
		position: relative;
		margin: 0px 8px 0px 0px;
	}
		
			.sliderP-item {
				border-radius: 0px;
				display: none;
				overflow: hidden;
				width:780px;
				height: 173px;
				position: relative;
			}
			
				.sliderP-item img {
					width: 780px;
					height: 173px;
					border-radius: 0px;

					position: absolute;
					left: 0;
					top: 0;
				}
		
					
			.sliderP-navi {
				padding: 5px; border-radius: 6px 6px 0px 0px;
				background-color: #fff;
				position: absolute;
				right: 20px;;
				bottom: 2px;
			}
			
				.naviP-div {
					width: 11px;
					height: 11px;
					float: left;
					border: 2px solid #fff;
					border-radius: 50%;
					cursor: pointer;
					margin: 0 2px;
				}
				
					.naviP-div-active {
						border: 2px solid #fff !important;;
						background: #ffe572 !important;
					}



.anonces {  }
.anoncesblock { height: 82px !important; clear: both; overflow: hidden; padding: 5px 0px; border-bottom: 1px solid #0099ff; }
.datemain { text-align: center; margin: 0px 0px 5px 0px; }

.leftanonces { float: left; width: 289px; }
.anonceplayer { padding: 10px; }

.shortphoto { margin: 5px; position: relative; float: left; width: 190px; height: 125px; overflow: hidden;  }
.shortphoto .thumb { position: relative; width: 190px; height: 125px; overflow: hidden;}
.shortphoto .thumb img { border: 0; width: 190px; min-height: 125px; }
.shortphoto .link { background: rgba(0,0,0,0.7); color: #ccc; position: absolute; left: 0; bottom: 0; width: 180px; line-height: 15px; font-size: 12px; padding: 2px 5px; }
.shortphoto .link a { color: #fff; font-weight: bold; }

.fullphoto { overflow: hidden; }
.fullphoto img { float: left; border: 0; width: 180px; height: 120px; margin: 1px 0px 1px 2px; padding: 4px; border: 1px solid #ccc; border-radius: 6px; }