/* Param CSS */
/* Param CSS */

@font-face {
  src: url("../arial/ARIAL.TTF");
  font-family: "ARIAL";
  font-style: normal;
}

.container > * {
  font-family: "ARIAL", sans-serif !important;
}

.container {
  max-width: 78vw;
  background: white;
  padding: 2%;
}

/* .funnel-col h3 {
  visibility: hidden;
} */

.country-col .chart {
  height: 230px;
}

section.country-col {
  width: 70%;
}

section.funnel-col {
  width: 30%;
}

.head-row {
  width: 84%;
  text-align: end;
  height: 50px;
  font-weight: 600;
}

header {
  margin-bottom: 15px;
}

header h1 {
  font-size: 3.5vh;
  margin-bottom: 5px;
  color: #001f5f;
}

img[alt="SEA"] {
  visibility: hidden;
}

/* .funnel-col {
  border-right: 2px dotted grey;
} */

.funnel .head span {
  font-weight: 600;
  font-size: 2.1vh;
}

header h2 {
  color: white;
  font-size: 15px;
  background: #001f5f;
  width: max-content;
  padding: 5px;
  border-radius: 2px;
  box-shadow: 2px 2px 4px grey;
  text-align: center;
}

.footer_row .label {
  text-align: end;
}

th img {
  width: 40%;
}
main {
  display: flex;
  gap: 2px;
  border-bottom: 2px solid #1565c0;
  position: relative;
  margin-bottom: 8px;
}

section {
  background: white;
  /* border-radius: 8px; */
  padding: 10px;
  /* flex: 1; */
  /* box-shadow: 0 2px 8px rgba(0,0,0,0.1); */
  padding-bottom: 6%;
  width: 51%;
}

.subrow {
  font-size: 10px;
  color: grey;
}

section h3 {
  margin-bottom: 12px;
  border-bottom: 2px solid #1565c0;
  padding-bottom: 8px;
  font-size: 16px;
  color: #001f5f;
}

.funnel,
.line-chart {
  width: 100%;
  display: inline-block;
}

.rightFunnel {
  width: 100%;
}

.rightFunnel .bar.full {
  width: 11%;
  margin: 0 0.5%;
  color: black;
}

.rightFunnel .bar.mid {
  width: 9%;
  margin: 0 1.5%;
}

.rightFunnel .bar.lighter {
  width: 7%;
  margin: 0 2.5%;
}

.rightFunnel .bar.lightest {
  width: 5%;
  margin: 0 3.5%;
}

.rightFunnel .funnel-row span {
  width: 15%;
  font-size: 1.6vh;
  border-bottom: 1px solid #dfdfdf;
  height: 50px;
}

.base-note-row {
  display: flex;
  align-items: center;
}

.base-note-row span {
  width: 15%;
  font-size: 12px;
  padding: 0%;
}

.place-row span {
  width: 15%;
}

.place-row {
  display: flex;
  justify-content: space-between;
}

.place-row span {
  font-weight: 600;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.1vh;
}

.rightFunnel .base-note {
  width: 12% !important;
  font-size: 10px;
  /* display: flex
; */
  /* justify-content: space-evenly; */
  text-align: center;
}

.rightFunnel .funnel-row {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
  width: 100%;
  justify-content: space-between;
}

.data_table {
  display: none;
}

.data_table td {
  width: 15% !important;
  font-size: 12px;
}
.data_table td:nth-child(1) {
  width: 30% !important;
}

.line-chart .chart {
  height: 260px;
  border-bottom: 1px solid #1565c0;
}

.line-chart {
  vertical-align: top;
}

.line-chart .foot > span {
  margin: 0 10%;
  font-size: 10px;
  font-weight: 400;
}

.place img {
  width: 30px;
  height: 30px;
  border-radius: 60px;
  box-shadow: 2px 2px 5px -2px black;
}

.place {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 10px 0px;
  font-weight: 600;
  width: 14%;
  font-size: 2vh;
}

