.truncate {
	width: 250px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.crop_photo {
    width: 100%;
    height: 310px;
    object-fit: cover;
    border-radius: 5px;
}

.wdpform {
    width: 100%;
    height: 40px!important;
    border: 1px solid rgba(129, 129, 129, .25)!important;
    font-size: 14px;
    line-height: 18px;
    padding: 0 10px;
    transition: border-color .5s;
    box-shadow: none;
    border-radius: 0;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: white;
}
::-moz-placeholder { /* Firefox 19+ */
  color: white;
}
:-ms-input-placeholder { /* IE 10+ */
  color: white;
}
:-moz-placeholder { /* Firefox 18- */
  color: white;
}

.img_grey {
	-webkit-filter: grayscale(100%);
    -webkit-transition: .5s ease-in-out;
    -moz-filter: grayscale(100%);
    -moz-transition: .5s ease-in-out;
    -o-filter: grayscale(100%);
    -o-transition: .5s ease-in-out;
}
.img_grey:hover { 
    -webkit-filter: grayscale(0%);
    filter: grayscale(0%);
}

.img_grey50 {
	-webkit-filter: grayscale(25%);
    -webkit-transition: .5s ease-in-out;
    -moz-filter: grayscale(25%);
    -moz-transition: .5s ease-in-out;
    -o-filter: grayscale(25%);
    -o-transition: .5s ease-in-out;
}
.img_grey50:hover { 
    -webkit-filter: grayscale(0%);
    filter: grayscale(0%);
}

.overlay {
	position: absolute; 
	top: 0; 
	left: 0; 
	width: 100%; 
	height: 100%;
	background: #000; 
	opacity: .4; 
	z-index: -1;
}
.overlay_dark {
	position: absolute; 
	top: 0; 
	left: 0; 
	width: 100%; 
	height: 100%;
	background: #000; 
	opacity: .6; 
	z-index: -1;
}

																	
.wgl-container ul li:before {
	background-color: unset;
}


.ribbon_green {
	position: absolute;
	/*right: 0px; top: 0px;*/
	left: 0px; top: 0px;
	z-index: 999999;
	overflow: hidden;
	width: 75px; height: 75px;
	text-align: right;
}
.ribbon_green span {
	font-size: 10px;
	font-weight: bold;
	color: #FFF;
	text-transform: uppercase;
	text-align: center;
	line-height: 20px;
	/*transform: rotate(45deg);*/
	/*-webkit-transform: rotate(45deg);*/
	transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);	
	width: 100px;
	display: block;
	background: #6caf5d;
	background: linear-gradient(#94d885 0%, #608e56 100%);
	box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
	position: absolute;
	/*top: 19px; right: -21px;*/
	top: 19px; left: -21px;
}

.ribbon_red {
	position: absolute;
	/*right: 0px; top: 0px;*/
	left: 0px; top: 0px;
	z-index: 999999;
	overflow: hidden;
	width: 75px; height: 75px;
	text-align: right;
}
.ribbon_red span {
	font-size: 10px;
	font-weight: bold;
	color: #FFF;
	text-transform: uppercase;
	text-align: center;
	line-height: 20px;
	/*transform: rotate(45deg);*/
	/*-webkit-transform: rotate(45deg);*/
	transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);		
	width: 100px;
	display: block;
	background: #F44336;
	background: linear-gradient(#f12e20 0%, #d8392e 100%);
	box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
	position: absolute;
	/*top: 19px; right: -21px;*/
	top: 19px; left: -21px;
}

.ribbon_yellow {
	position: absolute;
	/*right: 0px; top: 0px;*/
	left: 0px; top: 0px;
	z-index: 999999;
	overflow: hidden;
	width: 75px; height: 75px;
	text-align: right;
}
.ribbon_yellow span {
	font-size: 10px;
	font-weight: bold;
	color: #FFF;
	text-transform: uppercase;
	text-align: center;
	line-height: 20px;
	/*transform: rotate(45deg);*/
	/*-webkit-transform: rotate(45deg);*/
	transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);		
	width: 100px;
	display: block;
	background: #ffb606;
	background: linear-gradient(#ffb606 0%, #feca4c 100%);
	box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
	position: absolute;
	/*top: 19px; right: -21px;*/
	top: 19px; left: -21px;
}

.ribbon_orange {
	position: absolute;
	/*right: 0px; top: 0px;*/
	left: 0px; top: 0px;
	z-index: 999999;
	overflow: hidden;
	width: 75px; height: 75px;
	text-align: right;
}
.ribbon_orange span {
	font-size: 10px;
	font-weight: bold;
	color: #FFF;
	text-transform: uppercase;
	text-align: center;
	line-height: 20px;
	/*transform: rotate(45deg);*/
	/*-webkit-transform: rotate(45deg);*/
	transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);		
	width: 100px;
	display: block;
	background: #fb913b;
	background: linear-gradient(#fb913b 0%, #ff7506 100%);
	box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
	position: absolute;
	/*top: 19px; right: -21px;*/
	top: 19px; left: -21px;
}

.ribbon_oro {
	position: absolute;
	/*right: 0px; top: 0px;*/
	left: 0px; top: 0px;
	z-index: 999999;
	overflow: hidden;
	width: 75px; height: 75px;
	text-align: right;
}
.ribbon_oro span {
	font-size: 10px;
	font-weight: bold;
	color: #FFF;
	text-transform: uppercase;
	text-align: center;
	line-height: 20px;
	/*transform: rotate(45deg);*/
	/*-webkit-transform: rotate(45deg);*/
	transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);		
	width: 100px;
	display: block;
	background: #cabe9f;
	background: linear-gradient(#d1c6ab 0%, #b8a984 100%);
	box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
	position: absolute;
	/*top: 19px; right: -21px;*/
	top: 19px; left: -21px;
}



.primary-nav>div>ul, .primary-nav>ul, .sitepress_container>.wpml-ls li, .primary-nav ul li.mega-menu-links>ul>li {
    font-size: 15px;
}
.primary-nav > ul > li > a {
    padding: 0 15px;
}


.onsale {
	background-color: #edd067!important;
	color: #ffffff!important;
}
.onsale {
	top: 0;
	right: 0;
	left: auto;
	margin: -0.5em -0.5em 0 0;
}
.onsale {
	height: 40px;
	width: 40px;
	line-height: 40px;
	display: block;
	padding: 0;
	font-size: 15px;
	font-weight: 700;
	position: absolute;
	text-align: center;
	top: -0.5em;
	left: -0.5em;
	margin: 0;
	font-size: .757em;
	-webkit-font-smoothing: antialiased;
	z-index: 99;
	-webkit-transform: rotate(-15deg);
	-moz-transform: rotate(-15deg);
	-ms-transform: rotate(-15deg);
	-o-transform: rotate(-15deg);
	transform: rotate(-15deg);
}
.onsale:before, .onsale:after {
	background: #edd067!important;
}
.onsale:before {
	-webkit-transform: rotate(30deg);
	-moz-transform: rotate(30deg);
	-ms-transform: rotate(30deg);
	-o-transform: rotate(30deg);
	transform: rotate(30deg);
}
.onsale:before, .onsale:after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	height: 40px;
	width: 40px;
	z-index: -1;
}
.onsale span {
	position: relative;
	z-index: 10;
}
.onsale:before, .onsale:after {
	background: #edd067!important;
}
.onsale:after {
	-webkit-transform: rotate(60deg);
	-moz-transform: rotate(60deg);
	-ms-transform: rotate(60deg);
	-o-transform: rotate(60deg);
	transform: rotate(60deg);
}
.onsale:before, .onsale:after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	height: 40px;
	width: 40px;
	z-index: -1;
}
.onsale {
	top: 0;
	right: 0;
	left: auto;
	/*margin: -0.5em -0.5em 0 0;*/
	margin: 25px;
}

