/*
 Theme Name:   Steinach
 Description:  
 Author:       Kellenberger Interactive
 Author URI:   https://kellenberger-interactive.ch
 Template:     Divi
 Version:      1.0
 Text Domain:  steinach
*/


/**************************************************/
/*                     GENERAL                    */
/**************************************************/

body {
    font-weight: normal;
    line-height: 26px;
}

p {
  padding-bottom: 2em;
}

p:empty{
  height: 0;
  margin: 0;
  padding: 0;
}

a:hover {
  color: #18675E !important;
}

body, h1, h2, h3, h4 {
  word-wrap: break-word;
   overflow-wrap: break-word;
   
    -moz-hyphens: auto;
    -o-hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto; 
}

header, #main-content {
  max-width: 1363px;
  margin: 0 auto;
}

h2,h3,h4 {
  margin-bottom: 25px;
}

h1 {
    font-size: 46px !important;
}

h2 {
    font-size: 40px !important;
}

h3 {
    font-size: 25px !important;
}

h4 {
    font-size: 22px !important;
}

@media (max-width: 980px) {
  h1 {
    font-size: 25px !important;
    line-height: 26px !important;
  }
  
  h2 {
    font-size: 32px !important;
    line-height: 32px !important;
  }
  
  h3 {
    font-size: 25px !important;
    line-height: 26px !important;
  }
  
  h4 {
    font-size: 22px !important;
  }
}

strong {
    font-weight: 500;
}


@media (max-width: 479px) {
  .et_pb_row .et_pb_column.et_pb_column_1_4, .et_pb_row .et_pb_column.et_pb_column_1_5, .et_pb_row .et_pb_column.et_pb_column_1_6 {
    width: 100%;
    margin: 0 0 0px;
  }
}

/**************************************************/
/*            Header                            */
/**************************************************/

.db-switcher a {
  color: #245a7e !important;
}

.inhalte-werden-zentriert h6 a:hover {
  color: #ffffff !important;  
}

@media (max-width: 768px) {
  .inhalte-werden-zentriert h6 {
    display: none;
  }
  
  .inhalte-werden-zentriert .et_pb_column_1_3 {
    padding-bottom: 30px;
  }
  
  #et-main-area .et_pb_section_0 .et_pb_row_1 {
    padding-top: 0 !important;
  }
}
/**************************************************/
/*            Tabellen                            */
/**************************************************/

table {
  margin-bottom: 50px !important;
  overflow-x:auto;
}

table tr {
  vertical-align: top;
}

table, table tr {
  border: none !important;
  border-color: #C4C4C6 !important
}

table td, table th {
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  border-bottom: 1px solid #C4C4C6;
  padding-left: 0 !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

table td {
  color: #2B2E34 !important;
}

table th {
  border-bottom: 2px solid black;
  color: #000000 !important;
}

.zero-bottom h2, .zero-bottom h3, .zero-bottom h4 {
  margin-bottom: 0px !important;
}


@media (max-width: 700px) {
  .mitarbeitertabelle td {
      width: 100% !important;
      display:block;
  }
  
  .mitarbeitertabelle tr td:first-child {
        border-bottom: none !important;
        padding-bottom: 0!important;
  }
  
  .mitarbeitertabelle tr td:last-child {
    padding-top: 0 !important;
  }
}

/**************************************************/
/*                    Home                        */
/**************************************************/

.zoom .et_pb_gallery_item {
  transform: scale(1); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
  transition-duration: 1s;
}

.zoom:hover .et_pb_gallery_item {
  transform: scale(1.05); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
  transition-duration: 1s;
}


/**************************************************/
/*            Anpassung Menü                      */
/**************************************************/


.burger-wrapper div:first-child {
  color: #245a7e !important;
  font-size: 17px !important;
}

#hamburger .line {
  stroke: #245a7e !important;
}
  
.burger-wrapper{
  justify-content:end !important;
  display:-webkit-box;
  -webkit-box-pack: end;
}

.menu-container .sub-menu-wrapper li:hover a, .menu-container .main-menu-wrapper li:hover a, .menu-container .third-menu-wrapper li:hover a {
  color: #e3f9ff !important;
}

