/*
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
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.02
*/

/* ============= FORMS styles ============ */

 /* ==== Newsletter form Footer ==== */
.nl-group {
  position: relative;
  display: flex;
  align-items: stretch;
  width: 100%;
  border: 1px solid #fff;
  height: 64px;
}

.nl-group input[type="email"] {
  flex: 1 1 auto;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 1.3rem;
  padding: 1rem 8.5rem 1rem 1.25rem; 
  outline: none;
}

.nl-group input[type="email"]::placeholder {
  color: #e6e6e6;
  opacity: 1;
  font-size: 1rem;
}

.nl-group input[type="submit"] {
  position: absolute;
  right: 0.25rem;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  color: #222;
  border: none;
  padding: 0.9rem 1.5rem;
	font-family: 'arboria' !important;
	font-weight: 400;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.nl-group input[type="submit"]:hover {
  background: #ddd;
}

/* Aktuelles page form  */

.nl-aktuelles .nl-group {
	border: 1px solid #2E2E2E;
}
.nl-aktuelles .nl-group input[type="email"] {
	color: #2E2E2E;
}
.nl-aktuelles .nl-group input[type="submit"] {
	background: #2E2E2E !important;
	color: #fff !important;
}

.nl-aktuelles .nl-group input[type="email"]::placeholder {
  color: #2E2E2E;
}
.nl-aktuelles .nl-title {
	display: none; 
}
.nl-aktuelles input.wpcf7-submit::after {
	content: "\e909";
	font-family: icomoon;
	padding-left: 8px;
}

/* Kontakt Form Fixes  */
#footer-outer #footer-widgets .col input[type=submit] {
	background-color: #ffffff!important; 
}

body:not([data-form-style="minimal"]) #footer-outer #footer-widgets .col input[type=text]:focus, body:not([data-form-style="minimal"]) #footer-outer #footer-widgets .col input[type=email]:focus {
	background: none;
}
#footer-outer #footer-widgets .col input[type=email] {
	padding: 18px;
}

.wpcf7 .wpcf7-response-output {
	background: none;
	font-size: 15px;
}

/* ===== Kontakt form ====== */
.contact-form-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 900px;
	padding: 3rem;
}
.contact-form-grid  .form-field input[type="text"], .contact-form-grid  .form-field input[type="email"], .contact-form-grid  .form-field input[type="tel"], .contact-form-grid  .form-field textarea {
 color: white;
}
.form-text-white .wpcf7 form.sent .wpcf7-response-output {
color: white;
}
.form-row {
  display: flex;
  gap: 2rem;
}

.form-row.single {
  flex-direction: column;
}

.form-field {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/*   Labels */
.form-field label {
	font-size: 1rem;
  color: black;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Fields */
.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field textarea {
  background: transparent;
  border: 1px solid #2E2E2E;
  border-radius: 0px;
  color: black;
  font-size: 1rem;
  padding: 0.9rem 1rem;
  outline: none;
  width: 100%;
}

.form-field textarea {
  min-height: 150px;
  resize: vertical;
}

/* Placeholder */
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #000000;
}

/* White color for Kontakt page
 */
.form-text-white .form-field input::placeholder,
.form-text-white .form-field textarea::placeholder {
	color: white;
}

.form-text-white .form-field input[type="text"],
.form-text-white .form-field input[type="email"],
.form-text-white .form-field input[type="tel"],
.form-text-white .form-field textarea {
	border: 1px solid white;
}
.form-text-white .form-field label {
	color: white;
}
.form-text-white .btn-submit {
	border: 1px solid white!important;
	color: white!important;
}
.form-text-white .btn-submit:hover {
	color: black!important;
}
/*  Button */
.btn-submit {
	font-family: 'arboria' !important;
	background: none !important;
  color: #000000!important;;
  font-size: 1rem !important;
  font-weight: 400 !important;
  padding: 1rem 1.5rem;
  border: 1px solid #000000!important;
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.3s ease, color 0.3s ease;
}

.btn-submit:hover {
  background: #ddd!important;
}

/*   Mobile  */
@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
  }
}

/* Logo carousel on Mitglieder page */

.logo-carousel .carousel {
    margin: 0 auto;
    padding: 2.5px 0;
    max-width: 100%;
    overflow: hidden;
    display: flex;
    > * {
      flex: 0 0 100%;
    }
    &:hover .group {
      animation-play-state: paused;
    }
  }

  .logo-carousel .logo-card {
    width: 100%;
    background: white;
    padding: 1.2vw 2.5vw;
    justify-content: center;
    align-items: center;
    min-height: 240px;
    display: flex;
	  
	 &:hover {
	  will-change: scale;
	  scale: 1.1;
	  transition: 0.3s ease-in-out;
	}
  }

@media (max-width: 1080px) {
	.logo-carousel .logo-card {
	padding: 1.6vw 2vw;
	min-height: 150px;
	&:hover {
	  scale: 1;
	}
	}
}

@media (max-width: 768px) {
	.logo-carousel .logo-card {
	padding: 1.3vw 2vw; 
	min-height: 120px;}
}

  .logo-carousel .group {
    display: flex;
    gap: 0px;
    will-change: transform;  
    animation: scrolling 45s linear infinite;
  }

.logo-card img {
	object-fit: contain;
}

.logo-carousel .logo-card:nth-child(5n + 1) {
  background: #F16860;  
}

