/*
Theme Name: Enfold Child
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating will be much easier then.
Version: 1.0
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/


/* GENERAL */

@media only screen and (max-width: 786px){
    
    .mobile-center,
    .mobile-center *{
        text-align: center !important;
    }
    
    #fascia-bianca {
        box-shadow: none !important;
    }
    
    #fascia-verde {
        background-color: #417a81;
        color: #fff;
        margin-bottom: 20px;
    }
    
    #fascia-verde .flex_column {
        margin: 0 !important;
    }
    
    #fascia-verde *{
        color: #fff !important;
    }

    #top .mobile-reverse-columns .flex_column_table {
        display: flex !important;
        table-layout: unset;
        float: none;
        flex-direction: column-reverse;
    }
}

/* TOP BAR */

.html_header_top #top .av_header_stretch .container {
    max-width: 1160px;
}

#top #header_meta .phone-info {

    font-weight: bold;
}

/* HOME */

@media only screen and (max-width: 786px){
    
    #top .avia-slideshow-arrows a {
        width: 40px !important;
        height: 40px;
        line-height: 42px;
        font-size: 18px;
    }
    
    #top .avia-slideshow-arrows a:before {
        margin-top: -10px;
    }

}

/* CHI SIAMO */

@media only screen and (max-width: 786px){
    
    .page-id-4552#top #wrap_all .all_colors .avia-fullwidth-slider h2 {
        max-width: 280px !important;
    }
    
    .avia_textblock *:not(.mobile-center) {
     /*   text-align: left !important;*/
    }
    
    .flex_column { padding:0 !important;}
}

/* BLOG / MAGAZINE */

.avia-content-slider .slide-image, 
.avia-content-slider .slide-image img {
    width: 100%;
}

#top #wrap_all .all_colors .avia-content-slider .post-entry h3.entry-title{
    font-size: 22px;
    line-height:1.1em;
}


/* DESIGNER */

#designer-list a { background-color: transparent; color: #000 !important; border-color:transparent !important; border-width: 0 0 2px 0 !important; border-radius:0 !important; }
#designer-list a:hover { border-bottom-color: #417a81 !important;}


/* SHOP */

.post-type-archive  h1,
.post-type-archive  h2.woocommerce-loop-product__title,
.tax-product_cat h2.woocommerce-loop-product__title { color: #407a81; }

.post-type-archive-product .page-description{display:none;}
.custom-product-category-list {display: flex; list-style: none !important; flex-wrap: nowrap; flex-direction: row; justify-content: center; align-content: center; align-items: center;}
.custom-product-category-list li a,
.custom-product-category-list li a:hover{text-decoration:none;  padding: 10px;}
.custom-product-category-list li a:hover { background-color: #eee; }
.custom-product-category-list li.active a {background-color: #407a81; color: #fff;}

@media only screen and (max-width: 479px){
    .responsive #top #main .products .product {
        margin: 0 1% 1% 0;
        width: 49%;
        padding: 15px;
    }
    
    .woocommerce-loop-product__title {
        font-size: 18px !important;
    }
}

/* SINGLE PRODUCT */

.reset_variations {
    position: relative;
    right: auto;
    bottom: auto;
}

#top .variations_form {padding: 0;}
#top .variations .label label { font-weight: 700 !important; font: 13px/1.65em "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif; white-space: nowrap;}

@media only screen and (max-width: 786px){
    .single-product .container {
        display: flex!important;
        flex-direction: column;
        flex-wrap: nowrap;
    }

}

/* CONTATTI */

#top label.input_checkbox_label {
    font-weight: bold;
    font-size: 0.92em;
    line-height: 1.2em;
    float: left;
    width: calc(100% - 50px);
    color:#555;
}

/* FOOTER */

#top #wrap_all .all_colors #footer h3 {
    font-size: 20px;
    margin-top: 0;
}

@media only screen and (max-width: 786px){
    #footer .widget {
        margin: 0;
    }
    #footer .flex_column .widget .widgettitle{
        margin-top: 0;
    }
    
    #footer .textwidget.custom-html-widget {
        margin-top: 15px;
    }
    
    #footer #media_image-4 {
        max-width: 240px;
    }
}



