/* CSS Document

Theme Name:   Maleremmenegger.ch
 Template:     YTP
 Author:       innosolutions
 Description:  YT Child Theme
 Version:      1.0 | 2025-02-28 | Q
*/
/* [ GENERAL */
/* HIDE IT */
/* temp. auf Splash verstecken */
.splash a.uk-navbar-item.uk-logo,
html body.splash div.tm-page div.tm-header-mobile.uk-hidden\@l div.uk-navbar-container,
html body.splash .footer-map-row,
/* auch im Builder verstecken */
.hide {
  display: none !important
}

/* TYPO */
 h2.el-meta.uk-text-meta,
.uk-text-meta {
  font-size: 20px;
}

p {
  font-size: 1.25em;
  line-height: 1.8;
  hyphens: auto
}

.referenzendetail h3::first-letter {
  color: rgba(255, 255, 255, .5);
}

.el-item.uk-card.uk-card-primary h3.el-title::first-letter,
h1.refdetail-titel::first-letter {
  color: #fff;
}

.link-nodeco {
  text-decoration: none;
  color: rgb(86, 86, 90);
}

.link-nodeco:hover {
  text-decoration: none;
  color: #98262C;
}

.login-link {
  color: rgba(255, 255, 255, 0.75) !important;
}

.login-link:hover {
  text-decoration: none;
}

h1.uk-heading-medium.uk-font-tertiary.uk-text-center {
  /* background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22120%22%20height%3D%2250%22%20viewBox%3D%220%200%20120%2050%22%20preserveAspectRatio%3D%22none%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%2398262C%22%20d%3D%22M120%2C45.62c-18.06%2C1.94-36.28%2C3.24-54.51%2C3.89-21%2C.75-42%2C.64-62.88-.32L.68%2C33l2.16-.79L.6%2C31.93%2C0%2C26.85l6.3-2.43L4.26%2C8C34.8332%2C3.4414%2C80.6592.77%2C111.5609%2C0l3.15%2C17.2a2.3105%2C2.3105%2C0%2C0%2C0-.83%2C0c-1.09.21-1.44.93-2.08.95a7.48%2C7.48%2C0%2C0%2C0%2C1.89-.11%2C3.2712%2C3.2712%2C0%2C0%2C0%2C1.12-.4l.79%2C4.36c-2.6%2C1.14-5.23%2C2.16-7.9%2C3.08%2C6.5439-1.3674%2C8.1645-1.8208%2C10.2291-2.22Z%22%2F%3E%0A%3C%2Fsvg%3E%0A"); */
  padding: 5px 0px;
  width: fit-content;
  -webkit-transition: background-image 0.2s ease-in-out;
  transition: background-image 4.2s ease-in-out;
  background-color: transparent !important;
  background-size: 100% 100%;
  background-repeat: no-repeat;

}

h1::first-letter {
  color: #98262c;
  font-size: 4.5rem
}

.fse.fs-grid.switcher.referenzen.home h2.el-title {
  hyphens: auto;
}

.uk-marker {
  padding: 8px;
  background: #98262c;
  color: #fff;
}

.uk-marker:hover {
  padding: 8px;
  background: #777;
  color: #fff;
}

.uk-heading-small {
  font-size: 2.75rem;
  hyphens: auto;
}
 .boss-bg .kontaktbox div.el-meta.uk-heading-small.uk-text-muted.uk-margin-top.uk-margin-remove-bottom{
    hyphens: none;
}

 .ueber-uns-img h3.el-title.uk-card-title{
  color:#98262c;
}

/* Buttons */

.uk-section-secondary:not(.uk-preserve-color) .uk-button-primary {
  background-color: #98262c;
  color: #fff;
}

.uk-section-secondary:not(.uk-preserve-color) .uk-button-primary:hover {
  background-color: #56565a;
  color: #fff;
}

.switcher.dl.home a.el-link.uk-button.uk-button-primary {
  font-family: 'Anybody';
}

/* GENERAL ] */

