/*
Theme Name: Divi child theme by MPC
Template: Divi
Theme URI: http://www.elegantthemes.com/gallery/divi/
Version: 1.0
Description: Thème enfant personnalisé
Author: Ma Petite Com'
Author URI: https://mapetitecom.fr/
*/
@import url("../Divi/style.css");

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/

/* Colors */

:root {
  	--light-blue-color: #3EF6F4;
	--blue-color: #1FA6F9;
	--dark-blue-color: #16213F;
	--dark-color: #16213F;
}

.light-blue-color {
	color:var(--light-blue-color) !important;
}

.blue-color {
	color:var(--blue-color) !important;
}

/* Fonts */

body, input, textarea, select {
    font-family: 'Work Sans';
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Work Sans';
}


/*
* Sections
*/

/* Parallax */

.et_pb_section.section_dark_overlay .et_parallax_bg_wrap::before {
	content:'';
	display:block;
	width:100%;
	height:100%;
	background-color:rgba(10,10,10,0.47);
	position: relative;
	z-index: 1;
}

/*
* Rows & columns
*/

@media screen and (max-width: 980px) {
    .et_pb_row.column-reverse-mobile {
        display: -webkit-box;
  		display: -webkit-flex;
  		display: -ms-flexbox;
  		display: flex;
        flex-direction: column-reverse;
    }
}

.vcenter {
	display: -webkit-box;
  	display: -webkit-flex;
  	display: -ms-flexbox;
  	display: flex;
	align-items: center;
	justify-content: center;
}

.vstart {
	display: -webkit-box;
  	display: -webkit-flex;
  	display: -ms-flexbox;
  	display: flex;
	align-items: start;
	justify-content: start;
}

@media screen and (max-width:980px) {
	.vcenter, .vstart, .vbottom {
		display: block;
	}
	
	.et_pb_row.column_mobile_reverse {
        display: flex;
        flex-direction: column-reverse;
    }
	
	.et_pb_row.column_mobile_reverse .et_pb_column.et-last-child {
		margin-bottom: 30px;
	}
	
	.et_pb_row.column_mobile_reverse .et_pb_column:not(.et-last-child) {
		margin-bottom: 0;
	}
	
}

/*
* Page template
*/

#page-header.et_pb_fullwidth_header .et_pb_fullwidth_header_container.center .header-content {
    width: 100%;
    max-width: none;
	margin-bottom: 100px;
}

#page-header.et_pb_fullwidth_header .et_pb_fullwidth_header_scroll {
	font-size: 24px;
}

#page-header.et_pb_fullwidth_header .et_pb_fullwidth_header_container.center .header-content .et_pb_fullwidth_header_subhead {
	margin-top: 30px;
	
}

#page-header.et_pb_fullwidth_header .et_pb_button_one.et_pb_button {
	margin-top:50px;
}

body:not(.home) #page-header.et_pb_fullwidth_header .et_pb_fullwidth_header_scroll {
		bottom:-20vh;
}

@media screen and (min-width:1800px) {
	.home #page-header.et_pb_fullwidth_header .et_pb_fullwidth_header_scroll {
		bottom:-40vh;
	}
	
	body:not(.home) #page-header.et_pb_fullwidth_header .et_pb_fullwidth_header_scroll {
		bottom:-15vh;
	}
}

@media screen and (max-width:767px) {
	/*#page-header.et_pb_fullwidth_header .et_pb_button_one.et_pb_button, #page-header.et_pb_fullwidth_header .et_pb_fullwidth_header_scroll {
		display:none !important;
	}*/
}

/*
* Blurbs
*/

.et_pb_blurb.blurb_img_dark_overlay .et_pb_main_blurb_image {
	/*margin-bottom:0;*/
}

.et_pb_blurb.blurb_img_dark_overlay .et_pb_main_blurb_image .et_pb_image_wrap {
	position: relative;
}

.et_pb_blurb.blurb_img_dark_overlay .et_pb_main_blurb_image .et_pb_image_wrap::before {
	content:'';
	display:block;
	width:100%;
	height:100%;
	background-color:rgba(0,0,0,0.3);
	position: absolute;
	z-index: 1;
}

.et_pb_blurb.blurb_content_inner .et_pb_module_header {
	position:absolute;
	top:30px;
	left:15px;
	z-index: 2;
}

.et_pb_blurb.blurb_content_inner .et_pb_blurb_description {
	position:absolute;
	top:80px;
	left:15px;
	z-index: 2;
}

