/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/


/* =Theme customization starts here
------------------------------------------------------- */



span.sous-titre {
    font-size: 15px;
    letter-spacing: 5px;
    text-transform: uppercase;
    font-weight: 500;
    display: block;
    margin-bottom: -40px;
}


p.sous-titre {
    color: #2f96a1 !important;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 15px;
}



/***********************/
@media (min-width: 981px) {

.class-h2 h2 , .class-h2 h1 {
    font-size: 37px;
    font-weight: 500;
    line-height: 47px;
}
	
	.h3-class h3 {
    font-size: 27px;
    line-height: 33px;
    padding-bottom: 18px;
    color: #563877;
}
	
}

@media (max-width: 980px) {

.class-h2 h2 , .class-h2 h1 {
    font-size: 30px;
    font-weight: 500;
    line-height: 40px;
}

	
	.h3-class h3 {
    font-size: 25px;
    line-height: 33px;
    padding-bottom: 18px;
    color: #2f96a1;
}
}



.class-h3 h3 {
    font-size: 19px;
    line-height: 26px;
}



/***************lire plus**************/
 details{
  display:inline;
}
details {
  position:relative;
}
details summary {
	color: #A7A7A7;
    display: block;
    cursor: pointer;
    font-size: 16px !important;
    font-weight: 500;
	padding-top: 10px;
}
details summary:focus {
  outline:none;
}
details[open] {
  display:block;
  padding-bottom:25px;
  /*padding-top:10px;*/
  animation: open .2s linear;
}
details[open] summary {
  position:absolute;
  bottom: 0;
  left:0;
}
details[open] #close {
    position: relative;
    top: 10px;
	
}
details #open{
	padding-left:5px;text-align:center;
}

/***********
details #open:after{
		display: inline-block;
    position: relative;
    top: 1px;
    margin-left: 8px;
    content: '\e867';
    font-family: "mfn-icons";
}
	details #close:after {
    display: inline-block;
    position: relative;
    top: 0px;
    margin-left: 10px;
    content: '\e867';
    font-family: "mfn-icons";
    transform: rotate(180deg);
}
****/

details[open] #open{display:none;}
details #close{display:none;}
details[open] #close{display:block;}
::-webkit-details-marker {display: none;}
@keyframes open {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
/*Fin lire plus*/


/***************/

.class-img img {
    margin-top: -362px;
}



.fixed-phone {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: #2f96a1;
    border-radius: 100px 0px 0px 100px;
    width: 60px;
    transition: width 0.3s ease, background-color 0.5s ease;
    overflow: hidden;
    z-index: 2;
    white-space: nowrap;
	box-shadow: 0 0 20px 0px hsl(0deg 0% 100% / 44%);
}
.fixed-phone a {
  display: flex;
  align-items: center;
  color: #fff;
	padding: 15px 0px 15px 20px;
  text-decoration: none;
  font-size: 16px;
}
.phone-icon {
  font-size: 20px;
  margin-right: 10px;
  transform: rotate(90deg);
}
.phone-number {
  display: none;
  font-size: 16px;
  color: #fff;
  white-space: nowrap;
}
.fixed-phone:hover {
  width: 187px;
}
.fixed-phone:hover .phone-number {
  display: inline;
}
.fixed-phone:hover .phone-icon {
  margin-right: 15px;
}
@media (max-width:767px) {
.fixed-phone {
    width: 50px;
}
.fixed-phone a {
    padding: 10px 0px 10px 10px;
}
}



/***********/

@media (max-width: 980px) {
    .bg-vide .et_pb_column.et_pb_column_empty {
        display: block !important;
        padding: 50% !important;
    }
	
	.reverse {
    display: flex;
    flex-direction: column-reverse;
}
	
	header#main-header {
    position: fixed !important;
}
	
}


.mobile_menu_bar:before {
    color: #2f96a1 !important;
}

.et_mobile_menu {

    border-top: 3px solid #2f96a1 !important;
}

input.wpcf7-form-control.wpcf7-text {
    margin-bottom: 15px;
}

.wpcf7-list-item {
    padding-top: 16px;
    padding-bottom: 16px;
}


