/* assets/css/extra.css */

/* Styling for Primary Tabs */
ul.tabs-primary {
  list-style: none;
  padding: 0;
  margin: 0 0 1em 0;
  border-bottom: 1px solid #245BA7; /* Main color for border */
  display: flex;
  justify-content: center;
  align-items: center;
}

ul.tabs-primary li {
  margin: 0 5px 0 0;
}

ul.tabs-primary li a {
  display: block;
  padding: 0.5em 1em;
  text-decoration: none;
  border: 1px solid #245BA7; /* Main color for border */
  border-bottom: none;
  background-color: #E9EFF5; /* Lighter shade for inactive tabs */
  color: #245BA7; /* Main color for text */
  border-radius: 4px 4px 0 0;
}

ul.tabs-primary li a.is-active {
  background-color: #245BA7; /* Main color for active tab background */
  color: #ffffff; /* White text for active tab */
  border-color: #245BA7; /* Main color for border */
  /* border-bottom-color: #fff; Removed to use main color scheme */
  position: relative;
  /* top: 1px; Adjust if needed after color change */
}

ul.tabs-primary li a:hover,
ul.tabs-primary li a:focus {
  background-color: #1E4A89; /* Darker shade for hover/focus */
  color: #ffffff;
}

/* Visually hidden class for accessibility */
.visually-hidden {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  overflow: hidden;
  height: 1px;
  width: 1px;
  word-wrap: normal;
}

/* Styling for Drupal Messages */
.messages-list {
  margin-bottom: 1.5em;
}

.messages-list__item,
.messages {
  padding: 1em;
  margin-bottom: 1em;
  border: 1px solid transparent;
  border-radius: 4px;
}

.messages__container {
  /* If you have specific layout needs for the container inside */
}

.messages__header {
  /* Usually contains a visually-hidden h2, already styled */
}

.messages__content {
  line-height: 1.4;
}

/* Status Messages */
.messages--status {
  background-color: #f0f9f0; /* Light green */
  border-color: #a8d8a8;
  color: #3c763d;
}

/* Warning Messages */
.messages--warning {
  background-color: #fcf8e3; /* Light yellow */
  border-color: #faebcc;
  color: #8a6d3b;
}

/* Error Messages */
.messages--error {
  background-color: #f2dede; /* Light red */
  border-color: #ebccd1;
  color: #a94442;
}

/* Message Close Button */
.message-close-button {
  float: right;
  background: transparent;
  border: none;
  color: inherit; /* Inherit color from parent message type */
  font-size: 1.2em;
  font-weight: bold;
  line-height: 1;
  opacity: 0.7;
  cursor: pointer;
  padding: 0 0.2em;
}

.message-close-button:hover,
.message-close-button:focus {
  opacity: 1;
  outline: none;
}

/* Adjust message content padding if close button is present */
.messages__content--with-close {
  /* Example: You might want to reduce padding-right 
     if the button takes up space and causes text to wrap awkwardly.
     This depends on your overall message styling and button positioning. 
     For a floated button, this might not be strictly necessary initially. */
  /* padding-right: 2em; */ 
}
/*
.pea-container {
  border: 1px solid #666;
  border-radius: 5px;
  width: 150px;
  font-family: sans-serif;
  text-align: center;
  color: #333;
  display: inline-block;
}

.pea-header {
  padding: 5px;
  border-bottom: 1px solid #666;
}

.pea-body {
  padding: 10px;
}

.pea-label {
  font-size: 18px;
  color: #555;
  line-height: 1.2;
  margin-bottom: 15px;
}

.pea-value {
  font-size: 32px;
  font-weight: bold;
}

.property__main-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.property__main-content {
  flex: 2;
  min-width: 300px;
}

.property__sidebar {
  flex: 1;
  min-width: 300px;
}
*/
/* Table styles for paragraph--type--table-4-columns */

