/*  Adaptive Reposter  */

  @media screen and (max-width: 1200px){
    .wrap{
      width: 940px;
    }
    .left{
      width: 625px;
    }
    .logo{
      width: auto;
      height: auto;
      margin-top: 30px;
    }
    .logo img{
      width: 150px;
    }
    .current_date, .weather_widget{
      margin: 10px 0;
      width:265px;
      font-size: 14px;
    }
    .degrees{
      font-size: 16px;
    }
    .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;
    }
    .login-btn{
      top: 20px;
    }
    .nav-wrap{
      height: 40px;
    }
    .nav{
      height: 40px;
      width:100%;
      padding-right: 40px;
    }
    .nav ul{
      height: 40px;
    }
    .nav li a{
      line-height: 40px;
      padding: 2px 15px 0 15px;
      font-size:14px;
    }
    .searchblock{
      width: 40px;
      height: 40px;
    }
    .search_btn{
      width: 40px;
      height:40px;
    }
    .search_btn:before{
      top: 0;
      right: 0;
    }
    .search_panel{
      top:50px;
    }
    .top_topics a{
      font-size: 14px;
      margin: 0 0 0 15px;
    }
    .left_left{
      width: 360px;
    }
    .left_middle{
      width: 240px;
    } 

    .main_news{
      width: 180px;
      height: 120px;
    }
    .main_news:first-of-type{
      width: 360px;
      height: 240px;
    }
    .main_news:first-of-type .main_news_title{
      font-size: 24px;
      line-height: 26px;
    }
    .main_news:nth-of-type(3), .main_news:nth-of-type(5){
      width: 179px;
    }
    .main_news_title{
      font-size: 16px;
      line-height: 18px;
    }
    .news_stories, .news_stories:nth-of-type(2n+1){
      width: 360px;
      float: none;
      margin: 10px 0 25px 0;
    }
    .news_stories_img, .news_stories:nth-of-type(2n+1) .news_stories_img{
      width: 360px;
      height: 240px;
    }
    .news_stories_content, .news_stories:nth-of-type(2n+1) .news_stories_content{
      padding: 10px 0 0 0;
    }
    .custom1, .custom2{
      width: 300px;
    }
    .custom1_img{
      width: 150px;
      height: 100px;
    }
    .photo_video{
      width: 300px;
    }
    .custom_photo{
      width: 150px;
      height: 150px;
    }
    .custom_photo:nth-of-type(2n){
      height: 90px;
    }
    .custom_photo:nth-of-type(4n){
      margin-top: -90px;
    }
    .photo_title, .video_title, .video_title a{
      font-size: 16px;
      line-height: 18px;
    }
    .custom_video{
      width: 150px;
      height: 196px;
    }
    .video_img{
      height: 84px;
    }
    .col2{
      width: 100%;
      padding: 0;
      float: none;
    }
    .col2>.col2{
      float: left;
      width: 50%;
      padding: 0 0 25px 0;
    }
    .footer_menu ul{
      padding: 0 25px 0 0;
    }
    .full_post_meta, .full-story .post_content, .shortstory3 .post_content{
      float: none;
      width: 100%;
    }
    .full_post_meta{
      margin: 0 0 25px 0;
    }
    .full_post_meta_item{
      float: left;
      height: 30px;
      margin: 0 25px 0 0;
      line-height: 30px;
    }
    .frating{
      margin-top: 5px;
    }
    .social-likes{
      text-align: left;
      margin-top: 15px;
      margin: 10px 0;

    }
    .social-likes__widget{
      display: inline-block;
      margin: 0 10px 10px 0;
    }
    .related_news_post{
      width: 50%;
    }
    .pm_aside{
      float: none;
      width: 100%;
      margin: 0 0 25px 0;
    }
    .top_news_category .main_news{
      width: 207px;
      height: 138px;
      float: left;
      overflow: hidden;
      position: relative;
      margin: 0 1px 25px 0;
    }
    .top_news_category .main_news:first-of-type .main_news_title{    
        font-size: 18px;
        line-height: 20px;
    }
    .top_news_category .main_news:nth-of-type(3n){
        margin: 0 0 25px 0 !important;
    }
    .shortstory2{
      width: 300px;
      height: 278px;
    }
    .short_post2{
      height: 200px;
    }

    .navigation{
      height: 30px;
    }
    .navigation span, .navigation a, .navigation b, .next, .prev, .next span, .prev span{ 
      height: 40px;
      line-height: 40px !important;
      min-width: 40px;
    }
  }
