/*
Theme Name: Indaweb Child
Template: Divi
Theme URI: https://indaweb.it
Author: Indaweb
Author URI: https://indaweb.it
Description: Flexible Multi-Purpose Responsive WordPress Theme
Version: 1.0
Tags: one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-menu, featured-images, flexible-header, post-formats, sticky-post, translation-ready

/* Below you can write your style */
@media screen and (max-width: 980px) {
    .reverse {
        display: flex!important;
        flex-direction: column-reverse!important;
    }
} 


/*---Form---*/
@media screen and (min-width: 981px) {
.row-one-half {
	display: flex!important;
    flex-direction: row!important;
    column-gap: 20px!important;
}
.row-one-half div{
	max-width:100%!important;
	width:50%!important;
	}
}
.wpcf7-response-output{
	color:#fff!important;
}
/*---Bottoni---*/
.et_pb_button.glass-btn, .wpcf7-form .wpcf7-submit{
    position: relative;
    padding: 14px 32px!important;
    border-radius: 0px!important;
    background: rgba(255, 255, 255, .9)!important;
    backdrop-filter: blur(10px)!important;
    -webkit-backdrop-filter: blur(10px)!important;
    border: 1px solid rgba(255, 255, 255, 0.3)!important;
    color: #1D242F!important;
    transition: all 0.3s ease!important;
    overflow: hidden!important;
}
.et_pb_button.glass-btn:hover, .wpcf7-form .wpcf7-submit:hover{
    background: rgba(255, 255, 255, 0.25)!important;
	padding: 14px 32px!important;
    border-color: rgba(255, 255, 255, 1)!important;
    transform: translateY(-2px)!important;
	color:#fff!important;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.4)!important;
}
.et_pb_button.btn-el--primary, .dipl_blog_post_read_more_link .et_pb_button{
    padding: 14px 32px!important;
    border-radius: 0px!important;
    background: #1d242fed!important;
    backdrop-filter: blur(10px)!important;
    -webkit-backdrop-filter: blur(10px)!important;
    border: 1px solid #1d242f38!important;
    color: #fff!important;
    transition: all 0.3s ease!important;
    overflow: hidden!important;
}
.et_pb_button.btn-el--primary:hover, .dipl_blog_post_read_more_link .et_pb_button:hover{
    background: #1d242fb8!important;
	padding: 14px 32px!important;
    border-color: #1d242f!important;
    transform: translateY(-2px)!important;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.4)!important;
}
.et_pb_button.btn-el--secondary{
	padding: 14px 32px!important;
    border-radius: 0px!important;
    background: #1d242f00!important;
    backdrop-filter: blur(10px)!important;
    -webkit-backdrop-filter: blur(10px)!important;
    border: 1px solid #1d242f!important;
    color: #1d242f!important;
    transition: all 0.3s ease!important;
    overflow: hidden!important;
}
.et_pb_button.btn-el--secondary:hover{
	background: rgba(255, 255, 255, 0.25)!important;
	padding: 14px 32px!important;
    border-color: rgba(255, 255, 255, 1)!important;
    transform: translateY(-2px)!important;
	color:#1d242f!important;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.4)!important;
}
/*---Home---*/
.overlay-bg {
    position: relative;
    overflow: hidden;
}
.overlay-bg::before {
    content: "";
    position: absolute;
    inset: 0; 
    background-color: rgba(0, 0, 0, 0.35);
    z-index: 2;
    pointer-events: none;
}
.overlay-bg .et_pb_row {
    position: absolute;
    z-index: 3;
}
.riga-servizi-home .et_pb_column {
  transition: all 0.3s ease;
}

