.wpb_single_image.large-image{
	direction: rtl;
}

.reverse .wpb_single_image.large-image{
	direction: ltr;
}

.wpb_single_image.large-image img{
	height: 550px !important;
	width: auto !important;
	max-width: none !important;
}


.logo-fixed-large img{
	max-height: 140px;
	width: auto;
}

.full-width-img img{
	width: 100%;
}


.page-template-template-botteghe .entry-content p:last-child {
    margin-bottom: 0;
}

.page-template-template-botteghe .entry-content {
    padding-bottom: 150px;
}

.page-template-template-botteghe .entry-content .titolo {
    line-height: 1;
    margin-bottom: 10px;
}

.page-template-template-botteghe .entry-content .text {
    /*
    font-size: 18px;
    line-height: 1.33;
    color: #000;
    margin-bottom: 38px;
    */
}

/* galleria a mosaico */

.page-template-template-botteghe .entry-content .mosaicGallery {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -5px 20px;
}

.page-template-template-botteghe .entry-content .mosaicGallery .item {
    width: 50%;
    position: relative;
}

.page-template-template-botteghe .entry-content .mosaicGallery .item:before {
    content:" ";
    display: block;
    padding-bottom: 80%;
}

.page-template-template-botteghe .entry-content .mosaicGallery .item .imageBox {
    position: absolute;
}

