/* Plus Percent Value */
.plus .percent-value:after {
  content: '+';
}
/* Tooltip Styling */
.tooltip {
  display: inline-block;
  margin-left: 5px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  color: #1f3060;
  position: relative;
}
.tooltip-content {
  display: none;
  position: absolute;
  width: 850px;
  background-color: #f9f9f9;
  padding: 10px;
  border: 1px solid #ccc;
  z-index: 1;
  line-height: 1.8em;
}
.tooltip-trigger {
  cursor: pointer;
  border-bottom: 1px dotted #000;
}
/* 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 Grid */
#propertyGrid > .property-item .property-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#propertyGrid > .property-item .property-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  height: 100%;
  overflow: hidden;
}
div #propertyGrid label {
  font-size: 21px;
}
/* Property Item */
#property_content {
  margin-left: 5%;
  margin-right: 5%;
}
.property-item {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 15px;
  border: 5px solid #f0a100;
  padding: 5px;
  margin-bottom: 10px;
}
.property-thumb {
  position: relative;
}
.property-thumb img {
  width: 100%;
  height: 100%;
}
.property-overlay-text {
  position: absolute;
  color: #fff;
  padding: 5px;
  font-size: 18px;
  font-weight: bold;
}
.property-overlay-text.under-contract {
  background: #f0a100;
  text-align: center;
  top: 10px;
  width: 100%;
}
.property-overlay-text.is-duplex {
  background: #1f3060;
  text-align: center;
  bottom: 50px;
  width: 100%;
}
.property-overlay-text.new-construction {
  background: #3aa8c1;
  text-align: center;
  bottom: 50px;
  width: 100%;
}
.property-details {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.property-details h2 {
  margin: 0;
  font-size: 30px;
  font-weight: bold;
  letter-spacing: 0px;
  text-align: center;
}
.property-details p {
  font-size: 20px;
  line-height: 1.2;
  margin: 5px 0;
}
.property-details a.property-irr-link {
  color: #f0a100;
  text-decoration: none;
}
.button-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}
.property-button {
  width: 100%;
  text-align: center;
  padding: 10px;
  background-color: #1f3060;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
}
.property-button:hover {
  background-color: #f0a100;
}
.property-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 3px;
  height: 100%;
}
.property-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 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;
}
.property-images-slider {
  max-height: 650px;
  overflow: hidden;
}
.property-images-slider .item {
  height: 0;
  padding-bottom: 100%;
  /* This maintains the square aspect ratio */
  position: relative;
  overflow: hidden;
}
.property-images-slider .square-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.property-images-slider .square-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
/* Adjust navigation arrows for better visibility */
.property-images-slider .owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
}
.property-images-slider .owl-prev,
.property-images-slider .owl-next {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.5) !important;
  color: #fff !important;
  font-size: 24px !important;
  padding: 10px 15px !important;
  border-radius: 50% !important;
}
.property-images-slider .owl-prev {
  left: 10px;
}
.property-images-slider .owl-next {
  right: 10px;
}
/* Adjust dots for better visibility */
.property-images-slider .owl-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
}
.property-images-slider .owl-dot span {
  background-color: rgba(255, 255, 255, 0.5) !important;
}
.property-images-slider .owl-dot.active span {
  background-color: #fff !important;
}
/* Ensure the slider container doesn't exceed max height */
#property-images-slider-container {
  max-height: 650px;
  overflow: hidden;
}
#et-boc > #et-main-area .et_pb_column {
  z-index: 0;
}
@media screen and (max-width: 768px) {
  .property-map {
    padding-bottom: 75%;
    /* Creates a 4:3 aspect ratio on mobile */
    border-width: 5px;
    /* Thinner border on mobile */
  }
}
