/*
 Theme Name:     Divi Child-Theme
 Theme URI:      http://www.elegantthemes.com
 Description:    Divi Child-Theme
 Author:         Divi.world
 Author URI:     https://divi.world
 Template:       Divi
 Version:        1.0.0
*/

/* Header */

#main-header {
  -moz-box-shadow: none !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}

#logo {
  -webkit-transform: none !important;
}

/* Links */

footer a:hover,
#et-main-area a:hover {
  text-decoration: underline;
}

#et-main-area a.et_pb_button:hover {
  text-decoration: none;
}

/* Header on Startpage */

.home #logo {
  filter: brightness(100);
  -webkit-filter: brightness(100);
  -moz-transition: none;
  -webkit-transition: none;
  -o-transition: none;
  transition: none;
}

.home .et-fixed-header #logo {
  filter: brightness();
  -webkit-filter: brightness();
}

.home .mobile_menu_bar::before {
  color: #fff;
}

.home #main-header.et-fixed-header {
  background-color: #ffffff;
}

.home #main-header {
  background-color: rgba(255, 255, 255, 0);
}

.home #top-menu li.current-menu-item > a,
.home #top-menu li > a {
  color: #fff;
}

.home #top-menu.et-fixed-header li.current-menu-item > a {
  color: #007aff;
}

.home #top-menu.et-fixed-header li > a {
  color: #66676d;
}

/* Header Infotext */

#et-info {
  float: none;
  text-align: center;
}

#et-info a {
  display: none;
}

#et-info-phone {
  margin-right: 0;
  text-transform: uppercase;
}

#et-info-phone::before {
  content: "";
  top: initial;
  margin-right: initial;
}

/* Buttons */

.et_pb_button:hover:after {
  margin-left: 0.6em !important;
}

/* Footer */

.footer-nav_separator {
  padding: 0 7px;
}

/* Supporter on Startpage */

.home .supporter .et_pb_column {
  margin: 0;
}

/* Top Menu */

#main-header #top-menu a,
.et_slide_in_menu_container .et_mobile_menu a {
  transition: color 0.1s;
}

#main-header.et-fixed-header #top-menu a.ds-menu-active,
.et_slide_in_menu_container .et_mobile_menu a.ds-menu-active {
  color: #007aff !important;
}

#et-top-navigation {
  font-weight: 500;
}

#top-menu li {
  padding-right: 18px;
}

/* Table */

#field-trial-table {
  border: none;
  padding: 6px 0;
}

#field-trial-table tr td {
  border-top: 1px solid #00487a !important;
}

#field-trial-table tr:first-child td {
  border-top: none !important;
}

#field-trial-table .field-trial-table_row-1 {
  padding: 6px 5.5% 6px 0;
  width: 35.1667%;
  font-weight: bold;
  vertical-align: top;
}

#field-trial-table .field-trial-table_row-2 {
  padding: 6px 0;
  width: 64.8333%;
  vertical-align: top;
}

@media all and (max-width: 767px) {
  #field-trial-table .field-trial-table_row-1 {
    padding: 6px 0 3px;
    width: 100%;
    display: block;
    border-top: 1px solid #00487a !important;
  }
  #field-trial-table .field-trial-table_row-2 {
    padding: 0 0 6px;
    width: 100%;
    display: block;
    border-top: none !important;
  }
}

/* Text Parallax Section */

.et_pb_fullscreen .et_pb_fullwidth_header_container {
  max-width: 1280px;
}

/* Text Parallax Section */

.et_pb_section_parallax .text-parallax .et_pb_text_inner {
  width: 200%;
}
.et_pb_section_parallax {
  overflow: hidden;
}

/* Counter */

#counter_route .percent-value::after {
  content: " km";
}

#counter_deep .percent-value::after {
  content: " cm";
}

#counter_distance .percent-value::after {
  content: " cm";
}

/* Gallery */

.et_pb_gallery .et_pb_gallery_item {
  width: 29.6667% !important;
  margin-right: 5.5% !important;
  clear: none !important;
}
.et_pb_gallery .et_pb_gallery_item:nth-child(3n + 3) {
  width: 29.6667% !important;
  margin-right: 0% !important;
  clear: none !important;
}

.mfp-bg {
  background-color: #007aff !important;
}

/* Nesting Menu */

/* when mobile menu is open, change hamburger icon to x icon */
#et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar::before {
  content: "\4d";
}
/* makes sub sub menu icon be right arrow instead of down arrow */

#top-menu
  .menu-item-has-children
  .menu-item-has-children
  > a:first-child::after,
