/* Charts */
.chart-container {
  width: 100%;
  height: 400px;
}

.chart-container-half {
  width: 100%;
  height: 250px;
}
.chart-container canvas {
  width: 100%;
  height: 100%;
}

/* Tables */
.custom-table {
  width: 100%;
  border: 0.125rem solid black;
  margin: 1.25rem 0;
  border-collapse: collapse;
}
@media screen and (max-width: 992px) {
  .custom-table {
    width: max-content;
    min-width: 600px;
  }
}
.custom-table th,
.custom-table td {
  border: none;
  padding: 0.9375rem;
  vertical-align: middle;
  height: 3.75rem;
  font-family: "IBM Plex Sans Condensed", sans-serif;
}
.custom-table th {
  background-color: transparent;
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 800 !important;
}
.custom-table td {
  font-size: 1rem;
}
.custom-table td[rowspan] {
  background-color: #ffffff;
  vertical-align: middle;
  font-weight: 700;
}
.custom-table td[rowspan].normal-rowspan {
  font-weight: unset;
}
.custom-table .closing-row {
  border-bottom: 1px solid #9a9a9a;
}
.custom-table .closing-col-r {
  border-right: 1px solid #9a9a9a;
}
.custom-table .closing-col-l {
  border-left: 1px solid #9a9a9a;
}
.custom-table tbody tr:nth-child(odd) {
  background-color: #e8ece7;
}
.custom-table ul {
  list-style-type: disc;
  list-style-position: inside;
  padding-left: 1.25rem;
}
.custom-table ul li {
  text-indent: -0.9375rem;
  padding-bottom: 0.3125rem;
}
.custom-table ul li:only-child,
.custom-table ul li:last-child {
  padding-bottom: 0;
}
.custom-table ul li::marker {
  color: #53ad27;
}

.custom-table .divider {
  border-left: 1px solid #000000;
}

/* Tax Admin Tables */
.tax-admin th.table-cell {
  font-size: 0.9375rem !important;
  position: relative;
  left: -0.375rem;
}

.table-cell {
  text-orientation: upright;
  white-space: normal;
  text-align: center;
  font-size: 1.25rem !important;
  display: table-cell;
  line-height: 1.2;
}

.vertical-header {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-align: center;
  color: #ffffff;
  font-weight: bold;
  padding: 0.625rem;
  white-space: nowrap;
}

.vertical-header.specific-tax {
  background-color: #2a6fb5;
}

.vertical-header.mixed-system {
  background-color: #4e87bb;
}

.vertical-header.ad-valorem {
  background-color: #9fe4ff;
  color: black;
}

/* Smoke Free Tables */
@media screen and (max-width: 992px) {
  table.smoke-free {
    min-width: 1200px;
  }
}
table.smoke-free th {
  height: 6.875rem;
}
table.smoke-free th.table-cell {
  left: 0;
  width: 1.25rem;
}
table.smoke-free th span {
  position: absolute;
  left: 2rem;
  top: 0;
  bottom: 0;
}
table.smoke-free td {
  border-inline: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;
}
table.smoke-free td:first-child {
  border-left-width: 0;
}
table.smoke-free td:last-child {
  border-right-width: 0;
}
table.smoke-free td.dark-turquoise {
  background-color: #3cb4e5;
}
table.smoke-free td.yellow {
  background-color: #fffb02;
}
table.smoke-free td.gray {
  background-color: #9a9a9a;
}
table.smoke-free td.red {
  background-color: #e90101;
}
table.smoke-free td.medium-spring-green {
  background-color: #129e00;
}

#statusBan td.wlabel {
  font-size: 0.75rem;
  line-height: 0.9375rem;
  text-align: center;
}

.table .yellow {
  background-color: #fffb02 !important;
}
.table .mud-green {
  background-color: #c1ffbc !important;
}
.table th.red,
.table td.red,
.table th.red,
.table td.red {
  background-color: #e90101;
  color: #ffffff;
}
.table th.medium-spring-green,
.table td.medium-spring-green,
.table th.medium-spring-green,
.table td.medium-spring-green {
  background-color: #129e00;
}
.table.sales-individual td {
  vertical-align: top;
}

/* Maps */
.map-container {
  height: 500px;
  width: 100%;
  margin: 0;
  padding: 0;
  display: block;
  position: relative;
}
@media screen and (min-width: 1900px) {
  .map-container {
    height: 600px;
  }
}
.map-container svg {
  position: absolute;
  top: 0px;
  left: 0;
  transform: translateY(0);
}

