/*!
Theme Name: Clearoute
Theme URI: https://clearoute.com/
Author: Clearoute Inc.
Author URI: https://clearoute.com/
Description:
Version: 1.1.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.2
License: GPL version 2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0
Tags: custom-background, custom-colors, featured-images, flexible-header, microformats, post-formats, rtl-language-support, theme-options, translation-ready, accessibility-ready
Text Domain: clearoute
*/

/* Don't overwrite this file. Compile "/assets/main.(less|scss)" to "/assets/css/main.css" */


/* From http://codex.wordpress.org/CSS */

/* Normalize for elements that should exclude from Elementor */
/* double class to have higher priority */
[class^=cky][class^=cky] button{ 
	font-size:inherit;
}


.btn-cta-lg .elementor-button{
	background-size:100% 200%;
}

.btn-cta-lg .elementor-button:hover{
	background-size: 200% 200%;
}


/* Utility Classes */
.hidden{
/* 	display:none; */
}
.pointer-events-none{
	pointer-events: none;
}

.whitespace-nowrap{
	white-space: nowrap;
}

/* Glow button */
/* Define the button's base style */

.glow-button .elementor-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit; /* Matches button shape */
  background: rgba(255, 255, 255, 0.3); /* White overlay for brightness effect */
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  pointer-events: none; /* Ensure it's non-interactive */
  z-index: 1;
  animation: glow-breathing 3s infinite ease-in-out;
}

/* Keyframes for breathing glow effect */
@keyframes glow-breathing {
  0%, 100% {
    opacity: 0;
  }
  40% ,60% {
    opacity: .8;
  }
}

/* WP Funnel Header */
.bg--backdrop{
	background:rgba(255, 255, 255, 0.6);
	-webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.header-pointer-none{
	pointer-events:none;
}

.header-pointer-none.slide-in a,.header-pointer-none.slide-in button{
	pointer-events:auto;
}

.wp-funnel-header {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transform: translateZ(0);
  will-change: transform;
  -webkit-transform: translate3d(0,0,0);
  pointer-events: none; /* Prevent interactions when hidden */
  transition: opacity 0.4s ease-out, transform 0.4s ease; /* Transition opacity and transform */
}

.wp-funnel-header.slide-in {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto; /* Enable interactions when visible */
}
@media only screen and (max-width: 767px) {
	.wp-funnel-header .elementor-button{
		padding:1rem 1.5rem 1rem 1.5rem !important;
	}
}
@media only screen and (max-width: 450px) {
	.wp-funnel-header .elementor-button{
        padding: .75rem 1rem .75rem 1rem !important;
        font-size: .95rem !important;
	}
}

.wp-funnel-header.hide {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  pointer-events: none; /* Prevent interactions when hidden */
  transition: opacity 0.4s ease, transform 0.4s ease-in; /* Transition opacity and transform */
}


.wpfunnel_steps-template footer .container-fluid{
	max-width:1536px;
}
@media only screen and (max-width: 767px) {
	.wpfunnel_steps-template footer .container{
		width:100%;
	}
}

/* WP Funnel Form style */
/* .custom-gform-container .gform_wrapper.gravity-theme .field_sublabel_above .gfield_description{
	background-color:transparent;
} */

.gfield--type-captcha{
	position:relative;
	min-height:116px !important;
}
.gform_wrapper.gravity-theme .gform_validation_errors[id^='gform_']{
	display:none;
}
.gform_wrapper.gravity-theme .custom-validation-style .gfield_error [aria-invalid=true] {
    border: 3px solid #faa693;
}

.gform_wrapper.gravity-theme .custom-validation-style .gfield_validation_message, .gform_wrapper.gravity-theme .validation_message{
	border-color:transparent;
	border-radius:.5rem;
	background-color:var(--e-global-color-primary);
}
.gform_wrapper.gravity-theme .custom-validation-style .gfield select.large{
	border-radius:.5rem;
}

.wpfnl-optin-form .wpfnl-optin-form-group label{
	color:rgb(255,255,255);
	font-size:1.75rem;
	font-family: "DM Sans", Sans-serif;
    font-size: 1.45rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}
.wpfnl-optin-form .wpfnl-optin-form-group .btn-optin{
	margin-top:.5rem;
	background-color:var(--e-global-color-accent);
	font-family: "DM Sans", Sans-serif;
    font-size: 1.45rem;
    font-weight: 600;
    letter-spacing: -0.5px;
	color: #FFFFFF;
    transition-duration: 0.5s;
    border-radius: 50px 50px 50px 50px;
    padding: .25rem 1.5rem .25rem 1.5rem;
}

.wpfnl-optin-form .wpfnl-optin-form-group .btn-optin span{
	font-family: "DM Sans", Sans-serif;
    font-size: 1.45rem;
    font-weight: 600;
}

.wpfnl-optin-form .wpfnl-optin-form-group .btn-optin:hover{
	background-color:var(--e-global-color-primary);
}

/* Gravity Form style in Elementor */
.elementor-popup-modal .dialog-close-button svg{
	fill:rgb(255,255,255);
}
.custom-gform-container .gform_wrapper.gravity-theme .gfield_label{
	color:rgb(255,255,255);
	font-size:1.25rem !important;
}

.custom-gform-container .gform_wrapper.gravity-theme .ginput_complex label,
.custom-gform-container .gform_wrapper.gravity-theme .field_sublabel_above .gfield_description
{
	color:rgb(255,255,255);
}

.custom-gform-container .gform_wrapper.gravity-theme .field_sublabel_above .gfield_description{
	margin-top:.25rem
}

.custom-gform-container .gfield_required{
	color:rgba(255,255,255,.8) !important;
}

.custom-gform-container input,.custom-gform-container textarea{
	border-radius:.5rem;
}

/* Clearoute Elementor Animations */

/* fades directional */

:root {
    --animation-fade-slide: 12px;
}

.elementor-popup-modal:not([style="display: none;"]) {
    transition: all .3s;
    opacity: 1!important;}
div.elementor-popup-modal[style="display: none;"] {
    transition: all .3s;
    opacity: 0;
    display: flex!important;
    z-index: -5;}
.elementor-popup-modal[style="display: none;"]>div {display:none}
.elementor-popup-modal{-webkit-animation:fade-in-by-marks .5s cubic-bezier(.39,.575,.565,1.000);animation:fade-in-by-marks .5s cubic-bezier(.39,.575,.565,1.000)}
@-webkit-keyframes fade-in-by-marks{0%{opacity:0}100%{opacity:1}}@keyframes fade-in-by-marks{0%{opacity:0}100%{opacity:1}} 

/* FadeInDown */
@keyframes crFadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, calc(var(--animation-fade-slide) * -1), 0);
        /* Less movement than default */
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.elementor-element .animated.fadeInDown {
    animation-name: crFadeInDown !important;
    /* Ensure this takes precedence */
}

