/*!
Theme Name: ActionCom Child Theme
Template: Divi
Description: Divi child Theme
Author: Alix&Co
Author URI: https://alix-co.fr

COLORS :

#fd0132 Red
#7c7c7c Dark Grey
#d5d6d8 light Grey

*/

/*********** GENERAL TEXTE ************/
h1 {
	font-size : 4em;
	line-height: 1.4em;
	font-weight: 900;
}

h2{
	font-size : 2em;
	line-height: 1.4em;
	font-weight: 500;
	color:#666 !important;
}

h2.title-bg-grey{
	color:#fff!important;
}
	

h4{
	padding-bottom : 10%;
	color:#fff;
	font-weight:900;
	line-height: 1.4em;
}

.ac-ssTitre{
	font-size : 2.7em;
	line-height: 1.4em;
	font-weight: 300;
}
.ac-titre{
	margin-top: 15%;
}

p, li{
	font-size: 1.14em;
	font-size :16px;
}

p.text-bg-grey{
	color:#fff!important;
}

li{
	margin-bottom: 1em;
}
.liste-puce-expertise{
	color: #fff!important;
	padding-bottom: 5%;
}


@media (max-width:980px){
	h1 {
	font-size : 2.8em;

}
	span.ac-ssTitre{
	font-size : 1.7em !important;

}
	span.citation{
		font-size:1em!important;
	}
	#phone, #address {
		text-align:center;
	}
}
@media (max-width:765px){
	h2{
		font-size: 1.5em !important;
	}
}

/***********HEADER******************/

div.et_pb_fullwidth_section:before,.et_pb_section.et_pb_section_0:before
{
	content:"";
	display:block;
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	background-color: rgba(0, 0, 0, 0.4);

}

/***********MENU*************/

#top-menu a:hover {
	color:#fd0132;
}


/******CITATIONS***/

span.citation{
	font-size : 1.3em;
}
.et_pb_testimonial_description, .et_pb_testimonial_description_inner {
	margin-top:30px;
}

/*********** Accroche HOME  **************/

.ac-containerAccroche .ac-accroche:before{
	content: '';
    display: block;
    position: absolute;
    bottom: -27px;
    left: -27px;
    width: 75px;
    height: 75px;
    border-left: 5px solid #f94340;
    border-bottom: 5px solid #f94340;
	box-sizing:border-box
}
.ac-containerAccroche .ac-accroche:after{
	content: '';
    display: block;
    position: absolute;
    top: -27px;
    right: -27px;
    width: 75px;
    height: 75px;
    border-right: 5px solid #f94340;
    border-top: 5px solid #f94340;
	box-sizing:border-box
}

@media (max-width: 992px){
#ac-containerAccroche .textes {
	padding: 45px 30px;
	}}

/***********CARDS HOME*****************/

.ac-homecard{
	padding:10%;
}

/***********FLIPCARDS************/

#flip-card-section{
	display: flex;
	flex-wrap : wrap;
	justify-content:space-around!important;
	max-width:1000px;
	margin:auto;
}

.flip-box-column {
  position: relative;
  width:100%;
  -webkit-transition: transform 0.8s;
  transition: transform 0.8s;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

.flip-box-front, .flip-box-back{
  position: absolute;
  width:100%;
  -webkit-transform: translate3d(0,0,0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.flip-box-back {
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
}

.flip-box-row:hover .flip-box-column {
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
}

.et_pb_with_border.et_pb_row.et_pb_row_5.flip-box-row,.et_pb_row.et_pb_row_6.flip-box-row{
	margin-right: 0 !important;
    width: calc(50% - 20px) !important;
    max-width: none !important;
    margin-left: 0 !important;

}
#flip-box-front,#flip-box-back{
	display:flex;
	align-items:center;
}

.et_pb_row_7.et_pb_row.flip-box-row,.et_pb_row_8.et_pb_row.flip-box-row {
	margin-right: 0!important;
    margin-bottom: 0!important;
    margin-left: 0!important;
}

@media (min-width:981px){
.flip-box-row {
  background-color: transparent;
  width: 400px;
  height: 500px;
  -webkit-perspective: 1000px;
  perspective: 1000px;
	}
}
@media (max-width:980px){
	.et_pb_with_border.et_pb_row.et_pb_row_5.flip-box-row,.et_pb_row.et_pb_row_6.flip-box-row{
		width:100%!important;

	}
	.flip-box-row:hover .flip-box-column {
	  -webkit-transform: none!important;
	  transform: none!important;
	}
	.flip-box-front, .flip-box-back{
	  position: relative;
	  width:100%;
	  padding: 30px 0!important;
	}

	#flip-box-back.et_pb_blurb_1.et_pb_blurb, #flip-box-back.et_pb_blurb_3.et_pb_blurb {
	  -webkit-transform: rotateY(0deg);
	  transform: rotateY(0deg);
	  padding-top: 30px !important;
	  padding-bottom: 30px !important;
	}
}
/***************FORM*******************/

#backgroundForm {
    position: relative;
    background-color: #fff;
}

