/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar / Julian Berger
Author URI:  https://themeforest.net/user/themenectar / https://julianberger.de
Template: salient
Version: 1.0
*/

@font-face {
  font-family: "Geist";
  font-weight: 100 1000;
  font-display: swap;
  src: url("/wp-content/themes/salient-child/fonts/Geist[wght].woff2")
    format("woff2-variations");
  src: url("/wp-content/themes/salient-child/fonts/Geist[wght].woff2")
    format("woff2") tech("variations");
}

body {
  font-family: "Geist", Helvetica, sans-serif !important;
}

#slide-out-widget-area .inner .off-canvas-menu-container li > a {
  font-family: "Geist", Helvetica, sans-serif !important;
  margin-bottom: 10px !important;
  font-size: 24px !important;
  word-break: keep-all !important;
}

#slide-out-widget-area .inner .off-canvas-menu-container .menu-item-245,
#slide-out-widget-area .inner .off-canvas-menu-container .menu-item-244 {
  margin-top: 10vh !important;
}

[data-website-section="bestattung"]
  #slide-out-widget-area:not(.fullscreen-alt):not(.fullscreen) {
  background-color: #df81af !important;
}

.text-balance {
  text-wrap-style: balance;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #000000;
  font-weight: 640;
}

p {
  font-size: 1.1725rem;
  line-height: 1.876rem;
  padding-bottom: 23px;
}

ul {
  padding-bottom: 23px;
}

ul li {
  font-size: 1.1725rem;
  line-height: 1.876rem;
}

/* Hide Logo , we show custom svg depending on active section */
#top #logo {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

#top .section-logo {
  display: flex;
  margin-top: 24px;
  margin-bottom: 28px;
  margin-left: 4px;
  margin-right: 8px;
  height: 68.25px;
  width: auto;
  aspect-ratio: 2.2;
}

/* Mobile styles for section logo */
@media (max-width: 999px) {
  #top .section-logo {
    height: 57px;
    margin-top: 6px;
    margin-bottom: 9px;
  }
}

#top .section-logo img {
  height: 100%;
  width: auto;
  margin: 0;
}

/* Preload logos */
#top .section-logo::before {
  content: "";
  position: absolute;
  left: -9999px;
  background: url("/wp-content/themes/salient-child/bente-bestattung-logo.svg")
      no-repeat,
    url("/wp-content/themes/salient-child/bente-tischlerei-logo.svg") no-repeat;
  width: 1px;
  height: 1px;
}

#top nav > ul > li > a {
  letter-spacing: -0.01em;
  font-size: 15px;
  line-height: 21px;
  font-weight: 525;
}

#top .sf-menu .menu-title-text:before {
  border-radius: 8.5px;
}

.sub-page-hero-section {
  padding-top: clamp(275px, 30vw, 35vh) !important;
}

.big-feature-row > div {
  max-width: 2600px !important;
  margin: auto !important;
}

.nectar-highlighted-text p,
.body-dynamic-font-size,
.body-dynamic-font-size p {
  line-height: 1.75 !important;
  font-size: 1.1vw !important; /* fallback for browsers that don't support clamp */
  font-size: clamp(20px, 1.1vw, 27px) !important;
}

/* Tablet styles for nectar-highlighted-text */
@media only screen and (max-width: 1024px) {
  .nectar-highlighted-text p,
  .body-dynamic-font-size,
  .body-dynamic-font-size p {
    font-size: 20px !important;
  }
}

/* Mobile styles for nectar-highlighted-text */
@media only screen and (max-width: 690px) {
  .nectar-highlighted-text p,
  .body-dynamic-font-size,
  .body-dynamic-font-size p {
    font-size: 18px !important;
  }
}

.mirror-element {
  transform: scaleX(-1) !important;
}

/** overwrite mobile padding for some sections */
@media only screen and (max-width: 999px) {
  body .wpb_row .wpb_column.padding-5-percent_tablet > .vc_column-inner,
  body
    .wpb_row
    .wpb_column.padding-5-percent_tablet
    > .n-sticky
    > .vc_column-inner {
    padding: calc(999px * 0.02);
  }
}

@media only screen and (max-width: 690px) {
  .col.padding-10-percent > .vc_column-inner,
  .col.padding-10-percent > .n-sticky > .vc_column-inner,
  .col.padding-12-percent > .vc_column-inner,
  .col.padding-12-percent > .n-sticky > .vc_column-inner {
    padding: calc(100vw * 0.07); /** just overwrite 12 and 10% to 7% (hacky) */
  }
}

.mx-auto {
  margin-left: auto !important;
  margin-right: auto !important;
}

.no-margin-bottom {
  margin-bottom: 0px !important;
}

/* Apply specific background color for bestattung section */
[data-website-section="bestattung"] .bg-footer-bente,
[data-website-section="bestattung"] .bg-footer-bente .using-bg-color {
  background-color: #df81af !important;
}

/** Show the right headline for the section */
[data-website-section="bestattung"] .footer-headline-general,
[data-website-section="bestattung"] .footer-headline-tischlerei {
  display: none !important;
}

[data-website-section="tischlerei"] .footer-headline-general,
[data-website-section="tischlerei"] .footer-headline-bestattung {
  display: none !important;
}

[data-website-section="general"] .footer-headline-bestattung,
[data-website-section="general"] .footer-headline-tischlerei,
[data-website-section="general"] .footer-headline-general {
  display: none !important;
}
/** End of show the right headline for the section */

[data-website-section="bestattung"] .email-general,
[data-website-section="bestattung"] .email-tischlerei {
  display: none !important;
}

[data-website-section="tischlerei"] .email-general,
[data-website-section="tischlerei"] .email-bestattungshaus {
  display: none !important;
}

[data-website-section="general"] .email-bestattungshaus,
[data-website-section="general"] .email-tischlerei {
  display: none !important;
}
