/* [DAS PRIME] * Die Woelfe Immobilienmarketing */

/* -----------------------------
   FONTS
----------------------------- */

@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css');


@font-face {
  font-family: 'Satoshi';
  src: url('../fonts/satoshi.woff2') format('woff2');
  font-weight: 300 900;
  font-display: swap;
  font-style: normal;
}


/* -----------------------------
   BASICS / RESETS
----------------------------- */

body, html {
font-family: "Satoshi", sans-serif;
font-variation-settings: "slnt" 0, "wdth" 100, "wght" 300;

}

 .row > * {
    padding-left: 0px;
    padding-right: 0px;
  }

.row {
  margin-left: 0px;
  margin-right: 0px;
}

body {
  overflow-x: hidden;
}

.container {
  max-width: 100%;
}

.ept-width-auto {
  max-width: 1600px;
  margin: auto;
}

div[role="status"] {
  display: none !important;
}

.node__content {
  margin: 0px;
}


.path-frontpage #main.container {
  padding: 0px;
  margin-top: 0px !important;
}

.node--view-mode-teaser {
	border-bottom: none;
	margin-bottom: 50px;
	padding-bottom: 25px;
}

#main a[id] {
  display: block;
  position: relative;
  top: -50px;
  visibility: hidden; 
}
a#merkliste-anfrage[id] {
  top: 0px;
  visibility: visible;
}


#projekt  {
  margin-top: -75px;
}

.path-merkliste #main a[id] {
  display: block;
  position: relative;
  top: 0;
  visibility: visible; 
}

.ajax-progress,
.ajax-progress .spinner {
  display: none !important;
}
  
.path-mercury-editor #main.container{
  margin-top: 0px !important;
}

.cm-btn {
  background: #146e73 !important;
  border-color: #146e73 !important;
  padding: 9px 18px !important;
}

.cm-link {
    font-variation-settings: "slnt" 0, "wdth" 100, "wght" 500;
  color: #146e73 !important;
}

.cm-btn:hover {
  color: #146e73 !important;
  border-color: #146e73 !important;
  background: #fff !important;
}

.cm-switch .slider {
  background: #9f8881 !important;
}

.cm-klaro a {
  font-variation-settings: "slnt" 0, "wdth" 100, "wght" 500;
  color: #146e73 !important;
}


.is-mercury-edit-mode{
  margin-top: 180px !important;
  z-index: 1;
}



/* -----------------------------
   TYPOGRAPHIE
----------------------------- */

.node h1 {
}

.node h2 {
  color: #146e73;
  font-family: "Satoshi", sans-serif;
  font-variation-settings: "slnt" 0, "wdth" 100, "wght" 300;
  font-size: 72px;
  line-height: 70px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 100px;
  margin-top: -10px;
  position: relative;
  font-variation-settings: "wght" 300;
   min-height: calc(1.2em * 3); /* line-height * 3 Zeilen */
  transition: opacity 0.3s ease;
}

.node h3 {
  color: #666;
  font-family: "Satoshi", sans-serif;
  font-variation-settings: "slnt" 0, "wdth" 100, "wght" 250;
  font-size: 36px;
  line-height: 125%;
  font-variation-settings: "wght" 400;
}


.node h2.typing-active {
  opacity: 1;
}

.node h2::after {
  content: "";
  position: absolute;
  bottom: -50px;
  left: 5px;
  background: url(/sites/default/files/curve.png);
  background-repeat: no-repeat;
  background-size: contain;
  width: 250px;
  height: 25px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.6s ease;
}

.node h2.show-line::after {
  transform: scaleX(1);
}

.node h5 {
  color: #146e73;
  font-size: 30px;
  background-color: #c5ced1;
  padding: 10px 0px;
}

.node p {
  font-size: 20px;
  line-height: 130%;
  letter-spacing: 0.01em;
}

.node strong {
}

.node a:hover {
}

a.ekz {
  text-decoration: none;
}

#neuigkeiten h2, #anfrage h2 {
  min-height: auto;
}

/* -----------------------------
   IMAGES
----------------------------- */

img {
  max-width: 100%;
  width: 100%;
  height: auto;
}



/* -----------------------------
   ZURÜCK ZUR STARTSEITE LINK
----------------------------- */

#startseite-link {
  display: flex;
  justify-content: center;
}

#startseite-link a {
  color: #146e73;
}

#startseite-link a:hover {
  color: #146e73;
}


/* -----------------------------
   BUTTONS
----------------------------- */

.ept-basic-button .ept-basic-button-wrapper {
  position: relative;
  min-width: 33%;
}


.ept-basic-button .ept-basic-button-wrapper:before {
  content: "";
  position: absolute;
  left: -5px;
  top: 0;
  bottom: 0;
  width: 10px;
  border-radius: 90%;
  background-color: #fff;  
  z-index: 10;
}

