/*
Theme Name: Total Child Theme
Theme URI: https://your-site.com
Description: Your site description. Go to Appearance > Editor to modify this file.
Author: Your Name
Author URI: https://your-site.com
Template: Total
Version: 1.0
*/

.home #main{
    margin-top:20px
}
/*
Primissimo card
*/



@media screen and (min-width: 890px) {
    #primissimo .wpex-card-agenfood_home_page_list{
        position: relative;
    }

    #primissimo .wpex-card-agenfood_home_page_list .wpex-card-details{
        position: absolute;
        bottom: 0;
        left:0;
        width: 100%;
        z-index: 99;
    }
    #primissimo .wpex-card-agenfood_home_page_list .wpex-card-inner::after{
        content:'';
        position: absolute;
        top:0;
        left:0;
        height: 100%;
        width: 100%;
        background:  linear-gradient(0deg,#000,#0000 70%,#0000 65%,#0000004f);
        z-index: 98;
    }

    #primissimo img{
        width:100%;
        object-fit: cover
    }
}

#primissimo .wpex-card-primary-term a, #primissimo .wpex-card-primary-term .ticon{
    color: #8DC63F !important
}

.titolo-home:after {
    content: '';
    width: 100%;
    height: 2px;
    background: #8DC63F;
    position: absolute;
    top: 50%;

}
.titolo-home{
    position: relative;
    overflow: hidden
}
.titolo-home .vcex-heading-inner{
    padding-right: 20px;
    background: #fff
}
/*Instagram Feed*/
#sbi_load{
    display: none
}
.sb_instagram_header {
    display:none
}
/*Footer Desktop*/

.footer-box.span_1_of_4.col.col-4 {
    margin-top: 44px;
}

.wpex-widget-recent-posts-date{
    padding-left: 11px;
    border-left: 2px solid #1151d3;
    font-size: 0.8em;
}
.wpex-widget-recent-posts-title{
    border-left: 2px solid #1151d3;
    padding-left: 10px;
    padding-bottom: 10px
}
.tnp.tnp-subscription {
    padding: 10px;
    background: #eee;
    border: 1px solid #e8e6e6;
}

.tnp-field input{
    background-color: #fff !important;
    border: 1px solid #eee;
    border: 1px solid #e8e6e6;
}
input.tnp-submit{
    background-color: #8DC63F !important;
    text-transform: uppercase !important;
    width: 100% !important;
}
#text-8 .textwidget{
    border: 2px solid #eee;
    padding:10px
}
.adv-box{
    position:relative;
    background: #eee;
    height: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 45px;
    color: #ccc;
    width:100%


}

.adv-box::after{
    content: 'ADV';
}

#post-media img {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
}

.tagcloud a, .post-tags a{
    border: 2px solid var(--wpex-accent);
}
.blog-entry-media.entry-media::after{
    content: '';
    width: 100%;
    height: 100%;
    left: 7px;
    top: 8px;
    background: #8dc63f;
    position: absolute;
    z-index: -1;
}  

.no-border .wpex-post-cards-entry:last-child .wpex-border-b{
    border-bottom: 0 !important
}
.closed-content {
    background: #f00;
    padding: 5px 8px;
    margin-left: 8px;
    font-size: 0.75em;
    border: 2px solid #cd0909;
}
#primissimo h2 a:hover{
    color:#fff
}

@media screen and (max-width: 767px) {
    #top-bar-content {
        display: inline-block;
    }
    #top-bar-social {
        display: inline-block;
        margin-top: 0 !important
    }
    
    #primissimo .wpex-card-details{
        background: #173861
    }
}

#footer .widget_nav_menu li {
    font-size: 0.9em;
}
.modulo-invia {
    width: 100% !important;
    background: #173861 !important;
    color: #fff !important;
    text-transform: uppercase !important;
}