:root {
    --primary: #FFF3E2; 
    --secondary: #EAD196; 
    --accent: #BF3131; 
    --neutral: #7D0A0A; 
  }

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    user-select: none;
}

/* Element */
body {
    text-align: center;
    background: var(--primary);
    font-family: "REM", sans-serif;
}

/* Common Css */
.boxStyle1 {
    background: linear-gradient(to bottom right, #F79327, #DB005B);
    box-shadow: 0 0 20px 0 black;
}

.boxheading{
    color: var(--primary);
    padding: 5px 0 10px 0;
    text-shadow: 2px 2px 5px black;
}

.bt1 {
    border-top: 1px solid grey;
}

.pt10 {
    padding: 10px;
}

/* Header */

.mainheading {
    font-size: 1.25rem;
    text-shadow: 3px 3px 5px black;
    color: yellow;
    padding: 10px;
}

.kalyanResult {
    padding: 5px;
    font-weight: 700;
}

.kalyanbox {
    background: var(--primary);
    border-radius: 10px;
    box-shadow: inset 0 0 10px black;
}

.kalyaninnerbox {
    padding: 5px;
}

.info {
    margin: 10px 5px;
}

.navigation {
    background: lightgray;
    padding: 5px 10px;
    margin: 0 10px;
    border-radius: 10px;
    text-decoration: none;
    border: 2px gray solid;
    color: black;
}

/* MARKET  */

.markets {
    font-weight: 700;
    border-bottom: 1px solid #DB005B;
    padding: 2px 0 7px 0;
}

.marketname {
    color: black;
    font-size: 1.65rem;
    text-shadow: 0.5px 0.5px 2.5px #F79327;
    padding: 2px;
    font-weight: 700;
}

.result {
    font-weight: 900;
    font-size: 1.35rem;
    font-family: "Merriweather", serif;
    margin-bottom: 5px;
}

.flexbox {
    padding: 5px;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.flexbox p {
    white-space: nowrap;
    padding: 3px 5px;
}

.onDays {
    background: gray;
    color: white;
    border-radius: 3px;
    text-shadow: 1px 1px 1px black;
    box-shadow: 0px 0px 3px black;
}

.chartLink {
    margin: 7.5px 0 10px 0;
}

.chartLink a{
    text-decoration: none;
    border-radius: 3px;
    background-color: green;
    color: white;
    padding: 3px 7px 3px 7px;
    box-shadow: 0px 0px 5px black;
}

.refresh {
    border: 0;
    background: #0d6efd;
    color: white;
    font-size: 1.35rem;
    padding: 2px 5px;
    border-radius: 5px;
    box-shadow: 0px 0px 5px black;
    margin: 5px;
}

.lineOn {
    font-weight: bold;
    font-size: 1.25rem;
    padding: 3px;
    border-top: 1px grey solid;
}
/* CHART */

table {
    width: 98%;
    text-align: center;
    border-collapse: collapse;
    border: #F79327 solid 1px;
    margin: 0 1%;
}

thead {
    background: white;
}

thead th {
    border: #F79327 solid 1px;
    padding: 2px 0;
}

td {
    border-bottom: 1px solid #F79327; 
    font-size: 0.75rem;
}

td:nth-child(1){
    border-right: 1.5px solid #F79327;
}
td:nth-child(4){
    border-right: 1.5px solid #F79327;
}
td:nth-child(7){
    border-right: 1.5px solid #F79327;
}
td:nth-child(10){
    border-right: 1.5px solid #F79327;
}
td:nth-child(13){
    border-right: 1.5px solid #F79327;
}
td:nth-child(16){
    border-right: 1.5px solid #F79327;
}
td:nth-child(19) {
    border-right: 1.5px solid #F79327;
}

td:nth-child(3) {
    font-size: 1rem;
    font-weight: bold;
}
td:nth-child(6) {
    font-size: 1rem;
    font-weight: bold;
}
td:nth-child(9) {
    font-size: 1rem;
    font-weight: bold;
}
td:nth-child(12) {
    font-size: 1rem;
    font-weight: bold;
}
td:nth-child(15) {
    font-size: 1rem;
    font-weight: bold;
}
td:nth-child(18) {
    font-size: 1rem;
    font-weight: bold;
}
td:nth-child(21) {
    font-size: 1rem;
    font-weight: bold;
}

.r,
.redword,
.red {
    color: red;
}

/* footer */

.disclaimer {
    border: 4px solid #DB005B;
    padding: 10px;
}

.fixed {
    position: fixed;
    bottom: 15px;
    right: 5px;
}

.right {
    position: fixed;
    bottom: 50px;
    left: 5px;
}