.page-template-template-botteghe .entry-content .mosaicGallery .item .imageBox:first-child:last-child { /* unico */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.page-template-template-botteghe .entry-content .mosaicGallery .item .imageBox:first-child:not(:last-child) { /* primo */
    top: 0;
    left: 0;
    right: 50%;
    bottom: 0;
}

.page-template-template-botteghe .entry-content .mosaicGallery .item .imageBox + .imageBox:not(:last-child) { /* secondo */
    top: 0;
    left: 50%;
    right: 0;
    bottom: 50%;
}

.page-template-template-botteghe .entry-content .mosaicGallery .item .imageBox + .imageBox:last-child { /* secondo ed ultimo */
    top: 0;
    left: 50%;
    right: 0;
    bottom: 0;
}

.page-template-template-botteghe .entry-content .mosaicGallery .item .imageBox + .imageBox + .imageBox:last-child { /* terzo */
    top: 50%;
    left: 50%;
    right: 0;
    bottom: 0;
}

.page-template-template-botteghe .entry-content .mosaicGallery .item .imageBox .image {
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    background-size: cover;
    background-position: center center;
}

.page-template-template-botteghe .entry-content .mosaicGallery .item:nth-child(3) { /* larghezza terzo blocco */
    width: 46.5%;
	flex-grow: 1;
	flex-shrink: 1;
}
.page-template-template-botteghe .entry-content .mosaicGallery .item:nth-child(3):before { /* altezza terzo blocco */
    padding-bottom: 40%;
    max-height: 420px;
    overflow: hidden;
}
.page-template-template-botteghe .entry-content .mosaicGallery .item:nth-child(3) .imageBox:nth-child(1) {
    right: 56%;
}
.page-template-template-botteghe .entry-content .mosaicGallery .item:nth-child(3) .imageBox:nth-child(2),
.page-template-template-botteghe .entry-content .mosaicGallery .item:nth-child(3) .imageBox:nth-child(3):last-child {
    left: 44%;
}

.page-template-template-botteghe .entry-content .mosaicGallery .item:nth-child(4) {
    width: 53.5%;
	flex-grow: 1;
	flex-shrink: 1;
}
.page-template-template-botteghe .entry-content .mosaicGallery .item:nth-child(4):before {
    padding-bottom: 65%;
    max-height: 420px;
    overflow: hidden;
}

.page-template-template-botteghe .entry-content .mosaicGallery .item:nth-child(4) .imageBox:nth-child(1) {
    right: 45%;
}
.page-template-template-botteghe .entry-content .mosaicGallery .item:nth-child(4) .imageBox:nth-child(2),
.page-template-template-botteghe .entry-content .mosaicGallery .item:nth-child(4) .imageBox:nth-child(3):last-child {
    left: 55%;
}
.page-template-template-botteghe .entry-content .mosaicGallery .item:nth-child(4):not(:has(.imageBox:nth-child(2))):not(:has(.imageBox:nth-child(3))) .imageBox:nth-child(1){
	right: 0 !important;
}


.page-template-template-botteghe .entry-content .mosaicGallery .item:nth-child(5) {
	flex-grow: 1;
	flex-shrink: 1;
}
.page-template-template-botteghe .entry-content .mosaicGallery .item:nth-child(5):before {
    padding-bottom: 80%;
    max-height: 420px;
    overflow: hidden;
}

.page-template-template-botteghe .entry-content .mosaicGallery .item:nth-child(5) .imageBox:nth-child(1) {
    right: 45%;
}
.page-template-template-botteghe .entry-content .mosaicGallery .item:nth-child(5) .imageBox:nth-child(2),
.page-template-template-botteghe .entry-content .mosaicGallery .item:nth-child(5) .imageBox:nth-child(3):last-child {
    left: 55%;
}
.page-template-template-botteghe .entry-content .mosaicGallery .item:nth-child(5):not(:has(.imageBox:nth-child(2))):not(:has(.imageBox:nth-child(3))) .imageBox:nth-child(1){
	right: 0 !important;
}


.page-template-template-botteghe .entry-content .mosaicGallery .item:nth-child(6) {
	flex-grow: 1;
	flex-shrink: 1;
}
.page-template-template-botteghe .entry-content .mosaicGallery .item:nth-child(6):before {
    padding-bottom: 80%;
    max-height: 420px;
    overflow: hidden;
}

.page-template-template-botteghe .entry-content .mosaicGallery .item:nth-child(6) .imageBox:nth-child(1) {
    right: 45%;
}
.page-template-template-botteghe .entry-content .mosaicGallery .item:nth-child(6) .imageBox:nth-child(2),
.page-template-template-botteghe .entry-content .mosaicGallery .item:nth-child(6) .imageBox:nth-child(3):last-child {
    left: 55%;
}
.page-template-template-botteghe .entry-content .mosaicGallery .item:nth-child(6):not(:has(.imageBox:nth-child(2))):not(:has(.imageBox:nth-child(3))) .imageBox:nth-child(1){
	right: 0 !important;
}


.page-template-template-botteghe .entry-content .mosaicGallery .item:nth-child(7) {
	width: 46.5%;
	flex-grow: 1;
	flex-shrink: 1;
}
.page-template-template-botteghe .entry-content .mosaicGallery .item:nth-child(7):before {
    padding-bottom: 65%;
    max-height: 420px;
    overflow: hidden;
}

.page-template-template-botteghe .entry-content .mosaicGallery .item:nth-child(7) .imageBox:nth-child(1) {
    right: 45%;
}
.page-template-template-botteghe .entry-content .mosaicGallery .item:nth-child(7) .imageBox:nth-child(2),
.page-template-template-botteghe .entry-content .mosaicGallery .item:nth-child(7) .imageBox:nth-child(3):last-child {
    left: 55%;
}
.page-template-template-botteghe .entry-content .mosaicGallery .item:nth-child(7):not(:has(.imageBox:nth-child(2))):not(:has(.imageBox:nth-child(3))) .imageBox:nth-child(1){
	right: 0 !important;
}


.page-template-template-botteghe .entry-content .mosaicGallery .item:nth-child(8) {
	width: 53.5%;
	flex-grow: 1;
	flex-shrink: 1;
}
.page-template-template-botteghe .entry-content .mosaicGallery .item:nth-child(8):before {
    padding-bottom: 65%;
    max-height: 420px;
    overflow: hidden;
}

.page-template-template-botteghe .entry-content .mosaicGallery .item:nth-child(8) .imageBox:nth-child(1) {
    right: 45%;
}
.page-template-template-botteghe .entry-content .mosaicGallery .item:nth-child(8) .imageBox:nth-child(2),
.page-template-template-botteghe .entry-content .mosaicGallery .item:nth-child(8) .imageBox:nth-child(3):last-child {
    left: 55%;
}
.page-template-template-botteghe .entry-content .mosaicGallery .item:nth-child(8):not(:has(.imageBox:nth-child(2))):not(:has(.imageBox:nth-child(3))) .imageBox:nth-child(1){
	right: 0 !important;
}

@media all and (max-width: 767px) {
    .page-template-template-botteghe .entry-content .mosaicGallery .item:nth-child(3),
    .page-template-template-botteghe .entry-content .mosaicGallery .item:nth-child(4),
	.page-template-template-botteghe .entry-content .mosaicGallery .item:nth-child(5),
	.page-template-template-botteghe .entry-content .mosaicGallery .item:nth-child(6),
	.page-template-template-botteghe .entry-content .mosaicGallery .item:nth-child(7),
	.page-template-template-botteghe .entry-content .mosaicGallery .item:nth-child(8) {
        width: 100%!important;
    }
}

@media all and (max-width: 500px) {
    .page-template-template-botteghe .entry-content .mosaicGallery .item {
        width: 100%!important;
    }
}


.page-template-template-botteghe .entry-content .GridGallery{
	margin: 20px 0;
}

.page-template-template-botteghe .entry-content .GridGallery .grid-contents{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
}

.page-template-template-botteghe .entry-content .GridGallery .grid-contents .imageWrapper{
	aspect-ratio: 1/1;
}

.page-template-template-botteghe .entry-content .GridGallery .grid-contents .imageWrapper img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media all and (max-width: 767px) {
    .page-template-template-botteghe .entry-content .GridGallery .grid-contents{
		grid-template-columns: 1fr 1fr;
	}
}
@media all and (max-width: 500px) {
    .page-template-template-botteghe .entry-content .GridGallery .grid-contents{
		grid-template-columns: 1fr;
	}
}


/* cta link & claim */

.page-template-template-botteghe .cta-text .cta {
    background-color: #a72c32;
    color: white;
    padding: 5px;
    margin-top: 10px;
    display: inline-block;
    margin-bottom: 20px;
}

.page-template-template-botteghe .cta-claim {
    margin-bottom: 40px;
    display: block;
    line-height: 20px;
}


/* map & info */

.page-template-template-botteghe .entry-content .mapAndInfo {
    display: flex;
}

.page-template-template-botteghe .entry-content .mapAndInfo .map {
    flex-grow: 1;
    padding-right: 70px;
}

.page-template-template-botteghe .entry-content .mapAndInfo .map iframe {
    width: 100%;
}

.page-template-template-botteghe .entry-content .mapAndInfo .info {
    flex-shrink: 0;
    width: 300px;
    text-align: center;
    font-weight: 700;
    color: #000;
}

.page-template-template-botteghe .entry-content .mapAndInfo .info img {
    margin-bottom: 10px;
    width: 100%;
    max-width: 300px;
}

.page-template-template-botteghe .entry-content .mapAndInfo .info .followUs {
    margin-top: 50px;
}

.page-template-template-botteghe .entry-content .mapAndInfo .info .followUs p {
    margin-bottom: 0;
}

.page-template-template-botteghe .entry-content .mapAndInfo .info .followUs ul {
    list-style: none;
    padding: 0;
    margin: 3px 0 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-template-template-botteghe .entry-content .mapAndInfo .info .followUs ul li {
    padding: 2px 2px 0;
}

@media all and (max-width: 1279px) {
    .page-template-template-botteghe .entry-content .mapAndInfo .map {
        padding-right: 50px;
    }
}

@media all and (max-width: 1099px) {
    .page-template-template-botteghe .entry-content .mapAndInfo .map {
        padding-right: 40px;
    }
}

@media all and (max-width: 1023px) {
    .page-template-template-botteghe .entry-content .mapAndInfo .map {
        padding-right: 30px;
    }
}

@media all and (max-width: 767px) {
    .page-template-template-botteghe .entry-content .mapAndInfo {
        flex-direction: column;
    }

    .page-template-template-botteghe .entry-content .mapAndInfo .map {
        padding-right: 0;
    }

    .page-template-template-botteghe .entry-content .mapAndInfo .info {
        margin-top: 50px;
        width: 100%;
    }
}

.lavora-con-noi-box {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: stretch;
    width: 100%;
}
.lavora-con-noi-box .lavora-con-noi-left,
.lavora-con-noi-box .lavora-con-noi-right {
    flex: 1 1 auto;
    flex-direction: column;
    flex-basis: 100%;
    margin: 30px;
}

.lavora-con-noi-box .lavora-con-noi-left {}
.lavora-con-noi-box .lavora-con-noi-right {}

.lavora-con-noi-box .lavora-con-noi-left > div {
    padding: 20px;
    border: 2px solid #a72c32;
    min-height: 100%;
}

.lavora-con-noi-box .lavora-con-noi-left strong {
    display: block;
    margin: 20px 0;
}

.lavora-con-noi-box .lavora-con-noi-right .wpcf7 {
    display: block;
    height: 100%;
}
.lavora-con-noi-box .lavora-con-noi-right .wpcf7 form {
    background-color: #f3f3f3;
    border: 2px solid #f3f3f3;
    padding: 15px;
    display: block;
    height: 100%;
}

.lavora-con-noi-box .lavora-con-noi-right .wpcf7 form textarea {
    width: 100%;
}


@media screen and (max-width: 991px) {
    .lavora-con-noi-box { flex-wrap: wrap; }
}

/* footer newsletter */
.footer-bottom .widget_newslettercf7customwidget {
    display: flex;
    justify-content: flex-end;
}
.footer-bottom .widget_newslettercf7customwidget form {
    width: 420px;
}

.footer-bottom .widget_newslettercf7customwidget form > p {
    margin-bottom: 0;
}

.footer-bottom .widget_newslettercf7customwidget form > p br {
    display: none;
}
.footer-bottom .widget_newslettercf7customwidget form > p strong {
    font-size: 1.4em;
}

.footer-bottom .widget_newslettercf7customwidget form > p label {
    margin: 0;
}

.footer-bottom .widget_newslettercf7customwidget form .fieldsgroup {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    margin-top: 2px;
}

.footer-bottom .widget_newslettercf7customwidget form .fieldsgroup .wpcf7-form-control-wrap {
    display: block!important;
    margin-bottom: 0;
    flex-grow: 1;
}

.footer-bottom .widget_newslettercf7customwidget form .fieldsgroup input[type="email"] {
    color: #000;
}

.footer-bottom .widget_newslettercf7customwidget form .fieldsgroup input[type="submit"] {
    margin-bottom: 0;
    margin-left: 5px;
}

.footer-bottom .widget_newslettercf7customwidget form .fieldsgroup .ajax-loader {
    position: absolute;
    left: 100%;
    background-image: url(../images/ajax-loader-blackbg.gif);
    background-size: contain;
}

.footer-bottom .widget_newslettercf7customwidget form .wpcf7-acceptance .wpcf7-list-item-label {
    text-transform: none!important;
}
.footer-bottom .widget_newslettercf7customwidget form .wpcf7-acceptance a {
    text-decoration: underline;
}

@media all and (max-width: 991px) {
    .footer-bottom .widget_newslettercf7customwidget form {
        width: 340px;
    }
}

@media all and (max-width: 767px) {
    .footer-bottom .widget_newslettercf7customwidget {
        justify-content: center;
        margin: 40px 0!important;
    }
}


.titolo-mappa h2{
	font-size: 45px;
	color: #a72c32;
	font-family: AlteHaasGroteskBold !important;
	letter-spacing: 0;
}




/* template botteghe gift card */
.titleWrapper{
	margin-top: 50px;
    margin-bottom: 50px;
}
.titleWrapper .titolo{
	line-height: 1;
}
.botteghe-group-wrapper:not(:last-child){
	margin-bottom: 80px;
}
.botteghe_group{
	display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 80px;
    row-gap: 60px;
}
.botteghe_group .bottega{
	height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: start;
}
.botteghe_group .bottega .location{
	margin-bottom: 20px;
}
.botteghe_group .bottega img{
	display: block;
    /*max-height: 80px;*/
}

.botteghe_group .bottega .topHalf{
	flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.botteghe_group .bottega .bottomHalf{
	/* flex-grow: 1; */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.mapWrapper img{
	display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 1000px){
	.botteghe_group{
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px){
	.botteghe_group{
        grid-template-columns: 1fr;
    }
}


.page-template-template-botteghe #main .entry-content > div > img{
	width: 100%;
}