/* 
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 */

 /*Hide icons in Social media icons widget when no urls added*/
.elementor-widget-social-icons .elementor-grid-item:has(.elementor-social-icon[href=""]) ,
.elementor-widget-social-icons .elementor-grid-item:has(.elementor-social-icon[href="#"]), 
.elementor-widget-social-icons .elementor-grid-item:has(.elementor-social-icon:not([href])),
.yt-btn a:not([href]){
  display: none;
}

body{
	overflow-x:hidden;
}

.main-header .menu-item .elementor-sub-item{
   line-height: 20px!important;
}

.reviews-slider .swiper-slide{
	background-image:url('/wp-content/uploads/2024/08/quote.png');
	background-repeat:no-repeat;
	background-size:44px;
	background-position: top 3rem center;
	
}
.reviews-slider .elementor-testimonial{
	padding-top:5.5rem;
}

.cover-img{
	  position: absolute;
    right: 0;
    bottom: 0;
    height: 100%;
    z-index: 0;
    width: 50vw;
}
.elementor-counter-title{
	text-align:center;
}


.list-awards *,
.list-cert * {
	color:var(--e-global-color-text);
}
.list-awards ul,
.list-cert ul{
	list-style:none;
	padding-left:0;
}
.list-cert ul li, 
.list-awards ul li{position:relative; display:flex; margin-bottom:3px;}

.list-cert ul li:before,
.list-awards ul li:before{
	content:'';
	display:flex;
	flex-shrink:0;
	margin-right:6px;
	width:22px;
	height:22px;
	
}
.list-awards ul li:before,
.list-cert ul li:before{
	background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.243 16.3141L6 12.0701L7.414 10.6561L10.243 13.4841L15.899 7.82715L17.314 9.24215L10.243 16.3141Z' fill='%23000E2C'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M1 12C1 5.925 5.925 1 12 1C18.075 1 23 5.925 23 12C23 18.075 18.075 23 12 23C5.925 23 1 18.075 1 12ZM12 21C10.8181 21 9.64778 20.7672 8.55585 20.3149C7.46392 19.8626 6.47177 19.1997 5.63604 18.364C4.80031 17.5282 4.13738 16.5361 3.68508 15.4442C3.23279 14.3522 3 13.1819 3 12C3 10.8181 3.23279 9.64778 3.68508 8.55585C4.13738 7.46392 4.80031 6.47177 5.63604 5.63604C6.47177 4.80031 7.46392 4.13738 8.55585 3.68508C9.64778 3.23279 10.8181 3 12 3C14.3869 3 16.6761 3.94821 18.364 5.63604C20.0518 7.32387 21 9.61305 21 12C21 14.3869 20.0518 16.6761 18.364 18.364C16.6761 20.0518 14.3869 21 12 21Z' fill='%23000E2C'/%3E%3C/svg%3E%0A");
	background-size:contain;
}

.elementor img.custom-review-img{
	border-radius:100%;
}


.list-checkbox ul{
	list-style:none;
}

.elementor-form .elementor-message {
	padding-top: 20px;
    text-align: center;
}



.eael-adv-accordion .eael-accordion-list .eael-accordion-header.active .fa-toggle{    transform: rotate(-180deg);}

.hide-if-empty:has(.e-loop-nothing-found-message){display: none;}

/* Blog */
.post-thumb a {
	display: block;
	height: 100%;
}

.recent-posts .elementor-post__text {
	display: flex;
}

.recent-posts .elementor-post__read-more-wrapper {
	margin-top: auto;
}
.elementor-posts-container .elementor-post__read-more,
.recent-posts .elementor-post__read-more{
	display: inline-block;
	border-bottom:1px solid var(--e-global-color-text);
	transition:all 0.3s ease;
}
.elementor-posts-container .elementor-post__read-more:hover,
.recent-posts .elementor-post__read-more:hover{
	border-bottom-color:var(--e-global-color-accent);
}
.post-content ul {
	margin-bottom: 1rem;
}

.post-content p {
	line-height: 1.5;
}

.post-content h2 {
	margin-top: 2rem;
	font-size: clamp(1.75rem, 1.625rem + 0.625vw, 2.25rem);
}
.blog-post-item img{
	aspect-ratio: 7 / 5;
}




/* Single POST content only (excludes header/footer/sidebars) */
.single-post .post-content a,
.elementor-widget-text-editor a{
  text-decoration: underline;
}
.single-post .post-content a:hover,
.elementor-widget-text-editor a:hover{
  	text-decoration:none;
}
.elementor-toc__list-item a,
.elementor-icon-list-items a{
	font-weight:inherit;
}

/* Blog ends */


@media (min-width:1025px) and (max-width: 1220px){
	.main-header .elementor-widget-nav-menu{--order:1!important;padding:15px 0!important;width:100%!important;}
	.main-header .elementor-widget-button{--order:0!important;}
	.hero-section{margin-top:-140px;}
}


@media screen and (max-width: 768px) {
	.accordion-gallery img{height: 9rem;}
	.cover-img{width: 100%;}
	.fact-list .elementor-icon-list-item:not(:last-child):after{height: 75%!important;}
	/*Simple menu adjustment*/
	.simple-menu .elementor-nav-menu {
        justify-content: flex-start !important;
        margin-left: 0;
    }

}