.ept-basic-button .ept-basic-button-wrapper:after {
  content: "";
  position: absolute;
  right: -5px;
  top: 0;
  bottom: 0;
  width: 10px;
  border-radius: 90%;
  background-color: #fff;  
  z-index: 10;
}

.ept-basic-button .ept-basic-button-wrapper a {
  text-decoration: none;
  padding: 5px 25px !important;
  font-size: 36px !important;
}


/* -----------------------------
   SHARE / Modal
----------------------------- */


.share-modal-wrapper {
  font-size: 0px;
  max-width:165px !important;
  border-radius: 0px !important;
  background: none !important;
  max-width: 1600px !important;
  display: flex;
  justify-content: flex-end;
  margin-right: 190px
}


.share-modal-wrapper ul {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  row-gap: 25px !important;
  max-width: 125px !important;
  background: rgba(20, 110, 115, 0.85) !important;
  width: 100% !important;
  padding: 15px 10px !important;
}

.share-modal-wrapper {
  margin-right: -105px;
  margin-top: -25px;
}

.share-open .share-modal-wrapper {
  margin-right: 190px;
  margin-top: 0px;
}

.share-open .share-modal-wrapper ul {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  row-gap: 25px !important;
  max-width: 125px !important;
  background: rgba(20, 110, 115, 0.85) !important;
  width: 100% !important;
  padding: 15px 10px !important;
}

.share-modal-wrapper img {
  width: 40px !important;
  height: 40px !important;
  object-fit: contain;
  padding: 2px;
}

#closeShareModal {
  font-size: 0px !important;
}

#closeShareModal:before {
  content: "";
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  background: rgba(20, 110, 115, 0.85) !important;
  width: 36px;
  height: 18px;
  display: block;
  position: absolute;
  top: 7px;
  right: 10px;
  border: none !important;
}

.share-open #closeShareModal:before {
  background: rgba(20, 110, 115, 0.65) !important;
}


.share-open .share-modal-wrapper {
  position: absolute !important;
  top: 130px !important;
}

 #shareModal {
  background: none !important;
}


/* -----------------------------
   WOHNUNGEN / Detail / Übersicht
----------------------------- */

#stone, #stone div:first-child::before {
  background: #e9e9e3;
}

#stone .ept-container,
#leafs .ept-container{
  height: 100%;
  display: flex;
  align-items: center;
  padding-left: 18px;
  position: relative;
}

#wood .ept-container {
  height: 100%;
  display: flex;
  align-items: center;
  padding-right: 18px;
  position: relative;
}

#stone .ept-container p:nth-last-child(1) {
  position: absolute;
  right: -92%;
  bottom: 24px;
  z-index: 2;
  background-color: #e9e9e7;
  padding: 15px;  
}

#wood .ept-container p:nth-last-child(1) {
  position: absolute;
  left: -111%;
  bottom: 24px;
  z-index: 2;
  background-color:#e8ded6;
  padding: 15px;  
}

#leafs .ept-container p:nth-last-child(1) {
  position: absolute;
  right: -110%;
  bottom: -16px;
  z-index: 2;
  background-color: #e5eac8;
  padding: 15px;  
}

#stone .ept-container p:nth-last-child(1) a {
  position: absolute;
  top: -15px;
  right: -10px;
  background-color: #e9e9e7;
  width: 25px;
  height: 25px;
  border-radius: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

#wood .ept-container p:nth-last-child(1) a {
  position: absolute;
  top: -15px;
  left: -10px;
  background-color:#e8ded6;
  width: 25px;
  height: 25px;
  border-radius: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

#leafs .ept-container p:nth-last-child(1) a {
  position: absolute;
  top: -15px;
  right: -10px;
  background-color: #e5eac8;
  width: 25px;
  height: 25px;
  border-radius: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

#stone.columns-33-67 .paragraph--type--ept-text {
  padding-right: 0px;
}

/* ----------------------------
   WOHNUNGSMAP / DWINAV /
----------------------------- */

#dwinav {
  position: relative;
}

/* Wrapper */

.pdf-open #wohnungsliste-wrapper {
  margin-top: 75px  !important;
}

#wohnung-wrapper {
  margin-top: -50px !important;
}

/* Navigation */

#map-steps {
  justify-content: flex-start !important;
  gap: 5px !important;
  position: relative;
  z-index: 20;
  max-width: calc(100% - 250px);
  font-size: 20px;
}

#map-steps .step.active {
  color: #146e73;
}

#map-steps #step-1:after,
#map-steps #step-2:after{
  content: ">";
  margin-left: 5px
}

#map-steps #step-2, #map-steps #step-3 {
  pointer-events: none;
}

.geschoss-open #step-1 {
  color: #c3c3c3 !important;
}

.etage-open #step-1, .etage-open #step-2 {
  color: #c3c3c3 !important;
}


.etage-open #step-2, .etage-open #step-3 {
  pointer-events: auto !important;
}