@media screen and (min-width: 981px){  
    .nav ul{
      display: block !important;
    }
}
@media screen and (max-width: 980px){
    .navigation a, .nav_ext{
      display: none;
    }
    .navigation .next a, .navigation .prev a{
      display: block;
    }
    .wrap{
      width:720px;
    }
    .header .social_menu{
      display: none;
    }  
    .left{
      width: 405px;
    }
    .nav-btn{
      display: block;
    }
    .nav{
      overflow: visible;
      width: 100%;
    }
    .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, .nav li a{
      float: none;
    }
    .nav li a{
      border-right: 0;      
      border-bottom: 1px solid rgba(0,0,0,0.15);
      line-height: 36px;
    }
    .left_left, .left_middle{
      width: 100%;
      float: none;
      margin: 0;
    }
    .main_news, .main_news:nth-of-type(3), .main_news:nth-of-type(5){
      width: 202px;
      height: 134px;
    }
    .main_news:first-of-type{
      width: 405px;
      height: 270px;
    }
    .news_stories, .news_stories:nth-of-type(2n+1){
      width: 100%;
    }
    .news_stories_img, .news_stories:nth-of-type(2n+1) .news_stories_img{
      display: none;
    }
    .custom1, .custom2{
      width: 100%;
      float: none;
      margin: 0 0 25px 0;
    }
    .photo_video, .photo_video:nth-of-type(2n+1){
      margin-bottom:25px;
    }
    .post_title, .post_title a{
      font-size: 24px;
      line-height: 26px;
    }
    .related_news_post{
      width: 100%;
    }
    .top_news_category .main_news, .top_news_category .main_news:first-of-type{
      width: 134px;
      height: 134px;
      float: left;
      overflow: hidden;
      position: relative;
      margin: 0 1px 25px 0;
    }
    .top_news_category .main_news:first-of-type .main_news_title{    
        font-size: 16px;
        line-height: 18px;
    }
    .top_news_category .main_news:nth-of-type(3n){
        margin: 0 0 25px 0 !important;
    }
    .short_post_content{
      overflow: visible;
    }
    .short_post{
      width: 180px;
      height: 120px;
    }
    .shortstory2{
      height: 268px;
      width: 190px;
    }
    .short_post2{
      height: 190px;
    }
  }
  @media screen and (max-width: 760px){
    .wrap{
      width: 100%;
      padding-left:20px;
      padding-right: 20px;
    }
    .left, .right{
      float: none;
      width: 100%;
    }
    .right{
      display: none;
    }
    .main_news{
      width: 50%;
    }
    .main_news, .main_news:nth-of-type(3), .main_news:nth-of-type(5){
      height: 134px;
    }
    .main_news:nth-of-type(3), .main_news:nth-of-type(5){
      width: 49.5%;
    }
    .top_news_category .main_news, .top_news_category .main_news:first-of-type{
      width: 33%;
    }
    .main_news:first-of-type{
      width: 100%;
      height: 270px;
    }
    .footer{
      padding-bottom: 0;
    }
    .nav ul{
      width: 100%;
    }
    .header .logo{
      float: none;
    }
    .current_date, .weather_widget{
      text-align: left;
      margin: 20px auto 0 auto;
      width:50%;
    }
    .shortstory2{
      width: 47%;
    }
  }
  @media screen and (max-width: 480px){
    .current_date, .weather_widget{
      text-align: center;
      margin: 20px auto 0 auto;
      width:100%;
      float: none;
    }
    .photo_video, .photo_video:nth-of-type(2n+1){
      margin-right:0;
    }
    .col2, .col2>.col2{
      width: 100%;
      float: none;
      padding: 0 0 25px 0;
    }
    .about, .footer .logo, .photo_video{
      display: none;
    }
    .comment_avatar{
      display: none;
    }
    .comment_content{
      padding-left: 0;
    }
    .addcomment_editor, .comment_content{
      width: 100%;
    }
    .short_post{
      width: 100%;
      height: 150px;

    }
    .top_news_category .main_news, .top_news_category .main_news:nth-of-type(n){
      width: 100%;
      float: none;
      margin: 0 0 25px 0;
    }
    .shortstory2{
      width: 100%;
    }

    .footer{
      text-align: center;
    }

    .pm_head{
      font-size: 14px;
    }
    .profile_popup_counter b{
      font-size: 14px;
    }
    #totop{
      display: none !important;
    }
  }

  

  
  @media screen and (max-width: 480px){
  .header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
  }

  .container {
    min-width: 300px;
    margin-left: 0px;
  }

  #dle-content {
    margin-top: 1px; /* Высота фиксированной шапки + бегущая строка */
  }
}
