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

/* HOMEPAGE CSS  */

.banner::before {
    background-size: 100% 140px !important;
}

.location-button {
    background: var( --e-global-color-accent );
    padding: 15px 30px;
    border-radius: 50px;
    color: #FFF !important;
    font-size: 18px;
    line-height: 1;
    display: inline-block;
}

.location-button:hover {
    background: var(--e-global-color-text);
}

* {
    box-sizing: border-box;
}

/* HEADER  */
html {
    overflow-x: hidden;
    width: 100%;
}

.elementor-nav-menu--main a::after {
    display: none;
}

.mobile-apply-now {
    display: none !important;
}

.elementor-nav-menu--dropdown .elementor-nav-menu {
    padding: 20px;
}

.elementor-sticky.elementor-sticky__spacer {
    margin-bottom: 0;
}

/* MEGAMENU  */

.mega-menu-content {
    border: 1px solid #E8E8E8;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px 30px;
}

.mega-menu-item {
    flex-basis: calc((16.66% - 30px) + (30px / 6)) !important;
    padding: 15px;
    border-radius: 10px;
    color: unset !important;
}

.mega-menu-item:last-child {
/*     display: none;
    visibility: hidden;
    opacity: 0; */
}

.mega-menu-item:hover {
    background-color: #ECF4ED;
}

.mega-menu-item figure {
    margin: 0px 0 20px 0 !important;
    width: 40px;
}

.mega-menu-item figure img {
    width: 100%;
}

.mega-menu-title {
    font-size: 18px;
    margin-bottom: 5px;
}

.mega-menu-description {
    font-size: 14px;
    margin-bottom: 0;
}

.mega-menu-link-text {
    font-size: 30px;
    color: var(--e-global-color-accent);
}

.mega-menu-title a {
    /* color: #3e3e3e; */
    font-weight: 700;
    margin-bottom: 10px;
    display: inline-block;
}

.mega-menu-main li {
    text-decoration: none;
    margin-bottom: 10px;
    list-style: none;
    margin-left: 20px;
    color: var(--e-global-color-accent);
    position: relative;
}

.mega-menu-main li::before {
    content: "⤍";
    position: absolute;
    left: -20px;
    top: 8px;
    font-size: 25px;
    line-height: 0;
}

.mega-menu-main li:hover,
.mega-menu-title a:hover {
    text-decoration: underline;
}

/* STATES MEGA MENU CSS */
#states.mega-menu-content {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}

#states .mega-menu-item .e-con-inner {
    max-width: 100%;
}

#states .mega-menu-item {
    flex-basis: calc((16.66% - 30px) + (30px / 6))!important;
}

#states .mega-menu-title a{
	margin-bottom:0;
}

#states.elementor-icon-list-item a:hover,
#states .elementor-icon-list-item a:hover{
    text-decoration: underline;
}



/* SIDEBAR CSS  */
.sidebar-category .elementor-widget-container h5,
.sidebar-tags .elementor-widget-container h5 {
    display: none;
}

.sidebar-category .elementor-widget-container ul {
    padding: 0;
    list-style: none;
}

.sidebar-category .elementor-widget-container .cat-item a {
    padding: 14px 0;
    float: left;
    width: 100%;
    font-size: 15px;
    border-bottom: 1px dotted rgba(180, 180, 180, .5);
    color: #404752AB;
}

.sidebar-category .elementor-widget-container .cat-item a:hover {
    color: var(--e-global-color-accent);
}

.sidebar-tags .tagcloud {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 5px;
}

.sidebar-tags .tagcloud a {
    padding: 9px 14px;
    border: 1px solid rgba(180, 180, 180, .5);
    font-size: 13px !important;
    display: inline-block;
    color: #404752AB;
}

.sidebar-tags .tagcloud a:hover {
    background-color: var(--e-global-color-accent);
    color: #FFF;
}

/* POST ARCHIVE  */
.post-archive .elementor-post__read-more {
    background: var(--e-global-color-accent);
    padding: 10px 25px;
    color: #FFF;
}