.geschoss-open #dwinav .liste,
.etage-open #dwinav .liste{
  opacity: 1;
  z-index: 10;
  pointer-events: none;
}

#map-steps #step-1:before,
#map-steps #step-2:before{
  position: absolute;
  right: -225px;
  top: -90px;
  position: absolute;
  background: #146e73;
  border: none;
  padding: 5px 25px;
  color: #fff;
  text-decoration: none;
  height: 58px;
  display: flex;
  align-items: center;
  font-size: 26px;
  padding-left: 50px;
  padding-right: 50px;
  z-index: 20;
}

#map-steps #step-2:before {
  right: -240px;
}

.geschoss-open #map-steps #step-1:before{
  content: "zur Häuserübersicht";
}

.etage-open #map-steps #step-2:before{
  content: "zur Geschossübersicht";
}


/* H2 */

.pdf-open #wohnung-detail h2,
#wohnung-wrapper h2{
  height: 0px;
  font-size: 0px;
  visibility: hidden;
  margin: 0px;
}

.pdf-open #wohnung-detail h2:after,
#wohnung-wrapper h2:after{
  display: none;
}

#wohnungsliste-wrapper {
  position: relative; 
  overflow: hidden;  
}


/* Body Klassen */


body.pdf-open #wohnungsliste-wrapper {
  aspect-ratio: 297 / 210; /* A4 quer */
  max-width: 1600px;
  margin: 0 auto;
}

body.pdf-open iframe {
  aspect-ratio: 297 / 210;
}

body.pdf-open #back-to-list {
  position: absolute;
  top: 0px;
  background: #146e73;
  border: none;
  padding: 5px 30px;
  color: #fff;
  display: flex;
  height: 60px;
  align-items: center;
  font-size: 28px;
}


body.pdf-open #back-to-list:before, #dwinav .liste:before {
  content: "";
  position: absolute;
  left: -12px;
  height: 60px;
  background: #fff;
  top: 0px;
  bottom: 0px;
  border-radius: 90%;
  width: 18px;
}

body.pdf-open #back-to-list:after, #dwinav .liste:after {
  content: "";
  position: absolute;
  right: -12px;
  height: 60px;
  background: #fff;
  top: 0px;
  bottom: 0px;
  border-radius: 90%;
  width: 18px;
}

/* -----------------------------
   WOHNUNGSLISTE / Tabs / Filter
----------------------------- */

#haus-filter {
  display: flex;
  align-items: center; /* vertikal zentrieren */
  gap: 10px;           /* Abstand zwischen den Buttons */
}


#haus-filter button {
  height: 57px;
  width: 100%;
  max-width: 300px;
  color: #fff;
  font-size: 28px;
  border: none;
  margin-top: 100px;
  margin-right: 75px;
  position: relative;
  text-align: left;
  padding-left: 25px;
  margin-bottom: 2px;
}

#haus-filter button:after {
  content: "";
  position: absolute;
  right: -70px;
  width: 70px;
  height: 57px;
  top: 0px;
  bottom: 0px;
  clip-path: polygon(0 0, 0% 100%, 100% 100%);
}

#haus-filter button[data-top="A"], #haus-filter button[data-top="A"]:after  {
  background-color: rgba(169, 166, 161,0.5);
}

/* Haus B */
#haus-filter button[data-top="B"], #haus-filter button[data-top="B"]:after  {
  background-color: rgba(165, 124, 90,0.5);
}

/* Haus C */
#haus-filter button[data-top="C"], #haus-filter button[data-top="C"]:after  {
  background-color: rgba(152, 170, 36,0.5);
}

/* Alle */

#haus-filter button[data-top="alle"] {
    margin-left: auto;
    background-color: rgba(20, 110, 115,0.5);
  margin-right: 0px;
  text-align: right;
  padding-left: 0px;
  padding-right: 25px;
}

 #haus-filter button[data-top="alle"]:after {
  clip-path: polygon(100% 0, 0% 100%, 100% 100%);
  background-color: rgba(20, 110, 115,0.5);
  right: auto;
  left: -70px;
}

#haus-filter button.active, #haus-filter button.active:after {
  height: 59px;
  margin-bottom: -2px;
}

/* Haus A */
#haus-filter button[data-top="A"].active,
#haus-filter button[data-top="A"].active:after {
  background-color: rgba(169, 166, 161, 1);
}

/* Haus B */
#haus-filter button[data-top="B"].active,
#haus-filter button[data-top="B"].active:after {
  background-color: rgba(165, 124, 90, 1);
}

/* Haus C */
#haus-filter button[data-top="C"].active,
#haus-filter button[data-top="C"].active:after {
  background-color: rgba(152, 170, 36, 1);
}

/* Alle */
#haus-filter button[data-top="alle"].active,
#haus-filter button[data-top="alle"].active:after {
  background-color: rgba(20, 110, 115, 1);
}

