/* 
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 */
body {
	overflow-x: hidden;
}
body .ekit-image-box.style-sideline .ekit-image-box-body-inner, body .ekit-wid-con .elementskit-info-image-box.style-sideline .elementskit-box-body .elementskit-box-footer {
	padding-left: 20px;
	padding-right: 20px;
}
.ekit-wid-con .elementskit-post-body.ekit-highlight-border::before {
	display: none;
}
.service_slider .elementskit-info-image-box .elementskit-info-box-title {
	min-height: 48px;
}
.elementor-element.elementor-element-3b658fa .elementskit-info-image-box .elementskit-box-header img {
	width: 100%;
}
body .ekit-wid-con ul {
	padding-left: 20px;
}
.ekit-wid-con ul li {
	color: #000;
	margin-bottom: 15px;
}
.set_min_height_box .ekit-wid-con .elementskit-infobox {
	min-height: 400px;
}
.elementskit-accordion .elementskit-card-body li {
	margin-bottom: 15px;
}
.blog-categories {
	margin: 0;
}
.elementor-posts .elementor-post__excerpt p {
	color: #000;
}
.elementor-posts .elementor-post__badge {
	background: #8B2DCE;
}
body .elementor-element .swiper .elementor-swiper-button svg, body .elementor-element .swiper~.elementor-swiper-button svg, body .elementor-lightbox .swiper .elementor-swiper-button svg, body .elementor-lightbox .swiper~.elementor-swiper-button svg {
	fill: #000;
}
/* Custom styling for Contact Form 7 */
.wpcf7-form label {
	display: block;
}

.wpcf7-form-control:not(.wpcf7-radio) {
  width: 100%;
  padding: 12px 15px;
  margin-top: 8px;
  margin-bottom: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
}

.wpcf7-submit {
  background-color: #0073aa;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.wpcf7-submit:hover {
  	background-color: #210535 !important;
	border-color: #210535 !important;
}
.captcha-image {
	display: block;
	border-color: #ccc;
	border-radius: 8px;
}
.anchor {
  scroll-margin-top: 100px; /* Adjust as needed */
}
.wpcf7-textarea {
	height: 140px;
}
.meta-date-text {
	cursor: default !important;
}
.elementskit-post-image-card .elementskit-entry-header img {
	height: 200px !important;
	object-fit: cover;
}
.ekit-wid-con .elementskit-post-image-card:hover .elementskit-entry-thumb > img {
	transform: none !important;
}
.no-list-style {
	list-style: none;
	padding-left: 0;
}
.single-post blockquote {
	border-left: 4px solid #8B2DCE;
    margin: 0;
    padding: 20px 20px 10px 30px;
    background: rgba(139, 45, 206, .05);
}
.mw-780 {
    max-width: 780px;
    margin: 0 auto 20px !important;
}
.post-cta-box-btn:hover {
	background: #000 !important;
}
#main-menu .elementor-widget.elementor-list-item-link-full_width a {
	color: var(--n-menu-title-color-normal);
}
#main-menu .elementor-widget.elementor-list-item-link-full_width a:hover {
	text-decoration: underline;
}

