/*

 Theme Name:   Divi Child

 Theme URI:    http://example.com/twenty-fifteen-child/

 Description:  Divi Child super theme

 Author:       John Doe

 Author URI:   http://example.com

 Template:     Divi

 Version:      1.0.0

 License:      GNU General Public License v2 or later

 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

 Tags:         Responsive

 Text Domain:  divi-child

*/

/*----------------------------------*/

#main-header #logo{
	transform: scale(1.1);
	transform-origin: top;
	margin-top: 10px;
}

#main-header.et-fixed-header #logo{
	transform: scale(0.7);
}

@media only screen and (min-width: 981px){
	.et_header_style_left #et-top-navigation, .et_header_style_split #et-top-navigation{
		width: 100%;
		text-align: center;
		padding-left: 0;
	}
}

nav#top-menu-nav, #top-menu, nav.et-menu-nav, .et-menu{
	float: none;
}

.et_header_style_left #et-top-navigation nav>ul>li.menu-item-17387{
	position: absolute;
	right: 0;
}

.menu-item a.clicked, .menu-item a:hover{
	top: 5px;
}

.menu-item a:hover{
	opacity: 1;
}

.et_header_style_left #et-top-navigation nav>ul>li>a:after{
	content: "";
	background-color: #fff;
	width: 16px;
	height: 16px;
	position: absolute;
	bottom: -8px;
	left: 50%;
	margin-left: -8px;
	border-radius: 50%;

}


.et_header_style_left #et-top-navigation nav>ul>li>a.clicked:after, .et_header_style_left #et-top-navigation nav>ul>li>a:hover:after{
	bottom: -3px!important;
	-webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
	-moz-box-shadow:0px 0px 5px 0px rgba(0,0,0,0.75);
	box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
}

.mobile_menu_bar:before{
	color: #fff!important;
}

.et_mobile_menu li a, .nav li li a{
	text-transform: uppercase;
	font-size: 18px;
	font-weight: bold;
}

.et_mobile_menu li a{
	padding: 20px;
}

.et_pb_text_0 h2, .et_pb_text_1 h1{
	line-height: 1em!important;
}

.et_pb_text_1 h1{
	margin-top: 50px;
}
/*CONTACT*/

#contact .wpcf7-form br{
	display: none;
}
#contact form {
	width:50%;
	text-align:center;
	margin:auto;
}
#contact form label {
	display:none;
}
#contact form .optin label {
	display:block;
}

#contact form input,
#contact form select,
#contact form textarea,
#contact form button {
	border:none;
	padding:15px;
	width:98%;
	margin:0 0 10px 0;
	color:#fff;
	font-size:16px;
	line-height:1.7rem;
	font-family: 'Bitter', serif;
	background:transparent;
	border-radius:0;
	text-align:center;
	border:1px solid #ff7bac;
}

#contact form input[type=checkbox]:hover{
	cursor: pointer;
}

#contact form input[type=checkbox]{
	-webkit-appearance:unset;
	width: 25px;
	height: 25px;
	padding: 0;
	border:4px solid #8C579E;
  	outline: 1px solid #ff7bac;
	float: left;
	margin-right: 10px;

}

#contact form input[type=checkbox]:checked{
	border: 5px solid #8C579E;
  	outline: 1px solid #ff7bac;
	background-color: #fff;
}

/* do not group these rules */
#contact form ::-webkit-input-placeholder { color: #fff; }
#contact form :-moz-placeholder {  color: #fff; } /* FF 4-18 */
#contact form ::-moz-placeholder { color: #fff; } /* FF 19+ */
#contact form :-ms-input-placeholder { color: #fff; }/* IE 10+ */

div.wpcf7-validation-errors {
    border: none !important;
    background: red;
    color: #fff;
    padding: 15px;
    font-size: 14px;
    margin-top: 10px;
}

.wpcf7-mail-sent-ok{
    display: block;
    border: none !important;
    background: #16afaa;
    color: #fff;
    padding: 15px;
    font-size: 14px;
    margin-top: 10px;
}


span.wpcf7-not-valid-tip{
	border: none;
    padding: 5px 1%;
    width: 98%;
    margin: 0 0 10px 0;
    color: #fff !important;
    font-size: 15px;
    font-size: 1.5rem;
    line-height: 17px;
    line-height: 1.7rem;
    height: 40px;
    font-family: 'Bitter', serif;
    background: transparent;
    border-radius: 0;
    text-align: center;
    border: 1px solid #ff7bac;
    position: absolute;
    z-index: 1;
    top: -20px;
    width: 98%;
    display: inline-table;
    background: red;
    line-height: 36px;
}


