/*
Theme Name:   Divi Child
Theme URI:    http://www.elegantthemes.com/gallery/divi/
Description:  A Divi Child Theme
Author:       Tramsen Media
Author URI:   https://tramsen.de
Template:     Divi
Version:      1.2.3
License:      GNU General Public License version 3.0
License URI:  http://www.gnu.org/licenses/gpl-3.0.html
Text Domain:  divi-child
Domain Path:  /languages
*/

/* For adding CSS rules to this file please use the .child class! */

/**
 * SPLIT SECTION FIX
 */

 @media screen and (max-width: 980px) {
  .child .split-section-fix .et_pb_column.et_pb_column_empty {
    display:block;
    min-height: 60vw;
  }

  .child .split-section-fix .et_pb_row:nth-child(2n) {
    display: flex;
    flex-direction: column-reverse;
  }

  .child .split-section-fix .et_pb_column {
    padding-left: 16%;
    padding-right: 16%;
  }

  .child .split-section-fix .et_pb_column .et_pb_text_align_right {
    text-align: left;
  }

    footer .et_pb_fullwidth_menu .et_pb_menu__menu, footer .et_pb_menu .et_pb_menu__menu {
        display: flex;
    }
     footer .et_pb_fullwidth_menu--style-left_aligned.et_pb_text_align_right .et_pb_menu__wrap,
     footer .et_pb_menu--style-left_aligned.et_pb_text_align_right .et_pb_menu__wrap {
         justify-content: flex-start;
     }
}

@media screen and (max-width: 767px) {
  .child .split-section-fix .et_pb_column {
    padding-left: 8%;
    padding-right: 8%;
  }
}

/**
 * THEME BUILDER HEADER FIX
 */
.child.et_fixed_nav.et_show_nav #main-header .et_pb_fullwidth_menu .et_pb_row,
.child.et_non_fixed_nav.et_show_nav #main-header .et_pb_fullwidth_menu .et_pb_row {
  margin-top: 0;
  margin-bottom: 0;
}

@media screen and (max-width: 980px) {
  .child.et_fixed_nav #main-header {
    position: fixed; /* Delete this if you don't want a fixed menu on mobile devices! */
  }
}

.child .et_pb_fullwidth_menu .et_pb_menu__search {
  padding: 0 2rem;
  background-color: #fff;
}

/* Fix the upper margin in the Template Builder */
.child header#main-header.et-fb-root-ancestor {
  top: 0 !important;
}

/* Fix the padding at the bottom in the Template Builder */
.child header#main-header #et_pb_root {
  padding-bottom: 0;
}
 