html, body {
  overflow-x: hidden;
}

[type="button"]:focus, [type="button"]:hover, [type="submit"]:focus, [type="submit"]:hover, button:focus, button:hover {
  background: transparent !important;
  color: #000 !important;
}

/* Navigation */

#main-menu .elementor-nav-menu--main {
	width: max-content !important;
	padding: 3px !important;
	background: rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 999px;
}

#main-menu .elementor-nav-menu {
	display: flex;
	align-items: center;
	gap: 0;
}

#main-menu .elementor-item {
	position: relative;
	padding: 16px 25px !important;
	border-radius: 999px;
	color: #fff !important;
	line-height: 1 !important;
	margin: 0;
	z-index: 1;
	transition: color .25s ease;
}

#main-menu .elementor-item::before {
	content: "";
	position: absolute;
	inset: 0;
	background: #fff;
	border-radius: 999px;
	opacity: 0;
	transform: scale(.92);
	transition: all .25s ease;
	z-index: -1;
	height: 46px;
}

#main-menu .elementor-item:hover,
#main-menu .elementor-item.elementor-item-active {
	color: #111 !important;
}

#main-menu .elementor-item:hover::before,
#main-menu .elementor-item.elementor-item-active::before {
	opacity: 1;
	transform: scale(1);
}

#main-menu .elementor-item.elementor-item-active {
	margin: 0 !important;
}

#main-menu .sub-menu {
  border-radius: 10px;
  width: 200px !important;
  margin-top: 10px !important;
  left: -60px !important;
}

.elementor-menu-toggle {
  padding: 0;
}

.sub-arrow {
  font-size: 12px;
}

/* Button */

.primary-btn .elementor-button-icon {
	background: #2D9F3E;
  height: 46px;
  width: 46px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;

}

.primary-btn .elementor-button-text {
	display: flex;
  align-items: center;
  justify-content: center;
}

.primary-btn:hover .elementor-button {
	background: #2D9F3E !important;
	color: #FFF !important;
}

.primary-btn:hover .elementor-button-icon {
	background: #FFF !important;
}

.primary-btn svg {
	transform: scale(1.5);
	transition: all 0.3s ease;
}

.primary-btn:hover svg {
	filter: invert(1);
}

.elementor-post-info__terms-list-item {
  background: #EBF0EF;
	padding: 8px;
}

/* Homepage */

.process-card .elementor-image-box-title {
  margin-top: 0 !important;
}

/* Team Slider */

.team-slider .elementor-swiper-button.elementor-swiper-button-prev {
  left: unset !important;
  right: 100px !important;
	margin-top: 240px;
}

.team-slider .elementor-swiper-button.elementor-swiper-button-next {
  right: 30px !important;
	margin-top: 240px;
}

/* Testimonial Slider */

.testimonial .swiper {
    overflow: visible;
}

.testimonial .swiper-wrapper {
    align-items: center;
}

.testimonial .swiper-slide {
    opacity: 0.4;
    transition: all 0.3s ease;
}

.testimonial .swiper-slide-active {
    opacity: 1;
    z-index: 2;
}

.testimonial .elementor-swiper-button.elementor-swiper-button-prev {
  left: -100px !important;
}

.testimonial .elementor-swiper-button.elementor-swiper-button-next {
  right: -100px !important;
}

/* Wistia */

  /* Scale play button for ALL Wistia players */
  wistia-player::part(big-play-button) {
    transform: scale(0.5);
    transform-origin: center;
  }
  wistia-player::part(play-button) {
    transform: scale(0.5);
    transform-origin: center;
  }

.wistia-btn {
  color: #000;
  background: #FFF;
	display: inline-flex;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
	z-index: 99;
}

.wistia-btn:hover {
	background: #2D9F3E;
	color: #FFF;
}

.wistia-btn:hover img {
	filter: invert(1);
}

.wistia-btn img {
	margin-right: 5px;
}

/* How It Works */

.how-it-works th, .fees-table th, .investment-framework {
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  padding: 20px !important;
}