.et_pb_blurb.blurb_img_bottom .et_pb_blurb_content {
	display: -webkit-box;
  	display: -webkit-flex;
  	display: -ms-flexbox;
  	display: flex;
	flex-direction: column-reverse;
}

.et_pb_blurb.blurb_img_bottom .et_pb_blurb_content .et_pb_module_header {
	padding-bottom: 0;
}

/*
* CTA
*/

.et_pb_promo.custom_cta .et_pb_button.et_pb_promo_button {
	background-color: transparent;
	border:none;
	text-decoration:underline;
	text-transform:uppercase;
}
.et_pb_promo.custom_cta .et_pb_button.et_pb_promo_button:hover {
    background-color: transparent;
}

@media screen and (max-width:980px) {
	.et_pb_promo.custom_page_cta {
		margin-left:auto;
		margin-right:auto;
	}
}

@media screen and (min-width: 981px) { 
	.et_pb_promo.desktop_float_right {
		float: right;
	}
}

@media screen and (max-width: 980px) { 
	.et_pb_promo.mobile_center {
		margin-left:auto !important;
		margin-right:auto !important;
	}
}

/*
* Layout
*/

/* Bug 6 cols */

@media screen and (max-width: 980px) { 
	.et_pb_gutters2.et_pb_row_6col>.et_pb_column.et_pb_column_1_6 {
		width: 29.666%;
        margin-right: 5.5%;
		margin-bottom: 5.5%;
	}
	
	.et_pb_gutters2.et_pb_row_6col>.et_pb_column.et_pb_column_1_6:nth-child(3n) {
        margin-right: 0;
    }
}

@media screen and (max-width: 767px) { 
	.et_pb_gutters2.et_pb_row_6col>.et_pb_column.et_pb_column_1_6 {
		width: 100%;
        margin-right:0;
	}
}

/*
* Images
*/

/* Bug mobile */

@media screen and (max-width: 767px) { 
	.et_pb_image.et_pb_module.align_mobile_right {
        margin-left: auto !important;
        margin-right: 0 !important;
    }
}

.et_pb_image.img-bug.et_multi_view__hover_selector img {
    visibility: visible;
}

/*
* Lists
*/

ul.light-blue-list li::marker {
	color:var(--light-blue-color);
}

/* 
Masonry Gallery by WP Zone
https://wpzone.co/wordpress-and-divi-code-snippets/
*/
.wpz-gallery-masonry .et_pb_gallery .et_pb_gallery_items {
    column-count: 3; /* number of columns for desktop */
    column-gap: 15px;  /* column spacing */
}
@media only screen and (max-width: 1200px) { 
.wpz-gallery-masonry .et_pb_gallery .et_pb_gallery_items { 
    column-count: 2;  /* number of columns for tablet devices */
} 
} 
@media only screen and (max-width: 767px) {
  .wpz-gallery-masonry .et_pb_gallery .et_pb_gallery_items {
    column-count: 1;  /* number of columns for mobile devices */
  }
}
.wpz-gallery-masonry .et_pb_gallery .et_pb_gallery_items .et_pb_gallery_item {
    width: 100%;
    margin: 0px 0px 10px 0!important; /* replace 10px to change row spacing */
    float: none!important; 
}

/*
* Custom Divi Masonry gallery
*/

.divi-gallery-masonry.et_pb_gallery .et_pb_gallery_items .et_pb_gallery_item {
	display:block !important;
}

@media only screen and (max-width: 1200px) {
	.divi-gallery-masonry.et_pb_gallery .et_pb_gallery_items .et_pb_gallery_item {
		width:33.333% !important;
	}
}

@media only screen and (max-width: 980px) { 
	.divi-gallery-masonry.et_pb_gallery .et_pb_gallery_items .et_pb_gallery_item {
		width:50% !important;
	}
}

@media only screen and (max-width: 767px) {
	.divi-gallery-masonry.et_pb_gallery .et_pb_gallery_items .et_pb_gallery_item {
		width:100% !important;
	}
}

/* With gap */

.divi-gallery-masonry.with-gap.et_pb_gallery .et_pb_gallery_items {
	margin-left: -5px;
	width: calc(100% + 10px);
}

.divi-gallery-masonry.with-gap.et_pb_gallery .et_pb_gallery_items .et_pb_gallery_item {
	padding:2.5px;
}

