/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/

.sottocategorie {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 20px;
    row-gap: 20px;
}
.img-cat {
    background-position: center center;
    background-size: cover;
    height: 350px;
    position: relative;
}
.sottocategorie h3 {
    font-family: "Montserrat", Sans-serif;
    font-size: 20px;
    font-weight: 300;
    color: #000;
    margin-top: 15px;
    display: block;
}
.sottocategorie h3:hover{
    font-weight: 500;
}

.img-cat:after {
    background: #000;
    position: absolute;
    height: 100%;
    width: 100%;
    content: "";
    opacity: 0;
}
.img-cat:hover:after {
    opacity: 0.2;
    transition: opacity .15s ease-in-out;
}

.tax-categoria-prodotto .elementor-image-carousel img {
    height: 400px;
    max-height: 400px;
    width: 600px;
    max-width: 600px;
}



@media only screen and (max-width: 768px) {
    .sottocategorie {
        grid-template-columns: repeat(3, 1fr);
    }
    .img-cat {
        height: 220px;
    }
    .sottocategorie h3 {
        font-size: 17px;
    }
}

@media only screen and (max-width: 600px) {
    .sottocategorie {   
        display: block !important;
    }
 }
