.container.body-container {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}


.cms-dettaglio {
    display: flex;
    flex-direction: column;
    max-width: var(--dgl-container-width);
    padding-left: var(--dgl-container-gutter-x, 0.75rem);
    padding-right: var(--dgl-container-gutter-x, 0.75rem);
    margin-left: auto;
    margin-right: auto;
}
.cms-dettaglio>.h1-wrapper>h1 {
    text-align: center;
    margin: 0 0 2.5rem 0;
}
.cms-dettaglio>.cms-content-heder {
    order: -1;
    display: block;
    height: 340px;
    margin: 0 0 4rem 0;
}
.cms-dettaglio>.cms-content-heder>.cms-content-heder-image {
    object-fit: cover;
    height: 100%;
    width: 100%;
}
.cms-dettaglio>.cms-data {
    list-style: none;
    margin: 0 0 0 0;
    padding: 0 0 2.5rem 0;
    display: flex;
    flex-wrap: wrap;
    row-gap: 1rem;
    column-gap: .5rem;
    font-size: 1.125rem;
    justify-content: center;
}
.cms-dettaglio>.cms-content {
    max-width: 865px;
    margin: 0 auto 4rem auto;
}
.cms-dettaglio>.cms-content h2 {
    font-size: 1.5rem;
}
.cms-dettaglio>.cms-content h3 {
    font-size: 1.25rem;
}
.cms-dettaglio>.cms-content h4 {
    font-size: 1.15rem;
}
.cms-dettaglio>.cms-content h5 {
    font-size: 1.1rem;
}
.cms-dettaglio>.cms-content h6 { 
    font-size: 1rem;
}

.cms-dettaglio>.cms-content img {
	max-width: 100%;
	height: auto;
}
.cms-dettaglio>.cms-content p:last-of-type {
    margin-bottom: 0;
}
.cms-data-info>.cmd-prodotti-correlati ,
.cms-dettaglio>.cmd-prodotti-correlati {
    border-top: solid 1px #ddd;
    margin-top: 0;
    padding-top: 2rem;
    margin-bottom: 4rem;
}
.cms-data-info>.cmd-prodotti-correlati>h3 ,
.cms-dettaglio>.cmd-prodotti-correlati>h3 {
    text-align: center;
}
.cms-data-info>.cmd-prodotti-correlati .row.productsList ,
.cms-dettaglio>.cmd-prodotti-correlati .row.productsList {
    justify-content: center;
}
.cms-data-info>.tag-word-list ,
.cms-dettaglio>.tag-word-list {
    border-top: solid 1px #ddd;
    margin-top: 0;
    padding-top: 2rem;
    padding-bottom: 4rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 1rem;
    column-gap: 1rem;
}
.cms-data-info>.content {
    padding-left: var(--dgl-container-gutter-x, 0.75rem);
    padding-right: var(--dgl-container-gutter-x, 0.75rem);
    background-color: var(--dgl-cms-bg-ligth-light);
    padding-top: 3rem;
    padding-bottom: 3rem;
}
.cms-data-info>.content.locandina-wrapper {
    position: relative;
    padding: 0 0 4rem 0;
    background-color: transparent;
    text-align: center;
}
.cms-data-info>.content.locandina-wrapper>img {
    width: auto;
    height: auto;
    max-width: 400px;
    position: relative;
    z-index: 1;
}
.cms-data-info>.content.locandina-wrapper:before {
    content: "";
    position: absolute;
    background-color: var(--dgl-cms-bg-ligth-light);
    left: 0;
    right: 0;
    top: 0;
    height: 8rem;
    z-index: 0;
}
.cms-data-info>.content.allegato-wrapper {
    padding: 0 0 4rem 0;
    background-color: transparent;
    text-align: center;
}
.cms-data-info>.content.map-wrapper {
    position: relative;
    padding: 60vh 0 0 0;
    background-color: transparent;
    text-align: center;
    margin: 0 0 4rem 0;
}
.cms-data-info>.content.map-wrapper>.evento-mappa {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: var(--dgl-site-width);
    width: 100%;
    margin: 0 auto 0 auto;
}
.cms-data-info>.content .row.quando-dove {
    justify-content: center;
}
.cms-data-info>.content .evento-info {
    text-align: center;
}
.cms-data-info>.content .evento-icon {
    display: inline-flex;
    padding: 0 0 0 0;
    margin: 0 0 1rem 0;
    width: 2.5rem;
    height: 2.5rem;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 50rem;
    background-color: var(--dgl-cms-bg-middle-middle);
    color: var(--dgl-bs-white);
}

