@font-face {
  font-family: "Nunito Sans";
  src: url("https://marlin-immo.ch/wp-content/uploads/2025/04/NunitoSans-VariableFont_YTLCopszwdthwght.ttf")
    format("ttf");
  font-weight: normal;
  font-style: normal;
}

.select2-container--default .select2-selection--multiple {
  border-radius: 6px;
  cursor: pointer;
}

.select2-container--default.select2-container--focus
  .select2-selection--multiple {
  border: 1px solid #aaa;
}

form[data-estate-search-name] #spinner {
    visibility: hidden;
    display: inline;
    width: 40px;
    top: 10px;
    left: 10px;
    position: absolute;
}

#toggleMoreCriteria {
    background-color: unset;
    border: 1px solid #050706;
    color: #050706;
    font-weight: 600;
    align-items: center;
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-right: 20px !important;
    margin-left: auto !important;
    width: 200px;
    padding: 16px 24px 16px 24px;
}

#toggleMoreCriteria:hover {
    background-color: #050706;
    color: white;
}

#toggleMoreCriteria svg {
    fill: none;
}

.search-buttons {
    width: 50% !important;
}

.search-buttons div {
    width: 100% !important;
}

.select2-search__field {
  position: absolute;
  top: 0px;
  left: 0px;
  height: 100%;
  width: 100% !important;
  padding-left: 5px !important;
  border-radius: 6px;
}

.select2-results__option--highlighted {
  background-color: #c1a21d !important;
}

.ccb-vertical {
	padding: 0 !important;
}

.select2-selection__choice {
  position: relative;
  z-index: 10;
  align-items: center;
  height: 18px;
  font-size: 14px;
}

.page-content .post-nav-links {
  display: none;
}

.jet-listing-dynamic-field__icon {
  color: #c1a21d;
  font-size: 20px;
  margin-right: 5px;
}

.jet-listing-dynamic-field__content {
  font-family: "Manrope", sans-serif;
  font-size: 14px;
}

.open-expose-popup, .open-angebot-popup {
  width: 100% !important;
  margin-bottom: 20px !important;
  text-transform: none !important;
  letter-spacing: 2px !important;
  font-family: "Manrope", Sans-serif !important;
display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.open-expose-popup {
  background-color: unset !important;
  color: #050706 !important;
  border: 1px solid #050706 !important;
}

.open-expose-popup:hover {
  background-color: #050706 !important;
  color: white !important;
}

.property-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  row-gap: 5px !important;
}

.property-details .jet-listing-dynamic-field__inline-wrap {
  align-items: start;
}

.property-details .jet-listing-dynamic-field__icon {
  padding-top: 2px;
}

.calc-container {
  padding: 0px !important;
}

.map-overlay {
  backdrop-filter: blur(15px);
  background: rgba(0, 0, 0, 0.5);
  z-index: 10;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  border-radius: 16px;
}

.map-overlay h3 {
  color: white !important;
  font-size: 22px;
  font-family: "Nunito Sans", serif !important;
}

.map-container {
  position: relative;
}

.page-map {
  position: relative;
  width: 100%;
  margin: auto;
}

.page-map iframe {
border-radius: 16px !important;
}

.virtual-tour-popup,
.video-popup,
.web-expose-popup {
  display: none;
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.expose-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.expose-popup, .angebot-popup {
  display: none;
top: 0;
  border-radius: 8px;
  position: fixed !important;
  left: 50%;
  width: 60% !important;
  max-width: 600px;
  height: auto !important;
  min-height: 60vh;
  background: white;
  padding: 50px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
  transform: scale(0.85) translateX(-50%) !important;
  transition: opacity 0.8s ease, transform 0.8s ease;
  z-index: 1000;
}

.angebot-popup::-webkit-scrollbar {
  width: 8px;
}

.angebot-popup::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 8px;
}

.angebot-popup::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
}


.angebot-popup {
max-height: 100vh;
    overflow-y: auto;
  max-width: unset !important;
}

.angebot-popup h4 {
font-size: 18px !important;
font-family: "Manrope", Sans-serif !important;
font-weight: 500 !important;
}

.virtual-tour-popup.show,
.video-popup.show,
.expose-popup.show,
.angebot-popup.show,
.web-expose-popup.show {
  display: flex;
  opacity: 1;
  transform: scale(1);
}
.angebot-popup .popup-content {
  overflow-y: auto !important;
}
.popup-content {
  background-color: #fff;
  width: 100% !important;
  height: 100% !important;
  position: relative;
  overflow-y: hidden;
  transition: transform 1s ease-in-out;
}
#priceDisplay {
  font-weight: 500 !important;
}

