.elementor-element p,
.elementor-element li {
    font-size: inherit;
    font-weight: inherit;
}

/* for counter widgets */
body .elementor-counter .elementor-counter-number-wrapper {
    font-weight: 400;
    line-height: 1;
    font-family: var(--main-text-font-family);
}

.elementor-testimonial-wrapper .elementor-testimonial-job {
    font-size: .85em;
    display: block;
    line-height: 1.3;
}

.elementor-counter .elementor-counter-number-wrapper,
.ananda-x .elementor-widget-button .elementor-button {
    font-family: var(--main-text-2-font-family);
}

.ananda-x .elementor-widget-heading .elementor-heading-title,
.ananda-x .elementor-heading-title {
    font-family: var(--headings-font-family);
}

.elementor-widget-container .elementor-counter .elementor-counter-title {
    font-family: var(--main-text-font-family);
    font-size: 22px;
}

.elementor-widget-container > h1.elementor-heading-title,
.elementor-widget-container > h2.elementor-heading-title,
.elementor-widget-container > h3.elementor-heading-title,
.elementor-widget-container > h4.elementor-heading-title {
    margin: 0; /* Within elementor, margins should be given by the user */
}

@media screen and (max-width: 1024px) {

    .elementor-widget-container .elementor-counter .elementor-counter-title {
        font-size: 16px;
    }
}

.ananda-x .elementor-widget-text-editor {
    font-family: var(--main-text-font-family);
}

/* line height- testimonial section */
body .elementor-testimonial-wrapper .elementor-testimonial-job {
    font-size: .85em;
    display: block;
    line-height: 1.3;
    margin-top: 12px;
}

body .elementor-counter .elementor-counter-title {
    line-height: 1.2;
    margin-top: 12px;
}

/*----- Accordion Widget - change icons -----*/
body .elementor-tab-title a {
    color: rgba(0, 107, 232, 0.8);
}

body .elementor-tab-title a {
    font-size: 124.8%;
    text-transform: none;
    letter-spacing: -0.4px;
    font-weight: 500;
    font-family: var(--main-text-2-font-family);
}

body .elementor-tab-title a:hover {
    font-size: 124.8%;
    color: #1E558B;
    text-transform: none;
    letter-spacing: -0.4px;
    font-weight: 500;
    font-family: var(--main-text-2-font-family);
}

body .fa,
.fas {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    /*color: rgba(0, 107, 232, 0.8);*/
}

body .fa-caret-right:before {
    content: "\f067";
    font-size: 74%;
}

body .fa-caret-down:before {
    content: "\f068";
    font-size: 74%;
}

body .elementor-toggle .elementor-tab-title {
    font-weight: 700;
    line-height: 1;
    margin: 0;
    padding: 15px;
    border-bottom: none;
    cursor: pointer;
    outline: none;
}

body .elementor-toggle .elementor-tab-content {
    padding: 15px;
    border-bottom: none;
    display: none;
}

body .elementor-widget-container .ananda-heading {
    margin-top: 0;
    margin-bottom: 0;
}

@media screen and (max-width: 767px) {
    body section.elementor-section > .elementor-container > .elementor-column > .elementor-element-populated {
        padding-left: 0;
        padding-right: 0;
    }

    body section.elementor-section > .elementor-container > .elementor-column .elementor-element {
        max-width: 94vw;
        margin-left: auto;
        margin-right: auto;
    }

    .ananda-elementor-section-full-width-mobile {
        width: 101vw;
        margin-left: -7% !important;
        border-radius: 0 !important;
    }
}




/***************************
 * Elementor Custom Widgets
 ***************************/


 /*! Ananda Reviews Widget */

.ananda-review{
    padding-bottom: 40px;
}

.ananda-reviews{
    margin-bottom: 20px;
}

/* Review: Head */
.ananda-reviews .ananda-reviews__rating-filter {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 40px;
    gap: 15px;
}
@media(min-width: 580px){
    .ananda-reviews .ananda-reviews__rating-filter{
        flex-direction: row;
        justify-content: space-between;
    }
}

