/**
Theme Name: Astra child theme by MPC
Author: Ma Petite Com
Author URI: https://mapetitecom.fr/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child-theme-by-mpc
Template: astra
*/


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

/*
* Fonts
*/

/* Colors */

:root {
	--theme-color:#FFC66F;
	--dark-color:#000;
	--dark-blue-color:#002537;
	--light-grey-color:#EDEDED;
}

.no-break {
	white-space: nowrap;
}


.italic-medium {
	font-style: italic;
	font-weight: 500;
}

/*
* Rows & columns
*/

/* Default container layout */

.e-con.section, .e-grid.grid_section {
	--padding-top:75px;
	--padding-bottom:75px;
	--column-gap: 5% !important;
}

.e-con.e-flex.section  > .e-con-inner {
	max-width:min(80%, 1300px);
}

.e-con.e-flex.medium_row {
	--container-max-width:85%;
	max-width:none;
	padding-left:0;
	padding-right:0;
}

.e-con.e-flex.medium_row > .e-con-inner {
	max-width: min(85%,1450px);
}

.e-con.e-flex.large_row, .e-grid.large_row {
	--container-max-width:92%;
	max-width:none;
	padding-left:0;
	padding-right:0;
}

.e-con.e-flex.large_row > .e-con-inner, .e-grid.large_row > .e-con-inner  {
	max-width: min(92%,1700px);
}

.e-con.e-flex.very_large_row {
	--container-max-width:96%;
	max-width:none;
	padding-left:0;
	padding-right:0;
}

.e-con.e-flex.very_large_row  > .e-con-inner {
	max-width:96%;
}

@media screen and (max-width:1024px) {
	.e-con.section {
		--padding-top:50px;
		--padding-bottom:50px;
		padding-left: 0;
		padding-right: 0;
	}
	
	.e-con.e-flex.section  > .e-con-inner > div.e-con:not(.last-of-type) {
		margin-bottom:30px;
	}
	
   .e-con.e-flex.medium_row, .e-con.e-flex.large_row, .e-con.e-flex.very_large_row, .e-grid.large_row {
	   --container-max-width:100%;
	   width: 100%;
	}
	.e-con.e-flex.section > .e-con-inner, .e-con.e-con-full .boxed, .e-grid.grid_section > .e-con-inner, .e-grid.large_row  > .e-con-inner {
		 width: 80%;
	}
	.e-con.e-con-full .boxed {
		width: 80%;
		margin-left:auto;
		margin-right:auto;
	}
}

/* Mobile & tablet view */

@media screen and (max-width:1024px) and (min-width:768px) {
	.e-con.e-flex.tablet_rows  > .e-con-inner {
		flex-direction: column;
	}
	
	.e-con.e-flex.tablet_rows  > .e-con-inner {
		 width: 80%;
	}
	
	.e-con.e-flex.tablet_rows  > .e-con-inner > .e-con {
		 width: 100%;
	}
	
	.e-con-full.e-flex.tablet_rows {
		flex-direction: column;
	}
	
	/*.e-con-full.e-flex.tablet_rows > .e-con {
		  width: 80%;
	}*/
}

@media screen and (max-width:1024px) {
	.e-con.e-flex.mobile_reverse  > .e-con-inner {
		flex-direction: column-reverse;
	}
	.e-con.e-flex.mobile_reverse  > .e-con-inner > div.e-con:last-of-type {
		margin-bottom: 50px;
	}
	.e-con.e-flex.mobile_reverse  > .e-con-inner > div.e-con:first-of-type {
		margin-bottom: 0;
	}
}

/*
* Titles
*/

.title_h2 h2.elementor-heading-title > span {
	font-family: 'Allura';
	font-size:60px;
	/*line-height:85px;*/
	font-weight: 500;
}

@media screen and (max-width:1024px) {
	.title_h2 h2.elementor-heading-title > span {
		font-size:50px;
		/*line-height:70px;*/
	}
}