/* -----------------------------
   WOHNUNGSLISTE / Tabelle
----------------------------- */

.footable tr:nth-child(odd) {
  background-color: #fff;
}
.footable tr:nth-child(even) {
  background-color: rgba(152,170,35,0.1);
}
.footable td {
  padding: 9px 5px;
  border: none;
  color: #000;
  text-align: center;
}
.footable tr {
  font-size: 18px;
}
.footable th {
  height: 75px;
  background: #fff;
  border-top: 2px solid #98aa24;
  border-bottom: 1px solid #98aa24;
  color: #000;
  text-align: center;
  font-size: 18px !important;
  
  line-height: 120%;
}
.footable th a {
  color: #000 !important;
  text-decoration: none;
}

.footable th:first-child,
.footable td:first-child {
  text-align: left;
}

.footable tr.verkauft .views-field-nothing a{
  pointer-events: none;
  opacity: 0.25;
}

.footable tr.verkauft .views-field-view-node a{
  pointer-events: none;
  opacity: 0.35;
}

span.fooicon {
  opacity: 1 !important;
  font-size: 30px;
  transform: scaleX(0.8);
  margin-top: -12px !important;
  font-family:"Font Awesome 5 Free" !important;
  font-weight: 900
}

.fooicon.fooicon-sort-asc {
  font-size: 24px;
}

.view-display-id-block_stone span.fooicon {
  color: rgba(169, 166, 161,1);
}

.view-display-id-block_wood span.fooicon {
  color: rgba(165, 124, 90,1);
}

.view-display-id-block_leafs span.fooicon {
  color: rgba(152, 170, 36,1);
}


.views-field-field-nutzflaeche::before,
.views-field-field-balkon::before,
.views-field-field-terrasse::before,
.views-field-field-garten::before,
.views-field-field-kellerabteil::before {
  content: attr(data-display);
  display: inline;
  color: inherit;
  position: relative;
  font-size: 18px;
}

.views-field-field-nutzflaeche,
.views-field-field-balkon,
.views-field-field-terrasse,
.views-field-field-garten,
.views-field-field-kellerabteil {
  color: transparent;
  position: relative;
  font-size: 0px;
}


.view-wohnungen td:empty::before{
  content: "-";
}

/* -----------------------------
   WOHNUNGSLISTE / Farben
----------------------------- */

.haus-a.footable tr:nth-child(even) {
  background-color: rgba(169, 166, 161, 0.15)
}

.haus-a.footable th {
  border-top: 2px solid rgba(169, 166, 161, 1);
  border-bottom: 1px solid rgba(169, 166, 161, 1);
}

.haus-b.footable tr:nth-child(even) {
  background-color: rgba(165, 124, 90, 0.15)
}

.haus-b.footable th {
  border-top: 2px solid rgba(165, 124, 90, 1);
  border-bottom: 1px solid rgba(165, 124, 90, 1);
}

.haus-c.footable tr:nth-child(even) {
  background-color: rgba(152, 170, 36, 0.1)
}

.haus-c.footable th {
  border-top: 2px solid rgba(152, 170, 36, 1);
  border-bottom: 1px solid rgba(152, 170, 36, 1)
}

.haus-alle.footable tr:nth-child(even) {
  background-color: rgba(20, 110, 115, 0.15);
}

.haus-alle.footable th {
  border-top: 2px solid rgba(20, 110, 115, 1);
  border-bottom: 1px solid rgba(20, 110, 115, 1);
}

.haus-a span.fooicon {
  color: rgba(169, 166, 161, 1) !important;
}
.haus-b span.fooicon {
  color: rgba(165, 124, 90, 1) !important;
}
.haus-c span.fooicon {
  color: rgba(152, 170, 36, 1) !important;
}
.haus-alle span.fooicon {
  color: rgba(20, 110, 115, 1) !important;
}

.field--name-field-verkaufsplaene iframe {
  aspect-ratio: 297 / 210;
}


.wohnungslink{
  font-size: 0px;
  position: relative;
  height: 25px;
  width: 36px;
  display: flex;
  margin: auto;
  justify-content: center;
  align-items: center;
}

.wohnungslink:before {
  content: "";
  position: relative;
  background: url(/sites/default/files/plan.webp);
  background-size: 20px auto;
  background-repeat: no-repeat;
  background-position: center;
  filter: invert(1);
  height: 25px;
  width: 40px;
}


/* -----------------------------
   WOHNUNGSLISTE / Details
----------------------------- */

#wohnungsliste-wrapper {
  position: relative;
  overflow: hidden;
  min-height: 600px;
  max-width: 1600px;
  margin: auto;
}

#wohnungsliste {
  position: relative; /* wichtig: nicht absolute! */
  z-index: 1;

}

#wohnung-detail {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0px;
  width: 100%;
  transform: translateX(100%);
  background: white;
  transition: transform 0.4s ease;
  z-index: 2;
}

