header {
  width: 100vw;
  position: fixed;
  text-align: center;
  background-color: #e2e4f7;
  padding: 10px;
  top: 0px;
  margin-bottom: 10px;
  z-index: 1;
}
header .title {
  color: #2f80cb;
  font-size: 18px;
  font-weight: bold;
}
header .subtitle {
  font-size: 9px;
  color: #000000;
}

#content {
  position: absolute;
  top: 50px;
  width: 95%;
  padding: 10px;
  overflow: hidden;
  padding-bottom: 50px;
  min-height: calc(100vh - 200px);
}

.main-filter {
  width: 100%;
  font-size: 14px;
}

#content .pass {
  font-size: 11px;
  border: 1px green solid;
  padding: 2px;
}
#content .pass b {
  color: green;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  height: 30px;
  position: fixed;
  bottom: 0;
  padding: 10px;
  background-color: #e2e4f7;
  z-index: 1;
}

footer .terms {
  font-size: 9px;
}
footer #controls {
  display: flex;
  gap: inherit;
  align-items: center;
  justify-content: space-evenly;
  flex-shrink: 0;
}
footer .add-button {
  color: #2f80cb;
}

/* util class starts */
.marginLeft20 {
  margin-left: 20px;
}

.splBtnStyle {
  margin-left: 20px;
  margin: 5px;
}
/* util class ends */

table {
  border-collapse: collapse;
  width: 100%;
}

th,
td {
  text-align: left;
  padding: 8px;
}

th {
  cursor: pointer;
}

tr:nth-child(even) {
  background-color: #f2f2f2;
}

.recentTable {
  font-size: 10px;
  padding: 0 6px;
}

.recentTable td {
  border-left: 1px solid #999;
}

.recentTable td:nth-child(1) {
  border-left: none;
  width: 80px;
}

.recentTable td:nth-child(2) {
  font-weight: bold;
}

.content {
  padding: 0 18px;
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

.collapsible:after {
  content: "\02795";
  font-size: 13px;
  color: white;
  float: right;
  margin-left: 5px;
}

.active:after {
  content: "\2796";
}

input {
  margin: 10px;
}

label {
  cursor: pointer;
}

#patResult table tr.fday td,
#speednext table tr.fday td {
  background-color: #bbe3ef;
  text-align: center;
}

#speednext form {
  z-index: 5;
}

#patResult table td,
#speednext table td {
  border: 2px solid #999;
  letter-spacing: 10px;
}
#boxNext table th {
  background-color: #eeeeee;
  font-size: 14px;
  font-weight: bold;
}

#boxNext table th,
#boxNext table td {
  padding: 2px;
  border: 1px solid #000000;
  font-size: 12px;
  line-height: 14px;
  text-align: center;
}

#patResult table tr:nth-child(even),
#speednext table tr:nth-child(even),
#boxNext table tr:nth-child(even),
#tophit table tr:nth-child(even) {
  background-color: #ffffff;
}

#patResult tr:nth-child(even),
#speednext tr:nth-child(even),
#boxNext tr:nth-child(even),
#tophit tr:nth-child(even) {
  background-color: #ffffff;
}

#speedResult table.fnTable td {
  /* font-size: 12px; */
  text-align: center;
}
#speedResult .tdIndicator {
  color: #3716fb;
  font-weight: bold;
}
#speedResult .roundTxt {
  width: 20px;
  height: 20px;
  /* border: 1px solid red; */
  /* border-radius: 50%; */
  font-weight: bold;
  color: red;
}

.more_info {
  position: relative;
}

.more_info .title {
  position: fixed;
  bottom: 50px;
  background: #eeeeee;
  padding: 10px;
  left: 30%;
  z-index: 2;
  border: 1px solid #ffcc33;
  text-align: left;
}

.highlight {
  background-color: yellow;
  font-weight: bold;
}

.highlight.dirPoint {
  background-color: #a4e294;
}

#pattern,
#speednext,
#boxNext,
#predictNext,
#speedMatch,
#tophit {
  display: none;
}

#pattern form,
#speednext form,
#boxNext form,
#predictNext form,
#speedMatch form,
#tophit form {
  padding: 10px;
  position: fixed;
  top: 60px;
  background: #ffffff;
  border: 1px solid;
  right: 20px;
}

#speedError {
  display: none;
  color: red;
  padding: 5px;
  text-align: center;
}
#speedDay1,
#speedDay2,
#speedDay2side {
  width: 30px;
  padding: 2px;
}
#speednext label {
  font-size: 12px;
}
#speednext span.dacolor {
  background-color: aqua;
}
#speednext span.dbcolor {
  background-color: #00dd00;
}
#speednext span.dcscolor {
  background-color: yellow;
}
#speednext .chance50,
.chance67 {
  font-weight: 400;
  background-color: #a5e7a5;
}
#speednext .chance83,
.chance100 {
  font-weight: bold;
  background-color: #ffcc6e;
}

#patResult tr.bgfade,
#speednext tr.bgfade {
  background-color: #eee;
  font-weight: 400;
}

#summary .pending .oldlist {
  background: #eee;
  border: 1px #ccc solid;
  padding: 10px 5px;
  margin-top: 20px;
}
#summary .pending .newlist {
  border: 1px #ccc solid;
  padding: 5px;
}

#combination button {
  padding: 5px;
  font-size: 14px;
  margin-left: 4px;
  color: blue;
}

#combination {
  margin-top: 15px;
  margin-bottom: 50px;
}

#boxWrapper {
  display: flex;
  flex-direction: column;
  flex-basis: 100%;
}

.boxRow {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
}

.boxRow h2 {
	display: inline-block;
}

.boxRow input {
  width: 20px;
  height: 20px;
  padding: 2px;
  font-weight: bold;
  text-align: center;
}

#boxWrapper .boxRow button {
  width: 28px;
  height: 28px;
  line-height: 14px;
  padding: 5px;
  font-size: 14px;
  margin-left: 4px;
  color: #2f80cb;
  text-align: center;
  font-weight: bold;
}