/*
.paragraph--type--table-4-columns {
  font-family: sans-serif;
  margin: 2em 0;
  width: 100%;
}

.paragraph--type--table-4-columns .field--name-field-table-titles .field__items,
.paragraph--type--table-4-columns .field--name-field-table-line-4-item .field__items {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  padding: 1em 0;
  border-bottom: 1px solid #eee;
  align-items: center;
}

.paragraph--type--table-4-columns .field--name-field-table-titles .field__items {
  padding: 1em 0;
}

.paragraph--type--table-4-columns .field--name-field-table-titles .field__item {
  color: #c50063;
  font-weight: 600;
  font-size: 0.9em;
  text-align: center;
}

.paragraph--type--table-4-columns .field--name-field-table-titles .field__item:nth-child(1) {
  grid-column-start: 2;
}

.paragraph--type--table-4-columns .field--name-field-table-line-4-item .field__item {
  text-align: center;
  color: #333;
}

.paragraph--type--table-4-columns .field--name-field-table-line-4-item .field__item:first-child {
  text-align: left;
  font-weight: 600;
  padding-left: 1em;
}

.paragraph--type--table-4-columns .field--name-field-table-items > .field__items > .field__item:last-of-type .field--name-field-table-line-4-item .field__items {
  border-top: 2px solid #333;
  border-bottom: none;
}

.paragraph--type--table-4-columns .field--name-field-table-items > .field__items > .field__item:last-of-type .field--name-field-table-line-4-item .field__item {
  font-weight: 600;
}*/
/*
.pdf-button {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.25rem;
  border: 1px solid #b3b3b3;
  border-radius: 2rem;
  background-color: #fff;
  color: #212529;
  font-family: sans-serif;
  text-decoration: none;
  font-weight: 600;
  justify-content: space-between;
  min-width: 280px;
}

.pdf-button:hover,
.pdf-button:focus {
  border-color: #212529;
  color: #212529;
  text-decoration: none;
}

.pdf-button-icon {
  width: 1.5rem;
  height: 1.5rem;
  margin-right: 0.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23c50063' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z'%3E%3C/path%3E%3Cpolyline points='13 2 13 9 20 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  flex-shrink: 0;
}

.pdf-button-text {
  flex-grow: 1;
  text-align: left;
}

.pdf-button-dot {
  display: block;
  width: 0.5rem;
  height: 0.5rem;
  background-color: #212529;
  border-radius: 50%;
  flex-shrink: 0;
  margin-left: 0.75rem;
}


.plan-button {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.25rem;
  border: 1px solid #b3b3b3;
  border-radius: 2rem;
  background-color: #fff;
  color: #212529;
  font-family: sans-serif;
  text-decoration: none;
  font-weight: 600;
  justify-content: space-between;
  min-width: 280px;
}

.plan-button:hover,
.plan-button:focus {
  border-color: #212529;
  color: #212529;
  text-decoration: none;
}

.plan-button-icon {
  width: 1.5rem;
  height: 1.5rem;
  margin-right: 0.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23212529' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 3v18l-4-4'/%3E%3Cpath d='M8 3h11a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-1'/%3E%3Cline x1='12' y1='10' x2='18' y2='10' /%3E%3Cline x1='12' y1='14' x2='18' y2='14' /%3E%3Cline x1='14' y1='8' x2='14' y2='16' /%3E%3Cline x1='16' y1='8' x2='16' y2='16' /%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  flex-shrink: 0;
}

.plan-button-text {
  flex-grow: 1;
  text-align: left;
}

.plan-button-dot {
  display: block;
  width: 0.5rem;
  height: 0.5rem;
  background-color: #212529;
  border-radius: 50%;
  flex-shrink: 0;
  margin-left: 0.75rem;
}

*/




/* breaks homepage buttons
.style-bg-bg-white .paragraph--type--sidebyside-title-desc-button .sidebyside_right .field--name-field-link-with-text a{
  background-color: #245BA7;
}
*/

#views-exposed-form-propertypage-page-1{
  display: none;
}
.fieldset-legend-hidden{
  display: none;
}
.view-id-propertypage.view-display-id-page_1 .view-filters{
  display: none !important;
}





/*
.field--name-field-alerts {
  position: relative;
}

.field__alerts-badge {
  position: relative;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #b8336a 0%, #c4336b 100%);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(196, 51, 107, 0.3);
  transition: all 0.3s ease;
}

.field__alerts-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(196, 51, 107, 0.4);
}

.field__alerts-badge-icon {
  font-size: 24px;
  margin-bottom: 2px;
}

.field__alerts-badge-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #fff;
  color: #c4336b;
  font-weight: bold;
  font-size: 14px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #c4336b;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.field__alert-popup {
  display: none;
  position: absolute;
  top: 70px;
  left: 0;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  padding: 20px;
  min-width: 600px;
  max-width: 800px;
  z-index: 1000;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.field__alert-popup.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.field__alert-popup::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 20px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #fff;
}

.field__alert-popup .close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  color: #333;
  transition: color 0.3s ease;
  z-index: 10;
}

.field__alert-popup .close-btn:hover {
  color: #c4336b;
}

.field__alert-popup .field__items {
  margin-top: 10px;
}

.field__alert-popup .alert-item {
  padding: 10px;
}


.field__alert-popup .owl-carousel .owl-nav {
  margin-top: 15px;
}

.field__alert-popup .owl-carousel .owl-nav button {
  width: 40px;
  height: 40px;
  background: #f5f5f5 !important;
  color: #333 !important;
  border-radius: 50% !important;
  font-size: 24px !important;
  line-height: 1 !important;
  transition: all 0.3s ease !important;
  margin: 0 5px !important;
}

.field__alert-popup .owl-carousel .owl-nav button:hover {
  background: #c4336b !important;
  color: #fff !important;
}

.field__alert-popup .owl-carousel .owl-nav button.owl-prev {
  position: absolute;
  left: -50px;
  top: 50%;
  transform: translateY(-50%);
}

.field__alert-popup .owl-carousel .owl-nav button.owl-next {
  position: absolute;
  right: -50px;
  top: 50%;
  transform: translateY(-50%);
}

.field__alert-popup .owl-carousel .owl-dots {
  text-align: center;
  margin-top: 20px;
}

.field__alert-popup .owl-carousel .owl-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #ddd;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.field__alert-popup .owl-carousel .owl-dot.active {
  background: #c4336b;
  width: 12px;
  height: 12px;
}

.field__alert-popup .owl-carousel .owl-dot:hover {
  background: #b8336a;
}


@media (max-width: 768px) {
  .field__alert-popup {
    min-width: 90vw;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
  }
  
  .field__alert-popup.show {
    transform: translateX(-50%) translateY(0);
  }
  
  .field__alert-popup::before {
    left: 30px;
  }
  
  .field__alert-popup .owl-carousel .owl-nav button.owl-prev,
  .field__alert-popup .owl-carousel .owl-nav button.owl-next {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    transform: none;
  }
}


*/


var{
  font-weight: normal;
    font-family: 'PeridotPEBold';
  font-style: normal !important;
}

.infobubble .views-field-id{
  display: none;
}

/* Highlight property when map pin is clicked */
.views-row.map-pin-active {
  /* outline: 3px solid #C4004B; */
  outline-offset: 2px;
  background-color: #F2F2F3;
  /* box-shadow: 0 4px 12px rgba(196, 0, 75, 0.3); */
  transition: all 0.3s ease;
}
.propertyproperty.map-pin-active{

}
