/*success und error message für suchauftrag formular in blogartikel stylen*/

.oo-message-success {
	background-color: #e6f5f3;
	color: #2f5f5c;
	border-left: 4px solid #468386;
	padding: 15px;
	margin-bottom: 20px;
	font-weight: 600;
}

.oo-message-error {
	background-color: #ffe6e6;
	color: #a94442;
	border-left: 4px solid #a94442;
	padding: 15px;
	margin-bottom: 20px;
	font-weight: 600;
}

.oo-message-error-inline {
	color: #a94442;
	font-size: 0.9em;
	margin-left: 5px;
}

.form-section-title {
	color: #468386;
	font-weight: bold;
	font-size: 1.2em;
	margin: 20px 0 10px;
}





/*eigener code - suchauftrag formular in blogartikel*/

/*p fake überschriften wie überschriften stylen*/

.oo-form-applicant .form-section-title {
  font-size: 22px;
  font-weight: bold;
  color: #468386;
  margin-top: 10px;
  margin-bottom: 10px;
}

.oo-estate-sort > .col-lg-12 {
	text-align: end;
	margin-bottom: 1rem;
}

.oo-searchform {
	background-color: white;
	padding: 1rem;
	border-radius: 12px;
}

@media (max-width: 992px) {
	.oo-searchform {
		padding: .5rem;
	}
}

.oo-searchformfield {
	padding: 0 15px;
    margin-bottom: 0px;
    width: 50%;
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 10px 0;
}

.oo-searchformfield:last-child {
	width: 100%;
}

.oo-searchformfield:has(input[type="number"]) {
  gap: 10px;
}

.oo-searchformfield label {
	min-width: 145px;
	display: block;
    margin: 0;
    padding: 0;
    font-weight: bold;
    margin-bottom: 6px;
}

input[type=submit].match {
	background-color:  #d4af37;
	color: white;
	padding: 10px 15px;
	border: none;
	border-radius: 4px;
	font-weight: bold;
	min-width: 100%;
}

input[type=number] {
	width: 100%;
    border: 1px solid #aaa;
    border-radius: 3px;
    padding: .5rem 1rem;
    transition: all .3s;
}

.select2-container {
	display: inline-block;
    margin: 0;
    position: relative;
    vertical-align: middle;
}

/* Allgemeiner Rahmen für das Formular */
.oo-form-applicant {
  max-width: 600px;
  margin: 0;
  padding: 20px;
  font-family: sans-serif;
  font-size: 16px;
  color: #000;
}

/* Abstände bei Gruppenüberschriften */
.oo-form-applicant h1 {
  font-size: 24px;
  margin-top: 30px;
  margin-bottom: 15px;
}

/* Inputs und Selects */
.oo-form-applicant input[type="text"],
.oo-form-applicant input[type="number"],
.oo-form-applicant input[type="email"],
.oo-form-applicant select,
.oo-form-applicant textarea {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 15px;
  box-sizing: border-box;
}

/* Doppelte Felder z.B. Kaufpreis von/bis nebeneinander */
.oo-form-applicant input[name*="__von"],
.oo-form-applicant input[name*="__bis"] {
  width: calc(50% - 6px);
  display: inline-block;
}

.oo-form-applicant input[name*="__bis"] {
  margin-left: 12px;
}

/* Select2: Optional falls Select2 geladen ist */
.select2-container {
  width: 100% !important;
  margin-bottom: 12px;
}

/* Submit Button */
.oo-form-applicant input[type="submit"] {
  background-color: #d4af37;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.oo-form-applicant input[type="submit"]:hover {
  background-color: #c19e2e;
}



/* estate search */
.oo-searchform {
    margin: 0 0 25px 0;
}


.oo-searchformfieldwrap {
    display: flex;
    align-items: end;
    flex-wrap: wrap;
	padding-top: 15px;
}

.oo-searchformfield {
    padding: 0 15px;
    margin-bottom: 15px;
    width: 50%;
	display: flex;
    gap: 25px;
    align-items: center;
    margin: 10px 0;
}

.oo-searchformfield label {
    display: block;
    margin: 0;
    padding: 0;
}

.oo-searchformfield input, .oo-searchformfield button, .oo-searchformfield .multiselect {
    width: 100%;
    margin: 0 !important;
}

.oo-searchformfield input[type="checkbox"] {
    width: auto;
    margin-right: 5px;
}

