/* Tablet Potrait */
@media only screen and (min-width: 769px) and (max-width: 959px) {    
    h1,h2,h3 {
        font-size: 30px;
    }
    
    .hidden-tablet {
        display: none;
    }
    
    /* LIST VIDEO
    ----------------------------------------------------*/
    .list-video .video-item,
    .post .post-links .list-video .video-item{
        display: block;
        position: relative;
        float: left;
        width: 50%;
    }
    .list-video .video-item .video-item-inner,
    .post .post-links .list-video .video-item .video-item-inner{
        margin: 0 8px;
    }
    .list-video .video-item:nth-child(2n+1),
    .post .post-links .list-video .video-item:nth-child(2n+1){
        clear:both;
    }
    
    
    /* BIG SLIDER
    ----------------------------------------------------*/
    .slider-big .slider-main-wrap{
        float:none;
        width: 100%;
    }
    
    .slider-big .slider-aside-wrap{
        display: none;
    }
    
    
    /* HOT TOPIC
    ----------------------------------------------------*/
    .hot-topics {
        margin-bottom: 15px;
    }
    
    
    /* TREADING BLOCK
    ----------------------------------------------------*/
    .treading-block .detail-wrap .detail-content h3  {
        font-size: 22px;
    }
    
    
    /* PAGE TITLE
    ----------------------------------------------------*/
    .pagetitle {
        height: 185px;
        min-height: 185px;
        margin: 0 0 15px 0;
    }
    
    .pagetitle h1, .pagetitle h2, .pagetitle h3,
    .pagetitle h4, .pagetitle h5, .pagetitle h6 {
        font-size: 22px;
        margin: 30px 0 15px;
        padding: 0 30px;
    }
    .pagetitle p {
        padding: 0 30px;
    }
    
    
    /* POST
    ----------------------------------------------------*/
    .post .post-media .post-media-main-wrap.has-aside{
        width: 100%;
        float: none;
    }
    .post .post-media .post-media-aside-wrap{
        display: none;
    }
    
    
    /* GRID LIST
    ----------------------------------------------------*/
    
    /* filter */
    .grids .grids-filter li{
        font-size:15px;
    }
    .grids .grids-filter li a {
        padding:0 10px;
    }
    
    /* container */
    [class*="block-grid-"].no-wrap{
        margin: 0 -8px;
    }
    .large-block-grid-3 > li{
        width: 50%;
        padding: 0 8px 16px
    }
    
    
    /* VIDEORICETTE
    ----------------------------------------------------*/
    .video-ricette .video-container .video-content{
        padding: 15px;
    }
    .video-ricette .video-container .video-content h4{
        font-size: 20px;
    }
    
    
    /* CONTACT
    ----------------------------------------------------*/
    .partners > ul > li{
        width: 25%;
        border-bottom: none;
    }
    .partners > ul > li:nth-of-type(7n + 1){
        clear:none;
    }
    .partners > ul > li:nth-of-type(4n + 1){
        clear:both;
    }
    .partners > ul.second > li.separe{
        margin-right: 0;
    }
    .partners > ul.second > li:nth-of-type(4n){
        display: block;
        width: 100%;
        clear:both;
    }
    .partners > ul > li:empty{
        display: none
    } 
    
    
    /* PHOTOSWIPE
    ----------------------------------------------------*/
    .pswp__item .ps-inc,
    .pswp__item .ps-inc.ps-inc.video {
        padding: 30px;
    }
    
}


/* MENU MOBILE
----------------------------------------------------*/
@media only screen and (max-width: 959px) {
    #wrapper {
        padding-top: 110px;
    }
    body.ps-active #main{
        margin: 0;
    }
    
    
    /* HEADER
    ----------------------------------------------------*/
    header .social a {
        padding: 8px;
    }
    
    /* 404
    ----------------------------------------------------*/
    #error404-left{
        margin-bottom: 30px;
    }
    #error404-right .panel{
        margin-top: 0;
    }
    
    #datatable .extrali {
        display: block;
    }

}