@media screen and (max-width: 768px) {
	.onsale {
		margin: 15px;
	}
}







.property_listing_details {
	position: relative;
	color: #4f525a;
	width: 100%;
	float: left;
	margin-bottom: 32px;
	margin-top: 10px;
}
.info_labels {
	width: 100%;
	font-size: 12px;
	font-weight: 300;
}	
	
.property_listing_details .inforoom, .property_location .inforoom, 
.property_listing_details .infobath, .property_location .infobath, 
.property_listing_details .infosize, .property_location .infosize {
	width: 33%;
	float: left;
	text-align: center;
	font-size: 15px;
	font-weight: 500;
	line-height: 17px;
	position: relative;
}
.property_listing_details .inforoom:before {
	content: " ";
	position: absolute;
	top: 7px;
	height: 18px;
}
.property_listing_details .infobath:before {
	content: " ";
	position: absolute;
	top: 7px;
	left: 0;
	border-left: 1px solid #ccc;	
	right: 0;
	border-right: 1px solid #ccc;
	height: 18px;
}
.property_listing_details .infosize:before {
	content: " ";
	position: absolute;
	top: 7px;
	height: 18px;
}




.property_listing_details {
	position: relative;
	color: #4f525a;
	width: 100%;
	float: left;
	margin-bottom: 32px;
	margin-top: 10px;
}
.info_labels {
	width: 100%;
	font-size: 12px;
	font-weight: 300;
}	
	
