@media(max-width:767px){
    #logo{
        text-align: center;  

    }
    #single-header{
        font-size:13px;
    }

    #logo img{
        width:250px;
        height:auto;
    }
    #preview-outer{        

        padding-bottom: 10px;
    }
    #preview-hover{
        top:0px;
        height:95%;
    }
    #preview-frame{    
        display:none;
    }
    #preview-cover{
        padding-top:0;
        padding:5px;
        border:1px solid silver;
        
    } 
    .set_fbcover_btn{
        display:block;
        text-align: center;
    }
    .comment-author{
        font-size:12px;
    }
    .post-date {
        margin-left:0px;
        display:block;

    }
    #searchform{
        text-align: center;
        padding-left:5px;
    }
    .social-media-icons{
        text-align: center;
        width:100%;
        padding:5px;

    }
    #top-ad{
        float:none;
        margin-left:auto;
        margin-right:auto;
        width:468px;
        margin-top:5px;
    }
    /*
  #site-footer .pull-left, #site-footer .pull-right{
      float:none !important;
      text-align: center;
  }*/

}
@media(min-width:768px){
#preview-hover{
        top:0px;
        height:325px;
    }
    #preview-outer{       
        height:350px;
        display:block !important;
    }

    #preview-frame{    
        margin-top: -290px;       
    }
    #preview-cover{

    } 
    #logo{
        text-align: center;
    }

    #top-ad{
        float:none;
        margin-left:auto;
        margin-right:auto;
        width:468px;
        margin-top:5px;
    }
}
@media(min-width:992px){  
    #preview-hover{
        top:5px;
        height:280px;
    }
    #preview-outer{       
        height:330px;

    }
    #preview-frame{    
        margin-top: -245px;
        margin-bottom: 200px;   
    }
    #preview-cover{
        
    }
    #top-ad{
        margin-top:20px;
        margin-bottom: 20px;
        float:right;
        width:468px;
        height:70px;
    }
    #logo{
        text-align: left;
    }
    /* calendar widget */

    #wp-calendar thead th {  padding-bottom: 7px;  padding-top: 7px;  border-bottom:2px solid #F2F2F2;  
                             border-top:2px solid #F2F2F2; text-align: center; }

    #wp-calendar tbody td { background: #f5f5f5; border: 1px solid #fff; text-align: center; padding:0.5em;}


}
@media(min-width:1200px){
    #preview-hover{
        top:-5px;
         height:390px;
    }
    #preview-outer{
        height:400px;
    }

    #preview-frame{       
        margin-top:-340px;  

    }
    #preview-cover{

    }

}

/*
@media (min-width: 1170px) {
    #preview-frame{    
        
        
    }
    
}
@media (max-width: 970px) { 
    #logo{
        text-align: center;    
    }
    #preview-outer{       
        display:none;
      
    }
    #preview-frame{    
        margin-top: -290px;
        margin-bottom: 10em;   
    }
}

@media (max-width: 750px) {
   /* #preview-outer{
        
        height:80%;
        padding-bottom: 5%;
    }
    #preview-frame{    
        display:none;
    }
    #preview-cover{
        padding-top:0;
    } 
}
*/