/* Overlay */

.divi-gallery-masonry.et_pb_gallery .et_pb_gallery_items .et_pb_gallery_item .et_overlay {
	background:var(--blue-color) !important;
	border:0 !important;
}

.divi-gallery-masonry.et_pb_gallery .et_pb_gallery_items .et_pb_gallery_item .et_overlay::before {
	color:#fff !important;
	font-family:ElegantIcons !important;
	content:'\e042' !important;
}

/* Temp - Hide SCR prices */

span.scr-price {
	display:none;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/

@media screen and (min-width: 981px) { 
	.et-l--header {
   		margin-bottom: -330px;
	}
	
	header .et_pb_section.et_pb_section_0_tb_header.et_pb_sticky {
		background-color: rgba(22, 33, 63, .70) !important;
	}
	
	header .et_pb_section.et_pb_section_0_tb_header.et_pb_sticky .et_pb_menu__logo-wrap {
		max-width: 7%;
	}
	
	header .et_pb_menu--style-left_aligned .et_pb_menu_inner_container {
		align-items: flex-start;
	}
}

@media screen and (max-width: 980px) { 
	.et-l--header {
   		margin-bottom: -250px;
	}
}

/*@media screen and (max-width: 767px) { 
	.et-l--header {
   		margin-bottom: -50px;
	}
}*/

/*
* Menu
*/

/*header .et_pb_menu .et-menu li > a {
	font-family: 'Montserrat';
}*/

@media screen and (max-width: 1300px) and (min-width:1201px){
	header .et_pb_menu ul.et-menu li > a {
		font-size:18px;
	}
}

@media screen and (max-width: 1200px) and (min-width:981px){
	header .et_pb_menu ul.et-menu li > a {
		font-size:15px;
	}
}

@media screen and (min-width: 981px) {
	
	header .et_pb_menu .et-menu li > a:hover {
    	opacity: 1;
	}
	
	header .et_pb_menu ul.et-menu li.menu-item:hover > a::after, header .et_pb_menu ul.et-menu li.current-menu-item > a::after {
		content:'';
		display:block;
		width:100%;
		background-color:#fff;
		height:2px;
		position: absolute;
        top: 65% !important;
	}
}

/* WPML dropdown */

header .et_pb_menu ul.et-menu li.wpml-ls-item:hover > a::after {
	display:none;
}

header .et_pb_menu ul.et-menu li.wpml-ls-item ul.sub-menu {
	background-color: transparent;
	border:none;
	padding:0 !important;
	width: 60px;
	border-top:0;
	box-shadow: none;
	top: calc(100% - 20px);
}
header .et_pb_menu ul.et-menu li.wpml-ls-item ul.sub-menu li {
	padding:0 !important;
}

header .et_pb_menu ul.et-menu li.wpml-ls-item ul.sub-menu li a {
	padding: 0 0 0 10px !important;
	width: 60px;
}

/*
* Mobile menu
*/

/* Burger menu */

header .et_pb_menu_0_tb_header .mobile_nav .mobile_menu_bar:before {
	background:var(--blue-color);
	color:#fff;
	font-size:48px;
	padding:5px;
	border-radius:500px;
}

/*media screen and (max-width:480px) {
	header .et_pb_menu_0_tb_header .mobile_nav .mobile_menu_bar:before {
		font-size:32px;
	}
}*/

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

/* Layout */

@media screen and (min-width: 981px) {
	footer #footer-top.et_pb_gutters3 .et_pb_column_1_2 {
		width: 35.25%;
	}
	footer #footer-top.et_pb_gutters2 .et_pb_column_1_2 {
		width: 36%;
	}
	footer #footer-top.et_pb_gutters3 .et_pb_column_1_6 {
		width: 16.0833%;
	}
	footer #footer-top.et_pb_gutters2 .et_pb_column_1_6 {
		width: 18.1667%;
	}
}

/*
* Footer menu
*/


.et-db #et-boc footer.et-l .et_pb_menu.footer-menu nav.et-menu-nav ul.et-menu {
	display: block;
	list-style-type:none;
}

.et-db #et-boc footer.et-l .et_pb_menu.footer-menu nav.et-menu-nav ul.et-menu li {
	display: block;
	padding-right:0 !important;
	margin-top:0;
}

.et-db #et-boc footer.et-l .et_pb_menu.footer-menu.menu-rgpd nav.et-menu-nav ul.et-menu li {
	display: inline-block;
}