@media (min-width: 981px) {
    .et_pb_menu .et_pb_menu__menu, .et_pb_fullwidth_menu .et_pb_menu__menu {
        display: none;
    }
    
    .et_pb_menu .et_mobile_nav_menu, .et_pb_fullwidth_menu .et_mobile_nav_menu {
        display: flex;
        float: none;
        margin: 0 6px;
        align-items: center;
    }
    @media screen and (min-width:1025px) {
      .menu-header-links {
        display: none;
      }      
    }

    
    .menu-close {
      flex: auto;
      padding-top: 30px;
      padding-right: 5px;
    }
    
    .menu-header-logo {
      max-width: 280px;
    }
    
    .full-menu .header-container {
      width: 90% !important;
      padding-left: 0px !important;
    }
    
    .admin-bar .full-menu .header-container {
      padding-top: 27px;
    }
}

@media (max-width: 981px) {
  .menu-close-text {
    display: none !important;
  }
  
  .menu-close {
    flex: auto;
    
    padding-right: 10px;
  }
  
  .menu-header-logo {
    max-width: 230px;
  }
  
  .full-menu .header-container {
    width: 90% !important;
    padding-left: 0px !important;
  }
  
  .admin-bar .full-menu .header-container {
    padding-top: 45px;
  }
  
  .full-menu .menu-container {
    padding-left: 2%;
  }
  
  .full-menu .menu-container .main-menu-wrapper {
    padding-right: 5%;
  }
  
  .mobile-links {
    padding-left: 5%;
  }
}



@media (max-width: 767px) {
  .menu-close-text {
    display: none !important;
  }
  
  .menu-close {
    flex: auto;
    
    padding-right: 10px;
  }
  
  .menu-header-logo {
    max-width: 180px;
  }
  
  .full-menu .header-container {
    width: 90% !important;
    padding-left: 0px !important;
  }
  
  .admin-bar .full-menu .header-container {
    padding-top: 45px;
  }
  
  .full-menu .menu-container {
    padding-left: 0;
  }
  
  .full-menu .menu-container .main-menu-wrapper {
    padding-right: 0%;
  }
  
  .mobile-links {
    padding-left: 4%;
  }
}

/**************************************************/
/*            Datums Boxen quadratisch            */
/**************************************************/

.square-date-box {
    color: #26A194;    
}

.square-date-box p {
    line-height: 15px;  
}

.square-date-box .dipi-hover-box-content, .square-date-box .dipi-hover-box-hover {
    padding: 0;
}

.square-date-box .tag {
    font-size: 33px;
    font-weight: 600;
}

.square-date-box .monat {
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
}

/**************************************************/
/*            Animierte Links                     */
/**************************************************/

.animated-button {
  max-width: 600px;
}

.animated-button .et_pb_blurb_content {
  margin-left: 0 !important;
}

.animated-button .et_pb_module_header {
  margin-bottom: 0px !important;
  padding-bottom: 5px !important;
  font-size: 19px !important;
}

.animated-button .et_pb_main_blurb_image {
  padding-top: 7px !important;
  max-height: 19px;
}

.animated-button .et_pb_main_blurb_image .et_pb_image_wrap {
  
}

.animated-button:hover .et_pb_main_blurb_image {
    padding-left: 10px;
    transition:all .5s ease;
}

.animated-button::after {
    content: '';
    display: block;
    width: 0;
    height: 1px;
    background: #26a194;
    transition: width .8s;
}

.animated-button.light::after {
      background: #9ed9d5!important;
  }

.animated-button.dark::after {
      background: #245a7e!important;
  }


.animated-button:hover::after {
    width: 100%;
    /*transition: width .3s;*/
}

/**************************************************/
/*            Angeschrägte Elemente               */
/**************************************************/

.cut-right {
    -webkit-clip-path: polygon(0 0, 100% 0, 95% 100%, 0 100%);
    clip-path: polygon(0 0, 100% 0, 95% 100%, 0 100%);
}

.cut-right-big {
      -webkit-clip-path: polygon(0 0, 100% 0, 99% 100%, 0 100%);
      clip-path: polygon(0 0, 100% 0, 99% 100%, 0 100%);
  }

.cut-around {
    -webkit-clip-path: polygon(5% 5%, 95% 0, 100% 100%, 0 95%);
    clip-path: polygon(5% 5%, 95% 0, 100% 100%, 0 95%);
}

.cut-left {
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 5% 100%);
     clip-path: polygon(0 0, 100% 0, 100% 100%, 5% 100%);
}

.cut-left-big {
      -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 1% 100%);
       clip-path: polygon(0 0, 100% 0, 100% 100%, 1% 100%);
  }

