.side-nav a i.icon-reviews {
  width: 27px;
  height: 25px;
  background-color: #000000;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><style>.st0{fill:none;stroke:%23000;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}</style><path class="st0" d="M3,8v14c0,1.1,0.9,2,2,2h16.8l7.3,6v-6V8c0-1.1-0.9-2-2-2H5C3.9,6,3,6.9,3,8z"/><polygon class="st0" points="12,9.9 13.5,13.1 17,13.6 14.5,16 15.1,19.4 12,17.8 8.9,19.4 9.5,16 7,13.6 10.5,13.1"/><line class="st0" x1="20" y1="13" x2="25" y2="13"/><line class="st0" x1="22" y1="17" x2="25" y2="17"/></svg>')
    no-repeat center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  display: inline-block;
  position: relative;
  top: 5px;
}

.side-nav a.active i.icon-reviews,
.side-nav a:hover i.icon-reviews {
  background-color: #ef8b29;
}

.reviewtypes {
  margin: 0 0 30px;
}

.reviewtypes .seven-column-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  list-style-type: none;
  padding: 0;
}

.seven-column-grid li {
  padding: 17px;
  text-align: left;
  box-shadow: 0px 0px 20px #0000000d;
  border-radius: 15px;
  background: #fff;
}

.seven-column-grid li h6 {
  color: #000;
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 20px;
  line-height: 22px;
  height: 50px;
}

.seven-column-grid li strong {
  color: #e57201;
  font-size: 40px;
  line-height: 40px;
  font-weight: 700;
  vertical-align: top;
  display: flex;
  align-items: center;
  gap: 5px;
}

.seven-column-grid li strong i {
  color: #ffc107;
  font-size: 18px;
}

.review-filters ul {
  display: grid;
  grid-template-columns: 1fr 1.8fr 0.9fr 0.9fr; /* adjust ratios as needed */
  gap: 10px;
  list-style-type: none;
  padding: 0;
}

input#from {
  margin-right: 7px;
}

