/* ------------------------------- GLOBALS --------------------------------------*/
:root {
  --zsh-border-container-radius: 15px;
}
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden !important;
}
body {
  overflow-x: hidden !important;
}
@media (max-width: 767px) {
  body p, body .elementor-widget-text-editor div, body a, body.elementor-kit-7 {
    font-size: 20px;
    line-height: 1.4em;
  }
}
body.bw-theme.elementor-kit-7 {
  --e-global-color-primary: #000000 !important;
  --e-global-color-accent: #000000 !important;
  --e-global-color-5a23152: #000000 !important;
  --e-global-color-8466209: #000000 !important;
}
.zsh-container-rounded {
  text-decoration: none !important;
}
.no-margin-p p:last-of-type {
  margin-bottom: 0 !important;
}
.no-hover-bold a:hover {
  font-weight: 300 !important;
}
/* -------------------------------- MENU -----------------------------------------*/
header .elementor-nav-menu--layout-horizontal .sub-menu a:hover {
  background: #ececec !important;
}
.breadcrumb #breadcrumbs > span, .breadcrumb #breadcrumbs a {
  padding: 0 !important;
  background: transparent !important;
}
.breadcrumb #breadcrumbs .del::before {
  content: "/";
  color: var(--e-global-color-3d7ef53);
  padding: 0 20px;
}
.hide_breadcrumb .breadcrumb, .search .breadcrumb {
  display: none !important;
}
.search {
  height: calc(100vh - 60px) !important;
}
.search .dialog-widget-content {
  height: 100%;
}
.search input {
  text-align: center;
}
.submenu-container {
  display: flex;
  width: 100%;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  border-top: 1px solid white;
  padding-top: 5px;
  position: relative;
}
.submenu-container .dynamic-submenu {
  display: inline-grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  align-items: center;
  justify-content: center;
  max-width: 100%;
}
.submenu-container .dynamic-submenu.scrolling {
  justify-content: flex-start;
}
.submenu-container .dynamic-submenu .submenu-item {
  color: white;
  font-size: 14px;
  text-align: center;
  padding: 0 5px;
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}
.submenu-container .dynamic-submenu .submenu-item:hover {
  color: white !important;
  font-weight: 300 !important;
}
.submenu-container .dynamic-submenu .submenu-item .menu-icon {
  max-height: 40px;
  object-fit: contain;
}
.pagnation-sub {
  z-index: 10;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 35px;
  font-family: Roboto Condensed;
  width: 40px;
  height: 63px;
  display: none;
  cursor: pointer;
}
@media only screen and (max-width: 640px) {
  .pagnation-sub {
    height: 56px;
  }
}
#left-pagnation {
  border-right: 1px solid #fff9;
  left: -40px;
}
#right-pagnation {
  border-left: 1px solid #fff9;
  right: -40px;
}
.mobile_menu .sub-arrow {
  display: none !important;
}
.mobile_menu .sub-menu {
  display: block !important;
  position: relative !important;
  margin: 0 !important;
  width: 100% !important;
}
.mobile_menu .sub-menu a {
  justify-content: center;
  border: none !important;
  /* color: #767779 !important; */
}
/* -------------------------------- BUTTON ---------------------------------------*/
div[class^="zsh-button-"] svg, div[class*=" zsh-button-"] svg {
  transition: 0.3s;
}
.zsh-button-darkblue a {
  color: #FFFFFF !important;
  background-color: #1a3d77 !important;
}
.zsh-button-darkblue a:hover {
  background-color: #18628F !important;
}
.zsh-button-darkblue a svg {
  fill: #FFFFFF !important;
}
.zsh-button-brightblue a {
  color: #FFFFFF !important;
  background-color: #58ABE0 !important;
}
.zsh-button-brightblue a:hover {
  color: #000000 !important;
  background-color: #ACD5F0 !important;
}
.zsh-button-brightblue a:hover svg {
  fill: #000000 !important;
}
.zsh-button-brightblue a svg {
  fill: #FFFFFF !important;
}
.zsh-button-purple a {
  color: #FFFFFF !important;
  background-color: #8F5C94 !important;
}
.zsh-button-purple a:hover {
  color: #000000 !important;
  background-color: #C7AECA !important;
}
.zsh-button-purple a:hover svg {
  fill: #000000 !important;
}
.zsh-button-purple a svg {
  fill: #FFFFFF !important;
}
.zsh-button-turquoise a {
  color: #FFFFFF !important;
  background-color: #85CBCB !important;
}
.zsh-button-turquoise a:hover {
  color: #000000 !important;
  background-color: #C2E5E5 !important;
}
.zsh-button-turquoise a:hover svg {
  fill: #000000 !important;
}
.zsh-button-turquoise a svg {
  fill: #FFFFFF !important;
}
.zsh-button-grey a {
  color: #FFFFFF !important;
  background-color: #CCCCCC !important;
}
.zsh-button-grey a:hover {
  color: #000000 !important;
  background-color: #E6E6E6 !important;
}
.zsh-button-grey a:hover svg {
  fill: #000000 !important;
}
.zsh-button-grey a svg {
  fill: #FFFFFF !important;
}
.zsh-button-white a {
  color: #000000 !important;
  background-color: #FFFFFF !important;
}
.zsh-button-white a:hover {
  color: #FFFFFF !important;
  background-color: #18628F !important;
}
.zsh-button-white a:hover svg {
  fill: #FFFFFF !important;
}
.zsh-button-white a svg {
  fill: #000000 !important;
}
/* -------------------------------- BUIDLING BLOCKS ------------------------------*/
.zsh-container-rounded {
  overflow: hidden;
  border-radius: var(--zsh-border-container-radius);
}
.zsh-container-rounded::before {
  border-radius: var(--zsh-border-container-radius);
}
/* --------------------------------- BLOG --------------------------------------- */
.single-post ol li a {
  color: #58abe0;
  text-decoration: none;
  font-weight: 400;
}
.single-post ol li a:hover {
  color: #2d95d8;
}
.blogpost_teaser img, .blogpost_image img {
  aspect-ratio: 1.5 !important;
  object-fit: cover;
}
.blog_teaserbox .elementor-heading-title a {
  font-weight: 300 !important;
}
.zsh-blog-grid, .zsh-event-grid {
  display: grid;
  gap: 40px;
  padding-bottom: 40px;
  /* Loading Spinner */
}
.zsh-blog-grid .zsh-blog-post, .zsh-event-grid .zsh-blog-post {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 30px 0px;
}
.zsh-blog-grid .zsh-blog-post.new-post, .zsh-event-grid .zsh-blog-post.new-post {
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.zsh-blog-grid .zsh-blog-content, .zsh-event-grid .zsh-blog-content {
  padding: 20px;
}
.zsh-blog-grid .zsh-blog-content .zsh-link, .zsh-event-grid .zsh-blog-content .zsh-link {
  font-size: 0.8em;
}
.zsh-blog-grid::after, .zsh-event-grid::after {
  content: "";
  display: block;
  position: absolute;
  width: 40px;
  height: 40px;
  border: 4px solid #b3b3b3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  opacity: 0;
  transition: opacity 0.3s;
  bottom: -40px;
  left: calc(50% - 20px);
}
.zsh-blog-grid.loading::after, .zsh-event-grid.loading::after {
  opacity: 1;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* --------------------------------- FORM --------------------------------------- */
.wpcf7-form .field {
  font-family: "Roboto Condensed";
  font-size: 1rem;
  font-weight: 300;
}
.wpcf7-form .field label {
  display: none !important;
}
.wpcf7-form .field .wpcf7-radio label {
  display: flex !important;
  align-items: center;
  gap: 10px;
  font-family: "Roboto Condensed";
  font-weight: 300;
  font-size: 1em;
}
.wpcf7-form .field input {
  height: 40px;
  padding: 0 10px;
}
.wpcf7-form .field textarea {
  padding: 10px;
}
.wpcf7-form .field input, .wpcf7-form .field textarea {
  color: #676869;
  transition: 0.2s ease-in-out;
  transition-property: color, background-color, border-color, box-shadow;
  font-family: "Roboto Condensed";
  font-weight: 300;
  font-size: 1.1em;
  border-radius: 5px !important;
  border: unset;
  border-bottom: 1px solid #e8e8e8;
}
.wpcf7-form .field input:focus, .wpcf7-form .field textarea:focus {
  border-bottom: 1px solid #000000;
}
.wpcf7-form .field .wpcf7-submit {
  color: #ffffff;
  background-color: var(--e-global-color-primary);
}
.wpcf7-form .field .wpcf7-submit:hover {
  background-color: var(--e-global-color-accent);
}
.no-form .form-container {
  display: none !important;
}
.form-container .container {
  padding: 0 !important;
}
/* --------------------------------- STANDORT --------------------------------------- */
.center-icon.elementor-widget-icon > .elementor-widget-container, .center-icon.elementor-widget-icon .elementor-icon-wrapper {
  display: flex;
  align-items: center;
}
.standort-start .elementor-widget-icon > .elementor-widget-container, .standort-start .elementor-widget-icon .elementor-icon-wrapper {
  display: flex;
  align-items: center;
}
.standort-start .phonenumber {
  color: white !important;
}
.standort-start .standort-map {
  min-height: 305px;
}
.berater-details .standort_berater_image .elementor-shortcode {
  height: 100%;
}
.berater-details .standort_berater_image .elementor-shortcode img {
  height: 100%;
  object-fit: cover;
}
@media only screen and (max-width: 767px) {
  .berater-details .standort_berater_image .elementor-shortcode img {
    width: 100% !important;
  }
}
@media only screen and (max-width: 767px) {
  .berater-details .standort_berater_image {
    max-height: 300px;
    width: 100% !important;
  }
}
@media only screen and (max-width: 767px) {
  .berater-details {
    max-width: 450px !important;
  }
}
.berater-standort-grid .elementor-loop-container.elementor-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
/* --------------------------------- BERATERSUCHE --------------------------- */
.sucheFilterTitle * {
  margin: 0;
  color: white;
  text-align: center;
  font-weight: 300;
}
.sucheFilterTitle h2 {
  font-size: 1.4em;
}
.searchfields {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 50px 0 31px 0;
}
.searchfields > * {
  height: 37px;
}
.searchfields #search-text {
  width: 100%;
  max-width: 300px;
  padding: 10px 15px;
  font-size: 15px;
  border: none;
  margin-bottom: 0;
  background: #ffffff;
  border-radius: 4px;
}
.searchfields #city-select {
  padding: 10px 15px;
  border: none !important;
  width: 100%;
  max-width: 300px;
  border-radius: 4px;
}
#custom-search-form {
  font-family: "Roboto Condensed";
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 150px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  box-shadow: inset 0 0 0 1000px #1a3d775c;
  background-attachment: fixed;
  background-image: url("https://zsh.de/wp-content/uploads/2025/02/iStock-1168019993_web.jpg");
  transition: 0.2s;
}
#custom-search-form .tag-label {
  width: 100%;
  display: inline-flex;
  color: white;
  align-items: center;
  margin-bottom: 15px;
  width: 100%;
  max-width: 835px;
  padding: 0px 30px 40px 30px;
}
#custom-search-form .tag-label input {
  -moz-appearance: none;
  -webkit-appearance: none;
  -o-appearance: none;
  width: 25px;
  margin-right: 10px;
  height: 25px;
  outline: 1px solid #00639b;
  border-radius: 2px;
  background: white;
  cursor: pointer;
}
#custom-search-form .tag-label input:checked:before {
  color: #18629d !important;
}
#custom-search-form .tag-label input:before {
  font-family: "Arial";
  content: "X";
  font-size: 21px;
  color: transparent;
  display: block;
  width: 100%;
  height: 100%;
  margin-right: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#custom-search-form .tag-label p {
  margin: 0;
  line-height: 24px;
  font-weight: 300;
}
#search-button, #load-more, .sucheButton {
  width: 150px;
  border: none;
  color: white;
  background: var(--e-global-color-primary);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  /* Loading Spinner */
}
#search-button::after, #load-more::after, .sucheButton::after {
  content: "";
  display: block;
  position: absolute;
  width: 20px;
  height: 20px;
  border: 3px solid #ffffff;
  border-top: 3px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  opacity: 0;
  transition: opacity 0.3s;
  right: 5px;
  top: calc(50% - 9px);
}
#search-button.loading::after, #load-more.loading::after, .sucheButton.loading::after {
  opacity: 1;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.sucheButton {
  color: white !important;
  padding: 5px 10px !important;
}
.beraterSuche.loading #search-results {
  opacity: 0;
}
.beraterSuche.loading #search-button::after, .beraterSuche.loading #load-more::after {
  opacity: 1;
}
.search-wrapper.beraters {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  padding: 80px 10px;
}
#search-results {
  min-height: 360px;
  display: flex;
  flex-wrap: wrap;
  max-width: 1920px;
  margin: 0 auto;
  align-items: center;
  gap: 30px;
  justify-content: center;
  transition: opacity 0.3s;
}
#search-results .berater {
  max-width: 300px;
  width: 280px;
  display: grid;
  grid-template-rows: 170px auto;
  justify-content: center;
  height: 350px;
  align-items: center;
  padding: 20px;
  background: #f9f9f9;
  color: #00639b;
  font-family: "Roboto Condensed";
  border-radius: 16px;
}
#search-results .berater.new-berater {
  opacity: 0;
  transform: translateY(-20px);
}
#search-results .berater > * {
  min-height: 30px;
  margin: 0;
  text-align: center;
}
#search-results .berater .berater_image {
  height: 150px;
  width: 150px;
  border-radius: 80px;
  background-position: center center;
  background-size: cover;
  justify-self: center;
  object-fit: cover;
  align-self: start;
}
#search-results .berater .berater_name {
  align-self: start;
}
#search-results .berater .berater_bereich {
  align-self: end;
  font-weight: 300;
}
#search-results .berater .berater_standort {
  align-self: center;
  font-weight: 300;
}
.beraterCountWrapper {
  font-family: "Roboto Condensed";
}
.beraterCountWrapper .keinBeraterBildWrapper {
  width: 100%;
  padding: 30px 20px;
}
.beraterCountWrapper .keinBeraterBildWrapper .keinBeraterBild {
  background-image: url("https://zsh.de/wp-content/uploads/2025/03/keinBeraterGefunden.png");
  background-size: cover;
  margin: 0 auto;
  border-radius: 5px;
  max-width: 420px;
  aspect-ratio: 1.7777777778;
}
.beraterCountWrapper .keinBeraterGefunden {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 10px 20px;
  max-width: 1000px;
  color: var(--e-global-color-primary);
}
.beraterCountWrapper .keinBeraterGefunden h2 {
  font-weight: 500;
  font-size: 2em;
  text-align: center;
  margin-bottom: 40px;
}
.beraterCountWrapper .keinBeraterGefunden p {
  text-align: center;
}
.beraterCountWrapper .keinBeraterGefunden ul {
  margin: 0;
  padding: 0;
}
.beraterCountWrapper .keinBeraterGefunden ul li {
  text-align: center;
  list-style: none;
}
.beraterCountWrapper .keinBeraterGefunden .sucheButton {
  margin-top: 10px;
  width: auto;
}
/* --------------------------------- BARRIEREFREIHEIT --------------------------- */
.elementor-widget-text-editor a.external_link {
  padding-left: 22px;
  position: relative;
}
.elementor-widget-text-editor a.external_link::before {
  content: " ";
  display: inline-block;
  height: 20px;
  width: 20px;
  background-image: url("https://zsh.de/wp-content/uploads/2025/03/external_link.svg");
  background-size: contain;
  position: absolute;
  left: 0;
  bottom: 0;
}
.has-background-image:not(.no-contrast)::before {
  transition: 0.2s;
  content: " ";
}
body.high-contrast {
  --e-global-color-3358809: #000 !important;
  --e-global-color-secondary: #000 !important;
}
body.high-contrast .has-background-image:not(.no-contrast) {
  --e-global-color-8466209: #e9f4fb !important;
  --e-global-color-2e0e3cd: #255757 !important;
}
body.high-contrast .has-background-image:not(.no-contrast)::before {
  background-color: black !important;
  opacity: 0.65 !important;
}
body.high-contrast .has-background-image:not(.no-contrast) > .e-con-inner > div:not(.no-contrast) p, body.high-contrast .has-background-image:not(.no-contrast) > .e-con-inner > div:not(.no-contrast) h1, body.high-contrast .has-background-image:not(.no-contrast) > .e-con-inner > div:not(.no-contrast) h2, body.high-contrast .has-background-image:not(.no-contrast) > .e-con-inner > div:not(.no-contrast) h3, body.high-contrast .has-background-image:not(.no-contrast) > .e-con-inner > div:not(.no-contrast) h4, body.high-contrast .has-background-image:not(.no-contrast) > .e-con-inner > div:not(.no-contrast) h5, body.high-contrast .has-background-image:not(.no-contrast) > .e-con-inner > div:not(.no-contrast) a:not(.elementor-button), body.high-contrast .has-background-image:not(.no-contrast) > .e-con-inner > div:not(.no-contrast) span:not(.elementor-button-text, .elementor-button-icon, .elementor-button-content-wrapper), body.high-contrast .has-background-image:not(.no-contrast) > .e-con-inner > div:not(.no-contrast) div.elementor-heading-title {
  color: white !important;
  text-shadow: none !important;
}
body.high-contrast:not(.single-post, .single-veranstaltung, .single-praxisboerse) #breadcrumbs *, body.high-contrast:not(.single-post, .single-veranstaltung, .single-praxisboerse) #breadcrumbs .del::before {
  color: white !important;
}
body.high-contrast #kontrast_toggle_container .slider-wrapper .slider, body.high-contrast #kontrast_toggle_mobil .slider-wrapper .slider {
  background-color: #000000;
}
body.high-contrast #kontrast_toggle_container .slider-wrapper .slider::before, body.high-contrast #kontrast_toggle_mobil .slider-wrapper .slider::before {
  -webkit-transform: translateX(16px);
  -ms-transform: translateX(16px);
  transform: translateX(16px);
  background-color: #ffffff;
}
body.high-contrast .mobile_menu .elementor-sub-item {
  transition: 0.2s;
  color: black !important;
}
body.high-contrast #custom-search-form {
  box-shadow: inset 0 0 0 1000px #000000c7;
}
#kontrast_toggle_container, #kontrast_toggle_mobil {
  cursor: pointer;
  /* The switch - the box around the slider */
  /* The slider */
}
#kontrast_toggle_container .switch, #kontrast_toggle_mobil .switch {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 20px;
}
#kontrast_toggle_container .switch .slider-wrapper, #kontrast_toggle_mobil .switch .slider-wrapper {
  width: 100%;
  height: 100%;
  background-color: var(--e-global-color-primary);
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
#kontrast_toggle_container .switch input, #kontrast_toggle_mobil .switch input {
  opacity: 1;
  width: 100%;
  height: calc(100% - 1px);
}
#kontrast_toggle_container .slider, #kontrast_toggle_mobil .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ffffff;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}
#kontrast_toggle_container .slider:before, #kontrast_toggle_mobil .slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 2px;
  bottom: 2px;
  background-color: #000000;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}
