/* 
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 */
.noSpace, .noSpace p {
	margin: 0;
}
.e-n-accordion-item[open] .noSpace {
    border-bottom: 1px solid #4E2A84 !important;
    margin-bottom: 10px;
}

/*----------- Elementor Button -----------*/

.my-btn .elementor-button {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #4E2A84;
    color: #fff !important;
    border: 1px solid #4E2A84;
    transition: color 0.4s ease;
}

.my-btn-2 .elementor-button {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #14171C !important;
    border: 1px solid #14171C;
    transition: color 0.4s ease;
}


.my-btn .elementor-button::before,
.my-btn .elementor-button::after,
.my-btn-2 .elementor-button::before,
.my-btn-2 .elementor-button::after{
    content: "";
    position: absolute;
    top: 0;
    width: 51%;
    height: 100%;
    background: #14171C;
    transition: transform 0.4s ease;
    z-index: 0;
}

.my-btn .elementor-button::before, .my-btn-2 .elementor-button::before {
    left: 0;
    transform: translateX(-100%);
}

.my-btn .elementor-button::after, .my-btn-2 .elementor-button::after {
    right: 0;
    transform: translateX(100%);
}

.my-btn .elementor-button:hover::before,
.my-btn .elementor-button:hover::after,
.my-btn-2 .elementor-button:hover::before,
.my-btn-2 .elementor-button:hover::after{
    transform: translateX(0);
}

.my-btn .elementor-button-content-wrapper, .my-btn-2 .elementor-button-content-wrapper {
    position: relative;
    z-index: 2;
}

.my-btn .elementor-button:hover, .my-btn-2 .elementor-button:hover {
    color: #fff !important;
    border-color: #14171C;
}

.my-btn .elementor-button svg, .my-btn-2 .elementor-button svg {
    fill: currentColor;
}

/*----------- End Elementor Button -----------*/


h1 span,
h2 span{
    color: #14171C !important; 
    font-weight: 300 !important; 
    font-style: italic !important;
}
.elementor-widget-text-editor a{
	color: #4e2a84 !important;
}
.treatment-boxes-outer .gredient-box {
background: linear-gradient(180.08deg, rgb(251 250 247 / 0) 0, #faf7fef2 60.3%, #CBBDE8 161.66%) !important;
}

/*----Single Post-----*/
.single-post h2,
.single-post h2 b,
.single-post h2 strong{
	font-size: 40px !important;
    font-weight: 600 !important;
    color: #14171C !important;
}

.single-post h3,
.single-post h3 b,
.single-post h3 strong{
	font-size: 30px !important;
    font-weight: 500 !important;
    color: #14171C !important;
}



/* =========================================
   Patient Before & After Gallery Hover
========================================= */

.elementor-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    transform: translateZ(0);
    transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.elementor-gallery-item img {
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                filter 0.5s ease;
}

.elementor-gallery-item::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;

    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.05),
        rgba(0,0,0,0.45)
    );

    opacity: 0;
    transition: opacity 0.45s ease;
}

.elementor-gallery-item::after {
    content: "↗";

    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;

    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;
    font-size: 22px;
    font-weight: 300;

    border: 1px solid rgba(255,255,255,0.75);
    border-radius: 50%;

    background: rgba(255,255,255,0.12);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    opacity: 0;
    transform: translate(-50%, -50%) scale(0.65);

    transition:
        opacity 0.35s ease,
        transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.elementor-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.15);
}

.elementor-gallery-item:hover img {
    transform: scale(1.08);
    filter: brightness(0.78);
}

.elementor-gallery-item:hover::before {
    opacity: 1;
}

.elementor-gallery-item:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}



/*----------Mobile responsive---------*/
@media(min-width: 992px)
{ #resultSlider .swiper-slide { position: relative; overflow: hidden; } #resultSlider::before, #resultSlider::after { content: ""; position: absolute; top: 0; width: 120px; /* fade width */ height: 100%; z-index: 10; pointer-events: none; } #resultSlider::before { left: 0; background: linear-gradient( to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0.8) 30%, rgba(255,255,255,0) 100% ); } #resultSlider::after { right: 0; background: linear-gradient( to left, rgba(255,255,255,1) 0%, rgba(255,255,255,0.8) 30%, rgba(255,255,255,0) 100% );
}
}

@media(min-width: 1025px){
/*---------Menu Scroll bar---------------*/
.menu-item-3904 ul.sub-menu,
.menu-item-87 ul.sub-menu {
    height: 600px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #4e2a84 #f1f1f1;
}

/* Chrome, Edge, Safari scrollbar */
.menu-item-3904 ul.sub-menu::-webkit-scrollbar,
.menu-item-87 ul.sub-menu::-webkit-scrollbar {
    width: 6px;
}

.menu-item-3904 ul.sub-menu::-webkit-scrollbar-track,
.menu-item-87 ul.sub-menu::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.menu-item-3904 ul.sub-menu::-webkit-scrollbar-thumb,
.menu-item-87 ul.sub-menu::-webkit-scrollbar-thumb {
    background-color: #4e2a84;
    border-radius: 10px;
}

.sub-menu::-webkit-scrollbar {
    width: 6px;
}

.sub-menu::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.sub-menu::-webkit-scrollbar-thumb {
    background: #4e2a84;
    border-radius: 10px;
}

.sub-menu::-webkit-scrollbar-thumb:hover {
    background: #3d2168;
}
/*---------End Menu Scroll bar---------------*/
}

@media(max-width: 767px){
	
.elementor-widget-text-editor ul{
	padding-left: 0px !important;
	list-style-position: inside !important;
}
	
.elementor-widget-text-editor ol {
        padding-left: 20px;
        list-style-type: decimal !important;
        list-style-position: outside !important;
    }
	
.single-post h2,
.single-post h2 b,
.single-post h2 strong{
	font-size: 25px !important;
}
	
.single-post h3,
.single-post h3 b,
.single-post h3 strong{
	font-size: 20px !important;
}
	.elementor-gallery-item {
        border-radius: 10px;
    }

    .elementor-gallery-item::after {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
}