.review-search {
  position: relative;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.review-search i {
  position: absolute;
  left: 10px;
  top: 17px;
  font-size: 15px;
}

.review-search input.form-control {
  background: none;
  border: 0;
  padding: 3px 10px 0 35px;
  height: 50px;
  line-height: 50px;
  font-size: 17px;
  font-weight: 400;
  color: rgba(35, 31, 32, 0.7);
}

.review-filters .dates input {
  display: inline-block;
  width: 49%;
  font-size: 17px;
  color: rgba(35, 31, 32, 0.7);
  border: 1px solid #ccc;
  height: 50px;
  border-radius: 5px;
  background: none;
  padding-left: 5px;
  padding-right: 5px;
}

.review-filters .form-select {
  background-color: rgba(0, 0, 0, 0);
  border: 1px solid #ccc;
  border-radius: 10px;
  height: 50px;
  font-size: 17px;
  font-weight: 400;
  color: rgba(35, 31, 32, 0.7) !important;
  padding: 0 20px;
  color: #231f20;
}

.filters-title h6 {
  font-size: 18px;
  font-weight: 500;
  line-height: 50px;
  margin: 0;
}

.review-list-head {
  margin: 0 0 15px;
}

.review-list-head ul li {
  font-size: 14px;
  font-weight: 500;
  color: #231f20;
  text-transform: uppercase;
}

.review-list-box ul,
.review-list-head ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px; /* adjust spacing */
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.review-list-box ul li,
.review-list-head ul li {
  flex: 1 1 calc((71% / 5)); /* distribute remaining space */
  text-align: left;
  text-align: left;
  box-sizing: border-box;
}

.review-list-box ul li:first-child,
.review-list-head ul li:first-child {
  flex: 0 0 25%; /* fixed 20% for first column */
  text-align: left;
}

.review-list-box {
  background: #fff;
  padding: 10px;
  border-radius: 12px;
  margin: 0 0 10px;
  height: 100px;
}

.review-list-box ul li {
  font-size: 16px;
  font-weight: 400;
  color: #231f20;
}

.review-list-box ul li span.grey-text {
  color: rgba(0, 0, 0, 0.4);
}

.review-pro {
  position: relative;
  display: flex;
  align-items: center;
}

.review-pro img {
  height: 80px;
  width: 100px;
  min-width: 100px;
  border-radius: 5px;
  object-fit: cover;
  margin-right: 10px;
}

.review-list-box ul li.pro-rating strong {
  display: block;
  font-size: 18px;
  font-weight: 500;
  color: #231f20;
}

.review-list-box ul li.pro-rating strong i {
  color: #ffc107;
  font-size: 16px;
}

.review-list-box ul li.pro-rating a {
  color: #e57201;
  display: block;
  text-decoration: underline;
  font-size: 16px;
  font-weight: 500;
}

.modal.reviews {
  --bs-modal-width: 700px;
}

.modal.reviews .btn-close {
  position: absolute;
  right: 20px;
}

.buyer-review-agent {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.buyer-review-agent > * {
  flex: 1 1 50%; /* 2 equal columns */
}

.buyer-pro-img {
  position: relative;
  overflow: hidden;
  max-width: 366px;
}

.buyer-pro-img img {
  width: 100%;
  height: 300px;
  border-radius: 15px;
  object-fit: cover;
}

.buyer-pro-img span {
  position: absolute;
  left: 15px;
  top: 15px;
  background: #fff;
  border-radius: 10px;
  padding: 5px 10px;
  font-size: 16px;
  font-weight: 500;
}

.buyer-pro-agent-txt {
  padding-left: 15px;
}

.rew-agent- img {
  width: 55px;
  height: 55px;
  border-radius: 100%;
  object-fit: cover;
  margin-right: 10px;
}

.buyer-pro-agent-txt h6 {
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 20px;
}

.buyer-pro-agent-txt p {
  font-size: 16px;
  font-weight: 400;
  margin: 0px;
  padding: 0;
}

.rew-agent- {
  margin: 20px 0 0;
}

.buyer-review-content {
  position: relative;
}

.rating-count i {
  color: #ffc107;
  font-size: 16px;
}

.review-time {
  position: absolute;
  right: 0;
  top: 0;
  font-size: 14px;
  color: #333;
}

.buyer-review-content p {
  font-size: 20px;
  font-weight: 500;
  line-height: 30px;
  margin: 20px 0;
}

.buyer-review-content p img {
  display: inline-block;
  max-width: 15px;
  margin-right: 5px;
}

.buyer-review-content .rew-autor- {
  display: flex;
}

.buyer-review-content .rew-autor- img {
  width: 55px;
  height: 55px;
  border-radius: 100%;
  object-fit: cover;
  margin-right: 10px;
}

.buyer-review-content .rew-autor- ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
}

.buyer-review-content .rew-autor- ul li {
  display: inline-block;
  margin-right: 20px;
}

.buyer-review-content .rew-autor- h6 {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 26px;
}

.buyer-review-content .rew-autor- ul li:last-child {
  border-left: 1px solid #ccc;
  margin: 0;
  padding-left: 15px;
  line-height: 55px;
  font-size: 18px;
  color: #231f20;
}

.buyer-review-box .nav.nav-tabs {
  margin: 0 0 20px;
}

.buyer-review-box .nav-tabs .nav-link {
  color: #000;
}

.nav-tabs .nav-link:hover,
.buyer-review-box .nav-tabs .nav-link.active {
  color: #e57201;
}

@media (min-width: 268px) and (max-width: 767px) {
  body .modal-content .buyer-review-box .review-item p {
    font-size: 14px;
    line-height: 25px;
    margin: 0 0 15px;
    text-align: center;
    font-weight: 500;
  }

  .modal-content .buyer-review-box .review-item {
    padding: 5px;
  }

  body .review-slider .slick-slide {
    padding: 15px 0;
  }

  body .row.review-slider .slick-track {
    margin-left: 0px;
    margin-right: 0px;
  }

  .reviewtypes .seven-column-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviewtypes .seven-column-grid li h6 {
    font-size: 15px;
  }

  .reviewtypes .seven-column-grid li strong {
    font-size: 32px;
  }

  .review-filters ul {
    grid-template-columns: 1fr;
  }

  .review-filters .dates input#from {
    margin-right: 12px;
  }

  .review-filters .dates input {
    width: 48%;
  }

  .review-list-head {
    margin: 0 0 15px;
    display: none;
  }

  .review-list-wrapper .review-list-box {
    height: auto;
  }

  .review-list-head {
    display: none;
  }

  .review-list-box ul li:first-child {
    flex: 0 0 100%;
    text-align: left;
  }

  .review-list-box .review-pro img {
    height: 60px;
    width: 80px;
  }

  .review-list-wrapper .review-list-box ul li {
    flex: 1 1 calc((100% / 1));
  }

  .buyer-review-agent {
    display: block;
  }

  .buyer-review-agent .buyer-pro-img {
    max-width: 100%;
    margin-bottom: 20px;
  }

  .buyer-review-agent .buyer-pro-img img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    object-fit: cover;
  }

  .buyer-review-agent .buyer-pro-agent-txt {
    padding-left: 0;
  }

  .buyer-review-box .buyer-review-content p {
    font-size: 16px;
    font-weight: 400;
    line-height: 25px;
    margin: 15px 0;
  }
}
/**************  Reviews  **************/