.close-popup, .close-sidebar {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: white !important;
  padding: 10px 10px 4px 10px !important; /* Ensure uniform padding */
  cursor: pointer;
  border: none;
  border-radius: 50% !important;
  aspect-ratio: 1/1;
  z-index: 2;
}

.expose-popup .close-popup, .angebot-popup .close-popup {
  top: 0;
  right: 0;
}

.close-popup:hover, .close-sidebar:hover {
  background-color: #d5d5d5 !important;
}

.close-popup svg, .close-sidebar svg {
  font-size: 24px !important;
  color: #050706;
}

.virtual-tour-popup.hide,
.video-popup.hide,
.expose-popup.hide,
.angebot-popup.hide,
.web-expose-popup.hide {
  opacity: 0;
  transform: scale(0.85);
}

.login-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative; /* Required for absolute positioning of ::before */
  background: url("https://marlin-immo.ch/wp-content/uploads/2024/12/virtual-tour-img.webp");
  background-size: cover;
  background-position: center;
  height: 100%;
  padding: 0 20px 0 20px;
}

.webexpose-login {
  background: url("https://marlin-immo.ch/wp-content/uploads/2025/04/web-expose.webp") !important;
background-size: cover !important;
    background-position: center;
}

.login-message::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(34, 34, 34, 0.7); /* Dark overlay with 0.7 opacity */
  z-index: 1; /* Ensures it sits above the background but below the content */
}

.login-message * {
  position: relative;
  z-index: 2; /* Ensures text and other elements stay above the overlay */
}

.login-message h2 {
  font-family: "Nunito Sans", serif;
  font-size: 34px !important;
  color: white !important;
  font-weight: 600 !important;
}

.login-message p {
  font-family: "Manrope", sans-serif;
  font-size: 18px;
  color: white;
}

.login-message a {
  display: inline-block;
  width: 240px;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #c1a21d;
  color: #fff !important;
  text-decoration: none;
  font-family: "Manrope", sans-serif !important;
  font-size: 15px !important;
  transition: background-color 0.3s ease-in-out;
}

.calculator-settings.ccb-front {
  margin: 0 auto !important;
  padding: 20px 0;
  border-bottom: 1px solid #d5d5d5;
}

.login-message a:hover {
  background-color: #d3b934 !important;
}

.price {
  font-family: "Manrope", Sans-serif !important;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.5em;
  text-align: left;
  margin-top: 20px;
  padding-bottom: 20px;
  letter-spacing: -1px;
}

.image-buttons {
  position: absolute;
  bottom: 10px;
  left: 10px;
}

.image-buttons-inner {
  display: flex;
  align-items: center;
  gap: 10px;
}

.image-buttons-inner a,
.image-buttons-inner button {
  background-color: white !important;
  color: #050706 !important;
}

.image-buttons-inner a:hover,
.image-buttons-inner button:hover {
  color: #c1a21d !important;
}

.image-buttons-mobile {
  display: none;
}

.icons {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 20%;
  gap: 25px;
  margin-top: 15px;
}

.main-heading {
  font-family: "Nunito Sans" !important;
  font-size: 34px !important;
  letter-spacing: -1px;
    font-weight: 600 !important;
}

.property-place {
  font-family: "Manrope", Sans-serif;
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  text-align: left;
  padding-bottom: 5px;
}

.name-group,
.address-group {
  display: flex;
  gap: 20px;
}

.name-group div,
.address-group div {
  width: 100%;
}

.oo-detailsgallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 5px;
  max-width: 1400px;
  margin: 0 auto;
  height: 500px;
}

.oo-main-image {
  border-radius: 8px !important;
}

.oo-main-image img {
  width: 100%;
  height: 500px !important;
  object-fit: cover;
  overflow-clip-margin: unset;
  border-radius: 8px !important;
}

.oo-small-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
  height: 500px;
}

.oo-small-image {
  position: relative;
  aspect-ratio: 1 / 1; /* Ensures square images */
  border-radius: 8px;
}

.oo-small-image a, .oo-small-image img {
  height: 100% !important;
  border-radius: 8px !important;
}

#autocomplete {
  width: 500px;
  text-transform: none;
}

.search-button svg {
  fill: none;
  font-size: 20px;
}

.oo-small-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  overflow-clip-margin: unset;
  border-radius: 8px;
}

