/*
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, h1 + h2  {
  padding-top: 1.4em;
}
p:not(.has-background):last-of-type + ul {
  padding-top: 1em;
}
.mobile_menu_bar::before {
  top: -10px;
}
#main-content a:not(.et_pb_button), #footer-widgets .footer-widget a{
  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;
}
#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;
}
#et-footer-nav .bottom-nav li.current-menu-item a, .widget_nav_menu li.current-menu-item a, #footer-widgets .footer-widget li.current-menu-item a{
  text-decoration: underline;
}
/* Contact Form 7 / cf7 */
input[type="email"], input[type="tel"], input[type="text"], input[type="submit"], textarea, select{
  padding: 8px 12px;
  border:1px solid var(--colorSubmitButton);
  background:#fbfbfb;
  width: 100%;
}
input[type="email"]:focus, input[type="tel"]:focus, input[type="text"]:focus, textarea:focus, select:focus{
  border-color: var(--colorSubmitButtonHover);
}
input[type="email"], input[type="tel"], input[type="text"], select{
  height: 3em;
}
input[type="checkbox"], .wpcf7-list-item-label{
  float: left;
}
input[type="checkbox"]{
  margin-top:5px;
}
form label{
  font-size:1em;
}
form a{
  text-decoration: underline;
}
input[type="submit"], .wpcf7-submit{
  text-transform:uppercase;
  background:var(--colorSubmitButton);
  color: #fff;
  border-color:var(--colorSubmitButton);
  width: 250px;
  padding: .6em 1.3em;
  cursor: pointer;
  font-weight: 600;
}
input[type="submit"]:hover, .wpcf7-submit:hover{
  background:var(--colorSubmitButtonHover);
  border-color:var(--colorSubmitButtonHover);
}
input.wpcf7-not-valid, textarea.wpcf7-not-valid{
  border: 1px solid #dc3232;
}
.wpcf7-not-valid-tip{
  color:#dc3232;
}
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.sent .wpcf7-response-output{
  border-color: var(--colorSubmitButton);
  background:var(--colorSubmitButton);
  text-align: center;
  font-size: clamp(1.125rem, 1.0823rem + 0.2439vw, 1.375rem);
  font-weight: 600;
  color:#fff;
}
.wpcf7-form .row{
  clear: both;
  float: left;
  display: block;
  width: 100%;
}
.wpcf7-form .row .col{
  margin-bottom: 8px;
}
.wpcf7-form label span.wpcf7-form-control-wrap{
  display: block;
}
.wpcf7-list-item{
  margin-left:0;
}
.wpcf7-list-item-label{
  width: calc(100% - 54px);
  margin-left: 16px;
}
@media screen and (min-width:768px){
    .wpcf7-form .row{
      margin-bottom: 16px;
  }
  .wpcf7-form .row .row{
    margin-bottom:6px;
  }
  .wpcf7-form .row .col-md-6{
    width: calc(50% - 14px);
    margin-right:28px; 
    float:left;
  }
  .wpcf7-form .row .col-md-6.mr-0{
      margin-right: 0;
    }
    .wpcf7-form .row .col.mb-md-3{
    margin-bottom: 1.3em;
    }
}
@media screen and (min-width:981px){
  .wpcf7-form .row .col-lg-12{
    width:100%;
    clear:both;
    margin-right: 0;
    margin-bottom: 16px;
  }
  .wpcf7-form .row .col-lg-6{
    width: calc(50% - 30px);
    margin-right: 60px; 
    float:left;
    }
    .wpcf7-form .row .col-lg-6.mr-0{
    margin-right: 0;
    }
  .wpcf7-form .row .col.mb-lg-3{
    margin-bottom: 0;
    }
  textarea{
    height:200px;
  }
}
#menu-footer-menue, #footer-info{
  text-align: center;
  margin: auto;
  float: none;
}