html {
  scroll-behavior: smooth;
}
body {
  background-color: #fc9;
  text-align: center;
  font-weight: 700;
  padding: 0;
  margin: 0;
  font-family: Helvetica, sans-serif;
}
* {
  box-sizing: border-box;
}
a {
  text-decoration: none;
  color: navy;
}
.m-icon {
  background: #fc9;
  padding: 0 10px;
  display: block;
  color: #fff8f8;
  margin-bottom: 5px;
  letter-spacing: 1px;
  font-weight: 700;
  border: 3px solid #ff0016;
  border-radius: .75em;
  transform-style: preserve-3d;
  transition: transform 150ms cubic-bezier(0,0,.58,1), background 150ms cubic-bezier(0,0,.58,1);
}
.m-icon img {
  margin: 5px 0;
}
.button2 {
  background-color: #a0d5ff;
  color: #220c82;
  padding: 10px 30px;
  font-size: 14px;
  margin: 10px 5px 15px 5px;
  border: 2px solid #0000005c;
  font-weight: 800;
  text-decoration: none;
  text-shadow: 1px 1px #00bcd4;
  box-shadow: 0 8px 10px 0 rgba(0,0,0,.2), 0 6px 8px 0 rgba(0,0,0,.19);
  display: inline-block;
  transition: all .3s;
  border-radius: 4px;
}
.button2:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px 0 rgba(0,0,0,.3);
}
.panel.panel-info {
  border: 1px solid #3f51b5;
  width: 70%;
  margin: 0 auto 20px;
  background-color: transparent;
  border-radius: 4px;
  overflow: hidden;
}
.panel-heading {
  background: #3f51b5;
  padding: 10px;
  text-align: center;
}
.panel-heading h1, .panel-heading h3 {
  margin: 0;
  padding: 5px;
  font-size: 22px;
  color: #fff;
  text-shadow: 0px 0px;
  font-weight: 700;
}
.panel-body {
  padding: 0;
}
table {
  width: 100%;
  text-align: center;
  border-collapse: collapse;
}
table, th, td {
  border: 1px solid #03a9f4a8;
}
thead {
  background-color: #ffc107;
  text-shadow: 1px 1px 2px #9a7400ab;
}
thead th {
  padding: 8px 5px;
  color: #000;
  font-weight: bold;
}
tbody td {
  padding: 5px 0;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #000;
}
.r {
  color: red !important;
}

/* Jodi chart cell style overrides if needed */
.jodi-chart-table tbody td {
  font-size: 23px;
  padding: 8px 0;
}

/* Panel Chart Column Borders & Alignment */
.panel-chart-table tr td:nth-child(1) {
  font-size: 13px;
}
.panel-chart-table tbody tr td:nth-child(2),
.panel-chart-table tbody tr td:nth-child(5),
.panel-chart-table tbody tr td:nth-child(8),
.panel-chart-table tbody tr td:nth-child(11),
.panel-chart-table tbody tr td:nth-child(14),
.panel-chart-table tbody tr td:nth-child(17),
.panel-chart-table tbody tr td:nth-child(20),
.panel-chart-table tbody tr td:nth-child(23) {
  border-right-width: 0px;
  font-size: 13px;
}
.panel-chart-table tbody tr td:nth-child(3),
.panel-chart-table tbody tr td:nth-child(6),
.panel-chart-table tbody tr td:nth-child(9),
.panel-chart-table tbody tr td:nth-child(12),
.panel-chart-table tbody tr td:nth-child(15),
.panel-chart-table tbody tr td:nth-child(18),
.panel-chart-table tbody tr td:nth-child(21),
.panel-chart-table tbody tr td:nth-child(24),
.panel-chart-table tbody tr td:nth-child(27) {
  border-left-width: 0px;
  border-right-width: 0px;
  font-size: 23px;
}
.panel-chart-table tbody tr td:nth-child(4),
.panel-chart-table tbody tr td:nth-child(7),
.panel-chart-table tbody tr td:nth-child(10),
.panel-chart-table tbody tr td:nth-child(13),
.panel-chart-table tbody tr td:nth-child(16),
.panel-chart-table tbody tr td:nth-child(19),
.panel-chart-table tbody tr td:nth-child(22),
.panel-chart-table tbody tr td:nth-child(25),
.panel-chart-table tbody tr td:nth-child(28) {
  border-left-width: 0px;
  font-size: 13px;
}