#et-secondary-nav
  .menu-item-has-children
  .menu-item-has-children
  > a:first-child::after {
  content: "5";
}
/* - mobile menu toggling elements, injected via jQuery - */
/* make menu list item be relative, to be able to position toggle within this item */

#main-header #mobile_menu.et_mobile_menu .menu-item-has-children {
  position: relative;
}
/* the new toggle element, which is added via jQuery */

#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.2);
  z-index: 1;
  width: 36px;
  height: 36px;
  line-height: 36px;
  border-radius: 50%;
  top: 35px;
  right: 30px;
  cursor: pointer;
  text-align: center;
  -webkit-box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.1);
}
/* the new toggle element when popped */

#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped {
  background-color: rgba(255, 255, 255, 0.2);
}
/* toggle icon */

#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle::before {
  font-family: "ETmodules" !important;
  font-weight: normal;
  font-style: normal;
  font-variant: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 36px;
  font-size: 24px;
  text-transform: none;
  speak: none;
  content: "\33";
  color: #fff;
}
/* toggle icon when triggered */

#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped::before {
  content: "\32";
}
/* hide sub menus by default */

#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle ~ ul.sub-menu {
  display: none !important;
  padding-left: 0;
}
/* show sub menu when triggered via jQuery toggle, and add slight bg color */

#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped ~ ul.sub-menu {
  display: block !important;
}
/* remove sub menu list item left padding, since padding will be on anchors */

#main-header #mobile_menu.et_mobile_menu li li {
  padding-left: 0;
}
/* adjust mobile menu anchors side paddings */

#main-header #mobile_menu.et_mobile_menu li a {
  padding-left: 20px;
  padding-right: 20px;
}
/* indent sub sub menus further */

#main-header #mobile_menu.et_mobile_menu li li li a {
  padding-left: 60px;
  padding-right: 20px;
}

#main-header #mobile_menu.et_mobile_menu .menu-item-has-children > a {
  background-color: transparent;
  font-weight: inherit;
}
/* make the current page's mobile menu link be different */

#main-header #mobile_menu.et_mobile_menu li.current-menu-item > a {
  font-weight: bolder;
}

/****** Code Style: Menu Full-screen ******/

/* Font Awesome */
.fa {
  margin: 10px;
}

@media screen and (max-width: 980px) {
  .et_header_style_centered #main-header {
    position: fixed;
  }
  .et_header_style_centered #main-header .mobile_nav {
    background-color: transparent;
  }
  .mobile_nav.closed .select_page {
    display: none;
  }
  .et-fixed-header#main-header {
    background-color: transparent !important;
  }
}
.et_mobile_menu {
  top: 0;
  left: 0;
  position: fixed;
  z-index: 9998;
  overflow: scroll !important;
  background-color: rgba(0, 122, 255, 1) !important;
  margin-left: -30px;
  padding: 35% 0 0;
  height: 100%;
  width: calc(100% + 60px);
  border-top: none;
}
.et_mobile_menu li a {
  text-align: center;
  font-size: 1.55em;
  border: 0;
  padding: 5% 0;
  color: #fff !important;
}

.mobile_nav ul#mobile_menu .current_page_item > a {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.1);
}
.mobile_nav ul#mobile_menu li ul li a {
  font-size: 1.05em !important;
  margin: auto;
  padding-top: 0.2em;
}
.et_mobile_menu li a:hover {
  color: #999;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
.mobile_nav.opened .mobile_menu_bar:before {
  content: "\4d";
  z-index: 9999;
  color: #fff;
}

/*** Responsive Styles Large Desktop And Above ***/
@media all and (min-width: 1405px) {
}

/*** Responsive Styles Standard Desktop Only ***/
@media all and (min-width: 1100px) and (max-width: 1405px) {
}

/*** Responsive Styles Standard Desktop Only ***/
@media all and (min-width: 981px) {
}

/*** Responsive Styles Tablet And Below ***/
@media all and (max-width: 980px) {
  .mobile-hidden {
    display: none !important;
  }

  #et-info {
    font-size: 12px !important;
  }

  .et_pb_image_0_tb_footer,
  .et_pb_image_1_tb_footer {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/*** Responsive Styles Tablet Only ***/
@media all and (min-width: 768px) and (max-width: 980px) {
}

/*** Responsive Styles Smartphone Only ***/
@media all and (max-width: 767px) {
}

/*** Responsive Styles Smartphone Portrait ***/
@media all and (max-width: 479px) {
}

/* Manual added in statification */

#main-header .nav li ul.sub-menu {
  background-color: #fff !important;
}

#main-header .nav li ul.sub-menu a {
  color: #66676d;
}

.et_pb_text_16 h4 {
  font-size: 24px;
  color: #ffffff !important;
  line-height: 1.5em;
}
