/*
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/

/* Fix button with in French */
#cc-window.cc-type-categories.cc-floating.cmplz-categories-hidden .cc-compliance .cc-dismiss, #cc-window.cc-type-categories.cc-floating.cmplz-categories-hidden .cc-compliance .cc-save, #cc-window.cc-type-categories.cc-floating.cmplz-categories-no .cc-compliance .cc-dismiss, #cc-window.cc-type-categories.cc-floating.cmplz-categories-no .cc-compliance .cc-save {
	min-width: calc(50% - 20px);
	padding-left: 10px;
	padding-right: 10px;
	width: auto!important;
}

/* Style div title like h3 */
.gform_legacy_markup_wrapper div.gform_title {
	margin: 10px 0 6px 0;
	font-weight: 700;
	font-size: 1.25em;
	line-height: 1.1em;
}

/* Always show revoke consentement button */
.cc-animate.cc-revoke.cc-bottom {
	transform: none !important;
}

.wpml-ls-flag {
	margin-right: 10px;
}

/* ----- STICKY BOUTON ----- */
.sticky-button {
	position: fixed;
	z-index: 100;
	top: 50%;
	right: 20px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 20px;
	background-color: #0168b0;
	border-radius: 50px;
	padding: 25px 15px;
}

.sticky-button:hover:before {
	width: calc(100% + 30px);
	height: calc(100% + 30px);
	background-color: #0168b000;
}

.sticky-button:before {
	content: '';
	position: absolute;
	width: calc(100% + 16px);
	height: calc(100% + 16px);
	background-color: #0168b050;
	border-radius: 50px;
	transition-property: width, height, background-color;
	transition-duration: 0.3s;
	transition-timing-function: ease-in-out;
}

.sticky-button__link {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
}

.sticky-button__link i {
	color: #fff;
	font-size: 25px;
}

.sticky-button__link img {
	width: 25px;
	height: 25px;
	object-fit: contain;
	object-position: center;
}

@media screen and (max-width: 1024px) {
	.sticky-button {
		flex-direction: row;
		top: unset;
		bottom: 15px;
		right: 15px;
		padding: 15px 25px;
	}
}