@media (min-width: 764px) {  
  .cut-left-agenda {
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 2% 100%);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 2% 100%);
  }
}

.cut-unterseiten {
    -webkit-clip-path: polygon(5% 0, 100% 0, 100% 100%, 0 100%);
    clip-path: polygon(5% 0, 100% 0, 100% 100%, 0 100%);
}

.cut-unterseiten-balken {
    -webkit-clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
    clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}

@media (min-width: 768px) {
  .inhalte-werden-zentriert {
      display: flex;
      align-items: center;
      justify-content: left;
  }
  
  /* Inhalt vertikal zentrieren*/
  /*.content-vertical-align-center {  
    display: flex;  
    flex-direction: column;  
    justify-content: center; 
  }*/
}

/**************************************************/
/*    Lightbox auf Header-Galerien ausschalten    */
/**************************************************/

.disable-lightbox a {
  pointer-events: none;
}
   
.disable-lightbox .et_overlay {
  display: none !important;
}


.header-slider-unterseiten .et-pb-slider-arrows, .header-slider-unterseiten .et-pb-controllers, .slider-startseite .et-pb-slider-arrows, .slider-startseite .et-pb-controllers {
    display: none;
}


/**************************************************/
/*            Infobox Startseite                  */
/**************************************************/

.slide-in-text a {
  color: #245a7e!important;
}

.slide-in-text h3 {
  margin-bottom: 0px;
  padding-bottom: 0px;
}

.slide-in-text .et_pb_text_inner  {
    animation-delay: 3s !important;
    animation: fadeInText ease 2s ;
    animation-fill-mode: forwards;
      
    visibility: hidden;
}
    
@keyframes fadeInText {
      10% {
        visibility: hidden;
      }
      100% {
        visibility: visible;
      }
}

/**************************************************/
/*            Personen/Abteilungslisten           */
/**************************************************/

.behoerdenliste, .abteilungsliste, .mitarbeiterliste, .schulpersonenliste, .schulabteilungsliste {
  padding-left: 0 !important;
}

.mitarbeiterliste {
  margin-top: -20px;
}

.schulpersonenliste {
  margin-top: 0px;
}

.behoerdenliste li, .abteilungsliste li, .mitarbeiterliste li, .schulpersonenliste li, .schulabteilungsliste li {
  list-style: none;
}

.schulpersonenliste li {
  margin-bottom: 15px;
}

.mitarbeiterfoto {
  margin-top: 75px;
}

.personenfunktion, .personenkontakt {
  padding-bottom: 1em;
}

/**************************************************/
/*            Vereinsliste                         */
/**************************************************/

.verein-row h3 {
  margin-bottom: 0px;
}


/**************************************************/
/*            Publikationen                       */
/**************************************************/

.pager {
  max-width: 691px;
  padding-left: 19px;
}

.pager .button {
  
}

.pager .next {
    float: right;
  }

.pager .next:first-child {
  float: left;
}

/**************************************************/
/*            AGENDA                              */
/**************************************************/

.square-date-box .dipi-hover-box-fade{
  height:70px;
}

/**************************************************/
/*            GALERIE                             */
/**************************************************/

.mfp-bottom-bar{
  display: none;
}


/**************************************************/
/*            Download Manager                    */
/**************************************************/

.w3eden {
  max-width: 600px;
  margin-top: -30px;
}

.w3eden .row {
  row-gap: 5px;
}

.w3eden .media {
  border-bottom: 1px solid #26a194;
  padding-bottom: 5px !important;
}


.w3eden .media::after {
      content: '';
      display: block;
      width: 0%;
      height: 1px;
      background: #18675E !important;
      transition: width .8s;
}

.w3eden .media:hover::after {
      /*width: 100%;
      transition: width .3s;*/
  }


.w3eden .media .pull-left img {
  display: none;
}

.w3eden .media .media-body {
  padding-left: 48px;
}