@media screen and (max-width:767px) {
	.title_h2 h2.elementor-heading-title > span {
		font-size:40px;
		/*line-height:56px;*/
	}
}

/*
* Accordions
*/

.custom_accordion.elementor-widget-n-accordion .e-n-accordion > .e-n-accordion-item > .e-n-accordion-item-title {
	padding-left:0 !important;
	padding-bottom:30px !important;
	padding-top:30px;
}

.custom_accordion.elementor-widget-n-accordion .e-n-accordion > .e-n-accordion-item .e-n-accordion-item-title-icon {
	position: absolute;
    right: 0;
}

.custom_accordion.elementor-widget-n-accordion .e-n-accordion-item:last-child .e-n-accordion-item-title {
	border-bottom-width:0 !important;
}

.custom_accordion.elementor-widget-n-accordion .e-n-accordion > .e-n-accordion-item summary + div {
	border-bottom: 1px solid var(--light-grey-color);
}

.content_equal_columns.elementor-widget-n-accordion .e-n-accordion > .e-n-accordion-item summary + div[role=region] > div {
	flex:1 !important;
}

/*
* Images
*/


/* Carousel */

@media screen and (min-width:768px) {
	
	.custom_img_carousel.elementor-widget-image-carousel .swiper-slide {
    	padding: 0 15px;
	}
	/*.custom_img_carousel.elementor-widget-image-carousel .swiper-pagination {
		display:none !important;
	}*/
}	
	
@media screen and (max-width:767px) {
	.custom_img_carousel.elementor-widget-image-carousel .swiper-slide {
    	padding: 0 5px;
	}
	/*.custom_img_carousel.elementor-widget-image-carousel .elementor-swiper-button {
		display:none !important;
	}*/
}

/* Filterable gallery */

@media screen and (max-width:1024px) {
	.custom_filterable_gallery .elementor-gallery__titles-container {
		flex-direction: column;
    	row-gap: 5px;
    	align-items: flex-start;
	}
	
	.custom_filterable_gallery .elementor-gallery__titles-container > a {
		padding-left:0;
	}
}

/* Image boxes */

.custom_img_box .elementor-image-box-wrapper {
	height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
}

@media screen and (min-width:1025px) {
	.custom_img_box.grid_custom {
		grid-column-start: 2 !important;
    	grid-column-end: 4 !important;
	}
}

/*
* Lists
*/

ul.li-inside {
	list-style-position: inside;
}

/*
* OWL Carousel
*/

/*.owl-carousel.mpc-theme {
	padding: 0 25px;
}*/

.owl-carousel.mpc-theme .owl-stage {
	display: flex;
}

.owl-carousel.mpc-theme div.owl-item {
	display: flex;
	flex: 1 0 auto;
}

.owl-carousel.mpc-theme div.item {
	text-align: center;
	height: 100%;
}

.owl-carousel.mpc-theme div.item .item-image > p, .owl-carousel.mpc-theme div.item .item-image a br, .owl-carousel.mpc-theme div.item .item-image a p {
	display:none;
}

/* Bug chrome */

.owl-carousel .owl-stage-outer {
    width: 100%;
    -webkit-transform-style:preserve-3d;
    -moz-transform-style:preserve-3d;
    transform-style:preserve-3d;
}

/* Navigation */

.owl-carousel.mpc-theme .owl-nav [class*=owl-] {
	display: block !important;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    transform: translateY(-50%);
	box-shadow: none;
}

.owl-carousel.mpc-theme .owl-prev {
    left: -60px;
}

.owl-carousel.mpc-theme .owl-next {
    right: -60px;
}

.owl-carousel.mpc-theme .owl-prev i, .owl-carousel.mpc-theme .owl-next i {
	/*transform : scale(0.5);*/
	font-size: 60px;
	color: var(--theme-color);
}