.uk-navbar-container:not(.uk-navbar-transparent) {
  box-shadow: 2px 0px 20px #777;
  background: #fff
}

html body div.tm-page header.tm-header .uk-sticky.uk-sticky-below.uk-sticky-fixed div.uk-navbar-container.uk-navbar-sticky {

  box-shadow: 2px 0px 20px #777;
  background: #ffffffe3
}

/* Navi */
.uk-navbar-item,
.uk-navbar-nav>li>a,
.uk-navbar-toggle {
  font-size: 26px;
}

.uk-navbar-dropdown-nav {
  font-size: 20px;
}

.uk-navbar-dropdown-nav>li>a:hover {
  color: #fff;
  text-shadow: 2px 2px 15px #98262c;

}

.uk-dropbar .uk-nav-primary > li.uk-active > a,
.uk-dropbar .uk-nav-primary .uk-nav-sub li.uk-active > a,
.uk-navbar-dropdown-nav>li.uk-active>a {
  color: #fff;
  text-shadow: 2px 2px 15px #98262c;
  letter-spacing: 0.1em;

}
.uk-dropbar .uk-nav-primary .uk-nav-sub li.uk-active > a:before,
.uk-navbar-dropdown-nav>li.uk-active>a:before{
  content:"> "
}

.uk-navbar-dropdown-nav>li.uk-active>a:hover {
  color: #999;
  text-shadow: 1px 1px 5px #999;
 
}

/* mobile Navi */

html body div.tm-page header.tm-header-mobile div.uk-sticky div.uk-navbar-container {
  padding: 0px;
}

/* Slider */

html body div.tm-page main#tm-main.tm-has-z-index-negative div.uk-position-relative.uk-section-default.uk-position-z-index-negative.fs-section.uk-section.uk-padding-remove-vertical.uk-sticky.uk-active.uk-sticky-fixed div.uk-grid.tm-grid-expand.uk-child-width-1-1.uk-margin-remove-vertical .uk-width-1-1 div.uk-slider-container-offset.uk-margin-medium.uk-slider.uk-slider-container {
  margin-top: 105px
}

.spalte-rot-kurve-vertikal.uk-margin-medium.uk-slider picture img.el-image.uk-object-cover {
  object-fit: cover;
  height: 100%;
  width: 100%;
  min-width: 1350px;
  max-height: 950px;
}


/* DL Switcher */

.services-switcher ul.el-nav.uk-tab-left.uk-tab li {
  margin-bottom: 5%;
}

.uk-tab li a,
.uk-tab>*>a:hover,
.uk-tab>.uk-active>a {
  font-size: 1.1em;
  padding: 5px 25px;
  width: fit-content;
  -webkit-transition: background-image 0.2s ease-in-out;
  transition: background-image 4.2s ease-in-out;
}

.switcher.dl.home li a {
  font-family: Caveat;
  font-size: 1.6em;
}

.services-switcher ul.uk-switcher li.el-item.uk-active div.uk-child-width-expand.uk-grid div.uk-margin-remove-first-child.uk-first-column {
  margin-left: 5%;
}

.services-switcher ul.uk-switcher li.el-item.uk-active div.uk-child-width-expand.uk-grid-column-large.uk-grid div.uk-width-1-2\@m.uk-flex-last\@m {
  text-align: center
}

.uk-grid .dienstleistungen picture {
  overflow: hidden; /* Verhindert Überlauf */
  display: flex; /* Stellt sicher, dass das Bild korrekt positioniert wird */
  align-items: center; /* Zentriert das Bild vertikal */
  justify-content: center; /* Zentriert das Bild horizontal */
}


.uk-grid .dienstleistungen picture img.el-image {
  max-height: 290px;
  min-height: 290px;
  object-fit: cover;
  max-width:100%;
}

/* News Grid */
.uk-card-default.uk-card-hover {
  background-color: #fff;
  box-shadow: 2px 3px 4px #eeededb1;
}

