.agent-listing-table {
  max-height: 300px; /* Set your desired fixed height */
  overflow: hidden; /* Hide the scrollbar */
  position: relative;
}
.agent-listing-table table {
  width: 100%; /* Ensure the table takes full width */
  border-collapse: collapse;
}
.agent-listing-table thead,
.agent-listing-table tbody tr {
  display: table;
  width: 100%;
  table-layout: fixed; /* Ensure the width of the columns is evenly distributed */
}
.agent-listing-table thead {
  position: sticky;
  top: 0;
  background-color: white; /* Adjust as needed */
  z-index: 1;
}
.accordion-collapse .agent-listing-table thead {
  position: relative;
}
.agent-listing-table tbody {
  display: block;
  max-height: 250px; /* Adjust to account for header height */
  overflow-y: scroll; /* Allow scrolling within tbody */
  width: 100%;
  scroll-behavior: smooth; /* Enable smooth scrolling */
}
.accordion-collapse .agent-listing-table tbody {
  display: block;
  max-height: 750px; /* Adjust to account for header height */
  overflow-y: scroll; /* Allow scrolling within tbody */
  width: 100%;
  scroll-behavior: smooth; /* Enable smooth scrolling */
}
.accordion-collapse .agent-listing-table {
  max-height: 500px;
}
.agent-listing-table tbody::-webkit-scrollbar {
  width: 0;
  height: 0;
}
@keyframes slideUp {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(-100%);
    opacity: 0;
  }
}
.row-slide-up {
  animation: slideUp 1s ease-in-out forwards;
}
.broadcast-active .left-sidebar {
  width: 0;
  opacity: 0;
  min-width: 0;
  padding: 0;
}
.broadcast-active .page-content-wrap {
  position: relative;
  margin-left: 0;
}
.broadcast-active .page-wrapper {
  width: 100%;
  margin: 0 auto;
  max-width: 1400px;
}
.card.card-body.listing-view ul.list-row {
  margin-bottom: 15px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 15px;
  margin-top: 15px;
}
.list-rows {
  border-bottom: 0px;
}
.accordion-collapse table.responsive-table tr {
  cursor: pointer;
}
.agent-single {
  padding-top: 30px;
}
.broadcast-active .agent-detail-link {
  pointer-events: none !important;
}
.agent-detail-link {
  color: #231f20;
}
p.no-data {
  padding-top: 15px;
  text-align: center;
  display: block;
}
.modal-body.p30 .appraisals {
  color: #833219;
}
.modal-body.p30 .listings {
  color: #e57201;
}
.modal-body.p30 .sold {
  color: #732841;
}
input.without-currency {
  border-left: var(--bs-border-width) solid var(--bs-border-color) !important;
}
.edit-target-error {
  display: block;
  width: 100%;
  margin-top: 10px;
  color: red;
  margin-bottom: 0px;
} 
.row.not-editable {
  margin-bottom: 30px;
}
.card-box.agent-box-no-agent.make-center > div {
  margin: 0px auto;
}
.card-box.agent-box-no-agent.make-center {
  text-align: center;
}
.has-broadcast-option {
  position: relative;
}
.has-broadcast-option .broadcast {
  position: absolute;
  top: 15px;
  right: calc(var(--bs-gutter-x) * 0.5);
  max-width: 268px;
  width:100%;
}
@media only screen and (min-width: 768px) {
  ul.all-right {
    margin-bottom: 15px;
    margin-top: -15px;
  }
}
@media only screen and (min-width: 250px) and (max-width: 767px) {
  .map-div .gm-ui-hover-effect > span {
    background-color: #ffffff;
    margin: 10px;
  }
  .map-div .gm-ui-hover-effect {
    width: 40px;
    height: 40px;
  }
  .map-div .gm-ui-hover-effect:focus-visible {
    border: none !important;
  }
  ul.all-right .order1 {
    margin-bottom: 0px;
  }
  .has-broadcast-option .broadcast {
    display: none !important;
    /* position: relative;
    width: 100%;
    margin-bottom: 10px; */
  }
}