.ananda-reviews .ananda-reviews__rating-count {
    display: flex;
    align-items: center; 
    font-weight: 600;
    gap: 25px;
    color: #4f94a3;
}
.ananda-reviews .ananda-reviews__average-rating{
    display: flex;
    align-items: baseline;
    line-height: 1.85em;
    border-bottom: 1.95px solid black;
    color: black;
}
.ananda-reviews__stars>.star-rating {
    margin: 0px 0px 0px 6px !important;
}
.woocommerce .ananda-reviews__stars .star-rating span::before{
    color: #ffbf00;    
}

.ananda-reviews__filter {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 10px;
}
.ananda-reviews__filter form, .ananda-reviews__filter form select {
    margin: 0px;
    min-width: 200px;
    border: solid 1px #e0e0dd;
    border-radius: 3px;
}
@media(min-width:560px){
    .ananda-reviews__filter {
        flex-direction: row;
    }
    .ananda-reviews__filter form, .ananda-reviews__filter form select {
        min-width: 250px;
    }
}


/* Review: Body */
.ananda-review .ananda-review-rating{
    margin-bottom: 14px;
}


.ananda-review .strong.ananda-review-author {
    color: black;
}
.ananda-review .ananda-review-text{
    color: #073763;
}

.ananda-reviews .ananda-review-date {
    font-weight: 200;
    font-size: 16px;
    padding: 10px 0px 7px;
}
.ananda-reviews .toggle-text{
    color: inherit;
    text-decoration-line: underline;
    font-weight: 600;

}
strong.ananda-review-author {
    font-family: 'circular';
    color: black;
}

.ananda-reviews .star-rating,
.ananda-reviews-sum .star-rating{
    display: block;
    overflow: hidden;
    position: relative;
    float: none;
    width: 125px !important;
    height: 1em;
    margin: 0 0 5px;
    font-size: 1em;
    font-style: normal !important;
    font-weight: normal !important;
    font-family: "star";
    line-height: 1em;
}

.ananda-reviews .star-rating:before, 
.ananda-reviews-sum .star-rating:before {
    content: "\73\73\73\73\73";
    position: absolute;
    top: 0;
    left: 0;
    float: left;
    color: #ffbf00 !important;
    letter-spacing: 5px;
}

.ananda-reviews .star-rating span,
.ananda-reviews-sum .star-rating span{
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    float: left;
    padding-top: 1.5em;
}

.ananda-reviews .star-rating span:before,
.ananda-reviews-sum .star-rating span:before{
    content: "\53\53\53\53\53";
    position: absolute;
    top: 0;
    left: 0;
    color: #ffbf00 !important;
    letter-spacing: 5px;
}


/* Toggle Text */

/* Define keyframes without using !important */
@keyframes splittextdown {
    0% {
        opacity: 0;
        
    }
    100% {
        opacity: 1;
    }
}
@keyframes splittextup {
    0% {
        opacity: 1;
        
    }
    100% {
        opacity: 0;
    }
}

/* Apply the animation when the element becomes visible */
.ananda-review-text .second-text .second-visible {
    display: inline !important;
    animation: splittextdown 500ms ease-in forwards; 
}
.ananda-review-text .second-text {
    display: inline;
}


/* Paginations */
.ananda-reviews-pagination{
    margin-top: 40px;
    display: flex;
}
.ananda-reviews-pagination span.page-numbers.current {
    background-color: #ffffff;
    box-shadow: -3px -2px 7px -1px #e5e5e5;
}
.ananda-reviews-pagination a{
    background-color: transparent;
    box-shadow: 2px 3px 7px -1px #e5e5e5;
}
.ananda-reviews-pagination a, .ananda-reviews-pagination span.page-numbers.current,  
.ananda-reviews-pagination a.next.page-numbers, .ananda-reviews-pagination a.prev.page-numbers{
    color: #4f94a3;
    padding: 8px 15px 8px;
    font-size: 16px;
    border: 1px solid #e5e5e5;
    box-sizing: border-box;
    border-radius: 3px;
    margin-right: 7px;
}
.ananda-reviews-pagination span.page-numbers.dots{
    color: #4f94a3;
}