.how-it-works thead .column-3, .fees-table thead .column-4 {
  background: #2D9F3E !important;
  color: #FFF !important;
}

.how-it-works td, .fees-table td {
  background-color: #FFF !important;
  border-color: #E9E9E9 !important;
  padding: 20px !important;
}

.how-it-works .column-1, .fees-table .column-1 {
  background: #F6F7F5 !important;
  border-color: #E9E9E9 !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  width: 250px;
}

.how-it-works .column-3, .fees-table .column-4 {
  background: rgba(45, 159, 62, 0.1) !important;
}

.how-it-works .column-3 img {
  margin-right: 10px;
}

.how-it-works .column-3 {
  display: flex !important;
  align-items: flex-start; /* top align */
}

.fees-table th {
  background: #F6F7F5 !important;
  border-color: #E9E9E9 !important;
}

.fees-table .column-2, .fees-table .column-3, .fees-table .column-4 {
  text-align: center !important;
  vertical-align: middle !important;
}

.fees-table .column-3 i, .fees-table .column-4 i {
  font-size: 18px;
  color: #2D9F3E;
}

.fees-table .column-3 {
  color: #0D171599;
  font-size: 22px;
}

.fees-table .icon-cancel {
  color: #D44;
}

.fees-table .e-fas-question-circle {
  color: #b8914a;
}

/* Properties */

.how-we-source .e-n-tab-title {
  min-height: 136px;
}

.how-we-source .tab-container {
  text-align: center;
}
.how-we-source svg {
  width: 70.5% !important;
}

/* About Us */

#search-filter-input-radio-0 {
  display: block ruby;
}

.search-filter-input-radio {
  margin-right: 7px;
}

.search-filter-input-radio__control {
  display: none;
}

.search-filter-input-radio__label {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid;
  padding: 8px 15px;
  border-radius: 100px;
  transition: 0.3s;
}

.search-filter-input-radio__label:hover,
.search-filter-input-radio.search-filter-input-radio--is-active .search-filter-input-radio__label {
  color: #FFF;
  background: #2D9F3E;
}

/* Blog */

blockquote {
  margin: 0;
}

.post-author-info p {
  margin: 0;
}

.post-author-info .elementor-image-box-content {
  padding-top: 2px;
}

/* Private Family Office */

.elementor-element.elementor-element-18ea364.e-transform.elementor-widget.elementor-widget-counter {
  width: fit-content;
}

/* Hubspot Form */

/* Hubspot Popup Form */
.ccs-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  /* hidden but still rendered/laid out, so HubSpot renders on page load */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease;
}

.ccs-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.ccs-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .6);
}

.ccs-modal__dialog {
  position: relative;
  width: 90%;
  max-width: 760px;
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
}

.ccs-modal__close {
  position: absolute;
  top: 12px;
  right: 16px;
  border: 0;
  background: none;
  color: #000;
  font-size: 24px !important;
  line-height: 1;
  cursor: pointer;
}

.hubspot-form .form-columns-0, .hs_recaptcha.hs-recaptcha.field.hs-form-field {
  display: none;
}

.hubspot-form label {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 10px;
}

.hubspot-form legend {
  font-size: 12px;
  margin-bottom: 10px;
}

.hubspot-form input {
    margin-bottom: 15px;
}

.hubspot-form .hs-form {
  font-family: inherit !important;
  color: #10201b !important;
}

/* Field spacing */
.hubspot-form .hs-form-field {
  margin-bottom: 10px !important;
}

.hubspot-form .hs_accredited_investor {
  margin-bottom: 20px !important;
}

/* Labels */
.hubspot-form label {
  font-size: 15px !important;
  font-weight: 500 !important;
  color: #10201b !important;
  margin-bottom: 8px !important;
  line-height: 1.4 !important;
}

