/* 
        DataLife Engine Template
        Name: AmbientMedia
        Author: http://sanderart.com/
*/

/*@import 'normalize.css';*/
@import 'social-likes_flat.css';



/* Сброс */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td,article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline } article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block } body { line-height: 1 } ol, ul { list-style: none } blockquote, q { quotes: none } blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none } table { border-collapse: collapse; border-spacing: 0 }

html { height: 100%; min-height: 100%; }
body { min-height: 100%; }
html, html a { -webkit-font-smoothing: antialiased; }

/* Настройка основной типографии */
body, select, input, textarea, button {
	font: normal 14px/1.5 Arial, Helvetica, sans-serif;
	color: #353535;
	outline: none;
}
	a { 
		outline: none;
		color: #3394e6;
		text-decoration: none;
	}
	a:hover { text-decoration: underline; }

	a img { border: 0 none; }
	a > img { vertical-align: bottom; }

/* Заголовки H1-6 */
h1,h2,h3,h4,h5,.h1,.h2,.h3,.h4,.h5 {
	margin: 2em 0 .6em 0;
	letter-spacing: -0.01em;
	line-height: normal;
	font-weight: bold;
	text-rendering: optimizeLegibility;
}
h1, .h1 { font-size: 23px; }
h2, .h2 { font-size: 21px; }
h3, .h3 { font-size: 20px; }
h4, .h4 { font-size: 18px; }
h5, .h5 { font-size: 16px; }

.addcomment h3 { margin: .3em 0 .6em 0; }

.dlevideoplayer ul[data-theme] {
	display: none;
}

/* Частые стили */
.strike { text-decoration: line-through; }
.nobr { white-space: nowrap; }
.hide { display: none; }
.title_hide { left: -9999px; position: absolute; top: -9999px; overflow: hidden; width: 0; height: 0; }
.uline { text-decoration: underline; }
.strike { text-decoration: line-through; }
.justify { text-align: justify; }
.center { text-align: center; }
.left { float: left; }
.right { float: right; }
	fieldset { border: 1px solid rgba(0,0,0,0.1); padding: 20px; margin-bottom: 25px; }
	fieldset legend { font-weight: bold; }