.oo-searchformfield .multiselect {
    position: relative;
}

.oo-searchformfield .onoffice-multiselect-popup {
    position: absolute;
    width: 100%;
    top: 100%;
    left: 0;
    max-height: 250px;
    overflow-y: scroll;
    z-index: 999;
    background-color: #ffffff;
}

.oo-searchformfield br {
    display: none;
}

/* estate map */
.oo-estate-map {
    padding: 0 15px;
    width: 100%;
}

.oo-detailsmap {
    position: relative;
    height: auto;
}

.oo-detailsmap #map, .oo-estate-map #map, .oo-detailsmap #gmap, .oo-estate-map #gmap  {
    height: 300px !important;
}

.oo-estate-map #map .leaflet-top, .oo-estate-map #map .leaflet-bottom {
    z-index: 888;
}

.oo-detailsmap .oo-map, .oo-estate-map .oo-map, .oo-detailsmap .oo-gmap, .oo-estate-map .oo-gmap {
    height: 300px !important;
}

.oo-estate-map .oo-map .leaflet-top, .oo-estate-map .oo-map .leaflet-bottom {
    z-index: 888;
}

/* estate sort */
.oo-estate-sort {
    padding: 15px;
}

/* listframe */
.oo-listheadline {
    padding: 10px 15px;
}

.oo-listframe {
    display: flex;
    flex-wrap: wrap;
}

/* listobject */
.oo-listobject {
    width: 33.33%;
    padding: 0 15px;
    margin: 0 0 50px 0;
}

.oo-listobjectwrap {
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.25);
    transition: all 0.3s;
}

.oo-listobject:hover .oo-listobjectwrap {
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.50);
}

.oo-listimage {
    display: block;
    width: 100%;
    position: relative;
    height: 250px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.oo-listinfo {
    padding: 10px;
}

.oo-listtitle {
    font-weight: 700;
    font-size: 18px;
    text-align: center;
    height: 55px;
    overflow: hidden;
    color: #4a4a4a;
}

.oo-listinfotable {
    padding: 10px 0;
    font-size: 15px;
    min-height: 250px;
}

.oo-listtd {
    display: inline-block;
    width: 50%;
    border-bottom: 1px solid #efefef;
    padding: 2.5px 0;
}

.oo-detailslink a, .favorize {
    display: block;
    text-align: center;
    color: #ffffff !important;
    padding: 5px;
    background-color: #80acd3;
    transition: all 0.3s;
    text-decoration: none;
    font-size: 16px;
    font-weight: normal;
    line-height: 28px;
}

.oo-detailslink a:hover, .favorize:hover {
    opacity: 0.8;
    color: #ffffff !important;
    text-decoration: none !important;
}

.favorize {
    border: 1px solid #839fce;
    cursor: pointer;
}

/* details */
.oo-detailsheadline {
    padding: 10px 15px;
}

.oo-detailview {
    display: flex;
    flex-wrap: wrap;
}

.oo-details-main {
    width: 75%;
    padding: 0 15px;
}

.oo-detailsgallery {
    margin-bottom: 25px;
}

.oo-detailsgallery .slick-arrow {
    z-index: 999;
}

.oo-detailsgallery .slick-prev {
    left: 25px;
}

.oo-detailsgallery .slick-next {
    right: 25px;
}

.oo-detailspicture, .oo-detailspicture.slick-slide {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 400px;
}

.oo-detailstable {
    display: flex;
    flex-wrap: wrap;
}

.oo-detailslisttd {
    width: 25%;
    padding: 5px 0;
    border-bottom: 2px solid #efefef;
}

.oo-detailslisttd:nth-child(odd),
.oo-field-label {
    font-weight: 700;
}

.oo-detailsfreetext, .oo-detailsmap, .oo-area-butler, .oo-detailspricecalculator {
    padding-bottom: 15px;
    padding-top: 15px;
    border-bottom: 2px solid #efefef;
}

.oo-details-sidebar {
    width: 25%;
    padding: 0 15px;
}

.oo-asp {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #efefef;
}

.oo-aspname, .oo-video, .oo-detailsexpose {
    margin-bottom: 15px;
}

.oo-asplocation {
    margin-bottom: 10px;
}

.oo-contact-info, .oo-aspinfo-wrapper {
    margin-bottom: 15px;
}

.oo-contact-info p {
    margin: 0;
}

.oo-similar {
    width: 100%;
}

#oo-similarframe {
    display: inherit;
    width: 100%;
}