.line-chart .foot {
  vertical-align: bottom;
  text-align: center;
  font-size: 10px;
}

.line-chart .head span {
  margin: 0 6%;
  font-weight: 600;
  font-size: 2.1vh;
}
.line-chart .head {
  text-align: center;
}

/* Funnel column */
.funnel-row {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
  width: 100%;
}

.funnel-row span {
  width: 180px;
  font-size: 1.4vh;
  border-bottom: 1px solid #dfdfdf;
  height: 50px;
}

/* .footer_row {
    position: absolute;
    bottom: 0;
    display: flex;
    font-size: 10px;
    width: 40%;
        justify-content: end;

} */

.funnel-col .footer_row {
  position: absolute;
  bottom: 0;
  display: flex;
  font-size: 10px;
  width: 46%;
  justify-content: end;
}

.country-col .footer_row {
  position: absolute;
  bottom: 0;
  display: flex;
  font-size: 10px;
  width: 98%;
  justify-content: end;
}

.footer_row .green {
  color: #00af50;
}

.footer_row .red {
  color: #ff1717;
}

.bar {
  height: 28px;
  background: #1976d2;
  color: white;
  padding: 0 12px;
  line-height: 28px;
  flex-shrink: 0;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2vh;
}

.bar.full {
  width: 50%;
  background: #c8deff;
  color: black;
}

.bar.mid {
  background: #70a7ff;
  width: 46%;
  margin: 0 2%;
}

.bar.lighter {
  background: #156dff;
  width: 40%;
  margin: 0 4%;
}

.bar.lightest {
  background: #0046b8;
  width: 32%;
  margin: 0 8%;
}

/* .base-note {
  width: 82% !important;
  font-size: 10px;
  display: flex;
  justify-content: right;
} */
/* Country column */
.country-col table {
  width: 100%;
  border-collapse: collapse;
}

.country-col th,
.country-col td {
  text-align: center;
  padding: 10px;
  border-bottom: 1px solid #eee;
}

.country-col thead th {
  background: #1976d2;
  color: white;
  font-size: 0.8rem;
}

.country-col td img {
  width: 24px;
  height: 16px;
  object-fit: cover;
}

.bar-cell {
  position: relative;
  font-weight: 600;
  /* color: #fff; */
}

.bar-cell.mid {
  background: #1565c0;
}
.bar-cell.lighter {
  background: #1e88e5;
}
.bar-cell.lightest {
  background: #42a5f5;
}

/* Apply subtle bars behind percentage values */
.bar-cell {
  background: transparent;
}

.bar-cell.mid::before,
.bar-cell.lighter::before,
.bar-cell.lightest::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 20px;
  border-radius: 3px;
  opacity: 0.4;
  z-index: -1;
}

.bar-cell.mid::before {
  width: 92%;
  background: #1565c0;
}
.bar-cell.lighter::before {
  width: 86%;
  background: #1e88e5;
}
.bar-cell.lightest::before {
  width: 78%;
  background: #42a5f5;
}

.base-note-country {
  margin-top: 12px;
  font-size: 0.82rem;
  color: #777;
}

/* =------------------================================================================== */

.tables_container table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  margin: auto;
}

.tables_container table td:nth-child(1) {
  width: 14% !important;
}

th,
td {
  border-bottom: 1px solid #ddd;
  text-align: left;
  padding: 8px;
  font-size: 12px;
  text-align: center;
}

.green {
  color: green;
}
.red {
  color: red;
}
.gray-text {
  padding-top: 1%;
  font-size: 10px;
  color: gray;
  border-top: 2px solid #001f5f;
}

.footer .gray-text {
  border-top: none;
}

.tables_container {
  /* display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 48% 52%;
    border-bottom: 2px solid gainsboro;
    height: 90vh; */
}

.tables_container .place-row {
  border-bottom: 2px solid gainsboro;
}