/* FadeInLeft */
@keyframes crFadeInLeft {
    from {
        opacity: 0;
        transform: translate3d(calc(var(--animation-fade-slide) * -1), 0, 0);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.elementor-element .animated.fadeInLeft {
    animation-name: crFadeInLeft !important;
}

/* FadeInRight */
@keyframes crFadeInRight {
    from {
        opacity: 0;
        transform: translate3d(var(--animation-fade-slide), 0, 0);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.elementor-element .animated.fadeInRight {
    animation-name: crFadeInRight !important;
}

/* FadeInUp */
@keyframes crFadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, var(--animation-fade-slide), 0);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.elementor-element .animated.fadeInUp {
    animation-name: crFadeInUp !important;
}


.button-with-gradient .elementor-button {
	background: linear-gradient(45deg, #00D591, #00F5A7);
    background-size: 200% 200%;
    animation: gradientAnimation 2s infinite;
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.logo-animate {
  animation: slide 35s infinite linear; /* Adjust the seconds for a slower or faster animation */
}

.clients-grid .elementor-icon{
	width:100%;
}

.clients-grid .elementor-icon svg{
	width:100% !important;
}

.logo-animate-wide {
  animation: slide-wide 50s infinite linear; /* Adjust the seconds for a slower or faster animation */
}



/* Animation for the second left to right marquee */
.logo-animate-alt {
  animation: slide 35s infinite linear; /* Adjust the seconds for a slower or faster animation */
  animation-direction: reverse;
}


.logo-animate-alt-wide {
  animation: slide-wide 50s infinite linear; /* Adjust the seconds for a slower or faster animation */
  animation-direction: reverse;
}

/* Animation for the first right to left marquee */
@keyframes slide {
  0% {
    transform: translate3d(calc(0% + 50px), 0, 0);
  }
  100% {
    transform: translate3d(calc(-45rem * 3), 0, 0);
  }
}


@keyframes slide-wide {
  0% {
    transform: translate3d( calc(0% + 50px), 0, 0);
  }
  100% {
    transform: translate3d(calc(-106rem * 3), 0, 0);
  }
}

.testimonital-with-header .elementor-testimonial::before{
	content:" ";
	position:absolute;
	top:0;
	left:0;
	right:0;
	margin:0 auto;
	width: 135px;
    height: 109px;
    background-image: url(/wp-content/uploads/2024/11/testimonial-header.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.testimonital-with-header .elementor-testimonial{
	height:100%;
}

.testimonital-with-header .elementor-testimonial__content{
	height: 100%;
	display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 85px;
    align-self: stretch;
}

/* WP Funnel Landing Page */
.text-gradient{
	color: #00D691;
	background: -webkit-linear-gradient(#00D691, #0A5F60);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.alignnone {
	margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
	display: block;
	margin: 5px auto 5px auto;
}

.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

a img.alignnone {
	margin: 5px 20px 20px 0;
}

a img.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto
}

.wp-caption {
	max-width: 96%;
	/* Image does not overflow the content area */
	padding: 5px 3px 10px;
	text-align: center;
}

.wp-caption.alignnone {
	margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
	margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
	margin: 5px 0 20px 20px;
}

.wp-caption img {
	border: 0 none;
	height: auto;
	margin: 0;
	max-width: 98.5%;
	padding: 0;
	width: auto;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	margin: 0;
	padding: 0 4px 5px;
}

.bypostauthor {
	font-weight: bold;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}