/*
Theme Name:   Divi-child-basic-v8 Theme
Theme URI:    -
Description:  Child Theme for BHP Basic Template Version 8
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
*/

/* libre-franklin-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 400;
  src: url('https://roeser-webseiten.de/fonts/libre-franklin-v13-latin-regular.woff2') format('woff2'),
       url('https://roeser-webseiten.de/fonts/libre-franklin-v13-latin-regular.ttf') format('truetype');
}
/* libre-franklin-600 - latin */
@font-face {
  font-display: swap;
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 600;
  src: url('https://roeser-webseiten.de/fonts/libre-franklin-v13-latin-600.woff2') format('woff2'),
       url('https://roeser-webseiten.de/fonts/libre-franklin-v13-latin-600.ttf') format('truetype');
}
/* marcellus-regular - latin */
@font-face {
  font-display: swap; 
  font-family: 'Marcellus';
  font-style: normal;
  font-weight: 400;
  src: url('https://roeser-webseiten.de/fonts/marcellus-v13-latin-regular.woff2') format('woff2'), 
       url('https://roeser-webseiten.de/fonts/marcellus-v13-latin-regular.ttf') format('truetype');
}

:root {
  --colorSubmitButton:#2e3140;
  --colorSubmitButtonHover:#8c4660;
  --colorNavigationActive:#8c4660;
  --fontDefault:'Libre Franklin',sans-serif;
  --fontHeader:'Marcellus',sans-serif;
  --fontETmodules:'ETmodules';
}
/* General Styling */
* {
  margin: 0;
  padding: 0;
}
body{
  font-family:var(--fontDefault);
  font-weight:normal;
}
#page-container, #main-header {
 /* max-width: 1920px;*/
  margin-inline: auto;
}
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;
}

/*menu styles */
#top-menu a.ds-menu-active, #mobile_menu li a.ds-menu-active{
    text-decoration: underline;
    text-underline-offset: 12px;
    text-decoration-color: var(--colorNavigationActive);
    text-decoration-thickness: 2px;
}
/*menu styles */
span.logo_helper{
  display: none;
}
@media screen and (min-width:981px){
  .et_header_style_centered .et-fixed-header #logo {
      max-height: 90%;
    /*  margin-top: 12px;*/
  }
}
@media screen and (max-width:980px){
  .et_header_style_centered header#main-header .logo_container #logo{
      margin-top: 6px !important;
      float: left;
  }
  .et_header_style_centered header#main-header.et-fixed-header .et_menu_container .logo_container.logo_container{
    height: 100% !important;
  }
  .et_header_style_centered span.logo_helper{
    display: none;
  }
 .et_header_style_centered #main-header#main-header #et-top-navigation {
    padding-top: 12px !important;
  }
}

/* content styles */
.entry-content ul{
  line-height: 1.7em;
}
@media screen and (max-width:980px){
  .swap-on-mobile {
      display: flex !important;
      flex-direction: column-reverse;
  }
  .swap-on-mobile .et_pb_column_1_2{
    margin-bottom: 0;
  }
  .swap-on-mobile .et_pb_column_1_2.et-last-child{
    margin-bottom: 30px;
  }
}
@media screen and (min-width:769px){
  .col-2 ul{
    column-count:2;
    column-gap:8%;
  }
}
@media screen and (min-width:981px){
  .col-2 ul{
    column-gap:5%;
    margin-top: 12px
  }
}
/* 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 styles */
#menu-footer-menue{
  text-align: center;
}
form a{
  text-decoration: underline;
  font-weight: 600;
}
#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, #footer-widgets .footer-widget .textwidget a{
  text-decoration: underline !important;
}
/* contact form */
div.wpforms-container-full button[type=submit]:not(:hover):not(:active){
  background-color: var(--colorSubmitButton);
}
div.wpforms-container-full button[type=submit]:hover{
  background-color: var(--colorSubmitButtonHover);
}
div.wpforms-container-full .wpforms-field-sublabel, .wp-core-ui div.wpforms-container-full .wpforms-field-sublabel,
div.wpforms-container-full .wpforms-field-description, div.wpforms-container-full .wpforms-field-limit-text, .wp-core-ui div.wpforms-container-full .wpforms-field-description, .wp-core-ui div.wpforms-container-full .wpforms-field-limit-text{
    color: #000;
}