/*
Theme Name: Finovate Child
Author: VamTam
Author URI: https://vamtam.com
Template: finovate
*/


@import url("https://use.typekit.net/bbe2efn.css");
#page h1,
#page h2,
#page h3,
#page h4,
#page h5,
#page h6,
#page p,
#page span,
#page a,
#page label,
#page input {
    font-family: "futura-pt", sans-serif!important;
}

a.elementor-button:hover {
	text-decoration: none!important;
}
.btn-link-underline a .elementor-button-text {
	text-decoration: underline!important;
	text-align: left;
}
.a-hover-underline a:hover {
	text-decoration: underline!important;
}
.elementor-flip-box .elementor-flip-box__layer__inner {
	display: flex;
	flex-direction: column;
}
.elementor-flip-box .elementor-flip-box__layer__inner .elementor-flip-box__image {
	order: 13;
	margin-top: 1rem;
}
.elementor-social-icon:hover {
	opacity: 1!important;
	font-size: 22px!important;
}
@media(max-width: 1022.97px) {
	.elementor-flip-box .elementor-flip-box__layer__inner .elementor-flip-box__image img {
		width: 55px!important;
	}
}

/*
 * Background Route 
 */
body:not(.has-post-thumbnail) #main-content {
	position: relative;
	overflow: hidden;
}
body:not(.has-post-thumbnail) #main-content::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 50vh;
	height: calc(100% - 50vh);
	transform: translateX(-50%);
	background-image: url('https://teocourant.ca/wp-content/uploads/2025/07/bg-route.png');
	background-repeat: repeat-y;
	background-position: top center;
	background-size: contain;
	height: 100%;
	display: none;
}
@media(min-width: 1023px) {
	body:not(.has-post-thumbnail) #main-content::before {
		display: block;
		width: 1160px;
		top: 85vh;
		height: calc(100% - 85vh);
	}
}
@media(min-width: 1200px) {
	body:not(.has-post-thumbnail) #main-content::before {
		width: 1400px;
	}
}
@media(min-width: 1440px) {
	body:not(.has-post-thumbnail) #main-content::before {
		width: 1740px;
	}
}


/* 
 * Participation Form 
 */
.wpcf7 form {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}
.wpcf7 form p {
	width: calc(50% - 10px);
	margin: 0;
}
@media(max-width: 576px) {
	.wpcf7 form p {
		width: 100%;
	}
}
.wpcf7 form p:nth-last-child(-n+2),
.wpcf7 form p > label,
.wpcf7 form p > label input {
	width: 100%;
}
.wpcf7 form p > label,
.wpcf7 form p > label .wpcf7-list-item,
.wpcf7 form p > label .wpcf7-list-item > label {
	margin: 0;
	font-size: 18px;
	color: #222222;
	font-weight: 500;
}
.wpcf7 form p > label .wpcf7-list-item > label {
	display: flex;
}
.wpcf7 form p > label .wpcf7-list-item > label > input {
	width: 20px;
	margin-right: 15px;
}
.wpcf7 form .submit-btn {
	width: 100%;
}
.wpcf7 form .submit-btn > p {
	text-align: right;
}
.wpcf7 form .submit-btn > p > .wpcf7-submit {
	background-color: #fff;
	color: #222;
	font-size: 18px;
	color: #222222;
	font-weight: 500;
}
.wpcf7 form .submit-btn > p > .wpcf7-submit:hover {
	background-color: #222;
	color: #fff;
}
.wpcf7 form .submit-btn > p .wpcf7-spinner {
	display: none!important;
}
.wpcf7 form .wpcf7-response-output {
	margin: 0;
	color: #fff;
	background: #91BE4D;
	border-radius: 26px;
    padding: 15px 30px;
    border: 0;
	font-size: 18px;
	font-weight: 500;
	text-align: center;
	width: 100%;
	
}
.wpcf7 form.invalid .wpcf7-response-output {
	background: #ffb900;
	color: #222;
}

.grecaptcha-badge {
	z-index: 9;
}
