/*!
 Theme Name: Divi-Child
 Theme URI: http://www.elegantthemes.com/gallery/divi/
 Template: Divi
 Version: 1.0.0
 Author: Mutti
 Author URI: http://muttimutti.de
*/
 
/* =Ab hier kannst du deine CSS-Anpassungen eintragen
------------------------------------------------------- */

@charset "utf-8";
/* CSS Document */

@font-face {
    font-family: 'Open Sans';
    src: url('assets/webfonts/OpenSans-Light.woff2') format('woff2'),
        url('assets/webfonts/OpenSans-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('assets/webfonts/Roboto-Bold.woff2') format('woff2'),
        url('assets/webfonts/Roboto-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Roboto';
    src: url('assets/webfonts/Roboto-Regular.woff2') format('woff2'),
        url('assets/webfonts/Roboto-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

html, body {
	font-family: 'Open Sans', sans-serif;
    hyphens: auto;
}

h1, h2, h3, h4, h5, h6, strong, em, #top-menu a {
    font-weight: normal !important;
    /*text-transform: uppercase;*/
    font-family: 'Roboto';
}
h1,
.et_pb_column_1_3 h1,
.et_pb_column_1_4 h1,
.et_pb_column_1_5 h1,
.et_pb_column_1_6 h1,
.et_pb_column_2_5 h1 {
	font-size: 40px;
}
h2 {
	font-size: 30px;
}
p a,
li a {
  text-decoration: underline;
}
p a:hover,
li a:hover {
  text-decoration: none;
}

@media (max-width: 980px) {
    .et_pb_column {
        margin-bottom: 0;
    }
}

/* Custom BG Image Module  */
.et_pb_module.et_pb_image_background {
    width: 100%;
    height: 100% !important;
    background-color: transparent !important;
}
.et_pb_module.et_pb_image_background .et_pb_image_background_wrap {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
}
.et_pb_module.et_pb_image_background .et_pb_image_background_wrap::before {
    /*visibility: none;*/
}
.mm-bgimg-default-height {
    min-height: 400px;
    height: auto;
}
.et_pb_module.et_pb_image_background.mm-bgimg-default-height .et_pb_image_background_wrap {
    height: 400px;
}
.mm-squared-cols .mm-bgimg-default-height {
    min-height: 50vw;
    /* height: 400px; */
}
.mm-squared-cols .et_pb_module.et_pb_image_background.mm-bgimg-default-height,
.mm-squared-cols .et_pb_module.et_pb_image_background.mm-bgimg-default-height .et_pb_image_background_wrap {
    height: 100%;
}
@media only screen and (max-width:980px) {
    .et_pb_module.et_pb_image_background .et_pb_image_background_wrap {
        min-height: 400px;
    }
}

/* Custom Programm Module */
.programm-row {
  display: flex;
}
.et_pb_programm,
.et_pb_programm_wrap {
  height: 100%;
}
.et_pb_programm_wrap {
  background-color: #fff;
  /*border: 3px solid #666;*/
  padding-bottom: 20px;
}
.et_pb_programm_wrap .et_pb_programm_title {
    font-size: 24px;
}
.et_pb_programm_wrap a {
  color: #666;
}
.et_pb_programm_wrap button,
dialog[open] button {
    margin-top: 1em;
    border: none;
    background-color: #666;
    color: #fff;
    border-radius: 0;
    padding: 0.3em 1em;
    font-size: 16px;
    line-height: 1.7em;
    cursor: pointer;
}
.et_pb_programm_wrap button:hover {
    background-color: #093F82;
}
.et_pb_programm_wrap .et_pb_programm_img {
  background-size: cover;
  background-position: 50% 50%;
  padding-bottom: 56.25%;
  /*width: calc(100% + 6px);
  position: relative;
  top: -3px;
  left: -3px;
  right: -3px;*/
}
.et_pb_programm_wrap .et_pb_programm_date {
  background: #666;
  color: #fff;
  padding: 4px 20px;
  /*margin: -3px 0 20px 0;*/
  margin-bottom: 20px;
}
.et_pb_programm_wrap .et_pb_programm_title,
.et_pb_programm_wrap .et_pb_programm_time,
.et_pb_programm_wrap .et_pb_programm_link,
.et_pb_programm_wrap .et_pb_programm_pdf,
.et_pb_programm_wrap .et_pb_programm_lightboxlink {
  padding: 0 20px;
  margin-bottom: 0;
}
@media only screen and (max-width:800px) {
  .programm-row {
    display: block;
  }
  .et_pb_programm {
    margin-bottom: 20px !important;
  }
}

/* Modal Dialog */
dialog:not([open]) {
  display: none;
}
dialog[open] {
  border: none;
  border-radius: 0;
  width: 90%;
}
dialog[open]::backdrop {
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(3px);
}
dialog[open] .et_pb_programm_title {
    font-size: 24px;
}
dialog[open] .et_pb_programm_img {
  height: 200px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  margin: -1em -1em 0 -1em;
}
dialog[open] .et_pb_programm_date {
    color: #fff;
    padding: 4px 1em;
    margin: 0 -1em 20px;
}
dialog[open] .et_pb_programm_leitung_foto {
  max-width: 200px;
}