body.portal-modern .metro-report {
  padding-bottom: 0.35rem;
  color: #1c2b4a;
}

body.portal-modern .metro-report .row {
  display: block;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 0.75rem;
  --bs-gutter-x: 0;
}

body.portal-modern .metro-report .row::after {
  content: "";
  display: table;
  clear: both;
}

body.portal-modern .metro-report .row > * {
  width: auto;
  max-width: none;
  padding: 0;
}


body.portal-modern .metro-report .clear {
  clear: both;
}

body.portal-modern .metro-report .portal-hero .row,
body.portal-modern .metro-report .portal-hero .twelve.columns,
body.portal-modern .metro-report .portal-hero .twelve.columns > div {
  position: relative;
  z-index: 2;
}

body.portal-modern .metro-report .portal-hero h1 {
  margin: 0;
  font-size: 1.8rem;
}

body.portal-modern .metro-report .tabs {
  margin: 0.75rem 0 1.25rem;
  overflow: visible;
}

body.portal-modern .metro-report .tabs ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0.2rem;
  list-style: none;
  background: #eef3f6;
  border: 1px solid #e6ebf0;
  border-radius: 12px;
}

body.portal-modern .metro-report .tabs li {
  display: block;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
}

body.portal-modern .metro-report .tabs li a {
  display: block;
  padding: 0.55rem 0.95rem;
  color: #4d585d;
  font-weight: 600;
  text-decoration: none;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

body.portal-modern .metro-report .tabs li a:hover {
  color: #188f9e;
  background: #fff;
  border-color: #d7e4ea;
  box-shadow: 0 1px 2px rgba(28, 43, 74, 0.06);
}

body.portal-modern .metro-report .tabs li.is-active,
body.portal-modern .metro-report .tabs li.is-active a {
  color: #188f9e !important;
  background: #fff !important;
  border-color: #c5dde3 !important;
  border-bottom-color: #c5dde3 !important;
  box-shadow: 0 1px 3px rgba(24, 143, 158, 0.16);
  border-radius:11px;
}

body.portal-modern .metro-report #spanUpgradeMessage {
  margin: 1rem auto;
  padding: 0.75rem 1rem;
  border: 1px solid #e6ebf0;
  border-left: 4px solid #e07a68;
  border-radius: 10px;
  background: #fff;
}

body.portal-modern .metro-report table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
}

body.portal-modern .metro-report th {
  color: #4d585d;
  background: var(--portal-header-bg);
}

body.portal-modern .metro-report #pdfModal.modal {
  position: fixed;
  inset: 0;
  z-index: 1060;
  display: none;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(28, 43, 74, 0.45);
}

body.portal-modern .metro-report #pdfModal .modal-content {
  position: relative;
  display: block;
  width: min(420px, calc(100% - 2rem));
  height: auto;
  margin: 8vh auto;
  padding: 1.25rem;
  background: #fff;
  border: 0;
  border-radius: 12px;
}

body.portal-modern .metro-report #pdfModal .portal-modal-header {
  margin: -1.25rem -1.25rem 0.85rem;
  border-radius: 12px 12px 0 0;
}

body.portal-modern .metro-report .fundamentals-layout {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

body.portal-modern .metro-report .fundamentals-layout > .seven.columns,
body.portal-modern .metro-report .fundamentals-layout > .five.columns {
  float: none;
  width: auto;
  min-width: 0;
}

body.portal-modern .metro-report .fundamentals-layout > .seven.columns {
  flex: 1.2 1 0;
}

body.portal-modern .metro-report .fundamentals-layout > .five.columns {
  flex: 0.9 1 320px;
}

body.portal-modern .metro-report .county-list {
  display: block;
  margin-top: 0.9rem;
  color: #3d4f5f;
  font-size: 0.82rem;
  line-height: 1.45;
}

body.portal-modern .metro-report .fundamentals-snapshot :is(h2, h3) {
  margin-bottom: 0.65rem;
}

body.portal-modern .metro-report .ownership-share {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  max-width: none;
}

body.portal-modern .metro-report .ownership-share > .\36.columns {
  float: none;
  width: auto;
  flex: 1 1 0;
  min-width: 0;
}

body.portal-modern .metro-report table[id$="gvOwnerShipSharebyCategory"] th:first-child,
body.portal-modern .metro-report table[id$="gvOwnerShipSharebyCategory"] td:first-child {
  text-align: left;
}

body.portal-modern .metro-report table.summary-stats th,
body.portal-modern .metro-report table.summary-stats td {
  text-align: center;
}

body.portal-modern .metro-report table.summary-stats th {
  white-space: nowrap;
  font-size: 0.68rem;
  letter-spacing: 0.02em;
}

body.portal-modern .metro-report .hs-legend {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0.35rem 0 0.75rem;
}

body.portal-modern .metro-report table[id$="dlMapLegend"] {
  width: auto;
  margin: 0 auto;
  background: transparent;
  border-spacing: 0.35rem;
}

body.portal-modern .metro-report table[id$="dlMapLegend"] td {
  width: auto;
  padding: 0;
  background: transparent !important;
  border: 0;
  vertical-align: stretch;
}

body.portal-modern .metro-report .legend-item {
  width: 11.5rem;
  height: auto;
  min-height: 2.75rem;
  margin: 0;
}

body.portal-modern .hs-info-actions {
  margin-top: 0.65rem;
}

body.portal-modern .hs-info-actions .btn {
  margin: 0;
}

body.portal-modern .metro-report #conChart1,
body.portal-modern .metro-report #conChart2,
body.portal-modern .metro-report #txChart1,
body.portal-modern .metro-report #txChart2,
body.portal-modern .metro-report #chartInventoryFundamentals,
body.portal-modern .metro-report #chartRentGrowth,
body.portal-modern .metro-report #chartBaseRent,
body.portal-modern .metro-report #chartMarketShareTrend,
body.portal-modern .metro-report #OwnerShipPieChart,
body.portal-modern .metro-report #OwnerCampusBarChart {
  float: none !important;
  max-width: 100%;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 1.5rem;
  overflow: visible;
}

body.portal-modern .metro-report #map {
  max-width: 100%;
  overflow: hidden;
}

@media (max-width: 900px) {
  body.portal-modern .metro-report .seven.columns,
  body.portal-modern .metro-report .five.columns,
  body.portal-modern .metro-report .\36.columns {
    width: 100%;
    float: none;
  }

  body.portal-modern .metro-report .fundamentals-layout,
  body.portal-modern .metro-report .ownership-share {
    flex-direction: column;
  }
}
