/*
Theme Name: EMRG Child 
Theme URL: http://yourdomain.com
Description: EMRG Child 
Template: emrg
Version: 1.0.0 
Text Domain: emrg-child 
*/


/* GLOBALS & UTILITIES */

html {
	scroll-padding-top: 112px;
}

.fixed-header-on {
	padding-top: unset;
}

.pojo-a11y-toolbar-overlay {
  transform: translateY(calc(52px - 100%));
}

.dv-cta-banner a.elementor-button:hover {
  background-color: #CDAC51 !important;
  border: 1px solid #CDAC51 !important;
}

.practice-card {
  text-decoration: none !important;
}

.base-gold-btn a:hover {
  background-color: #CDAC51 !important;
  border: 1px solid #CDAC51 !important;
}

.textblock-mb-0 p:last-child {
	margin-bottom: unset;
}

.wrap-balance :is(h1,h2,h3,p) {
	text-wrap: balance;
}

.no-wrap :is(span, p) {
	white-space: nowrap;
}

.underline-none a:hover {
  text-decoration: none;
}

.link-override a {
  text-decoration: none;
  color: #fff;
}

.dv-split-image-text :is(ol, ul) > li + li {
  margin-top: 0.5rem;
}

.inset-gradient-bottom::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 8px;
  width: 100%;
  background: linear-gradient(to right, #CDAC5100 0%, #CDAC51 50%, #CDAC5100 100%);
}

.footer-p p {
  color: #0a0a0a;
}

.footer-disclaimer-p p {
  color: #7a7a7a;
}

/* endof GLOBALS & UTILITIES */


/* HEADER */

.nav-grid {
  grid-template-columns: auto 1fr !important;
  margin-block: auto;
}

.nav-desktop-menu {
  display: none;
}

.nav-mobile-menu {
  max-width: 48px !important;
  align-self: end;
  margin-right: 20px;
}

.nav-desktop-cta {
  display: none;
  min-height: 112px;
}

.nav-grid .nav-desktop-cta:hover {
  background-color: #CDAC51 !important;
}

/* remove if cta icon needs to be added */
.nav-mobile-cta {
  display: none; 
}
.nav-grid > .e-child:last-child {
  display: none;
}
/* remove if cta icon needs to be added */

.nav-mobile-cta .elementor-icon-wrapper {
  display: grid;
  align-items: center;
}

.nav-grid .nav-desktop-cta:hover {
  background-color: #CDAC51 !important;
}

.nav-desktop-cta:hover p {
  color: #F6F4EE;
}

@media all and (min-width: 1299px) {
  .nav-grid {
    grid-template-columns: auto 1fr auto !important;
  }
  .nav-mobile-menu {
    display: none;
  }
  .nav-desktop-menu {
    display: flex;
    justify-content: center;
  }
  .nav-mobile-cta {
    display: none;
  }
  .nav-desktop-cta {
    display: flex;
  }
  .nav-grid > .e-child:last-child {
    display: flex;
  }
}

.open_sidemenu .menu-burger {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 16px 12px;
  background-color: #31221F;
  border-radius: unset !important;
}

.open_sidemenu .menu-burger > div {
  height: 3px;
  width: 24px;
  background-color: #fff;
}

.sidemenu .widget_nav_menu .menu > .menu-item {
  margin-top: 0.6rem;
}

.sidemenu {
  background-color: #fafafa;
  text-transform: uppercase;
  overflow-y: auto;
}

.sidemenu a {
  color: #0A0A0A !important;
  font-weight: 700;
  text-decoration: none;
}

.sidemenu section {
  border-bottom: unset;
}

.sidemenu .menu {
  padding-left: unset;
}

.sidemenu .sidemenu-cta a {
  padding: 18px 24px;
  background-color: #31221F;
  color: #fff !important;
  font-family: Lato;
  transition: all 0.3s;
}

a.sidemenu-cta {
  color: #fff !important;
  background-color: #31221F;
  padding: 16px 24px;
}

.sidemenu .sidemenu-cta a:hover {
  background-color: #CDAC51;
  color: #fff !important;
}