.w3eden .media .media-body:before {
      content:"";
  
      display: block;
      -moz-box-sizing: border-box;
      box-sizing: border-box;
      background: url(https://steinach.ch/wp-content/uploads/2021/11/icon-download_.svg) no-repeat;
      width: 19px; /* Width of new image */
      height: 19px; /* Height of new image */
      
      position: relative;
      left: -42px;
      top: 19px;
}

.w3eden .media:hover .media-body:before  {
  background: url(https://steinach.ch/wp-content/uploads/2021/11/icon-download-hover_.svg) no-repeat;
  left: -32px;
  transition:all .5s ease;
}
  
.w3eden .media-body {
  /*padding-top: 16px;*/
}

.w3eden h3 {
  line-height: 0em;
}

.w3eden .media-body .media-heading a {
  font-size: 19px !important;
  line-height: 1.1em;
  font-weight: 600 !important;
  color: #26a194 !important;
}

.w3eden .media:hover .media-heading a{
  color: #18675E !important;
}

.w3eden .media-body .media-heading a:hover {
  text-decoration: none;
}

.w3eden .text-small {
  display: none !important;
}

.w3eden .ml-3 {
  padding-top: 11px !important;
}

@media (max-width:400px) {
  .w3eden .ml-3 {
    display: none;
  }
}

.w3eden .media .btn {
  border-radius: 0 !important;
  font-weight: 600 !important;
  font-size: 19px;
  padding-top: 4px;
  padding-bottom: 4px;
  box-shadow: none !important;
  color: #ffffff !important;
  letter-spacing: 0px !important;
}

.w3eden .media:hover {
    border-bottom: 1px solid #18675E;
  }

.w3eden .media:hover .btn-primary{
  background-color: #18675E !important;
  border-color: #18675E !important;
}


.w3eden .wpdm_icon {
    box-shadow: none;
    min-width: 38px;
    max-width: 38px;
    width: 38px;
}


.wpdm-download-link.btn.btn-primary {
  display: inline-block !important;
  background-color: #00a194 !important;
  color: #ffffff;
  font-size: 18px !important;
  font-weight: 600 !important;
  border-radius: 0 !important;
  padding: 4px 8px;
  text-transform: none;
}

.single-wpdmpro .btn.btn-primary {
  padding: 8px 12px;
  margin-bottom: 25px !important;
}

.wpdm-download-link.btn.btn-primary:hover {
  background-color:#18675E !important;
  color: #ffffff !important;
}


/**************************************************/
/*            Blog                                */
/**************************************************/

.single-post .et_pb_section_1_tb_body .et_pb_section_0 {
  padding-top: 0 !important;
}

.et_pb_blog_grid .et_pb_post {
  padding: 25px;
  padding-bottom: 0px;
  min-height: 450px;
}

.et_pb_blog_grid .et_pb_post .more-link {
  /*position: absolute;
  bottom: 45px;*/
}

/* Hide "no results" message on blog module */
.et_pb_posts .not-found-title, .et_pb_posts .not-found-title+p {
    display: none;
}

.wp-pagenavi {
  text-align: center;
}

.wp-pagenavi a, .wp-pagenavi span {
  font-size: 19px !important;
}

.wp-pagenavi a:hover, .wp-pagenavi span.current {
  color: #26a194 !important;
}


/**************************************************/
/*            Anlässe                             */
/**************************************************/

.agenda-filter .et_pb_contact_select {
  color: #26A194;
  background-color: transparent;
  padding: 8px 0px 8px 0px;
  font-size: 19px;
  font-weight: 600px !important;
  border-bottom: 1px solid #26A194;
}

.et_pb_contact_field[data-type=select]:after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0px !important;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 19px !important;
  height: 19px !important;
  border: none !important;
  border-top-color: #26A194 !important;
  margin-top: 3px;
  pointer-events: none;
  display: block!important;
  background: url('https://steinach.ch/wp-content/uploads/2021/11/arrow-down.svg') no-repeat;
}

.normalspace {
  padding-bottom: 1em;
}

.termin-details h3 {
  
}

#acf-form {
  
}

#acf-form .acf-field, #acf-form .acf-form-submit {
  margin-top: 25px;
}

#acf-form .acf-label {
  color: #26A194;
  font-weight: 500;
}

.acf-fields > .acf-field{
  border:none !important;
  margin-top: 0 !important;
} 

#acf-form input {
  width: 100%;
  border: none;
  border-bottom: 1px solid #26A194;
  font-size: 19px;
  padding-left: 0 !important;
}

#acf-form input::placeholder {
  color: #26A194;
  font-weight: 500;
}