.oo-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Dark overlay */
  z-index: 1;
  border-radius: 8px;
}

.oo-view-all-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  z-index: 2;
}

.oo-view-all {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  text-decoration: none;
  font-size: 16px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.oo-view-all:hover {
  opacity: 1;
}

.login-link {
  font-family: "Manrope", Sans-serif;
  text-transform: none;
  font-weight: 400;
  color: transparent;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Blurring effect */
  filter: blur(5px);
  transition: filter 0.3s ease, color 0.3s ease;
}

.login-link:hover {
  color: black;
  text-shadow: none;
  filter: blur(0);
  text-decoration: underline !important;
}

.property-container {
  display: flex;
  position: relative;
}

.func-icon {
  width: 10px;
}

.func-icon:hover {
  cursor: pointer;
}

.func-icon i {
  color: #787878;
}

.func-icon:hover i {
  color: #c1a21d;
}

#copyMessage {
  display: none;
  position: absolute;
  left: -10px;
}

.immo-nr {
  color: #747474;
  font-family: "Manrope", Sans-serif;
  font-size: 14px;
}

.status-immo-nr {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.title-icons {
  display: flex !important;
  flex-direction: row !important;
  align-items: start !important;
  justify-content: space-between !important;
}

.title-icons .icons {
	width: 40% !important;
}

.oo-detailview h2 {
  font-family: "Nunito Sans" !important;
  font-weight: 600 !important;
  letter-spacing: -1px !important;
}

.contact {
  padding-top: 12px;
}

.contact label,
.angebot label,
.expose label {
  font-family: "Manrope", Sans-serif !important;
  font-weight: 400;
}

.contact input,
.angebot input,
.expose input {
  margin: 0px 0 10px 0;
  text-transform: none !important;
  color: #050706 !important;
  letter-spacing: 1px !important;
  font-family: "Manrope", Sans-serif !important;
}

.contact textarea,
.angebot textarea,
.expose textarea {
  text-transform: none !important;
  min-height: 100px;
  max-height: 200px;
  resize: vertical;
  color: #050706 !important;
  letter-spacing: 1px !important;
  font-family: "Manrope", Sans-serif !important;
}

.angebot input[type="file"] {
  width: 100%;
}

.contact textarea:focus,
.expose textarea:focus,
.angebot textarea:focus {
  outline: none;
  border: 1px solid #7878782b;
}

.form-success-message {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  padding: 10px 15px;
  font-size: 16px;
  display: inline-block;
  margin-top: 10px;
}

.form-error-message {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  padding: 10px 15px;
  font-size: 16px;
  display: inline-block;
  margin-top: 10px;
}

.submit_button {
  width: 100%;
  font-family: "Manrope", Sans-serif !important;
  letter-spacing: 2px;
  text-transform: none !important;
  line-height: 1em;
}

.map-overlay .login-button {
  font-family: "Manrope", Sans-serif !important;
  letter-spacing: 2px;
  text-transform: none !important;
  line-height: 1em;
}

.properties-default {
  display: flex;
  gap: 20px;
  margin-right: 50%;
  margin-top: 120px;
}

.properties-default-title {
  font-family: "Manrope", Sans-serif !important;
  letter-spacing: -1px !important;
  font-size: 1.5rem !important;
  line-height: 1.2 !important;
  font-weight: 600 !important;
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
  padding-bottom: 20px;
}

/* estate search */
.oo-searchform {
  position: fixed;
  top: 0;
  width: 100%;
  padding-top: 70px;
  margin-top: 50px;
  z-index: 10;
  background-color: white;
  border-bottom: 1px solid #d5d5d5;
  margin-left: -20px;
  padding-left: 20px;
}

.oo-searchformfieldwrap {
  display: flex;
  gap: 20px;
  padding-bottom: 20px;
  font-family: "Manrope", Sans-serif !important;
}

.oo-searchformfieldwrap div:nth-child(4) {
  display: flex;
  align-items: flex-end;
  margin-top: auto;
  position: relative;

}

.oo-searchformfieldwrap div:nth-child(4) input {
  font-family: "Manrope", Sans-serif !important;
  width: max-content;
}

.select2-container {
  font-family: "Manrope", Sans-serif !important;
}

.oo-searchformfield {
  width: 20% !important;

}

.oo-searchformfield label {
  font-family: "Manrope", Sans-serif !important;
  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 {
  position: fixed;
  right: 0;
  width: 50%; /* Adjust the width as needed */
  padding-top: 20px;
}

.oo-detailsmap {
  position: relative;
  height: auto;
}

.oo-detailsmap #map,
.oo-estate-map #map,
.oo-detailsmap #gmap,
.oo-estate-map #gmap {
  height: 500px !important;
}

.oo-detailsmap .oo-gmap{
  border-radius: 16px;
}

.oo-estate-map .oo-gmap {
  height: calc(100vh - 65px - 119px) !important;
  width: 100%;
}

.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 {
  height: 500px !important;
}

.oo-estate-map .oo-map .leaflet-top,
.oo-estate-map .oo-map .leaflet-bottom {
  z-index: 888;
}

/* estate sort */
.oo-estate-sort {
  transform: translateY(-7px);
  display: flex;
  align-items: center;
  font-family: "Manrope", Sans-serif !important;
  gap: 5px;
}

/* listframe */
.oo-listheadline {
  padding: 10px 15px;
}

.oo-listframe {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  font-family: "Manrope", Sans-serif !important;
}

.oo-listframe-default {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  font-family: "Manrope", Sans-serif !important;
  padding-right: 20px;
}

/* listobject */
.oo-listobject {
  padding: 0px;
}

.swiper-wrapper {padding-bottom: 20px}

.oo-listobjectwrap {
  border-radius: 8px;
  transition: all 0.3s;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1), 0 2px 12px rgba(0, 0, 0, 0.1);
}
.swiper-button-next,
.swiper-button-prev {
  width: 40px !important;
  height: 40px !important;
  color: #333;
  background: black;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  top: 49% !important;
}
.oo-listimage {
  display: block;
  position: relative;
  aspect-ratio: 16/9;
  width: 100%;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

.overlay-info {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: 10px;
  padding: 10px 10px 0 10px;
  color: white;
  width: 100%;
  font-size: 14px;
  text-transform: uppercase;
}

.info-statuses {
  display: flex;
  align-items: center;
  column-gap: 10px;
}

.marketing-status {
  /* background-color: #a9dad2 !important;
  color: #003e39 !important;
  font-weight: 400 !important; */
  background-color: #c1a21d !important;
  color: white !important;
  font-weight: 400 !important;
}

.overlay-info span {
  background: rgba(0, 0, 0, 0.7);
  padding: 5px 8px;
  border-radius: 10px;
}

.title-icon-container {
  display: flex;
  align-items: start;
  justify-content: space-between;
  column-gap: 20px;
  min-height: 40px;
}

.title-icon-container svg {
  color: #747474;
  fill: none !important;
  padding-bottom: 5px;
  font-size: 18px;
  width: 5%;
  height: 24px;
}

.oo-listinfo {
  padding: 15px 20px 20px 20px;
}

.kaufpreis {
  font-family: "Manrope", sans-serif;
  color: #050706;
  font-size: 20px;
  font-weight: 600;
  margin-top: 20px;
}

.oo-listtitle {
  width: 100%;
  font-family: "Manrope", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
  color: #050706;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.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;
  color: #ffffff !important;
  padding: 6px 10px 5px 12px !important;
  background-color: rgba(0, 0, 0, 0.7) !important;
  border-radius: 50% !important;
  transition: all 0.3s;
  font-size: 16px;
  line-height: 28px;
  z-index: 2 !important;
}

.oo-detailslink a:hover,
.favorize:hover {
  background-color: rgba(0, 0, 0, 0.8) !important;
  color: #ffffff !important;
}

.favorize-detail {
  padding: 0 !important;
  background: none !important;
  color: #787878 !important;
  font-size: 22px !important;
  width: 10px;
}

.favorize-detail .fas.fa-heart {
  color: #c1a21d;
}

.favorize-detail:hover i {
  color: #c1a21d;
}

.favorize {
  border: 1px solid #839fce;
  cursor: pointer;
}

/* details */
.oo-detailsheadline {
  padding: 10px 15px;
}

.oo-detailview {
  display: flex;
  flex-direction: column;
  font-family: "Manrope", Sans-serif !important;
}

.oo-details-main {
  width: 70%;
  padding: 0 50px 0 0;
  border-right: 1px solid #d5d5d5;
  font-weight: 400;
}

.oo-detailsgallery {
  margin-bottom: 25px;
}

.oo-detailsgallery .slick-arrow {
  z-index: 5;
}

.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: 600px;
}

