/*  Adaptive */
@media screen and (min-width: 1161px){  
  .nav ul.main_nav{
    display: block !important;
  }
}
@media screen and (max-width: 1160px){  
  .nav_btn{
    display: block;
  }
  .close_bg{
    display: block;
    opacity: 0;
    visibility: hidden;
    position: fixed;
    z-index: 99;
    width: 100%;
    height: 100%;
    background-color: #000;
    right: 0;
    top: 0;
  }
  .active_menu .close_bg{
    opacity: 0.5;
    visibility: visible;
  }
  .nav ul.main_nav{    
    background-color: #222;
    position: fixed;
    height: 100%;    
    box-shadow: 0 0 10px 0 rgba(0,0,0,0.2);
    -webkit-box-shadow: 0 0 10px 0 rgba(0,0,0,0.2);
    overflow-x: auto;
    left: 0;
    top: 0;
    padding: 0;
    height: 100%;
    z-index: 9999;
    display: block;
    visibility: hidden;
    opacity: 0;
    -webkit-transform: translate(-100%,0);
    transform: translate(-100%,0);
    -webkit-overflow-scrolling: touch;
  }
  .active_menu .nav ul.main_nav{
    -webkit-transform: translate(0,0);
    transform: translate(0,0);
    opacity: 1;
    visibility: visible;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
  .main_nav li{
    margin: 0;
  }
  .nav li a{
    padding: 0 20px;
    color: #fff;
    line-height: 35px;
    border-bottom: 1px solid #333;
  }
  .main_nav li li{    
    border: 0;
  }
  .nav li li a{
    line-height: 32px !important;
    border-bottom: 1px solid #333; 
  }
  .nav li ul.sub_nav{
    width: 100%;
    border:0;
    height: auto;
    background-color: transparent;
  }
  .nav li, .nav li a{
    float: none;
    height: auto;
  }
  .nav li ul{
    display: block;
    position: relative; 
    left: auto;
  }
  .main_nav li a.dropi:after{
    display: none;
  }
  .main_nav li a.dropi{
    padding: 0 20px;
  }

  .login_block.notlogged.active{
    height: 120px;
  }
  .loginbuttons{
    clear: both;
    float: none;
    padding-top: 20px;
    margin:0;
  }
.footer_links{
    margin:0 0 20px 0;
  }
  .copyrights, .footer_links{
    float: none;
  }
  .social_menu{
    float: none;
    margin-bottom: 20px;
  }
    .footer{
    text-align: center;
  }
}
@media screen and (max-width: 959px){
  .content{
    display: block;
  }
  .content > .right, .content > .left{
    display: block;
    width: 100%;
    max-width: 100%;
  }
  .left{
    padding-left: 5px;
    padding-right: 5px;
  }
  .social_login.social_menu{
    margin: 0 auto;
    float: none;
  }
  .footer{
    text-align: center;
  }
  .footer_links{
    margin:0 0 20px 0;
  }
  .copyrights, .footer_links{
    float: none;
  }
  .social_menu{
    float: none;
    margin-bottom: 20px;
  }
  .login_block.notlogged.active{
    height: 160px;
  }
}
@media screen and (max-width: 839px){  
/*
  h1 {font-size:20px;line-height:22px;}
  h2 {font-size:18px;line-height:20px;}
  h3, h4 {font-size:16px;}
  */
  .post_content{
    font-size: 16px;
  }
 .post_content a{
    font-size: 15px;
  }
  .pm_head{
    font-size: 16px;
    line-height: 24px;
  }   
  .navigation a, .nav_ext{
    display: none;
  }
  .navigation  a.next, .navigation  a.prev{
    display: block;
  }
}
@media screen and (max-width: 660px){  
  .post_title, .post_title h1, .fullstory .post_title h1{
    font-size: 27px ;
    line-height: 28px;
  }
  .nav_ext{
    display: none;
  } 
  .comment_date{
    margin:10px 0 0 0;
    float:none;
    display:block;
  }
  .comment_meta{
    height:auto;
  }
  .sline{
    width: auto;
  }
  .uf-item{
        float: none;
        width: 100%;
        margin: 0 0 10px 0;
    }
    .email-pm a{
      font-size: 14px;
    }
    .comment_avatar{
      display: none;
    }
    .pmlinks a{
      width: 100%;
      float: none;
      border-left: 0;
    }
    .addcomment_editor, .comment_content{
      width: 100%;
    }
    .comment_content{
      padding-left: 0;
    }
    .pm_head{
      font-size: 14px;
    }
    .pm, .pm a{
      font-size: 12px;
    }
    .profile_popup_counter b{
      font-size: 14px;
    }
    #totop{
      display: none !important;
    }
    .footer_links a{
      line-height: 30px;
      display: block;
    }
    .ui-dialog{
      max-width: 100% !important;
    }
  .shortstory .row, .shortstory .col{
    display: block;
  }
  .shortstory .col_left, .shortstory .col_right{
    padding: 0;
  }
  .shortstory .col_left{
    margin: 0 0 20px 0;
  }
    .block_widget{
      display: none;
    }
    .relatednews:nth-of-type(n){ 
      padding: 0;
      width: 100%;
    }
     .social-likes__counter{
      display: none;
    }

    .profile_menu li{
      display: block;
      margin: 0;
    }    
    .login_block.profile_menu.active{
      height: 260px;
    }
    .shortstory2:nth-of-type(n){
      width: 100%;
      display: block;
      padding: 0;
    }
    .more_button{
      float: none;
      clear: both;
      width: 100%;
      display: block;
      top: 10px;
      text-align: center;
    }
    .relatednews {
    display: flex;
    align-items: center;
}
.relatednews .short_img {
    display: inline-flex;
     overflow: visible;
    width: auto;
    	max-width: 40%;
        margin: 0 20px 0px 0;
}
.relatednews .tile_bg {
    position: relative;
    width: auto;
    	max-width: 100%;
    overflow: hidden;
    display: inline-flex;
}
.relatednews .tile_bg img{
	width: 100%;
	height: auto !important;
}
.relatednews .tile_content,
.relatednews .tile_frame, 
.relatednews .tile, 
.relatednews .tile:before
{content: none; display: none;}

}
@media screen and (max-width: 479px){
  .header > .wrap.row{
    display: block;
    padding: 0;  
  }
  .header .logo, .header .nav{
    padding: 0;
    width: 100%;
  }
  .header-login, .header_button{
float: right;
width: 45px;
padding: 0px 0px 0px 12px;
height: 60px;
display: block;
font-size: 25px;
line-height: 55px;
text-align: left;
  }
  .logo{
      max-width: 100%;
      padding: 0;
      margin: 0 auto;
  }    
  .header{
    height: 60px;
  }
    input#dofullsearch{
      display: none;
    }
    .user-foto-frame img{
      float: none;
      width: 100%;
      margin: 0 0 10px 0;
    }
    .user_data{
      margin: 0;
    }
    .login_form{
      margin:0 0 10px 0;
    }
    .login_form .inp{
      width: 100%;
      float: none;
    }
    .enter-btn{
      float: none;
      width: 100%;
    }
  .login_block.notlogged.active{
    height: 280px;
  }
   .fullstory .post_title h1{
    font-size: 27px !important ;
    line-height: 28px !important;
  }

.relatednews .short_title, .relatednews .short_title a{
     font-size: 14px !important;
    line-height: 17px !important;; 
}
}