.site-header.nav-scrolled {
  box-shadow: 0px 0px 8px rgba(0,0,0,0.5);
}

/* .nav-desktop-menu .elementskit-submenu-panel .elementskit-submenu-panel {
  overflow-y: auto !important;
  max-height: 80vh !important;
} */

.menu-item .sub-menu .sub-menu {
  overflow-y:scroll !important;
  max-height: 80vh !important;
  scrollbar-width: none;
}

.nav-grid a:hover {
  color: #CDAC51 !important;
}

.nav-grid .elementskit-submenu-panel {
  background-color: #fff;
}

body li.current-menu-item > a {
  background-color: transparent !important;
}

/* endof HEADER */


/* FOOTER */
footer .cast-contact-item a {
  text-decoration: none;
}
/* endof FOOTER */


/* FORMS */

.form-globals form {
  max-width: 960px;
  margin-inline: auto;
}

.form-globals .gform_fields {
  gap: 16px !important;
}

.form-globals input.button {
  background-color: #fff !important;
  border: 2px solid #fff;
  border-radius: unset !important;
  font-family: Inter;
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
  text-transform: uppercase;
  padding: 18px 24px !important;
  color: #0a0a0a !important;
  margin-inline: auto !important;
}

.form-globals input.button:hover {
  background-color: transparent !important;
  opacity: 1;
  color: #fff !important;
}

.form-globals .gform_footer {
  padding-bottom: unset !important;
}

body :is(#header-form, #footer-form) input.button {
  width: auto !important;
}

.form-globals .gfield input {
  height: 56px;
}

.form-globals .gfield textarea {
  max-height: 120px;
}

.form-globals textarea {
  padding: 15px !important;
}

#footer-form .form-list-items {
  display: grid;
  grid-template-columns: auto auto auto;
  justify-content: center;
  column-gap: 24px;
  row-gap: 12px;
  margin-bottom: 20px;
}

#footer-form .form-list-item {
  display: flex;
  gap: 8px;
}

#footer-form .form-list-check svg path{
  width: 52px;
}

#footer-form .form-list-copy {
  color: #fff;
  font-family: Inter;
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  text-transform: uppercase;
  white-space: nowrap;
}

@media all and (max-width: 899px) {
  #footer-form .form-list-items {
    grid-template-columns: 1fr;
  }
  #footer-form .form-list-item {
    justify-content: center;
  }
}

.form-globals .name_first {
  margin-bottom: unset !important;
}

/* form validation styles */

div.div.gform_confirmation_message {
    background: #D4EDDA;
    border-color: #C3E6CB;
    color: #155724;
    padding: .75rem 1.25rem;
    border-radius: 5px;
    text-align: center;
}

.validation_message.gfield_validation_message, .gform_validation_errors, .gfield_description.instruction.validation_message {
    background: #F8D7DA !important;
    border-color: #F5C6CB !important;
    color: #721C24 !important;
    border-radius: 5px;
}

.gform_validation_errors h2.gform_submission_error.hide_summary {
    font-family: 'Lato';
    color: #721c24 !important;
    font-size: 14px;
}

#header-form input.button:hover {
  opacity: 1 !important;
}

#footer-form input.button:hover {
  background-color: #CDAC51 !important; 
  border: 2px solid #CDAC51;
  opacity: 1 !important;
}

.ginput_recaptcha > div {
  margin-inline: auto !important;
}

/* endof FORMS */


/* HOME */

@media all and (max-width: 767px) {
	  .home-hero::before {
	  content: "";
	  position: absolute;
	  width: 100%;
	  height: 100%;
	  background-color: #31221Fb3;
	}
}

.dv-vprop-section > div:not(:nth-child(3))::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 1px;
  height: 48px;
  background-color: #B8B8B8;
}

@media all and (max-width: 767px) {
  .dv-vprop-section > div:not(:nth-child(3))::after {
    top: unset;
    left: 50%;
    transform: translate(-50%, -50%);
    bottom: 0;
    height: 1px;
    width: 48px;
  }
}

/* settlements */
.settlements-wrapper .settlements-slide h3 {
  color: #7a7a7a;
  font-family: Inter;
  font-size: 18px;
  font-weight: 400;
  text-transform: unset;
}

