/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/



/* GLOBAL */
/* HEADER */
#header-desktop {
	height: 600px;
	min-height: 600px;
}

/* On screens that are 640px or min */
@media screen and (max-width: 640px) {
	main section[id="content"]{ margin-bottom: 0px !important; }
}

a, a:link, a:active, a:visited, a:hover { text-decoration: none; }

.bg-green { background-color: #779F8E; }
.bg-grey { background-color: #F7F8F9; }
.bg-blu { background-color: #275D89; }

ul { padding: 0; }
ul li { list-style-type: none; }

/* MENU */
li.btn-green > a > span {
	background: #779f8e;
    padding: 10px;
    border-radius: 15px;
    color: #fff;
}

li.btn-green > a > span:hover {
	background: #000;
    color: #fff;
}

/* PARAGRAFO INTRO PAGINE */
.p-intro-page { margin: 30px 0 }

/* FORM */
/* CHECKBOX */
.fusion-form-form-wrapper .fusion-form-209 .fusion-form-field .fusion-form-checkbox label:before, .fusion-form-form-wrapper .fusion-form-209 .fusion-form-field .fusion-form-radio label:before, .fusion-form-form-wrapper .fusion-form-209 .fusion-form-field .fusion-form-image-select label { border-color: #000 !important;}

.fusion-form-form-wrapper .fusion-form-340 .fusion-form-field .fusion-form-checkbox label:before, .fusion-form-form-wrapper .fusion-form-340 .fusion-form-field .fusion-form-radio label:before, .fusion-form-form-wrapper .fusion-form-340 .fusion-form-field .fusion-form-image-select label { border-color: #000 !important;}

/* HOME - CASE PREVIEW */
/* TUTTI I PARAMETRI SONO NELLA PAGE CASE VACANZA QUi SOLO LE DIMENSIONI */
/* DESKTOP VISUALIZZA 4 IMMOBILI */
#immobili-home { margin-top: -80px; }

div[id="immobili-home"] div.immobile-container { 
    width: 24%;
    margin-right: 1%;
}

/* On screens that are 667px or down */
@media screen and (max-width: 667px) {
	div[id="immobili-home"] div.immobile-container { 
    	width: 48%;
    	margin-right: 1%;
	}
}


div[id="immobili-home"] div.immobile-container span.immobili-localita, div[id="immobili-home"] div.immobile-container span.immobili-tipologia { 
	font-size: 14px;
}

div[id="immobili-home"] div.immobile-container span.immobili-titolo {
	font-size: 18px;
	margin-bottom: -5px;
    margin-top: 6px;
}


/* HOME - EXTRA */
.icone-servizi-extra {
    background: #fff;
    padding: 30px;
    border-radius: 50%;
	max-width: 150px;
    width: 150px;
}


/* HOME - CHI SIAMO */
.chi-siamo-citazione {
	background-color: #fff;
    padding: 8px 20px;
    border-radius: 15px;
    /* margin-left: calc(((( 100vw - 1200px ) / 2) - 80px ) * -1) !important; */
	margin-left: -220px !important;
    color: #275d89;
}

/* MEDIA QUERY HOME - CHI SIAMO - CITAZIONE */
/* On screens that are 1200px or up */
@media screen and (min-width: 1200px) {
	.chi-siamo-citazione { margin-left: -220px !important; }
}

/* On screens that are 667px or down */
@media screen and (max-width: 667px) {
	.chi-siamo-citazione { margin-left: 0px !important; }
}

.chi-siamo-citazione span.green { color: #779F8E; }

#owner-img {
	border-radius: 50%;
	/* padding: 50px 75px 0 75px; */
	z-index: -9999;
}

/* HOME ACQUISIZIONE */
div[id="acquisizione-container"] div.fusion-column-wrapper { border-radius: 15px; }

#acquisizione-text {
	margin: 0 !important;
    padding: 25px 35px;
    max-width: 400px;
    background-color: rgb(39,93,137,0.8);
    border-radius: 15px;
	color: #fff;
}

/* PAGE */
/* CASE VACANZA */
.immobili {
	display: flex;
	display: -webkit-flex;
	flex-flow: row nowrap;
	-webkit-flex-flow: row wrap;
	align-items: stretch;
	-webkit-align-items: stretch;
	/*
	justify-content: space-between;
	-webkit-justify-content: space-between;
	*/
	margin-top: 10px;
}

.immobile-container {
	display: flex;
	display: -webkit-flex;
	flex-direction: column;	
	-webkit-flex-direction: column;	
	
	width: 30%;
	margin-right: 3.3%;
	margin-bottom: 30px;
	padding: 8px;

	background-color: #fff;
	-webkit-box-shadow: 5px 5px 3px 0px #E8E8E8; 
	box-shadow: 5px 5px 3px 0px #E8E8E8;
	border: 1px solid #f7f7f7;
    border-radius: 15px;
}

/* On screens that are 667px or down */
@media screen and (max-width: 667px) {
	.immobile-container { 
		width: 100%;
		margin-right:0%;
	}
}



.immobile-img img {
	display: block;
	height: auto;
	margin: 0 auto;
	max-width: 100%;
	width: 100%;
	border-radius: 15px !important;
}

.immobile-txt {
	display: flex;
	display: -webkit-flex;
	flex-direction: column;
	-webkit-flex-direction: column;
	padding: 10px 0;
}


div.immobili-txt { margin: 8px 0 5px 0; }
div.immobili-txt span { display: block; margin-left: 8px; }
span.immobili-localita, span.immobili-tipologia { 
	font-family: "Avenir Next Regular";
	color: #4f4f4f;
	font-size: 14px;
}

span.immobili-titolo {
	font-family: "Avenir Next Bold";
	color: #275d89;
	font-size: 18px;
	margin-bottom: -5px;
    margin-top: 6px;
}

/* CASA VACANZA -> PAGINATION */
ul.pagination { justify-content: center !important }
ul.pagination li { font-size: 20px; }

.page-link {
	font-size: 1em;
	color: #779f8e;
    text-decoration: none!important;
    padding: .15em .45em .2em;
    line-height: 1.25em;
    border: 1px solid #779f8e;
    margin: 2px;
}

.page-link:hover {
	color: #fff;
	background-color: #779f8e !important;
}

.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: #779f8e;
    border-color: #779f8e;
}

/* EXTRA */
/* On screens that are 1260px or up */
@media screen and (min-width: 1260px) {
	div.extra-container {
		padding: 45px 0px !important;
	}
}

/* On screens that are 1259px or min */
@media screen and (max-width: 1259px) {
	div.extra-container {
		padding: 30px 30px !important;
	}
}

.extra-colonna-text { }

.extra-image { border-radius: 15px; }
div.extra-title h3 { 
	color: #275D89;
	font-size: 36px !important;
	
}

#banner-goto-case-vacanza {
	max-width: 580px;
	padding: 45px 0 45px 50px;
}
/* On screens that are 400px or min */
@media screen and (max-width: 400px) {
	#banner-goto-case-vacanza {
		padding: 45px 0 45px 10px;
	}
	
	#banner-goto-case-vacanza h2 {
		font-size: 0.80em !important;
	}
	
	#banner-goto-case-vacanza h2 .fusion-button {
		margin-top: 20px;
	}
}

