/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
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: 2.0.0
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 */

/***********/
/* General */
/***********/
.elementor-widget-text-editor p:last-child {
    margin-bottom: 0;
}

a {
	transition: color .3s ease;
}

a.word-break {
	word-break: break-word;
}

/* list */
.elementor-widget-text-editor ul li,
.elementor-widget-text-editor ol li {
	margin-bottom: 0.9rem!important;
}

.elementor-widget-text-editor ul,
.elementor-widget-text-editor ol {
	margin-bottom: 0.9rem!important;
}

/* center list */
.center-list div ul {
	list-style-position: inside;
	padding-left: 0;
}

.center-list div ul li span {
	margin-left: -10px;
}

/*
a svg {
	transition: opacity .2s ease!important;
}

a svg:hover {
	opacity: 0.7;
}*/

/* Icon fix */
.elementor-icon-wrapper,
.elementor-icon-wrapper .elementor-icon {
	line-height: 0!important;
}

.icon-image .elementor-icon svg {
    width: 100%!important;
	height: auto!important;
}

.elementor-icon svg {
	transition: fill .3s ease;
}

/* Icon List Fix */
.elementor-icon-list-item a {
	align-items: center!important;
}

.elementor-icon-list-item .elementor-icon-list-icon svg {
	transition: fill 0.2s ease;
}

.elementor-icon-list-item .elementor-icon-list-text {
	transition: color 0.2s ease;
}

.elementor-icon-list-icon {
	line-height: 0!important;
}

/* Icon Button Fix */
.elementor-button-content-wrapper .elementor-button-icon {
    display: flex;
    align-items: center;
}

/* Elementor Icon normalize */
.icon-normal .elementor-icon-wrapper .elementor-icon svg {
	height: auto!important;
}

/* responsive icons */
.icon-rspn .elementor-icon-wrapper .elementor-icon svg {
	display: block;
	max-width: 100%!important;
	height: auto!important;
}

/* Icon hover transition */
a.elementor-icon i {
	transition: color 0.3s ease;
}

/* Webkit shear x fix */
#Search::-webkit-search-cancel-button {
    color: var( --e-global-color-primary );
}

/* remove button outline 
[type=submit], 
[type=submit]:focus,
button,
button:focus {
    outline: none!important;
	border: none;
}*/

/* Remove field focus-visible 
:focus-visible {
    outline: none;
}*/

/* remove safari form styling */
input[type=text], input[type=email], input[type=tel], textarea, input[type=button] {   
    -webkit-appearance: none;
    -moz-appearance: none;
	-webkit-border-radius: 0;
    appearance: none;
}

/* Visually Hidden */
.visually-hidden {
	font-size: 0!important;
	width: 1px!important;
	height: 1px!important;
	display: inline-block!important;
	overflow: hidden;
	position: absolute!important;
	border: 0!important;
	padding: 0!important;
	margin: 0!important;
	clip: rect(1px,1px,1px,1px);
}

.elementor-editor-active .visually-hidden {
font-size: inherit!important;
	width: inherit!important;
	height: inherit!important;
	display: inherit!important;
	overflow: inherit!important;
	position: inherit!important;
	border: inherit!important;
	padding: inherit!important;
	margin: inherit!important;
}

/* popup close button */
.dialog-close-button svg {
	transition: fill 0.3s ease;
}

/* anchor offset */
body:not(.elementor-editor-active) .elementor-menu-anchor {
	display: block;
	position: relative;
	top: -130px;
	visibility: hidden;
	pointer-events: none;
}

@media (max-width: 1024px) {
	body:not(.elementor-editor-active) .elementor-menu-anchor {
		top: -130px;
	}
}

@media (max-width: 767px) {
	body:not(.elementor-editor-active) .elementor-menu-anchor {
		top: -110px;
	}
}

/* Hidden Yoast Breadcrumbs */
.hidden-breadcrumbs {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* instagrm feed fix */
#sb_instagram #sbi_images {
	padding: 0;
}

/************/
/* Specific */
/************/
/* Header */
/* Remove header transitions on page load */
html.preload .home .elementor-location-header .sticky-header.elementor-sticky { transition: none; animation: none; }
html.preload .home .elementor-location-header .sticky-header.elementor-sticky svg { transition: none; animation: none; }
html.preload .home .elementor-location-header .sticky-header.elementor-sticky .elementor-item { transition: none; animation: none; }

/* defulat logo colors */
.elementor-location-header .sticky-header.elementor-sticky svg .logo-black { fill: var(--e-global-color-1bc657a); }
.elementor-location-header .sticky-header.elementor-sticky svg .logo-maroon { fill: var(--e-global-color-primary); }

/* HOME: start transparent with white logo + Text 
.home .elementor-location-header .elementor-element.sticky-header { background-color: var(--e-global-color-7cf9ad9); }
.home .elementor-location-header .elementor-element.sticky-header svg .logo-black { fill: var(--e-global-color-ac9b891); }
.home .elementor-location-header .elementor-element.sticky-header svg .logo-maroon { fill: var(--e-global-color-ac9b891); }
.home .elementor-location-header .elementor-element.sticky-header .elementor-nav-menu--main .elementor-item { color: var(--e-global-color-ac9b891); }
.home .elementor-location-header .elementor-element.sticky-header .elementor-nav-menu--main .elementor-item:after { background-color: var(--e-global-color-ac9b891); }
.home .elementor-location-header .elementor-element.sticky-header .off-canvas-button svg { fill: var(--e-global-color-ac9b891); }*/

 /* Change Header on sticky effects 
.home .elementor-location-header .sticky-header.elementor-sticky.elementor-sticky--effects { transition: background-color .3s ease; }
.home .elementor-location-header .sticky-header.elementor-sticky.elementor-sticky--effects { background-color: var(--e-global-color-accent); }
.home .elementor-location-header .sticky-header.elementor-sticky.elementor-sticky--effects svg g { transition: fill .3s ease; }
.home .elementor-location-header .sticky-header.elementor-sticky.elementor-sticky--effects svg .logo-black { fill: var(--e-global-color-1bc657a); }
.home .elementor-location-header .sticky-header.elementor-sticky.elementor-sticky--effects svg .logo-maroon  { fill: var(--e-global-color-primary); }
.home .elementor-location-header .sticky-header.elementor-sticky.elementor-sticky--effects .elementor-item { color: var(--e-global-color-primary); }
.home .elementor-location-header .sticky-header.elementor-sticky.elementor-sticky--effects .elementor-item:hover, 
.home .elementor-location-header .sticky-header.elementor-sticky.elementor-sticky--effects .elementor-item.elementor-item-active { color: var(--e-global-color-primary); }
.home .elementor-location-header .sticky-header.elementor-sticky.elementor-sticky--effects .elementor-item:after { background-color: var(--e-global-color-primary); }
.home .elementor-location-header .elementor-element.sticky-header.elementor-sticky--effects .off-canvas-button svg { fill: var(--e-global-color-primary); }
.home .elementor-location-header .elementor-element.sticky-header.elementor-sticky--effects .off-canvas-button:hover svg { fill: var(--e-global-color-text); }*/

/* Home Page Services */
.service-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.service-video,
.service-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-thumb {
  opacity: 1;
  transition: opacity 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .service-media:hover .service-thumb {
    opacity: 0;
  }
}

/* class-based reveal used on touch */
.service-media.is-playing .service-thumb { 
	opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .service-video {
    display: none;
  }
}

/* Case Study Lisstings */
.cs-listing .cs-listing-text {
	opacity: 0;
	transition: opacity 0.3s ease;
}

.cs-listing:hover .cs-listing-text {
	opacity: 1;
}