.cms-data-info>.cmd-prodotti-correlati>h3 ,
.cms-data-info>.cmd-prodotti-correlati>.product-list-wrapper {
    position: relative;
    z-index: 1;
}

.cms-data-info .cmd-prodotti-correlati {
    position: relative;
    max-width: var(--dgl-container-width);
    padding-left: var(--dgl-container-gutter-x, 0.75rem);
    padding-right: var(--dgl-container-gutter-x, 0.75rem);
    margin-left: auto;
    margin-right: auto;
}

.cms-dettaglio .item-attachment {
    margin: 0 0 4rem 0;
}

.cms-embed-prdocuts-wrapper {
    position: relative;
    width: calc(100vw - var(--dgl-page-scrollbars-width));
    left: 50%;
    margin-left: calc((var(--dgl-page-scrollbars-width) / 2) - 50vw);
    padding: 0 var(--dgl-container-gutter-x);
}
.cms-embed-prdocuts-wrapper.hidden-element>.cms-product-list {
    opacity: 0;
}
.cms-embed-prdocuts-wrapper>.cms-product-list {
    max-width: var(--dgl-site-width);
    margin: 0 auto;
    border-top: solid 1px #ddd;
    padding-top: 2rem;
    margin-top: 4rem;
}
.cms-embed-prdocuts-wrapper>.cms-product-list>.row.cms-product-row>h3 {
    margin-left: var(--dgl-container-gutter-x);
    margin-right: var(--dgl-container-gutter-x);
    text-align: center;
}

