  @media screen and (max-width: 1240px){
  .top_topics{
    /*background-color: #f5f5f5;*/
    padding: 2px 10px 0 10px;
	} 
    .wrap{
      width: 985px;
    }
    .left{
      width: 680px;
    }
    .current_date{   
      font-size: 14px;
    }
    .social_menu{
      width: 210px;
      height: 30px;
    }
    .social_menu li a{
      width: 30px;
      height: 30px;
    }
    .social_menu li a.vk_icon{
        background-position: -6px -6px;
    }
    .social_menu li a.tw_icon{
        background-position: -6px -46px;
    }
    .social_menu li a.fb_icon{
        background-position: -6px -86px;
    }
    .social_menu li a.yt_icon{
        background-position: -6px -126px;
    }
    .social_menu li a.gp_icon{
        background-position: -6px -166px;
    }
    .social_menu li a.rss_icon{
        background-position: -6px -206px;
    }
    .nav li a{
      padding: 2px 12px 0 12px;
      font-size:13px;
      line-height: 38px;
	  text-transform:uppercase;
    }
    .searchblock{
      width: 250px;
    }
	
    .left_left{
      width: 325px;
    }
    .left_middle{
      width: 325px;
    } 

    .main_news{
      display: none;
    }
    .main_news:nth-of-type(1),.main_news:nth-of-type(2),.main_news:nth-of-type(3){
      display: block;
    }
    .main_news:first-of-type{
      width: 448px;
    }
    .news_stories{
      width: 150px;
    }
    .news_stories:nth-of-type(2n+1){
      margin-right: 25px;
    }
    .news_stories_img{
      width: 150px;
      height: 100px;
    }

    .custom_afisha{
      width: 150px;
      height: 100px;
      margin: 0 0 25px 25px;
    }
    .custom_afisha:nth-of-type(2n+1){
      margin-left: 0 !important;
    }

    .hblock h4, .side_header{
      font-size: 18px;
      line-height: 20px;
    }
    .hblock h4 a, .side_header a{
      font-size: 18px;
    }
    .custom_auto{
        width: 162px;
        float: left;
        overflow: hidden;
    }
    .custom_auto_img{
        width: 162px;
        height: 162px;
    }

    .col3{
      width: 206px;
    }
    .custom1_img{
      height: 137px;
    }
    .custom_photo{
        width: 169px;
    }
    .photo_title{
      font-size: 16px;
      line-height: 18px;
    }
    .custom_video{
      /*width: 170px;*/
    }
    .video_title, .video_title a{
      font-size: 16px;
      line-height: 18px;
    }
    
    
    .footer .logo{
      margin: 0 0 30px 0;
    }
    .col2{
      /*width: 100%;*/
      padding: 0;
      float: none;
    }
    .col2>.col2{
      float: right;
      /*width: 50%;*/
      padding: 0 0 25px 0;
    }
    .footer_menu ul{
      padding: 0 5px 0 0;
    }


    .main_content_col{
      width: 100%;
      float: none;
	  padding-left:0;
    }
    .main_right_col{
      display: none;
    }
	/*.right{
	  display: none;
	}*/
  }
@media screen and (min-width: 1025px){ 
    .nav ul{
      display: block !important;
    }
	.nav-line{
		/*position:fixed;*/
		z-index:100;
	}
.app_buttons{vertical-align:top;width:265px;float:right}
.app_buttons a:hover{opacity:0.8}
.googleplay_button{display:block;width:128px;height:42px;float:left;background:url(/upkeep/themes/news/images/buttons.png) 0 -42px;margin-right:9px}
.appstore_button{display:block;width:128px;height:42px;float:left;background:url(/upkeep/themes/news/images/buttons.png) 0 0}
}
@media screen and (min-width: 1025px){
	.top_topics{
		display:none;
	}
}
@media screen and (max-width: 480px){
    .related_news_post{
		float:left;
		width:100%;
		height: auto;
		margin: 15px 15px 25px 0;
    }
    .related-news{
		width: 100%;
		height: 180px;
    }
	.related_news_post h3, .related_news_post h3 a{
		font-size:19px;
		line-height:24px;
		max-height:400px;
	}
	.short_title a{
		font-size:19px;
	}
	.content{
		padding: 25px 0 0 0;
	}
}

@media screen and (max-width: 480px){
    .post_title{
      font-size: 24px;
      line-height: 28px;
    }
	.post_content {
		font-size: 18px;
	}
}

