/**
 * Theme Name:     Bridge Child
 * Author:         Qode Interactive
 * Template:       bridge
 * Text Domain:	   bridge-child
 * Description:    Creative Multipurpose WordPress Theme
 */

#wpi-main #dokumente,
#wpi-main #map{
	display: none;
	visibility: hidden;
}

#wpi-main .panel-body{
	padding: 8px;
}

#wpi-main .content .col-md-3 .text-center{
	position: absolute;
	top: 0;
	left: 0;
	width: auto !important;
}

.wpi-header{
	flex-direction: column;
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
	margin-bottom: 2em;
}

.wpi-header h2{
	margin: 0px !important;
}

#wpi-main .immo-navigation .btn{
	margin: 4px !important; 
}

#wpi-main .tab-content{
	padding: 0px;
}

#wpi-main .objektdetails{
	border: none !important;
	margin-bottom: 0px !important;
}

#wpi-main .objektdetails tr{
	border-top: none !important;
	border-bottom: 1px solid #ddd;
}

#wpi-main li[role="presentation"] a{
	color: #000 !important;
}

#wpi-main .main-title h2{
	color: #000 !important;
}

#wpi-main .content tbody{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}

#wpi-main .content tr:nth-child(1){
	flex: 1 0 100%;
}

#wpi-main .content td{
	border: none !important;
}

#wpi-main .col-md-3 .text-center{
	padding: 0px !important;
}

#wpi-main .content{
	display: flex;
	flex-direction: column;
}

#wpi-main .content .col-xs-12{
	order: 1;
}

#wpi-main .content .col-md-9{
	order: 2;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	flex-grow: 1;
}

#wpi-main .content .col-md-3{
	order: 0;
}

.btn-down,
.btn-overview,
.btn-up{
	width: 100% !important;
	margin: 4px !important;
}

#wpi-main *:not(.glyphicon){
	font-family: 'Montserrat', sans-serif;
}

#wpi-main .more{
	width: 100%;
}

#wpi-main .col-md-3 .text-center{
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	padding: 8px 10px;
}

#wpi-main .info-text{
	background-color: #eee;
	color: #000 !important;
	border: 1px solid #eee;
	border-radius: 4px;
	flex: 1;
	transition: background 0.3s ease, background-color 0.3s ease;
}

#wpi-main .carousel-inner .item{
	text-align: center;
}

#wpi-main .info-text:hover{
	background-color: #fff;
}

#wpi-main .info-text:hover a{
	color: #000;
}

#wpi-main .info-text a{
	color: #000;
}

#wpi-main .btn-default:not(.btn-down):not(.btn-overview):not(.btn-up){
	color: #000;
	background-color: transparent;
	border-radius: 16px;
	border: 1px solid #eee;
	transition: background 0.3s ease;
	width: 100%;
}

#wpi-main .btn-default:hover{
	background-color: #eee !important;
	color: #fff;
}

#wpi-main .content{
	box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
	flex: 0 1 30%;
	min-height: 0px !important;
	padding: 0px 0px 12px 0px;
	background-color: #fff;
	position: relative;
	top: 0px;
	transition: top 0.3s ease;
}

#wpi-main .content img{
	object-position: center;
	object-fit: cover;
	transition: all 0.3s ease;
}

#wpi-main .content img:hover{
	transform: rotate(1deg) scaleX(1.05) scaleY(1.05);

	-webkit-transform: rotate(1deg) scaleX(1.05) scaleY(1.05);

}

#wpi-main .content .table:not(.table-hover) td{
	width: 100%;
	text-align: center;
}

#wpi-main .content .table-hover td{
	text-align: left;
}

#wpi-main .content .table-hover tr{
	width: 100% !important;
	display: flex;
	justify-content: space-between;
}

#wpi-main .thumbnail{
	border: none;
	padding: 0px;
	margin-bottom: 0px ;
}

#wpi-main .content .col-md-3{
	padding: 0px !important;
}


#wpi-main code{
	column-gap: 12px;
	flex-wrap: wrap;
	display: flex;
	justify-content: center;
	flex-direction: row;
}

.tab-pane .avatar-div{
	display: none;
	visibility: hidden;
}

#wpi-main .col-md-3 img{
	max-height: 200px;
	width: 100%;
	object-fit: cover;
	object-position: center center;
}

#wpi-main .content .col-md-3,
#wpi-main .content .col-md-9{
	width: 100%;
}

#wpi-main a{
	display: flex;
	justify-content: center;
	align-items: center;
}

#wpi-main td{
	color: #000000;
}

#wpi-primary{
	margin-top: 200px;
}

#wpi-main .wpi-header a{
	color: #000000 !important;
	font-size: 18px !important;
	line-height: 20px !important;
}

h1 span{
	background-color:black!important;
	font-size: 55px;
}
@media(min-width: 768px) and (max-width:1365px){
	h1 span{
	font-size: 45px!important;
	}
}

@media (max-width:767px){
	h1 span{
	font-size: 22px!important;

	}
	
}

/* EnergiePass */

.energiepass-wrapper {
	/*
  margin: 1em 0;
  padding: 1em;
	*/
	text-align: center;
}

/* Your existing list styling can remain as is, or you can adapt. */
/*
.list-unstyled.energiewerte {
  margin-bottom: 1em;
}
.list-unstyled.energiewerte .li-label {
  margin-top: 0.5em;
}
*/

/* Container for the colored bar */
.energiepass-bar {
  display: flex;
  align-items: center;
  margin-top: 1em;
}

.bar-segment {
  flex: 1;
  padding: 0.5em;
  text-align: center;
  font-weight: bold;
  color: #fff;
  /* Just a fallback background */
  background: #ccc;
}

/* Example color transitions for the segments */
.bar-A+  { background: #0f9d58; } /* dark green */
.bar-A   { background: #34a853; }
.bar-B   { background: #8bc34a; }
.bar-C   { background: #cddc39; }
.bar-D   { background: #ffeb3b; color: #000; }
.bar-E   { background: #ff9800; }
.bar-F   { background: #ff5722; }
.bar-G   { background: #f44336; }
.bar-H   { background: #d32f2f; } /* dark red */

/* Highlight the active class more obviously */
.bar-segment.active {
  border: 3px solid #000;
  transform: scale(1.05);
}
ul.list-unstyled.energiewerte li{
	font-weight: normal !important;
}

.wpi-contact-data{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 8px;
	margin-top: 16px:
}

.wpi-contact-data a{
	flex: 1;
	max-width: 300px;
	
}

.firma{
	text-align: center;
}