.tables_container .section {
  border-right: 1px solid gainsboro;
  padding: 2% 4%;
}

.tables_container h2 > span {
  float: right;
  font-size: 14px;
}

.tables_container .section:nth-child(3) {
  border-right: none;
  padding: 4%;
}

.tables_container h2 {
  border-bottom: 2px solid gainsboro;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  color: #001f5f;
  font-size: 20px;
}

.tables_container th {
  border-bottom: 2px solid black;
}

.tables_container .footer > td {
  border-bottom: none;
}

section.consumption-col {
  width: 100%;
  padding-bottom: 0%;
}

h3 span {
  float: right;
  font-size: 14px;
}

.consumption-col .chart,
.consumption-col .line-chart {
  height: 200px;
  border-bottom: 2px solid gainsboro;
}

.footer-line .most-right {
  float: right;
  font-size: 12px;
  padding: 0.5% 0;
  color: grey;
}

.table-col td,
.table-col th {
  border: none;
}

section.table-col {
  width: 20%;
}

.table-col table {
  margin: auto;
  width: 75%;
}

.table-col table td,
.table-col table th {
  padding: 8% 0;
  text-align: center;
}

.leftTitle_line {
  float: left;
  position: absolute;
  transform: rotate(-90deg);
  font-size: 18px;
  font-weight: 600;
  border-bottom: 2px solid black;
  padding: 1%;
  left: -110px;
  top: 27%;
}

.leftTitle_line2 {
  float: left;
  position: absolute;
  transform: rotate(-90deg);
  font-size: 18px;
  font-weight: 600;
  border-bottom: 2px solid black;
  padding: 1%;
  left: -92px;
  top: 74%;
  width: 18%;
  text-align: center;
}

.table th,
.table td {
  padding: 0.8rem;
}
/* 
#pc_tbl th,
#pc_tbl td {
  padding: 10px;
} */

/* Custom CSS */

#cm_2 .place-row {
  margin-left: 19%;
}

#cm_2 .place {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 10px 0px;
  font-weight: 600;
  width: 15%;
  font-size: 2vh;
}

#cm_3 .place-row {
  margin-left: 19%;
}

#cm_3 .place {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 10px 0px;
  font-weight: 600;
  width: 15%;
  font-size: 2vh;
}

#cm_4 .place-row {
  margin-left: 19%;
}

#cm_4 .place {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 10px 0px;
  font-weight: 600;
  width: 15%;
  font-size: 2vh;
}

#cm_5 .place-row {
  margin-left: 17%;
  margin-right: 1%;
}

#cm_6 .place-row {
  margin: 0 0% 0 -3%;
  width: 101%;
}

#cm_5 .place {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 10px 0px;
  font-weight: 600;
  width: 15%;
  font-size: 2vh;
}

.charrr {
  height: 49vh !important;
  position: relative !important;
  top: -9vh !important;
  overflow: hidden !important;
}

#cm_8 .place-row {
  margin: 0 0% 0 6%;
}

#cm_7 .place-row {
  margin: 0 0 0 3%;
}

#cm_10 .place-row {
  margin: 0 0% 0 4%;
}

#cm_16 .country-col table td:nth-child(1) {
  width: 30%;
}

#cm_14 .funnel-col {
  width: 100%;
}

#cm_14 .funnel-col {
  width: 100%;
}

#cm_14,
#cm_15 {
  display: grid;
  grid-template-columns: 3fr 1fr;
  grid-template-rows: 45% 40%;
  row-gap: 10%;
  height: 80vh;
}

#cm_15 {
  display: grid;
  grid-template-columns: 4fr 1fr;
  grid-template-rows: 45% 40%;
  row-gap: 10%;
  height: 80vh;
}

#cm_14 .table-col,
#cm_15 .table-col {
  width: 100%;
}

#cm_14 .country-col,
#cm_15 .country-col {
  width: 100%;
  /* position: relative; */
}

/*  */

#fd_2 .place-row {
  margin-left: 19%;
}

