/* 
 Theme Name:     Divi-BRS
 Author:         StorkWEB
 Author URI:     https://www.storkweb.fr 
 Template:       Divi
 Version:        1.0 
*/

h3 {
  font-size: 30px;
}
h4 {
  font-size: 26px;
}
h5 {
  font-size: 22px;
}
a:hover {
  text-decoration: underline !important;
}

.fa {
  font-family: FontAwesome !important;
}
.et_pb_social_media_follow li a.icon::before {
  color: #ffffff !important;
  border: none !important;
}
#main-header {
  z-index: 99997;
}

#top-header {
  z-index: 99998;
}

#mega-menu-wrap-primary-menu
  #mega-menu-primary-menu
  > li.mega-menu-item
  > a.mega-menu-link {
  border: 0;
}
#mega-menu-wrap-primary-menu
  #mega-menu-primary-menu
  > li.mega-menu-flyout
  ul.mega-sub-menu
  li.mega-menu-item
  a.mega-menu-link {
  line-height: 18px;
  padding: 10px 10px;
}
.et_pb_row_cpt {
  display: flex;
  -ms-display: flex;
  -webkit-display: flex;
  flex-wrap: wrap;
}
.et_pb_row_cpt .et_pb_row {
  height: 100%;
}
.et_pb_column_0 {
  padding-bottom: 0 !important;
}

#footer-bottom .container,
#main-footer .container {
  margin-right: 2.773%;
  margin-left: 2.773%;
  width: 94.454% !important;
  max-width: 94.454%;
}

#main-footer .fwidget.et_pb_widget {
  width: 100% !important;
  max-width: 100% !important;
}

#footer-widgets {
  padding-top: 0;
}

.footer-widget {
  margin-bottom: 0 !important;
}

#main-footer h6 {
  color: #b2b2b2;
  font-weight: 900;
}

#main-footer li {
  padding-left: 0 !important;
  margin-bottom: 0 !important;
}

#main-footer li::before {
  position: absolute;
  top: 0 !important;
  border-width: 0 !important;
  border-style: none !important;
  border-radius: 0 !important;
  -webkit-border-radius: 0 !important;
  -moz-border-radius: 0 !important;
  border-radius: 0 !important;
}

.address {
  position: relative;
}

.address::before {
  position: absolute;
  left: -50px;
  top: 8px;
  font-family: dashicons;
  font-size: 48px;
  content: "\f230";
}

#et-secondary-menu {
  /*float: left;*/
  padding-top: 10px;
}

#et-secondary-nav li {
  padding: 5px 5px 0 5px;
  width: auto;
  text-align: center;
}

#top-header .container {
  padding-top: 0;
  font-weight: 400;
}

.sb_pb_modal_button::after {
  padding: 0;
}

.sb_pb_modal_button::after {
  content: "\f144";
  font-family: FontAwesome;
  color: #fff;
  font-size: 100px !important;
  line-height: 1.8em;
  opacity: 1;
}

#top-menu li a {
  text-align: center;
  padding-left: 22px;
  padding-top: 22px;
}

#top-menu li.menu-item-has-children > a::after {
  top: 22px !important;
}

#top-menu li.current_page_item a {
  font-weight: 900;
}

#top-menu li.current-menu-ancestor,
#top-menu li.current_page_item {
  background-color: #0076d2 !important;
  border-radius: 10px 10px 10px 10px;
}

#top-menu li:hover {
  background-color: #0076d2;
  border-radius: 10px 10px 10px 10px;
}

#top-menu li.menu-item-has-children:hover {
  background-color: #0076d2;
  border-radius: 10px 10px 0 0;
}

#top-menu li:hover a {
  color: #fff !important;
}

@media (min-width: 981px) {
  .et-dropdown-removing > ul {
    display: block !important;
  }
}

.nav li:hover ul {
  transition: all 0.4s ease-in-out 0s !important;
}

.nav li ul {
  transition: all 0.4s ease-in-out 0.8s !important;
}

.et_fullwidth_nav #top-menu li.mega-menu > ul {
  right: 0px !important;
  left: 0px !important;
  width: auto;
}