.uk-card-default.uk-card-hover:hover {
  background-color: #fff;
  box-shadow: 4px 5px 20px #ccc;
}

.fs-grid.team picture img.el-image,
.slider.news.insta.home .uk-slider-items picture img.el-image,
body .fse.fs-grid.grid.slider.news.insta.home picture img.el-image {
  height: 380px;
  min-height: 380px;
  max-height: 380px;
  width: 100%;
  object-fit: cover;
  position: relative;
  top: initial;
  left: initial;
  transform: none;


}

.fse.fs-grid.grid.slider.news.insta.home p {
  min-height: 50px
}

div.fs-grid.switcher.referenzen .uk-panel object div.uk-child-width-expand.uk-grid-column-large.uk-grid.uk-grid-stack .uk-grid-margin{
  display:none
}

/* Filter */

/* DL Panel */
/* .fse.fs-grid.grid.slider.insta.home .fs-grid-filter-tags.uk-first-column ul.el-nav.uk-tab.uk-flex-top.nav-horizontal li a{
  font-size:1.1em;
  font-weight:normal;
} */

/* News Tags Filter */
.fse.fs-grid.grid.slider.news.insta.home ul.el-nav.uk-tab.uk-flex-top.nav-horizontal li a {
  font-size: 1.0em;
  font-weight: normal;
  padding: 5px;

}

.fse.fs-grid p {
  font-size: 1.2em;
  line-height: 1.4em;
}


/* ueber uns */
/* 
.ueber-uns-img picture img{

  height: 960px;
  width: auto;
  object-fit: cover;
  max-width: 920px;
}

.uberunstext{
  padding: 60px 20px;

} */

/* Kontakt */

/* Kontaxtbox */
.fse.fs-grid.kontaktbox h3.el-title {
  font-size: 2.5rem;
}

.fse.fs-grid.kontaktbox.uk-margin .el-meta.uk-heading-small {
  font-size: 2.95rem;
  line-height: 0.9
}

.fse.fs-grid.switcher.dl.home p {
  min-height: 130px;
}

/* Kontaktbox rechts */

.boss-bg div.uk-card-primary.uk-card.uk-card-small.uk-flex {
  height: fit-content
}

.boss-bg div.uk-card-primary.uk-card.uk-card-small div.uk-background-norepeat.uk-background-bottom-right {
  background-position: 180px 20px;
}

.boss-bg h3.el-title.uk-heading-small {
  font-size: 2.2em
}
.kontaktbox span.el-image.uk-text-muted.uk-icon{
  margin-right:6px;
}
 .kontaktbox div.el-content.uk-panel.uk-margin-top{
  display: none;
}

/* Referenzen */

body div.referenz-vergleich .hd-image-comparison {
  margin-left: 0px !important;
}

/* Footers */

#module-123.builder .footer.meta-grid .uk-grid-row-collapse.uk-grid-match div.uk-first-column {
  padding-right: 30px;
}

/* Grid Adresse */
.grid-adresse .uk-margin-top a.el-link.uk-link-text {
  font-size: 22px;
  line-height: 1.4;
  /* font-family: Poppins; */
  font-weight: normal;
}

/* Footer Map */
html body div.tm-page div#module-123.builder,
html body div.tm-page footer div.footer-map-row.uk-position-relative.uk-section-custom.fs-section.uk-section.uk-padding-remove-vertical div.uk-grid.tm-grid-expand.uk-grid-collapse.uk-margin-remove-vertical .uk-first-column div.uk-position-relative.uk-position-z-index.uk-dark.uk-margin {
  z-index: 0;
}

html body div.tm-page main#tm-main.tm-has-z-index-negative div.services-switcher.uk-position-relative.uk-section-muted.fs-section.uk-section.uk-section- div.fs-shape-divider.blob-2.uk-position-absolute.uk-width-1-1.uk-overflow-hidden.uk-position-z-index {
  z-index: 2;
}

.fs-shape-divider.blob-2 {
  pointer-events: none;
  z-index: 1;
  transform: translateY(-20px);
}

