/*
 Theme Name:   Divi-Child
 Theme URI:    http://divi.space/
 Description:  A Child Theme built for Divi on Divi Space
 Author:       Miguel Munoz
 Author URI:   https://miguelmsm.com
 Template:     Divi
 Version:      1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/
	

/* MENU */

.nav li li{
	line-height: 1.3em;
}

#top-menu-nav li ul{
	border-color: transparent;
}
#top-menu-nav>ul{
	padding-bottom: 33px;	
}

#top-menu-nav>ul>li:not(.header-bouton)>a{
	padding-bottom: 0 !important;
	background-size: 0 100%;
	transition: background-size .5s;
	background-repeat: no-repeat;
    background-size: 0 100%;
	background-image: linear-gradient(#0000 calc(100% - 0.7em),#D6C7BD 0.5em);
}

#top-menu-nav>ul>li>a:hover{
	opacity: 1 !important;
	background-size: 100% 100%;
}

#top-menu-nav>ul>li.header-bouton{
	color: #FFFFFF!important;
    border-width: 0px!important;
    border-radius: 0px;
    font-size: 16px;
    font-family: 'Poppins',Helvetica,Arial,Lucida,sans-serif!important;
    font-weight: 700!important;
    text-transform: uppercase!important;
    background-color: #034A7A;
    padding: 10px;
	transition: all 300ms ease 0ms;
}

#top-menu-nav>ul>li.header-bouton:hover {
    transform: scaleX(1.05) scaleY(1.05)!important;
}

#top-menu-nav>ul>li.header-bouton>a{
	padding-bottom: 0 !important;
	color: #FFF !important;
}

.et-fixed-header #top-menu li.current-menu-item.header-bouton>a{
	color: #FFF !important;
}

/* FANCY TEXTS */

.h2-fancy h2 span:before{
	content: '';
	position: absolute;
	width: calc(100% + 30px);
	height: 25px;
	top: 22px;
	left:-15px;
	z-index: -2;
}

@media (max-width: 479px){
	.h2-fancy h2 span:before{
		height: 20px;
		top: 20px;
	}
}

.h2-fancy.beige h2 span:before{
	background: #D6C7BD;
}


.h2-fancy.vert h2 span:before{
	background: #0C828F;
}

.h2-fancy.bleu h2 span:before{
	background: #034A7A;
}

.h2-fancy h2 span{
	position: relative;
	width: fit-content;
	display: inline-block;
}


/* NEWS POPUP */


.blur-right-menu.et_pb_blurb_position_left .et_pb_blurb_container{
	padding-left:0 !important;
}

.news-toggle-open,
.news-toggle-mobile-open{
	transform: translate(0);
	transition: all .3s ease-in;
	transition-property: transform, opacity;
}

.news-toggle-open.closed {
  	opacity: 0;
	transform: translate(376px, -100px);
}

.news-toggle-mobile-open.closed {
  	opacity: 0;
	transform: translate(0, 4100px);
}


/* OLD CSS 


.et-pb-contact-message{
	color: #fff;
}

.calendly-badge-widget .calendly-badge-content span{
	display: none !important;
}

.et_pb_portfolio.filter-portfolio .et_pb_portfolio_item {
    position: relative;
    background: #253436;
}

.et_pb_portfolio.filter-portfolio .et_pb_portfolio_filters ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}*/


/* Formulaire Catalogue */

.et_pb_contact_form_0 .input[type="radio"]+label{
	color: #FFF !important;
}


.et_pb_contact_form_0 .et_contact_bottom_container{
	float: left;
}

.et_pb_contact_form_0 .et_pb_contact_field_checkbox,
.et_pb_contact_form_0 .et_pb_contact_field_options_title,
.et_pb_contact_form_0 .et_pb_contact_field_radio,
.et_pb_contact_form_0 .et_pb_contact_field_select_title{
	display: inline-block;
}

.et_pb_contact_form_0 .et_pb_contact_field_options_list .et_pb_contact_field_radio:nth-child(2){
	margin-left: 5px;
}

/* Gravity Form */

.gform_wrapper.gravity-theme .gfield textarea.large,
.gform_wrapper.gravity-theme .ginput_complex input,
.gform_wrapper.gravity-theme .gfield select.large{
	background: #FFF;
}