#top-menu li.mega-menu > ul {
  position: fixed !important;
  padding: 10px 30px;
  text-align: center;
}

#top-menu li.client-area:hover {
  background: none;
}

#top-menu li.client-area a {
  color: #0076d2;
  font-weight: 300;
}

#top-menu li.client-area a img {
  vertical-align: middle;
}

#top-menu li.client-area:hover a {
  color: #0076d2 !important;
  font-weight: 600;
}

#et-secondary-menu .et-social-icons {
  margin-right: 0px;
  /*position: absolute;
    right: 0;
    top: 5px;*/
  margin-top: 5px;
}

#et-secondary-menu .et-social-icons li {
  display: inline-block;
  width: 25px;
  height: 25px;
  border: 1px solid #9d9d9c;
  border-radius: 50%;
  text-align: center;
  padding-top: 0;
  margin-top: 10px;
  line-height: 25px;
  margin-left: 10px;
}

#et-secondary-menu .et-social-icons li:hover {
  background-color: #9d9d9c;
}

#et-secondary-menu .et-social-icons li a:hover {
  text-decoration: none !important;
}

#et-secondary-menu .et-social-icons a {
  color: #000;
  font-size: 12px;
}

#et-secondary-nav .wpml-ls-current-language a {
  pointer-events: none;
  cursor: default;
}

.et_pb_column_0 {
  padding-top: 0 !important;
}

#awards h2 {
  text-align: center;
}

#awards a {
  font-size: 16px;
  font-weight: 400;
  cursor: default;
  pointer-events: none;
}

#awards .et_pb_code {
  position: absolute;
  color: #fff;
  font-size: 25px;
  font-weight: 500;
  right: 50px;
  top: -20px;
  cursor: default;
}

.service a {
  cursor: default;
  pointer-events: none;
}

.service h2 {
  padding: 0;
  margin: 0;
}

#corporations a,
#individuals a,
#rmc a {
  cursor: default;
  pointer-events: none;
}

#news .vignette-date {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #fff;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  padding: 2px;
  cursor: default;
}

#news .jour {
  font-size: 24px;
  font-weight: 700;
  color: #0076d2;
  text-align: center;
  line-height: 1em;
  cursor: default;
}

#news .mois {
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 400;
  color: #0076d2;
  text-align: center;
  line-height: 1em;
  cursor: default;
}

.guide-download img {
  vertical-align: middle;
}

#post-header {
  margin: 0;
  padding: 0;
}
#post-header #featured-image {
  background-position: center;
  background-repeat: none;
  background-size: cover;
}

#post-header #featured-image > div {
  min-height: 500px;
  background-color: rgba(0, 0, 0, 0.3);
  padding-top: 100px;
  padding-bottom: 50px;
}

#post-header h1 {
  text-align: center;
  font-size: 75px;
  color: #fff;
}

#post-header h2 {
  text-align: center;
  font-size: 40px;
  font-weight: 400;
  color: #fff;
  margin-top: 30px;
}

#post-header a {
  color: #fff;
  position: absolute;
  display: block;
  bottom: 50px;
  left: 50px;
}

#post-header a img {
  vertical-align: baseline;
  height: 1em;
  width: auto;
}

.et_pb_title_meta_container {
  color: #fff !important;
}

.et_pb_title_meta_container .author {
  float: right;
  color: #666;
}

.et_pb_title_meta_container .author::before {
  content: "\f464  ";
  font-family: dashicons;
}

.et_pb_title_meta_container .published {
  font-size: 30px;
  float: left;
  color: #000;
}

.et_pb_social_media_follow a.icon {
  color: #666 !important;
  background-color: #fff !important;
}

.et_pb_social_media_follow li a.icon::before {
  color: #666;
  font-size: 16px;
  line-height: 32px;
  border: 1px solid #666;
  border-radius: 50%;
}

