div#mapsearch {
    margin-top: 20px;
}

.mq_ann_map {
	position: relative;
	float: right;
	padding: 0;
	margin-top: 1em;
	font-size: 1em;
	width: auto;
	height: 30px;
}

.bagni_ann_map {
	position: relative;
	float: right;
	padding: 0;
	margin-top: 1em;
	font-size: 1em;
	width: auto;
	height: 30px;
}

.camere_ann_map {
	position: relative;
	float: right;
	padding: 0;
	margin-top: 1em;
	font-size: 1em;
	width: auto;
	height: 30px;
}

.prezzo_ann_map {
	background-color: rgba(152, 232, 152, 0.467);
	padding: 0.5em;
	border-radius: 0.5em;
	font-weight: 500;
	font-size: 1em;
}

.divider {
	width: 99%;
}

.img-card {
    width: 100%;
    height: 34vh;
    margin: 0 auto;
    display: block;
	padding: 5px 0px 7px 2px;
}

.vertical_img {
	width: auto !important;
}

#cardTitleMap{
    font-size: 1.5rem;
    /*letter-spacing: 2.5px;*/
    font-weight: normal;
}

#cardTextMap {
	padding: 1.5em 1em 1.5em 0em;
}

.row.row-cols-auto {
    margin-top: 1em !important;
    align-items: baseline;
}

.viewbtnMap {
    margin-top: 1em;
    margin-left: 0em;
    border-radius: 0.5em !important;
    background-color: #2b2a642e;
    padding: 0.5em !important;
}

.containerHeader {
    display: flex;
    justify-content: space-between;
    margin: 25px 15px 0px 15px;
}

@media screen and (max-width :540px) {
    .cardPrezzo {
		font-size: 18px;
	}

	#cardTitleMap {
		font-size: 1.5rem;
		font-weight: bold;
	}

	#OSMdeleteButton {
		margin-top: 10px;
	}

	#lista_annunci {
		margin-top: 2em;
		margin-bottom: 2em;
	}

	a.btn.viewbtnMap {
		position: absolute;
		width:95%;
		color: black;
		text-transform: uppercase;
		margin-bottom: 10px;
		left: 50%;
		top: 50%;
		transform: translate( -50% , -50% );
	}

	#imgCardMap {
		max-width: 300px;
		max-height: 230px;
		margin: 1.2em 1.2em 1.2em 1.2em;
		display: block;
		margin-left: auto;
		margin-right: auto;
		margin-top: 2em;
		margin-bottom: 2em;
	}

	#filterMap {
		padding: 2em 2em 1.2em 2em;
		background-color: lightgrey;
	}

	.add_preferiti_map {
		position: absolute;
		z-index: 10;
		top: 1.5em !important;
		color: red;
		right: 2.5em;
	}

	.btn-default {
		color: #333;
		background-color: #fff;
		border-color: #ccc;
		height: 50px;
	}

	#mq_min {
		color: #333;
		background-color: #fff;
		border-color: #ccc;
		height: 50px;
	}

	#price_max {
		color: #333;
		background-color: #fff;
		border-color: #ccc;
		height: 50px;
	}

	#mq_max {
		color: #333;
		background-color: #fff;
		border-color: #ccc;
		height: 50px;
	}

	.img-card {
		width: 100%;
		height: 100% !important;
		margin: 0 auto;
		display: block;
		padding: 5px 2px 7px 2px;
	}

	#cardMap {
		border: 1px solid grey;
		margin: 2em 0em;
	}

	#cardTextMap {
		padding: 0em;
		text-align: unset;
		height: auto !important;
		display: -webkit-box;
  		-webkit-box-orient: vertical;
 		-webkit-line-clamp: 3;
  		overflow: hidden;
	}

	.mq_ann_map {
		padding: 0;
		margin: 10px auto;
		font-size: 13px;
		width: 33.3% !important;
		height: 30px;
		text-align: center;
	}

	.bagni_ann_map {
		padding: 0;
		margin: 10px auto;
		font-size: 13px;
		width: 33.3% !important;
		height: 30px;
		text-align: center;
	}

    .camere_ann_map {
		padding: 0;
		margin: 10px auto;
		font-size: 13px;
		width: 33.3% !important;
		height: 30px;
		text-align: center;
	}

	.col-sm-8.bodyCard {
		display: table-column;
	}

	.prezzo_ann_map {
		position: relative;
		float: left;
		background-color: rgba(152, 232, 152, 0.467);
		padding: 0.3em;
		border-radius: 0.5em;
		font-weight: 500;
		font-size: 1em !important;
		margin-bottom: 0px;
	}

	.container-img {
		height: 230px;
		width: 300px;
	}

	.containerButton {
		position: relative;
		display: flex !important;
		justify-content: center;
		height: auto;
		width: 100% !important;
	}

	.containerHeader {
		display: flex;
		justify-content: space-between;
		margin: 15px 15px 0px 15px;
	}

	.containerDetails {
		height: 75px;
	}
}

@media screen and (min-width:768px) and (max-width:900px) {
	.containerHeader {
		display: flex;
		justify-content: space-between;
		margin: 15px 15px 0px 15px;
	}

	.prezzo_ann_map {
		margin: 0;
	}

	#cardTextMap {
		padding: 0.3em 0.3em 0.3em 0em;
	}

	.divider {
		margin: 5px 0px;
	}

	.col-sm-4.container-img {
		padding-right: 0;
		position: relative;
		display: flex;
		justify-content: center;
		height: 300px;
	}

	.img-card {
		position: absolute;
		width: 100%;
		height: 70% !important;
		left: 50%;
		top: 50%;
		margin: 0 auto;
		display: block;
		padding: 5px 0px 7px 10px;
		transform: translate(-45% , -66%);
	}

	.containerDetails {
		margin-top: 10px;
		position: relative;
		display: flex;
		width: max-content;
		height: 50px;
		justify-content: center;
	}

	.row.row-cols-auto.row-cols-3.row-cols-4.tasto {
		margin-top: 0 !important;
		position: absolute;
		width: max-content;
		left: 50%;
		top: 50%;
		transform: translate(-20%, -43%);
	}

	.viewbtnMap {
		margin-top: 0;
	}
}

@media screen and (min-width:1024px) and (orientation:landscape) {
	#cardTitleMap {
		margin-bottom: 0.5em;
		margin-top: 0.5em;
	}

	.prezzo_ann_map {
		margin: 0;
	}

	.viewbtnMap {
		margin: 0;
	}

	.row-cols-4>* {
		width: 23% !important;
	}

	.col-sm-4.container-img {
		position: relative;
		display: flex;
		justify-content: center;
		height: 36vh;
		width: 33%;
	}

	.img-card {
		position: absolute;
		width: auto;
		height: 100% !important;
		left: 50%;
		top: 50%;
		transform: translate( -46% , -42% );
	}
}

@media screen and (min-width:1280px)  {
	.img-card {
		position: absolute;
		width: auto;
		height: 100% !important;
		left: 50%;
		top: 50%;
		transform: translate( -50% , -50% );
	}
}