.review-slider {
  background: #fff;
  border-radius: 15px;
  padding: 20px;
  margin: 0 0 30px;
}

.review-slider .slick-dotted.slick-slider {
  margin-bottom: 0;
}

.review-item {
  border: 1px solid #ccc;
  border-radius: 15px;
  padding: 20px;
  position: relative;
}

.review-item p {
  font-size: 16px;
  line-height: 24px;
  margin: 0 0 15px;
}

.review-item span.daysago {
  font-size: 14px;
  display: block;
  color: rgba(0, 0, 0, 0.5);
}

.review-slider .slick-slide {
  padding: 10px;
}

.review-meta {
  position: relative;
  padding-left: 55px;
  margin: 0 0 20px;
}

.review-meta img {
  width: 40px;
  height: 40px;
  border-radius: 100%;
  position: absolute;
  left: 0;
}

.review-meta i {
  color: #ffc107;
  font-size: 15px;
}

.review-meta h6 {
  font-size: 14px;
  font-weight: 400;
}

div#listing-reviews-modal .review-item {
  border: none !important;
}
div#listing-reviews-modal .btn-close {
  z-index: 999999;
}

.row.review-slider .slick-prev,
.row.review-slider .slick-next {
  font-size: 0;
  line-height: 0;
  position: absolute;
  width: 30px;
  height: 30px;
  border: 1px solid #ccc;
  border-radius: 100%;
  top: -18px;
  right: 11px;
}

.row.review-slider .slick-prev {
  left: inherit;
  right: 50px;
}

.row.review-slider .slick-prev:before {
  content: "\f053";
  font-family: "Font Awesome 6 Free";
  font-weight: 700;
  color: #000;
  opacity: 1;
  font-size: 12px;
}

.row.review-slider .slick-next:before {
  content: "\f054";
  font-family: "Font Awesome 6 Free";
  font-weight: 700;
  color: #000;
  opacity: 1;
  font-size: 12px;
}

