/*
 Theme Name:   Divi-Child Theme Häfner
 Theme URI:    -
 Description:  Zusätzliche Email-Adresse in der Adressleiste
 Author:       -
 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
*/

/*
Reset / Defaults
**********************************/

#page-container {
  max-width: 1920px;
  margin-left: auto;
  margin-right: auto;
}

a:hover,
.et_pb_widget a {
  text-decoration: underline;
}

.et_pb_button:hover {
  text-decoration: none;
}

iframe {
  display: block;
}

@media (max-width: 600px) {
  img.alignleft,
  img.alignright {
    float: none;
    display: block;
    margin: 10px auto;
  }
}

.mfp-title {
  display: none !important;
}

#main-content .container {
  padding-bottom: 58px;
}

#footer-bottom {
  display: none;
}

h2,
h3,
h4,
h5,
h6 {
  padding-top: 0.5em;
  padding-bottom: 1em;
}

hr {
  border: 0;
  height: 1px;
  border-top: 1px solid #dddddd;
  margin: 2em 0;
}

/* Google Maps */
iframe[src*="https://www.google.com/maps"] {
  width: 100%;
}

/* Navigation */

#et-info-email:hover,
#et-secondary-menu > ul > li > a:hover,
#top-menu-nav > ul > li > a:hover,
.et-social-icons a:hover,
#top-menu a {
  -webkit-transition: all 0.1s ease-in-out;
  -moz-transition: all 0.1s ease-in-out;
  transition: all 0.1s ease-in-out;
}

/* Mobile Menü Button über ganze Breite klickbar machen*/
@media (max-width: 980px) {
  .et_header_style_centered .mobile_menu_bar {
    width: 100%;
    text-align: right;
  }
}

/* Dropdown Menü */

.nav li ul {
  padding: 15px 0;
  -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

#top-menu li li {
  display: block;
  padding: 0;
}

#top-menu li li a {
  width: 100%;
}

/* Headers */

@media (max-width: 767px) {
  section:not(.et_pb_fullscreen).et_pb_fullwidth_header {
    padding: 20px;
  }
}

/* Blurb Module */

.et_pb_blurb_content h2,
.et_pb_blurb_content h3,
.et_pb_blurb_content h4,
.et_pb_blurb_content h5,
.et_pb_blurb_content h6 {
  padding-top: 0em;
  padding-bottom: 0.5em;
}

/* Sidebar / Widgets */

@media (max-width: 980px) {
  #sidebar {
    padding-top: 28px;
  }
}

.et_pb_widget {
  margin-bottom: 0 !important;
  margin-top: 18.54%;
}
.et_pb_widget:first-child {
  margin-top: 0;
}

/* WP Core Gallery */

.gallery {
  margin: auto -15px !important;
}

.gallery-item {
  margin-bottom: 15px;
  padding-left: 15px;
  padding-right: 15px;
}

@media (max-width: 767px) {
  .gallery-item {
    width: 100% !important;
    float: none !important;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Form */

/* Label antsatt placeholder setzen */

::-webkit-input-placeholder {
  /* WebKit browsers */
  color: transparent;
}
:-moz-placeholder {
  /* Mozilla Firefox 4 to 18 */
  color: transparent;
}
::-moz-placeholder {
  /* Mozilla Firefox 19+ */
  color: transparent;
}
:-ms-input-placeholder {
  /* Internet Explorer 10+ */
  color: transparent;
}

textarea::-webkit-input-placeholder {
  /* WebKit browsers */
  color: transparent;
}
textarea:-moz-placeholder {
  /* Mozilla Firefox 4 to 18 */
  color: transparent;
}
textarea::-moz-placeholder {
  /* Mozilla Firefox 19+ */
  color: transparent;
}
textarea:-ms-input-placeholder {
  /* Internet Explorer 10+ */
  color: transparent;
}

.et_pb_contact_form_label {
  display: block;
  text-align: left;
  width: auto;
}

.et_pb_contact_field_options_wrapper .et_pb_contact_field_options_title {
  display: none;
}

label {
  width: auto;
}

/* contact-message  */

@media screen and (min-width: 1281px) {
  .et-pb-contact-message {
    position: fixed;
    left: 0;
    bottom: 0;
    background: #d20000;
    color: #fff;
    font-size: 16px;
    line-height: 1.2em;
    z-index: 10000000;
  }
  .et-pb-contact-message p {
    padding: 20px;
  }
  .et-pb-contact-message ul {
    padding: 0 20px 10px 30px;
  }
  .et-pb-contact-message ul {
    line-height: 1.2em;
  }
}

p[data-id="trenner"] {
  border-top: 1px solid;
  margin-left: 3%;
}

p[data-id="trenner"] label,
p[data-id="trenner"] input {
  display: none;
}
