/*
Theme Name:   Divi-child-basic-v1 Theme
Description:  Child Theme for BHP Basic Template 1
Author:       Röser MEDIA
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
*/

/* nunito-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  src: url('https://roeser-webseiten.de/fonts/nunito-v23-latin-regular.woff2') format('woff2'), 
       url('https://roeser-webseiten.de/fonts/nunito-v23-latin-regular.ttf') format('truetype');
}
/* nunito-600 - latin */
@font-face {
  font-display: swap; 
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 600;
  src: url('https://roeser-webseiten.de/fonts/nunito-v23-latin-600.woff2') format('woff2'),
       url('https://roeser-webseiten.de/fonts/nunito-v23-latin-600.ttf') format('truetype'); 
}
/* yeseva-one-regular - latin */
@font-face {
  font-display: swap; 
  font-family: 'Yeseva One';
  font-style: normal;
  font-weight: 400;
  src: url('https://roeser-webseiten.de/fonts/yeseva-one-v22-latin-regular.woff2') format('woff2'),
       url('https://roeser-webseiten.de/fonts/yeseva-one-v22-latin-regular.ttf') format('truetype'); 
}

/* General Styling */
* {
  margin: 0;
  padding: 0;
}
:root {
  --colorSubmitButton:#fcfaee;
  --colorSubmitButtonHover:#395647;
  --colorNavigationActive:#537953;
  --fontDefault:'Nunito',sans-serif;
  --fontHeader:'Yeseva One', serif;
  --fontETmodules:'ETmodules';
}
#page-container, #main-header {
  margin-inline: auto;
}
body, #cmplz-document p{
  font-family:var(--fontDefault);
  word-wrap: unset; 
}
/* font styles */
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;
}
/* menu styles */
@media screen and (max-width:980px){
  .et_menu_container{
    width:90%;
  }
}
#top-menu li a.ds-menu-active, #et_mobile_nav_menu li a.ds-menu-active{
  text-decoration: underline;
  text-underline-offset: 12px;
  text-decoration-color: var(--colorNavigationActive);
  text-decoration-thickness: 2px;
}
@media (max-width:600px) {
  .container, .et_pb_row {
    width: 90%;
  }
}
/* content styles */
.et_pb_gutters3.et_pb_row .et_pb_column_1_2 .et_pb_widget{
  width: 100%;
  margin-right: initial;
  margin-bottom: initial;
}

/* 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;
}
/* 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);
}
#et-footer-nav .bottom-nav li.current-menu-item a{
  text-decoration: underline;
}