/* ==========================================================================
   IMMOBILIEN STYLES - Galerie, Detail, Exposé
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. IMMOBILIEN LISTE
   -------------------------------------------------------------------------- */
.immoliste {
  margin: 10px 0 30px 0;
}

.row .immo-group {
  margin: 0;
}

.row .immo-group .list-group-item {
  padding: 0 0 5px 0;
  color: gray;
  border: none;
  background: none;
  margin: 0;
}

.row .immo-group .list-group-item span {
  color: black;
}

.list-image {
  margin: 4px 0 0 0;
  max-height: 110px;
  max-width: 100%;
  overflow: hidden;
  position: relative;
}

/* --------------------------------------------------------------------------
   2. IMMO DETAIL
   -------------------------------------------------------------------------- */
#immodetail .list-group-item span {
  color: black;
  font-weight: bold;
}

#immodetail .list-group-item span.efield {
  font-weight: normal;
}

#immodetail .thumbnail {
  border: 1px solid #1b3664;
  float: left;
  height: 67px;
  margin: 3px;
  overflow: hidden;
  padding: 1px;
  width: 100px;
}

#immodetail h4 {
  font-size: 2em;
}

#immodetail .list-group-item {
  padding: 0;
  border: none;
}

#immodetail .panel-heading {
  padding: 0 0 5px 0;
}

#immodetail .panel-heading h3 {
  font-size: 1.6em;
}

/* --------------------------------------------------------------------------
   3. LISTFOTO (Thumbnails)
   -------------------------------------------------------------------------- */
.listfoto {
  float: left;
  margin: 3px;
}

.listfoto img {
  cursor: pointer;
  opacity: 0.5;
}

.listfoto img:hover {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   4. TITELFOTO
   -------------------------------------------------------------------------- */
#titelfoto {
  overflow: hidden;
  position: relative;
  margin-bottom: 20px;
}

#titelfoto img {
  width: 100%;
  border-radius: 8px;
}

.titelfoto {
  padding: 0;
  max-height: 200px;
  overflow: hidden;
}

.titelfoto img {
  padding: 0;
  max-height: 100%;
  max-width: 100%;
}

/* --------------------------------------------------------------------------
   5. PHOTO MARKER (Banderolen)
   -------------------------------------------------------------------------- */
.photomarker {
  color: #ffffff;
  background: red;
  padding: 4px;
  font-weight: bold;
  font-size: 1.1em;
  width: 200px;
  text-align: center;
  position: absolute;
  z-index: 5000;
}

.photomarker-rotate {
  transform: rotate(330deg) scale(1) skew(0deg) translate(0px);
}

.photomarker-top {
  top: 0;
  width: 100%;
  text-align: left;
}

.photomarker-bottom {
  bottom: 0;
  width: 100%;
  text-align: left;
}

.photomarker2 {
  position: absolute;
  z-index: 10;
  color: white;
  padding: 8px 20px;
  font-weight: bold;
  font-size: 0.9rem;
}

.photomarker2.photojs {
  position: absolute;
  top: 40px;
  left: -50px;
  transform: rotate(-45deg);
  color: white;
  padding: 5px 80px;
  font-weight: bold;
  font-size: 0.9rem;
  z-index: 10;
  pointer-events: none;
  width: auto !important;
}


.photomarker2.photomarker-top {
  top: 10px;
  left: 10px;
  transform: none;
}

.photomarker2.photomarker-bottom {
  bottom: 10px;
  left: 10px;
  transform: none;
}

.bannerimg {
  position: relative;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   6. IMMO DETAIL CONTENT
   -------------------------------------------------------------------------- */
.immodetail h2,
.groupcontainer h2 {
  font-size: 1.6em;
}

.immodetail .line {
  float: left;
  display: table-row;
  width: 100%;
  padding: 3px 0;
}

.immodetail .name {
  display: table-cell;
  white-space: nowrap;
}

.immodetail .wert {
  text-align: right;
  display: table-cell;
  width: 100%;
}

.immodetail .panel-body {
  display: block;
}

.immodetail .list-group {
  margin-bottom: 0;
  width: 100%;
}

.immodetail .list-group-item {
  border: none;
  margin-bottom: 0;
  padding: 3px;
  background: none;
}

.immodetail .thumbnail {
  width: 105px;
  height: 80px;
  margin: 5px;
}

.immodetail .pdf-files p {
  padding: 0;
  margin: 0;
  font-weight: bold;
}

.immodetail .pdf-files li {
  list-style: none;
  display: inline;
  background: gray;
  padding: 4px;
  margin-right: 5px;
  border-radius: 5px;
}

.immodetail .pdf-files li a {
  color: white;
}

/* --------------------------------------------------------------------------
   7. OBJEKT FOTOS
   -------------------------------------------------------------------------- */
#ObjektFotos .foto {
  float: left;
  width: 72px;
  height: 54px;
  overflow: hidden;
  margin: 0 10px 10px 0;
}