.photoGalleryContainer {
	margin:0 0 4rem 0;
}
.photoGalleryContainer .gallatyPreview {
	display:block;
	position:relative;
	height: 80vh;
	padding:0 0 0 0;
	margin: 0 calc(var(--dgl-photogallery-single-spacer) * -1);
}
	.photoGalleryContainer .gallatyPreview:before ,
	.photoGalleryContainer .gallatyPreview:after {
		content:" ";
		display:table;
		width:100%;
		height:0;
		overflow:hidden;
	}
	.photoGalleryContainer .gallatyPreview .gridGalleryElement {
		position:absolute;
		height:calc(var(--dgl-photogallery-1-of-3) - (var(--dgl-photogallery-single-spacer) * 2));
		margin: var(--dgl-photogallery-single-spacer);
		background-repeat:no-repeat !important;
		background-position:center center !important;
		background-size:cover !important;
        border-radius: .5rem;
	}
	/* 6 elementi */
	.photoGalleryContainer .gallatyPreview.elementi_6 .gridGalleryElement.image_1 {
		width:calc(50% - (var(--dgl-photogallery-single-spacer) * 2));
		height:calc(var(--dgl-photogallery-1-of-3) - (var(--dgl-photogallery-single-spacer) * 2));
		left:0;
		top:0;
	}
	.photoGalleryContainer .gallatyPreview.elementi_6 .gridGalleryElement.image_2 {
		width:calc(50% - (var(--dgl-photogallery-single-spacer) * 2));
		height:calc(var(--dgl-photogallery-2-of-3) - (var(--dgl-photogallery-single-spacer) * 2));
		left:50%;
		top:0;
	}
	.photoGalleryContainer .gallatyPreview.elementi_6 .gridGalleryElement.image_3 {
		width:calc(25% - (var(--dgl-photogallery-single-spacer) * 2));
		height:calc(var(--dgl-photogallery-2-of-3) - (var(--dgl-photogallery-single-spacer) * 2));
		left:0;
		top: var(--dgl-photogallery-1-of-3);
	}
	.photoGalleryContainer .gallatyPreview.elementi_6 .gridGalleryElement.image_4 {
		width:calc(25% - (var(--dgl-photogallery-single-spacer) * 2));
		height:calc(var(--dgl-photogallery-1-of-3) - (var(--dgl-photogallery-single-spacer) * 2));
		left:25%;
		top: var(--dgl-photogallery-1-of-3);
	}
	.photoGalleryContainer .gallatyPreview.elementi_6 .gridGalleryElement.image_5 {
		width:calc(50% - (var(--dgl-photogallery-single-spacer) * 2));
		height:calc(var(--dgl-photogallery-1-of-3) - (var(--dgl-photogallery-single-spacer) * 2));
		left:25%;
		top:var(--dgl-photogallery-2-of-3);
	}
	.photoGalleryContainer .gallatyPreview.elementi_6 .gridGalleryElement.image_6 {
		width:calc(25% - (var(--dgl-photogallery-single-spacer) * 2));
		height:calc(var(--dgl-photogallery-1-of-3) - (var(--dgl-photogallery-single-spacer) * 2));
		left:75%;
		top:var(--dgl-photogallery-2-of-3);
	}

	/* 5 elementi */
	.photoGalleryContainer .gallatyPreview.elementi_5 .gridGalleryElement.image_1 {
		width:calc(50% - (var(--dgl-photogallery-single-spacer) * 2));
		height:calc(var(--dgl-photogallery-2-of-3) - (var(--dgl-photogallery-single-spacer) * 2));
		left:0;
		top:0;
	}
	.photoGalleryContainer .gallatyPreview.elementi_5 .gridGalleryElement.image_2 {
		width:calc(25% - (var(--dgl-photogallery-single-spacer) * 2));
		height:calc(var(--dgl-photogallery-2-of-3) - (var(--dgl-photogallery-single-spacer) * 2));
		left:50%;
		top:0;
	}
	.photoGalleryContainer .gallatyPreview.elementi_5 .gridGalleryElement.image_3 {
		width:calc(25% - (var(--dgl-photogallery-single-spacer) * 2));
		height:calc(var(--dgl-photogallery-3-of-3) - (var(--dgl-photogallery-single-spacer) * 2));
		left:75%;
		top:0;
	}
	.photoGalleryContainer .gallatyPreview.elementi_5 .gridGalleryElement.image_4 {
		width:calc(25% - (var(--dgl-photogallery-single-spacer) * 2));
		height:calc(var(--dgl-photogallery-1-of-3) - (var(--dgl-photogallery-single-spacer) * 2));
		left:0;
		top:var(--dgl-photogallery-2-of-3);
	}
	.photoGalleryContainer .gallatyPreview.elementi_5 .gridGalleryElement.image_5 {
		width:calc(50% - (var(--dgl-photogallery-single-spacer) * 2));
		height:calc(var(--dgl-photogallery-1-of-3) - (var(--dgl-photogallery-single-spacer) * 2));
		left:25%;
		top:var(--dgl-photogallery-2-of-3);
	}

	/* 4 elementi */
	.photoGalleryContainer .gallatyPreview.elementi_4 .gridGalleryElement.image_1 {
		width:calc(50% - (var(--dgl-photogallery-single-spacer) * 2));
		height:calc(var(--dgl-photogallery-1-of-3) - (var(--dgl-photogallery-single-spacer) * 2));
		left:0;
		top:0;
	}
	.photoGalleryContainer .gallatyPreview.elementi_4 .gridGalleryElement.image_2 {
		width:calc(50% - (var(--dgl-photogallery-single-spacer) * 2));
		height:calc(var(--dgl-photogallery-2-of-3) - (var(--dgl-photogallery-single-spacer) * 2));
		left:50%;
		top:0;
	}
	.photoGalleryContainer .gallatyPreview.elementi_4 .gridGalleryElement.image_3 {
		width:calc(50% - (var(--dgl-photogallery-single-spacer) * 2));
		height:calc(var(--dgl-photogallery-2-of-3) - (var(--dgl-photogallery-single-spacer) * 2));
		left:0;
		top: var(--dgl-photogallery-1-of-3);
	}
	.photoGalleryContainer .gallatyPreview.elementi_4 .gridGalleryElement.image_4 {
		width:calc(50% - (var(--dgl-photogallery-single-spacer) * 2));
		height:calc(var(--dgl-photogallery-1-of-3) - (var(--dgl-photogallery-single-spacer) * 2));
		left:50%;
		top:var(--dgl-photogallery-2-of-3);
	}

	/* 3 elementi */
	.photoGalleryContainer .gallatyPreview.elementi_3 .gridGalleryElement.image_1 {
		width:calc(50% - (var(--dgl-photogallery-single-spacer) * 2));
		height:calc(var(--dgl-photogallery-2-of-3) - (var(--dgl-photogallery-single-spacer) * 2));
		left:0;
		top:0;
	}
	.photoGalleryContainer .gallatyPreview.elementi_3 .gridGalleryElement.image_2 {
		width:calc(50% - (var(--dgl-photogallery-single-spacer) * 2));
		height:calc(var(--dgl-photogallery-3-of-3) - (var(--dgl-photogallery-single-spacer) * 2));
		left:50%;
		top:0;
	}
	.photoGalleryContainer .gallatyPreview.elementi_3 .gridGalleryElement.image_3 {
		width:calc(50% - (var(--dgl-photogallery-single-spacer) * 2));
		height:calc(var(--dgl-photogallery-1-of-3) - (var(--dgl-photogallery-single-spacer) * 2));
		left:0;
		top:var(--dgl-photogallery-2-of-3);
	}

	/* 2 elementi */
	.photoGalleryContainer .gallatyPreview.elementi_2 .gridGalleryElement.image_1 {
		width:calc(50% - (var(--dgl-photogallery-single-spacer) * 2));
		height:calc(var(--dgl-photogallery-3-of-3) - (var(--dgl-photogallery-single-spacer) * 2));
		left:0;
		top:0;
	}
	.photoGalleryContainer .gallatyPreview.elementi_2 .gridGalleryElement.image_2 {
		width:calc(50% - (var(--dgl-photogallery-single-spacer) * 2));
		height:calc(var(--dgl-photogallery-3-of-3) - (var(--dgl-photogallery-single-spacer) * 2));
		left:50%;
		top:0;
	}

	/* 1 elementi */
	.photoGalleryContainer .gallatyPreview.elementi_1 .gridGalleryElement.image_1 {
		width:calc(100% - 4px);
		height:calc(var(--dgl-photogallery-3-of-3) - 4px);
		left:0;
		top:0;
	}