.footer .uk-panel.uk-text-lead {
  margin-top: 20px;
} 

/* Slider rote Spalte mit "Kurve" versehen */

/* Target the text column */
.uk-width-expand.uk-flex.uk-flex-middle.uk-flex-none.uk-flex-1\@m.uk-first-column {
  position: relative;
  z-index: 3;
  background-color: #98262c; /* Text column background color */
}

/* Create a visible curved edge that extends from the right side */
.uk-width-expand.uk-flex.uk-flex-middle.uk-flex-none.uk-flex-1\@m.uk-first-column::after {
  content: '';
  position: absolute;
  top: 0;
  right: -100px; /* Extend beyond the edge */
  width: 200px;
  height: 100%;
  background-color: #98262c; /* Same color as text column */
  border-top-right-radius: 50%;
  border-bottom-right-radius: 50%;
  z-index: 4; /* Higher than both columns */
}

/* Make sure the image column is positioned at the right z-index */
.uk-width-2-3\@m.uk-flex-last\@m.uk-flex.uk-flex-1.uk-flex-none\@m {
  position: relative;
  z-index: 1;
}

/* Ensure card body has background color */
.uk-width-expand.uk-flex.uk-flex-middle.uk-flex-none.uk-flex-1\@m.uk-first-column .uk-card-body {
  background-color: #98262c;
}

.home-slide  a.el-link.uk-button.uk-button-danger.uk-button-small{
  margin-bottom:30px
}

div.uk-slider-container-offset.spalte-rot-kurve-vertikal.uk-margin-medium.uk-slider.uk-slider-container {
  padding-top: 0px;
}

div.uk-slider-container-offset.spalte-rot-kurve-vertikal.uk-slider-container .uk-first-column div.uk-card-body {
  z-index: 9
}

.tm-page main#tm-main.tm-main.uk-section.uk-section-default div.uk-container div#gojsjmaptreelayout_instructions.sitemap {
  display: none;
}

.uk-modal-page body div.ye-form-modal.uk-modal.uk-open {
  background: rgba(30,30,30,.55);
}

.grecaptcha-badge {
  display: none;
}

/* RESPONSIVE */


/* Stelle sicher, dass das SVG-Bild richtig geladen wird */
@media (min-width: 960px) {
  .spalte-rot-kurve-vertikal .el-item > div.uk-grid > .uk-first-column::before {
    display: block;
    visibility: visible;
  }
}

@media (max-width: 959px) {


  .spalte-rot-kurve-vertikal .el-item>div.uk-grid>.uk-first-column::before {
    display: none;
  }

  .spalte-rot-kurve-vertikal.uk-margin-medium.uk-slider picture img.el-image.uk-object-cover {
    object-fit: cover;
    height: 100%;
    width: 100%;
    min-width: unset;
    max-height: unset;
  }


}


@media (max-width: 840px) {


  .uk-slider.uk-slider-container div.uk-card-body .el-title {
    line-height: 1.1;
    font-size: 2.2em;
  }

  .uk-slider-container-offset.uk-margin-medium.uk-slider.uk-slider-container ul.uk-slider-items p {
    font-size: 0.8em;
    padding-bottom: 20%;
  }


  html body div.tm-page main#tm-main.tm-has-z-index-negative div.uk-position-relative.uk-section-default.uk-position-z-index-negative.fs-section.uk-section.uk-padding-remove-vertical.uk-sticky.uk-active.uk-sticky-fixed div.fs-shape-divider.waves-3.uk-position-absolute.uk-width-1-1.uk-overflow-hidden svg.uk-position-relative.uk-display-block {
    height: 100px !important;
  }

  div#module-123.builder .home.grid-adresse div.el-item .uk-h3,
  div#module-123.builder .home.grid-adresse a.el-link.uk-link-text {
    font-size: 1.1em
  }

  .uk-width-expand.uk-flex.uk-flex-middle.uk-flex-none.uk-flex-1\@m.uk-first-column::after{
    display: none;
  }


}