#contact form textarea {
	height:130px;
}
#contact form .optin {
	display:inline-block;
	width:100%;
}
#contact form .optin label {
	padding: 0 5px;
	font-size:16px;
	line-height:18px;
	height:auto;
	width:calc(100% - 42px);
	float: left;
	text-align:left;
}
#contact form button#soumettre {
	width:40%;
	color:#a56ba8;
	background-color:#fff;
	border:none;
	margin:10px 0;
	padding:15px 0;
	border-radius:0;
	height:auto;
	position:relative;
	-webkit-transition-property: color;
    transition-property: color;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
}
#contact form button#soumettre .overlay {
  z-index:0;
}
#contact form button#soumettre .label {
  z-index:1;
  position:relative;
}
#map .wrapper-adresse {
	color:#fff;
	float:left;
	width:50%;
}

#map .wrapper-adresse .adresse p,
#map .wrapper-adresse .adresse #adresse-anim {
	text-align:center;
	width:600px;
	vertical-align:middle;
	height:540px;
	font-size:55px;
	font-size:5.5rem;
	line-height:60px;
	line-height:6rem;
	font-style:italic;
	margin:0 auto;
}
#map .wrapper-adresse .adresse p span {
	position:relative;
	padding-bottom:10px;
	border-bottom:2px solid #fff;
}
#map .wrapper-adresse .adresse p .xxl {
	font-size:110px;
	font-size:11rem;
	line-height:120px;
	line-height:12rem;
	padding:0;
	border-top:2px solid #fff;
	border-bottom:none;
}
#map .wrapper-adresse .adresse p .xxl:before {
	display:block;
	content:"?";
	width:60px;
	height:60px;
	font-size:55px;
	font-size:5.5rem;
	line-height:60px;
	line-height:6rem;
	position:absolute;
	top:-48px;
	left:50%;
	margin-left:-48px;
	background-color:#a56ba8;
	border-radius:50%;
	border:18px solid #e34f98;
	font-style:normal;
}
#map .map {
	float:right;
	width:50%;
	height:550px;
}

@media (min-width: 981px){
	.et_pb_gutters3 .et_pb_column_4_4 .et_pb_grid_item.et_pb_gallery_item{
		width: calc(25% - 4px);
		margin: 1px;
	}
}

.et_pb_gallery_image:hover .et_overlay{
	opacity: 0;
}

.et_pb_gallery_grid .et_pb_gallery_image a{
	pointer-events: none;
}

.dgbm_blog_module .dg-blog-inner-wrapper.full-width .dgbm_post_item .content-wrapper{
	position: absolute;
	width: 100%;
	padding: 20px;
	opacity: 0;
}

.dg-blog-inner-wrapper .dgbm_post_item:hover .content-wrapper{
	opacity: 1!important;
}

.dgbm_blog_module_0 .dgbm_post_item .read-more, .dgbm_blog_module_1 .dgbm_post_item .read-more, .dgbm_blog_module_2 .dgbm_post_item .read-more{
	margin: auto!important;
}

.dgbm_blog_module .dgbm_post_item .content-wrapper .dg_read_more_wrapper.btn-at-bottm{
	margin-top: 0!important;
}

.dg-blog-inner-wrapper .dgbm_post_item, .dg-blog-inner-wrapper .dgbm_post_item .content-wrapper{
	justify-content: center;
}

.dg-blog-inner-wrapper .dgbm_post_item, .dg-blog-inner-wrapper .dgbm_post_item .content-wrapper, .dg-blog-inner-wrapper .dgbm_post_item .dg-post-thumb, .dgbm_blog_module .dg-blog-inner-wrapper.full-width .dgbm_post_item .dg-post-thumb a.featured-image-link, .dgbm_blog_module .dg-blog-inner-wrapper.full-width .dgbm_post_item .dg-post-thumb img, .carree .et_pb_image .et_pb_image_wrap{
	aspect-ratio: 1/1;
}

.dgbm_blog_module .dg-blog-inner-wrapper.full-width .dgbm_post_item .dg-post-thumb img, .carree img{
		object-fit: cover;
    object-position: center center;
    width: auto;
    height: 100%;
}

.dgbm_blog_module .dg-blog-inner-wrapper.full-width .dgbm_post_item:nth-of-type(2){
	margin-top: 35px;
}