/* Inputs + Selects */
.hubspot-form input,
.hubspot-form textarea,
.hubspot-form select {
  width: 100% !important;
  height: 44px !important;
  padding: 14px 16px !important;
  border: 1px solid rgba(16, 32, 27, 0.35) !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #10201b !important;
  font-size: 16px !important;
  box-shadow: none !important;
}

/* Focus */
.hubspot-form input:focus,
.hubspot-form textarea:focus,
.hubspot-form select:focus {
  outline: none !important;
  border-color: #2D9F3E !important;
  background: #fff !important;
}

/* Help text / descriptions */
.hubspot-form .hs-richtext,
.hubspot-form .hs-richtext p {
  font-size: 15px !important;
  line-height: 1.5 !important;
  color: rgba(16, 32, 27, 0.75) !important;
  margin-bottom: 14px !important;
}

/* Checkbox */

.hubspot-form .hs-form-booleancheckbox {
    margin-top: 10px;
} 

.hubspot-form input[type="checkbox"] {
  width: 14px !important;
  height: 14px !important;
  margin-right: 0px !important;
  accent-color: #10201b !important;
}

/* Checkbox label alignment */
.hubspot-form .hs-form-booleancheckbox label,
.hubspot-form .hs-form-checkbox label {
  display: flex !important;
  align-items: flex-start !important;
  gap: 8px !important;
  font-size: 12px !important;
  font-weight: 100 !important;
  line-height: 1.5 !important;

}

.hubspot-form .hs_sms_opt_in__checkbox_for_forms_.hs-sms_opt_in__checkbox_for_forms_.hs-fieldtype-booleancheckbox.field.hs-form-field .hs-field-desc {
    display: none !important;
}

/* Remove weird bullet */
.hubspot-form ul,
.hubspot-form li {
  list-style: none !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
}

/* Submit button */
.hubspot-form .hs-button,
.hubspot-form input[type="submit"] {
  width: 100% !important;
  height: auto !important;
  background: #3FA54F !important;
  color: #ffffff !important;
  border: 1px solid #3FA54F !important;
  border-radius: 50px !important;
  padding: 15px 32px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  margin-top: 10px;
}

/* Button hover */
.hubspot-form .hs-button:hover,
.hubspot-form input[type="submit"]:hover {
  background: #1B432F !important;
  color: #FFF !important;
}

/* Error messages */
.hubspot-form .hs-error-msg,
.hubspot-form .hs-error-msgs label {
  color: #b42318 !important;
  font-size: 12px !important;
  margin-top: -15px !important;
}

/* Two-column name fields */
.hubspot-form .form-columns-2 {
  display: flex !important;
  gap: 5px !important;
}

.hubspot-form .form-columns-2 .hs-form-field {
  width: 50% !important;
}

/* Gravity Form */

.gform_fields {
  row-gap: 20px !important;
}

.gform_button {
  background: #2D9F3E !important;
  border-radius: 50px !important;
  padding: 16px 24px !important;
  width: 100% !important;
}

/* 1031 Exchange Calculator */