#ObjektFotos .foto img {
  max-height: 100%;
  max-width: 100%;
}

#ObjektFotos p {
  font-size: 10px;
}

/* --------------------------------------------------------------------------
   8. IMMO FILTER
   -------------------------------------------------------------------------- */
.immofilter {
  border: 1px solid gray;
  float: left;
  padding: 20px;
  border-radius: 10px;
  margin: 10px;
}

.immofilter_table table {
  width: 100%;
  border-collapse: collapse;
}

.immofilter_table td {
  padding: 3px;
  text-align: left;
}

.immofilter_table td:first-child {
  text-align: right;
  color: gray;
}

/* --------------------------------------------------------------------------
   9. LEFT COLUMN
   -------------------------------------------------------------------------- */
#leftcol {
  padding-top: 15px;
}

#leftcol li {
  background: none;
  font-size: 12px;
  line-height: 1.4;
  padding: 0;
}

/* --------------------------------------------------------------------------
   10. IMMO GALERIE (Legacy)
   -------------------------------------------------------------------------- */
.imogalerie {
  background: white;
  border: 1px solid #aaaaaa;
  float: left;
  position: relative;
  min-height: 180px;
  margin: 5px;
  width: 580px;
  z-index: 100;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 3px 3px 4px #CCCCCC;
}

.imogalerie:hover {
  border: 1px solid red;
}

.imogalerie_picture {
  height: 150px;
  overflow: hidden;
  width: 190px;
  float: left;
  position: relative;
}

.imogalerie_picture img {
  max-height: 100%;
}

.imogalerie_data {
  width: 360px;
  float: left;
}

.imogalerie_data h1 {
  margin: 0 0 5px 0;
  padding: 0;
  font-size: 130%;
  text-transform: none;
}

.imogalerie_buttons {
  height: 30px;
  width: 180px;
  background: none;
  position: absolute;
  left: 20px;
  bottom: 20px;
  display: none;
}

.imogalerie_buttons span {
  color: #003366;
  border: 1px solid gray;
  padding: 3px;
  cursor: pointer;
  background: white;
}

.imogalerie_buttons ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.imogalerie_buttons li {
  list-style: none;
  display: inline;
  padding: 0;
}

.imogalerie_buttons li i {
  color: gray;
  border: 1px solid #e4322b;
  padding: 3px;
  width: 24px;
  text-align: center;
  cursor: pointer;
  border-radius: 3px;
}

.imogalerie_buttons li i.marker {
  color: white;
  background: green;
}

.imogalerie_buttons li i:hover {
  color: #e4322b;
  border: 1px solid gray;
}

.imogalerie_buttons li i.marker:hover {
  color: white;
  background: green;
}

/* --------------------------------------------------------------------------
   11. IMMO TABLE
   -------------------------------------------------------------------------- */
.immotable {
  border-collapse: collapse;
}

.immotable td {
  font-size: 105%;
  vertical-align: top;
  padding: 2px 2px 2px 0;
}

.immotable td:first-child {
  color: gray;
  width: 110px;
}

/* --------------------------------------------------------------------------
   12. SUBMENU / ORDER
   -------------------------------------------------------------------------- */
#SubmenContainer {
  width: 290px;
}

#div_orderby {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 200px;
}

#clickinfo {
  font-size: 11px;
  color: #666666;
}

/* --------------------------------------------------------------------------
   13. EXPOSE DETAIL
   -------------------------------------------------------------------------- */
#Expose h1 {
  font-size: 200%;
}

.ExposeKategorie {
  padding: 0;
  margin: 30px 0 3px 0;
  font-size: 140%;
  border-bottom: 1px solid gray;
  color: #e4322b;
}