.et-db #et-boc footer.et-l .et_pb_menu.footer-menu nav.et-menu-nav ul.et-menu li a {
	color: var(--dark-color);
	padding-left: 0;
	padding-top: 8px;
}

.et-db #et-boc footer.et-l .et_pb_menu.footer-menu nav.et-menu-nav ul.et-menu li a:hover {
	background:transparent !important;
}

@media screen and (min-width:981px) {
	.et-db #et-boc footer.et-l .et_pb_menu.footer-menu {
		white-space: nowrap;
	}
	
	.et-db #et-boc footer.et-l .et_pb_menu.footer-menu.menu-rgpd .et_pb_menu__wrap {
		justify-content: flex-end;
	}
}

@media screen and (max-width:980px) {
	
	.et-db #et-boc footer.et-l .et_pb_menu.footer-menu .et_pb_menu__wrap {
  		-webkit-box-pack: center;
  		-ms-flex-pack: center;
  		justify-content: center;
	}
	
	.et-db #et-boc footer.et-l .et_pb_menu.footer-menu .et_pb_menu__menu  {
		display:block;
	}
	
	.et-db #et-boc footer.et-l .et_pb_menu.footer-menu .et_mobile_nav_menu {
		display:none;
	}
}

/* Contact */

@media screen and (max-width:767px) {
	.et-db #et-boc footer.et-l .col-contact {
		width: 100% !important;
		margin-right: 0 !important;
	}
	
	.et-db #et-boc footer.et-l .col-mpc {
		margin-bottom: 0 !important;
	}
}

/* Back to top */

.et_pb_scroll_top.et-pb-icon {
    width: 57px;
    height: 60px;
	background:url('/wp-content/themes/Divi-child/img/back-to-top-new.png') center center no-repeat;
	right: 25px;
}

.et_pb_scroll_top.et-pb-icon.et-visible {
	display: block !important;
}

.et_pb_scroll_top.et-pb-icon::before {
	/*display:none;*/
	content: 'TOP';
    font-family: 'Work Sans';
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 20px;
    color: var(--light-blue-color);
    background-color: rgba(255, 255, 255, .35);
    padding: 4px 8px;
}

/*--------------------------------------------------------------
# Homepage
--------------------------------------------------------------*/

/* Header */

.home #page-header {
	position: absolute;
    top: 15vw;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
	width:100%;
}

@media screen and (max-width: 1400px) {
	/*.home #page-header {
    	top: 10vw;
	}*/
}

@media screen and (max-width: 980px) {
	.home #page-header {
    	top: 10vw;
	}
	
	.home #page-header h1.et_pb_module_header {
		line-height:54px !important;
	}
	
	/*.home #youtube-video .fluid-width-video-wrapper {
    	height:600px;
	}*/
}

@media screen and (max-width: 767px) {
	
	.home #page-header h1.et_pb_module_header {
		line-height:40px !important;
	}
}

@media screen and (max-width: 479px) {
	.home #page-header {
    	top: 50vw;
	}
	
	.home #page-header.et_pb_fullwidth_header .et_pb_fullwidth_header_scroll {
    	bottom: 50px;
	}

}

/* Blocs */

@media screen and (min-width: 981px) {
	.et_pb_row.custom_3_cols.et_pb_gutters2 .et_pb_column_1_3 {
       width: 32.3333%;
		margin-right: 1.5%;
    }
	
	.et_pb_row.custom_3_cols.et_pb_gutters2 .et_pb_column_1_3.et-last-child {
		margin-right: 0 !important;
	}
}


/* Youtube video */

.home #youtube-video .video-overlay {
	display: block;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .3);
    position: absolute;
    top: 0;
    left: 0;
	z-index: 1;
}

.home #youtube-video:hover .video-overlay {
	display:none;
}


/* Counters */

.et_pb_number_counter.counter-before .percent-value, .et_pb_number_counter.counter-after .percent-value {
	display:block;
}

.et_pb_number_counter.counter-plus.counter-before .percent-value::before {
	content:'+';
}

.et_pb_number_counter.counter-x.counter-after .percent-value::after {
	content:'x';
}

/*--------------------------------------------------------------
# Contact form 7
--------------------------------------------------------------*/

/* Layout */

.one-half, .one-third, .two-thirds {
    position: relative;
    margin-right: 4%;
    float: left;
    margin-bottom: 20px;
	z-index:1;
}
 