@media screen and (min-width: 481px) and (max-width: 1024px){
    .post_title, .post_title a{
      font-size: 28px;
      line-height: 30px;
    }
    .related_news_post{
		float:left;
		width:47%;
		height: auto;
		margin: 0 15px 15px 0;
    }
    .related-news{
		width: 230px;
		height: 140px;
    }
}
@media screen and (max-width: 1024px){
    .nav{
      overflow: visible;
    }
    .nav ul{
      display: none;
      position: absolute;
      background-color: #404040;      
      border: 1px solid rgba(0,0,0,0.15);
      border-bottom: 0;
      height: auto;
    }
    .nav li ul{
      visibility: hidden;
    }
    .nav li, .nav li a{
      float: none;
    }
    .nav li a{
      border-right: 0;      
      border-bottom: 1px solid rgba(0,0,0,0.15);
      line-height: 32px;
	  text-transform:uppercase;
    }
    .header-line{
      height: 60px;
    }
	.right{
		display:none;
	}
    .logo{
      width: 180px;
      height: auto;
    }
    .logo img{
      width: 140px;
    }
	.top_topics, .sort{
	  display:none;
	}
    .searchblock{
      height: 30px;
      margin: 0 auto;
    }
    .searchform{
      height: 30px;
      padding: 5px 40px 9px 5px;
    }
    input.searchbt{
      width: 28px;
      height: 28px;
      background-position: -46px -6px;
    }
    .current_date{
      margin: 5px 0;
    }

    .navigation a, .nav_ext{
      /*display: none;*/
    }
    .navigation .next a, .navigation .prev a{
      display: block;
    }
    .wrap{
      width:720px;
    }
    .left{
      width: 450px;
    }
	
    .nav-btn{
      display: block;
    }
    
    .main_news, .main_news .top_news_category{
      width: 224px;
      height: 150px;
    }
	
	.main_news_title{
		font-size: 20px;
		line-height: 24px;
		margin: 0 0 10px;
	}
    .main_news:nth-of-type(2), .top_news_category .main_news:nth-of-type(2){
      width: 225px;
      margin: 0 0 25px 0;
    }
    .main_news:first-of-type, .top_news_category .main_news:first-of-type{
      width: 450px;
      height: 300px;
    }
    .top_news_category .main_news:nth-of-type(2), .top_news_category .main_news:nth-of-type(3){
      margin-bottom: 30px;
    }
    .top_news_category .main_news:nth-of-type(1){
      /*margin-bottom: 1px;*/
    }
	.news_date{
		display:none;
	}

    .left_left, .left_middle{
      width: 100%;
      float: none;
      margin: 0;
    }
    .left_middle{
      margin: 0 0 30px 0;
    }
    .news_stories, .news_stories:nth-of-type(2n+1){
      width: 100%;
      margin: 30px 0 0 0;
    }
    .news_stories_img, .news_stories:nth-of-type(2n+1) .news_stories_img{
      float:left;
	  margin-right:15px;
    }
    .news_stories_content{
      padding: 0;
    }
    .stories_title, .stories_title a{
      font-size: 16px;
      line-height: 18px;
    }
    .custom_afisha, .custom_afisha:nth-of-type(2n+1){
        width: 105px;
        height: 158px;
        margin: 0 0 0 10px !important;
        float: left;
    }
    .custom_afisha:first-of-type{
        margin: 0 !important;
    }
    .custom_auto{
        width: 225px;
        float: left;
        overflow: hidden;
    }
    .custom_auto_img{
        width: 225px;
        height: 169px;
    }

    .col3{
      width: 100%;
      float: none;
      margin: 0;
    }
    .custom1, .custom2{
      width: 100%;
      float: none;
      margin: 0 0 15px 0;
    }
    .custom1_img{
      width: 120px;
      height: 80px;
      margin: 0 10px 0 0;
      float: left;
    }
    .custom_photo{
      width: 224px;
      margin: 0 1px 1px 0;
    }
    .custom_video{
      width: 225px;
      margin: 0 0 1px 0;
    }
    .short_post{
      width: 150px;
      height: 110px;
    }
	.short_title {
		font-size: 18px;
		margin-top:-5px;
	}
    .shortstory2{
      height: 380px;
      width: 210px;
    }
    .short_post2{
      height: 140px;
    }
    .find_rel{
      margin: 15px 0 0 0;
    }
  }
  @media screen and (max-width: 1024px){
  	.top_topics{
		display:none;
	}
	.post_content img, .main-text img, .main-text p img{
		max-width: 100%;
	}
  
  	.bookmarkinput{
		display:none;
	}
  	.header-line{
		height: 60px;
		padding-top: 10px;
    	padding-bottom: 40px;
	}
    .wrap{
      width: 100%;
      padding-left:20px;
      padding-right: 20px;
    }
    .nav ul{
      width: 100%;
    }
    .header .logo{
    }
    .current_date,.nomobile{
      display: none;
    }
    .searchblock{
      float: right;
      /*width: calc(100% - 200px);*/
    }
    .login-btn{
      right: 20px;
    }
    .login_block:before{
      right: 27px;
    }
    .left{
      float: none;
      width: 100%;
    }
	.main_right_col,.service_buttons,.complaint_cl{
		display:none;
	}
	.top_topics {
    	padding: 2px 10px 0 10px;
	}
	.right{
		/*width:250px;*/
	}
      
    
    .main_news:first-of-type, .top_news_category .main_news:first-of-type{
      width: 100%;
      height: 270px;
    }
    .main_news:nth-of-type(2), .top_news_category .main_news:nth-of-type(2){
      width: 50%;
    }
    .main_news:nth-of-type(3), .top_news_category .main_news:nth-of-type(3){
      width: calc(50% - 1px);
    }
    .custom_photo, .custom_video{
        width: calc(50% - 1px);
    }
	
	.custom_photo_top{
		display:none;
	}

    .side_block{
      /*width: calc(50% - 15px);*/
      min-width: 240px;
      float: left;
    }
    .side_block:nth-child(2n+1){
      margin-right: 20px;
    }
    .footer{
      padding-bottom: 0;
    }    
    .shortstory2{
      width:calc(50% - 15px);
    }

    .full_images img{
    	width: 25%;
    }
  }
  @media screen and (max-width: 480px){
    .header-line{
      height: 60px;
    }
    .logo{
      margin: 0 0 10px 0;
    }
    .logo, .searchblock{
      float: none;
      width: 100%;
    }
    .main_news, .top_news_category .main_news{
      width: 100% !important;
      height: 250px !important;
    }
	.custom_afisha, .custom_afisha:nth-of-type(2n+1){
      margin-bottom: 10px !important;
      margin-left: 10px !important;
    }
    .social_menu{
      float: none;
      margin-bottom: 0;
    }
    .counters{
      display: none;
    }
    
    .col2, .col2>.col2{
      /*width: 100%;*/
      float: none;
    }
    .about, .footer .logo, .photo_video, .comment_avatar, .searchblock{
      display: none;
    }    
    .comment_content{
      padding-left: 0;
    }
    .addcomment_editor, .comment_content{
      width: 100%;
    }
    /*.short_post{
      width: 100%;
      height: 150px;
      margin: 0 0 15px 0;
    }*/
    .shortstory2{
      width: 100%;
      height: auto;
    }

    .footer{
      text-align: center;
    }
    .header, .container{
      min-width: 300px;
    }
    .pm_head{
      font-size: 14px;
    }
    .profile_popup_counter b{
      font-size: 14px;
    }
    .full_images img{
    	width: 50%;
    }
	.goglblock1{
		width:auto;
	}
  }