.content-page .hoverinfo {
  background-color: black;
  color: white;
  padding: 0.5rem;
  border-radius: 0.3125rem;
  font-size: 0.875rem;
  border: none;
  box-shadow: unset;
  font-family: "EB Garamond", serif;
}

.hoverinfo {
  display: block;
  padding: 0.625rem !important;
}
.hoverinfo h5,
.hoverinfo p,
.hoverinfo a {
  line-height: 16px;
  text-align: left;
}
.hoverinfo h5 {
  font-size: 0.875rem;
  color: #ffffff;
  padding-bottom: 5px;
}
.hoverinfo p {
  color: hsl(210, 2%, 81%);
  font-size: 0.875rem;
}
.hoverinfo a {
  color: #d32f2f;
  font-size: 0.75rem;
  padding: 0;
}
.hoverinfo a:empty {
  display: none;
}

/* Score and Legend */
.score-oval {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 6.25rem;
}

.score-rate {
  font-size: 0.75rem;
}

.score-legend {
  margin-bottom: 1.25rem;
}
.score-legend ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: nowrap;
}
.score-legend ul.monitoring-legend li {
  flex-direction: row;
}
.score-legend ul.monitoring-legend li .score-oval {
  margin-inline: 0.4375rem;
}
.score-legend ul.monitoring-legend li .score-oval:only-child {
  margin-inline: 0;
}
.score-legend ul.monitoring-legend li .score-oval:first-child {
  margin-left: 0;
}
.score-legend ul.monitoring-legend li .score-oval:last-child {
  margin-right: 0;
}
.score-legend ul li {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-inline: 0.4375rem;
  font-family: "IBM Plex Sans Condensed", sans-serif;
}
.score-legend ul li:only-child {
  margin-inline: 0;
}
.score-legend ul li:first-child {
  margin-left: 0;
}
.score-legend ul li:last-child {
  margin-right: 0;
}

/* Timeline */
.timeline-label {
  margin-left: 10px;
  padding-left: 25px;
  padding-top: 25px;
  padding-bottom: 25px;
  border-left: 1px solid rgba(72, 94, 144, 0.16);
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  position: relative;
}
@media (min-width: 576px) {
  .timeline-label {
    margin-left: 120px;
  }
}
@media (min-width: 768px) {
  .timeline-label {
    margin-left: 150px;
  }
}
.timeline-label::before {
  content: "";
  position: absolute;
  top: 29px;
  left: -6px;
  background-color: #3b4863;
  width: 11px;
  height: 11px;
  border-radius: 100%;
}
.timeline-label:first-child {
  padding-top: 0;
}
.timeline-label:first-child::before {
  top: 4px;
}

@media (min-width: 576px) {
  .timeline-item {
    display: flex;
    align-items: flex-start;
  }
}
.timeline-item + .timeline-item {
  margin-top: 20px;
  position: relative;
}
.timeline-item + .timeline-item::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 10px;
  width: 1px;
  height: 20px;
  background-color: rgba(72, 94, 144, 0.16);
}
@media (min-width: 576px) {
  .timeline-item + .timeline-item::before {
    left: 120px;
  }
}
@media (min-width: 768px) {
  .timeline-item + .timeline-item::before {
    left: 150px;
  }
}

.timeline-time {
  flex-shrink: 0;
  font-size: 1.25rem;
  padding-left: 25px;
  margin-left: 10px;
  border-left: 1px solid rgba(72, 94, 144, 0.16);
}
@media (min-width: 576px) {
  .timeline-time {
    width: 120px;
    text-align: right;
    padding-right: 25px;
    padding-left: 0;
    margin-left: 0;
    border-left: 0;
  }
}
@media (min-width: 768px) {
  .timeline-time {
    width: 150px;
  }
}

.timeline-body {
  flex: 1;
  padding-left: 25px;
  border-left: 1px solid rgba(72, 94, 144, 0.16);
  position: relative;
  margin-left: 10px;
}
@media (min-width: 576px) {
  .timeline-body {
    margin-left: 0;
  }
}
.timeline-body::before {
  content: "";
  position: absolute;
  top: 4px;
  left: -6px;
  background-color: #fff;
  width: 11px;
  height: 11px;
  border: 2px solid #0168fa;
  border-radius: 100%;
}
.timeline-body h6 {
  line-height: 1.5;
}