.one-half { width: 48%; }
.one-third { width: 30.66%; }
.two-thirds { width: 65.33%; }
.two-halves { width: 100%; }
 
.last {
    margin-right: 0 !important;
    clear: right;
}
 
@media only screen and (max-width: 767px) {
    .one-half, .one-third, .two-thirds {
        width: 100%;
        margin-right: 0;
    }
}

/* Input */

.wpcf7-form .wpcf7-form-control-wrap {
	line-height: auto;
}

.wpcf7-form .wpcf7-form-control-wrap + br {
	content: "";
    margin: 2em;
    display: block;
    font-size: 50%;
}

.wpcf7-form input[type="text"], .wpcf7-form input[type="number"], .wpcf7-form input[type="email"], .wpcf7-form input[type="tel"], .wpcf7-form input[type="date"], .wpcf7-form textarea, select.wpcf7-form-control.wpcf7-select {
    -webkit-appearance: none;
    background-color: #fff;
    font-family: inherit;
    color: #818181;
    display: block;
	border: 1px solid #fff;
	border-radius: 6px;
    padding: 16px;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    transition: box-shadow .45s,border-color .45s ease-in-out;
}

.wpcf7-form textarea {
    height: 150px;
}

div.wpcf7-mail-sent-ok {
	border: 2px solid #21386d;
    color:#21386d;
}


/* Button */

.wpcf7-form .wpcf7-submit {
    background-color: var(--dark-color);
   	border: 1px solid var(--dark-color);
	border-radius: 8px;
    color: #fff;
    text-transform: uppercase;
	font-size: 18px;
	font-weight: bold;
	line-height: 1.7em;
	padding: .3em 1em;
	cursor:pointer;
}

.wpcf7-form .wpcf7-submit:hover {
	background-color: var(--dark-color);
   	border: 1px solid var(--dark-color);
    color: #fff;
}

.wpcf7 form.sent .wpcf7-response-output {
	color:#fff;
    border-color: var(--light-blue-color);
}

/* Checkbox */

/* Hide the Ordinary Checkbox */

.wpcf7-form input[type="checkbox"] {
    opacity:0 !important;
    margin-left: -5px !important;
	-webkit-appearance: checkbox;
}

/* Checkbox Icons */

.wpcf7-form .wpcf7-checkbox .wpcf7-list-item {
    position: relative;
    /*padding-left: 15px;*/
    cursor: default;
    font-weight: normal;
}

.wpcf7-form .wpcf7-checkbox .wpcf7-list-item .wpcf7-list-item-label {
	color:#fff;
}
 
.wpcf7-form .wpcf7-checkbox .wpcf7-list-item::before {
	color:var(--dark-blue-color);
	content: '\56'; /*checkbox unchecked */
    font-family: ElegantIcons;
    font-size: 24px;
    /*absolutely positioned*/
    position: absolute;
    top: 3px;
    left: -12px;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
     transition: all 0.5s;
     /*cursor: pointer;*/
}

/* Animating the Checkbox Icon */
.wpcf7-form .wpcf7-checkbox .wpcf7-list-item.checked::before {
    content:'\5a';
}


/*--------------------------------------------------------------
# Pages
--------------------------------------------------------------*/

/* Contact */

.page-id-636 #page-header .et_pb_fullwidth_header_scroll, .page-id-884 #page-header .et_pb_fullwidth_header_scroll  {
	display:none;
}

/* Blog */

@media (min-width: 981px) {
  .dt-2-columns-blog .et_pb_salvattore_content[data-columns]::before {
    content: '2 .column.size-1of2' !important;
  }

  .dt-2-columns-blog .et_pb_salvattore_content .column.size-1of2 {
    width: 49% !important;
    margin-right: 2%;
  }
	
	.dt-2-columns-blog .et_pb_salvattore_content div.column.size-1of2:last-of-type {
		margin-right: 0;
	}

  .dt-2-columns-blog .et_pb_post {
    margin-bottom: 11px;
  }
}

/* Plongées */

@media screen and (min-width: 981px) {
	.et_pb_row.custom_6_cols.et_pb_gutters2 .et_pb_column_1_6 {
        width: 15.4167%;
		margin-right: 1.5%;
    }
	
	.et_pb_row.custom_6_cols.et_pb_gutters2 .et_pb_column_1_6.et-last-child {
		margin-right: 0 !important;
	}
}