/*
#acf-form .acf-button {
  color: #26A194;
  font-size: 19px;
  font-weight: 500;
  max-width: 200px;
  float: right;
  background: none;
  text-align: left;
}


#acf-form .acf-button:before {
  content:"";
  display: block;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  background: url(https://steinach.ch/wp-content/uploads/2021/11/icon-download_.svg) no-repeat;
  width: 19px;
  height: 19px;
  
  position: relative;
  left: -34px;
  top: 29px;
}

#acf-form .acf-button:hover {
  color: #18675E;
}*/

#acf-form .acf-button {
  border-bottom: none !important;
  background: #26A194;
  color: #ffffff;
  width: auto;
  float: right;
  padding: 8px 12px !important;
  margin-right: 12px;
}

#acf-form .acf-button:hover {
  background: #18675e!important;
  cursor: pointer;
}

.acf-taxonomy-field .categorychecklist-holder {
  border: none !important;
}

.acf-checkbox-list {
  padding-left: 0 !important;
}

.acf-checkbox-list li {
  list-style: none;
  font-size: 19px !important;
}

.acf-checkbox-list li input {
  width: auto !important;
}

/* Lables ausblenden bei Placeholder-Feldern  */

.acf-form label {
  font-weight: 500 !important;
}

.acf-form .acf-icon {
  display: none !important;
}

.acf-form label[for="acf-_post_title"],
.acf-form label[for="acf-field_615da276c8941"],
.acf-form label[for="acf-field_615da27f93ca6"],
.acf-form label[for="acf-field_615da28a93ca7"],
.acf-form label[for="acf-field_615da28f93ca8"],
.acf-form label[for="acf-field_615da29593ca9"],
.acf-form label[for="acf-field_615da2a493caa"],
.acf-form label[for="acf-field_615da2ab93cab"]
{
  display: none !important;
}


/**************************************************/
/*            Newseletter Registration            */
/**************************************************/

.ml-subscribe-form input, #mlb2-5067116.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow input {
  /*border:none !important;
  border-width: 0pc !important;
  border-bottom: 1px solid #26A194 !important;
  padding-left: 0px !important;*/
  
  font-family: 'Barlow',Helvetica,Arial,Lucida,sans-serif !important;
}

.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-interestGroupsRow .ml-form-interestGroupsRowCheckbox .label-description {
  font-family: 'Barlow',Helvetica,Arial,Lucida,sans-serif !important;
}


.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button {
  font-family: 'Barlow',Helvetica,Arial,Lucida,sans-serif !important;
}

/**************************************************/
/*            Blog Navigation Buttons             */
/**************************************************/

.et_pb_posts_nav .meta-nav {
  display: none;
}

.et_pb_posts_nav .nav-previous, .et_pb_posts_nav .nav-next {
  border-bottom: 1px solid #26A194;
  padding-left: 35px;
  padding-bottom: 8px;
}

.et_pb_posts_nav .nav-previous:hover, .et_pb_posts_nav .nav-next:hover {
    border-color: #18675E;
}

.et_pb_posts_nav .nav-previous a, .et_pb_posts_nav .nav-next a  {
  color: #26A194;
  font-size: 19px;
  font-weight: 600;
}

.et_pb_posts_nav .nav-previous:before, .et_pb_posts_nav .nav-next:before {
  content:"";
  display: block;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  background: url(https://steinach.ch/wp-content/uploads/2021/11/icon-intern_.svg) no-repeat;
  width: 19px; /* Width of new image */
  height: 19px; /* Height of new image */
  
  position: relative;
  left: -34px;
  top: 27px;
}

.et_pb_posts_nav .nav-previous:hover a,
.et_pb_posts_nav .nav-next:hover a {
  color: #18675E; 
}

.et_pb_posts_nav .nav-previous:hover:before,
.et_pb_posts_nav .nav-next:hover:before {
  background: url(https://steinach.ch/wp-content/uploads/2021/11/icon-intern-hover.svg) no-repeat;
  left: -24px;
  transition:all .5s ease;
}

/*
.et_pb_posts_nav .nav-previous::after, .et_pb_posts_nav .nav-next::after {
      content: '';
      display: block;
      width: 0;
      height: 1px;
      background: #18675E;
      transition: width .8s;
  } 
  
  .et_pb_posts_nav .nav-previous:hover::after, .et_pb_posts_nav .nav-next:hover::after  {
      width: 100%;
      /*transition: width .3s;
  }*/
  
  
  
  .not-found-title, .not-found-title + p {display: none;}
  
  
  #weitere .mitarbeitertabelle {
    margin-bottom: 0 !important;
  }