.gform_wrapper.gravity-theme .gfield_error label,
.gform_confirmation_message,
.gform_wrapper.gravity-theme .gfield-choice-input+label,
.gform_wrapper.gravity-theme .gfield input.large,
.gform_wrapper.gravity-theme .ginput_complex label,
.gform_wrapper.gravity-theme .gfield_label,
.gform_wrapper.gravity-theme .gfield_required,
.gform_wrapper.gravity-theme .gfield_description,
.gform_wrapper.gravity-theme .gfield input.large
.gform_wrapper.gravity-theme .ginput_complex label,
.gform_wrapper.gravity-theme .gf_progressbar_title,
.gform_wrapper.gravity-theme .top_label .gsection_description{
	color: #FFF;
}

.gform_wrapper.gravity-theme .gsection {
    border-bottom: 1px solid #fff;
    padding: 24px 16px 8px 0;
}

.gform_wrapper.gravity-theme .gsection .gsection_title{
	color: #FFF;
}

.gform_wrapper.gravity-theme .gfield_description.gfield_validation_message{
	color: #c02b0a;
}

.gform_wrapper.gravity-theme .gfield textarea.large,
.gform_wrapper.gravity-theme .gfield select.large,
.gform_wrapper.gravity-theme .ginput_complex legend,
.gform_wrapper.gravity-theme input[type=text],
.gform_wrapper.gravity-theme .gfield input.large,
.gform_wrapper.gravity-theme .gfield .ginput_container_text input.large
{
    color: #2B3538 !important;
    border-color: #FFF;
}

.gform_wrapper.gravity-theme .gform_page_footer input,
.gform_wrapper.gravity-theme .gform_footer input{
	color: #034A7A!important;
    border-width: 0px!important;
    border-radius: 0px;
    font-size: 16px;
    font-family: 'Poppins',Helvetica,Arial,Lucida,sans-serif!important;
    font-weight: 700!important;
    text-transform: uppercase!important;
    background-color: #FFF;
    padding: 5px 15px;
}

.gform_wrapper.gravity-theme .gf_progressbar_percentage.percentbar_blue{
	color: #034A7A!important;
	background-color: #FFF;
}

.gform_wrapper.gravity-theme .gf_step_active .gf_step_number {
    background: #FFF;
    color: #034A7A;
}

.gform_wrapper.gravity-theme .gf_step_number {
    border: 2px solid #FFF;
    color: #FFF;
}

.gform_wrapper.gravity-theme .gf_step_completed .gf_step_number:before {
    background: #FFF;
    border: 2px solid #FFF;
    border-radius: 40px;
    content: "";
    display: table-cell;
    height: 40px;
    left: -4px;
    position: absolute;
    top: -4px;
    width: 40px;
}

.gform_wrapper.gravity-theme .gf_step_completed .gf_step_number:after{
    color: #034A7A;
}

/* COOKIES */

#cn-refuse-cookie,
#cn-accept-cookie{
	background: #FFF;
    padding: 2px 10px;
    font-weight: 700;
}

#cn-more-info{
	color: #FFF;
    text-decoration: underline;
}

/* Hide image titles on hover */
img {
pointer-events:none;
}

/* SLIDER PROJECTS */

.slick-dots {
    display: block;
    padding: 0 !important;
    margin: 0;
	margin-top: 30px;
    list-style: none;
    text-align: center;
}


.slick-dots li {
    position: relative;
    display: inline-block;
    width: 15px;
    height: 15px;
    margin: 0 5px;
    padding: 0;
    cursor: pointer;
}

.slick-dots li.slick-active{
	width: 20px;
    height: 20px;
}

.slick-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 20px;
    height: 20px;
    padding: 5px;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: none;
    background: transparent;
}

.slick-dots li button:before {
    font-family: 'slick';
    font-size: 40px;
    line-height: 20px;
    position: absolute;
    border-radius: 20px;
    top: 2px;
    border: 1px solid #034A7A;
	background: #034A7A;
	opacity: 0.6;
    left: 0;
    width: 11px;
    height: 11px;
    content: ' ';
    text-align: center;
    color: #1668A7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.slick-dots li.slick-active button:before {
    width: 16px;
	top:-1px;
	opacity: 1;
    height: 16px;
	background: #034A7A;
    border: 1px solid #034A7A;
}

/* Two buttons on the same line */
@media (min-width: 799px) {
  .pa-inline-module .et_pb_button_module_wrapper{
      display: inline-block;
  }
}