#wohnung-detail .detail-inner {
  padding-left: 0px !important;
  padding-right: 0px !important;
}

#wohnung-detail.active {
  transform: translateX(0%);
}

.merkliste #wohnungsliste-wrapper {
  min-height: auto !important;
  height: 100% !important;
  margin-top: 75px !important;
  max-width: 1600px;
  margin: auto;
}

.merkliste #merkliste-content {
  padding-bottom: 0px !important;
  max-width: 1600px;
  margin: auto;
}

.merkliste-empty .empty-merkliste-msg {
  min-height: 200px;
  justify-content: center;
  align-items: center;
  display: flex !important;
}

 .merkliste-empty .merkliste-clear,
 .merkliste-empty .merkliste-print,
 .merkliste-empty #merkliste-anfrage{
  display: none !important;
}

#merkliste-content td.views-field-nothing-1 a:before,
.path-merkliste td.views-field-nothing-1 a:before{
  margin-top: 3px;
}


.pdf-open #haus-filter {
  display: none;
}

.hidden {
  display: none;
}


/* -----------------------------
   SHARE / Link teilen
----------------------------- */

.field--name-dynamic-token-fieldnode-teilen button{
  background: none;
  border: none;
  font-size: 0px;
  width: 30px;
  height: 30px;
  position: absolute;
  right: 0px;
}

.field--name-dynamic-token-fieldnode-teilen button:before {
    content: "";
  background: url(/sites/default/files/teilen.png);
  background-repeat: no-repeat;
  background-size: contain;
  width: 30px;
  height: 30px;
  display: inline-block;
}


/* -----------------------------
   MERKLISTE / Toggle
----------------------------- */

.merkliste-toggle{
  background: none;
  border: none;
  font-size: 18px;
  line-height: 100%;
  font-weight: 400;
  color: #318084;  
  position: relative;
  padding-left: 30px;
  margin-top:50px;
  margin-bottom: 25px;
}

.merkliste-toggle:before {
  content: "";
  background: url(/sites/default/files/merkliste.png);
  background-size: 24px auto;
  width: 24px;
  height: 24px;
  display: inline-block;
  position: absolute;
  top: -2px;
  left: 0px;
}

.merkliste-toggle.active{
    margin-left: auto;
    background-color: rgba(20, 110, 115,1);
  margin-right: 0px;
  text-align: right;
  padding-left: 0px;
  padding-right: 25px;
  height: 57px;
  width: 100%;
  max-width: 300px;
  color: #fff;
  font-size: 28px;
  border: none;
  margin-top: 100px;
  position: relative;
  text-align: left;
  padding-left: 25px;
  margin-bottom: 2px;
  margin-left: 75px;
}
  
.merkliste-toggle.active:before {
  display: none;
}

.merkliste-toggle.active:after {
  clip-path: polygon(100% 0, 0% 100%, 100% 100%);
  background-color: rgba(20, 110, 115,1);
  content: "";
  position: absolute;
  left: -70px;
  width: 70px;
  height: 57px;
  top: 0px;
  bottom: 0px;
}

.merkliste-open #wohnungsliste-wrapper {
  min-height: auto;
}

/* -----------------------------
   MERKLISTE / Tabelle
----------------------------- */


.view-display-id-merkliste {
  max-width: 1600px;
  margin: auto;
}

#merkliste-content  .views-field-field-geschoss,
#merkliste-content .views-field-field-top,
#merkliste-content  .views-field-field-zimmer,
#merkliste-content  .views-field-field-status{
  font-size: 18px;
}

#merkliste-content  .views-field-field-geschoss,
#merkliste-content  .views-field-field-top,
#merkliste-content  .views-field-field-zimmer,
#merkliste-content  .views-field-field-status,
#merkliste-content .views-field-field-preis {
  font-size: 17px;
}

#merkliste-content .views-field-field-preis br{
  font-size: 18px;
}

.view-display-id-merkliste thead th,
#merkliste-content  thead th{
  border-top: 2px solid rgba(20, 110, 115,1);
  border-bottom: 1px solid rgba(20, 110, 115,1);
  font-size: 17px;
  color: #000;
}

#merkliste-content .table-striped > tbody > tr:nth-of-type(2n+1) > * {
  --bs-table-accent-bg: none;
}

.view-display-id-merkliste thead tr,
#merkliste-content thead tr {
  background: #fff;
}

.view-display-id-merkliste td,
#merkliste-content td {
  border-left: 0px;
  border-right: 0px;
  color: #000;
  background: #fff;
  border-bottom: 1px solid #ccc;
}

.merkliste-open #merkliste-content .col:after {
  border-bottom: 0px !important;
}

.view-display-id-merkliste thead a,
.view-display-id-merkliste .table th :not(caption) > * > *,
#merkliste-content thead a,
#merkliste-content .table th :not(caption) > * > * {
  color: #000 !important;
  font-size: 18px;
  text-decoration: none;

}

