/* 
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 */
p:last-child {
	margin-bottom: 0;	
}

ul:not(:has(+ div)):not(:has(+ header)):not(:has(+ footer)):not(:has(+ nav)):not(:has(+ section)):not(:has(+ article)):not(:has(+ aside)):not(:has(+ h1)):not(:has(+ h2)):not(:has(+ h3)):not(:has(+ h4)):not(:has(+ h5)):not(:has(+ h6)),
ol:not(:has(+ div)):not(:has(+ header)):not(:has(+ footer)):not(:has(+ nav)):not(:has(+ section)):not(:has(+ article)):not(:has(+ aside)):not(:has(+ h1)):not(:has(+ h2)):not(:has(+ h3)):not(:has(+ h4)):not(:has(+ h5)):not(:has(+ h6)) {
	margin-block-end: 1rem;
}

.menu-item .sub-arrow i {
	color: var(--e-global-color-accent);
}

.menu-item [aria-expanded="true"] .sub-arrow i {
	transform: rotate(180deg);
}

/*Buttons*/
.elementor-button-icon svg {
	width: .5em;
}

/*Header*/
header .elementor-item-active {
	background-color: var(--e-global-color-0d8e3d3);
}

/*Marquee*/
.image-marquee {
	-webkit-mask-image: linear-gradient(90deg, #0000, #000 3rem calc(100% - 3rem), #0000);
	mask-image: linear-gradient(90deg, #0000, #000 3rem calc(100% - 3rem), #0000);
}

/*Programs Card*/
.dots-wrapper[dots-numbers="1"] > div:nth-child(n+2) {
    display: none;
}

.dots-wrapper[dots-numbers="2"] > div:nth-child(n+3) {
    display: none;
}

/*Testimonials Card*/
.rating-wrap[data-stars="1"] > div:nth-child(n+2) {
    display: none;
}

.rating-wrap[data-stars="2"] > div:nth-child(n+3) {
    display: none;
}

.rating-wrap[data-stars="3"] > div:nth-child(n+4) {
    display: none;
}

.rating-wrap[data-stars="4"] > div:nth-child(n+5) {
    display: none;
}