.page-id-746 .dgbm_blog_module .dg-blog-inner-wrapper.full-width .dgbm_post_item:nth-of-type(2){
	margin-top: 10px;
}

.page-id-746 .dgbm_post_item{
	display: none!important;
}

.page-id-746 .dgbm_post_item.display{
	display: flex!important;
}

.crp-list-title{
	display: none;
}

.crp-list-item.crp-list-item-has-image.crp-list-item-image-above, .crp-list-item.crp-list-item-has-image.crp-list-item-image-below{
	float: left;
	overflow: hidden;
}



.crp-list-item.crp-list-item-has-image.crp-list-item-image-above, .page-id-746 .dgbm_blog_module .dg-blog-inner-wrapper.full-width .dgbm_post_item{
	width: calc(32% - 10px);
	margin: 10px;
	position: relative;
}

.crp-list-item.crp-list-item-has-image.crp-list-item-image-above:first-child, .page-id-746 .dgbm_blog_module .dg-blog-inner-wrapper.full-width .dgbm_post_item:nth-of-type(3n + 1){
	width: 64%;
}

.page-id-746 .dgbm_blog_module .dg-blog-inner-wrapper.full-width .dgbm_post_item{
	float: left;

}

.page-id-746 .dgbm_blog_module .dg-blog-inner-wrapper.full-width .dgbm_post_item:first-of-type, .page-id-746 .dgbm_blog_module .dg-blog-inner-wrapper.full-width .dgbm_post_item:nth-of-type(7), .page-id-746 .dgbm_blog_module .dg-blog-inner-wrapper.full-width .dgbm_post_item:nth-of-type(13){
	float: right;
	left: -15px;
}



.crp-list-item-title{
	text-align: center;
	position: absolute;
	top: 100%;
	width: 100%;
	height: 100%;
	background-color: rgb(22 175 170 / 80%);
}

.crp-list-item.crp-list-item-has-image.crp-list-item-image-above:first-child .crp-list-item-title{
	background-color: rgba(16,43,77,0.9);
}


.crp-list-item-title a{
	color: #fff;
	text-transform: uppercase;
	font-size: 24px;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 20px;
}

.crp-list-item.crp-list-item-has-image.crp-list-item-image-above:hover .crp-list-item-title{
	top: 0;
}

.crp-list-item.crp-list-item-has-image.crp-list-item-image-above:last-of-type{
	margin-top: 20px;
}


/* Remove sidebar */
.single #sidebar {
	display:none;
}

/* Remove thin line */
.single #main-content .container:before {
	background: none;
}

/* Make content 100% width */
@media (min-width: 981px){
	.single #left-area, .et_pb_gutter.et_pb_gutters2 #left-area {
		width: 100%;
		padding-right: 0px !important;
	}
}

body.single-post #main-content>.container {
    width: 100%!important;
    max-width: 100%!important;
    padding-top: 0;
}

body.single-post .et_post_meta_wrapper{
	display: none;
}

/*Réal*/
.et_pb_module .et_pb_text_inner{
	display: flex;
	flex-wrap:wrap;
	justify-content:center;
}

.et_pb_module .cat-item{
	display: block;
	margin: 10px 5px;
}

.et_pb_module .cat-item a{
	padding: 5px 15px;
	display: block;
	background-color: #7d3c96;
	color: #fff;
	border-radius: 3px;
}

/*Responsive*/

@media (max-width: 980px){
	.et_pb_column .et_pb_team_member_image{
		margin: 0 auto;
		margin-bottom: 10px;
		text-align: center;
	}	

	.crp-list-item.crp-list-item-has-image.crp-list-item-image-above, .page-id-746 .dgbm_blog_module .dg-blog-inner-wrapper.full-width .dgbm_post_item, .crp-list-item.crp-list-item-has-image.crp-list-item-image-above:first-child, .page-id-746 .dgbm_blog_module .dg-blog-inner-wrapper.full-width .dgbm_post_item:nth-of-type(3n + 1){
		width: 100%;
		float: none;
		left: 0;
	}
}

@media (min-width:768px) and (max-width:980px){
		.et_pb_column .et_pb_grid_item{
		margin: 1px;
		width: 32.666%;
	}
}

@media (max-width:767px){
		.et_pb_column .et_pb_grid_item, .et_pb_column .et_pb_grid_item:nth-child(3n){
		margin: 1px;
		width: 47.25%;
	}
}

@media (max-width: 600px){
	h2, .product .related h2, .et_pb_column_1_2 .et_quote_content blockquote p{
		font-size: 40px;
	}
}