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

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

/* `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:#4563ad;
    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: #f2f6ff;
    -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: #f2f6ff;
    -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 #4563ad;
}
.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: #4563ad;
    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: #4563ad;
}
.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 #4563ad !important;
    background-color:#4563ad !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: #4563ad;
}
.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: #f2f6ff;
    -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: #4563ad;
    background-position: center -870px;
}
.search_btn.active_search{
    background-color: #4563ad;
    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: #4563ad;
}
.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: #f2f6ff;
	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: #4563ad;
	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:#4563ad;
    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: #4563ad;
}
.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: #4563ad;	
}
.news_date{
    color: #4563ad;
    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: #4563ad;
	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 #f2f6ff;
	color: #4563ad;
	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: #f2f6ff;
}

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


.last_time{
    margin:2px 0 0 -50px;
    float: left;
    font-size: 13px;
    color: #4563ad;
}
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: #4563ad;
    text-decoration: underline !important;
}
a.last_news:hover .last_news_title{
    color: #4563ad;
}
a.last_news.imp{
    font-family: "PT Sans Bold";
}
a.last_news.icolor .last_news_title{	
    color: #4563ad;
}
.allnews{
    height: 40px;
    line-height: 20px;
    color: #4563ad;
    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: #4563ad;
}
.custom_stories a .stories_title{
    font-size: 18px;
    line-height: 20px;
    margin: 0 0 10px 0;
}
.stories_date{
    color: #4563ad;
    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:#4563ad ;
    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: #f2f6ff;
}
.tabs_header span:hover{
    cursor:pointer;
    color: #202020;
}
.active_tab{
    color:#fff !important;
    background-color: #4563ad !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 #4563ad !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: #4563ad;
    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: #4563ad;
}
.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: #4563ad;
}
.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: #4563ad;
	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: #4563ad;
}
.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: #4563ad;
    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: #4563ad;
}
.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: #4563ad;
    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_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: #4563ad;
}
.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: #4563ad;
    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: #4563ad;
    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: #4563ad;
}
.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: #4563ad;
}
.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:#4563ad;
}

/* 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: #4563ad;
}
/* 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:#4563ad;
    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:#4563ad;
    border:1px solid #4563ad;
}
.navigation span {    
    text-decoration:none;
    color:#4563ad;
    border:1px solid #4563ad;
}
.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: #4563ad;
}
.next a:hover, .prev a:hover{
}



.post_content{
    font-size: 16px;
    color: #202020;
    margin-bottom: 30px;
}
.post_content a{
    font-size: 16px;
    color: #4563ad;
    text-decoration: underline;
}
.post_content a:hover{
    text-decoration: none;
}
.post_content img{
    max-width: 100%;
    padding:10px 0;
    padding: 10px\9;
    height: auto !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:#4563ad;
    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:#4563ad;
    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:#4563ad;
}
.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: #4563ad;
    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: #4563ad;
    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,  #4563ad 0%, #ffa800 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right top, color-stop(0%,#4563ad), color-stop(100%,#ffa800)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(left,  #4563ad 0%,#ffa800 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(left,  #4563ad 0%,#ffa800 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(left,  #4563ad 0%,#ffa800 100%); /* IE10+ */
    background: linear-gradient(to right,  #4563ad 0%,#ffa800 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4563ad', 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: #4563ad;
    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 #4563ad !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:#4563ad;
    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 #4563ad;
    color: #4563ad;
}
.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:#4563ad;
}
.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:#4563ad;
    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: #4563ad;
    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:#4563ad;
    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:#4563ad;
}
.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: #4563ad;
    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:#4563ad;
    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: #4563ad;
    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 #4563ad;
    color: #4563ad;
    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:#4563ad;
}
.line a{
    color:#4563ad;
}
.row{
    font-size:13px;
    margin:5px 0;
    padding:5px;
    border:1px solid #eee;
    background:#fafafa;
}
.row a{
    color:#4563ad;
}
.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:#4563ad;
}
.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:#4563ad;
    border:1px solid #ddd;
    margin: 0 0 10px 0;
}
#totop{
    width:60px;
    height: 40px;
    background-color: #4563ad;
    background-position: center -1090px;
    border: 2px solid #4563ad;
    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;
}
/*---Показ древовидных комментариев---*/
.comments-tree-list {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}

.comments-tree-list .comments-tree-list {
  padding-left: 30px;
}

.comments-tree-item {
  display: block;
  margin: 0;
  padding: 0;
}

/*---Форма быстрого ответа на комментарий---*/

#dlefastreplycomments {
  padding:5px;
  background: #e4ecf0;
  margin: 5px 5px 5px 30px;
}

.commentsreplyname {
 padding: 2px; border: 1px solid #bcc0c2;
 width: 200px;
 background: #fff url("../images/fields.png") repeat-x;
}

/*---Вывод результатов голосования на сайте---*/
.pollallvotes {
  text-align: center;
  margin-top: 10px;
}