/*-------------------
## Fixing conflicts
---------------------*/
/*Fix elementor conflicts with style.css*/
.elementor-icon .fa {color: inherit;}
.elementor-icon .fas {color: inherit;}
.elementor-icon .far {color: inherit;}

/*Elementor - Column conflict with gridlex*/
[class*="col-"][class*="-top"][class*="elementor"] {align-self: initial;}

/*Fix Elementor -> image lightbox opened (top icons)*/
.elementor-slideshow__header {flex-direction: row !important;}
.elementor-slideshow__header i.eicon-share-arrow,
.elementor-slideshow__header i.eicon-zoom-in-bold {
	display: none !important;
}
/*Fix Elementor -> title display in lightbox (footer)*/
.elementor-slideshow__footer > .elementor-slideshow__title {display: none;}

/*Fix Elementor -> icon on elementor buttons*/
.elementor-widget-button .elementor-button-wrapper .elementor-button-link .elementor-button-icon > i {padding: 0 8px;}
.elementor-widget-button .elementor-button-wrapper .elementor-button-link:hover .elementor-button-icon > i {}

/*Add some style for Elementor Tabs*/
.mlnm-onglets-elem .elementor-tab-title {background: initial; color: var(--light-txt-color); background-color: var(--alt-featured-color); transition: 400ms all ease-in-out;}
.mlnm-onglets-elem .elementor-tab-title svg > path {fill: var(--light-txt-color);}
.mlnm-onglets-elem .elementor-tab-title.elementor-active {background-color: var(--featured-color);}

/*Add some style for Elementor Box Icon*/
.marae-elem-icon-box .elementor-icon-box-wrapper .elementor-icon-box-icon > .elementor-icon {max-width: 85px;}
.marae-elem-icon-box .elementor-icon-box-wrapper .elementor-icon-box-icon > .elementor-icon i::before,
.marae-elem-icon-box .elementor-icon-box-wrapper .elementor-icon-box-icon > .elementor-icon svg::before {
	transform: translateX(-75%);
}

/*Add some style for Elementor Collapse content
#Modify collapse title colors when active*/
.mlnm-collapse-elem .elementor-tab-title {background: initial; color: initial; transition: 400ms all ease-in-out;}
.mlnm-collapse-elem .elementor-tab-title.elementor-active {background-color: #b50b3c; color: #ffffff;}

/*Fixing logo carrousel*/
.elementor-element.logo-carrousel .swiper .swiper-slide .swiper-slide-image {max-height: 175px; width: auto !important;}

/*Fixing elementor swipe slider bullets nav*/
.swiper-pagination-clickable .swiper-pagination-bullet {width: 0.75rem; height: 0.75rem;}
.swiper-pagination-clickable .swiper-pagination-bullet-active {background: var(--featured-color);}
.swiper .elementor-swiper-button > svg.e-font-icon-svg {fill: var(--featured-color) !important;}

/*Main style.css corrections*/
.site-main #builder-content > .elementor > .elementor-element.e-parent:first-child .elementor-shortcode .theme-widget > .widget-sub-container,
.site-main #builder-content > .elementor > .elementor-element.e-parent:first-child .elementor-shortcode .theme-widget > .widget-sub-container > div:first-child {margin: 0;}

/*Fix elementor image cover*/
.elementor img.img-cover {height: 100%}

/*-------------------
##  Elementor pages
---------------------*/
.elementor-element .elementor-widget-container {width: 100%;}
.elementor-widget-shortcode {text-align: left;}
.gallery-item-caption-wrap .gallery-item-buttons > a span .fas.fa-link {padding: 8px 0 0px 0;font-size: 2rem;}
.elementor-icon i::before, .elementor-icon svg::before {font-size: inherit;}
.elementor-button span {color: inherit;}
.elementor-button-icon i {font-size: inherit;}
.overlay-arml:before {content:""; position: absolute; width: 100%; height: 100%; background-color: rgba(0,0,0,0.5);}
body:not(.elementor-editor-active) .elementor-element.anchor-fix {
  display: block;
  position: relative;
  top: -200px;
}

/*-----------------------------
Organigramme Elementor
------------------------------*/
.remseo-org-chart .chart-title:after {
	content: '';
	position: absolute;
	left: calc(50% - 1px);
	top: 105%;
	height: 2rem;
	border-right: 2px solid;
}
.remseo-org-chart .chart-grid:not(.no-top):before {
	content: '';
	position: absolute;
	left: 0;
	top: 14px;
	width: 100%;
	border-top: 2px solid;
}
.remseo-org-chart .chart-grid:not(.no-top) .chart-card-container:before {
	content: '';
	position: absolute;
	width: 1rem;
	height: 1rem;
	border-radius: 50%;
	background-color: var(--featured-color);
	left: calc(50% - 0.5rem);
	z-index: 2;
}
.remseo-org-chart .chart-grid.no-top .chart-card-container:before {
	content: '';
	position: absolute;
	width: 1px;
	height: 5rem;
	left: calc(50% - 1px);
	top: -3rem;
	border-left: 2px dashed;
}

.remseo-org-chart .chart-grid-box {height: 100%;}