.post-archive .page-numbers {
    padding: 10px;
    aspect-ratio: 1;
    display: inline-block;
    height: 45px;
    color: #CCC;
    border-radius: 50px;
    border: 2px solid #CCC;
    box-sizing: border-box;
}

.post-archive .page-numbers.current {
    background: var(--e-global-color-accent);
    color: #FFF;
    border-color: var(--e-global-color-accent);
}

.post-archive .elementor-post__excerpt p {
    margin-bottom: 15px;
}

/* FOOTER CSS  */
footer {
    background-color: #262626 !important;
}


/* HOMEPAGE CSS  */

.banner::before {
    background-size: 100% 140px !important;
}


/* BUTTON CSS  */

.widget-row .hvr-sweep-to-right {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px transparent;
    position: relative;
    -webkit-transition-property: color;
    transition-property: color;
    -webkit-transition-duration: .3s;
    transition-duration: .3s;
    font-size: 16px;
    color: #ffffff;
    letter-spacing: 0px;
    border-width: 0px;
    padding: 20px 40px;
    width: auto;
    border-radius: 0px;
}

.theme .bg-color-primary,
.bg-color-primary {
    background-color: rgba(55, 164, 92, 1);
}

.theme-button.hvr-sweep-to-right {
    overflow: hidden;
}

/* BUTTON CUSTOM STYLING  */
.elementor-button {
    overflow: hidden;
    position: relative;
}

.widget-row .hvr-sweep-to-right:before,
.elementor-button::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: 0 50%;
    transform-origin: 0 50%;
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-duration: .3s;
    transition-duration: .3s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}

.widget-row .hvr-sweep-to-right:before,
.elementor-button::before {
    background: #333333 !important;
    border-color: #333333 !important;
}

.widget-row .hvr-sweep-to-right:hover:before,
.elementor-button:hover::before {

    -webkit-transform: scaleX(1);
    transform: scaleX(1);
    z-index: 0;
}

.widget-row .hvr-sweep-to-right span {
    z-index: 1;
    position: relative;
}

.elementor-button span {
    text-decoration: inherit;
    z-index: 1;
    position: relative;
}

.elementor-cta__button:hover::before,
.elementor-price-table__button:hover:before{
    z-index: -1;
}

.elementor-button:hover {
    background: var(--e-global-color-accent) !important;
}

/* SINGLE POST IMAGE  */
.single-post-body-img {
    position: relative;
    line-height: 0;
}

.single-post-body-img figcaption {
    position: absolute;
    bottom: 10px;
    padding: 26px;
    background: rgba(0, 0, 0, 0.45);
    color: rgba(255, 255, 255, 1);
    left: 10px;
    width: 80%;
    font-size: 14px;
    font-style: normal;
}

/* TOPIC PAGE STYLE  */
.topic-single div {
    width: 100% !important;
    height: auto !important;
}

.topic-single a {
    display: inline-block !important;
    height: auto !important;
/*     width: 100% !important; */
    /* position: unset !important; */
}
.topic-banner {
    background-color: var(--e-global-color-f20b331);
    padding-top: 40px;
    padding-bottom: 60px;
    position: relative;
}

.topic-banner::before {
    position: absolute;
    bottom: 0;
    left: 0;
    content: '';
    width: 100%;
    height: 100%;
    background-image: url(/wp-content/uploads/2025/04/divider-box-green.svg);
    --background-overlay: '';
    background-position: 0px 105%;
    background-repeat: no-repeat;
    background-size: 100% 140px !important;
}

.topic-banner-content {
    max-width: 1140px;
    width: 100%;
    margin: 0 auto;
    padding-bottom: 60px;
}

.topic-banner-content h1 {
    margin: 0;
    line-height: 1;
}

.topic-main-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1140px;
    margin: 0 auto;
    margin-bottom: 80px;
    margin-top: 40px;
    padding: 0 15px;
}

.topic-item {
    flex-basis: calc((50% - 30px) + (30px / 2));
    width: calc((50% - 30px) + (30px / 2));
    padding: 0;
    color: unset !important;
    border: 1px solid #ECF4ED;
}

.topic-item:hover {
    /* background-color: #ecf4ed; */
}