@media (min-width: 768px) {
    .cms-data-info>.content .evento-info-col {
        max-width: 320px;
    }
}

@media (max-width: 767px) {
    .cms-data-info>.content .evento-info-col {
        margin-bottom: 3rem;
    }
    .cms-data-info>.content .evento-info-col:last-of-type {
        margin-bottom: 0;
    }

    .photoGalleryContainer {
		margin:0 0 0 0;
	}
	.photoGalleryContainer .gallatyPreview {
    }
	/*
    .photoGalleryContainer .gallatyPreview {
		height:var(--dgl-photogallery-2-of-3);
	}
	*/
    /* 6 elementi */
	.photoGalleryContainer .gallatyPreview.elementi_6 .gridGalleryElement.image_1 {
		height:calc(var(--dgl-photogallery-1-of-3) - (var(--dgl-photogallery-single-spacer) * 2));
		top:0;
	}
	.photoGalleryContainer .gallatyPreview.elementi_6 .gridGalleryElement.image_2 {
		height:calc(var(--dgl-photogallery-2-of-3) - (var(--dgl-photogallery-single-spacer) * 2));
		top:0;
	}
	.photoGalleryContainer .gallatyPreview.elementi_6 .gridGalleryElement.image_3 {
		height:calc(var(--dgl-photogallery-2-of-3) - (var(--dgl-photogallery-single-spacer) * 2));
		top: var(--dgl-photogallery-1-of-3);
	}
	.photoGalleryContainer .gallatyPreview.elementi_6 .gridGalleryElement.image_4 {
		height:calc(var(--dgl-photogallery-1-of-3) - (var(--dgl-photogallery-single-spacer) * 2));
		top: var(--dgl-photogallery-1-of-3);
	}
	.photoGalleryContainer .gallatyPreview.elementi_6 .gridGalleryElement.image_5 {
		height:calc(var(--dgl-photogallery-1-of-3) - (var(--dgl-photogallery-single-spacer) * 2));
		top: var(--dgl-photogallery-2-of-3);
	}
	.photoGalleryContainer .gallatyPreview.elementi_6 .gridGalleryElement.image_6 {
		height:calc(var(--dgl-photogallery-1-of-3) - (var(--dgl-photogallery-single-spacer) * 2));
		top: var(--dgl-photogallery-2-of-3);
	}

	/* 5 elementi */
	.photoGalleryContainer .gallatyPreview.elementi_5 .gridGalleryElement.image_1 {
		height:calc(var(--dgl-photogallery-2-of-3) - (var(--dgl-photogallery-single-spacer) * 2));
		top:0;
	}
	.photoGalleryContainer .gallatyPreview.elementi_5 .gridGalleryElement.image_2 {
		height:calc(var(--dgl-photogallery-2-of-3) - (var(--dgl-photogallery-single-spacer) * 2));
		top:0;
	}
	.photoGalleryContainer .gallatyPreview.elementi_5 .gridGalleryElement.image_3 {
		height:calc(var(--dgl-photogallery-2-of-3) - (var(--dgl-photogallery-single-spacer) * 2));
		top:0;
	}
	.photoGalleryContainer .gallatyPreview.elementi_5 .gridGalleryElement.image_4 {
		height:calc(var(--dgl-photogallery-1-of-3) - (var(--dgl-photogallery-single-spacer) * 2));
		left:0;
		top: var(--dgl-photogallery-2-of-3);
	}
	.photoGalleryContainer .gallatyPreview.elementi_5 .gridGalleryElement.image_5 {
		height:calc(var(--dgl-photogallery-1-of-3) - (var(--dgl-photogallery-single-spacer) * 2));
		top: var(--dgl-photogallery-2-of-3);
	}

	/* 4 elementi */
	.photoGalleryContainer .gallatyPreview.elementi_4 .gridGalleryElement.image_1 {
		height:calc(var(--dgl-photogallery-1-of-3) - (var(--dgl-photogallery-single-spacer) * 2));
		top:0;
	}
	.photoGalleryContainer .gallatyPreview.elementi_4 .gridGalleryElement.image_2 {
		height:calc(var(--dgl-photogallery-2-of-3) - (var(--dgl-photogallery-single-spacer) * 2));
		top:0;
	}
	.photoGalleryContainer .gallatyPreview.elementi_4 .gridGalleryElement.image_3 {
		height:calc(var(--dgl-photogallery-2-of-3) - (var(--dgl-photogallery-single-spacer) * 2));
		top: var(--dgl-photogallery-1-of-3);
	}
	.photoGalleryContainer .gallatyPreview.elementi_4 .gridGalleryElement.image_4 {
		height:calc(var(--dgl-photogallery-1-of-3) - (var(--dgl-photogallery-single-spacer) * 2));
		top: var(--dgl-photogallery-2-of-3);
	}

	/* 3 elementi */
	.photoGalleryContainer .gallatyPreview.elementi_3 .gridGalleryElement.image_1 {
		height:calc(var(--dgl-photogallery-2-of-3) - (var(--dgl-photogallery-single-spacer) * 2));
		top:0;
	}
	.photoGalleryContainer .gallatyPreview.elementi_3 .gridGalleryElement.image_2 {
		height:calc(var(--dgl-photogallery-2-of-3) - (var(--dgl-photogallery-single-spacer) * 2));
		top:0;
	}
	.photoGalleryContainer .gallatyPreview.elementi_3 .gridGalleryElement.image_3 {
		height:calc(var(--dgl-photogallery-1-of-3) - (var(--dgl-photogallery-single-spacer) * 2));
		top: var(--dgl-photogallery-2-of-3);
	}

	/* 2 elementi */
	.photoGalleryContainer .gallatyPreview.elementi_2 .gridGalleryElement.image_1 {
		height:calc(var(--dgl-photogallery-2-of-3) - (var(--dgl-photogallery-single-spacer) * 2));
		top:0;
	}
	.photoGalleryContainer .gallatyPreview.elementi_2 .gridGalleryElement.image_2 {
		height:calc(var(--dgl-photogallery-2-of-3) - (var(--dgl-photogallery-single-spacer) * 2));
		top:0;
	}

	/* 1 elementi */
	.photoGalleryContainer .gallatyPreview.elementi_1 .gridGalleryElement.image_1 {
		height:calc(var(--dgl-photogallery-2-of-3) - (var(--dgl-photogallery-single-spacer) * 2));
		top:0;
	}
	ul.widget-body-footer-list>li h2 ,
	ul.widget-body-content-list>li h2 {
		margin:0 0 32px 0;
	}
	body.ecommerce .slider-abstract {
		margin:-16px 0 16px 0;
	}
}
@media (max-width: 500px) {
    .photoGalleryContainer .gallatyPreview {
		height: 50vh;
	}
}


@media (min-width: 992px) {
    .col-lg-20perc {
        width: 20%;
    }
}
@media (min-width: 768px) {
    .col-md-20perc {
        width: 20%;
    }
}

