/*
 Theme Name:   BM 21: Berchtold Marketing
 Description:  Basis Child-Theme Berchtold Marketing.
 Author:       Berchtold Marketing GmbH
 Author URI:   https://www.berchtold-marketing.ch
 Template:     bm21
 Version:      1.0
 Text Domain:  bm-child
*/
body {
  position: relative;
  overflow-x: hidden;
}
.owl-carousel-news a,
.block-pageLinks a,
.mod-list-news a {
  text-decoration: none;
}
.owl-carousel-news a:hover,
.block-pageLinks a:hover,
.mod-list-news a:hover {
  color: #000;
}
.wp-block-latest-posts__list a,
a[href^="tel:"],
a[href^="mailto:"],
.owl-carousel-gallery a {
  text-decoration: none;
}
.wp-block-media-text__media img {
  -webkit-border-radius: 20px;
  -webkit-background-clip: padding-box;
  -moz-border-radius: 20px;
  -moz-background-clip: padding;
  border-radius: 20px;
  background-clip: padding-box;
}
.wp-block-column.has-background .wp-block-buttons {
  display: block;
  margin-left: -40px;
  margin-right: -40px;
}
.wp-block-column.has-background .wp-block-buttons .wp-block-button.is-style-small-button {
  width: 100%;
  bottom: -30px;
  position: relative;
}
.wp-block-column.has-background .wp-block-buttons .wp-block-button.is-style-small-button a {
  all: unset;
  padding: 6px 40px;
  border-top: 2px dotted #f4f2ea;
  display: block;
  cursor: pointer;
}
.wp-block-column.has-background .wp-block-buttons .wp-block-button.is-style-small-button a::before {
  content: '\2b';
  font-family: "Font Awesome 5 Pro";
  font-style: normal;
  font-size: 24px;
  font-weight: 400;
  display: inline-block;
  position: relative;
  margin-right: 10px;
}
.entry-content .wp-block-accordion:last-child {
  border-bottom: 2px solid #000;
}
.entry-content .wp-block-accordion .wp-block-accordion-item {
  border-top: 2px solid #000;
  padding-bottom: 10px;
}
.entry-content .wp-block-accordion .wp-block-accordion-item .wp-block-accordion-heading {
  font-size: 1.5rem;
  padding-bottom: 10px;
}
.wp-block-button.is-style-small-button-2 .wp-block-button__link::before {
  content: '\f061';
}
.wp-block-buttons > .wp-block-button.active > .wp-block-button__link {
  color: #e7302f;
}
.wp-block-buttons > .wp-block-button.active > .wp-block-button__link::before {
  color: #e7302f;
}
.wp-block-buttons > .wp-block-button > .wp-block-button__link {
  padding-left: 35px;
  margin-top: 0;
}
@media (max-width: 991px) {
  .wp-block-columns {
    flex-direction: column;
  }
}
.wp-block-columns .wp-block-column.has-background {
  padding: 40px;
  -webkit-border-radius: 20px;
  -webkit-background-clip: padding-box;
  -moz-border-radius: 20px;
  -moz-background-clip: padding;
  border-radius: 20px;
  background-clip: padding-box;
  max-width: 440px;
}
.wp-block-columns .wp-block-column.has-background h2 {
  margin-bottom: 25px;
}
.wp-block-columns .wp-block-column.has-background a {
  color: #23282d;
}
.wp-block-columns .wp-block-column.has-background a:hover,
.wp-block-columns .wp-block-column.has-background a:focus {
  color: #e7302f;
}
.entry-content .block-page-preview .pageItem .itemWrap a .imageWrap {
  transition: all 0.3s ease;
  margin-bottom: 20px;
}
.entry-content .block-page-preview .pageItem .itemWrap a .imageBox {
  -webkit-border-radius: 20px;
  -webkit-background-clip: padding-box;
  -moz-border-radius: 20px;
  -moz-background-clip: padding;
  border-radius: 20px;
  background-clip: padding-box;
}
.entry-content .block-page-preview .pageItem .itemWrap a h2 {
  font-size: 1.25rem;
  color: #23282d;
  padding-left: 27px;
  display: block;
  position: relative;
}
.entry-content .block-page-preview .pageItem .itemWrap a h2::before {
  content: '\f061';
  font-family: "Font Awesome 5 Pro";
  font-style: normal;
  font-size: 1.25rem;
  font-weight: 400;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}