/* Spinner */
.spinner {
    display: none;
    visibility: visible;
    width: 20px;
    height: 20px;
    margin: 0;
    background: url('/../wp-admin/images/spinner.gif') no-repeat;
    opacity: .7;
    filter: alpha(opacity=70);
}

.spinner.is-active{
    display: inline-block;
}

/* Spinner: In Pagination */
.ananda-reviews-pagination .spinner{
    align-self: center;
}


/* Review Summary */
.ananda-reviews__stars{
    cursor: pointer;
}
.ananda-reviews__stars .ananda-reviews-sum{
    display: none;
    position: absolute;
    z-index: 500;
    top: 35px;
    left: 0px;
    line-height: 1em;
    font-weight: 400;
}
@media(min-width: 770px){
    .ananda-reviews__stars .ananda-reviews-sum{
        left: -50px;
    }
}
.ananda-reviews__average-rating:hover .ananda-reviews__stars .ananda-reviews-sum{
    display: block;
}
.ananda-reviews-sum{
    border: solid 1px #bec2c2;
    border-radius: 10px;
    padding: 20px;
    font-family: 'circular';
    font-size: 16px;
    max-width: 340px;
    background-color: white;
}

.ananda-reviews-sum__average-value{
    display: flex;
    align-items: baseline;
}
.ananda-reviews-sum__average-value .star-rating {
    max-width: 90px;
    font-size: 15px;
}
.ananda-reviews-sum__average-value .star-rating:before, 
.ananda-reviews-sum__average-value .star-rating span:before {
    color: #ffbf00;
    letter-spacing: 0.5px;
}

.ananda-reviews-sum__average-value strong{
    font-size: 19px;
    color: black;
}

.ananda-reviews-sum__total-rating {
    color: #6e7171;
    padding: 5px 0px;
}

.ananda-reviews-sum__total-rating-by-star {
    padding: 10px 0px 5px;
}

.ananda-reviews-sum__star-rating{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 2.5px;
    padding-bottom: 10px;
}
.ananda-reviews-sum__star-rating .star-label{
    color: #4f94a3;
    min-width: 45px;
}
.ananda-reviews-sum__star-rating .star-bar {
    width: 207.5px;
    height: 20px;
    background-color: #f0f2f2;
    border: 1px solid #cbcfcf;
    border-radius: 5px;
    overflow: hidden;
}

.ananda-reviews-sum__star-rating .star-fill {
    background-color: #ffbf00;
    height: 100%;
    width: 0%;
}

.ananda-reviews-sum__star-rating .star-percentage {
    min-width: 40px;
    text-align: right;
    color: #4f94a3;
}

.ananda-reviews__form .form-submit{
    display: flex;
    align-items: center;
}
.ananda-reviews__form .form-submit .spinner{
    margin: 0 0 0 10px !important;
}

/* Ananda Reviews: Switch Button to review form */

.ananda-reviews__optional{
    display: flex;
    justify-content: center;
    margin-top: 40px;
}
.ananda-reviews__optional-btn{
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    padding: 10px 26px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    cursor: pointer;
}
.ananda-reviews__optional-btn p{
    margin: 0px;
    font-weight: 600;
    font-size: 16px;
    font-family: 'open-sans';
}
.ananda-reviews__optional-btn .fa-pencil-alt,
.ananda-reviews__optional-btn p{
    color: #4f94a3;
}
.ananda-reviews__optional-btn .fa-pencil-alt{
    font-size: 16px;
}


.ananda-reviews__form.ananda-reviews__form-optional{
    display: none;
}