/*
Theme Name:   Child-Theme-Roeser-Basic
Description:  Child Theme for Röser Websites
Author:       Röser Medienhaus
Author URL:   https://www.roeser-medienhaus.de/
Template:     Divi
Version:      1.0.0
License:      GNU General Public License v2 or later
License URL:  http://www.gnu.org/licenses/gpl-2.0.html
*/

/* general styles */
* {
  margin: 0;
  padding: 0;
}
:root {
  --fontDefault:sans-serif;
  --fontHeader:sans-serif;
  --fontETmodules:'ETmodules';
}
body{
  font-family:var(--fontDefault);
}
h1, h2, h3, h4, h5, h6{
  font-family:var(--fontHeader);
}
p + h2, p + h3, p + h4, p + h5, p + h6, h1 + div h2:first-child, #cmplz-cookies-overview + h2, #cmplz-manage-consent-container + h2 {
  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;
}
/* Menü Styles */
#et-secondary-nav li.current-menu-item a{
  text-decoration: underline !important;
}
.et_mobile_menu li > .sub-menu > li > a{
  font-family:var(--fontDefault) !important;
}
/* Content Styles */
#main-content .et_pb_column .et_pb_widget {
  clear: both;
  margin-bottom: 0 !important;
  width: 100%;
}
@media screen and (max-width:980px){
  .et_pb_widget.widget_nav_menu ul li{
    float: left;
    margin-right: 1em;
  }
  .et_pb_widget.widget_nav_menu ul li:last-of-type{
    margin-right: 0;
  }
  .swap-on-mobile {
      display: flex !important;
      flex-direction: column-reverse;
  }
  .swap-on-mobile .et_pb_column{
    margin-bottom: 30px !important;
  }
}
/* equal-height */
@media (min-width: 981px) {
  .equal-height .et_pb_column{
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}
/* Slider Styles */
.et-pb-controllers a, [class*=dipi_] .swiper-pagination .swiper-pagination-bullet{
  border-radius: 50px;
    width: 15px;
    height: 15px;
    margin-right: 28px;
    opacity: 1;
}
.et-pb-arrow-prev, .et-pb-arrow-next{
  opacity: 1;
}
.et-pb-arrow-prev{
  left: 22px;
}
.et-pb-arrow-next{
  right: 22px;
}
/* Footer Styles */
#et-footer-nav .bottom-nav li.current-menu-item a, .widget_nav_menu li.current-menu-item a{
  text-decoration: underline !important;
}
#footer-bottom{
  display: none;
}
footer .et_pb_widget{
  width: 100%;
  margin-bottom: 1em !important;
}
/* Contact Form Styles */
/*div.wpforms-container-full button[type=submit]:not(:hover):not(:active){
  background-color: var(--colorSubmitButton) !important;
}
div.wpforms-container-full button[type=submit]:hover{
  background-color: var(--colorSubmitButtonHover) !important;
}*/
/* PLZ-Feld vor Ort ziehen */
.wpforms-field-address .wpforms-field-row:nth-of-type(2) {
    float: right;
    max-width: 50%;
    width: 50%;
}
.wpforms-field-address .wpforms-field-row:last-of-type {
    float: left;
    max-width: 50%;
    width: 50%;
}
.wpforms-field-address .wpforms-field-row:nth-of-type(2) .wpforms-one-half.wpforms-first {
    padding-left: 10px;
}
.wpforms-field-address .wpforms-field-row:nth-of-type(2) .wpforms-one-half, 
.wpforms-field-address .wpforms-field-row:last-of-type .wpforms-one-half {
    max-width: 100%;
    width: 100%;
}