.entry-content .block-page-preview .pageItem .itemWrap a:hover h2,
.entry-content .block-page-preview .pageItem .itemWrap a:focus h2 {
  color: #e7302f;
}
.entry-content .block-page-preview .pageItem .itemWrap a:hover h2::before,
.entry-content .block-page-preview .pageItem .itemWrap a:focus h2::before {
  color: #e7302f;
}
.wp-block-list.bm-list-check {
  list-style: none;
  padding-left: 5px !important;
}
.wp-block-list.bm-list-check > li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 5px;
}
.wp-block-list.bm-list-check > li::before {
  content: '\f00c';
  font-family: "Font Awesome 5 Pro";
  font-style: normal;
  font-size: 1.125rem;
  font-weight: 400;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}
.wp-block-group.bm-iframe {
  padding: 30px;
}
.wp-block-group.bm-iframe iframe {
  width: 100%;
  max-width: 100%;
  height: 400px;
  border: none;
  margin-bottom: -8px;
  -webkit-border-radius: 20px;
  -webkit-background-clip: padding-box;
  -moz-border-radius: 20px;
  -moz-background-clip: padding;
  border-radius: 20px;
  background-clip: padding-box;
}
.mod-footer .widget-row:last-child {
  -webkit-opacity: 0.7;
  -moz-opacity: 0.7;
  opacity: 0.7;
}
.mod-footer .widget-row:last-child p {
  font-size: 1rem;
}
.wp-block-columns > .wp-block-column {
  max-width: 100% !important;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
@media (max-width: 991px) {
  #site-content {
    overflow-x: hidden;
  }
}
@media (max-width: 767px) {
  .wp-block-group.bm-iframe {
    padding: 0;
  }
  .wp-block-group.bm-iframe iframe {
    margin: 0 !important;
    margin-bottom: 0 !important;
  }
  .wp-block-group.bm-iframe iframe {
    margin-bottom: 5px !important;
  }
}
@media (max-width: 480px) {
  .wp-block-columns .wp-block-column.has-background {
    padding: 20px 20px 40px 20px;
  }
}
#message.updated {
  background-color: #50AE31;
  color: white;
  padding: 15px 20px 2px 20px;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin-top: 40px;
  margin-bottom: 20px;
}
.acf-form .acf-fields .acf-field {
  padding: 0;
  border: none !important;
}
.acf-form .acf-fields .acf-field.-c0 .acf-label,
.acf-form .acf-fields .acf-field.-c0 .acf-input {
  margin-right: 20px;
}
.acf-form .acf-fields .acf-field input[type=text],
.acf-form .acf-fields .acf-field input[type=password],
.acf-form .acf-fields .acf-field input[type=email],
.acf-form .acf-fields .acf-field input[type=number] {
  font-size: 18px;
}
.acf-form .acf-fields .acf-field-text {
  margin-bottom: 20px;
}
.acf-form .acf-fields .acf-field-message .acf-label {
  padding-top: 20px;
  display: block;
}
.acf-form .acf-fields .acf-field-message .acf-label label {
  font-family: 'Gotham Narrow Bold';
  font-weight: 700;
}
.acf-form .acf-fields .acf-field-radio {
  margin-bottom: 20px;
}
.acf-form .acf-fields .acf-field-radio .acf-input ul.acf-radio-list li label {
  font-size: 18px;
}
.acf-form .acf-fields .acf-field-radio .acf-input ul.acf-radio-list li label input {
  margin-right: 6px;
}
.acf-form .acf-fields .acf-field-number .acf-input .acf-input-prepend {
  padding: 7px 8px;
}
.acf-form .acf-fields .acf-field-number .acf-input .acf-input-wrap input {
  border: solid 1px gray;
}
.acf-form .acf-button {
  margin-top: 30px;
  height: 44px;
  line-height: 44px;
  cursor: pointer;
  padding-top: 0;
  padding-left: 26px;
  padding-right: 26px;
  padding-bottom: 0;
  color: #FFFFFF;
  background-color: #58ac3a;
  font-size: 1.3125rem;
  font-weight: 700;
  border: solid 0px transparent;
  -webkit-border-radius: 5px;
  -webkit-background-clip: padding-box;
  -moz-border-radius: 5px;
  -moz-background-clip: padding;
  border-radius: 5px;
  box-shadow: none;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  overflow-wrap: break-word;
  transition: all 0.2s ease;
  -moz-box-sizing: unset;
  -webkit-box-sizing: unset;
  box-sizing: unset;
}
.mod-mobilenavigation .mobile-wrap .mobile-content .mobile-navigation > li a {
  font-size: 2rem;
  font-weight: 400;
}
.mod-mobilenavigation .mobile-wrap .mobile-content .mobile-navigation > li .sub-menu {
  display: block !important;
  padding-left: 20px;
  padding-right: 20px;
}
.mod-mobilenavigation .mobile-wrap .mobile-content .mobile-navigation > li .sub-menu > li > a {
  color: black;
  font-weight: 400;
  border-top: 2px solid rgba(255, 255, 255, 0.2);
  padding-left: 0;
  padding-right: 0;
}
.mod-mobilenavigation .mobile-wrap .mobile-content .mobile-navigation > li.menu-item-has-children:before {
  display: none;
}
/**
 * BM Slideshow Styling
 * Format 3:4 (Portrait)
 */