.view-display-id-merkliste .views-field-nothing,
#merkliste-content .views-field-nothing {
  max-width: 40px;
  text-align: center;
}

.view-display-id-merkliste .views-field-nothing a,
#merkliste-content .views-field-nothing a {
  font-size: 0px;
  position: relative;
  cursor: pointer;
}

.view-display-id-merkliste .views-field-nothing a:before,
#merkliste-content .views-field-nothing .merken-btn:before{
  content: "";
  background: url(/sites/default/files/trash.svg);
  background-repeat: no-repeat;
  background-size: 18px auto;
  width: 20px;
  height: 20px;
  display: inline-block;
  margin-top:3px;
}

.merkliste-open table {
  margin-top: 0px;
  overflow: hidden;
}

/* -----------------------------
   MERKLISTE / Konfigurationen
----------------------------- */

.merkliste-open #haus-filter {
  display: none;
}

.merkliste-open #merkliste-button {
  float: right;
}

.merkliste-open #merkliste-content {
  clear: both;
}

.merkliste-open .col {
  position: relative;
}

.merkliste-open .col:after {
  content: "";
  border-bottom: 1px solid;
  width: 100%;
  left: 0px;
  right: 0px;
  position: absolute;
  z-index: 10;
  bottom: 10px;
}

/* -----------------------------
   MERKLISTE / BUTTON
----------------------------- */

.field--name-dynamic-token-fieldnode-merkliste button{
  background: none;
  border: none;
  font-size: 0px;
  width: 40px;
  height: 40px;
  position: absolute;
  right: 155px;
  margin-top: -1px;
  z-index: 30;
  
}

.field--name-dynamic-token-fieldnode-merkliste button:before {
    content: "";
  background: url(/sites/default/files/merkliste.png);
  background-size: contain;
  width: 30px;
  height: 30px;
  display: inline-block;
  
}

.field--name-dynamic-token-fieldnode-merkliste button.active:before {
    content: "";
  background: url(/sites/default/files/merkliste-active.png);
  background-size: contain;
  width: 30px;
  height: 30px;
  display: inline-block;
}


/* -----------------------------
   MERKLISTE / Seite
----------------------------- */

.path-merkliste .view-display-id-merkliste table.views-table {
  display: none;
}

.path-merkliste table {
  overflow-x: hidden;
}

.path-merkliste .views-field-field-geschoss,
.path-merkliste .views-field-field-top,
.path-merkliste .views-field-field-zimmer,
.path-merkliste .views-field-field-preis,
.path-merkliste .views-field-field-status{
  font-size: 18px;
}

.path-merkliste td:before {
  text-align: center !important;
  display: block;
}

.path-merkliste td {
  text-align: center;
}

.path-merkliste th {
  text-align: center;
  color: #000;
  font-size: 18px;
  line-height: 120%;
  vertical-align: middle;
}

.path-merkliste th:first-child {
  text-align: left;
}

  .path-merkliste .view-wohnungen table{
    overflow: hidden !important;
  }

.path-merkliste .view-wohnungen td {
  --bs-table-accent-bg: #fff !important;
  border-bottom: 1px solid #ccc
}


.path-merkliste .views-field-field-geschoss {
  text-align: left;
}

.path-merkliste .views-field-field-preis br{
  display: none;
}

.path-merkliste.merkliste-empty button,
.path-merkliste.merkliste-empty .view-footer {
    display: none;
}

.path-merkliste {
  position: relative;
}

.path-merkliste .view-wohnungen {
  height: calc(100vh - 214px);
  padding-top: 36px;
}

.path-merkliste .view-wohnungen:before {
  content: "Merkliste";
  color: #666;
  font-family: "Satoshi", sans-serif;
  font-variation-settings: "slnt" 0, "wdth" 100, "wght" 250;
  font-size: 36px;
  line-height: 125%;
  font-variation-settings: "wght" 400;
  padding-bottom: 6px;
  display: inline-block;
  text-align: center;
}


/* -----------------------------
   WOHNUNGSANFRAGE
----------------------------- */

.view-wohnungen .ept-webform-popup,
#wohnungsliste-wrapper td.views-field-nothing,
#merkliste-content td.views-field-nothing-1,
.path-merkliste td.views-field-nothing-1{
  font-size: 0px;
  position: relative;
}