.property_listing_details2 .inforoom, .property_location .inforoom, 
.property_listing_details2 .infobath, .property_location .infobath, 
.property_listing_details2 .inforrrr, .property_location .inforrrr, 
.property_listing_details2 .infosize, .property_location .infosize {
	width: 25%;
	float: left;
	text-align: center;
	font-size: 15px;
	font-weight: 500;
	line-height: 17px;
	position: relative;
}
.property_listing_details2 .inforoom:before {
	content: " ";
	position: absolute;
	top: 7px;
	left: 0;
	border-left: 0px solid #efefef;
	height: 18px;
}
.property_listing_details2 .infobath:before {
	content: " ";
	position: absolute;
	top: 7px;
	right: 0;
	border-right: 1px solid #efefef;
	height: 18px;
}
.property_listing_details .inforrrr:before {
	content: " ";
	position: absolute;
	top: 7px;
	right: 0;
	border-right: 1px solid #efefef;
	height: 18px;
}
.property_listing_details .infosize:before {
	content: " ";
	position: absolute;
	top: 7px;
	right: 0;
	border-right: 0px solid #efefef;
	height: 18px;
}

.wdptruncate {
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Numero massimo di righe da visualizzare */
  -webkit-box-orient: vertical;
  overflow: hidden;
}




.elementor-18 .elementor-element.elementor-element-b9050c2 {
    --display: flex;
    --justify-content: space-between;
    --gap: 0px 0px;
    --row-gap: 0px;
    --column-gap: 0px;
    --margin-top: 0px;
    --margin-bottom: 0px;
    --margin-left: 0px;
    --margin-right: 0px;
    --padding-top: 50px;
    --padding-bottom: 70px;
    --padding-left: 50px;
    --padding-right: 50px;
}

.qodef-contact-form-7 label {
    margin: 0 0 0px;
}



.elementor-3184 .elementor-element.elementor-element-c1e6a78 {
    --min-height: 500px;
}

.elementor-3184 .elementor-element.elementor-element-0477810 {
    --padding-top: 100px;
}

.elementor-3563 .elementor-element.elementor-element-f334b2e {
    --padding-top: 100px;
}



















/* TOP MENU */
#qodef-page-header .qodef-header-logo-link {
    height: 41px !important;
}


#qodef-page-footer {
    background: linear-gradient(45deg, rgb(2, 12, 69) 20%, rgb(13, 25, 92) 80%);
}
#qodef-page-footer {
    background-color: #020c45;
    position: relative;
    display: inline-block;
    width: 100%;
    vertical-align: top;
    font-size: 15px;
    letter-spacing: .01em;
}

.qodef-button.qodef-layout--filled.qodef-html--link {
    color: var(--qode-button-color, #fff);
    background-color: #020c45;
    border: 1px solid var(--qode-button-border-color, transparent);
}



#qodef-page-header {
    background-color: #020c45;
}
.qodef-header-navigation>ul>li>a {
    color: #ededed;
}
.qodef-header-navigation>ul>li>a .qodef-menu-item-text {
    background-image: linear-gradient(90deg, rgb(255 255 255) 0, rgb(255 255 255) 100%);
    transition: background-size .4s cubic-bezier(.51,.5,.07,.99), color .2s ease-out;
}
.qodef-header-navigation>ul>li.current-menu-ancestor>a, .qodef-header-navigation>ul>li.current-menu-item>a {
    color: #ffffff!important;
}
.qodef-header-navigation>ul>li>a:hover {
    color: #ffffff;
}