@media (min-width: 400px) and (max-width: 599px) {
	.main-text iframe, .main-text p iframe{
		min-height:300px !important;
	}
    .side_block{
      width: 100%;
      min-width: 40px;
      float: left;
    }
	.right{
		width: 100%;
	}
}

@media (min-width: 600px) and (max-width: 799px) {
	.main-text iframe, .main-text p iframe{
		min-height:320px !important;
	}
}

@media (min-width: 800px) and (max-width: 999px) {
	.main-text iframe, .main-text p iframe{
		min-height:400px !important;
	}
}

@media (min-width: 1000px) and (max-width: 1199px) {
	.main-text iframe, .main-text p iframe{
		min-height:450px !important;
	}
}

@media (min-width: 1200px) {
	.main-text iframe, .main-text p iframe{
	/*min-height:540px !important;*/
	}
}

@media (max-width: 738px){
	blockquote{
		margin:0 0 15px 0;
	}
	.left_middle{
		display:none;
	}
}

@media (max-width: 1000px) {
	.newsblock{
		display:none;
	}
}

@media (min-width: 1001px) {
	.newsblock{
		display:none;
	}
}

@media screen and (min-width:1075px){
	.mobile_only{
		display:none;
		margin:0 0 25px 0;
	}
}

.ok-subscribe-button{
	text-align:center;
}

@media screen and (max-width:480px){
	.ok-subscribe-button{
		width:100%;
	}
	blockquote {
	  padding: 40px 0;
	}
	
	blockquote p {
	  padding:15px 0;
	}	
}