.view-wohnungen .ept-webform-popup:before,
#wohnungsliste-wrapper td.views-field-nothing a:before,
#merkliste-content td.views-field-nothing-1 a:before,
.path-merkliste td.views-field-nothing-1 a:before{
  content: "";
  width: 20px;
  height: 20px;
  display: flex;
  background: url(/sites/default/files/kontakt.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-left: auto;
  margin-right: auto;
}

/* -----------------------------
   WOHNUNGSLISTE / div. Buttons
----------------------------- */


#dwinav .liste {
  z-index: 25;
  top: -25px;
  right: 0px;
  position: absolute;
  background: #146e73;
  border: none;
  padding: 5px 25px;
  color: #fff;
  text-decoration: none;
  height: 60px;
  display: flex;
  align-items: center;
  font-size: 26px;
  padding-left: 50px;
  padding-right: 50px;
}

 #dwinav p {
    transform: none !important;
   translate: none !important;
   transition: none !important;
   opacity: 1 !important;
}

#merkliste-anfrage {
  z-index: 25;
  background: #146e73;
  border: none;
  padding: 5px 50px;
  color: #fff;
  text-decoration: none;
  position: relative;
  height:60px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 26px;
  float: right;
  margin-top: 50px;
  align-items: center;
  padding-top: 8px !important;
}

#merkliste-anfrage:before {
  content: "";
  position: absolute;
  left: -12px;
  height: 60px;
  background: #fff;
  top: 0px;
  bottom: 0px;
  border-radius: 90%;
  width: 18px;
}

#merkliste-anfrage:after {
  content: "";
  position: absolute;
  right: -12px;
  height: 60px;
  background: #fff;
  top: 0px;
  bottom: 0px;
  border-radius: 90%;
  width: 18px;
}

.merkliste-clear, 
.merkliste-print {
  background: none;
  border: none;
  margin-right: 50px;
  background: none;
  border: none;
  font-size: 18px;
  line-height: 100%;
  font-weight: 400;
  color: #318084;
  position: relative;
  padding-left: 30px;
  margin-top: 55px;
}

.merkliste-print {
  margin-right: 0px;
}

.merkliste-print:before {
  content: "";
  background: url(/sites/default/files/print.png);
  background-size: auto;
  background-size: 24px auto;
  background-repeat: no-repeat;
  width: 24px;
  height: 24px;
  display: inline-block;
  position: absolute;
  top: -2px;
  left: 0px;
}

.merkliste-clear:before {
  content: "";
  background: url(/sites/default/files/merkliste.png);
  background-size: auto;
  background-size: 24px auto;
  background-repeat: no-repeat;
  width: 24px;
  height: 24px;
  display: inline-block;
  position: absolute;
  top: -2px;
  left: 0px;
}



/* -----------------------------
   KONTAKT
----------------------------- */


.field--name-dynamic-token-fieldnode-kontakt  {
  position: absolute;
  right: 210px;
  margin-top: 10px;
  font-size: 0px;
}

.field--name-dynamic-token-fieldnode-kontakt a {
  font-size: 0px;
}

.field--name-dynamic-token-fieldnode-kontakt a:before {
  content: "";
  background: url(/sites/default/files/mail.png);
  background-repeat: no-repeat;
  background-size: contain;
  width: 30px;
  height: 30px;
  display: inline-block;
}



/* -----------------------------
   CONTAINER / Columns
----------------------------- */

.columns-67-33 .paragraph--type--ept-text {
  padding-left: 45px;
}

.columns-33-67 .paragraph--type--ept-text {
  padding-right: 45px;
}

.columns-33-67 .paragraph--type--ept-image div:first-child {
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin-left: -15px;
 
}

.columns-67-33 .paragraph--type--ept-image div:first-child {
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin-right: -15px;
}

.columns-33-67 .paragraph--type--ept-image img {
  mask-image: url(/sites/default/files/mask_33-67.webp);
  mask-position: left;
}

.columns-67-33 .paragraph--type--ept-image img {
  mask-image: url(/sites/default/files/mask_67-33.webp);
  mask-position: right;
}

.columns-33-67 .paragraph--type--ept-image .text-formatted p {
  max-width: 50%;
  margin-top: 60px;
}

.columns-67-33 .paragraph--type--ept-image .text-formatted p{
  float: right;
  max-width: calc(50% + 12px);
  margin-top: 60px;
}

.fixed {
  max-width: 1600px;
  margin: auto;
}


/* -----------------------------
   POPUP / MODAL / OVERLAY
----------------------------- */

.ui-widget-overlay {
  background-color: rgba(165, 124, 90, 0.5) !important;
}

.ui-dialog-content {
  padding: 0px 50px !important;
}

.ui-dialog .ui-dialog-titlebar .ui-dialog-titlebar-close {
  width: 30px;
  height: 30px;
  top:36px;
  right: 12px;
  z-index: 999;
 }


.ui-dialog .ui-dialog-titlebar .ui-dialog-titlebar-close .ui-icon.ui-icon-closethick {
  filter: invert(1);
  background-size: 30px !important;
  top: 12px;
  left: 14px;
}

.ui-dialog-webform-popup .ui-widget-content input {
  border-bottom: 1px solid #146e73;
  border-radius: 0px;
  border-left: none;
  border-right: none;
  border-top: none;
}

