/*
Theme Name:   Divi-child-basic-v5 Theme
Theme URI:    -
Description:  Child Theme for BHP Basic Template Version 5
Author:       Röser MEDIA
Author URI:   -
Template:     Divi
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/
/* work-sans-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 400;
  src: url('https://roeser-webseiten.de/fonts/work-sans-v18-latin-regular.woff2') format('woff2'),
       url('https://roeser-webseiten.de/fonts/work-sans-v18-latin-regular.ttf') format('truetype');
}
/* work-sans-600 - latin */
@font-face {
  font-display: swap; 
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 600;
  src: url('https://roeser-webseiten.de/fonts/work-sans-v18-latin-600.woff2') format('woff2'),
       url('https://roeser-webseiten.de/fonts/work-sans-v18-latin-600.ttf') format('truetype');
}
/* libre-baskerville-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Libre Baskerville';
  font-style: normal;
  font-weight: 400;
  src: url('https://roeser-webseiten.de/fonts/libre-baskerville-v14-latin-regular.woff2') format('woff2'),
       url('https://roeser-webseiten.de/fonts/libre-baskerville-v14-latin-regular.ttf') format('truetype');
}
/* libre-baskerville-700 - latin */
@font-face {
  font-display: swap;
  font-family: 'Libre Baskerville';
  font-style: normal;
  font-weight: 700;
  src: url('https://roeser-webseiten.de/fonts/libre-baskerville-v14-latin-700.woff2') format('woff2'),
       url('https://roeser-webseiten.de/fonts/libre-baskerville-v14-latin-700.ttf') format('truetype');
}
:root {
  --colorSubmitButton:#44a1a0;
  --colorSubmitButtonHover:#247b7b;
  --colorNavigationActive:#ddf1f2;
  --fontDefault:'Work Sans',sans-serif;
  --fontHeader:'Libre Baskerville',serif;
  --fontETmodules:'ETmodules';
}

/* General Styling */
* {
  margin: 0;
  padding: 0;
}
#page-container, #main-header {
  max-width: 1920px;
  margin-inline: auto;
}
body{
  font-family:var(--fontDefault);
  font-weight:normal;
  word-wrap: unset; 
}
h1, h2, h3, h4{
  font-family:var(--fontHeader);
}
p + h2, p + h3, p + h4, p + h5, p + h6, h1 + div h2:first-child {
  padding-top: 1.4em;
}
#main-content a:not(.et_pb_button){
  text-decoration: underline;
}
#main-content a.et_pb_button, #main-content a.et-pb-arrow-next, #main-content a.et-pb-arrow-prev{
  text-decoration: none;
}
p:not(.has-background):last-of-type + ul {
  padding-top: 1em;
}
p:not(.has-background):last-of-type + ul {
  padding-top: 1em;
}
.mobile_menu_bar::before {
  top: -10px;
}
#top-menu a, #et_mobile_nav_menu a{
  font-family: var(--fontHeader);
  position: relative;
}
#top-menu a.ds-menu-active {
  text-decoration: underline;
  text-underline-offset: 12px;
  text-decoration-color: var(--colorNavigationActive);
  text-decoration-thickness: 2px;
}
/* Slider Styles */
.et-pb-controllers a{
  border-radius: 50px;
    width: 15px;
    height: 15px;
    margin-right: 28px;
}
.et-pb-arrow-prev, .et-pb-arrow-next{
  opacity: .7;
}
.et-pb-arrow-prev{
  left: 22px;
}
.et-pb-arrow-next{
  right: 22px;
}
/* Footer */
#et-footer-nav .bottom-nav li.current-menu-item a, .widget_nav_menu li.current-menu-item a, #menu-sekundaer li.current-menu-item a, #et-secondary-nav li.current-menu-item a{
  text-decoration: underline;
}
/* Contact Form */
input[type="submit"], .wpcf7-submit, button[type=submit]{
  text-transform:uppercase;
  background:var(--colorSubmitButton) !important;
  color: #fff;
  border-color:var(--colorSubmitButton) !important;
  border-radius: 0;
  padding: .6em 1.3em;
  cursor: pointer;
  max-width: 250px;
}
input[type="submit"]:hover, .wpcf7-submit:hover, button[type=submit]:hover{
  background:var(--colorSubmitButtonHover) !important;
  border-color:var(--colorSubmitButtonHover) !important;
}
#menu-footer-menue, #footer-info{
  text-align: center;
  margin: auto;
  float: none;
}