.elementor.elementor .elementor-widget-n-menu.e-n-menu-tablet .e-n-menu-toggle {
	background: transparent;
	outline: none;
	border: none;
}
#main-menu.elementor-widget-n-menu .e-n-menu-item .e-n-menu-title {
	justify-content: space-between !important;
}
.e-n-menu-content .e-n-tabs-content .elementor-icon-list-items {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 1rem; /* adjust as needed */
}
.e-n-menu-content .elementor-widget-n-tabs .e-n-tabs-heading {
	border-right: 1px solid #f5f5f5;
}
.elementor-icon-list-items.custom a {
	color: #1f2124;
}
.elementor-icon-list-items.custom a:hover {
	text-decoration: underline;
}
@media screen and (max-width: 767px) {
	.e-con-full.e-flex, .e-con.e-flex>.e-con-inner {
		max-width: 100%;
	}
	.elementor-nav-menu .elementor-item {
		justify-content: space-between !important;
	}
	.elementor-nav-menu {
		padding: 20px 0;
	}
	body .elementor-section.elementor-section-boxed > .elementor-container {
		max-width: 100%;
	}
}
@media screen and (min-width: 992px) {
	.blog_section .elementskit-post-image-card {
		height: 100%;
	}
}
@media screen and (max-width: 1024px) {
	#main-menu .e-n-menu-wrapper {
		background: #fff;
		min-height: 100vh;
		overflow: auto;
		padding-top: 30px;
	}
}
@media screen and (min-width: 1025px) and (max-width: 1199px) {
	.elementor-widget-n-menu .e-n-menu-title-text {
		font-size: 14px;
	}
}
@media screen and (min-width: 1025px) {
/* 	.menu_2_cols:hover .sub-menu {
		display: grid !important;
		grid-template-columns: 1fr 1fr;
		grid-gap: 20px;
		min-width: 600px !important;
		padding: 0 20px 20px;
	} */
}
/* @media screen and (min-width: 1025px) {
	.home .elementor-nav-menu--main .elementor-item {
		color: #fff !important;
	}
	.home .elementor-nav-menu--main .elementor-item:hover {
		color: #49C1C7 !important;
	}
	.home .elementor-nav-menu .sub-arrow {
		fill: #fff;
	}
} */
/* === MOBILE MEGA MENU POPUP STYLE === */
@media (max-width: 768px) {
  .mega_menu .e-n-tabs-content > [role="tabpanel"] {
    display: none !important;
  }

  .mega_menu .e-n-tabs-content > [role="tabpanel"].mobile-active {
    display: block !important;
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 9999;
    overflow-y: auto;
    padding: 20px;
    animation: megaMenuFadeIn 0.3s ease;
  }

	.mega_menu .e-n-tabs-content > [role="tabpanel"].mobile-active > .e-child {
		margin-bottom: 16px;
	}

  body.mobile-popup-open {
    overflow: hidden;
  }

  .mega_menu .mobile-tab-close {
    position: fixed;
    top: 10px;
    right: 10px;
    display: inline-block;
    background: transparent;
    color: #000;
    border: none;
    padding: 8px 14px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    z-index: 10000;
	font-size: 16px;
  }
	
	.mega_menu .elementor-widget-n-tabs.e-n-tabs-mobile .e-n-tab-title {
		margin-bottom: 0 !important;
		background: #EFFAFAD1 !important;
	}

		/* Safari-only override (WebKit based browsers) */
	@supports (-webkit-touch-callout: none) {
	  @media (max-width: 768px) {
		.mega_menu .e-n-tabs-content > [role="tabpanel"].mobile-active {
		  top: 220px !important;
		  bottom: 220px !important;
		}
		  .mega_menu .mobile-tab-close {
			  top: 230px;
		  }
	  }
	}
	
  @keyframes megaMenuFadeIn {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@supports (-webkit-touch-callout: none) and (max-device-width: 768px) {
  .mega_menu .e-n-tabs-content > [role="tabpanel"].mobile-active {
    position: relative !important;
  }
}

#mobile-tab-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  z-index: 9999;
  overflow-y: auto;
  padding: 20px;
  display: none;
}

#mobile-tab-container .mobile-active {
	display: block !important;
}

body.mobile-popup-open #mobile-tab-container {
  display: block;
}

.mobile-tab-close {
  position: fixed;
    top: 10px;
    right: 10px;
    display: inline-block;
    background: transparent !important;
    color: #000 !important;
	border: none !important;
    border: none !important;
    padding: 8px 14px;
    cursor: pointer !important;
    z-index: 10000 !important;
	font-size: 18px !important;
}

#mobile-tab-container .elementor-widget .elementor-icon-list-item {
	margin-bottom: 10px;
	position: relative;
}

#mobile-tab-container .elementor-widget .elementor-icon-list-item:before {
	content: "•"; 
	position: absolute;
	left: -1em;
	color: #1f2124; 
	font-size: 1.2em;
	line-height: 1;
	top: 0.1em;
}
#mobile-tab-container .elementor-widget .elementor-icon-list-item {
	color: #1f2124
}
#mobile-tab-container .elementor-icon-list-items {
	padding-left: 20px;
}

#mobile-tab-container .mobile-active {
	padding-top: 40px;
}

.lawtram-author-box {
  display: flex;
  align-items: center;
  background: #f9f9ff;
  border: 1px solid #e8e3f9;
  border-left: 5px solid #8B2DCE;
  border-radius: 10px;
  padding: 16px 20px;
  margin: 30px 0;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.lawtram-author-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.lawtram-author-img img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #49C1C7;
  margin-right: 18px;
}
.lawtram-author-info {
  font-size: 15px;
  line-height: 1.6;
  color: #333;
}
.lawtram-author-info a {
  color: #8B2DCE;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}
.lawtram-author-info a:hover {
  color: #49C1C7;
  text-decoration: underline;
}