/*
 Theme Name:     Bottega Progetti
 Theme URI:      https://www.studiolodesign.it
 Description:    Bottega Progetti
 Author:         Studiolo
 Author URI:     https://www.studiolodesign.it
 Template:       Divi
 Version:        1.0.0
*/


/* =Theme customization starts here
------------------------------------------------------- */

/* Divi overlap content to fixed menu un scroll */

#et-main-area {
    z-index: 1!important;
    position: relative;
}

@media screen and (max-width: 980px) {
    header.et-l--header {
        height: auto!important;
    }
}

/* Divi Pixel Filterable grid custom color */

.dipi_filterable_grid_0 .dipi_filterable_grid_wrapper .grid .grid-item .img-container img {
	filter: grayscale(100%) !important;
}

.dipi_filterable_grid .img-container.dipi-fg-animation.dipi-fg-zoom-out:hover img {
		filter: grayscale(0%) !important;
}

/* No underline to flag language */

.slide_up_below .et_pb_menu__menu > nav > ul > li.lang-item:not(.menu-item-has-children):not(.dipi-cta-button-menu-item) > a > span:after {
	content: none!important;
}

li.lang-item img:hover {
	opacity: 0.8;
}

/* Responsive table */

@media only screen and (max-width: 840px) {
table.responsive {
margin-bottom: 0;
overflow: hidden;
overflow-x: scroll;
display: block;
white-space: nowrap;
}
}

/* Complianz Custom */

#cmplz-document, .editor-styles-wrapper .cmplz-unlinked-mode {
    font-size: inherit;
    margin-top: 0;
    max-width: 100%;
}