/* GESTIONE IMMOBILI */
div[id="formule-container"] div.fusion-builder-row {
	max-width: 1000px !important;
	margin: 0 auto !important;
}

div[id='formula-colonna-first'],
div[id='formula-colonna-last'] {
	height: 268px;
} 

div[id^='formula-colonna'] div.fusion-content-layout-block {
    border-radius: 15px;
    padding: 20px 40px !important;
}

div[id='formula-colonna-first'] div.fusion-content-layout-block {
	background-color: #779F8E;
	color: #fff;
}

div[id='formula-colonna-centrale'] div.fusion-content-layout-block {
	background-color: #F7F8F9;
}

div[id='formula-colonna-last'] div.fusion-content-layout-block {
	background-color: #275D89;
	color: #fff;
}

div[id^='formula-colonna'] h4 { margin: 0; padding: 0; color: #fff; }
div[id^='formula-colonna-centrale'] h4 { color: #000 !important; }
.hr-offerta { color: #fff; width: 60% !important; margin: 20px auto; }
div[id^='formula-colonna'] div.fusion-content-layout-block ul { list-style-type: none; padding: 0; margin: 15px auto; }
div[id^='formula-colonna'] div.fusion-content-layout-block ul li { text-align: center; margin-bottom: 15px;  }

/* FOOTER - CONTATTI */
ul[id="ul-contatti"] { font-size: 1em; }
ul[id="ul-contatti"] li { color: #4f4f4f; margin-bottom: 18px; }
ul[id="ul-contatti"] li a, ul[id="ul-contatti"] li a:link, ul[id="ul-contatti"] li a:visited,  {color: #4f4f4f;}
ul[id="ul-contatti"] li:first-child {margin-left: 3px; }
ul[id="ul-contatti"] li i.fa { font-size: 1.45em; margin-right: 8px; color: #779f8e; vertical-align: middle; }


#form-contatto-footer { max-width: 500px; }

.footer-menu {
	display: inline-flex;
    margin: 25px auto;
    list-style-type: none;
    padding: 0;
}


ul.footer-menu li:not(:last-child) {
	margin-right: 20px;
}

/* On screens that are 667px or down */
@media screen and (max-width: 667px) {
	.footer-menu {
		flex-direction: column;
	}
	
	ul.footer-menu li { margin-bottom: 10px; }
	
	ul.footer-menu li:not(:last-child) {
		margin-right: 0px;
	}
}
/* flex-direction: column; */

a.footer-link, 
a.footer-link:active,
a.footer-link:focus,
a.footer-link:visited { color: #fff; }

a.footer-link:hover { color: #000; }


/* CASA VACANZA LAYOUT */
.casa-layout-image-top {
	border-radius: 15px;
}

div[id='casa-layout-div-posizione'] {
	display: flex;
    align-items: center;
}

div[id='casa-layout-div-posizione'] img { width: 18px; height: 18px; margin-right: 5px; }



#p-introduzione p { margin-bottom: 0; }

.casa-layout-posizione { color: #4f4f4f; }
.casa-layout-nome-casa { color: #275D89 !important; font-size: 30px !important; margin: 10px 0; }
.casa-layout-tipologia { color: #4f4f4f !important; font-size: 24px !important; margin: 10px 0 20px 0; }

ul.property {
	list-style-type: none;
	padding: 0;
}

/* On screens that are 875px or up */
@media screen and (min-width: 875px) {
	ul.property{ column-count: 2; }
}

ul.property li {
	margin: 0 0 25px 0;
    line-height: 1.35em;
}

ul.property li div { display: flex;}
ul.property li div img { width: 20px; height: 20px; margin-right: 5px; }

.property-title { 
	color: #4f4f4f;
    font-size: 0.85em;
	margin-right: 5px;
}

/* MASONRY */
.masonry-grid {
	margin-left: -5px !important;
    margin-right: -5px !important;
	}

.grid-item {
  	width: calc((100% - 30px) / 3);
  	float: left;
  	margin-left: 5px;
 	margin-right: 5px;
  	margin-top: 5px;
  	margin-bottom: 5px;
	}

/* xs-small devices */
@media only screen and (max-width: 575px) { 
	
	/* MASONRY GALLERY */
	/* 1 COLONNA */ 
	/* CALCOLO COLONNE GALLERY PDI */
	.grid-item {
  		width: 100%;
  		float: left;
  		margin-top: 5px;
		margin-bottom: 5px;
	}
}

/* Small devices (landscape phones, 576px and up) */
@media only screen and (min-width: 576px) and (max-width: 767px) {
	
	/* MASONRY GALLERY */
	/* 2 COLONNE */
	/* CALCOLO COLONNE GALLERY PDI */
	.grid-item {
  		width: calc((100% - 20px) / 2);
  		float: left;
  		margin: 5px;
	}
}
/* END MASONRY GALLERY */

.property-title:after { 
	content: '\A';
    white-space: pre; 
}

/* PAGE PRENOTA ONLINE */