/* MANEKO *****************************************************/
/* Menu --------------------*/
#mega-menu-wrap-primary-menu #mega-menu-primary-menu {
  padding: 0;
}
#et-secondary-nav {
  line-height: 45px;
}
#mega-menu-wrap-primary-menu
  #mega-menu-primary-menu
  > li.mega-menu-item
  > a.mega-menu-link {
  padding: 0 10px;
}
#mega-menu-wrap-primary-menu
  #mega-menu-primary-menu
  > li.mega-menu-item.mega-wpml-ls-menu-item
  > a.mega-menu-link {
  padding: 0;
}
.et_header_style_left #et-top-navigation,
.et_header_style_split #et-top-navigation {
  display: flex;
  flex-direction: column-reverse;
  padding: 0 !important;
}
#mega-menu-wrap-primary-menu
  #mega-menu-primary-menu
  > li.mega-menu-item.mega-wpml-ls-first-item {
  margin-left: 20px;
}
#mega-menu-wrap-primary-menu
  #mega-menu-primary-menu
  li:not(.mega-wpml-ls-menu-item)
  img {
  vertical-align: sub;
  margin-left: 2px;
}
#mega-menu-wrap-primary-menu .mega-menu-open + ul#mega-menu-primary-menu {
  position: fixed;
  width: 100%;
  left: 0;
  background-color: white;
  text-align: center;
  -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
}
#mega-menu-wrap-primary-menu
  .mega-menu-open
  + ul#mega-menu-primary-menu
  a.mega-menu-link {
  text-align: center !important;
}
#mega-menu-wrap-primary-menu
  .mega-menu-open
  + ul#mega-menu-primary-menu
  a.mega-menu-link:after {
  float: none !important;
}
#mega-menu-wrap-primary-menu
  .mega-menu-open
  + ul#mega-menu-primary-menu
  li.mega-wpml-ls-menu-item {
  display: inline-block;
}
.mobile_menu_bar,
.mobile_menu_bar_toggle {
  display: none;
}

/*Awards -----------------*/
#awards .et_pb_image {
  height: 100px;
}
#awards .et_pb_image img {
  height: 100px;
  width: auto;
}

/*Services----------------*/
/*#service-loop .et_pb_text_align_justified {
    text-align: left;
    display: none;
}
#service-loop .et_pb_cpt_title_0,
#service-loop .et_pb_cpt_title_1,
#service-loop .et_pb_cpt_title_2,
#service-loop .et_pb_cpt_title_3,
#service-loop .et_pb_cpt_title_4,
#service-loop .et_pb_cpt_title_5,
#service-loop .et_pb_cpt_title_6,
#service-loop .et_pb_cpt_title_7,
#service-loop .et_pb_cpt_title_8,
#service-loop .et_pb_cpt_title_9 {
	min-height: 3.5em;
}*/
#service-loop h2 {
  position: relative;
  cursor: pointer;
}
#service-loop h2:after {
  /*content: '\1f783';*/
  content: "+";
  position: absolute;
  right: 0;
}
#service-loop h2.opened:after {
  content: "-";
}
#service-loop p {
  line-height: 1.3em;
  padding-left: 20px;
  position: relative;
}
#service-loop p:before {
  content: "\2713";
  position: absolute;
  left: 0;
}
.service-loop > div {
  height: 100%;
}
.service-loop .service-loop-title {
  min-height: 3.5em;
  padding: 20px;
  background-color: #ededed;
  margin: 0 !important;
}
.service-loop .service-loop-title h2 {
  border-bottom: 2px solid #0076d2;
  margin: 0;
}
.service-loop .service-loop-content {
  display: none;
  height: calc(100% - 70px);
  background-color: #ededed;
}

/*Footer------------------*/
footer #footer-widgets .et_pb_column_1_6 {
  width: 14.083%;
  margin-right: 2.5%;
}
footer .address {
  padding-left: 20px;
}
footer .address::before {
  left: -30px;
}