.review-item p span.short-text {
  display: -webkit-box;
  -webkit-line-clamp: 2; /* limit to 2 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-item p span.more-text {
  margin-right: 5px;
}

.review-item button.readMoreBtn {
  background: none;
  border: 0;
  font-size: 13px;
  display: inline-block;
  padding: 0;
  text-transform: uppercase;
  letter-spacing: 0;
  color: #e57201;
}

.agent-single .agent-listing-box {
  text-align: center;
}

button.btn.btn-sm.btn-primary.reviews-btn {
  background: none;
  border: 1px solid #fff;
  display: inline-block;
  width: auto;
  color: #fff;
  height: 35px;
  font-size: 14px;
  line-height: 30px;
  padding: 0 15px;
}

.sagent-tabbed-listing .alb-hover ul {
  height: 80%;
}

button.btn.btn-sm.btn-primary.reviews-btn {
  background: none;
  border: 1px solid #fff;
  display: inline-block;
  width: auto;
  color: #fff;
  height: 35px;
  font-size: 14px;
  line-height: 30px;
  padding: 0 15px;
  margin: 10px 0 0;
}

.modal-content .buyer-review-box .review-meta {
  position: relative;
  padding-left: 0;
  margin: 0 0 20px;
  text-align: center;
}

.modal-content .buyer-review-box .rev-stars {
  display: inline-block;
}

.modal-content .buyer-review-box .review-meta img {
  width: 40px;
  height: 40px;
  border-radius: 100%;
  position: relative;
  left: inherit;
  display: inline-block;
  margin-right: 11px;
}

.modal-content .buyer-review-box .review-item p {
  font-size: 18px;
  line-height: 30px;
  margin: 0 0 15px;
  text-align: center;
  font-weight: 500;
}

.modal-content .buyer-review-box .review-item {
  text-align: center;
  font-size: 20px;
  font-weight: 400;
}

.modal-content .buyer-review-box .review-item strong {
  font-weight: 600;
}

.modal-content .buyer-review-box .review-item span.daysago {
  font-size: 16px;
  display: block;
  color: rgba(0, 0, 0, 0.5);
  text-align: center;
}

.row.review-slider .col-md-12 {
  padding: 0;
}

.row.review-slider .slick-track {
  margin-left: -10px;
  margin-right: -10px;
}

.broadcast-active .slide-wrapper.review-slide {
  overflow: hidden;
  position: relative;
  border-radius: 20px;
}

.broadcast-active .slide-img img {
  width: 100%;
  height: auto;
}

.broadcast-active .slide-info {
  position: absolute;
  bottom: 0;
  padding: 30px;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.broadcast-active .slide-info .review-meta {
  position: relative;
  padding-left: 0;
  margin: 0 0 20px;
}

.broadcast-active .slide-info .review-meta .rev-stars strong {
  color: #fff;
  font-weight: 400;
  font-size: 16px;
  display: inline-block;
  margin-left: 10px;
}

.broadcast-active .slide-info p {
  color: #fff;
  margin: 0 0 30px;
  font-size: 24px;
  line-height: 34px;
  width: 100%;
  max-width: 65%;
}

.broadcast-active .slide-info .rev-stars {
  margin: 0 0 15px;
}

.broadcast-active .slide-info .review-info {
  position: absolute;
  right: 30px;
  top: 30px;
  color: #fff;
  text-align: right;
}

.broadcast-active .slide-info .review-info .rew-agent- {
  margin: 0 0 15px;
}

.broadcast-active .slide-info .review-info h6 {
  font-size: 20px;
  font-weight: 400;
}

.broadcast-active .slide-info .review-info h6 strong {
  font-weight: 600;
}

.broadcast-active .slide-info .review-info span.review-author,
.broadcast-active .slide-info .review-info span.daysago {
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
}

.company-sales-leadership-slider {
  position: relative;
}

.company-sales-leadership-slider .company-data-slide > .slick-arrow.slick-prev {
  position: absolute;
  width: 45px;
  height: 45px;
  background: #000;
  left: -60px;
  top: 50%;
  z-index: 999999;
  border-radius: 100%;
}

.company-sales-leadership-slider .company-data-slide > .slick-arrow.slick-next {
  position: absolute;
  width: 45px;
  height: 45px;
  background: #000;
  right: -60px;
  top: 50%;
  z-index: 999999;
  border-radius: 100%;
}

.company-sales-leadership-slider
  .company-data-slide
  > .slick-arrow.slick-prev:before {
  content: "\f053";
  font-family: FontAwesome;
  font-weight: 900;
}

.company-sales-leadership-slider
  .company-data-slide
  > .slick-arrow.slick-next:before {
  content: "\f054";
  font-family: FontAwesome;
  font-weight: 900;
}

.broadcast-active .slick-slider.company-data-slide .slick-list {
  height: auto !important;
}

.cslide .Pointing-System .ps-grid,
.cslide .card-box {
  box-shadow: none;
}
.broadcast-active #dashboard-page > .row > .col-md-7,
.broadcast-active #dashboard-page > .row > .col-md-5 {
  display: none !important;
}
.broadcast-active .cslide h2 {
  margin-bottom: 30px;
  font-size: 24px;
}

.broadcast-active .slide-info .review-info .rew-agent- img {
  width: 40px;
  height: 40px;
  display: inline-block;
}

/*****************************************/

.announcements-main form {
  border: 1px solid #ccc;
  padding: 30px;
  border-radius: 10px;
  position: relative;
}

.below-box button.btn.btn-secondary,
.announcements-main form .btn.btn-primary {
  width: auto;
  background: #e67201;
  color: #fff;
  height: 50px;
  border: 0;
  font-weight: 500;
  padding: 0 30px;
}

.below-box button.btn.btn-secondary:hover,
.announcements-main form .btn.btn-primary:hover {
  background: #000;
  border-color: #000;
  color: #fff;
}

.announcements-main .form-control {
  min-height: 50px;
  border: 1px solid #ccc;
  margin-bottom: 30px;
}

.announcements-main .react-datepicker-wrapper input[type="text"] {
  width: 100%;
}

.announcements-main .form-label {
  margin-bottom: 0.5rem;
  display: block;
  font-weight: 500;
}

.announcements-main .react-datepicker-wrapper {
  display: block;
  padding: 0;
  border: 0;
}

.below-box button.btn.btn-primary {
  height: 50px;
  width: auto;
  background: #fff;
  color: #e67201;
  font-weight: 500;
  border: 1px solid #e67201;
  padding: 0 30px;
}

.below-box button.btn.btn-primary:hover {
  background: #e67201;
  color: #fff;
}

.announcements-main .below-box .form-control {
  margin: 0;
}

.below-box .table-responsive {
  border: 1px solid #ccc;
  border-radius: 10px;
  overflow: hidden;
}

.below-box .table-responsive .table.table-striped {
  margin: 0;
  border: 0;
}

.below-box .table-responsive .table.table-striped thead tr th {
  background: #f6f4f5;
  border-color: #ccc;
}

.below-box .table-responsive .table.table-striped tbody tr td {
  box-shadow: none;
  border-color: #ccc;
}

.below-box
  .table-responsive
  .table.table-striped
  tbody
  tr
  td
  .small.text-muted.mt-1 {
  display: inline-block;
  margin: 0 10px;
}

.below-box .table-responsive .table.table-striped tbody tr:last-child td {
  border: 0;
}

.below-box .table-responsive button.btn.btn-sm.btn-danger {
  background: none;
  border: 0;
  color: #000;
  float: right;
}

.below-box .table-responsive .table.table-striped tr td:last-child,
.below-box .table-responsive .table.table-striped thead tr th:last-child {
  text-align: right;
}

.onb-slide {
  background: transparent linear-gradient(88deg, #231f20 0%, #462f28 100%) 0% 0%
    no-repeat padding-box;
  box-shadow: 0px 0px 20px #0000000d;
  border-radius: 15px;
  padding: 5px;
  position: relative;
  margin-bottom: 30px;
  height: 80px;
}

.occasion-notification-bar {
  position: relative;
  overflow: hidden;
}

.onb-date {
  width: 75px;
  height: 70px;
  border-radius: 8px;
  border: 1px solid #fff;
  color: #fff;
  text-align: center;
  color: #ef8b29;
  font-size: 12px;
  text-transform: uppercase;
  line-height: 21px;
  padding: 5px 0 0;
  float: left;
  margin-right: 30px;
}

.onb-date strong {
  color: #fff;
  display: block;
  font-size: 22px;
  font-weight: 500;
  line-height: 20px;
}

.onb-person {
  position: relative;
  padding-left: 65px;
  float: left;
}

.onb-person img {
  width: 50px;
  height: 50px;
  border-radius: 100%;
  border: 4px solid #ef8b29;
  position: absolute;
  left: 0;
}

.onb-milestone {
  display: block;
  letter-spacing: 1.2px;
  color: #ef8b29;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 500;
  margin: 0 0 5px;
}

p.onb-message,
.onb-happy {
  color: #fff;
  font-size: 22px;
  font-weight: 500;
  display: block;
  line-height: 29px;
  margin: 0;
}

.onb-general,
.onb-person {
  position: relative;
  padding: 10px 0 0px 60px;
  float: left;
}

.onb-time {
  float: left;
  padding: 20px 30px 0;
  color: #fff;
}

.onb-time p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  line-height: 28px;
  margin: 0;
}

.onb-confetti {
  position: absolute;
  right: 30px;
  top: 15px;
}

.onb-confetti img {
  width: 50px;
  height: auto;
  display: inline-block !important;
}

.onb-slide .slick-arrow.slick-prev {
  position: absolute;
  width: 30px;
  height: 30px;
  background: #fff;
  left: -22px;
  top: 48%;
  z-index: 999999;
  border-radius: 100%;
  box-shadow: 0px 0px 7px -2px #ccc;
}

.onb-slide .slick-arrow.slick-next {
  position: absolute;
  width: 30px;
  height: 30px;
  background: #fff;
  right: -22px;
  top: 48%;
  z-index: 999999;
  border-radius: 100%;
  box-shadow: 0px 0px 7px -2px #ccc;
}

.onb-slide .slick-arrow.slick-prev:before {
  content: "\f053";
  font-family: FontAwesome;
  font-weight: 900;
  color: #000;
  font-size: 16px;
}

.onb-slide .slick-arrow.slick-next:before {
  content: "\f054";
  font-family: FontAwesome;
  font-weight: 900;
  color: #000;
  font-size: 16px;
}

.onb-slide {
  margin-bottom: 30px;
}

@media (min-width: 268px) and (max-width: 767px) {
  body .onb-slide {
    height: 82px;
  }

  .onb-slide p.onb-message,
  .onb-slide .onb-happy {
    font-size: 13px;
    line-height: 22px;
  }

  .onb-date {
    margin-right: 10px;
  }

  .onb-general,
  .onb-person {
    position: relative;
    padding: 10px 0 0px 0px;
    float: left;
  }
}
