/*
Theme Name: Formation AEM
Theme URI: https://www.formation-aem.com//
Description: Hello Elementor Child Theme
Author: Cybergraph
Author URL: https://cybergraph.fr/
Template: hello-elementor
Version: 1.0.0
License: GNU General Public License v2 or later
License URL: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cybergraph
*/

/* GENERAL */

body {
	font-family: Verdana,sans-serif;
	font-weight: 300;
    color: #585858;
}

a {
	color: inherit;
	transition: all 0.3s ease-in-out;
}

a:hover {
	color: inherit;
}

p {
	margin: 0;
}

.link-underline a {
	text-decoration: underline;
}

.page hr, .page .elementor hr, .single hr, .single .elementor hr {
    width: 60px;
    height: 6px;
    background-color: #BDE545;
    border: 0;
    margin: 24px 0;
}

.blue-border, .home-contact-form .contact-form-button input {
    border: 1px solid #1A3E7E;
}

.white-button, .home-contact-form .contact-form-button input {
	font-family: Verdana,sans-serif;
    padding: 16px 24px;
    background-color: #fff;
    font-size: 14px;
    font-weight: 700;
    border-radius: 50px;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    color: #1A3E7E;
}

.red-arrow {
	color: #E1000F;
	-webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
	margin-left: 8px;
}

.white-button:hover, .home-contact-form .contact-form-button input:hover {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
    background-color: #E1000F;
    color: #fff;
}

.white-button:hover .red-arrow {
    color: #fff;
}

.display-none {
	display: none;
}

.color-red {
	color: #E1000F;
}


/* NAVBAR */
/* Effet de soulignage vert / Green underline effect */

.custom-navbar .navigation-principal a {
	display: inline-block;
	position: relative;
	width: max-content;
}

.custom-navbar .navigation-principal a:after {
	content: '';
	position: absolute !important;
	width: 100%;
	transform: scaleX(0) !important;
	height: 2px;
	bottom: 10px;
	left: 0;
	background-color: #bde545 !important;
	transform-origin: bottom right !important;
	transition: transform 0.3s ease-out !important;
}

.custom-navbar .navigation-principal a:hover:after {
	transform: scaleX(1) !important;
	transform-origin: bottom left !important;
}

.home-contact-form .contact-form-button {
	text-align: center;
}

.wpml-ls-legacy-dropdown-click a {
	background: unset;
	padding: 0;
	border: none;
}

.wpml-ls-item-legacy-dropdown-click > a {
	margin-top: -4px;	
}

.wpml-ls-legacy-dropdown-click .wpml-ls-current-language:hover>a, .wpml-ls-legacy-dropdown-click a:focus, .wpml-ls-legacy-dropdown-click a:hover {
	background: unset;
	border: none;
}

.wpml-ls-legacy-dropdown-click .wpml-ls-sub-menu {
	border: none;
	margin-top: 6px;
}

.wpml-ls-legacy-dropdown-click a.wpml-ls-item-toggle:after {
	color: #ffffff;
}

.wpml-ls-legacy-dropdown-click {
	width: 56px;
}

@media screen and (max-width: 1024px) {
	 .page .wpml-ls-sub-menu {
		display: flex !important;
		opacity: 1 !important;
		visibility: visible !important;
	 }    
	
	.page .wpml-ls-item-legacy-dropdown-click > a {
		display: none !important;
	}
	
	.wpml-ls-legacy-dropdown-click a.wpml-ls-item-toggle:after {
		color: #1A3E7E;
	}
	
	.page .wpml-ls-legacy-dropdown-click .wpml-ls-sub-menu {
		margin: 2px 0 0 0;
	}
}

/* PAGES */

.section-topos p a {
	text-decoration: underline;
	color: #1A3E7E;
}

.clip-image img {
  	webkit-clip-path: polygon(0 0,100% 0,100% 100%,0 83%);
    clip-path: polygon(0 0,100% 0,100% 100%,0 83%);
}

.news-loop .hover-green-overlay .elementor-widget-image .elementor-widget-container:after {
  	content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    -webkit-clip-path: polygon(0 0,100% 0,100% 100%,0 83%);
    clip-path: polygon(0 0,100% 0,100% 100%,0 83%);
    mix-blend-mode: normal;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    pointer-events: none;
    background: -webkit-gradient(linear,left top,left bottom,from(rgba(255,255,255,0)),to(#BDE545));
    background: linear-gradient(180deg,rgba(255,255,255,0) 0%,#BDE545 100%);
    opacity: 0;
    visibility: hidden;
}

.news-loop .hover-green-overlay:hover .elementor-widget-image .elementor-widget-container:after {
    opacity: 1;
    visibility: visible;
}

/* FORMUALIRE DE CONTACT */

.home-contact-form p {
	margin: 12px 0;
}

.home-contact-form label {
	font-size: 16px;
    font-weight: bold;
    padding-bottom: 4px;
    width: 100%;
    color: #18498b;
}

.home-contact-form .contact-text {
	font-size: 10px;
	line-height: 1.5;
	font-style: italic;
	text-align: justify;
	margin: 24px 0;
}

.home-contact-form input, .home-contact-form textarea {
	border: 1px solid #18498b;
    padding: 10px;
    background-clip: padding-box;
    font-size: 16px;
    outline: none;
    border-radius: 10px;
}  

.home-contact-form .wpcf7-spinner {
	display: none;
}

/* FOOTER */

.elementor-location-footer a:hover {
	opacity: 0.5;
}