@media (max-width: 1550px) {
  footer #footer-widgets .et_pb_column_1_6 {
    width: 17%;
  }
  footer #footer-widgets .et_pb_column_1_6:last-child {
    width: 100% !important;
  }
  footer #footer-widgets .et_pb_column_1_6:last-child li {
    display: inline-block !important;
    margin-right: 50px;
  }
  .et_pb_image_0,
  .et_pb_image_1 {
    display: inline-block;
  }
}
@media (max-width: 1300px) {
  footer #footer-widgets .et_pb_column_1_6 {
    width: 22%;
  }
  footer #footer-widgets .et_pb_column_1_6:nth-child(5) {
    width: 100% !important;
  }
  footer #footer-widgets .et_pb_column_1_6:nth-child(5) li {
    display: inline-block !important;
    margin-right: 20px;
  }
  footer #footer-widgets .et_pb_column_1_6:nth-child(5) .et_pb_module {
    margin: 20px 0;
  }
  #et-secondary-menu .et-social-icons li {
    margin-top: 0;
  }
}
@media (max-width: 980px) {
  footer #footer-widgets .et_pb_column_1_6 {
    width: 45% !important;
  }
  .footer-widget:nth-child(n) {
    width: 100% !important;
    margin-right: 0 !important;
  }
}
@media (max-width: 600px) {
  footer #footer-widgets .et_pb_column_1_6 {
    width: 100% !important;
  }
}

.et_pb_social_media_follow li a.icon::before {
  font-size: 22px;
}

.video-banner {
  width: 100%;
}
#myVideo {
  position: fixed;
  right: 0;
  min-width: 100%;
  min-height: 500px;
}

@media (max-width: 1300px) {
  #et-secondary-menu,
  #et-secondary-nav {
    display: none !important;
  }
}
/*Saving JS in case the theme is updated*/
/*$('#service-loop h2 a').contents().unwrap();
$('#service-loop h2').click(function(){
	$(this).parents('.service-loop').find('.service-loop-content').slideToggle();
})*/
#mega-menu-wrap-primary-menu
  #mega-menu-primary-menu
  > li.mega-menu-item
  > a.mega-menu-link {
  line-height: 40px;
  height: 40px;
}
#et-secondary-menu .et-social-icons {
  margin-right: 15px;
}

#mailchimp-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  z-index: 999999999;
  transition: opacity 0.5s;
  opacity: 0;
  pointer-events: none;
}

#mailchimp-popup.active {
  opacity: 1;
  pointer-events: all;
}

#mailchimp-popup > div {
  cursor: pointer;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  transition: opacity 0.5s;
  opacity: 0;
  pointer-events: none;
}

#mailchimp-popup.active > div {
  opacity: 1;
  pointer-events: all;
}

#mailchimp-popup > form {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  background-color: white;
  padding: 25px;
  width: 90%;
  max-width: 630px;
  max-height: 90dvh;
  border-radius: 3px;
  transition: opacity 0.5s;
  opacity: 0;
  pointer-events: none;
  overflow: auto;
}

#mailchimp-popup.active > form {
  opacity: 1;
  pointer-events: all;
}

#mailchimp-popup > form > svg {
  width: 40px;
  height: 40px;
  flex: none;
  align-self: flex-end;
  margin-bottom: 15px;
}

#mailchimp-popup > form > img {
  max-width: 90%;
  width: 270px;
  align-self: center;
}

#mailchimp-popup > form > h2 {
  font-family: "Raleway", Helvetica, Arial, Lucida, sans-serif;
  font-size: 26px;
  line-height: 1em;
  font-weight: bold;
  color: #0076d2;
  text-align: center;
  padding-bottom: 20px;
}

#mailchimp-popup > form > p {
  text-align: center;
  padding-bottom: 35px;
}

#mailchimp-popup > form > input {
  color: #4c4c4c;
  border-radius: 3px;
  padding: 16px;
  font-size: 14px;
  background-color: #ededed;
  margin-bottom: 3%;
  border: 0;
  outline: 0;
}

#mailchimp-popup > form > button {
  border-radius: 3px;
  cursor: pointer;
  color: #444444;
  background-color: #0076d2;
  padding: 0.6em 1em;
  border: 0;
  font-size: 20px;
  font-weight: 500;
}