/* Quick Facts */
.quick-facts {
  position: relative;
  margin-block: 1.875rem;
  background-color: #fee;
  margin-top:5.5em;
}
.quick-facts label {
  position: absolute;
  top: -1.4375rem;
  left: 35px;
  background-color: #d32f2f;
  color: #ffffff;
  padding: 0.625rem 1.25rem;
  margin-bottom: 0;
  font-size: 1rem;
}
@media screen and (min-width: 992px) {
  .quick-facts label {
    left: 90px;
  }
}
@media screen and (min-width: 1600px) {
  .quick-facts label {
    left: 116px;
  }
}
.quick-facts img {
  border-bottom-right-radius: 6.25rem;
}
@media screen and (max-width: 1199.99px) {
  .quick-facts .remarks {
    padding-bottom: 1.875rem;
  }
}
.quick-facts ._copy {
  padding: 3.125rem 1.25rem;
}
@media screen and (min-width: 992px) {
  .quick-facts ._copy {
    padding: 3.125rem 4.6875rem;
  }
}
@media screen and (min-width: 1600px) {
  .quick-facts ._copy {
    padding: 3.125rem 6.25rem;
  }
}

.content-title-wrap {
  padding-bottom: 3.75rem;
}
.content-title-wrap h1 {
  margin-bottom: 1.25rem;
}

/* Remarks */
.remarks p {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

/* Custom Notation */
.custom-notation {
  color: #d32f2f;
  font-size: smaller;
  vertical-align: super;
}

/* Center Items for Calculations */
.center-item {
  display: flex;
  height: 100%;
  position: relative;
  margin-bottom: 1.875rem;
}
.center-item p {
  font-size: 1.25rem;
  line-height: 1.2;
  padding-left: 1.875rem;
}
@media screen and (max-width: 575.99px) {
  .center-item p {
    padding-left: 1.875rem;
    font-size: 1.125rem;
  }
}
.center-item span {
  font-weight: 600;
  display: block;
}
.center-item._equal {
  font-family: "Mona Sans", sans-serif;
}
.center-item._equal::before {
  content: "=";
  position: absolute;
  top: 3.125rem;
  left: -1.25rem;
  font-size: 1.25rem;
  color: #2069a4;
}
@media screen and (max-width: 991.99px) {
  .center-item._equal::before {
    left: 0.125rem;
  }
}
.center-item._or {
  font-family: "Mona Sans", sans-serif;
}
.center-item._or::before {
  content: "or";
  position: absolute;
  top: 3.125rem;
  left: -1.25rem;
  font-size: 1rem;
  color: #2069a4;
}
@media screen and (max-width: 991.99px) {
  .center-item._or::before {
    left: 0.125rem;
  }
}

/* Good and Bad Reviews */
.good-review hr,
.bad-review hr {
  margin-block: 1.875rem;
}

/* Title Inline */
.title-inline {
  margin-bottom: 3.125rem;
  display: flex;
  align-items: center;
}
.title-inline h1 {
  margin-bottom: 0;
}
@media screen and (max-width: 575.99px) {
  .title-inline {
    flex-direction: column;
    align-items: flex-start;
  }
}
.title-inline .flag-img {
  margin-right: 1.25rem;
}
@media screen and (max-width: 575.99px) {
  .title-inline .flag-img {
    margin-right: 0;
  }
}

/* Placeholder Wrap */
.placeholder-wrap {
  display: inline-block;
  background-color: #e9ecf3;
  padding: 0.9375rem;
  margin-bottom: 1.875rem;
  border-radius: 0.625rem;
}

/* Annotation Limit */
.anotation-limit {
  max-height: 500px;
}

/* Image Wrap */
.img-wrap {
  margin-top: 1.875rem;
}

/* Map Gallery Thumbnail */
.map-gallery-thumbnail-container {
  display: flex;
  justify-content: flex-end;
  margin-top: 2rem;
  max-width: 1080px;
}

.map-gallery-thumbnail-container .map-gallery-thumbnail {
  display: block;
  position: relative;
  width: 200px;
  height: 200px;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border: 3px solid white;
  transform: translateY(30px) rotate(5deg);
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}

.map-gallery-thumbnail-container .map-gallery-thumbnail:hover {
  transform: scale(1.03) translateY(-10px) rotate(0deg);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.map-gallery-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.map-gallery-thumbnail p {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 2px;
  margin: 0;
  text-align: center;
  font-size: 0.8rem;
}