@media (max-width: 440px) {


  h1.uk-heading-medium.uk-text-center {
    width: auto !important
  }

  p {
    font-size: 1.1em;
  }

  .fs-grid-filter-tags.uk-first-column ul.el-nav.uk-tab.uk-flex-top.nav-horizontal li a {
    font-size: 0.8em;
    padding: 3px 5px;
  }

  .home-slide.uk-margin-medium.uk-slider div.uk-position-relative div.uk-slider-items.uk-grid.uk-grid-match div.uk-width-1-1.uk-slide-active.uk-active div.el-item.uk-card.uk-card-primary.uk-flex.uk-flex-column div.uk-grid-collapse.uk-flex-1.uk-flex-column .uk-first-column {
    height: 260px;
  }

  .hero-slide div.uk-slider-items .uk-first-column div.uk-flex.uk-flex-1.uk-card-media-top {
    height: 220px;
  }

  .hero-slide div.uk-slider-items .uk-first-column div.uk-flex.uk-flex-1.uk-card-media-top img {
    height: 250px;
    width: stretch;
    object-fit: cover;
  }


  .hero-slide .uk-slider-container div.el-title.uk-heading-medium {
    font-size: 1.6em;
    padding-top: 15px;
    hyphens: auto
  }

  .hero-slide .uk-slider-container div.el-meta.uk-margin-top {
    width: 80%
  }

  .hero-slide .uk-slider-container div.el-meta.uk-margin-top p {
    font-size: 0.9em;
    hyphens: auto;
    line-height: 1.3;
    padding-bottom: 30px;
  }

  .services-switcher {
    margin-top: -70px;
  }

  .switcher.dl.home .el-nav.uk-tab {
    display: flex;
    justify-content: center;
  }

  .switcher.dl.home .el-nav.uk-tab {
    display: flex;
    justify-content: center;
  }

  .switcher.dl.home .el-nav.uk-tab li {
    text-align: center;
  }

  .switcher.dl.home .el-nav.uk-tab {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  /* grids übertitel*/
  .fs-grid.switcher h2.el-meta.uk-text-meta {
    font-size: 1.15em;
    hyphens: auto;
  }

  .fs-grid.switcher h2.el-title.uk-heading-small {
    hyphens: auto;
  }


  .boss-bg div.uk-card-primary.uk-card.uk-card-small.uk-flex div.uk-background-norepeat.uk-background-bottom-right.uk-card-body.uk-width-1-1 {
    background-position: 105px 20px;
  }

  /* .switcher.dl.home.uk-margin.uk-text-left div.uk-child-width-expand.uk-grid-large.uk-grid.uk-grid-stack ul li a{
    width:400px;
   }
   */

  /* Footer */
  #module-124 .uk-panel.uk-text-meta.uk-position-relative.uk-margin.uk-text-center {
    font-size: 1.0em;
  }

}


@media (max-width: 419px) {
  .boss-bg div.uk-card-primary.uk-card.uk-card-small.uk-flex div.uk-background-norepeat.uk-background-bottom-right.uk-card-body {
    background-position: 100px 40px;
  }

  /* .hero-slide .uk-card-body.uk-margin-remove-first-child div.uk-margin-top {
    padding-bottom: 60px;
  } */
    .services-switcher {
      margin-top: 0;
    }

    .hero-slide svg.uk-position-relative.uk-display-block {
      margin-top: -40px;
    }

    .hero-slide div.uk-slider-container.uk-slider-container-offset.spalte-rot-kurve-vertikal.home-slide.uk-margin-medium.uk-slider {
      background-color: #98262C;
    }

    .hero-slide .uk-card-body.uk-margin-remove-first-child .uk-margin-top {
      margin-top: -10px;
    }

    .fs-shape-divider.blob-2.uk-position-absolute.uk-width-1-1.uk-overflow-hidden.uk-position-z-index {
      display: none;
    }
}