.oo-detailstable {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 20px 0;
  border-top: 1px solid #d5d5d5;
  border-bottom: 1px solid #d5d5d5;
}

.oo-detailstable .feature {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.oo-detailstable .feature .feature-detail svg {
  color: #c1a21d;
  fill: none !important;
  width: 24px;
}

.oo-detailstable .feature .feature-detail {
  display: flex;
  gap: 5px;
}

.oo-detailstable .feature h3 {
  font-family: "Manrope", Sans-serif !important;
  font-size: 14px !important;
  margin: 0 !important;
  color: #747474 !important;
}

.oo-detailstable .feature .feature-detail p {
  font-family: "Manrope", Sans-serif !important;
  font-size: 24px !important;
  font-weight: 500 !important;
  margin-bottom: 0 !important;
}

.oo-detailstable-old {
  display: flex;
  flex-wrap: wrap;
}

.oo-detailslisttd-old {
  width: 25%;
  padding: 10px 0;
  line-height: 0;
  border-bottom: 1px solid #d5d5d5;
  display: flex;
  align-items: center;
}

.oo-detailslisttd-old svg {
  width: 1.5em !important;
}

.oo-detailslisttd-old:nth-child(odd),
.oo-field-label {
  font-weight: 600;
}

.oo-detailsfreetext,
.oo-detailsmap,
.oo-area-butler {
  padding-bottom: 20px;
  padding-top: 12px;
  border-bottom: 1px solid #d5d5d5;
}

.oo-details {
  padding-top: 12px;
}

.oo-detailsheadline {
  padding: 10px 0 0 0 !important;
}

.oo-details-sidebar {
  width: 30%;
  padding: 0 0 0 50px;
  position: relative;
  align-self: flex-start;
}

.oo-details-sidebar.sticky {
  position: sticky;
  top: 120px;
  right: 20px;
}

.oo-details-sidebar.sticky-bottom {
  position: absolute;
  bottom: 0;
  top: auto;
  right: 0;
}

@media only screen and (max-width: 768px) {
  .oo-details-sidebar {
    width: 100%;
    padding: 0;
  }

.search-sidebar {
width: 100% !important;
right: -100% !important;
}

  .expose-popup, .angebot-popup {
   width: 100% !important;
   left: 0;
   transform: unset !important;
}
  .expose-popup {
  	height: 100vh !important;
  }
  
  .oo-details-sidebar.sticky {
    position: relative;
    width: 100%;
    top: auto;
    right: 0;
  }
}

.oo-asp-info,
.elementor-button-text {
  font-family: "Manrope", Sans-serif !important;
  text-transform: none;
}

.oo-aspname,
.oo-video,
.oo-detailsexpose {
  margin-bottom: 15px;
}

.oo-asplocation {
  margin-bottom: 10px;
}

.oo-aspinfo-wrapper {
  display: flex !important;
}

.oo-contact-info,
.oo-aspinfo-wrapper {
  margin-bottom: 15px;
}

.oo-contact-info p {
  margin: 0;
  font-family: "Manrope", Sans-serif !important;
  font-weight: 400;
}

.oo-similar {
  width: 100%;
  margin: 50px 0;
}

#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-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;
}

