/* ============================================================================= *
Theme Name: Ⓓ AMIC Divi Child
Theme URI: https://www.amic.fr/
Description: This is a Ⓓ Divi child theme for www.argonautic.fr
Author: M Vignjevic
Author URI: https://www.milorad.fr/
Author Email: mvignjevic@milorad.fr
Template: Divi
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
================================================================================ */	
/* ============================================================================= *
 * Ⓓ SECONDARY MENU
 =============================================================================== */
#et-info-phone:before { 
	display: none !important; 
}
#et-info { 
	padding-top: .4em !important; 
	padding-bottom: .75em; 
	font-size: 90% !important; 
}
#et-info, 
#et-secondary-menu>ul>li a { 
	padding-top: .3em; 
	padding-bottom: .75em; 
	font-size: 90% !important; 
}
#et-secondary-nav a i { 
	color: #ff5e14 !important; 
}
#et-secondary-nav a:hover { 
	opacity: .6 !important; 
}

/* ============================================================================= *
 * Ⓓ MAIN HEADER 
 * Ⓓ LOGO
 =============================================================================== */
#logo:hover { 
	opacity: .6 !important; 
}

.et_fullwidth_nav #top-menu li.mega-menu>ul { 
	width: auto; 
	left: 0px!important; 
	right:0px!important; 
}

#main-header .nav li ul, 
#main-header.et-fixed-header .nav li ul { 
	background-color: #312783 !important; 
} 
#main-header.et-fixed-header .nav li ul a { 
	color: #fff !important; 
}

li.mega-menu ul li { border-right: 1px solid #5a48fe; }
li.mega-menu ul li:last-child, li.mega-menu ul li li { border-right: 0; }
li.mega-menu ul li a { font-size: 12px !important; }
li.mega-menu ul li img { max-width: 36px; margin-right: 10px !important; box-shadow: 5px 5px 0px 0px rgba(90, 72, 254, .4); }
li.mega-menu ul .devis { margin-top: 5px !important; }
li.mega-menu ul .devis a {  
	margin-left: 20px;
    color: #FFFFFF !important; border: 2px solid #5B4AFF !important; border-radius: 0px;
    letter-spacing: 1px; font-size: inherit; text-transform: uppercase !important; text-align: center;
	font-family: 'Sifonn Pro', Helvetica, Arial, Lucida, sans-serif !important;   
    background-color: #5B4AFF; box-shadow: 5px 5px 0px 0px rgba(90, 72, 254, .4); 
}

/* 5-column Divi Mega Menu */
#top-menu li.mega-menu.five-cols > ul > li:nth-of-type(5n) { clear: none; }
#top-menu li.mega-menu.five-cols > ul > li:nth-of-type(6n) { clear: none; }
#top-menu li.mega-menu.five-cols > ul > li { width: 20%; margin: 0; }

/* 6-column Divi Mega Menu */
#top-menu li.mega-menu.six-cols > ul > li:nth-of-type(5n) { clear: none; }
#top-menu li.mega-menu.six-cols > ul > li:nth-of-type(7n) { clear: none; }
#top-menu li.mega-menu.six-cols > ul > li { width: 16%; margin: 0; }

/* 7 column Divi Mega Menu */
#top-menu li.mega-menu.seven-cols > ul > li:nth-of-type(5n) { clear: none; }
#top-menu li.mega-menu.seven-cols > ul > li:nth-of-type(8n) { clear: none; }
#top-menu li.mega-menu.seven-cols > ul > li { width: 14%; margin: 0; }

/*8 column Divi Mega Menu */
#top-menu li.mega-menu.eight-cols > ul > li:nth-of-type(5n) { clear: none; }
#top-menu li.mega-menu.eight-cols > ul > li:nth-of-type(9n) { clear: none; }
#top-menu li.mega-menu.eight-cols > ul > li { width: 12%; margin: 0; }

/* ============================================================================= *
 * Ⓓ DD SLIDER 
 =============================================================================== */
.dd-slider .et_pb_slide_image, .dd-slider .et_pb_slide:first-child .et_pb_slide_image img.active, .dd-slider .et_pb_slide_description {
animation-timing-function: ease-in-out;
animation-name: fadeIn;
animation-duration: .7s;
animation-delay: .7s;
}
.dd-slider .et_pb_slide_description {
text-shadow: none;
}
.dd-slider.et_pb_slider {
display: flex;
align-items: center;
}
.dd-slider .et_pb_slides {
order: 2;
flex: 1;
}
.dd-slider .et-pb-slider-arrows {
order: 3;
bottom: 0;
right: 0;
z-index: 11;
background: transparent;
}
.dd-slider .et-pb-arrow-next, 
.dd-slider .et-pb-arrow-prev, 
.dd-slider.et_pb_slider:hover .et-pb-arrow-prev, 
.dd-slider.et_pb_slider:hover .et-pb-arrow-next {
opacity: 1;
position: relative;
display: flex;
bottom: 0;
left: auto;
right: auto;
font-size: 35px;
margin: 12px!important;
padding: 3px;
background: transparent;
}
.dd-slider .et-pb-controllers {
order: 1;
position: relative;
bottom: 10%;
left: 0;
width: auto;
transform: rotate(90deg);
height: 0;
}
.dd-slider .et-pb-arrow-prev:before {
content: "\21";
}
.dd-slider .et-pb-arrow-next:before {
content: "\22";
}


.underlined {
  color: black;
  flex: 1;
  line-height: 1.2;
  text-decoration: none;
  background-image: linear-gradient(to right, yellow 0, yellow 100%);
  background-position: 0 1.2em;
  background-repeat: no-repeat;
  transition: background .5s;
  background-size: 100% 100%;
  background-position: 0 -0.3em;
  background-position: 0 0.2em;
  box-shadow: inset 0 -.5em 0 0 white;
}