.grey { color: #919191; }
.grey a { color: inherit; }
.grey a:hover { color: #353535; }
.blue { color: #3394e6; }
.orange { color: #e85319; }

sup { vertical-align: super; font-size: smaller; }
sub { vertical-align: sub; font-size: smaller; }
.over { display: inline-block; vertical-align: middle; max-width: 100%; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
a .over { cursor: pointer; }

.cover { background-position: 50% 50%; background-repeat: no-repeat; -webkit-background-size: cover; background-size: cover; }

/* Настройка других элементов */
ul { padding-left: 40px; list-style: disc outside; margin-top: 1em; margin-bottom: 1em;}
ol { padding-left: 40px; list-style: decimal outside; margin-top: 1em; margin-bottom: 1em;}

	strong, b { font-weight: bold }
	em, cite, i { font-style: italic }
	caption { text-align: left }
	th, td { vertical-align: middle }
	small, .small { font-size: .9em; }
	hr { height: 0; border: 0; border-top: 2px solid #eeeeef; -moz-box-sizing: content-box; box-sizing: content-box; margin: 20px 0; }

	.clr { clear: both }
	.clrfix:after { clear: both; content: ""; display: table; }

.instagram-media, .twitter-tweet {display: inline-block !important;}



/* `FontFace

-----------------------------------------------------------------------------------*/
@font-face {

    font-family: 'PT Sans Regular';

    src: url('../fonts/pt_sans_regular-webfont.eot');

    src: url('../fonts/pt_sans_regular-webfont.eot?#iefix') format('embedded-opentype'),

         /*url('../fonts/pt_sans_regular-webfont.woff') format('woff'),*/

         url('../fonts/pt_sans_regular-webfont.ttf') format('truetype');

    font-weight: normal;

    font-style: normal;

}

@font-face {

    font-family: 'PT Sans Bold';

    src: url('../fonts/pt_sans_bold-webfont.eot');

    src: url('../fonts/pt_sans_bold-webfont.eot?#iefix') format('embedded-opentype'),

         url('../fonts/pt_sans_bold-webfont.woff') format('woff'),

         url('../fonts/pt_sans_bold-webfont.ttf') format('truetype');

    font-weight: normal;

    font-style: normal;

}

@font-face {

    font-family: 'PT Sans Italic';

    src: url('../fonts/pt_sans_italic-webfont.eot');

    src: url('../fonts/pt_sans_italic-webfont.eot?#iefix') format('embedded-opentype'),

         url('../fonts/pt_sans_italic-webfont.woff') format('woff'),

         url('../fonts/pt_sans_italic-webfont.ttf') format('truetype');

    font-weight: normal;

    font-style: normal;

}


/* `Main

-----------------------------------------------------------------------------------*/

.search_btn, .social_menu li a, .news_views, .news_comments, .video_icon, .photo_icon, .updated, .top_views, .top_comments, .video_views, .article_img_item.views,
.article_img_item.comments-num, .stories_views, .stories_comments, .rating-plus, .rating-minus, .play_icon, .rating-plus-big, .service_buttons i,
 .login_btn, .login_close, input.searchbt, .pmlinks a:before, .photo_big, .attachment:before,  #totop, .nav_btn{
    background:url(../images/sprite.png) 0 0 no-repeat;
}

* {
    margin-top:0;
    margin-bottom:0;
    margin-right:0;
    margin-left:0;
    padding:0;
}
*, *:before, *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
image{
    border:0;
}
a img,:link img,:visited img,:hover img {
    border:0;
}
a{
    color:#303030;
    font-size:16px;
    text-decoration:underline;
}
a:hover {
    color:#BF1113;
    text-decoration:none;
}
h1,h2,h3,h4,h5,h6,pre,form,p,blockquote,fieldset,input {
    margin:0;
    padding:0;
}
textarea{
    border:1px solid #ccc;
    padding:5px;
}
input:focus, textarea:focus {
    outline:none;
}
button:focus{
    outline:none;	
}
h1, h2, h3, h4, h5, h6 {font-weight:normal;font-family:Arial, sans-serif;}
h1 {font-size:24px;line-height:30px;}
h2 {font-size:22px;line-height:25px;}
h3 {font-size:20px;}
h4 {font-size:18px;}
h5, h6 {font-size: 16px;}
ul, ol{
    padding: 0;
    margin: 0;
}
input[type="checkbox"], input[type="radio"] {
    width: auto; 
    height: auto; 
    padding: 0; 
    margin: 3px 5px 5px 0;
}
.cf:before,
.cf:after {
  content: " ";
  display: table;
} 
.cf:after {
  clear: both;
}
 .cf {
  *zoom: 1;
}
.tabs_header,   .read_more{
    font-family: "PT Sans Narrow Bold";

}
.second_nav li.first_item, .main_news_title, .tabs_header span, .all_news, .top_views, .site_button, .short_title, .post_title, .short_title2, .read_more{
    font-family: "PT Sans Bold";
 }

html{
    padding:0px;
}
body{
    background:#fff;
    font-family:'PT Sans Regular', Arial, sans-serif;
    font-size:16px;
    height:100%;
    margin:0;
    padding:0;
    color:#303030;
    -webkit-font-smoothing: antialiased !important;
}
.top_adv{
    height: 90px;
    width: 100%;
    overflow: hidden;
    text-align: center;
}
.header{
    width:100%;
    height: 80px;
    z-index: 999;
    white-space:nowrap;
}
.header .wrap{	
    padding-top:20px;
    padding-bottom: 20px;
}
.wrap{
    width: 1200px;
    margin: 0 auto;
    position: relative;
}
.logo{
    width:400px;
    height:40px;
    display: block;
    margin: 0 auto;
}
.logo a{
    display: block;
}
.logo a:hover{
    opacity: 0.8;
}
.logo img{
    max-width:100%;
}
.header_left{
    float: left;
    width: 330px;
    margin: 10px 30px 10px 0;
    height: 20px;
    line-height: 20px;
    color: #505050;
    font-size: 16px;
}
.current_date, .weather{
    float: left;
    width:50%;
}
.header_right{
	width: 328px;
	float: right;
    margin:0 0 0 30px;
}
/* social.tpl */
.social_menu{
    list-style: none;
    display: block;
    float: left;
    height: 40px;
    width: 246px;
}
.social_menu li{
    display: block;
    float: left;
    color: #fff;
    margin: 0 1px 0 0;
}
.social_menu li a{
    display:block;
    height: 40px;
    width: 40px;
    border: 1px solid transparent;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    position: relative;
    background-color: #FEF3F1;
    -webkit-transition:border 0.2s ease;
    -moz-transition:border 0.2s ease;
    transition:border 0.2s ease;
}
.social_menu li a.vk_icon{
    background-position: center -1px;
}
.social_menu li a.tw_icon{
    background-position: center -41px;
}
.social_menu li a.fb_icon{
    background-position: center -81px;
}
.social_menu li a.yt_icon{
    background-position: center -161px;
}
.social_menu li a.gp_icon{
    background-position: center -121px;
}
.social_menu li a.rss_icon{
    background-position: center -201px;
}
.social_menu li a:hover{
    border: 1px solid rgba(0,0,0,0.1);
}

/* login.tpl  */
.login_btn{
    display:block;
    height: 40px;
    width: 40px;
    border: 1px solid transparent;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    position: relative;
    background-color: #FEF3F1;
    -webkit-transition:all 0.2s ease;
    -moz-transition:all 0.2s ease;
    transition: ease 0.2s all;
    background-position:center -240px;
    cursor: pointer !important;
    z-index: 200;
    float: left;
    margin: 0 1px 0 0;
}
.login_btn.group_5{    
    background-position:center -830px;
}
.login_btn:hover{
    border: 1px solid rgba(0,0,0,0.1);
}
.login_block{
    display: none;
    position: absolute;
    top: 100px;
    left: 50%;
    margin: 0 0 0 -120px;
    width: 240px;
    background-color: #fff;
    z-index: 9999999;
    border-top:5px solid #BF1113;
}
.profile_menu{
    list-style: none;
    width: 100%;
}
.profile_menu li{
    display: block;
}
.profile_menu li a{
    height: 35px;
    padding: 10px 10px 10px 25px;
    line-height: 15px;
    display: block;
    color: #909090;
    font-size: 16px;
    text-decoration: none;
    position: relative;
}
.profile_menu li a:before{
    content: "";
    position: absolute;
    width: 5px;
    height: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    background-color: #d1d1d1;
    left: 10px;
    top: 14px;
}
.profile_menu li a:hover{
    background-color: #BF1113;
    color: #fff;
    text-decoration: none;
}
.profile_link:hover{
    background-color: #e1e1e1 !important;
    color: #fff;
}
.profile_avatar{
    height: 20px;
    max-width: 30px;
    margin: -2px 10px 0 0;
    overflow: hidden;
    float: left;
    display: block;
}
.profile_avatar img{
    min-width: 20px;
    max-width: 30px;
}
.profile_menu li a.logout{
    color: #fb4d4d;
}
.profile_menu li a.profile_link{
    background-color: #f1f1f1;
    color: #505050;
    padding: 10px;
}
.profile_menu li a.profile_link:before{
    display: none;
}
.profile_menu li a i{
    font-style: normal;
    display: block;
    position: absolute;
    top: 9px;
    right: 10px;
    background-color: #f1f1f1;
    color: #202020;
    font-size: 12px;
    line-height: 15px;
    padding: 2px 5px 0 5px;
}
.login_form{
    margin: 17px 20px;
}
.login_form label{
    color: #909090;
    font-size: 16px;
    display: block;
    margin: 0 0 10px 0;
    line-height: 15px;
}
.login_form label a{
    font-size: 14px;
    color: #BF1113;
}
.login_form label a:hover{
    color: #909090;
}
.login_form .inp{
    width: 200px;
    border:1px solid #e1e1e1;
    height: 40px;
    background-color: #fff;
    padding: 0 0 0 10px;
    color: #909090;
    font-size: 14px;
    margin: 0 0 15px 0;
}
.login_form .inp:focus{
    border-color: #aaa;
}
.login_form .not_save_label{
   font-size: 12px;
   height: 15px;
   line-height: 15px;
   display: inline-block;
   position: relative;
}


.ch_box_save{
    display: inline-block;
}
.enter-btn{
    width: 100%;
    height: 40px;
    line-height: 38px;
    border:1px solid #BF1113 !important;
    background-color:#BF1113 !important;
    color: #fff;
    font-size: 16px;
    opacity: 0.8;
}
.enter-btn:hover{    
    opacity: 1;
}
.reg-link{
    margin: 10px 0 0 0;
}
.reg-link a{
    font-size: 14px;
    color: #BF1113;
}
.reg-link a:hover{
    color: #909090;
}
.social_login{
    margin: 0 0 10px 0;
}
.social_login img{
    margin: 0 6px 0 0;
}

.login_overlay{
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    z-index: 999999;
}
.login_close{
    width: 40px;
    height: 40px;
    position: absolute;
    right: -40px;
    top: -40px;
    background-position: center -790px;
    cursor: pointer;
    -webkit-transition:all 0.2s ease;
    -moz-transition:all 0.2s ease;
    transition: ease 0.2s all;
}
.login_close:hover{
    -ms-transform: rotate(180deg); /* IE 9 */
    -webkit-transform: rotate(180deg); /* Chrome, Safari, Opera */
    transform: rotate(180deg);
}
/* LOGIN end  */

/* Поиск */
.search_btn{	
    display:block;
    height: 40px;
    width: 40px;
    border: 1px solid transparent;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    position: relative;
    background-color: #FEF3F1;
    -webkit-transition:abackground-colorll 0.2s ease;
    -moz-transition:background-color 0.2s ease;
    transition: background-color 0.2s ease;
    background-position:center -280px;
    cursor: pointer !important;
    z-index: 200;
    float: left;
}
.search_btn:hover{
    border: 1px solid rgba(0,0,0,0.1);
    background-color: #BF1113;
    background-position: center -870px;
}
.search_btn.active_search{
    background-color: #BF1113;
    background-position: center -870px;
}
.searchblock{
	height: 0;
    position: relative;
    background-color: #eee;
    overflow: hidden;
}
.searchblock.open{
    padding: 10px;	
    height:60px;
}
.searchform{
    color:#303030;
    width:100%;
    height:40px;
    line-height:20px;
    padding:11px 50px 9px 10px;
    border:0;
    margin: 0;
    font-size:16px;    
    background-color:#fff;
    overflow:hidden;
    border-radius: 2px;
}
input.searchbt{
    width:40px;
    height:40px;
    border:0 !important;
    display: block;
    position: absolute;
    top: 10px;
    right: 10px;
    background-position: center  -870px;
    background-color: #ffa800;
    opacity: 0.8;
}
input.searchbt:hover{
    opacity: 1;
}

/* navigation menu*/
.nav{
    display:block;
    position: relative;
    width:100%;
    height:40px;
    background-color: #BF1113;
}
.nav_btn{
    border:0;
    height: 40px;
    width: 40px;
    color: #fff;
    display: none;  
    -webkit-transition:all 0.2s ease;
    -moz-transition:all 0.2s ease;
    transition: ease 0.2s all;
    background-position: center -1130px;
    opacity: 0.8;
}
.nav_btn:hover{
    opacity: 1;
}
.nav ul{
    list-style: none;
    max-width: 100%;
    height: 40px;
    margin: 0;
}
.nav li{
    float: left;
    position: relative;
    display: block;
    height: 40px;	
    z-index: 100;
}
.nav li a{
    display: block;
    padding: 2px 20px 0 20px;
    line-height: 38px;
    font-size: 14px;
    text-decoration: none;
    color:#fff;
    border-right: 1px solid rgba(255,255,255,0.15);
    -webkit-transition:0.2s all;
    -moz-transition:0.2s all;
    transition:0.2s all;
    text-transform: uppercase;
}
.nav li a.dropi{
	padding-top: 2px 30px 0 20px;
}
.nav li.drop:hover .dropi{	
    background-color: #303030;
}
.nav li a.dropi:after{
	content: "";
	display: block;
	width: 0;
	height: 0;
	border: 3px solid transparent;
	border-top-color: #fff;
	position: absolute;
	top:17px;
	right: 8px;
}
.nav li:first-child a{
    border-left: 1px solid rgba(255,255,255,0.15);
}
.nav li li a:first-child{
    border-left: 0;
}
.nav li a:hover{
    background-color: rgba(255,255,255,0.2);
}
.nav li ul{
	display: none;
	position: absolute;
	height: auto;
    background-color: #303030;
    z-index: 500;
    overflow: hidden;
    left: 0;
    margin: 0;
    padding: 0;
    min-width: 200px;
}
.nav li li{
	display: block;
	float: none;
	clear: both;
	z-index: 500;
	height: 30px;
}
.nav li li a {
    text-align:left;
    display:block;
    float:none;
	line-height: 28px;
	font-size: 13px;
}
.nav li:hover ul{
	display: block;
	clear: both;
}

.second_nav{
	background-color: #FEF3F1;
	height: 40px;
	overflow: hidden;
}
.second_nav ul{
	list-style: none;
	overflow: hidden;
}
.second_nav li{
	position: relative;
	float: left;
}
.second_nav li.first_item{
	background-color: #ffa800;
	color: #fff;
	padding:2px 20px 0 20px;
	line-height: 38px;
	margin: 0 10px 0 0;
}
.second_nav li a{
	display: block;
	color: #BF1113;
	padding:2px 10px 0 10px;
	line-height: 38px;
	text-decoration: none;
	font-size: 16px;
}
.second_nav li a:hover{
	color: #303030;
}
.container{
    width: 100%;
}
.content{
    background-color: #fff;
    padding: 30px 0 0 0;
}
.left{
    float: left;
    width: 870px;
}
.right{
    float: right;
    width: 300px;
}
.mblock{
    margin: 0 0 30px 0;  
}
.hblock h4, .mblock h4{
	line-height: 25px;
	font-size: 22px;
	text-transform: uppercase;
	color: #303030;
	padding: 0 0 10px 0;
	border-bottom: 1px solid #ddd;
	margin: 0 0 20px 0;
}
.side_block{
    margin:0 0 30px 0;
}
.side_block a{
    color:#BF1113;
    text-decoration: none;
}
.side_block a:hover{
    color: #202020;
}
.side_header{
    font-size: 22px;
    line-height: 24px;
    padding: 0 0 5px 0;
    margin-bottom: 10px;
    color: #303030;
    border-bottom: 1px solid #ddd;
    text-transform: uppercase;
}
.hblock h4 a, .mblock h4 a, .side_header a{
    font-size: 22px;
    color: #505050;
    text-decoration: none;
}
.hblock h4 a:hover, .mblock h4 a:hover, .side_header a:hover{
    color: #909090;
}
.main_news_block{
	margin: 0 0 30px 0;
}
.col2{
	width: 50%;
	float: left;
}
.col2:nth-of-type(2n+1){
	padding: 0 15px 0 0;
}
.col2:nth-of-type(2n){
	padding: 0 0 0 15px;
}



/* top_news_category.tpl */
.top_news_category .video_views{
    color: #fff;
}
.top_news_category .related_news_post{
    margin-bottom: 30px;
}

/* main_news.tpl */
.main_news, .custom_stories, .custom1{
    overflow: hidden;
    position: relative;
    margin: 0 0 20px 0;
}
.main_news .post_img{
	width: 120px;
	height: 90px;
	float: right;
	margin: 0 0 0 15px;
}
.post_img{
    display: block;
    position: relative;
    overflow: hidden;
    background-position: center center;
    background-size: cover;
    color: #fff;
    text-decoration: none;
}
.post_img:before{
    content: "";
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
	bottom:-100%;
    left: 0;
    background-color: rgba(0,0,0,0.5);    
    -webkit-transition:all 0.2s ease;
    -moz-transition:all 0.2s ease;
    transition: ease 0.2s all;
    z-index: 2;
}
.main_news a:hover .post_img:before, .custom_stories a:hover .post_img:before, .custom1 a:hover .post_img:before, .shortstory a:hover .post_img:before{
    bottom: 0;
}
.news_counts{
    font-size: 11px;
    height: 40px;
    width: 80px;
    line-height: 20px;
    color: #fff;
    text-align: center;
    z-index: 3;
    position: absolute;
    bottom: 100%;   
    left: 50%;
    margin: 0 0 0 -40px;
    -webkit-transition:all 0.2s ease;
    -moz-transition:all 0.2s ease;
    transition: ease 0.2s all;
}
.main_news a:hover .news_counts, .custom_stories a:hover .news_counts, .custom1 a:hover .news_counts, .shortstory a:hover .news_counts{
    bottom: 50%;
    margin: 0 0 -20px -40px;
}
.news_views{
	width: 40px;
	height: 40px;
	float: left;
    background-position: 0 -320px;
    padding: 20px 0 0 0;
    background-color: #BF1113;
}
.news_comments{
	width: 40px;
	height: 40px;
	float: left;
    background-position: 0 -360px;
    padding: 20px 0 0 0;
    background-color: #fea700;
}
.main_news a{
	color: #303030;
    text-decoration: none;
}
.main_news a .main_news_title{
    font-size: 18px;
    line-height: 20px;
    margin: 0 0 5px 0;
    -webkit-transition:all 0.2s ease;
    -moz-transition:all 0.2s ease;
    transition: ease 0.2s all;
}
.main_news a .main_news_title:hover{
	color: #BF1113;	
}
.news_date{
    color: #BF1113;
    font-size: 10px;
    text-transform: uppercase;
    height: 12px;
    margin: 0 0 10px 0;
}
.video_icon{
    height: 10px;
    width: 14px;
    display: inline-block;
    vertical-align: middle;
    background-position: center -400px;
}
.photo_icon{  
    height: 14px;
    width: 14px;
    display: inline-block;
    vertical-align: middle;
    background-position: center -440px;  
}
.updated{	
    height: 10px;
    display: inline-block;
    vertical-align: middle;
    background-position: -13px -480px;
    padding: 0 0 0 18px;
    color: #aaa;
    text-transform: uppercase;
    font-size: 10px;
}
.exclusive{
	color: #ffa800;
	text-transform: uppercase;
	font-size: 10px;
	font-family: "PT Sans Regular";
	display: inline-block;
}
.doc{
	color: #fff;
	padding: 2px 3px 0 3px;
	text-transform: uppercase;
	font-size: 10px;
	font-family: "PT Sans Regular";
	display: inline-block;
	background-color: #BF1113;
	line-height: 11px;
}
.main_news:first-of-type .post_img{
    width: 100%;
    height: 280px;
    float: none;
    margin: 0 0 15px 0;
}
.main_news:first-of-type .main_news_title{
    font-size: 22px;
    line-height: 24px;
}
.all_news{
	line-height: 40px;
	border: 1px solid #FEF3F1;
	color: #BF1113;
	font-size: 16px;
	text-align: center;
	display: block;
	height: 40px;
	text-decoration: none;
    -webkit-transition:all 0.2s ease;
    -moz-transition:all 0.2s ease;
    transition: ease 0.2s all;	
}
.all_news:hover{
	color: #505050;
	background-color: #FEF3F1;
}

/* last_news.tpl */
.left_col a.last_news{
    padding: 0;
    margin-bottom: 15px;
}
.left_col a.last_news:hover {
    text-decoration: none !important;
}
.left_col .last_time{
    margin:2px 10px 0 0;
    font-size: 12px;
}
.left_col .last_news_title{
    font-size: 15px;
}
.left_col .last_news_title{text-decoration: none !important;
}

.last_time{
    margin:2px 0 0 -50px;
    float: left;
    font-size: 13px;
    color: #BF1113;
}
a.last_news{
    display: block;
    -webkit-transition:0.2s all;
    -moz-transition:0.2s all;
    transition:0.2s all;
    padding:0 0 0 50px;
    margin: 0 0 10px 0;
    position: relative;
    text-decoration: none;
}
.last_news .post_img{
    width: 60px;
    height: 40px;
    margin: 0 0 0 15px;
    float: right;
}
 .last_news_title{
    color: #303030;
    font-size: 15px;
    line-height: 16px;
    text-decoration: none;
    display: inline;
}
.last_news_title:hover{
    color: #BF1113;
    text-decoration: none !important;
}
a.last_news:hover .last_news_title{
    color: #BF1113;
}
a.last_news.imp{
    font-family: "PT Sans Bold";
}
a.last_news.icolor .last_news_title{	
    color: #BF1113;
}
.allnews{
    height: 40px;
    line-height: 20px;
    color: #BF1113;
    font-size: 16px;
    text-decoration: none;
    display: block;
    padding: 10px 0;
    text-align: center;
    border-bottom: 1px solid #e1e1e1;
}
.allnews:hover{
    color: #505050;
    text-decoration: none;
}

/* custom_stories.tpl */
.custom_stories .post_img{
	width: 120px;
	height: 90px;
	float: left;
	margin: 0 15px 0 0;
}
.custom_stories a{
    text-decoration: none;	
    color: #303030;
}
.custom_stories a:hover{
    color: #BF1113;
}
.custom_stories a .stories_title{
    font-size: 18px;
    line-height: 20px;
    margin: 0 0 10px 0;
}
.stories_date{
    color: #BF1113;
    font-size: 10px;
    text-transform: uppercase;
    height: 12px;
    margin: 0 0 10px 0;
    display: inline-block;
}
.stories_story{
    font-size: 14px;
    color: #909090;
}
.s_text{
	width: 285px;
	float: left;
}

/* last_top_news.tpl */
.tabs_header{
    height: 40px;
}
.tabs_header span{
    color:#BF1113 ;
    font-size:14px;
    line-height:38px;
    padding-top: 2px;
    text-align:center;
    display: block;
    float: left;
    width: 50%;
    text-decoration:none;
    text-transform: uppercase;
    background-color: #FEF3F1;
}
.tabs_header span:hover{
    cursor:pointer;
    color: #202020;
}
.active_tab{
    color:#fff !important;
    background-color: #BF1113 !important;
    position: relative;
}
.active_tab:after{
    content: "";
    position: absolute;
    display: block;
    width:0;
    height:0;
    bottom: -10px;
    left: 50%;
    margin: 0 0 0 -5px;
    border-top:5px solid #BF1113 !important;
    border:5px outset transparent;
}
.tab_panel{
    margin: 10px 0 0 0;
}
.tab_box{
    display:none;  
}

/* custom_top.tpl */
.custom_top{
    margin: 0 0 15px 0;
    display: block;
}
.custom_top .post_img{
    width: 60px;
    height: 40px;
    margin: 0 0 15px 15px;
    float: right;
}
.top_views{
    background-position: 0 -520px;
}
.top_views, .top_comments{	
    padding: 0 0 0 15px;
    color: #BF1113;
    font-size: 12px;
    line-height: 12px;
    display: inline-block;
}
.top_comments{
    background-position: 0 -560px;
}

/* custom_blogs.tpl */
.custom_blogs{
	margin: 0 0 20px 0;
}
.blogs_avatar{
	width: 60px;
	height: 60px;
	border-radius: 50%;
	margin: 0 15px 0 0;
	float: left;
}
.blogs_login{
	text-transform: uppercase;
	font-size: 12px;
	margin: 0 0 5px 0;
	color: #ffa800;
}
.blogs_login:hover{
	color: #909090;
}
.blogs_title{
	line-height: 18px;
}
.blogs_title a{
	color: #303030;
	font-size: 16px;
}
.blogs_title a:hover{
	color: #909090;
}

.content_adv{
    height: 90px;
    width: 100%;
    overflow: hidden;
    text-align: center;
    margin: 0 0 30px 0;
}
.inner_adv{
    height: 60px;
    width: 100%;
    overflow: hidden;
    text-align: center;
    margin: 0 0 30px 0;
}
.col3{
	width: 33.33333%;
	float: left;
}
.col3:nth-of-type(3n+1){	
	padding-right: 20px;
}
.col3:nth-of-type(3n+2){	
	padding: 0 10px;
}
.col3:nth-of-type(3n){
	padding-left: 20px;
}

/* custom1.tpl */
.custom1 .post_img{
    width: 100%;
    height: 180px;
    margin: 0 0 10px 0;
}
.custom1 a{
    text-decoration: none;	
    color: #303030;
    font-family: "PT Sans Bold";
}
.custom1 a:hover{
    color: #BF1113;
}
.custom1 a .custom_title{
    font-size: 18px;
    line-height: 20px;
}

/* custom2.tpl */
.custom2{
    margin: 0 0 10px 0;
}
.custom2 a{
    text-decoration: none;	
    color: #303030;
    font-size: 16px;
}
.custom2 a:hover{
    color: #BF1113;
}
.custom2 a .custom_title{
    font-size: 16px;
}
.custom2 .custom_title{
    line-height: 18px;
    position: relative;
    padding: 0 0 0 10px;
}
.custom2 .custom_title:before{
	display:block;
	content: "";
	width: 4px;
	height: 4px;
	background-color: #BF1113;
	position: absolute;
	left: 0;
	top: 5px;
}


.photo_video{
    height: 221px;
    overflow: hidden;
    margin-bottom: 15px;
}
.photo_video .post_img{
    height: 126px;
    margin-bottom: 15px;
}
.photo_video a{
    color: #303030;
    text-decoration: none;
}
.photo_video a:hover{
    color: #BF1113;
}
.photo_video .stories_title{
    max-height: 80px;
    overflow: hidden;
}
.photo_video:hover .photo_big{  
    -ms-transform: scale(1,1); /* IE 9 */
    -webkit-transform: scale(1,1); /* Chrome, Safari, Opera */
    transform: scale(1,1);
}
.photo_big{
    -ms-transform: scale(0,0); /* IE 9 */
    -webkit-transform: scale(0,0); /* Chrome, Safari, Opera */
    transform: scale(0,0);
    width: 40px;
    height: 40px;  
    background-position: center -1050px;
    background-color: #ffa800;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -20px;
    margin-left: -20px;    
    z-index: 10;
    -webkit-transition:0.2s all;
    -moz-transition:0.2s all;
    transition:0.2s all;
}
/* custom_video.tpl */
.custom_video{
    width: 210px;
    height: 250px;
    background-color:#303030;
    float: left;
    overflow: hidden;
    margin: 0 10px 30px 0;
}
.custom_video:nth-of-type(4n){
	margin: 0 0 10px 0;
}
.custom_video .post_img{
    height: 140px;
}
.custom_video .post_img:before, .photo_video .post_img:before{
	content: "";
	display: block;
	position: absolute;
	width: 100%;
	height: 25%;
	bottom: 0;
	left: 0;
    -webkit-transition:0.2s all;
    -moz-transition:0.2s all;
    transition:0.2s all;
    background: -moz-linear-gradient(bottom,  rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%); /* FF3.6+ */
    background: -webkit-linear-gradient(bottom,  rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(bottom,  rgba(0,0,0,0.8) 0%,rgba(0,0,0,0) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(bottom, rgba(0,0,0,0.8) 0%,rgba(0,0,0,0) 100%); /* IE10+ */
    background: linear-gradient(to top,  rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='rgba(0,0,0,0.8)', endColorstr='rgba(0,0,0,0)',GradientType=0 ); /* IE6-9 */
}
.custom_video:hover .post_img:before, .photo_video:hover .post_img:before{ 
	height: 100%;   
}
.custom_video a{
    text-decoration: none;
}
.video_title{
    color: #fff;
    line-height: 18px;
    font-size: 16px;
    padding: 20px;
    max-height: 112px;
    overflow: hidden;
    -webkit-transition:0.2s all;
    -moz-transition:0.2s all;
    transition:0.2s all;
}
.custom_video:hover .video_title{
	color: #ffa800;
}
.play_icon{
    width: 40px;
    height: 40px;
    background-position: center -580px;
    position: absolute;
    top: 50%;
    left: 0;
    margin: -20px 0 0 0;
    z-index: 10;
    -webkit-transition:0.2s all;
    -moz-transition:0.2s all;
    transition:0.2s all;
    background-color: rgba(255,255,255,0.2);
}
.custom_video:hover .stories_counts{
    bottom: 0;
}
.custom_video:hover .play_icon, .photo_video:hover .play_icon{
    bottom: 100%;
    top: 50%;
    left: 50%;
    margin-top: -20px;
    margin-left: -20px;
    background-color: #ffa800;
}
.video_views{
    background-position: -14px -330px;
    padding: 0 0 0 15px;
    color: #909090;
    font-size: 12px;
    line-height: 12px;
    display: inline-block;
    margin-left: 10px;
}
/* custom_photo.tpl */
.custom_photo{
    width: 290px;
    height: 145px;
    display: inline-block;
    float: left;
    position: relative;
    overflow: hidden;
    border: 1px solid #fff;
}
.custom_photo:first-of-type, .custom_photo:nth-of-type(4n){
    width: 145px;
}
.custom_photo:last-of-type{
    margin: 0;
}
.custom_photo a{
    color: #fff;
}
.photo_img{
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-size: cover;
    background-position: center center;
}
.photo_img:before{
    display: block;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    -webkit-transition:0.2s all;
    -moz-transition:0.2s all;
    transition:0.2s all;
}
.photo_img:hover:before{
    background-color: transparent;
}   
.photo_title{
    font-size: 14px;
    line-height: 16px;
    width: 100%;
    text-decoration: none;
    position: absolute;
    padding:20px;
    bottom: 0;
    left: 0;
    -webkit-transition:0.2s all;
    -moz-transition:0.2s all;
    transition:0.2s all;
    background: -moz-linear-gradient(bottom,  rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%); /* FF3.6+ */
    background: -webkit-linear-gradient(bottom,  rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(bottom,  rgba(0,0,0,0.8) 0%,rgba(0,0,0,0) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(bottom, rgba(0,0,0,0.8) 0%,rgba(0,0,0,0) 100%); /* IE10+ */
    background: linear-gradient(to top,  rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='rgba(0,0,0,0.8)', endColorstr='rgba(0,0,0,0)',GradientType=0 ); /* IE6-9 */
}
.custom_photo:hover .photo_title{
    bottom: -100%;
}
.custom_photo:hover .stories_counts{
    bottom: 0;
}

/* custom3.tpl */
.custom3{
    margin: 0 0 15px 0;
    font-size: 16px;
    line-height: 18px;
    color: #303030;
}
.custom3 a{
    font-size: 16px;
    color: #303030;
    text-decoration: none;
}
.custom3 a:hover{
    color: #BF1113;
    text-decoration: none;
}
.custom3_date{
    color: #909090;
    font-size: 12px;
    line-height: 14px;
    display: inline-block;
}

/* custom_afisha.tpl */
.custom_afisha{
    margin: 0 0 15px 0;
}
.custom_afisha a{
    text-decoration: none;
    color: #303030;
}
.custom_afisha a:hover{
    color: #BF1113;
}
.custom_afisha .post_img{
    width: 80px;
    height: 80px;
    float: left;
    margin: 0 15px 0 0;
}
.custom_afisha a:hover .news_counts{
    bottom: 0;
}
.afisha_title{
    color: #303030;
    font-size: 16px;
    line-height: 18px;
    margin: 0 0 10px 95px;
}
.afisha_content{ 
    margin: 0 0 0 95px;
    font-size: 12px;
    color: #909090;
}

.catalog{

}
.catalog ul{
    list-style: none;
    width: 25%;
    float: left;
}
.catalog li{    
    padding: 0 0 4px 0;
}
.catalog li a{
    color: #303030;
    font-size: 16px;
    line-height: 18px;
    text-decoration: none;
}
.catalog li a:hover{
    color: #BF1113;
    text-decoration: underline;
}

/* FOOTER    */
.footer {
    background-color: #303030;
    font-size: 14px;
    color: #aaa;
    padding:30px 0;
}
.footer a{
    text-decoration:none;
    color: #fff;
    font-size: 14px;
}
.footer a:hover{
    text-decoration:none;
    color: #ffa800;
}
.footer_nav{
    margin: 0 0 15px 0;
}
.footer_nav ul{
    list-style: none;
}
.footer_nav li{
    margin: 0 40px 0 0;
    display: inline-block;
}
.footer_nav li:last-of-type{
    margin:0;
}
.footer_nav li a{
    float:left;
    display: block;
    font-size: 13px;
    text-transform: uppercase;
}
.footer_links{
    width: 200px;
    padding: 0 15px 0 0;
    float: left;
}
.footer_links ul{
    list-style: none;
}
.footer_links li{
    display: block;
    margin: 0 0 5px 0;
}
.footer_links a{
    font-size: 14px;
    line-height: 16px;
}
.about{
    margin: 0 0 15px 200px;
    font-size: 12px;
    line-height: 18px;
}
.about a{    
    font-size:12px;
}
.about em{
    display: inline-block;
    border: 1px solid #707070;
    line-height: 24px;
    width: 28px;
    padding: 4px 0 0 0;
    text-align: center;
    font-style: normal;
    margin: 0 5px 5px 0;
}
.counters{
    height:33px;
}
.left-rek {
	position: relative;
	left: -90px;
}
.left_col{
    float: left;
    width: 210px;
}
.mid_col{
    width: 630px;
    margin-left: 30px;
    float: left;
}

.speedbar{
    line-height:20px;
    font-size: 15px;
    color: #909090;
    margin: 0 0 20px 0 !important;
}
.speedbar a{
    display:inline-block;
    font-size: 15px;
    text-decoration: none;
    color: #BF1113;
}
.speedbar a:hover{
    color: #505050;
}

.sort{
    margin: 0 0 30px 0;  
    color: #aaa;
    line-height: 20px;
    font-size: 14px;
}
.sort a{
    text-decoration: none;
    color: #BF1113;
    font-size: 16px;
}
.sort a:hover{
    color: #ffa800;
}
/* shortspry.tpl */
.shortstory{
    width:100%;
    position: relative;
    overflow: hidden;
    margin: 0 0 30px 0;
}
.shortstory a{
    color: #303030;
    text-decoration: none;
}
.shortstory a:hover{
    color: #BF1113;
    text-decoration: none;
}
.shortstory .post_img{
    width: 120px;
    height: 90px;
    float: left;
    margin: 0 15px 0 0;
}
.short_title{
    font-size: 20px;
    line-height: 24px;
    font-weight: normal;
    margin: 0 0 5px 0;
}
.short_title a{
    text-decoration: none;
    -webkit-transition:all 0.1s ease;
    -moz-transition:all 0.1s ease;
    transition: ease 0.1s all;
    color: #202020;
    font-size: 20px;
}
.short_title a:hover{
    color: #BF1113;
}
.short-story_post{
    font-size: 14px;
    line-height: 18px;
    color: #909090;
}
.short_text{
    width: auto;
    float: none;
}


/* shortstory3.tpl */
.shortstory2{
    margin: 0 0 30px 0;
}
.short_title2{
    font-size: 24px;
    line-height: 28px;
    color: #202020;
    font-weight: normal;
    margin: 0 0 15px 0;
}
.short_title2 a{
    text-decoration: none;
    -webkit-transition:all 0.1s ease;
    -moz-transition:all 0.1s ease;
    transition: ease 0.1s all;
    color: #202020;
    font-size: 24px;
}
.short_title2 a:hover{
    color: #BF1113;
}
.shortstory2 .post_content{
    margin-bottom: 10px;
}
.read_more a{
    font-size: 14px;
    text-decoration: none;
    border:1px solid #ddd;
    display: inline-block;
    padding: 3px 10px 0 10px;
    line-height: 27px;
    -webkit-transition:all 0.1s ease;
    -moz-transition:all 0.1s ease;
    transition: ease 0.1s all;
    text-transform: uppercase;
}
.read_more a:hover{    
    border-color:#BF1113;
}

/* searchresults.tpl */
.shortresult{
    margin: 0 0 15px 0;
    color: #909090;
    font-size: 16px;
}
.shortresult a, .shortresult b{
    font-size: 18px;
    text-decoration: none;
    font-family: "PT Sans Bold";
}
.shortresult b{
    color: #BF1113;
}
/* navigation.tpl */
.navigation-holder{
    text-align: center;
    clear: both;
    height: 50px;
    margin: 40px 0 40px 0;
}
.navigation{
    color:#000;
    font-size:16px;
    clear:both;
    display: inline-block;
    text-align: center;
    font-family: "PT Sans Bold";
}   
.navigation b{
    padding-top: 0 !important;

}
.navigation span, .navigation a, .navigation b{ 
    height: 40px;
    line-height: 40px;
    padding-top: 2px;
    vertical-align: middle;
    min-width:40px;
    font-size:14px;
    float:left;
    border: 1px solid transparent;
}
.navigation a{
    line-height:40px;
    color:#BF1113;
    text-decoration: none;
    -webkit-transition:all 0.1s ease;
    -moz-transition:all 0.1s ease;
    transition: ease 0.1s all;
}
.navigation a:hover{
    text-decoration:none;
    color:#BF1113;
    border:1px solid #BF1113;
}
.navigation span {    
    text-decoration:none;
    color:#BF1113;
    border:1px solid #BF1113;
}
.nav_ext{
    background-color: transparent !important;
    color: #202020 !important;    
    border-color:transparent !important;
}
.next,.prev{
    line-height: 40px !important;
}
.next span,.prev span{
    background:none !important;
    color:#909090;
    border:0 !important;
    line-height: 40px !important;
}
.next a, .prev a{
    text-decoration:none !important;
    font-weight: bold;
    color: #BF1113;
}
.next a:hover, .prev a:hover{
}



.post_content{
    font-size: 16px;
    color: #202020;
    margin-bottom: 30px;
}
.post_content a{
    font-size: 16px;
    color: #BF1113;
    text-decoration: underline;
}
.post_content a:hover{
    text-decoration: none;
}
.post_content img{
    max-width: 100%;
    padding:0px !important;
    padding: 10px\9;
    height: auto !important;
    margin-right: 10px !important;
    margin-bottom: 10px !important;
}
.ie10 .post_content img{
    padding: 10px;
}
.post_content object, .post_content iframe, .post_content embed{
    max-width: 100%;
    margin: 15px 0;
}
.post_content img[align="left"], .post_content img[style="float:left;"]{
    padding: 10px 30px 10px 0;
}
.post_content img[align="right"], .post_content img[style="float:right;"]{
    padding: 10px 0 10px 30px;
}
.post_content a:hover img{
    opacity:.8;
}
.post_content h1, .post_content h2, .post_content h3, .post_content h4, .post_content h5, .post_content h6{
    color:#000;
    font-family:"PT Sans Bold";
    margin:10px 0;
}
.post_content hr{
    background-color:#d9e1e3;
    border:none;
    height:1px;
    margin:0 0 20px;
}
.post_content table{
    border-collapse:collapse;
    border:none;
    font-size:14px;
    width:100%;
    table-layout:fixed;
    margin-bottom:25px;
    color: #505050;
}
.post_content table th,.post_content table td{
    padding:10px;
    border:1px solid #ddd;
    font-weight:normal;
    text-align:left;
    vertical-align:middle;
}
.post_content table tr:first-child{
    background-color: #fafafa;
    color: #202020;
}
.post_content ul{
    margin:0 20px 20px 20px;
}

.post_content ul li{
    display:block;
    position:relative;
    padding:5px 0 0 25px;
    margin-bottom:5px;
    line-height: 1.2;
}

.post_content ul li strong{
    font-family:'PT Sans Bold';
}

.post_content ul li a{
    color:#BF1113;
    text-decoration:underline;
}

.post_content ul li a:hover{
    text-decoration:none;
}

.post_content ul li:before{
    content: '';
    display: block;
    width: 6px !important;
    height: 6px !important;
    position: absolute;
    top: 10px;
    left: 4px;
    background-color: #505050;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
}

.post_content ol{
    margin:0 20px 20px 20px;
    counter-reset:list;
}

.post_content ol li{
    display:block;
    position:relative;
    padding:5px 0 0 20px;
    font-family:'PT Sans Regular';
    margin-bottom:5px;
    counter-reset:list1;
    min-height:32px;
}

.post_content ol li strong{
    font-family:'PT Sans Bold';
}

.post_content ol li a{
    color:#BF1113;
    text-decoration:underline;
}

.post_content ol li a:hover{
    text-decoration:none;
}

.post_content ol li:before{
    content:counter(list)".";
    counter-increment:list;
    display:block;
    position:absolute;
    top:5px;
    left:-2px;
    color:#BF1113;
}
/*.post_content p{
    margin:0 0 10px 0;
}
.post_content b, .post_content strong{
    font-weight: normal;
    font-family: "PT Sans Bold";
}*/

/* pm.tpl */
.pm_aside{
    width: 100%;
    background-color: #202020;
    color: #909090;
    margin: 0 0 30px 0; 
}
.pm_main{
    overflow: hidden;
}
.pmlinks{

}
.pmlinks a{
    width: 33.33333%;
    display:block;
    float: left;
    height:40px;
    padding:10px 0 10px 40px;
    line-height:20px;
    color:#aaa;
    text-decoration:none;
    border-bottom: 1px solid #404040;
    border-left: 1px solid #404040;
    vertical-align: middle;
}
.pmlinks a:hover{
    color:#fff;
    background-color:#303030;
}
.pmlinks a:hover:before{
    opacity: 1;
}
.pmlinks a:before{
    content: "";
    height: 20px;
    width: 20px;
    display: block;
    margin: 0 0 0 -30px;
    position: absolute;
    opacity: 0.5;
}
.pmlinks a[href*="inbox"]:before{
    background-position: center -940px;
}
.pmlinks a[href*="outbox"]:before{
    background-position: center -980px;
}
.pmlinks a[href*="newpm"]:before{
    background-position: center -1020px;
}
.pm_status {
}
.pm_status_content {
    padding: 15px 20px;
    font-size: 14px;
}
/*---прогресс бар---*/
.pm_progress_bar {    
    height:30px;
    width:100%;
    background-color: #151515;
}
.pm_progress_bar span {
    background:#ffa800;
    font-size: 0em;
    text-indent: -2000em;
    height: 30px;
    display: block;
    overflow: hidden;

}

/* 
 * ========================================
 * Персональные сообщения
 * ========================================
 */ 
table.pm td{
    border-top:1px solid #eee;
    height:40px;
}
table.pm tr:first-child td, table.pm tr:last-child td{
    border-top: 0;
}
.pm .bbcodes{
    line-height: 30px !important;
    height: 30px;
    padding: 0 10px;
}
.pm_head {
    font-size:18px; 
    line-height: 30px;
    font-family: "PT Sans Bold";
    color:#303030;
    text-decoration:none;

}
.pm td input[type="checkbox"]{
    vertical-align: middle;
}
.pm_list {
    color: #909090;
    font-family: tahoma;
    }
.pm_list a {
    color: #BF1113;
    text-decoration:none;
}
.pm_list:last-child, .pm_head:last-child{
    text-align: center;
}
.pm_sub{
    color:#909090;
    padding:10px;
    margin: 20px 0 0 0;
    font-size: 14px;
    font-style: normal;
    background-color: #f5f5f5;
}
.pm_sub a{
    color: #BF1113;
    font-size: 14px;
}


/* profile_popup.tpl */
.avatar_bg{
    width: 100%;
    height: 150px;
    position: relative;
    z-index: 1;
    background-size:cover;
    background-position: center center;    
    background: -moz-linear-gradient(left,  #BF1113 0%, #ffa800 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right top, color-stop(0%,#BF1113), color-stop(100%,#ffa800)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(left,  #BF1113 0%,#ffa800 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(left,  #BF1113 0%,#ffa800 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(left,  #BF1113 0%,#ffa800 100%); /* IE10+ */
    background: linear-gradient(to right,  #BF1113 0%,#ffa800 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#BF1113', endColorstr='#ffa800',GradientType=0 ); /* IE6-9 */
}
.avatar_bg:before{
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 2;
}
.avatar_popup{
    width:70px;
    height:70px; 
    background-size: cover; 
    background-position: center center;
    overflow: hidden;
    z-index: 3;
    position: absolute;
    margin: 0 0 0 -35px;
    left: 50%;
    top: 15px;
    outline:5px solid rgba(0,0,0,0.1);
}
.avatar_hover_content{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 15px;
    line-height: 15px;
    z-index: 2;
    color: #fff;
    text-shadow:0 1px 0 rgba(0,0,0,0.3);
}
.avatar_hover_content b{
    font-family: "PT Sans Bold";
    font-weight: normal;
}
.userinfo_left{
    width: 50%;
    float: left;
    height: 100%;
    padding: 0 50px 0 0;
    font-size: 13px;
}
.userinfo_left > div, .userinfo_right div{
    margin: 0 0 10px 0;
}
.userinfo_right .ratebox2{
    float: right !important;
}
.userinfo_right{
    width: 50%;
    float: right;
    height: 100%;
    padding: 0 0 0 50px;
    text-align: right;
    font-size: 13px;
}
.profile_popup_counters{
    background-color: rgba(0,0,0,0.5);
    height: 50px;
    width: 100%;
    color: #fff;
    position: absolute;
    z-index: 4;
    left: 0;
    bottom: 0;
}
.profile_popup_counter{
    width: 40%;
    height: 50px;
    float: left;
    padding: 15px;
    font-size: 14px;
    text-align: center;
    line-height: 20px;
    display: block;
    position: relative;
}
.profile_popup_counter b{
    font-size: 24px;
    font-family: "PT Sans Bold";
}
.profile_popup_counter a{
    position: absolute;
    display: block;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    color: #BF1113;
    text-align: center;
    line-height: 50px;
    text-indent: -9999px;

}
.profile_popup_counter a:hover{
    background-color: rgba(0,0,0,0.2);
}
.profile_popup_rss{
    width: 20%;
    float: left;
    height: 50px;
    border-left: 1px solid rgba(0,0,0,0.2);
    border-right:1px solid rgba(0,0,0,0.2);
    color: #fff;
}
.profile_popup_rss a{
    font-size: 24px !important;
    font-family: "PT Sans Bold";
    line-height: 50px;
    color: #fff !important;
    text-decoration: none;
    display: block;
    text-align: center;
}
.profile_popup_rss a:focus{
    outline: none;
}
.profile_popup_rss a:hover{
    background-color: rgba(0,0,0,0.1);
}


/* addnews.tpl */
.chzn-choices {
    border:1px solid #ccc !important;
    width:250px !important;
    box-shadow:none !important;
}
.chzn-container-active .chzn-choices {
    box-shadow:none;
    border:1px solid #BF1113 !important;
}
#category_chzn{
    width: 250px !important;
}
td .bbcodes{
    height: 40px;
    line-height: 40px !important;
    padding: 0 15px;
    -webkit-border-radius:2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}
.chzn-container-multi .chzn-choices .search-field input {
    height: auto !important; 
}
/* */

/* Feedback.tpl */
.feedbackta{
    width:250px;
    padding: 5px;
    height: 150px;
}
select[name="recip"]{
    height: 40px;
    padding: 10px;
    line-height: 20px; 
    width: 250px; 
}
select[name="recip"] option{
    line-height: 20px;
}

/* poll.tpl */
.poll{
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding:20px 0;
    margin:10px 0;
}
.poll b{
    font-size:22px;
    line-height:20px;
    color:#BF1113;
    font-family: "PT Sans Regular";
    font-weight: normal;
    text-transform: uppercase;
}
.poll i{
    line-height:30px;
}



/* Buttons */
.buttonholder{
    margin: 20px 0 0 0;
}
.site_button{
    cursor: pointer;
    -webkit-transition:all 0.2s ease;
    -moz-transition:all 0.2s ease;
    transition: ease 0.2s all;
    font-size: 14px;
    text-transform: uppercase;
    padding: 2px 15px 0 15px;
    line-height: 38px;
    height: 40px;
    color: #fff;
    background-color: transparent;
}
.site_button:active{
    background-color: rgba(0,0,0,1);
}
.site_button:hover{
    background-color: #404040;
    color: #fff;
}
.dark_button{    
    margin: 0 30px 0 0;
    border:2px solid #202020;
    color: #202020;
}
.color_button{
    border:2px solid #BF1113;
    color: #BF1113;
}
.color_button:hover{
    border:2px solid #000;
}



/* fullstory.tpl */
.full-story, .tagscloud{
    width:100%;
    padding:0 0 30px 0;
    color:#202020;
    font-size:16px;
    line-height:150%;
}
.tagscloud a{    
    color:#BF1113;
}
.post_title{
    font-size:36px;
    color:#202020;
    text-decoration:none;
    line-height:40px;
    margin-bottom:25px;
    position:relative;
}
.post_title a{
    color:#202020;
    font-size:36px ;
    text-decoration:underline;
}
.post_title a:hover{
    color:#BF1113;
    text-decoration:underline;
}
.article_img{
    position:relative;
    width: 100%;
    margin: 0 0 20px 0;
}
.article_img img{
    width: 100%;
    height: auto;
    display: block;
    z-index: 1;
}
.photo_source{
    width: 100%;
    font-size: 12px;
    position: absolute;
    bottom: 0;
    left: 0;
    color: #fff;
    text-shadow:0 1px 1px #000;
    padding: 20px;
    line-height:15px;    
    background: -moz-linear-gradient(bottom,  rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 100%); /* FF3.6+ */
    background: -webkit-linear-gradient(bottom,  rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(bottom,  rgba(0,0,0,0.5) 0%,rgba(0,0,0,0) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(bottom, rgba(0,0,0,0.5) 0%,rgba(0,0,0,0) 100%); /* IE10+ */
    background: linear-gradient(to top,  rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='rgba(0,0,0,0.5)', endColorstr='rgba(0,0,0,0)',GradientType=0 ); /* IE6-9 */
    z-index: 2;
}
.article_img_info{
    width: 100%;
    z-index: 3;    
}
.article_img_item{
    font-size: 14px;
    color: #909090;
    line-height: 20px;
    margin: 0 15px 0 0;
    float: left;
}
.article_img_item a{
    color: #ffa800;
    text-decoration: none;
    font-size: 14px;
}
.article_img_item a:hover{
    text-decoration: underline;
}
.article_img_item.views{
    background-position: 0 -518px;
    padding: 0 0 0 15px;
}
.article_img_item.comments-num{
    background-position: 0 -558px;
    padding: 0 0 0 15px;
}
.article_img_info.grad_bg{
    position: absolute;
    top: 0;
    left: 0;
    text-shadow:0 1px 1px rgba(0,0,0,0.5);
    padding: 20px;
    background: -moz-linear-gradient(top,  rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 100%); /* FF3.6+ */
    background: -webkit-linear-gradient(top,  rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(0,0,0,0.5) 0%,rgba(0,0,0,0) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, rgba(0,0,0,0.5) 0%,rgba(0,0,0,0) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='rgba(0,0,0,0.5)', endColorstr='rgba(0,0,0,0)',GradientType=0 ); /* IE6-9 */
}
.article_img_info.grad_bg .article_img_item{
    color: #fff !important;
}
.article_img_info.grad_bg .article_img_item.views{
    background-position: -14px -328px !important;
}

.article_img_info.grad_bg .article_img_item.comments-num{
    background-position: -14px -368px !important;
}

.full_post_meta{
    padding:0 0 25px 0;
    color: #909090;
    font-size: 12px;
}
.full_post_meta a{
    font-size: 12px;
    color: #BF1113;
    text-decoration: none;
}
.full_post_meta a:hover{
    color: #202020;
}
.full_post_meta_item{
    margin: 0 20px 0 0;    
    line-height: 20px;
    min-height: 20px;
    text-transform: uppercase;
    display: block;
    float: left;
}
.full_post_meta_item.full_counters{
    margin-top: -7px;
}

.service_buttons{
    height: 40px;
    float: right;
}
.service_buttons a{
    float: left;
}
.service_buttons a:last-of-type{
    margin: 0;
}
.service_buttons i{
    height: 40px;
    width: 40px;
    display: block;
    border:1px solid #bbb;
    -webkit-transition:all 0.2s ease;
    -moz-transition:all 0.2s ease;
    transition: ease 0.2s all;
    position: relative;
    opacity: 0.5;
}
.service_buttons i:hover{
    opacity: 1;
}
i.edit_button{
    margin: 0 0 0 -1px;
    background-position: center -710px;
}
i.print_button{
    background-position: center -750px;
}
.full_post_tags a{
    text-decoration: none;
    color: #909090;
}
.full_post_tags a:hover{
    color: #303030;
}
.full_images{
    width: 100%;
    margin: 30px 0;
}
.full_images h5{
    font-size: 20px;
}
.full_images img{
    margin: 0 !important;
    padding: 0 !important;
    width: 20%;
    float: left;
    outline: 1px solid #000;
    -webkit-transition:opacity 0.2s ease;
    -moz-transition:opacity 0.2s ease;
    transition: opacity 0.2s ease;
}
.full_images img:hover{
    outline: 1px solid #ff8000;
}
.full_images br{
    display: none;
}


/* related.tpl */
 .comments{
    margin: 30px 0 0 0;
}
.related_news_post{
    width:200px;
    height: 133px;
    margin: 0 15px 15px 0;
    float: left;
    overflow: hidden;
}
.related_news_post:nth-of-type(3n){
    margin-right: 0;
}
.related_news_post .post_img:before{
    background-color: rgba(0,0,0,0);
}
.related_news_post:hover .post_img:before{
    background-color: rgba(0,0,0,0.2);
}
.related-news{
    width:100%;
    height: 100%;
}
.related_title{
    position: absolute;
    bottom: 0;
    left: 0;
    width:100%;
    height: auto;
    padding: 20px;
    text-shadow:0 1px 1px #000;
    -webkit-transition:0.2s all;
    -moz-transition:0.2s all;
    transition:0.2s all;
    background: -moz-linear-gradient(bottom,  rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%); /* FF3.6+ */
    background: -webkit-linear-gradient(bottom,  rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(bottom,  rgba(0,0,0,0.8) 0%,rgba(0,0,0,0) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(bottom, rgba(0,0,0,0.8) 0%,rgba(0,0,0,0) 100%); /* IE10+ */
    background: linear-gradient(to top,  rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='rgba(0,0,0,0.8)', endColorstr='rgba(0,0,0,0)',GradientType=0 ); /* IE6-9 */
}
.related_news_post:hover .related_title{
    height: 0;
    padding: 0 20px;
}
.related_news_post a{
    font-size: 14px;
    line-height: 16px;
}
.related_news_post a:hover{
    color: #fff;
}
/* addcoments.tpl*/
.addcomment-post{
    color: #909090;
}
.addcomment_editor{
    width: 390px;
    min-width: 300px;
    height: 60px;
    min-height: 60px;
    margin: 0 0 10px 0;
}



/* comments.tpl */
.comment{
    margin: 0 0 40px 0;
    position: relative;
}
.comment a{
    color:#BF1113;
    text-decoration:none;
}
.comment a:hover{
    text-decoration:underline;	
}
.comment_avatar{
    width:60px;
    height: 60px;
    background-size: cover;
    background-position: center center;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    overflow: hidden;    
    position: absolute;
    top: 0 ;
    left: 0;
    border-radius: 5px;
}
.author_offline{
    border:3px solid #ccc;
}
.author_online{
    border:2px solid #a6e538;
}
.comment_content{    
    width: 100%;
    padding-left: 75px;
}
.comment-news a{
    text-decoration:underline;
    margin:0 0 10px 0 !important;
    display: inline-block;
    font-size: 18px;
}
.comment-news a:hover{
    text-decoration:none;
    color:#BF1113;
}
.comment_meta{
    height: 14px;
    line-height: 14px;
    font-size: 14px;
    color: #aaa;
    margin: 0 0 10px 0;
}
.comment_meta span a{
    line-height: 16px;
}
.comment_author{
    font-size: 14px;
    color: #202020;
}
.comment_author a{
    font-size: 16px;
    font-family: "PT Sans Bold";
}
.comment_author a:hover{
    color:#202020;
    text-decoration: none;
}
.comment_date{
    margin: 0 0 0 15px;
}
.mass-action{
    margin:-2px 0 0 10px;
    height:14px;
    float:right;
}
.mass-action input[type="checkbox"]{
    margin: 0;
}
.comment_post{
    font-size: 16px;
    line-height: 18px;
    color: #303030;
}
.comment_post a{
    font-size: 16px;
}
.comment_controls{
    margin: 10px 0 0 0;
    height: 12px;
    line-height: 12px;
}
.comment_controls a{
    font-size: 12px;
    margin:0 10px 0 0;
    color: #bbb;
    font-family: "PT Sans Bold";
}
.comment_controls a:hover{
    color: #202020;
    text-decoration: none;
}
.mass_comments_action{
    color:#909090;
}
.mass_comments_action select[name="mass_action"]{
    height: 22px;
    border-color: #ccc;
}

/* Rating */
.ratebox .rating{
    margin: -2px 15px 0 0;
}
.ratebox2{
    height: 12px;
    font-size: 11px;
    float: left;
    margin: -2px 0 0 0;
}
.rating-plus{
    background-position: center -630px;
}
.rating-minus{
    background-position: center -650px;
    margin-top: 3px;
}
.rating-plus, .rating-minus{
    width: 12px;
    height: 12px;
    float: left;
    margin-right:5px;
    opacity: 0.3;    
}
.rating-plus:hover, .rating-minus:hover{
    opacity: 0.8;
}
.rating-count{
    float: left;
    line-height: 10px;
    height: 12px;
    padding: 3px 0 0 0;
    margin-right:5px;
}
.rating-count span{
    display: inline-block;
}
.ratingzero {
  color: #909090;
}
.ratingtypeplusminus {
  padding: 0px 5px;
}
.ratingtypeplus {
  padding: 0px 0px 0px 5px;
}
.ratingplus {
  color: green;
}
.ratingminus {
  color: red;
}
.ratebox3{
    height: 40px;
    font-size: 14px;
    color: #BF1113;
    float: left;
}
.rating-plus-big{
    line-height: 38px;
    height: 38px;
    border:1px solid #bbb;
    color: #000;
    background-position: 0 -673px;
    padding: 0 10px 0 40px;  
    font-size: 14px;
    opacity: 0.8;
}
.rating-plus-big:hover{
    opacity: 1;
    border-color: #ffa800;
    color: #ffa800;
}
.ratebox3 a{
    text-decoration: none;
}

.info{
    margin: 0 0 25px 0;
    color:#aaa;
    padding:25px;
    font-size:14px;
    line-height: 1.2;
    border:1px solid #eee;
}
.info a{
    color:#BF1113;
    font-size: 14px;
    text-decoration: none;
}
.info a:hover{
    color: #303030;
}

/* registration.tpl */
form#registration .bbcodes{
    height: 40px;
    padding: 0 15px;
    line-height: 20px;
    font-size: 16px;
    font-family: "PT Sans Bold";
    vertical-align: middle;
}

/* userinfo.tpl */
.userinfo .post_content{
    float: none;
}
.profile_cell{
    width: 50%;
    height: 56px;
    line-height: 56px;
    text-align: center;
    float: left;
    border:1px solid #ddd;
    border-top: 0 !important;
    color: #909090;
    font-size: 20px;
    position: relative;
}
.profile_cell:nth-of-type(2n){    
    border-left:0 !important;
}
.profile_cell a{
    display: block;
    width: 100%;
    height: 100%;
    line-height:56px;
    font-size: 20px;
    text-align: center;
    background-color: rgba(0,0,0,0.1);
    color: #BF1113;
    text-decoration: none;
    -webkit-transition:all 0.2s ease;
    -moz-transition:all 0.2s ease;
    transition: ease 0.2s all;
}
.profile_cell a:hover{
    background-color: rgba(0,0,0,0.7);
    color: #fff;
}
.profile_cell.location{    
    padding: 0 20px 0 30px;
    width: 100%;
}

.edit_button a{
    display: block;
    text-align: center;
    -webkit-transition:all 0.2s ease;
    -moz-transition:all 0.2s ease;
    transition: ease 0.2s all;
    border:1px solid rgba(0,0,0,0.3);
    background-color: transparent;
    color: #202020;
    height: 50px;
    line-height: 50px !important;
    text-decoration: none;
    padding: 0 10px;
    font-family: "PT Sans Bold";
    margin: 0 0 40px 0;
}
.edit_button a:hover{
    background-color: rgba(0,0,0,0.8);
    color: #fff;
}
.block_ip{
    font-size: 12px;
}
.file_upload{
    display: inline-block;
    cursor: pointer;
    -webkit-transition:all 0.2s ease;
    -moz-transition:all 0.2s ease;
    transition: ease 0.2s all;
    overflow: hidden;
    width: 150px;
    position: relative;
}
.file_upload span{
    display: block;
    position: absolute;
}
.file_upload:hover{
    border: 1px solid #000;
    background-color: rgba(0,0,0,0.8);
    color: #fff;
}
.file_upload input[type="file"]{
    margin-top: -50px; 
    margin-left:-410px; 
    -moz-opacity: 0; 
    filter: alpha(opacity=0); 
    opacity: 0; 
}
.hidemail{
    line-height: 40px;
    display: inline-block;
    margin: 0 0 0 10px;
}
.block_ip{
    margin: 10px 0 0 0;
}

/* vote.tpl */
.vote{
    font-size: 14px;
    line-height:150%;
    width:auto !important;
}
.question{
    font-size: 18px;    
    color:#202020;
    font-family: "PT Sans Bold";
    margin:20px 0 15px 0;
}
#dle-vote{
    margin: 0 0 20px 0;
}
.vote_button{    
    border: 2px solid #BF1113;
    color: #BF1113;
    margin: 0 30px 0 0;
}
.vote_button, .results_button{
    height: 40px;
    padding: 3px 15px 0 15px;
    text-align: center;
    text-transform: uppercase;
    font-family: "PT Sans Bold";
    font-size: 14px;
    float: left;
    -webkit-transition:all 0.2s ease;
    -moz-transition:all 0.2s ease;
    transition: ease 0.2s all;
    line-height: 36px;    
    background-color:transparent;
}
.results_button{
    border: 2px solid #ffa800;
    color: #ffa800;
}
.results_button:hover, .vote_button:hover{
    border-color: #303030;
    color: #fff;
    background-color: #505050;
}

table.fulltable{
    width:100%;
    border-collapse: collapse;
    border-spacing: 0;
    cellspacing:0;
    border:0;
}
table.fulltable td{
    padding:0 0 15px 0;
    line-height: 40px;
    min-height: 40px;
    vertical-align: top;
}
.line{
    margin:5px 0;
    padding:5px 15px;
    border:1px solid #e0e0e0;
    background:#fafafa;
    min-height:20px;
    text-align:left;
    font-size:13px;
}
.sline, .addnews{
    width:140px;
    font-size:16px;
}
.pline{
    width:400px;
    min-height:15px;
    line-height:15px;
    text-align:left;
}
.import{
    color:#BF1113;
}
.line a{
    color:#BF1113;
}
.row{
    font-size:13px;
    margin:5px 0;
    padding:5px;
    border:1px solid #eee;
    background:#fafafa;
}
.row a{
    color:#BF1113;
}
.row h{
    min-width:150px;
    padding:3px;
    margin:0 0 10px 0;
}
.userstop{
    font-size:11px;
    color:#505050;
    border-collapse:collapse;
}
.userstop thead {
    padding:5px 0 0 5px;
    height:20px;
    font-size:12px;
    color:#303030;
    background:#eee;
    background: linear-gradient(to top, #eee, #fff);
}
.userstop table {
    border-collapse:collapse;
}
.userstop td {
    text-align:center;
    height:25px;
    padding:0px;
    border:1px solid #ccc;
}
.userstop a {
    font-size:11px;
    text-decoration:none;
    color:#BF1113;
}
.userstop a:hover {
    text-decoration: none;
}
.stat{
    color:#707070;
    font-size:13px;
    min-height:15px;
    margin:0 20px 0 20px;
    padding:2px 0 5px 0;
    border-bottom:1px solid #e0e0e0;
    font-family: "PT Sans Bold";
}
.stat span{
    float:right;
    font-weight:normal;
    font-family: "PT Sans Regular";
}
.stat a{
    font-size:13px;
    text-decoration:none;
}
.h-row{
    color:#505050;
    background:#f1f1f1;
    font-family: "PT Sans Bold";
    padding:0 0 0 15px;
    margin:10px 0 0 0;
    line-height: 30px;
}

 textarea, .txsh, .input1, .input2, .input3, .input4, .xfields input[type="text"], input.default{
    border:1px solid #ccc;
    line-height:20px;
    background:#fff;	
    -webkit-transition:all 0.1s ease;
    -moz-transition:all 0.1s ease;
    transition: ease 0.1s all;
    padding:10px;
    color: #303030;
}
.txsh, .input1, .input2, .input3, .xfields input[type="text"], input.default{ 
    height:40px ;
    line-height: 20px;
}
textarea{
    min-height: 100px;
}
textarea:focus, .txsh:focus, .input1:focus, .input2:focus, .input3:focus, .search #searchinput:focus, .search #searchuser:focus, .field:focus, .field:hover, .xfields input[type="text"]:focus, input.default:focus{
    box-shadow:none;
    border:1px solid #909090 !important;
}
.input1, .xfields input[type="text"], input.default{
    width:250px ;  
    font-size:13px;
    color:#707070;
}
.input2{
    width:100px;
    font-size:12px;
}
.input3{
    width:223px;  
    font-size:12px; 
    margin: 0 10px 0 0;
}
.input4{
    font-size:13px;	
    height:100px;
    width:250px;
}
.clear {
    margin:0;
    padding:0;
    height:0px;
    clear:both;
    width:100%;
}
table{
    background:transparent;
    border:0px;
    border-collapse:separate;
}
table td{
    text-align:left;
    padding:0px;
    background:transparent;
}
select {
    font-size: 12px;
    font-family: Arial;
}
.stext {
    color: #727272;
    font-size: 11px;
    font-family: tahoma;
}
.stext a:active,
.stext a:visited,
.stext a:link {
    color: #0084ff;
    text-decoration:none;
}
.stext a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}
.ntitle {
    color: #CC00FF;
    font-size: 15px;
    font-family: tahoma;
    font-weight: bold;
    padding:11px 0 0 6px;
}
.ntitle a {
    color: #0084ff;
    text-decoration: underline;
}
.ntitle a:hover {
    text-decoration:none;
}
.ui-dialog fieldset{
    padding:5px;
    color:#BF1113;
    border:1px solid #ddd;
    margin: 0 0 10px 0;
}
#totop{
    width:60px;
    height: 40px;
    background-color: #BF1113;
    background-position: center -1090px;
    border: 2px solid #BF1113;
    text-align:center;
    padding:5px;
    position:fixed;
    bottom:10px;
    right:10px;
    cursor:pointer;
    display:none;
        -webkit-transition:0.2s all;
    -moz-transition:0.2s all;
    transition:0.2s all;
    opacity: 0.6;
}
#totop:hover{
    opacity: 1;
}
.attachment{
    position: relative;
    padding:0 0 5px 20px;
    line-height:16px;
}
.attachment:before{
    content: "";
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 14px;
    height: 16px;
    background-position: center -910px;
}

html,body{
margin:0;
padding:0;
background-color:white;
}

.gnezdo_header{ 
font-family:verdana,sans-serif;
font-size:11px;
color:gray;
margin:3px;
border-bottom:0px solid gray;
}

.gnezdo_cell, .gnezdo_td{
vertical-align:top;
}

.gnezdo_cell_header, .gnezdo_cell_header a{
text-decoration:none;
font-family:verdana,sans-serif;
font-size:12px;
font-weight:bold;
color:#ff0000;
text-align:center;
padding:0 5px;
}

.gnezdo_img{
clear:both;
margin-bottom:7px;
border:none;
}

.gnezdo_div_img{
text-align:center;
border:0;
}

.partner_link_bottom {
color:gray;
display:none;
font-family:arial,sans-serif;
font-size: 11px;
padding-right:10px;
}
.date{
	float:left;
	margin:0 10px 0 0;	
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 999;
    -webkit-animation: fade .6s;
    -moz-animation: fade .6s;
    animation: fade .6s;
    overflow: auto;
}
/* модальный блок */
.popup {
    top: 25%;
    left: 0;
    right: 0;       
    font-size: 14px;
    margin: auto;
    width: 85%;
    min-width: 320px;
    max-width: 600px;
    position: absolute;
    padding: 15px 20px;
    border: 1px solid #383838;
    background: #fefefe;
    z-index: 1000;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    border-radius: 4px;
    font: 14px/18px 'Tahoma', Arial, sans-serif;
    -webkit-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    -moz-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    -ms-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    -webkit-animation: fade .6s;
    -moz-animation: fade .6s;
    animation: fade .6s;
}

.popup h2, .popup h3 {
    margin: 0 0 1rem 0;
    font-weight: 300;
    line-height: 1.3;
    color: #009032;
    text-shadow: 1px 2px 4px #ddd;
}

.close {
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    position: absolute;
    border: none;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    border-radius: 50%;
    background-color: rgba(0, 131, 119, 0.9);
    -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    cursor: pointer;
    outline: none;

}
.close:before {
    color: rgba(255, 255, 255, 0.9);
    content: "X";
    font-family:  Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: normal;
    text-decoration: none;
    text-shadow: 0 -1px rgba(0, 0, 0, 0.9);
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    transition: all 0.5s;
}

.close:hover {
    background-color: rgba(252, 20, 0, 0.8);
}

.popup img {
    width: 100%;
    height: auto;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}

.pl-left,
.pl-right {
    width: 25%;
    height: auto;
}

.pl-right {
    float: right;
    margin: 5px 0 5px 15px;
}

.pl-left {
    float: left;
    margin: 5px 18px 5px 0;
}

@-moz-keyframes fade {
    from { opacity: 0; }
    to { opacity: 1 }
}
@-webkit-keyframes fade {
    from { opacity: 0; }
    to { opacity: 1 } 
}
@keyframes fade {
    from { opacity: 0; }
    to { opacity: 1 }
}

html,body{
margin:0;
padding:0;
background-color:white;
}

.gnezdo_header{ 
font-family:verdana,sans-serif;
font-size:11px;
color:gray;
margin:0px;
border-bottom:0px solid gray;
}

.gnezdo_cell, .gnezdo_td{
vertical-align:top;
}

.gnezdo_cell_header, .gnezdo_cell_header a{
text-decoration:none;
font-family:verdana,sans-serif;
font-size:12px;
font-weight:bold;
color:black;
text-align:center;
padding:0 5px;
}

.gnezdo_img{
clear:both;
margin-bottom:7px;
border:none;
}

.gnezdo_div_img{
text-align:center;
border:0;
}

.partner_link_bottom {
color:gray;
display:none;
font-family:arial,sans-serif;
font-size: 11px;
padding-right:10px;
}


/* --- Иконки --- */
.icon {
	display: inline-block;
	width: 32px;
	height: 32px;
	fill: #3394e6;
	vertical-align: middle;
}
	.icon-logo { width: 42px; height: 42px; }

	.icon-vk { width: 10px; height: 1em; }
	.icon-tw { width: 14px; height: 1em; }
	.icon-fb { width: 8px; height: 1em; }
	.icon-gp { width: 18px; height: 1em; }
	.icon-ya { width: 7px; height: 1em; }
	.icon-od { width: 10px; height: 1em; }
	.icon-mail { width: 16px; height: 1em; }

	.grey .icon { fill: #919191; }



/* --- Комментарии --- */
/* Форма добавления */
.addcomment { background-color: #f7f7f7; }
	.plus_icon { width: 16px; height: 16px; display: inline-block; vertical-align: middle; position: relative; }
	.addcomment .plus_icon { width: 8%; padding: 10px 0; float: left; margin-top: 4%; }
	.plus_icon > span, .plus_icon > span:before, .plus_icon > span:after {
		overflow: hidden;
		text-indent: -9999px;
		white-space: nowrap;
		position: absolute;
	}
	.plus_icon > span:before, .plus_icon > span:after {
		background-color: #b3b3b3;
		content: "";
	}
	.plus_icon > span {
		width: 16px; height: 16px;
		left: 50%; top: 50%;
		margin: -8px 0 0 -8px;
	}
	.plus_icon > span:after {
		left: 0; top: 50%;
		width: 100%; height: 2px;
		margin-top: -1px;
	}
	.plus_icon > span:before {
		left: 50%; top: 0; 
		width: 2px; height: 100%;
		margin-left: -1px;
	}

	.plus_icon.circle {
		width: 12px; height: 12px;
		padding: 4px;
		border-radius: 50%;
		border: 2px solid #3394e6;
	}
	.plus_icon.circle > span { width: 12px; height: 12px; margin: -6px 0 0 -6px; }
	.plus_icon.circle > span:before, .plus_icon.circle > span:after { background-color: #3394e6; }

	/* Формы на UL */
	ul.ui-form { list-style: none; padding: 0; margin: 0; }
		ul.ui-form > li { margin-bottom: 20px; }
		ul.ui-form > li:last-child { margin-bottom: 0; }
		.form-group { margin-bottom: 20px; }
		.form-group > label { display: block; margin-bottom: .4em; }
		.imp:after { content: "*"; margin: 0 0 0 10px; color: #e85319; }

		@media only screen and (min-width: 601px) {
			.form-group.combo:after { clear: both; display: table; content: ""; }
			.form-group.combo > .combo_field { width: 50%; float: left;
				-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
			}
			.form-group.combo > .combo_field:last-child { padding-left: 10px; }
			.form-group.combo > .combo_field:first-child { padding-right: 10px; }
		}
		.form_submit { margin-top: 20px; }
		.form-sep { border-top: 1px solid #efefef; }

	/* Модификация BB редактора для комментариев */
	#comment-editor .bb-editor textarea { padding: 7px; padding-bottom: 45px; height: 200px; }
	.addpm #comment-editor .bb-editor textarea { height: 340px; }

	.wseditor table, .bb-editor table { margin: 0px; }

/* Комментарии */
.com_list { }
	.comment {
		padding: 4% 4%;
		position: relative;
		-webkit-transition: box-shadow ease .4s; transition: box-shadow ease .4s;
	}
	.com_list .comment {
		border-top: 1px solid #efefef;
		background-color: transparent;
		margin: 0;
		border-radius: 0;
		box-shadow: none; -webkit-box-shadow: none;
	}
	.comment:hover {
		position: relative;
		box-shadow: 0 2px 12px 0 rgba(0,0,0,0.2); -webkit-box-shadow: 0 2px 12px 0 rgba(0,0,0,0.2);
	}
	.avatar { display: inline-block; }
	.avatar .cover {
		width: 100px; height: 100px;
		border-radius: 50%;
		white-space: nowrap;
		text-indent: -9999px;
		display: inline-block;
	}
	.comment .avatar { float: left; margin-right: 15px; position: relative; }
	.comment .avatar .cover { width: 36px; height: 36px; }
	.com_online {
		position: absolute;
		left: 100%; top: 50%;
		margin: -4px 0 0 -4px;
		overflow: hidden;
		text-indent: -9999px;
		background-color: #70bb39;
		border: 2px solid #fff;
		width: 4px; height: 4px;
		border-radius: 50%;
	}

	.com_info { font-size: .9em; margin-bottom: 2%; margin-top: -5px; }
	.com_info:after { clear: both; display: block; content: ""; }

	.com_user { float: left; margin: 9px 15px 0 0; }
	.comment .meta { display: inline; }
	.comment .meta .left { margin: 9px 0 0 0; }
	.comment .meta .left .mass input { margin: -2px 0 0 0; vertical-align: middle; }
		.comment .meta > ul.left > li { margin-right: 10px; }

		.comment .reply { text-transform: lowercase; }
		.comment .meta .left a {
			display: inline-block;
			width: 20px; height: 20px;
			vertical-align: middle;
			padding: 2px;
			margin-top: -2px;
			-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
		}
		.comment .meta .left .reply a { padding: 2px; width: auto; vertical-align: baseline; }
		.comment .meta .left .del a { padding: 4px; }
		.comment .meta .left .icon { margin: 0; fill: #919191; vertical-align: top; }
		.comment .meta .left a:hover .icon { fill: #3394e6; }
		.comment .meta .left a .icon-reply {
			width: 15px; height: 16px;
			fill: #3394e6 !important;
			margin-right: .4em;
			vertical-align: middle;
		}
		.comment .meta .left a .icon-coms {
			width: 15px; height: 16px;
			fill: #3394e6 !important;
			margin-right: .4em;
			vertical-align: middle;
		}
		.comment .meta .left .edit_btn > a { padding: 2px; margin-top: -4px; } 
		.comment .icon-bad { width: 16px; height: 16px; }
		.comment .icon-cross { width: 12px; height: 12px; }

	.comment .meta .rate { float: right; }

	/* Древовидные комментарии */
	#dle-comments-list { width: 100%; overflow: hidden; }
	#dle-comments-list .comments-tree-list { list-style: none; padding: 0; margin: 0; }
	#dle-comments-list > .comments-tree-list > li > .comments-tree-list { padding: 0 8%; border-top: 1px solid #efefef; }
	#dle-comments-list > .comments-tree-list > li .comments-tree-list > li { padding-left: 20px; }
	#blind-animation .comments-tree-list { list-style: none; padding: 0; margin: 0; }

	.comments-tree-list > li > ol > li .comment {
		padding: 30px 0;
		position: relative;
		box-shadow: none; -webkit-box-shadow: none;
		border-width: 0;
	}
	.comments-tree-list li ol li .comment {

		position: relative;
		box-shadow: none; -webkit-box-shadow: none;
		border-width: 0;
	}
	.comments-tree-list > li > ol > li .comment:after {
		content: "";
		position: absolute;
		width: 2000px; height: 1px;
		margin-left: -500px;
		left: 0; top: 0;
		background-color: #efefef;
	}

	.comments-tree-list > li > ol > li .comment:before {
		content: "";
		position: absolute;
		left: 0; top: 12px;
		margin: 30px 0 0 -20px;
		background-color: #e6e6e6;
		width: 10px; height: 2px;
	}	

	/* Управление комментариями */
	.mass_comments_action { text-align: right; border-top: 1px solid #efefef; padding: 2% 4%; }
	.mass_comments_action > select { height: 36px; padding: 5px; width: 200px; margin-left: 1em; }

	.com_content > .title { margin-top: 4%; }
	.com_content > .text { font-size: 1.08em; }


/* --- === Разрешение ниже 600 === ---*/
@media only screen and (max-width: 600px) {
	/* Уменьшение отступов */
	body, select, input, textarea, button { font-size: 13px/1.5; }
	.hblock, .mass_comments_action, #dofullsearch, .vote_more, .bb-pane { display: none; }
	.midside { padding: 0; }
	#content { padding: 15px 15px 0 15px; }
	.navigation { margin: 15px 0; }
	.box, .comment, .berrors { margin-bottom: 15px; }
	.box > .heading { padding: 20px; }
	.quote, blockquote { font-size: 1.1em; }

	/* Блоки */
	.block, .block_grey { margin-bottom: 15px; }
	.block > .title, .block_grey, .relnews > li > a { padding: 20px; }

	/* Оптимизация новостей */
	.box_in { padding: 20px; }
	.story_icons {
		float: right;
		position: relative;
		padding: 0; margin: -4px 0 10px 10px;
	}
	.story > .meta { padding: 10px 20px; }
	.meta > ul.left > li { margin-right: 12px; }
	.meta > ul.right > li { margin-left: 12px; }

	.story .title { font-size: 1.15em; }
	.story .box_in > .text { font-size: 1em; }

	.story_date > * { display: none; }
	.story_date > time { display: inline; }
	.category { display: none; }

	.story_tools, .editdate { margin-top: 20px; }
	.shortstory .story_tools > .rate { float: right; }
	.story_tools > .btn { padding: 0; height: 36px; width: 36px; text-align: center; }
	.story_tools > .btn:after, .story_tools > .btn:before { content: ""; }
	.story_tools > .btn > b, .story_tools > .btn:after, .story_tools > .btn:before {
		display: inline-block;
		overflow: hidden;
		text-indent: -9999px;
		background-color: #fff;
		width: 4px; height: 4px;
		border-radius: 50%;
		margin: 11px 0 0 0;
		vertical-align: middle;
	}
	.story_tools > .btn > b { margin-left: 2px; margin-right: 2px; }


	/* Комментарии */
	.addcomment .plus_icon { display: none; }
	.addcomment h3 { display: none; } 

	.comment { padding: 20px; padding-bottom: 60px; }
		.com_content > .title { font-size: 1.15em; }
		.comment .meta {
			position: absolute;
			bottom: 14px; left: 20px; right: 20px;
		}
		.com_info { margin: 0 0 20px 0; padding-left: 46px; }
		.com_user { display: block; }
		.comment .avatar { margin-left: -46px; margin-right: 0; }
		.comment .rate_like > a, .comment  .rate_like-dislike { border-color: transparent; }
		.comment .meta .mass, .reply a span { display: none; }

	/* Древовидные комментарии */
	#dle-comments-list > .comments-tree-list > li > .comments-tree-list { padding: 0 20px; }
	.comments-tree-list li ol li .comment {
		padding: 20px 0;
		padding-bottom: 60px;
	}
	.comments-tree-list .comments-tree-list .comment .meta { left: 0; right: 0; }
	.comments-tree-list > li > ol > li .comment:before { margin: 25px 0 0 -20px; }