.ExposeDatenTable {
  border-collapse: collapse;
}

.ExposeDatenTable td {
  padding: 2px 0;
  font-size: 115%;
}

.ExposeDatenTable td:first-child {
  width: 200px;
  color: #999999;
}

/* --------------------------------------------------------------------------
   14. BUTTONS
   -------------------------------------------------------------------------- */
.button,
#anfragetable .button {
  background: #555555;
  border: none;
  border-radius: 4px;
  color: #FFFFFF;
  display: inline-block;
  font-size: 12px;
  font-weight: normal;
  margin-bottom: 2px;
  padding: 5px;
  position: relative;
}

.button:hover,
#anfragetable .button:hover {
  background: #E4322B;
  color: #FFFFFF;
  cursor: pointer;
  text-decoration: none;
}

.button.disabled {
  background: #cccccc;
  cursor: default;
}

.submit {
  padding: 7px 19px;
}

.btn-label {
  position: relative;
  left: -12px;
  display: inline-block;
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 3px 0 0 3px;
}

.btn-labeled {
  padding-top: 0;
  padding-bottom: 0;
}

/* --------------------------------------------------------------------------
   15. FEEDBACK
   -------------------------------------------------------------------------- */
#feedback {
  text-align: left;
  width: 250px;
  z-index: 1000;
}

#feedback div span {
  color: #777777;
  float: left;
  font-weight: normal;
  padding: 6px 0 4px;
  width: 70px;
}

#feedback ul {
  list-style: none;
}

#feedback div {
  clear: left;
}

#feedback div strong {
  display: table-cell;
  font-weight: normal;
  padding: 4px 0;
  width: auto;
}

/* --------------------------------------------------------------------------
   16. CERTIFICATE
   -------------------------------------------------------------------------- */
#certbody .efield {
  float: left;
}

#certbody .evalue {
  float: right;
}

/* --------------------------------------------------------------------------
   17. IMMOS GRID
   -------------------------------------------------------------------------- */
#immos .col-img {
  padding-left: 0;
}

#thumbgroup .thumbnail {
  margin: 2px;
}

.img-thumbnail {
  max-height: 120px;
}

.pagecontainer li {
  background: none;
}

/* --------------------------------------------------------------------------
   18. SOCIAL MEDIA
   -------------------------------------------------------------------------- */
.socialmedia {
  display: flex;
  justify-content: space-between;
}

.socialmedia .btn {
  border: none;
  margin: 0 3px;
  flex: 1 1 auto;
}

.socialmedia .facebook {
  background: #3b5998;
}

.socialmedia .twitter {
  background: #55acee;
}

.socialmedia .xing {
  background: #126567;
}

.socialmedia .linkedin {
  background: #0077b5;
}

.socialmedia .tumblr {
  background: #36465d;
}

.socialmedia .pinterest {
  background: #cb2027;
}

.socialmedia .whatsapp {
  background: #34af23;
}

/* --------------------------------------------------------------------------
   19. YOUTUBE
   -------------------------------------------------------------------------- */
.youtube i {
  color: #ff0000;
}

/* ==========================================================================
   EXPOSE STYLES - Web + PDF
   ========================================================================== */

/* --------------------------------------------------------------------------
   20. WRAPPER
   -------------------------------------------------------------------------- */
.wrapper {
  display: block;
  margin-bottom: 40px;
}

.wrapper h2 {
  font-size: 1.4rem;
  color: #d82023;
  font-weight: 400;
  margin: 0 0 10px 0;
  text-align: left;
}

.wrapper_mb {
  margin-bottom: 30px;
}

/* --------------------------------------------------------------------------
   21. DATENBLÖCKE
   -------------------------------------------------------------------------- */
ul.datablock {
  padding: 0;
  margin: 0 0 20px 0;
  list-style: none;
}

ul.datablock li {
  list-style: none;
  break-inside: avoid;
}

.datablock .line {
  padding: 10px 0;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #e0e0e0;
}

/* .datablock .line:last-child {
	border-bottom: none;
} */

.datablock .fname {
  font-size: 1rem;
  color: #1a3b5c;
  flex: 0 0 40%;
  padding-right: 10px;
}

