/*  Adaptive CulinaryBook  */

  @media screen and (max-width: 1260px){
    .wrap{
      width: 1000px;
    }
    .left{
      width: 670px;
    }
    .nav ul.main_nav li a{
      font-size: 16px;
    }   
    .find_rel{
      margin: 15px 0 0 0;
    }
    .hover_title{
      font-size: 16px;
      line-height: 20px;
    }
    .topposts a:hover .hover_content{
      max-height: 54px;
    }
  }
@media screen and (min-width: 1081px){  
    .nav ul.main_nav{
      display: block !important;
    }
}
@media screen and (max-width: 1080px){
  .wrap{
    width: 800px;
  }
  .left, .right{
    float: none;
    width: 100%;
  }
  .login_btn, .favlink, .addlink{
    text-indent: -9999px;
    width:42px;
    padding: 0;
  }
  .header_right{
    float: none;
    margin: 0 auto;
  }
  .nav_ext{
    display: none;
  } 
  .nav_btn{
    display: block;
  }
  .nav{
    height: auto;
  }
  .nav ul.main_nav{    
    border: 1px solid rgba(0,0,0,0.15);
    border-bottom: 0;
    height: auto;
    z-index: 9999;
    width: 100%;
    display: none;
  }
  .nav li a{
    color: #e84c3d;
  }
  .nav li li a{
    color: #303030;
  }
  .nav li ul.sub_nav{
    width: 100%;
    border:0;
    height: auto;
  }
    .nav li, .nav li a{
      float: none;
      height: auto;
    }
    .nav li a{
      border-right: 0;      
      border-bottom: 1px solid #ddd;
    }
    .nav li ul{
      display: block;
      position: relative; 
      left: auto;
    }
    .nav li li a{
      padding: 2px 25px 0 25px;
      border-bottom: 0;
      border-right: 0;
    }
  .social_login.social_menu{
    float: none;
    clear: both;
    margin: 20px auto 20px auto;
  }
  .searchblock{
    position: relative;
    display: block;
  }
  .search_btn{
    display: none;
  }
  .side_block .shortstory{
    display: none;
  }
  .col-4 .shortstory, .col-4 .videopost{
    width: 50%;
  }
}
@media screen and (max-width: 860px){  
  .logo{
    margin: -10px auto 20px auto;
    float: none;
    max-width: 100%;
  }
  .header{
    height: auto;
  }
  .wrap{
    padding: 0 20px;
    width: 100%;
  }
  .header_right{
    width: 258px;
    margin: 0 auto;
  }
  .topposts{
    width: 100%;
    float: none;
  }
  .col-3 .shortstory, .col-3 .videopost{
    width: 50%;
  }
    .post_title{
      font-size: 30px;
      line-height: 34px;
    }
    h1 {font-size:20px;line-height:22px;}
    h2 {font-size:18px;line-height:20px;}
    h3, h4 {font-size:16px;}
    .post_content, .post_content a{
      font-size: 14px;
    }
    .pm_head{
      font-size: 16px;
      line-height: 24px;
    }   
    .navigation a, .nav_ext{
      display: none;
    }
    .navigation .next a, .navigation .prev a{
      display: block;
    }
    .about{
      display: none;
    }
    .footer_links{
      padding: 0;
      margin: 0 auto;
      float: none;
      text-align: center;
    }
    .col-2 .shortstory, .col-2 .videopost{
      width: 100%;
      float: none;
    }
  }
  @media screen and (max-width: 540px){
    .wrap{
      min-width: 280px;
    }
    .input1, #category_chzn{
      width: 200px !important;
    }
    .sline{
      width: auto;
    }
    .uf-item{
        float: none;
        width: 100%;
        margin: 0 0 10px 0;
    }
    .email-pm a{
      font-size: 14px;
    }
    .counters, .comment_avatar, .right{
      display: none;
    }
    .pmlinks a{
      width: 100%;
      float: none;
      border-left: 0;
    }
    .addcomment_editor, .comment_content{
      width: 100%;
    }
    .comment_content{
      padding-left: 0;
    }
    .footer{
      text-align: center;
    }
    .pm_head{
      font-size: 14px;
    }
    .pm, .pm a{
      font-size: 12px;
    }
    .profile_popup_counter b{
      font-size: 14px;
    }
    #totop{
      display: none !important;
    }
    .social-likes{
      display: none;
    }    
    .col-3 .shortstory, .col-3 .videopost, .col-4 .shortstory, .col-4 .videopost{
      width: 100%;
      float: none;
    }
  }
  


  
  
  

  