/*
 Theme Name:     M Agence Theme
 Theme URI:      https://magenceweb.fr
 Description:    Custom Theme
 Author:         M Agence Web
 Author URI:     https://magenceweb.fr
 Template:       Divi
 Version:        4.6.0
*/
/* Custom Boutton retour en haut
.et_pb_scroll_top.et-pb-icon {
  background: #FF9F1C!important;
  bottom: 85px!important;
  right: 20px;
  border-radius:10px!important;
}
.et_pb_scroll_top.et-pb-icon:hover {
  transform: scaleX(1.04) scaleY(1.04) !important;
}
*/

/* Custom foire aux questions*/
.et_pb_accordion_item.et_pb_toggle.et_pb_toggle_open {
  box-shadow: 0px 12px 18px -6px rgba(252,23,35,0.36)!important;
}

/* Boutton retour en haut */
.et_pb_scroll_top.et-pb-icon {
  background: #FC1723!important;
  bottom: 85px!important;
  right: 20px;
  border-radius:10px!important;
}
.et_pb_scroll_top.et-pb-icon:hover {
  transform: scaleX(1.04) scaleY(1.04) !important;
}

/*==== Start Background Round Corners ====*/

.pa-background-round-corners nav ul li a {
   background-color: none;
   -webkit-transition: all 0.3s;
   transition: all 0.3s;
   -o-transition: all 0.3s;
   -moz-transition: all 0.3s;
}

.pa-background-round-corners nav ul li a:hover {
   border-radius: 100px;
   background-color: #FC1723;
}

/** Custom menu **/
#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: 50%;
 background: #FC1723; 
 height: 3px;
 border-radius: 50px;
 -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;
}
#top-menu li li a:before {
 bottom: 10%;
}