.datablock .fval {
  font-size: 1rem;
  color: #333;
  flex: 1;
  text-align: left;
}

.datablock .fval.tar {
  text-align: right;
}

.datablock ul {
  margin-bottom: 1.5rem;
}

.datablock li {
  break-inside: avoid;
  list-style: none;
}

.line {
  padding: 7px 0;
  clear: both;
  display: flex;
}

.fname {
  width: 60%;
}

.fval {
  break-inside: avoid;
  width: 100%;
}

/* --------------------------------------------------------------------------
   22. FREITEXTE
   -------------------------------------------------------------------------- */
.textblock {
  font-size: 1rem;
  color: #444;
  text-align: left;
  hyphens: auto;
}

.textblock p {
  margin-top: 0;
  margin-bottom: 15px;
  line-height: 1.6;
}

.textblock ul {
  margin-bottom: 15px;
  padding-left: 20px;
}

.textblock li {
  margin-bottom: 5px;
  line-height: 1.5;
}


.textblock ul.check {
  margin-left: 0px;
}

.textblock ul.check li {
  list-style: none;
  padding: 0 0 10px 25px;
}

.textblock ul.check li:before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Pro';
  color: var(--color-gray);
  font-weight: 900;
  display: inline-block;
  width: 1.5em;
  margin-left: -1.5em;
}


/* --------------------------------------------------------------------------
   23. FOTOGALERIE
   -------------------------------------------------------------------------- */
.gallery-img {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  max-height: 150px;
  width: 100%;
}

.gallery-img img {
  transition: transform 0.3s ease;
}

.gallery-img:hover img {
  transform: scale(1.05);
}

.card.anhang {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.clickinfo,
.disclaimer {
  text-align: center;
  color: #888;
  font-size: 0.8rem;
  font-style: italic;
}

/* Lazy Loading */
img.lazy {
  opacity: 0;
  transition: opacity 0.3s;
}

img.lazy.loaded {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   24. ENERGIEPASS SVG
   -------------------------------------------------------------------------- */
#epass-svg {
  margin: 0 auto;
}

.energiepass-svg svg {
  width: 100%;
  height: auto;
}

/* --------------------------------------------------------------------------
   25. 3D RUNDGANG BUTTON
   -------------------------------------------------------------------------- */
.tour3d-button .btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  padding: 12px 30px;
  font-size: 1.1rem;
  border-radius: 50px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.tour3d-button .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

/* --------------------------------------------------------------------------
   26. GRUNDRISSE
   -------------------------------------------------------------------------- */
.grundrisse h3 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 20px;
}

/* --------------------------------------------------------------------------
   27. UTILITY CLASSES
   -------------------------------------------------------------------------- */
.block {
  display: block;
}

.pt-0 {
  padding-top: 0;
}

.mb {
  margin-bottom: 30px;
}

.tar {
  text-align: right;
}

.tal {
  text-align: left;
}

.center {
  text-align: center;
}

/* Objectdata (PDF) */
.objectdata {
  padding: 15px 0;
  color: #444;
  font-size: 1rem;
  border-bottom: 1px solid #ddd;
  margin-bottom: 20px;
}

/* Image Titles */
.imagetitle {
  font-size: 0.85rem;
  color: #666;
  margin-top: 5px;
}

/* Two Column Layout */
ul.twocol {
  columns: 250px;
  column-gap: 50px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 768px) {
  #immodetail h4 {
    font-size: 1.6em;
  }

  #immos.col-immos {
    padding: 0;
  }

  #immos .col-img {
    padding: 0;
  }

  .datablock .line {
    flex-direction: column;
  }

  .datablock .fname {
    flex: none;
    margin-bottom: 5px;
  }

  .datablock .fval {
    text-align: left;
  }

  .datablock .fval.tar {
    text-align: left;
  }
}

/* ==========================================================================
   PRINT / PDF STYLES
   ========================================================================== */
@media print {
  .wrapper {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .breakafter {
    break-after: always;
    page-break-after: always;
  }

  .breakbefore {
    break-before: always;
    page-break-before: always;
  }

  .breakavoid {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  #titelfoto img {
    border-radius: 0;
  }

  .tour3d-button {
    display: none;
  }

  .clickinfo {
    display: none;
  }
}


#immodetail .disclaimer {
  text-align: left;
  font-style: normal;
}