.owl-carousel.mpc-theme .owl-prev i:hover, .owl-carousel.mpc-theme .owl-next i:hover {
	color: var(--dark-blue-color);
}

/* Dots */

.owl-carousel.mpc-theme .owl-dots {
	display: flex;
    justify-content: center;
    margin-top: 30px;
    column-gap: 5px;
}

.owl-carousel.mpc-theme .owl-dots button {
	box-shadow: none;
}

.owl-carousel.mpc-theme .owl-dots .owl-dot, .owl-carousel.mpc-theme .owl-dots .owl-dot:hover {
	background-color: transparent;
}

.owl-carousel.mpc-theme .owl-dots .owl-dot span {
	display: inline-block;
    width: 14px;
    height: 14px;
    background-color: var(--dark-blue-color);
	border: 1px solid var(--dark-blue-color);
	border-radius:100px;
}

.owl-carousel.mpc-theme .owl-dots .owl-dot.active span, .owl-carousel.mpc-theme .owl-dots .owl-dot:hover span  {
	background-color: var(--theme-color);
	border-color: var(--theme-color);
}

/*.owl-carousel.mpc-theme .owl-dots .owl-dot.active span {
	position:relative;
	top:3px;
	width: 24px;
    height: 24px;
}*/

/* Overlay */

.owl-carousel.mpc-theme .item-image {
	position:relative;
}

.owl-carousel div.item .item-image .owl-overlay {
	color: #fff;
	position: absolute;
  	left: 0;
	top: 0;
	transition:all ease .2s;
  	opacity: 0;
  	background: rgba(0,0,0,.25);
  	overflow: hidden;
	font-size: 32px;
	z-index: 1;
	display:flex;
	align-items:center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.owl-carousel div.item .item-image:hover .owl-overlay {
	z-index: 3;
	opacity: 1;
}

.owl-carousel div.item .item-image:hover .owl-overlay span {
	display:block;
	background-color: var(--dark-color);
	padding:10px;
	border-radius: 100px;
	font-size: 24px;
}

.owl-carousel div.item  .item-image .owl-overlay .view-more {
	margin-top:15px;
}

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

/*
* Logo
*/

/* Logo */

header .elementor-widget-theme-site-logo {
	background-color: var(--dark-blue-color);
	padding: 15px;
}

/*
* Sticky header
*/

header .sticky-header {
	
}

/* Sticky header activated */

header .sticky-header > .e-con {
	height: var(--header-height);
	transition: height var(--transition);
}

header .sticky-header.elementor-sticky--effects {
	--header-height: 100px;
	--shrink-header-to: 0.6;
	--transition: .45s cubic-bezier(.4, 0, .2, 1);
	padding-top: 1% !important;
	padding-bottom: 1% !important;
}

header .sticky-header.elementor-sticky--effects > .e-con {
	height: calc( var(--header-height) * var(--shrink-header-to) );
}

@media only screen and (min-width:1025px) {
	header .sticky-header.elementor-sticky--effects {
		background-color:var(--dark-blue-color) !important;
	}
	
	header .site-header-transparent .sticky-header.elementor-sticky--effects {
		justify-content: center;
	}
	
	header .sticky-header.elementor-sticky--effects.menu-container .elementor-widget-container {
		margin-top: 0 !important;
	}
}

/* Logo */

header .sticky-header .logo img {
	transition: transform var(--transition);
}
header .sticky-header.elementor-sticky--effects .logo img {
	transform: scale(.3);
	-webkit-transform: scale(.3);
	transform-origin-x: 0;
	-webkit-transform-origin-x: 0;
	transform-origin-y: 0;
	-webkit-transform-origin-y: 0;
}

/*
* Desktop menu
*/

@media only screen and (max-width:1200px) and (min-width:1025px) {
	header .header_menu ul.elementor-nav-menu > li > a {
		font-size: 18px !important;
	}
}

/*
* Mobile menu
*/

/* Dropdown */

@media only screen and (max-width:1024px) {
	header .header_menu .elementor-nav-menu--dropdown {
		top: 150px !important;
	}
}

@media only screen and (max-width:767px) {
	header .header_menu .elementor-nav-menu--dropdown {
		top: 125px !important;
	}
}

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

/*
* Page template
*/

/* Mentions légales */

.page-id-370 #page-header .elementor-cta__button-wrapper {
	display:none;
}

