/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/

/* Style pour le préloader */
body:not(.home) #preloader {
	display: none;
}

#preloader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 99999; /* Assure-toi que le préloader est au-dessus de tout */
}

#preloader-video-container {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

#preloader-video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Animation pour faire disparaître le préloader */
body.loaded #preloader {
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease-out;
}

/* Visuel formulaire Cyberimpact Infolettre */

.ci-form {
	background: transparent;
    max-width: 450px;
    font-family: 'Figtree', Helvetica, Arial, Lucida, sans-serif;
}

.ci-row {
	display: flex;
    gap: 5px;
    margin-bottom: 12px;
}

.ci-row input, .ci-full input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 0;
    font-size: 16px;
	font-weight: 300;
    box-sizing: border-box;
	font-family: 'Figtree', Helvetica, Arial, Lucida, sans-serif;
}

.ci-row input::placeholder, .ci-full input::placeholder {
    font-size: 16px;
	font-weight: 300;
	font-family: 'Figtree', Helvetica, Arial, Lucida, sans-serif;
	color: #000;
}

.ci-row input:focus, .ci-full input:focus {
    outline: none;
    border-color: #000;
}

.ci-full {
    margin-bottom: 16px;
}

.ci-form input[type="submit"] {
    width: 100%;
    padding: 10px;
    /*background: #008755;*/
	background: transparent;
    color: #fff;
	font-size: 18px;
    /*border: 2px solid #008755;*/
	border: 2px solid #fff;
    border-radius: 0;
    font-size: 18px;
	font-family: 'Figtree', Helvetica, Arial, Lucida, sans-serif;
	font-weight: 300;
	text-transform: uppercase;
    cursor: pointer;
	transition: all 300ms ease 0ms;
}

.ci-form input[type="submit"]:hover {
	/*background: transparent;
	border: 2px solid #fff;*/
	background-color: #000;
	border: 2px solid #000;
}


/* Complianz - Cookie */
#cmplz-manage-consent .cmplz-btn.cmplz-manage-consent {
	bottom: 1px !important;
    transition: transform 0.3s ease;
	height: 40px;
}

#cmplz-manage-consent .cmplz-btn.cmplz-manage-consent:hover {
	/*bottom: 0 !important;*/
	transform: translateY(-15%);
}