#kontrast_toggle_container .slider.round, #kontrast_toggle_mobil .slider.round {
  border-radius: 34px;
}
#kontrast_toggle_container .slider.round::before, #kontrast_toggle_mobil .slider.round::before {
  border-radius: 50%;
}
#kontrast_toggle_container #kontrast_label, #kontrast_toggle_container #kontrast_label_mobil, #kontrast_toggle_mobil #kontrast_label, #kontrast_toggle_mobil #kontrast_label_mobil {
  webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
#kontrast_toggle_mobil .switch {
  width: 40px;
  height: 24px;
}
#kontrast_toggle_mobil .switch .slider-wrapper {
  background-color: #ffffff;
}
#kontrast_toggle_mobil .slider {
  background-color: #1A3D77;
}
#kontrast_toggle_mobil .slider:before {
  height: 20px;
  width: 20px;
  background-color: #ffffff;
}
.hidden-text {
  font-size: 0 !important;
  color: transparent !important;
  width: 0 !important;
  height: 0 !important;
}
/* --------------------------------- MISC --------------------------------------- */
body[data-elementor-device-mode="tablet"] .thirds-grid {
  grid-auto-flow: dense;
}
body[data-elementor-device-mode="tablet"] .thirds-grid > .e-child:last-of-type {
  grid-column-end: span 2;
}
.elementor-widget-text-editor .elementor-widget-container p:last-of-type {
  margin: 0;
}
.elementor-button-content-wrapper {
  align-items: center;
}
.elementor-button-content-wrapper .elementor-button-icon {
  display: flex;
  align-items: center;
}
.future-events {
  list-style-type: none;
  padding: 0;
}
.future-events li {
  margin-bottom: 10px;
}
.future-events li, .future-events a {
  color: white !important;
}
/* .elementor-widget-zsh_beratungsschwerpunkte_grid .schwerpunkt-item {
  display: flex;
  align-items: center;
  justify-content: center;
} */
/* .elementor-widget-n-tabs .e-n-tabs-content>.e-con {
	opacity: 1;
	transition: 0.3s;
	&:not(.e-active) {
		display: flex !important;
		opacity: 0
	}
} */