/*************ACTU********************/

#footer-widgets .footer-widget li:before {
	border-style: unset;
}

.footer-widget{
	width:100%;
}
#footer-widgets{
	padding:0!important;
}
.et_pb_gutters3.et_pb_footer_columns4 .footer-widget{
	width:100%;

}
.rfw-class.guppy .widget_dock{
	max-width: 100%;
}

.rfw-class.thrips .bx-wrapper .bx-pager.bx-default-pager a {
	border: none;
}
.et_pb_widget_area_left{
	border:none;
}
#actus_new > .et_pb_row{
    margin-right: auto!important;
    margin-left: auto!important;
}

.rfw-class.thrips .bx-wrapper .bx-pager.bx-default-pager a.active {
	background-color:#fd0132;
}
.rfw-class.thrips .widget_dock .rfw_dock a h3.entry-title{
		background-color:#fd0132!important;
}

.widget-title{
	color: #ffff;
	font-size : 2em;
	font-weight:900;
	text-align:center;
	padding-bottom:50px;
	padding-top:20px;
}

.rfw-class.thrips .widget_dock .rfw_dock a h3.entry-title, .rfw-class.thrips .widget_dock .bx-viewport .rfw_dock h3{
	text-align:left;
}

.rfw-class.thrips .widget_dock{
	max-width:none;
	padding:20px;
}
.rfw_dock.rfw_list {
	display:flex;
	flex-wrap:wrap;
	justify-content: space-between;
}
.rfw_dock.rfw_list > li{
	width: calc(100%/3 - 20px) !important;
	padding:0!important;
}
.rfw-class.thrips .widget_dock li .image_only.imgn > img{
	padding:0;
}

/* SURCHARGE DE STYLE RSS LES ECHO */
#actus_new .entry-title {
	font-weight:bold !important;
}

#actus_new .rfw_dock li > .entry-title {
	padding-bottom:5px;
}

#actus_new .text_div {
	background-color:#7c7c7c;
	color:#fff;
	padding:20px;
}

@media (max-width:980px){
	.footer-widget:nth-child(n){
		width:100% !important;
		margin:0 !important;
	}
	.rfw-class.thrips .widget_dock .rfw_dock a h3.entry-title, .rfw-class.thrips .widget_dock .bx-viewport .rfw_dock h3{
		text-align:center;
	}

	.footer-widget .image_only.imgn{
		text-align:center;
	}
	.rfw_dock.rfw_list > li{
	width: 100% !important;
}
	.image_only.imgn{
	display: flex;
    justify-content: center!important;
	}
}

/**************TARTE AU CITRON **************/

#tarteaucitronAlertBig #tarteaucitronPersonalize,
#tarteaucitronRoot #tarteaucitronPercentage,
#tarteaucitronAlertSmall #tarteaucitronManager #tarteaucitronDot #tarteaucitronDotGreen {
background: #fd0132 !important;
}
#tarteaucitronAlertBig {
background-color: rgba(0,0,0,0.8) !important;
}
#tarteaucitronDisclaimerAlert, #tarteaucitronDisclaimerAlert strong, #tarteaucitronAlertBig #tarteaucitronPrivacyUrl {
color: #fff !important;
}
#tarteaucitronAlertSmall {
background-color: rgba(0,0,0,0.5) !important;
}
#tarteaucitronAlertBig #tarteaucitronPersonalize, #tarteaucitronAlertBig #tarteaucitronCloseAlert {
border-radius: 3px !important;
}
body:not(.page-id-382) #tarteaucitronAlertSmall {
  display: none !important;
}

/***************FOOTER**********************/

#main-footer {
padding-top:50px;
}
#footer-widgets .footer-widget li a:hover{
	color:#fd0132 !important;
}

@media (max-width: 980px){
	.footer-widget {
    display: flex;
    justify-content: center!important;
    text-align: center;
	padding-bottom: 30px!important;
}
}
/***404***/
#error-page:before {
	display:none;
}
#typo-error-page{
	color:#fd0132;
	font-size:150px;
	font-weight:900;
	padding-top:50px;
}
#tarteaucitronRoot {
	z-index:99999;
}

#tarteaucitronRoot .tarteaucitronDeny,#tarteaucitronRoot .tarteaucitronAllow,#tarteaucitronCloseAlert {
	background:#06b2ba !important;
	color:#fff !important;
}