.qodef-header-sticky .qodef-header-navigation>ul>li>a {
    color: #0d195c;
}
.qodef-header-sticky .qodef-header-navigation>ul>li.current-menu-ancestor>a, .qodef-header-navigation>ul>li.current-menu-item>a {
	color: #0d195c!important;
}

.qodef-header-sticky .qodef-header-navigation>ul>li.current-menu-ancestor>a, .qodef-header-navigation>ul>li.current-menu-item>a {
	color: #0d195c!important;
}






.qodef-login-opener-widget:not(.qodef-opener-style--filled) .qodef-login-opener {
    color: #ededed;
    border: 1px solid #ededed;
}
.qodef-login-opener-widget:not(.qodef-opener-style--filled) .qodef-login-opener:hover {
    color: #ffffff;
    border: 1px solid #ffffff;
}
.qodef-button.qodef-layout--filled.qodef-html--link {
    color: #ffffff;
    background-color: #ffc001;
    border: 1px solid #ffc001;
}






.elementor-18 .elementor-element.elementor-element-3b1c742 {
    --padding-top: 222px;
    --padding-bottom: 152px;
}









#startpro_core_button-5 .qodef-button:hover {
	border: 1px solid #ffffff;
}

.qodef-button.qodef-layout--filled.qodef-html--link:hover {
    color: #fff;
    background-color: #020c45;
    border: 1px solid var(--qode-button-border-color, transparent);
}


#qodef-back-to-top .qodef-back-to-top-icon {
    --qode-gradient-color-2: #010b39;
	--qode-gradient-color-1: #212f7d;
    color: rgb(255, 255, 255);
    background: linear-gradient(-135deg, var(--qode-gradient-color-1) 0, var(--qode-gradient-color-2) 100%);
}






:root {
    --qode-main-color: #354393;
}




.qodef-page-title {
    background-color: #dde2e9!important;
}



.form-control {
    height: 43px;
}

input[type=date]:focus, input[type=email]:focus, input[type=number]:focus, input[type=password]:focus, input[type=search]:focus, input[type=tel]:focus, input[type=text]:focus, input[type=url]:focus, textarea:focus {
	color: #5e68a0;
    background-color: transparent;
   /* border: 1px solid #354393!important;*/
}

.regmargin {	
	margin-bottom:10px!important
}



.spinner {
	display: inline-block;
	width: 1em;
	height: 1em;
	border: 2px solid #ccc;
	border-top-color: #333;
	border-radius: 50%;
	animation: spin 0.6s linear infinite;
	margin-right: 6px;
	vertical-align: middle;
}
@keyframes spin {
	to { transform: rotate(360deg); }
}

form.blurred {
	filter: blur(2px);
	pointer-events: none;
	user-select: none;
}


.wdpbuttobuy {
    color: #ffffff;
    background-color: #354393!important;
    border: 1px solid #354393!important;
	cursor:pointer;
}
.wdpbuttobuyCanc {
    color: #354393!important;
    background-color: #fff!important;
    border: 1px solid #354393!important;
	cursor:pointer;
}







.hidetop {
	display:block;
}
.showtop {
	display:inline-block!important;
}

.switch_linkhome {
	display: flex;
	justify-content: center; /* centra i bottoni */
	align-items: center;
	border: 1px solid #5e68a0;
	overflow: hidden;
	width: max-content;
	margin: 0 auto; /* centra l'intero blocco */
	font-family: sans-serif;
	border-radius: 25px !important;
}

.switch_linkhome input[type="radio"] {
	display: none;
}

.switch_linkhome label {
	padding: 10px 30px;
	cursor: pointer;
	background-color: #f9f9f9;
	transition: background 0.3s, color 0.3s;
	font-size: 15px;
	user-select: none;
	margin-bottom: 0 !important;
	white-space: nowrap;
}

.switch_linkhome input[type="radio"]:checked + label {
	background-color: #020c45;
	color: #fff;
}

@media screen and (max-width: 768px) {
	.switch_linkhome label {
		padding: 10px 20px;
	}
	.hidetop {
		display:none!important;
	}
	.d-inline-block {
		display:none!important;
	}
	.showtop {
		display:block!important;
	}	
}