#oo-similarframe .oo-listobject {
    width: inherit;
}


.oo-area-butler {
    position: relative;
    height: auto;
}

.oo-area-butler .oo-area-butler-iframe {
    height: 500px;
    width: 100%;
}

.oo-costs-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.oo-costs-container .oo-donut-chart {
    width: 40%;
}

.oo-costs-container .oo-costs-overview {
    width: 55%;
}

.oo-costs-container .oo-costs-overview > div {
    margin-bottom: 5px;
}

.oo-costs-container .oo-costs-overview .oo-price-label,
.oo-costs-container .oo-costs-overview .oo-costs-item {
    display: flex;
    align-items: center;
}

.oo-costs-container .oo-costs-overview .oo-price-label {
    width: 100%;
    justify-content: space-between;
}

.oo-costs-container .oo-costs-overview .oo-total-costs-label {
    margin-left: 20px;
}

.oo-costs-notice {
    font-size: 14px;
    padding-top: 1.5rem
}

.oo-costs-container .oo-costs-overview .color-indicator {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin-right: 5px;
    flex-basis: 14px;
    flex-grow: 0;
    flex-shrink: 0;
}

.oo-details-energy-certificate {
    position: relative;
    height: auto;
    padding-bottom: 15px;
    padding-top: 15px;
    border-bottom: 2px solid #efefef;
}

.oo-details-energy-certificate .energy-certificate-container {
    width: 100%;
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
}

.oo-details-energy-certificate .segmented-bar {
    display: flex;
    white-space: nowrap;
    align-items: flex-end;
}

.oo-details-energy-certificate .segment {
    flex: 1;
    text-align: center;
    height: 5px;
    position: relative;
    border-left: 1px solid #fff;
}

.oo-details-energy-certificate .segment:first-child {
    border-left: none;
}

.oo-details-energy-certificate .segment span {
    height: 28px;
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
}

.oo-details-energy-certificate .energy-certificate-label span {
    position: absolute;
    transform: translateX(-50%);
}

.oo-details-energy-certificate .segment.selected {
    height: 34px;
}

.oo-details-energy-certificate .segment.selected span {
    color: #fff;
}

/* address list */
.oo-address-listframe .oo-address-image {
    width: 100%;
    height: auto;
}

.oo-address-listframe .oo-listtd {
    word-wrap: break-word;
}

.oo-address-listframe .oo-listinfotableview {
    display: flex;
    flex-wrap: wrap;
}

/* address map */
.oo-address-map {
    padding: 0 15px;
    width: 100%;
    margin-bottom: 15px;
}

.oo-address-map .oo-gmap, .oo-address-map .oo-map {
    height: 300px !important;
}

.oo-address-map .oo-map .leaflet-top, .oo-address-map .oo-map .leaflet-bottom {
    z-index: 888;
}

.oo-donut-chart-color0 {
    fill:#3F9DE4;
    background-color:#3F9DE4;
}

.oo-donut-chart-color1 {
    fill:#3ac411;
    background-color:#3ac411;
}
.oo-donut-chart-color2 {
    fill:#9C27B0;
    background-color:#9C27B0;
}
.oo-donut-chart-color3 {
    fill:#D81B60;
    background-color:#D81B60;
}
.oo-donut-chart-color4 {
    fill:#FEC800;
    background-color:#FEC800;
}

#TB_overlay, #TB_window { 
    z-index: 1050 !important; 
}

/* responsive */
@media only screen and (max-width: 991px) {
    .oo-listobject, .oo-searchformfield {
        width: 50%;
    }

    .oo-details-main {
        width: 100%;
    }

    .oo-details-sidebar {
        width: 50%;
    }

    .oo-costs-container {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-direction: column;
        gap: 2rem;
    }

    .oo-costs-container .oo-donut-chart {
        width: 100%;
    }

    .oo-costs-container .oo-costs-overview {
        width: 100%;
    }
}

@media only screen and (max-width: 700px) {
    .oo-detailslisttd {
        width: 50%;
    }
}

@media only screen and (max-width: 575px) {
    .oo-listobject, .oo-searchformfield, .oo-details-sidebar {
        width: 100%;
    }
}