.count-widget.c6,
#nav-super_saturday .leaderboard-auctions .tab-titles {
  background: #231f20;
  border-color: #231f20;
  color: #fff;
  border-radius: 10px;
  padding: 15px;
  box-sizing: border-box;
}

#nav-super_saturday .listing-sold .tab-titles strong,
#nav-super_saturday .listing-sold .tab-titles h2 {
  color: #fff;
}

#nav-super_saturday .leaderboard-auctions .tab-titles h6 {
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 10px;
  min-height: 0;
}

/*
#nav-super_saturday .tab-titles h2 {
  background: #231f20;
  border-color: #231f20;
}

#nav-super_saturday .count-widget.c6 {
  background: #231f20;
}
*/
.card-box.m30.management-board .all-right {
  margin: 0px;
  margin-bottom: 15px;
}
#nav-days_on_market input[type="number"] {
  display: block;
  width: 250px;
  height: 44px;
  line-height: 44px;
  border-radius: 5px;
  border: 1px solid #ccc;
  padding: 0 15px;
  font-size: 16px;
}
.fy-to-date-map #tabs {
  position: absolute;
  right: 30px;
  top: 20px;
}
.fy-to-date-map h2 {
  margin-bottom: 22px;
}
#tabs button {
  width: auto;
}
#tabs button:first-child {
  margin-right: 7px;
}
#tabs button.new:hover,
button.btn.btn-primary.new:disabled {
  background: #e57201;
  border-color: #e57201;
  color: #ffffff;
  opacity: 1;
}
#tabs button.sold:hover,
button.btn.btn-primary.sold:disabled {
  background: #4c2230;
  border-color: #4c2230;
  color: #ffffff;
  opacity: 1 !important;
}
.map-div {
  position: relative;
}
div#property-info {
  position: absolute;
  background: white;
  border: 1px solid #ccc;
  padding: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  border-radius: var(--bs-border-radius);
  padding: 0px !important;
}
.map-property-box {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: stretch;
  min-width: 350px;
}
.mpb-txt {
  padding: 15px;
  max-width: 200px;
}
.mpb-txt * {
  font-size: 14px;
  line-height: 18px;
}
.map-agent-img {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  column-gap: 10px;
  font-weight: 500;
}
.map-agent-img img {
  width: 30px;
  height: 30px;
  border-radius: 100%;
}
.mpb-thumb {
  display: flex;
}
.mpb-thumb img {
  object-fit: cover;
  height: 100%;
  border-radius: var(--bs-border-radius) 0 0 var(--bs-border-radius);
  min-width: 130px;
}
.mpb-txt h6 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  width: 100%;
  box-sizing: border-box;
}
@media all and (max-width: 767px) {
  .fy-to-date-map #tabs {
    position: relative;
    right: 0px;
    top: 0px;
    margin-bottom: 20px;
  }
  .map-property-box {
    flex-direction: column; /* Stack elements vertically on mobile */
    align-items: center; /* Center align for better layout on mobile */
    min-width: 193px;
  }
  .mpb-thumb,
  .mpb-txt {
    width: 100%; /* Take full width on mobile */
  }
  .mpb-txt {
    padding: 10px; /* Adjust padding for better spacing on mobile */
  }
  .mpb-thumb img {
    width: 100%; /* Adjust image size for mobile */
    height: auto; /* Maintain aspect ratio */
    max-width: 200px; /* Set a max width for better scaling */
    max-height: 130px;
    border-radius: var(--bs-border-radius) var(--bs-border-radius) 0 0;
  }
  #property-info {
    left: 70px !important;
  }
}
.map-div .gm-style-iw.gm-style-iw-c {
  padding: 0px !important;
}
.map-div .gm-style-iw-chr {
  position: absolute;
  right: 0px;
}
.map-div .gm-style-iw-d {
  overflow: hidden !important;
}
.graph-listing-box .semi-donut,
.graph-btn .semi-donut {
  font-size: 36px;
}
.loader-main {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}
.loader {
  border: 6px solid #f3f3f3;
  border-top: 6px solid #000000;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  -webkit-animation: spin 2s linear infinite; /* Safari */
  animation: spin 2s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