/* Aménagement intérieur */

.page-id-484 #page-header .elementor-cta__button-wrapper {
	margin-top: 40px;
}

/*
* Home
*/


/* Reviews */

.elementor-widget-reviews.custom_reviews .elementor-testimonial__cite {
	flex-direction: column-reverse;
}

.custom_border_module::before {
	content:'';
	position: absolute;
	top:0;
	left:0;
	display: block;
	height:50%;
	width:18%;
	border-top:10px solid #fff;
	border-left:10px solid #fff;
}

@media only screen and (max-width:1024px) {
	.custom_border_module::before {
		width:25%;
	}
}

@media only screen and (max-width:767px) {
	.custom_border_module::before {
		width:33%;
	}
}

/*
* Contact
*/

input::placeholder, textarea::placeholder {
    color: var(--dark-color) !important;
    opacity: 1 !important;
}


.contact_form input[type=checkbox] + label {
	font-size:16px;
	font-weight: 400;
}

/*
* Réalisations
*/

/* Cat filter */

@media screen and (max-width:1024px) {
	.custom_cat_filter.elementor-widget-taxonomy-filter .elementor-widget-container .e-filter {
		display:flex;
		flex-direction: column;
    	row-gap: 5px;
    	align-items: flex-start;
	}
	
	.custom_cat_filter.elementor-widget-taxonomy-filter .elementor-widget-container .e-filter button {
		padding-left:0;
	}
}

/* Posts lists */

.custom_posts_grid .elementor-widget-theme-post-featured-image {
	position: relative;
}

.custom_posts_grid .elementor-widget-theme-post-featured-image a:hover:before {
	content:'';
	display:block;
	height:100%;
	width:100%;
	position: absolute;
	top: 0;
    left: 0;
	background-color:rgba(0,0,0,.25);
	z-index:1;
}

.custom_posts_grid .elementor-widget-theme-post-featured-image a:hover::after {
	display:block;
	content: '\f067';
	font-size:24px;
	font-weight: 900;
	font-family: "Font Awesome 5 Free";
	background-color: var(--dark-color);
	padding: 2px 10px;
	border-radius: 100px;
	color:#fff;
	position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
	z-index:2;
}

/*--------------------------------------------------------------
# Réalisations
--------------------------------------------------------------*/

/*
* Carousel
*/


.owl-carousel .item-blog {
	border:1px solid var(--dark-blue-color);
}

.owl-carousel .item-blog .blog-content {
	padding:15px;
}

.owl-carousel .item-blog .blog-title a {
	color:var(--dark-blue-color);
}

.owl-carousel .item-blog .blog-title a:hover {
	color:var(--theme-color);
}

/*
* Masonry
*/

/* Custom Divi Masonry gallery */

/* reveal grid after images loaded */
.masonry-gallery.are-images-unloaded {
  opacity: 0;
}

/* hide by default */
.masonry-gallery.are-images-unloaded .image-grid__item {
  opacity: 0;
}

.grid__item {
  margin-bottom: 1%;
  float: left;
}

.grid__item img {
	display: block;
	max-width: 100%;
}

.grid__item, .grid__col-sizer {
  width: 24%;
}

.grid__gutter-sizer {
	width: 1%;
}

@media screen and (max-width:980px) {
	.grid__item, .grid__col-sizer {
  		width: 32%;
	}
}

@media screen and (max-width:600px) {
	.grid__item, .grid__col-sizer {
  		width: 100%;
	}
	
	.grid__gutter-sizer {
		width: 0;
	}
}

