/*.row {
	margin-left: 0;
	margin-right: 0;
*/

.container {
	color: #333333;
}

.ellipsis {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 0px 15px;
}

a {
	color: #ef7f01;
}

a:hover {
	color: #ef7f01;
}

a svg {
	margin-bottom: 5px;
}

.btn-ivmsearch, .btn-ivmsearch:hover {
	border-radius: 40px;
	background-color: #ef7f01;
	padding: 10px 20px 10px 20px;
	color: #fff;
}

#top label, #top label span {
  font-weight: normal;
  font-size: 1em;
}

/*** Overlay ***/

#overlay{
	max-height: 700px;
}

#overlay img {
	padding: 5px;
	border: 1px solid #e8e8e8;
	height: 150px;
	width: 100%;
	object-fit: cover;
}

#overlay .successInfo,
#overlay_content .errInfo{
	padding-top:10%;
	text-align:center;
}

#overlay_bg {
	position: fixed;	
	display: none; /* Hidden by default */
	/* width: 100%;  Full width (cover the whole page) */
	/* height: 100%;  Full height (cover the whole page) */
	top: 0;
    right: 0;
    bottom: 0;
    left: 0;
	background-color: rgba(0,0,0,0.7);
 	z-index: 9999;
	overflow: hidden;
    -webkit-overflow-scrolling: touch;
}

#overlay {
  	position: absolute;
  	top: 5%;
	bottom: 5%;
  	left: 5%;
	right: 5%;
	/*width: 90%;*/
	background-color: white;
  	/*transform: translate(-50%);
  	-ms-transform: translate(-50%);*/
}
#overlay #close{
	position: absolute;
    top: -12px;
    right: -12px;
    padding: 4px 8px;
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    background-color: #fff;
    border-radius: 18px;
    border: 1px solid #9f9f9f;
    cursor: pointer;
	width: 30px;
}

#overlay_content{
	max-height:100%;
	overflow-y: auto;
	overflow-x: hidden;
	
}

/*** Ergebnisliste ***/


#ergebnisliste img {
	padding: 5px;
	border: 1px solid #e8e8e8;
	height: 200px;
	width: 100%;
	object-fit: cover;
	opacity: 1;
  	transition: 0.3s;
}

#ergebnisliste img:hover {
	opacity: .6;
}

/*** Detailansicht ***/

.button_expose {
	background-image: url(../img/icon_expose.svg);
}

.button_grundriss {
	background-image: url(../img/icon_grundriss.svg);
}

.button_energiepass {
	background-image: url(../img/icon_energie.svg);
}

.button_objektdetails {
	width: 55px;
	display: inline-block;
	margin-right: 7px;
	margin-bottom: 5px;
	padding: 47px 0 0;
	white-space: nowrap;
	background-color: #f5f5f5;
	border-radius: 4px;
	border: 1px solid #f0f0f0;
	background-size: 2.3em;
	background-position: center top 3px;
	background-repeat: no-repeat;
}

#detailansicht img {
	padding: 5px;
	border: 1px solid #e8e8e8;
	margin-bottom: 15px;
	width: 100%;
	height: 400px;
	object-fit: cover;
}

#detailansicht .galerie img {
	padding: 3px;
	border: 1px solid #e8e8e8;
	margin-bottom: 3px;
	width: 80px;
	height: 80px;
	object-fit: cover;
}

#detailansicht .objektmerkmal {
	padding: 5px 0 5px 0;
	border-bottom: 1px solid #e8e8e8;
	font-size: 15px;
}

#detailansicht .objektmerkmalhighlight {
	padding: 5px 0 5px 0;
	border-bottom: 1px solid #e8e8e8;
	color: #ef7f01;
	font-weight: bold;
	font-size: 15px;
}

#detailansicht ul {
	padding-left: 0px;
}

#detailansicht ul li:before {
	list-style-type: none;
	content: "\2713" " ";
	margin-left: 0px!important;
}

#merken .bi {
	font-size: 20px;
}

/*** Objektwunsch ***/

#objektwunsch-form h4 {
	font-size: 24px;
	/*color: #ef8001;*/
}



/*** Merkliste Formular ***/

#merkliste-form .img-objekt {
	padding: 5px;
	border: 1px solid #e8e8e8;
	height: 100px;
	width: 100%;
	object-fit: cover;
}

#districts_container .form-check-inline {
	min-width: 15em;
}

.errmsg_label {
  color: red!important;
}

.errmsg_container {
  border: 1px solid red !important;
}

.form-control {
	color: #707173;
	border-radius: 0;
}

#tafel {
	font-size: 13px;
	hyphens: auto;
	-webkit-hyphens: auto;
}

#tafel h1 {
	hyphens: auto;
	-webkit-hyphens: auto;
}

#tafel h5 {
	font-size: 15px;
}

#tafel img {
	padding: 5px;
	border: 1px solid #e8e8e8;
	height: 200px;
	width: 100%;
	object-fit: cover;
	opacity: 1;
  	transition: 0.3s;
}

#tafel img:hover {
	opacity: .6;
}

#tafel img a {
	border: 2px dotted red!important;
}

#tafel span a {
	border: 2px dotted red!important;
}


@media only screen and (min-width: 1200px) {
  
#ergebnisliste h3 {
	font-size: 18px;
}

}

@media only screen and (max-width: 992px) {
  
#detailansicht .objektmerkmal, #detailansicht .objektmerkmalhighlight {
	padding: 0;
	border-bottom: 0px solid #e8e8e8;
}

#ergebnisliste h3 {
	font-size: 18px;
}

}

@media only screen and (max-width: 768px) {
  
#ergebnisliste h3 {
	font-size: 18px;
}

}