.topic-item figure {
    margin: 0px !important;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.topic-item figure img {
    width: 100%;
    transition: all 0.3s ease;
    aspect-ratio: 16/9;
    object-fit: cover;
    object-position: left;
}

.topic-item figure:hover img {
    transform: scale(1.1);
}

.topic-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.topic-item .topic-list-item {
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
}

.post-main-content {
    padding: 20px;
}

.topic-item .post-title {
    font-size: 26px;
    margin: 5px 0;
    font-weight: 400;
}

.topic-item .post-description {
    font-size: 16px;
    margin-bottom: 0;
}

.topic-item .post-title a {
    color: #3e3e3e;
    font-weight: 500;
}

.topic-single h1 {
    display: none;
    opacity: 0;
    visibility: hidden;
}


#ez-toc-container .ez-toc-link {
    color: var(--e-global-color-accent);
}
#footer_subscribe_form .elementor-message {
    color: #FFF;
}

/* Custom Shortcode for Links on pages */
.custom-links {
    margin-bottom: 20px;
}

.custom-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.custom-links ul li {
    margin: 0 5px;
    border-right: 1px solid #999;
    padding-right: 10px;
    font-size: 18px;
}

.custom-link-btn {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.page-content {
    margin-bottom: 60px;
}

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

    .e-flex.e-con.e-parent {
        padding-left: 15px;
        padding-right: 15px;
    }

    .home-banner.e-flex.e-con.e-parent,
    .banner.e-flex.e-con.e-parent,
    .single-page-main.e-flex.e-con.e-parent {
        padding-left: 0;
        padding-right: 0;
    }

    .banner-content {
        background: #FFF !important;
        border-radius: 0;
    }

    .wpr-mobile-nav-menu {
        overflow-y: scroll;
        height: 100vh;
        background: #FFF;
		padding-bottom: 70px !important;
    }

    .mega-menu-content {
        gap: 15px;
		    padding: 15px;
    }

    .wpr-mobile-sub-mega-menu {
        overflow-y: scroll;
        height: 400px;
    }

    .mega-menu-item {
        padding: 10px !important;
    }

	.mega-menu-item .mega-menu-title {
		font-size: 18px;
		font-weight: 600;
	}

    .mega-menu-item figure {
        margin: 0 !important;
    }

    .mega-menu-link-text {
        line-height: 1;
    }

    .mobile-apply-now {
        display: block !important;
        text-align: center;
    }

    .mobile-apply-now a {
        display: inline-block !important;
        background-color: var(--e-global-color-accent);
        font-family: var(--e-global-typography-accent-font-family), Sans-serif !important;
        font-weight: var(--e-global-typography-accent-font-weight) !important;
        color: var(--e-global-color-e3cc7d1) !important;
        border-radius: 75px 75px 75px 75px;
        padding: 15px 30px 15px 30px !important;
        margin: 10px 0 !important;
    }

    .fixed-img-lg {
        position: unset !important;
    }

    .fixed-img-lg img {
        max-width: 100% !important;
        margin-bottom: 30px;
    }

    .mega-menu-item ,
	#states .mega-menu-item{
        flex-basis: calc((50% - 30px) + (30px / 2)) !important;
        padding: 0px !important;

    }

    .mega-menu-main ul,
	#states .mega-menu-item ul{
        font-size: 16px !important;
        margin-left: 20px !important;
    }

		#states .mega-menu-item ul{
        margin-left: 0px !important;
    }
	
    .wpr-mobile-menu-full-width .wpr-mobile-mega-menu-wrap {
        width: 100vw !important;
    }

    .wpr-mobile-nav-menu li a.wpr-mobile-menu-item:hover {
        color: #3e3e3e !important;
    }

    .wpr-mobile-nav-menu li a.wpr-active-menu-item {
        color: var(--e-global-color-accent) !important;
        font-weight: 500;
    }

    .sub-menu.wpr-mobile-sub-menu {
        /* padding-left: 15px; */
    }

    .topic-item .post-title {
        font-size: 20px;

    }

	.page-content {
    margin-bottom: 30px;
}
}