#fd_2 .place {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 10px 0px;
  font-weight: 600;
  width: 15%;
  font-size: 2vh;
}

#fd_3 .place-row {
  margin-left: 19%;
}

#fd_3 .place {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 10px 0px;
  font-weight: 600;
  width: 15%;
  font-size: 2vh;
}

#fd_4 .place-row {
  margin-left: 19%;
}

#fd_4 .place {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 10px 0px;
  font-weight: 600;
  width: 15%;
  font-size: 2vh;
}

#fd_5 .place-row {
  margin-left: 17%;
  margin-right: 1%;
}

#fd_6 .place-row {
  margin: 0 0% 0 -3%;
  width: 101%;
}

#fd_5 .place {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 10px 0px;
  font-weight: 600;
  width: 15%;
  font-size: 2vh;
}

.charrr {
  height: 49vh !important;
  position: relative !important;
  top: -9vh !important;
  overflow: hidden !important;
}

#fd_8 .place-row {
  margin: 0 0% 0 6%;
}

#fd_7 .place-row {
  margin: 0 0 0 3%;
}

#fd_10 .place-row {
  margin: 0 0% 0 4%;
}

#fd_16 .country-col table td:nth-child(1) {
  width: 30%;
}

#fd_14 .funnel-col {
  width: 100%;
}

#fd_14 .funnel-col {
  width: 100%;
}

#fd_14,
#fd_15 {
  display: grid;
  grid-template-columns: 3fr 1fr;
  grid-template-rows: 45% 40%;
  row-gap: 10%;
  height: 80vh;
}

#fd_15 {
  display: grid;
  grid-template-columns: 4fr 1fr;
  grid-template-rows: 45% 40%;
  row-gap: 10%;
  height: 80vh;
}

#fd_14 .table-col,
#fd_15 .table-col {
  width: 100%;
}

#fd_14 .country-col,
#fd_15 .country-col {
  width: 100%;
  /* position: relative; */
}

/*  */

#y_2 .place-row {
  margin-left: 19%;
}

#y_2 .place {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 10px 0px;
  font-weight: 600;
  width: 15%;
  font-size: 2vh;
}

#y_3 .place-row {
  margin-left: 19%;
}

#y_3 .place {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 10px 0px;
  font-weight: 600;
  width: 15%;
  font-size: 2vh;
}

#y_4 .place-row {
  margin-left: 19%;
}

#y_4 .place {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 10px 0px;
  font-weight: 600;
  width: 15%;
  font-size: 2vh;
}

#y_5 .place-row {
  margin-left: 17%;
  margin-right: 1%;
}

#y_6 .place-row {
  margin: 0 0% 0 -3%;
  width: 101%;
}

#y_5 .place {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 10px 0px;
  font-weight: 600;
  width: 15%;
  font-size: 2vh;
}

.charrr {
  height: 49vh !important;
  position: relative !important;
  top: -9vh !important;
  overflow: hidden !important;
}

#y_8 .place-row {
  margin: 0 0% 0 6%;
}

#y_7 .place-row {
  margin: 0 0 0 3%;
}

#y_10 .place-row {
  margin: 0 0% 0 4%;
}

#y_16 .country-col table td:nth-child(1) {
  width: 30%;
}

#y_14 .funnel-col {
  width: 100%;
}

#y_14 .funnel-col {
  width: 100%;
}

#y_14,
#y_15 {
  display: grid;
  grid-template-columns: 3fr 1fr;
  grid-template-rows: 45% 40%;
  row-gap: 10%;
  height: 80vh;
}

#y_15 {
  display: grid;
  grid-template-columns: 4fr 1fr;
  grid-template-rows: 45% 40%;
  row-gap: 10%;
  height: 80vh;
}

#y_14 .table-col,
#y_15 .table-col {
  width: 100%;
}

#y_14 .country-col,
#y_15 .country-col {
  width: 100%;
  /* position: relative; */
}
