/*
  Theme Name:     Divi Child
  Theme URI:      https://www.elegantthemes.com/gallery/divi/
  Description:    Divi Child Theme
  Author:         Web Coast Agency
  Author URI:     https://webcoastagency.com
  Template:       Divi
  Version:        1.0.3
*/
  
  
/* =Theme customization starts here
  ------------------------------------------------------- */


/* Mega Menus
  ------------------------------------------------------- */
/* Add Mega Menu background color */
.divimegapro-container .et_pb_section {
  background-color: #1C1E20 !important;
}
.divimegapro-body .et_pb_section {
  padding: 20px !important;
	background-color: #1C1E20 !important;
}
.divimegapro-body .et_pb_row {
  max-width: none;
  width: 100%;
  padding-left: 40px !important;
  padding-right: 40px !important;
}
.divimegapro-body img {
  filter: brightness(50%);
  transition: .2s all;
  width: 100%;
	height: 100px;
	object-fit: cover;
}

.divimegapro-body img:hover {
  filter: brightness(70%);
}

/* Navigation Bar
  ------------------------------------------------------- */
/* Reduce right padding on menu item */
#top-menu li {
  padding-right: 10px;
}
/* Add bottom bar active & hover effect on menu item */
#top-menu .current-menu-item a::before,
#top-menu .current_page_item a::before {
  content: "";
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
}
#top-menu li a:before {
  content: "";
  position: absolute;
  z-index: -2;
  left: 0;
  right: 100%;
  bottom: 0;
  background: #F43A3A; /*** COLOR OF THE LINE ***/
  height: 5px; /*** THICKNESS OF THE LINE ***/
  -webkit-transition-property: right;
  transition-property: right;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
#top-menu li a:hover {
  opacity: 1 !important;

}
#top-menu li a:hover:before {
  right: 0;
  background:  #f43a3a74;
}
#top-menu li li a:before {
  bottom: 10%;
}

/* Sections display based on language
  ------------------------------------------------------- */
/* Image display on slide */
.et_pb_slide_content img {
  object-fit: cover;
  width: 100%;
  height: 40vh;
}

/* Sections display based on language
  ------------------------------------------------------- */
/* FR Language */
html[lang="fr-FR"] #en-footer,
html[lang="fr-FR"] #es-footer,
html[lang="fr-FR"] #de-footer,
html[lang="fr-FR"] #en-news,
html[lang="fr-FR"] #es-news,
html[lang="fr-FR"] #de-news {
  display: none !important;
}

/* EN Language */
html[lang="en-GB"] #fr-footer,
html[lang="en-GB"] #es-footer,
html[lang="en-GB"] #de-footer,
html[lang="en-GB"] #fr-news,
html[lang="en-GB"] #es-news,
html[lang="en-GB"] #de-news {
  display: none !important;
}

/* ES Language */
html[lang="es-ES"] #fr-footer,
html[lang="es-ES"] #en-footer,
html[lang="es-ES"] #de-footer,
html[lang="es-ES"] #fr-news,
html[lang="es-ES"] #en-news,
html[lang="es-ES"] #de-news {
  display: none !important;
}

/* FR Language */
html[lang="de-DE"] #fr-footer,
html[lang="de-DE"] #en-footer,
html[lang="de-DE"] #es-footer,
html[lang="de-DE"] #fr-news,
html[lang="de-DE"] #en-news,
html[lang="de-DE"] #es-news {
  display: none !important;
}