.ui-dialog-webform-popup .ui-widget-content .form-checkbox {
  border: 1px solid #146e73;
}

.ui-dialog-webform-popup .ui-widget-content textarea {
  border: 1px solid #146e73;
  border-radius: 0px;
}

.ui-dialog-webform-popup .ui-widget-content input:focus,
.ui-dialog-webform-popup .ui-widget-content textarea:focus {
  box-shadow: none;
}

.ui-dialog.ui-dialog-webform-popup.ui-widget.ui-widget-content.ui-front {
  z-index: 99999;
  background: #fff;
}

.ui-dialog h1 {
  display: none;
}

.modal__overlay {
  z-index: 9999;
  border: none !important;
  background: #fff !important;
}

.modal__container {
  max-width: 100% !important;
  max-height: calc(100% + 150px) !important;
  border-radius: 0px !important;
  width: 100%;
  background: #fff !important;
}

.modal__container h2 {
  display: none ;
}

.modal__footer button{
  top: 0px;
  right: 36px;
  position: absolute;
  text-indent: -9999px;
  display: inline-block;
  background: none;
}

.modal__footer button:before{
  content: "X";
  float: left;
  display: block;
  text-indent: 0px;
  font-size: 36px;
  font-weight: 100;
}


[data-once~="webform-single-submit"] .alert[role="alert"] > div {
  width: 100% !important;
  display: flex;
  flex-direction: column; 
  margin-bottom: 12px;
  font-family: "Satoshi";
  font-weight: 600 !important;
  color: #000;
    align-items: center !important;

}

[data-once~="webform-single-submit"] .alert[role="alert"] h2{
  display: block !important;
  width: 100%;
  margin: 12px 0px 0px 0px;
  font-size: 21px;
  font-weight: 300;
  text-align: center;
}
[data-once~="webform-single-submit"] .alert hr {
  display: none;
}

[data-once~="webform-single-submit"] .alert {
  --bs-alert-padding-y: 0px !important;

}

[data-once~="webform-single-submit"] .alert svg {
  height: 50px;
}

.form-check-input:checked {
	background-color: #146e73;
}

.ui-dialog-webform-popup .ui-widget-content .js-form-type-checkbox label {
  display: none;
}

.ui-dialog-webform-popup .ui-widget-content .description {
  color: #333 !important;
  font-size: 15px;
}

.ui-dialog-webform-popup .ui-widget-content .js-form-type-webform-markup p {
  font-size: 14px;
  padding-left: 25px;
}

.ui-dialog:not(.ui-dialog-off-canvas) {
	border-radius: 0px !important;
}

/* -----------------------------
   WEBFORM
----------------------------- */


.webform-actions {
  display: flex;
  justify-content: center;
}

.webform-button--submit {
  position: relative;
}

.webform-actions button:before {
  content: "";
  position: absolute;
  left: -5px;
  top: 0;
  bottom: 0;
  width: 10px;
  border-radius: 90%;
  background-color: #fff;  
}

.webform-actions button:after {
  content: "";
  position: absolute;
  right: -5px;
  top: 0;
  bottom: 0;
  width: 10px;
  border-radius: 90%;
  background-color: #fff;
}

button.webform-button--submit {
  padding: 5px 25px !important;
  font-size: 20px !important;
  background: #146e73 !important;
  border-radius: 0px !important;
  color: #fff !important;
  margin-bottom: 50px !important;
  border: none;
}

button.webform-button--submit:hover {
  border: none;
}

button.ui-corner-all {
  min-width: 30px !important;
  margin-top: 10px !important;
  margin-right: 10px !important;
}

.ui-dialog .ui-dialog-titlebar .ui-dialog-titlebar-close:hover {
	border: none !important;
}

/* -----------------------------
   CONFIRMATION PAGE
----------------------------- */

.webform-confirmation {
  display: flex;
  justify-content: center;
  min-height: 500px;
  align-items: center;
  text-align: center;
}

.webform-confirmation .webform-confirmation__message a {
  padding: 5px 25px;
  text-decoration: none;
  background-color: #146e73;
  color: #fff;
  position: relative;
  font-size: 20px;
}

.webform-confirmation .webform-confirmation__message a:before {
  content: "";
  position: absolute;
  left: -5px;
  top: 0;
  bottom: 0;
  width: 10px;
  border-radius: 90%;
  background-color: #fff;  
}

.webform-confirmation .webform-confirmation__message a:after {
  content: "";
  position: absolute;
  right: -5px;
  top: 0;
  bottom: 0;
  width: 10px;
  border-radius: 90%;
  background-color: #fff;
}

.webform-submission-form .form-control {
  padding-left: 0px;
  padding-right: 0px;
}

.webform-submission-form textarea.form-control {
  padding-left: 12px;
  padding-right: 12px;
  font-family: "Satoshi";
  font-weight: 300;
}

.webform-submission-form textarea {
  margin-top: 6px;
}