.hero-title{
	height: 35vh;
	background-image: url("/images/header/cuscini.jpg");
	/*background-position:0% 0%;*/
	/* object-fit: cover; */
  background-size: cover;
	background-repeat: no-repeat;
	width: 100%;
	padding-top: 3rem;
	padding-bottom: 2rem;
	background-color: #f2f2f2;
	display: flex;
	align-items:center;
	position: relative;
	overflow:hidden;
}

.hero-vendita{
	background-image: url("/images/header/vendita.jpg");
}
.hero-affitto{
	background-image: url("/images/header/affitta.jpg");
}

.title{
	color: white;
    background-color: rgba(0,0,0,0.4);
    display: inline-block;
    padding: 1rem 2rem;
    backdrop-filter: blur(3px);
    border-radius: 5px;
    font-size: 2rem;
}

.flex-container,
.h-flex-container,
.v-flex-container {
	display: flex;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
}
.flex-container,
.h-flex-container {
	flex-direction: row;
}
.v-flex-container {
	flex-direction: column;
}
.space-between{
	justify-content: space-between;
}
.align-flex-start{
	align-items: flex-start;
}

.flex-cell {
	flex: 1;
}
.cell-1of1 { flex: 0 0 100%;       }
.cell-1of2 { flex: 0 0 48%;        }
.cell-1of3 { flex: 0 0 33.333333%; }
.cell-1of4 { flex: 0 0 25%;        }
.cell-1of5 { flex: 0 0 20%;        }
.cell-1of6 { flex: 0 0 16.666667%; }


form{
	/*padding: 36px 15px;*/
	border: 1px solid #98818140
}
.content-bg{
 	background-color:rgba(230, 230, 230, 0.52);
 	padding-bottom: 3rem;
}
.mainContent{
	padding: 2rem 0;
	background-color:rgba(230, 230, 230, 0.52);

}
.risultati{
	background-color: white;
	border:1px solid #98818140;
	padding:2rem
}
.annunci{
	background-color: white
}

.title-annunci{
	font-size: 1.5rem;
}

.img-annuncio img{
	width: 100%;
	object-fit: cover;
}
img{
	    vertical-align: middle;
    border-style: none;
    object-fit: cover;
    width: 100%;

}
.image{
	padding-right: 0;
}
.annuncio{
	border:1px solid #dedede;
	/*padding:1rem;*/
	margin-bottom: 2rem;
	/*margin-right: 2rem;*/
	position: relative;
}

.titolo h2{
	font-size: 1.3rem;
	font-weight: 300;
	text-transform:uppercase;
}

.descrizione{
	margin-bottom: 0;
	line-height: 1.2rem;
    font-size: 0.9rem;
}
/*
.row {
    display: -ms-flexbox;
    display: flex;
    margin: auto;
    width: 100%;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
    justify-content: center;
}
*/
.triangolo{
	width: 0;
	height: 0;
	line-height: 0px;
	border-left: 5px solid black;
	border-top: 5px solid transparent;
	border-bottom: 5px solid transparent;
	display: inline-block;
	margin-left: 0.5rem;
}

.card-prezzo{
	padding:0.3rem;
}

.dettagli-annuncio p, .dettagli-annuncio a{
	margin-left: 0.5rem;
	margin-top: 0.5rem;
}
.relative{
margin-top: 2rem;
}
figure{
	position: relative;
}
figcaption{
	position: absolute;
	right: 0;
	bottom: 0;
	padding:0.5rem;
	font-size: .9rem;
	text-transform:lowercase;
}

.footer-annuncio{
	background-color: #f5f5f5;
	padding:0.5rem;
	position: absolute;
	bottom: 0;
	width: 100%;
}

.footer-annuncio img{
	width: 1.5rem;
	margin-left: 1rem;
	margin-right: 0.5rem;
}
.footer-annuncio{
	font-size: 0.9rem;
	align-items:center;
}


.annuncio-up{
	padding:1rem 1rem 3rem 1rem;
}

.relative a{
	text-decoration: none;
}



@media screen and (max-width: 1024px){
	.medium-cell-1of1 {
		flex: 0 0 100%;
	}
	.medium-cell-1of2 {
		flex: 0 0 50%;
	}
	.medium-cell-1of3 {
		flex: 0 0 33.333333%;
	}
	.medium-cell-1of4 {
		flex: 0 0 25%;
	}
}
@media (max-width: 600px){
	.small-cell-1of1 {
		flex: 0 0 100%;
	}
	.small-cell-1of2 {
		flex: 0 0 50%;
	}
	.small-cell-1of3 {
		flex: 0 0 33.333333%;
	}
	.small-cell-1of4 {
		flex: 0 0 25%;
	}
	.risultati{
		padding-left: 1rem;
		padding-right:1rem;
	}
	.white-container{
		padding-left: 0.5rem;
		padding-right:0.5rem;
	}
}