.bm-slideshow-wrapper {
  position: relative;
  width: 50vw;
  overflow: hidden;
  padding: 3% 3% 0 3%;
}
.bm-slideshow-wrapper .bm-slideshow-canvas {
  position: absolute !important;
  top: 3% !important;
  left: 3% !important;
  width: calc(100% - 6%) !important;
  height: auto !important;
  pointer-events: none;
  z-index: 100;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.bm-slideshow-wrapper .bm-slideshow {
  position: relative;
}
.bm-slideshow-wrapper .bm-slideshow .owl-stage-outer {
  overflow: visible;
}
.bm-slideshow-wrapper .bm-slide-item {
  position: relative;
  width: 100%;
  padding-bottom: 140%;
  overflow: hidden;
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-origin: center center;
}
.bm-slideshow-wrapper .bm-slide-item .bm-slide-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-decoration: none;
}
.bm-slideshow-wrapper .bm-slide-item .bm-slide-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.bm-slideshow-wrapper .bm-slide-item .bm-slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.4) 70%, rgba(0, 0, 0, 0) 100%);
  color: #fff;
  transition: opacity 0.3s ease;
}
.bm-slideshow-wrapper .bm-slide-item .bm-slide-content .bm-slide-title {
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1.1;
  margin: 0 0 8px 0;
  color: #fff;
}
.bm-slideshow-wrapper .bm-slide-item .bm-slide-content .bm-slide-description {
  font-size: 0.9375rem;
  line-height: 1.2;
  margin: 0;
  opacity: 0.95;
  color: #fff;
  -webkit-opacity: 0.85;
  -moz-opacity: 0.85;
  opacity: 0.85;
}
.bm-slideshow-wrapper .owl-item .bm-slide-item {
  transform: scale(1);
  opacity: 1;
  position: relative;
  z-index: 1;
}
.bm-slideshow-wrapper .bm-slideshow-nav {
  position: static;
  margin-top: 25px;
  padding-right: 50px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.bm-slideshow-wrapper .bm-slideshow-nav button {
  width: auto;
  height: auto;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}
.bm-slideshow-wrapper .bm-slideshow-nav button.bm-slide-next {
  height: 46px;
  padding-left: 25px;
  padding-right: 25px;
}
.bm-slideshow-wrapper .bm-slideshow-nav button.bm-slide-next::before {
  content: '\f061';
  font-family: "Font Awesome 5 Pro";
  font-style: normal;
  font-size: 24px;
  font-weight: 300;
  display: block;
  position: relative;
}
.bm-slideshow-wrapper .bm-slideshow-nav button:hover {
  transform: translateX(2px);
}
.bm-slideshow-wrapper .bm-slideshow-nav button:active {
  transform: translateX(4px);
}
.bm-slideshow-wrapper .bm-slideshow-nav button .bm-slide-icon {
  font-size: 32px;
  color: #1a1a1a;
  line-height: 1;
}
@media (max-width: 779px) {
  .bm-slideshow-wrapper {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding-left: 15px;
    padding-right: 0;
    overflow: visible;
  }
  .bm-slideshow-wrapper .bm-slideshow .owl-stage-outer {
    overflow: visible;
  }
}
@media (min-width: 780px) and (max-width: 991px) {
  .bm-slideshow-wrapper {
    width: auto;
    margin-right: calc(-50vw + 50%);
    padding-left: 0;
    padding-right: 0;
  }
}
@media (max-width: 768px) {
  .bm-slideshow-wrapper .bm-slide-item {
    padding-bottom: 140%;
  }
  .bm-slideshow-wrapper .bm-slide-item .bm-slide-content {
    padding: 16px;
  }
  .bm-slideshow-wrapper .bm-slide-item .bm-slide-content .bm-slide-title {
    font-size: 1.25rem;
  }
  .bm-slideshow-wrapper .bm-slideshow-nav {
    margin-top: 12px;
    gap: 8px;
  }
  .bm-slideshow-wrapper .bm-slideshow-nav button .bm-slide-icon {
    font-size: 26px;
  }
}
.bm-slide-item:not(:has(.bm-slide-link)) {
  cursor: default;
}
.block-bm-team .team-wrap .team-item .team-item-content .content-image {
  position: relative;
  overflow: hidden;
  -webkit-border-radius: 20px;
  -webkit-background-clip: padding-box;
  -moz-border-radius: 20px;
  -moz-background-clip: padding;
  border-radius: 20px;
  background-clip: padding-box;
}
.block-bm-team .team-wrap .team-item .team-item-content .content-image:hover .content-text-2 {
  -webkit-opacity: 1;
  -moz-opacity: 1;
  opacity: 1;
  padding-top: 30px;
  padding-bottom: 30px;
}
.block-bm-team .team-wrap .team-item .team-item-content .content-image .content-text {
  position: absolute;
  top: 0;
  left: 30px;
  right: 0;
  bottom: 30px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
}
.block-bm-team .team-wrap .team-item .team-item-content .content-image .content-text h2,
.block-bm-team .team-wrap .team-item .team-item-content .content-image .content-text p,
.block-bm-team .team-wrap .team-item .team-item-content .content-image .content-text a {
  color: white;
}
.block-bm-team .team-wrap .team-item .team-item-content .content-image .content-text h2 {
  font-weight: 400;
  font-size: 1.5625rem;
  margin-bottom: 0;
  line-height: normal;
  transition: all 0.4s ease;
}
.block-bm-team .team-wrap .team-item .team-item-content .content-image .content-text p {
  -webkit-opacity: 0.75;
  -moz-opacity: 0.75;
  opacity: 0.75;
  margin-bottom: 20px;
  line-height: normal;
  transition: all 0.4s ease;
}
.block-bm-team .team-wrap .team-item .team-item-content .content-image .content-text a {
  -webkit-opacity: 0.75;
  -moz-opacity: 0.75;
  opacity: 0.75;
  padding: 0;
  margin: 0;
  line-height: normal;
  height: auto;
}
.block-bm-team .team-wrap .team-item .team-item-content .content-image .content-text a::before {
  display: none;
}
.block-bm-team .team-wrap .team-item .team-item-content .content-image .content-text a:hover {
  -webkit-opacity: 1;
  -moz-opacity: 1;
  opacity: 1;
}
.block-bm-team .team-wrap .team-item .team-item-content .content-image .content-text-2 {
  -webkit-opacity: 0;
  -moz-opacity: 0;
  opacity: 0;
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
  position: absolute;
  text-align: center;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  color: white;
  background-color: black;
  padding: 30px;
  padding-top: 60;
  padding-bottom: 0;
  z-index: 1;
  transition: all 0.4s ease;
  display: none !important;
}
.block-bm-team .team-wrap .team-item .team-item-content .content-image::before {
  -webkit-opacity: 0.6;
  -moz-opacity: 0.6;
  opacity: 0.6;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  content: "";
  display: block;
  z-index: 1;
  background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 53%, #000000 100%);
  /* FF3.6-15 */
  background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 53%, #000000 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 53%, #000000 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#000000', GradientType=0);
  /* IE6-9 */
}
@media (max-width: 991px) {
  .block-bm-team .team-wrap .team-item .team-item-content .content-image .content-text h2 {
    font-size: 1.5rem;
  }
  .block-bm-team .team-wrap .team-item .team-item-content .content-image .content-text p {
    font-size: 0.9375rem;
    margin-top: 4px;
    margin-bottom: 0;
  }
  .block-bm-team .team-wrap .team-item .team-item-content .content-image .content-text-2 {
    font-size: 22px;
  }
}
@media (min-width: 768px) {
  .block-bm-team .team-item {
    margin-bottom: 0;
  }
  .block-bm-team {
    padding-bottom: 60px;
  }
  .block-bm-team .team-wrap .team-item:nth-child(odd) {
    margin-top: 80px;
    margin-bottom: -80px;
  }
}
@media (max-width: 767px) {
  .block-bm-team {
    padding-bottom: 0;
  }
  .block-bm-team .team-wrap .team-item .team-item-content {
    margin-bottom: 3px;
  }
  .block-bm-team .team-wrap .team-item .team-item-content .content-image {
    max-width: 800px;
    margin-right: 15px;
  }
  .block-bm-team .team-wrap .team-item:nth-child(odd) {
    margin-top: 0;
    margin-bottom: 0;
  }
}
