/* Small devices (landscape phones, 576px and up) */
@media (max-width: 575.98px) {
    .title-video-evidenza {
        font-size: 3em;
        font-family: 'LibreBaskerville-Regular';
        color: #EEF0F2;
        margin: .5em .2em;
    }
    .title-video-evidenza div{
        font-size: 1.5rem;
        opacity: .5;
        margin-top: -9%;
    }

    .wpb_content_element.vini-tutelati-schede .tabbed[data-style*="vertical"] .wpb_tabs_nav{
        width: 100%;
    }
    .wpb_content_element.vini-tutelati-schede .tabbed[data-style*="vertical"] >div{
        width: 100%;
    }
    .single article.post .content-inner .post-featured-img img{
        width: 100%;
        float: none;
        margin-right: 0 !important;
        margin-bottom: 0 !important;
    }
    .img-with-aniamtion-wrap img.logo-percorsi-home{
        max-width: 150px !important;
    }
    /* page cantine e-commerce */
    .card-container{
        width: 100%;
    }
    body #sgpb-popup-dialog-main-div{
        padding: 10px;
    }
    .img-with-aniamtion-wrap img.img-popup{
        max-width: 150px !important;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .title-video-evidenza {
        font-size: 3em;
        font-family: 'LibreBaskerville-Regular';
        color: #EEF0F2;
        margin: .5em .2em;
    }
    .title-video-evidenza div{
        font-size: 1.5rem;
        opacity: .5;
        margin-top: -9%;
    }
    
    .blog-recent[data-style="list_featured_first_row"] .col.span_3{
        width: 70%;
    }
    .col.span_2.text-right.date-first-post-home{
        width: 30%;
    }
    
    .wpb_content_element.vini-tutelati-schede .tabbed[data-style*="vertical"] .wpb_tabs_nav{
        width: 100%;
    }
    .wpb_content_element.vini-tutelati-schede .tabbed[data-style*="vertical"] >div{
        width: 100%;
    }
    #lista-cantine .row .col{
        margin-right: 1%;        
    }
    .single article.post .content-inner .post-featured-img img{
        width: 100%;
        float: none;
        margin-right: 0 !important;
        margin-bottom: 0 !important;
    }
    .img-with-aniamtion-wrap img.logo-percorsi-home{
        max-width: 150px !important;
    }
    /* page cantine e-commerce */
    .card-container{
        width: 100%;
    }
    body #sgpb-popup-dialog-main-div{
        padding: 10px;
    }
    .img-with-aniamtion-wrap img.img-popup{
        max-width: 150px !important;
    }
    
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    
    #header-outer[data-lhe="default"] header#top nav > ul > li > a {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
    
    header#top nav > ul > li > a, .span_3 .pull-left-wrap > ul > li > a, body.material #search-outer #search input[type="text"], #header-secondary-outer .nectar-center-text, #slide-out-widget-area .secondary-header-text {
        font-size: 14px !important;
    }
    .img-with-aniamtion-wrap img.logo-percorsi-home{
        max-width: 200px !important;
    }
    /* page cantine e-commerce */
    .card-container{
        width: 100%;
    }
    body #sgpb-popup-dialog-main-div{
        padding: 10px;
    }
    .img-with-aniamtion-wrap img.img-popup{
        max-width: 150px !important;
    }
    
}

/* Large devices (desktops, 1000px and up) */
@media (min-width: 1000px) {
    .blog-recent[data-style="list_featured_first_row"] .col.span_3{
        width: 23.5%;
    }
    .col.span_2.text-right.date-first-post-home{
        width: 15.0%;
    }
    
    .wpb_content_element.vini-tutelati-schede .tabbed[data-style*="vertical"] .wpb_tabs_nav{
        width: 50%;
    }
    .wpb_content_element.vini-tutelati-schede .tabbed[data-style*="vertical"] >div{
        width: 50%;
    }
    /*MENU */
    body.material #header-outer:not([data-format="left-header"]) header#top > .container > .row nav{
        display: grid !important;
    }
    
    #header-outer[data-lhe="default"] header#top nav > ul > li > a {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
    
    header#top nav > ul > li > a, .span_3 .pull-left-wrap > ul > li > a, body.material #search-outer #search input[type="text"], #header-secondary-outer .nectar-center-text, #slide-out-widget-area .secondary-header-text {
        font-size: 14px !important;
    }
    
    .single article.post .content-inner .post-featured-img img{
        width: 48%;
        float: right;
        margin-left: 2% !important;
        margin-bottom: 0 !important;
    }
    .img-with-aniamtion-wrap img.logo-percorsi-home{
        max-width: 200px !important;
    }
    /* page cantine e-commerce */
    .card-container{
        width: 33.3%;
    }
    body #sgpb-popup-dialog-main-div{
        padding: 70px 30px !important;
    }
    .img-with-aniamtion-wrap img.img-popup{
        max-width: 300px !important;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .title-video-evidenza {
        font-size: 6em;
        font-family: 'LibreBaskerville-Regular';
        color: #EEF0F2;
        margin: .5em .2em;
    }
    .title-video-evidenza div{
        font-size: 3rem;
        opacity: .5;
        margin-top: -9%;
    }
    
    #header-outer[data-lhe="default"] header#top nav > ul > li > a {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    
    header#top nav > ul > li > a, .span_3 .pull-left-wrap > ul > li > a, body.material #search-outer #search input[type="text"], #header-secondary-outer .nectar-center-text, #slide-out-widget-area .secondary-header-text {
        font-size: 16px !important;
    }
    .img-with-aniamtion-wrap img.logo-percorsi-home{
        max-width: 400px !important;
    }
}

/* Extra extra large devices (large desktops, 1600px and up) */
@media (min-width: 1600px) {
  
   
}


/* iPhone 5+5S P+L */
@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 568px) 
{
    
}

/* iPhone 6plus P+L */
@media only screen 
and (min-device-width : 414px) 
and (max-device-width : 736px)
{

}

/* iPhone 6 P+L */
@media only screen 
and (min-device-width : 375px) 
and (max-device-width : 667px)
{

}



/*==========  Non-Mobile First Method  ==========*/

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {

}

/* iPad Landscape */
@media only screen and (max-width : 1024px) {
   
}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {

}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {

}


/* iPad Landscape */
@media only screen and (min-device-width : 768px)
and (max-device-width : 1024px)
and (orientation : landscape){
    
}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 480px) {

}

/* Custom, iPhone Retina */
@media only screen and (max-width : 320px) {

}