/* Plus Percent Value */
.plus .percent-value:after {
  content: '+';
}
/* Updated tooltip styles to work with span elements */
.tooltip-inline {
  display: inline-block;
  vertical-align: middle;
  margin-left: 5px;
  position: relative;
  z-index: 20;
}
.tooltip-trigger {
  cursor: pointer;
  font-size: 14px;
  padding: 1px 6px;
  background-color: #f0a100;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: inline-block;
  text-align: center;
  line-height: 18px;
  font-weight: bold;
}
.tooltip-content {
  position: absolute;
  width: 350px;
  background-color: #f9f9f9;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  /* Very high to ensure it's on top */
  line-height: 1.6em;
  left: 0;
  top: -75%;
  margin-top: 10px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  white-space: normal;
}
/* Style for individual lines within tooltip */
.tooltip-content .tooltip-line {
  display: block;
  margin-bottom: 10px;
}
.tooltip-content .tooltip-line:last-child {
  margin-bottom: 0;
}
/* Optional: small triangle arrow */
.tooltip-content::after {
  content: '';
  position: absolute;
  top: -10px;
  left: 10px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent #f9f9f9 transparent;
}
/* Show tooltip */
.tooltip-inline.active .tooltip-content {
  visibility: visible;
  opacity: 1;
  z-index: 10000;
}
/* Gravity Forms Wrapper 1 */
#gform_wrapper_1 .ginput_container label,
#gform_wrapper_1 .gfield_label {
  background-color: white;
  font-size: 20px;
  color: #1f3060;
  font-weight: 900;
  padding-left: 10px;
}
#gform_wrapper_1 input[type=text],
#gform_wrapper_1 input[type=email] {
  height: 78px;
  border-radius: 19px;
}
#gform_wrapper_1 input[type=submit] {
  height: 58px;
  width: 250px;
  font-size: 26px;
  background-color: #f28322;
  color: white;
  align: center;
  margin-left: 38%;
  border-radius: 15px;
  margin-top: 26px;
}
#input_1_2_3_container > label,
#input_1_2_6_container > label {
  width: 200px;
}
#input_1_1_1_container > label,
#input_1_1_2_container > label {
  width: 225px;
}
/* Gravity Forms Wrapper 2 */
div > #gform_wrapper_2 > #gform_2 #gform_fields_2 {
  border-width: 9px;
  border-style: solid;
  border-color: #f0a100;
  border-radius: 10px;
  padding: 25px;
  background-color: #1f3060;
}
#gform_wrapper_2 .ginput_container label,
#gform_wrapper_2 .gfield_label {
  font-size: 18px;
  color: #ffffff;
}
#gform_2 #gfield_description_2_10 {
  color: #ffffff;
}
#gform_wrapper_2 .gform_heading .gform_title {
  text-align: center;
}
#property_content {
  margin-left: 5%;
  margin-right: 5%;
}
/* Property Grid Container */
#propertyGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 20px;
  /* Important: Don't set overflow on the grid */
  position: relative;
}
/* Property Item */
.property-item {
  display: flex;
  flex-direction: column;
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow-x: hidden;
  overflow-y: hidden;
  position: relative;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
/* Property Thumb */
.property-thumb {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  /* 16:9 Aspect Ratio */
  overflow: hidden;
  flex-shrink: 0;
  /* Prevent flex from shrinking this */
}
.property-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Property Details */
.property-details {
  padding: 15px;
  position: relative;
  /* Ensure tooltip positions relative to this */
  overflow: visible !important;
  z-index: 10;
}
.property-details h2 {
  font-size: 24px;
  margin-bottom: 10px;
  /* Add some space below the headings */
  line-height: 1;
  /* Improve readability */
}
.property-details p {
  font-size: 18px;
  margin-bottom: 8px;
  /* Add some space between paragraphs */
  line-height: 1;
  /* Improve readability */
}
/* Ensure the Cash Flow text stands out */
.property-details h2.cash-flow {
  font-weight: bold;
  color: #1f3060;
  /* Adjust the color as needed */
}
/* Style for the IRR link to maintain readability */
.property-details .property-irr-link {
  font-size: 24px;
  text-decoration: none;
  color: #f0a100;
  /* Adjust the color as needed */
}
.property-details .property-irr-link:hover {
  text-decoration: underline;
}
/* Buttons */
.button-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 15px 15px;
  overflow: hidden;
}
.irr-button,
.moreinfo {
  width: 100%;
  padding: 10px;
  text-align: center;
  background-color: #1f3060;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  font-size: 14px;
}
.property-button {
  width: 100%;
  padding: 10px;
  text-align: center;
  background-color: #f0a100;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  font-size: 14px;
}
.copy-to-clipboard {
  width: 100%;
  padding: 3px;
  text-align: center;
  background-color: #f0f0f0;
  color: black;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  font-size: 12px;
}
.property-button:hover {
  background-color: #1f3060;
}
.irr-button:hover,
.moreinfo:hover {
  background-color: #f0a100;
}
.property-overlay-text {
  position: absolute;
  padding: 5px 10px;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  color: white;
  z-index: 1;
}
.under-contract {
  top: 10px;
  left: 0;
  background-color: #f0a100;
  /* Red */
}
.is-duplex {
  top: 10px;
  right: 0;
  background-color: #1f3060;
  /* Blue */
}
.new-construction {
  bottom: 10px;
  left: 0;
  right: 0;
  background-color: #2ecc40;
  /* Green */
}
/* Compare Checkbox */
.compare-checkbox {
  margin: 10px 15px;
}
/* Mobile Responsive Styles */
/* Property Details Container */
#property-details-container {
  font-family: 'Josefin Sans', sans-serif;
  padding: 20px;
  border-radius: 10px;
  margin: 20px 0;
  text-align: center;
  color: #2b3e4c;
}
#property-details-container h1 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
}
#property-details-container p {
  margin: 5px 0;
  font-size: 18px;
}
#property-details-container .details-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: auto;
  gap: 3px;
  margin-top: 20px;
}
#property-details-container .details-group div {
  flex: 1;
  min-width: 150px;
}
#property-details-container .monthly-cash-flow {
  font-size: 22px;
  font-weight: bold;
  margin-top: 20px;
}
#property-details-container .property-images {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-auto-rows: auto;
  gap: 3px;
  margin-top: 20px;
  place-content: center;
}
#property-details-container .property-images img {
  margin: 10px;
  border-radius: 5px;
}
#property-details-container .property-details-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  gap: 3px;
  margin-top: 20px;
}
/* Property Grid Container */
#property-grid-container #property-search {
  font-size: 26.3333px;
  width: 65%;
  margin-bottom: 20px;
  border-width: 5px;
  border-color: #f0a100;
  border-radius: 3px 3px 3px 3px;
}
.search-button {
  padding: 10px 20px;
  font-size: 16px;
  color: white;
  background-color: #1f3060;
  /* Change this to match your site's color scheme */
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.search-button:hover {
  background-color: #f0a100;
  /* Darker shade for hover effect */
}
.search-button:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.5);
}
#property-grid-container h4 {
  text-align: center;
}
/* Reset Sort Container */
#reset-sort-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  /* Adjust the space between elements as needed */
  margin-bottom: 20px;
  /* Adjust as needed */
}
#reset-sort-container #search-container {
  flex-grow: 1;
}
#reset-sort-container #search-container input {
  width: 100%;
  padding: 5px;
  font-size: 16px;
  /* Adjust as needed */
  border-radius: 5px;
  /* Adjust as needed */
  border: 1px solid #ccc;
  /* Adjust as needed */
}
#reset-sort-container #right-container {
  display: flex;
  align-items: center;
  gap: 10px;
}
#reset-sort-container #reset-compare {
  text-decoration: none;
  color: #1f3060;
  /* Adjust color as needed */
  font-weight: bold;
  font-size: 24px;
}
#reset-sort-container #sort-select,
#reset-sort-container #state-select {
  padding: 5px;
  font-size: 16px;
  /* Adjust as needed */
  border-radius: 5px;
  /* Adjust as needed */
  border: 1px solid #ccc;
  /* Adjust as needed */
}
/* Property Intro */
#property-intro {
  margin-bottom: 25px;
  margin-top: 25px;
  font-size: 18px;
}
#et-main-area > #property-intro li {
  list-style-type: decimal;
  margin-left: 40px;
}
.full-size-images {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}
.full-size-image-container {
  align-self: center;
}
.full-size-image {
  width: 100%;
  height: auto;
  object-fit: contain;
}
/* Header Image */
.header-image-container {
  position: relative;
  width: 100%;
  max-height: 400px;
  overflow: hidden;
}
.header-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center bottom;
}
.header-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 3em;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
/* Property Map */
.property-map {
  width: 100%;
  max-width: 1200px;
  height: 0;
  padding-bottom: 50%;
  /* This creates a 2:1 aspect ratio */
  margin: 0 auto;
  position: relative;
  border: 10px solid #1f3060;
  box-sizing: border-box;
}
.property-map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
/* Mobile Responsive Styles */
/* Page Specific Styles */
.post-100192 .et_pb_section:nth-child(2) .et_pb_toggle_close .et_pb_toggle_title {
  text-transform: none;
  letter-spacing: 0px;
  font-weight: 600;
  line-height: 27px;
}
.post-100170 .et_pb_section:nth-child(2) .et_pb_text h4 {
  padding-bottom: 0px;
  margin-bottom: 4px;
}
.post-100170 .et_pb_section:nth-child(2) .et_pb_text p {
  padding-bottom: 40px;
}
.post-99858 .et_pb_section:nth-child(2) .et_pb_text ol li {
  padding-bottom: 30px;
}
.post-99966 .et_pb_section:nth-child(2) .et_pb_text ul li {
  padding-bottom: 30px;
}
.page-id-100028 div > #et-main-area > div > h4 {
  font-size: 24px;
  text-transform: none;
  text-align: left;
}
#property-content {
  margin-left: 8%;
  margin-right: 8%;
}
#property_content > div:nth-child(3) > table > tbody > tr > td:nth-child(2) > h4 {
  font-size: 24px;
  text-transform: none;
  font-weight: 600;
  text-align: left;
  line-height: 22px;
}
#et-boc > #et-main-area .et_pb_column {
  z-index: 0;
}
@media screen and (max-width: 768px) {
  .tooltip-content {
    width: 280px;
    font-size: 14px;
  }
  #propertyGrid {
    grid-template-columns: 1fr;
  }
  .property-details h2 {
    font-size: 20px;
    line-height: 1em;
  }
  .property-details p {
    font-size: 18px;
  }
  div #propertyGrid label {
    font-size: 18px;
  }
  .property-overlay-text {
    font-size: 16px;
  }
  .property-map {
    padding-bottom: 75%;
    /* Creates a 4:3 aspect ratio on mobile */
    border-width: 5px;
    /* Thinner border on mobile */
  }
}