.riga-servizi-home .et_pb_column:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}
@media screen and (max-width:980px){
	.dtq-dual-btn {
    display: flex;
    width: 100%;
    flex-direction: column!important;
    gap: 30px!important;
    align-items: center!important;
	}
	.dtq-dual-btn .btn-el--primary{
		margin-right:0!important;
	}
	.dtq-dual-btn .btn-el--secondary{
		margin-left:0!important;
	}
	.dtq-dual-btn .dtq-btn-wrap{
		width:100%!important;
		text-align:center!important;
		display:grid!important;
	}
}
/*---Vendere---*/
.metodo-slider .dipl_horizontal_scrolling_card_item_1 h4, .metodo-slider .dipl_horizontal_scrolling_card_item_3 h4, .metodo-slider .dipl_horizontal_scrolling_card_item_5 h4, .metodo-slider .dipl_horizontal_scrolling_card_item_7 h4, .metodo-slider .dipl_horizontal_scrolling_card_item_9 h4 {
	display:none!important;
	border-right:0!important;
	border-right-width: 0px!important;
}
.metodo-slider .dipl_horizontal_scrolling_card_wrapper {
	background: center!important;
	background-size: contain!important;
	background-repeat: no-repeat!important;
}
/*---------Blog---------*/
.modulo-blog .dipl_blog_post_content_wrapper{
	    padding: 30px!important;
}

/*---Immobile---*/
.immobile-prezzo {
	font-size: 30px;
	color: #fff;
}

.immobile-info-base {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.immobile-info-item {
	display: flex;
	align-items: center;
	gap: 14px;
	color: #fff;
	line-height: 1.2;
}

.immobile-info-text {
	font-size: 18px;
	color: #fff;
}

.immobile-info-icon {
	width: 34px;
	height: 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #1D242F;
	background: #fff;
	flex-shrink: 0;
	padding: 7px;
}

.immobile-info-icon svg {
	width: 100%;
	height: 100%;
	display: block;
}

.immobile-info-badge,
.immobile-info-energy-badge {
	min-width: 34px;
	height: 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	font-weight: 700;
	flex-shrink: 0;
	padding: 0 8px;
}

.immobile-info-badge {
	background: #fff;
	color: #1d3f8f;
}

.immobile-info-energy-badge {
	color: #fff;
}

@media screen and (max-width: 767px) {
	.immobile-info-text {
		font-size: 16px;
	}
}

.immobile-gallery-masonry {
	column-count: 4;
	column-gap: 6px;
}

.immobile-gallery-item {
	display: block;
	break-inside: avoid;
	margin: 0 0 6px;
}

.immobile-gallery-item img {
	display: block;
	width: 100%;
	height: auto;
}

@media screen and (max-width: 980px) {
	.immobile-gallery-masonry {
		column-count: 2;
	}
}

.immobile-lightbox {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.9);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 99999;
	padding: 24px;
}

.immobile-lightbox.is-open {
	display: flex;
}

.immobile-lightbox-image {
	max-width: calc(100vw - 120px);
	max-height: calc(100vh - 60px);
	width: auto;
	height: auto;
	opacity: 1;
	transition: opacity 0.24s ease;
	will-change: opacity;
}

.immobile-lightbox.is-switching .immobile-lightbox-image {
	opacity: 0.3;
}

.immobile-lightbox-close,
.immobile-lightbox-nav {
	position: absolute;
	background: rgba(255, 255, 255, 0.12);
	border: 0;
	color: #fff;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}

.immobile-lightbox-close {
	top: 20px;
	right: 20px;
	width: 42px;
	height: 42px;
	font-size: 28px;
	line-height: 1;
}

.immobile-lightbox-nav {
	top: 50%;
	transform: translateY(-50%);
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.immobile-lightbox-nav svg {
	width: 26px;
	height: 26px;
	display: block;
}

.immobile-lightbox-close:hover,
.immobile-lightbox-nav:hover {
	background: rgba(255, 255, 255, 0.22);
}

.immobile-lightbox-nav:hover {
	transform: translateY(-50%) scale(1.05);
}

.immobile-lightbox-prev {
	left: 20px;
}

.immobile-lightbox-next {
	right: 20px;
}

body.immobile-lightbox-open {
	overflow: hidden;
}

@media screen and (max-width: 767px) {
	.immobile-lightbox {
		padding: 12px;
	}

	.immobile-lightbox-image {
		max-width: calc(100vw - 24px);
		max-height: calc(100vh - 24px);
	}

	.immobile-lightbox-nav {
		width: 40px;
		height: 40px;
	}

	.immobile-lightbox-nav svg {
		width: 22px;
		height: 22px;
	}

	.immobile-lightbox-prev {
		left: 8px;
	}

	.immobile-lightbox-next {
		right: 8px;
	}
}