.cc-1031-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin: 0 auto;
    box-sizing: border-box;
  }
  .cc-1031-wrap * { box-sizing: border-box; }

  .cc-1031-card {
    flex: 1 1 380px;
    border-radius: 14px;
    padding: 40px;
  }

  .cc-1031-card-light {
    background: #ffffff;
    border: 1px solid #ece7de;
    box-shadow: 0 4px 20px rgba(20, 20, 20, 0.05);
  }

  .cc-1031-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #6b6459;
    margin-bottom: 10px;
  }

  .cc-1031-label-spaced { margin-top: 28px; }

  .cc-1031-input {
    display: flex;
    align-items: center;
    background: #f6f4ef;
    border: 1px solid #ddd7ca;
    border-radius: 8px;
    padding: 14px 16px;
  }

  .cc-1031-dollar {
    font-size: 18px;
    color: #2b2b28;
    margin-right: 6px;
  }

  .cc-1031-input input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 18px;
    color: #1f1f1d;
    width: 100%;
    font-family: inherit;
    padding-left: 0;
    padding-right: 0;
  }

  .cc-1031-stepper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid #ddd7ca;
    padding-left: 10px;
    margin-left: 8px;
    gap: 2px;
  }

  .cc-1031-stepper button {
    border: none;
    background: transparent;
    cursor: pointer;
    color: #8a8375;
    font-size: 9px;
    line-height: 1;
    padding: 2px 4px;
  }
  .cc-1031-stepper button:hover { 
    color: #4a473f; 
    background-color: transparent;
  }

  .cc-1031-disclaimer {
    margin-top: 24px;
    font-size: 13px;
    line-height: 1.6;
    color: #0D171599;
  }

  .cc-1031-card-dark {
    background: #1B432F;
    color: #ffffff;
  }

  .cc-1031-result-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #9aa3b2;
    margin-bottom: 10px;
  }

  .cc-1031-result-value {
    font-family: "DM Serif Display", Sans-serif;
    font-size: 44px;
    color: #ffffff;
    line-height: 1.1;
  }

  .cc-1031-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
    margin: 28px 0;
  }

  .cc-1031-green { color: #8fe3b3; }

  #cc-1031-deferred {
    font-size: 64px;
  }

  .cc-1031-result-note {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.6;
    color: #b7bdc8;
    max-width: 420px;
  }



/* Mobile */
@media (max-width: 767px) {
  
  /* Navigation */

  .sub-menu .elementor-sub-item {
    padding-left: 22px !important;
    padding-right: 22px !important;
  }

  /* Process */

  .process-card .elementor-image-box-wrapper, 
  .process-card .elementor-image-box-wrapper{
    display: grid;
    grid-template-columns: 90px 2fr;
  }

  .process-card .elementor-image-box-title {
    margin: 0px 0px 15px;
  }

	.team-slider .elementor-swiper-button.elementor-swiper-button-prev {
		margin-top: 340px;
	}

	.team-slider .elementor-swiper-button.elementor-swiper-button-next {
  	right: 30px !important;
		margin-top: 340px;
	}

	.elemenetskit-tablepress {
    overflow-x: auto !important;
  }

  /* Property Slider */

  .property-slider .swiper, .how-it-works-slider .swiper {
    overflow: visible;
  }

  .property-slider .swiper-wrapper, .how-it-works-slider .swiper-wrapper {
      align-items: center;
  }

  .property-slider .swiper-slide, .how-it-works-slider .swiper-slide {
      opacity: 0.4;
      transition: all 0.3s ease;
  }

  .how-it-works-slider .swiper-slide {
    min-height: 770px;
  }

  .property-slider .swiper-slide-active, .how-it-works-slider .swiper-slide-active {
    opacity: 1;
    z-index: 2;
  }

  .tab-title {
    min-height: 228px !important;
  }

  .how-we-source svg {
    width: 100% !important;
  }

  .post-author-info .elementor-image-box-wrapper {
    display: flex;
  }

  .post-author-info .elementor-image-box-wrapper img {
    margin-right: 15px;
  }

  .post-author-info .elementor-image-box-img {
    width: 75px;
  }

  /* Contact Us */

  .ccs-modal {
    padding: 8px;
  }

  .ccs-modal__dialog {
    width: 100%;
    max-width: none;
    padding: 20px 16px;
  }

  .hubspot-form .form-columns-2 {
    display: block !important;
  }

  .hubspot-form .form-columns-2 .hs-form-field {
    width: 100% !important;
  }

  .hubspot-form input,
  .hubspot-form textarea,
  .hubspot-form select {
    height: 52px !important;
    font-size: 15px !important;
  }

  .hubspot-form .hs-button,
  .hubspot-form input[type="submit"] {
    width: 100% !important;
  }

  /* 1031 Exchange Calculator */

  .cc-1031-card { padding: 28px; }
  .cc-1031-input { padding: 4px 16px; }
  .cc-1031-result-value { font-size: 36px; }
  #cc-1031-deferred { font-size: 48px; }

}