.settlements-wrapper .settlements-slide .settlements-slide-inner > p:nth-of-type(1) {
  color: #31221F;
  font-family: Inter;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin-block: 20px;
}

.settlements-wrapper .settlements-slide .settlements-slide-inner > p:nth-of-type(2) {
  color: #7a7a7a;
  font-family: Inter;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
}

.settlements-wrapper .settlements-slide :is(h3, p) {
  text-align: center;
  margin-bottom: unset;
}

/* practice areas */

.practice-card .card-detail {
  max-height: 0;
  opacity: 0;
  transition: all 0.4s ease-in 0s;
}

.practice-card:hover .card-detail {
    opacity: 1;
    max-height: 400px; /* Adjust this value to a suitable height */
}

.practice-card {
  overflow: clip;
}

/* TESTIMONIALS */

.lp-testimonials {
    overflow-x: clip;
}

/* slides wrapper */
.swiper-wrapper {
  align-items: center;
}

/* arrow properties */
.dv-testimonial-section .swiper-button-next {
  right: 45% !important;
  top: unset;
  bottom: -99px;
}

.dv-testimonial-section .swiper-button-prev {
  left: 45% !important;
  top: unset;
  bottom: -99px;
}

.dv-testimonial-section .testimonial-nav-arrow {
  border: unset !important;
}

.dv-testimonial-section .testimonial-nav-arrow:hover {
  background: unset !important;
  color: #CDAC51 !important;
}

.dv-testimonial-section .testimonial-nav-arrow i {
  color: #fff !important;
}

.dv-testimonial-section .testimonial-nav-arrow i::before {
  font-size: 40px;
  font-weight: 700;
}

@media all and (max-width: 979px) {
  .dv-testimonial-section .swiper-button-prev,
  .dv-testimonial-section .swiper-button-next {
    display: none;
  }
}

/* pagination dots properties */
.dv-testimonial-section .testimonial-pagination .swiper-pagination-bullet {
  height: 8px;
  width: 8px;
}

.dv-testimonial-section .testimonial-pagination {
  transform: translateY(50px);
}

/* section */
.dv-testimonial-section {
  overflow: clip;
}

.dv-testimonial-section .sp-testimonial-free-wrapper,
.dv-testimonial-section .sp-testimonial-free-section.swiper-initialized {
  overflow: visible !important;
}

.dv-testimonial-section .sp-testimonial-free-section.swiper-initialized {
  margin-inline: -40% !important;
}

@media all and (max-width: 979px) {
  .dv-testimonial-section .sp-testimonial-free-section.swiper-initialized {
    margin-inline: unset !important;
    margin-inline: 20px !important;
  }
}

/* slide styles */
.dv-testimonial-section .sp-testimonial-item {
  opacity: 0.4 !important;
  background-color: #fff;
}

.dv-testimonial-section .sp-testimonial-item.swiper-slide-active + .sp-testimonial-item {
  opacity: 1 !important;
}

.dv-testimonial-section .sp-testimonial-item {
  padding: 20px;
}

.dv-testimonial-section .sp-testimonial-content img {
  max-width: 232px;
}

.dv-testimonial-section .swiper-slide p {
  font-family: Inter;
  font-size: 18px;
  line-height: 24px;
  font-weight: 400;
  color: #7A7A7A;
}

.dv-testimonial-section .swiper-slide h3 {
  font-family: Inter;
  font-size: 18px;
  line-height: 24px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: unset;
  color: #0A0A0A
}

.dv-testimonial-section .swiper-pagination {
    z-index: 1;
}

@media all and (max-width: 979px) {
  .dv-testimonial-section .sp-testimonial-item {
    opacity: 1 !important;
    box-shadow: unset;
  }
  .dv-testimonial-section .sp-testimonial-item.swiper-slide-active + .sp-testimonial-item {
    box-shadow: unset;
  }
}

/* endof TESTIMONIALS */

/* endof HOME */


/* ABOUT US */
.about-us-card {
  text-decoration: none !important;
}
/* endof ABOUT US */