.bkh-rating-table-content {
  width: min(100%, 1240px);
  margin: 0 auto 28px;
  padding: 10px;
  overflow-x: auto;
  background: #fff;
  border: 1px solid #dce6f5;
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(20, 47, 91, 0.11);
}

.bkh-rating-table {
  min-width: 1040px;
}

.bkh-rating-table table {
  display: table !important;
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  color: #273750;
  background: #fff;
}

.bkh-rating-table tbody {
  display: table-row-group;
}

.bkh-rating-table tr {
  display: table-row;
}

.bkh-rating-table th,
.bkh-rating-table td {
  display: table-cell !important;
  position: static !important;
  right: auto !important;
  width: auto !important;
  height: 62px;
  padding: 9px 7px !important;
  vertical-align: middle;
  text-align: center;
  border: 0;
  border-bottom: 1px solid #e8eef7;
}

.bkh-rating-table th {
  height: 50px;
  color: #536176;
  background: #f6f8fc;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.bkh-rating-table th:first-child {
  border-top-left-radius: 6px;
}

.bkh-rating-table th:last-child {
  border-top-right-radius: 6px;
}

.bkh-rating-table tr:last-child td {
  border-bottom: 0;
}

.bkh-rating-table tbody tr:not(:first-child) {
  transition: background-color 150ms ease;
}

.bkh-rating-table tbody tr:not(:first-child):hover {
  background: #f8faff;
}

.bkh-rating-table th:first-child,
.bkh-rating-table td:first-child {
  width: 82px !important;
}

.bkh-rating-table th:last-child,
.bkh-rating-table td:last-child {
  width: 132px !important;
}

.bkh-rating-table .bkh-logo {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
}

.bkh-rating-table .bkh-logo small,
.bkh-rating-table .bkh-logo span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bkh-rating-table .bkh-logo img {
  width: 42px !important;
  height: 42px !important;
  object-fit: contain;
  border-radius: 6px !important;
}

.bkh-rating-table td > small {
  display: inline-flex !important;
  width: 100% !important;
  max-width: 88px;
  height: 32px !important;
  align-items: center;
  justify-content: center !important;
  padding: 0 6px !important;
  color: #26364f;
  border: 1px solid transparent;
  border-radius: 5px !important;
  font-size: 12px;
  font-weight: 600;
}

.bkh-rating-table td > small[style*="225, 201, 18"] {
  color: #695600 !important;
  background: #f8e8a1 !important;
  border-color: #efda78;
}

.bkh-rating-table td > small[style*="238, 66, 66"] {
  color: #8b2929 !important;
  background: #f5b4b0 !important;
  border-color: #ea918b;
}

.bkh-rating-table td > small[style*="81, 196"],
.bkh-rating-table td > small[style*="80, 200"],
.bkh-rating-table td > small[style*="82, 196"] {
  color: #17663a !important;
  background: #b8e8c7 !important;
  border-color: #91d9a9;
}

.bkh-rating-table .global-broker-visit-link {
  box-sizing: border-box;
  height: 36px;
  width: 112px !important;
  min-width: 112px !important;
  min-height: 36px;
  padding: 7px 10px !important;
  border-radius: 5px !important;
  box-shadow: none;
  font-size: 10px;
}

.bkh-rating-table .global-broker-visit-link:hover {
  box-shadow: 0 7px 16px rgba(11, 92, 255, 0.24);
}

.bkh-rating-table .global-broker-visit-link .icon {
  display: inline-flex !important;
}

.bkh-rating-table .global-broker-visit-link svg {
  width: 15px;
  height: 15px;
}

.bkh-rating-table #dropdown {
  display: none !important;
}

@media (max-width: 991px) {
  .bkh-rating-table-content {
    padding: 6px;
    border-radius: 6px;
  }

  .bkh-rating-table {
    min-width: 760px;
  }

  .bkh-rating-table th,
  .bkh-rating-table td {
    height: 56px;
    padding: 7px 5px !important;
  }
}