#TB_overlay,
#TB_window {
  z-index: 1050 !important;
}

/* responsive */
@media only screen and (max-width: 768px) {
  .ccb-vertical {
  	padding: 0 !important;
  }
  .expose-popup, .angebot-popup {
	padding: 20px;
  }
  
  .search-buttons {
    display: flex !important;
    gap: 10px;
    margin: 10px 0 20px 0 !important;
	flex-direction: column;
   }
    .search-buttons input,
    .search-buttons button {
        width: 100% !important;
    }
  
  .property-container {
    flex-direction: column;
  }
  .oo-detailsgallery {
    height: auto; /* Let the height adjust automatically */
    grid-template-columns: 1fr; /* Stack the main image and small images vertically */
  }

  .oo-main-image img {
    height: auto; /* Let the main image height adjust automatically */
    aspect-ratio: 16 / 9; /* Optional: Set a responsive aspect ratio */
  }

  .oo-small-images {
    height: auto; /* Let the small images height adjust automatically */
    grid-template-columns: repeat(2, 1fr); /* Keep 2 columns for small images */
  }

  .oo-small-image img {
    height: auto; /* Let the small images height adjust automatically */
    aspect-ratio: 1 / 1; /* Ensure small images remain square */
  }
  .main-heading {
    width: 100%;
    font-size: 26px !important;
    margin-top: 20px;
  }
  .address {
    align-items: start;
  }
  .contact {
    padding-bottom: 20px;
    border-bottom: 1px solid #d5d5d5;
    margin-bottom: 20px;
  }
  .icons {
    width: 100% !important;
    justify-content: start;
    align-items: center;
    gap: 20px;
    margin-top: 0 !important;
    padding-left: 0 !important;
  }
  .status-immo-nr {
    flex-direction: column;
    align-items: start;
  }
  .title-icons {
    flex-direction: column-reverse !important;
  }
  .favorize-detail {
    margin-left: unset !important;
  }
  .finanz-container {
    flex-direction: column;
  }
  .property-place {
    font-size: 14px;
  }
  .price {
    font-size: 24px;
    margin-top: 10px;
    padding-bottom: 10px;
  }
  .oo-details-main {
    width: 100%;
    padding: 0px;
    border-right: none;
  }
  .oo-detailsfreetext h2,
  .oo-detailsmap h2,
  .oo-details-energy-certificate h2,
  .oo-detailsheadline h2,
  .oo-details h2,
  .contact h2 {
    font-size: 26px !important;
font-weight: 600 !important;
  }
  .oo-details-sidebar {
    width: 100%;
    padding: 0px;
  }
  .contact form label,
  input {
    font-size: 14px;
  }
  .oo-detailsgallery {
    display: flex;
    flex-direction: column;
  }
  .oo-detailview {
    padding: 0 10px;
  }
  .login-message h2 {
    font-size: 24px !important;
  }

  .login-message p {
    font-size: 16px;
  }
  .login-message a {
    width: 100%;
  }
  .image-buttons {
    display: none;
  }
  .image-buttons-mobile {
    display: flex;
    margin-bottom: 20px;
  }
  .image-buttons-mobile-inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px !important;
  }
  .elementor-button-link {
    width: 100% !important;
  }
  .overlay-info {
    font-size: 13px;
  }
  .oo-listframe {
    grid-template-columns: repeat(1, 1fr);
  }
  .oo-estate-map {
    visibility: hidden;
  }
  .oo-searchform {
    position: unset;
    padding-top: 0;
    margin-top: 0;
  }
  .oo-searchformfieldwrap {
    flex-direction: column;
    padding-bottom: 0;
    gap: 10px;
margin-top: 50px;
  }
  .oo-listframe-default {
    grid-template-columns: repeat(1, 1fr) !important;
    padding-right: 20px;
    margin-right: 0 !important;
  }
  .properties-default {
    margin-right: 0 !important;
    margin-top: 0 !important;
  }
  .oo-searchformfieldwrap div:nth-child(4) {
    display: block;
    margin-bottom: -20px;
	width: 100% !important;
  }
  .oo-estate-sort {
    padding: 0;
    margin-bottom: 20px;
    width: 100%;
    padding-right: 20px;
  }
  .oo-searchformfield label {
    line-height: 1.8em !important;
	font-size: 14px !important;
  }
  .oo-detailstable {
    grid-template-columns: repeat(2, 1fr);
  }
  .oo-detailslisttd-old {
    width: 50%;
  }
  .oo-detailslisttd-old:nth-child(even) {
    justify-content: end;
  }
  .oo-detailstable .feature .feature-detail p {
    font-size: 20px !important;
  }
  .properties-default .toggle-container {
  	display: none !important;
  }
  .wichtigste-ausstattungen .toggle-container {
  	margin-bottom: 0 !important;
  }

  .toggle-label {
  	font-size: 14px;
  }
  .swiper-button-next,
  .swiper-button-prev {
    top: 40% !important;
  }
  .oo-searchformfield {
    width: 100% !important;
  }
.oo-searchformfieldwrap div:nth-child(4) input {
  width: 100% !important;
}
  .onofficeSortListSelector {
    font-size: 14px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .oo-listframe {
    grid-template-columns: repeat(2, 1fr);
  }
  .oo-detailview {
    padding: 0 10px;
  }
  .oo-details-main {
    padding-right: 20px !important;
  }
  .oo-details-sidebar {
    padding-left: 20px !important;
  }
  .oo-detailstable .feature .feature-detail p {
    font-size: 18px !important;
  }
  .oo-detailsfreetext h2,
  .oo-detailsmap h2,
  .oo-details-energy-certificate h2,
  .oo-detailsheadline h2,
  .oo-details h2,
  .oo-asp.oo-detailsexpose h2,
  .contact h2 {
    font-size: 30px !important;
 font-weight: 600 !important;
  }
}