/* Super Kalyan Morning Yellow Background highlight */
.panel.super-market {
  border-color: #ffd500;
  box-shadow: 0 0 15px rgba(255, 213, 0, 0.4);
}
.panel.super-market .panel-heading {
  background: #ffc107;
}
.panel.super-market .panel-heading h1,
.panel.super-market .panel-heading h3 {
  color: #000;
  text-shadow: none;
}
.panel.super-market tbody td {
  background-color: #fffdf0 !important;
}

@media only screen and (max-width: 770px) {
  .panel.panel-info {
    width: 99%;
  }
  tr td:nth-child(1) {
    font-size: 9px;
  }
  .panel-chart-table tbody tr td:nth-child(3),
  .panel-chart-table tbody tr td:nth-child(6),
  .panel-chart-table tbody tr td:nth-child(9),
  .panel-chart-table tbody tr td:nth-child(12),
  .panel-chart-table tbody tr td:nth-child(15),
  .panel-chart-table tbody tr td:nth-child(18),
  .panel-chart-table tbody tr td:nth-child(21),
  .panel-chart-table tbody tr td:nth-child(24),
  .panel-chart-table tbody tr td:nth-child(27) {
    font-size: 16px;
  }
  .panel-chart-table tbody tr td:nth-child(2),
  .panel-chart-table tbody tr td:nth-child(5),
  .panel-chart-table tbody tr td:nth-child(8),
  .panel-chart-table tbody tr td:nth-child(11),
  .panel-chart-table tbody tr td:nth-child(14),
  .panel-chart-table tbody tr td:nth-child(17),
  .panel-chart-table tbody tr td:nth-child(20),
  .panel-chart-table tbody tr td:nth-child(23),
  .panel-chart-table tbody tr td:nth-child(4),
  .panel-chart-table tbody tr td:nth-child(7),
  .panel-chart-table tbody tr td:nth-child(10),
  .panel-chart-table tbody tr td:nth-child(13),
  .panel-chart-table tbody tr td:nth-child(16),
  .panel-chart-table tbody tr td:nth-child(19),
  .panel-chart-table tbody tr td:nth-child(22),
  .panel-chart-table tbody tr td:nth-child(25),
  .panel-chart-table tbody tr td:nth-child(28) {
    font-size: 11px;
  }
  thead tr th:nth-child(1) {
    width: 55px;
  }
  
  .jodi-chart-table tbody td {
    font-size: 16px;
  }
}

@media only screen and (max-width: 500px) {
  .panel-chart-table tbody tr td:nth-child(3),
  .panel-chart-table tbody tr td:nth-child(6),
  .panel-chart-table tbody tr td:nth-child(9),
  .panel-chart-table tbody tr td:nth-child(12),
  .panel-chart-table tbody tr td:nth-child(15),
  .panel-chart-table tbody tr td:nth-child(18),
  .panel-chart-table tbody tr td:nth-child(21),
  .panel-chart-table tbody tr td:nth-child(24),
  .panel-chart-table tbody tr td:nth-child(27) {
    font-size: 14px;
  }
  tr td:nth-child(1),
  .panel-chart-table tbody tr td:nth-child(2),
  .panel-chart-table tbody tr td:nth-child(5),
  .panel-chart-table tbody tr td:nth-child(8),
  .panel-chart-table tbody tr td:nth-child(11),
  .panel-chart-table tbody tr td:nth-child(14),
  .panel-chart-table tbody tr td:nth-child(17),
  .panel-chart-table tbody tr td:nth-child(20),
  .panel-chart-table tbody tr td:nth-child(23),
  .panel-chart-table tbody tr td:nth-child(4),
  .panel-chart-table tbody tr td:nth-child(7),
  .panel-chart-table tbody tr td:nth-child(10),
  .panel-chart-table tbody tr td:nth-child(13),
  .panel-chart-table tbody tr td:nth-child(16),
  .panel-chart-table tbody tr td:nth-child(19),
  .panel-chart-table tbody tr td:nth-child(22),
  .panel-chart-table tbody tr td:nth-child(25),
  .panel-chart-table tbody tr td:nth-child(28) {
    font-size: 9px;
  }
  th {
    font-size: 11px;
  }
  .jodi-chart-table tbody td {
    font-size: 13px;
  }
}