.logo-carousel .logo-card:nth-child(5n + 2) {
  background: #DEDEDE;  
}

.logo-carousel .logo-card:nth-child(5n + 3) {
  background: #2E2E2E;  
}

.logo-carousel .logo-card:nth-child(5n + 4) {
  background: #F9F9F9;  
  padding: 4.5vw 6vw; 
}

.logo-carousel .logo-card:nth-child(5n + 5) {
  background: #000000;  
}


  @keyframes scrolling {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-100%);
    }
  }

@keyframes scrolling-reverse {
    0% {
      transform: translateX(-100%);
    }
    100% {
      transform: translateX(0);
    }
  }


/* Bento-logo-grid on Mitglieder page */

.bento-grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 130px;
  grid-template-areas:
    "logo1 logo1 logo2 logo2"
    "logo1 logo1 logo3 logo4"
    "logo5 logo6 logo3 logo7";
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px;
}

.logo-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.logo1 { grid-area: logo1; background: #F16860; }
.logo2 { grid-area: logo2; background: #DEDEDE; }
.logo3 { grid-area: logo3; background: #2E2E2E; }
.logo4 { grid-area: logo4; background: #F9F9F9; }
.logo5 { grid-area: logo5; background: #000000; }
.logo6 { grid-area: logo6; background: #F8F8F8; }
.logo7 { grid-area: logo7; background: #000000; }
/* new logos hidden */
.logo8 { background: #F16860; }
.logo9 { background: #DEDEDE; }
.logo10 { background: #F9F9F9; }
.logo11 { background: #2E2E2E; }
.logo12 { background: #F9F9F9; }
.logo13 {background: #000000;}
.logo14 {background: #2E2E2E;}
.logo15 {background: #F16860;}
.logo16 {background: #2e2e2e;}
 
.extra-logo {
  display: none;
}

 
.bento-grid.is-expanded .extra-logo {
  display: flex;
}

 
.bento-toggle {
  margin-top: 20px;
  padding: 10px 18px;
  border-radius: 0px;
  border: 1px solid #ccc;
  background: #ffffff;
  font-size: 16px;
  cursor: pointer;
  font-family: inherit;
  color: #000000;
}

 
.bento-toggle:hover {
  border-color: #000000;
}


@media (max-width: 900px) {
  .bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 120px;
    grid-template-areas:
      "logo1 logo1"
      "logo2 logo3"
      "logo4 logo6"
      "logo5 logo7";
  }

  .logo-item {
    padding: 24px;
  }
}

@media (max-width: 600px) {
  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 110px;
    grid-template-areas:
      "logo1"
      "logo2"
      "logo3"
      "logo4"
      "logo5"
      "logo6"
      "logo7";
  }
}




/* Removing category from post header
 */
#page-header-bg[data-post-hs="default_minimal"] .inner-wrap >a, .material #page-header-bg.fullscreen-header .inner-wrap >a  {
    display:none!important;
}

body .blog-recent[data-style*=classic_enhanced] .has-post-thumbnail .meta-category a{
	display:none!important;
}

.meta-category {
	 display:none!important;
}

/* Post Cards  */
.article-content-wrap{
	padding: 18vh 3vw !important;
}

.blog-recent[data-style=classic_enhanced_alt] .inner-wrap>.img-link{
	border-radius: 0px !important; 
}

.blog-recent[data-style=classic_enhanced_alt] .inner-wrap:before{
	border-radius: 0px !important; 
}

.blog-recent[data-style*=classic_enhanced].columns-3 .span_4, .blog-recent[data-style=material].columns-3 .span_4{
	margin-right: 0px !important;
    margin-bottom: 0px !important;
}

/* Flip fancy cards back  */

.hover-content p, .hover-content {font-size: 16px; line-height: 1.3}
.hover-content h6 {font-weight: 700!important; color: #F16860!important}

/* Kontakt page */

.text-flex-end {
	display: flex;
	align-items: flex-end;
	padding-bottom: 5vh;
	padding-bottom: 5svh;
}
.text-flex-end h1 {
	color: white; 
	width: 12ch;
}

/* header kontakt button  */

nav[aria-label="Main Menu"] ul.sf-menu > li:last-child a {
  	padding: 8px 16px!important;
	border: 1px solid currentColor;
}
nav[aria-label="Main Menu"] ul.sf-menu > li:last-child a:hover {
	background-color: #F1F3F730;
	will-change: background-color;
	transition: 0.3s ease-in-out;
}
nav[aria-label="Main Menu"] ul.sf-menu > li:last-child a::after {
	content: "\e909"; 
	font-family: icomoon;
	padding-left: 8px;
}

.nectar-button[data-color-override="false"].regular-button.white-button {
	color: black !important;
	font-weight: 400;
	font-size: 0.8em !important;
	background-color: white!important;
}

.cmplz-links li {
	list-style: none;
}


/* Complianz issue */
 
.cmplz-close, 
.cmplz-close button, 
button.cmplz-close {
  font-size: 16px;   
  line-height: 1;
  width: auto;
  height: auto;
  padding: 0;
  background: none;
  border: none;
}

.cmplz-cookiebanner .cmplz-close {
  font-size: 16px;
}
.cmplz-cookiebanner {
  opacity: 0;
  transition: opacity .2s ease;
}
.cmplz-cookiebanner.cmplz-show {
  opacity: 1;
}


.text-white {
	color: #fff!important;
}