@font-face {
    font-family: 'Arial Nova';
    src: url('../fonts/ArialNova-Light.woff2') format('woff2'),
        url('../fonts/ArialNova-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Arial Nova';
    src: url('../fonts/ArialNova.woff2') format('woff2'),
        url('../fonts/ArialNova.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Arial Nova';
    src: url('../fonts/ArialNova-Bold.woff2') format('woff2'),
        url('../fonts/ArialNova-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}



/* Header  */
header {
    padding: 1px 2px;
}

header .header-inner {
    justify-content: space-between;
    display: flex;
    align-items: stretch;
}

header .header-inner .time-left,
header .header-inner .next-game {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.time-left.btn {
    font-size: 24px;
    padding: 15px 20px;
    border: 2px solid #d4ab1e;
    border-radius: 4px;
    border-width: 1px 3px;
    box-shadow: 0 0 3px 1px #d4ab1e;
    font-weight: 500;
}

/* End Of Headers  */



.terminal-info {
    order: 1;



    width: 30%;
}

.terminal-info .name,
.date-time .date-time-inner {
    background: var(--yellow);
    color: #000000;
    font-weight: 600;
    padding: 5px;
}

.date-time {

    order: 3;
    width: 30%;
}

.terminal-info .id {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    color: #ffff00;
    padding: 5px;
    font-weight: 600;
}

.terminal-info .id span {
    font-size: 11px;
    color: #fff;
    padding: 3px 8px;
}

.terminal-info .next-game.btn {
    font-size: 24px;
    padding: 15px 5px;
    border: 2px solid #d4ab1e;
    border-radius: 4px;
    border-width: 1px 3px;
    box-shadow: 0 0 3px 1px #d4ab1e;
    box-sizing: border-box;
    color: #ffd700;
    font-weight: 500;
}

.terminal-info .next-game.btn span, .date-time .time-left.btn span {
    font-size: 38px;
    line-height: 0;
    display: flex;
    align-items: center;
    color: #fff;
    font-family: initial;
    padding-right: 24px;
    font-weight: 700;
    letter-spacing: 2px;
}
.logo {
    height: 120px;
    order: 2;
}

.logo img {
    max-width: 100%;
    width: auto;
    height: 100%;
}

/*secton*/
section {}

.flex {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}


img {
    width: 100%;
}



/*ul*/
ul.inline {
    display: flex;
    list-style-type: none;
}

.redeem-code label {
    margin: 0 0 0 5px;
    color: #000;
    font-weight: 600;
}



/*top bar*/
section.top-bar {
    background-color: var(--pink);
    padding: 0px 4px;
}


/* page-info */
.checkbox-bar.flex {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
    background: #4b0081;
    width: 75.5%;
}       
.page-info {
    flex-direction: row;
    justify-content: center;
    flex-wrap: nowrap;
    display: flex;
    align-items: stretch;
}

.page-up-down span {

    font-weight: 600;
}

.page-up-down>div>label {
    padding: 10px 0;
    margin-bottom: 2px;
    font-size: 16px;
    font-weight: 600;
    color: #000;
    width: 100%;
    display: block;
    text-align: center;
}

.page-up-down .pagedn>label {

    background: #32cd32;
}

.page-up-down .pageUp>label {

    background: #ffa500;
}

.page-info .checkbox {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px 1px;
}
.page-up-down {
    background: #fff;
    width: 10%;
    padding: 2px;
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 2px;
    border: 1px solid;
    margin-top: 1px;

}

.pageUp,
.pagedn {
    width: 50%;
}

.page-info .checkbox div {
    width: 100%;
    background-color: #651682;
    padding: 8px 5px;
    box-sizing: border-box;
    font-size: 26px;
}
.grid-box {
    width: 65%;
    display: grid;
    grid-template-columns: auto auto auto auto auto auto auto auto auto auto auto;
    grid-gap: 0;
    background-color: #dda0dd;
    padding: 0px 0 4px 8px;
    padding-bottom: 0;
    border: 1px solid #000;
}
 
.grid-box .box {
    height: 35px;
    width: 50px;
}
.box.box-input {
    position: relative;
    display: block;
    line-height: 30px;
}

.grid-box .box input {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

.grid-box .box.box-input label {
    font-weight: 600;
    color: #000;
    text-align: right;
    position: absolute;
    left: -37px;
    width: 34px;
    top: 3px;
}
.grid-box .box.box-yellow {
    background: #fedd52;
    height: 35px;
    border: 1px solid #646464;
    width: 50px;
    position: relative;
    top: 3px;
}
.point-box {
    background: #fff;
    width: 10%;
    padding: 0px 0px 0px 0px;
    position: relative;
}
.point-box .title {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    padding: 8px 5px;
    background: #e8eb9e;
    color: #000;
    position: absolute;
    top: -40px;
    width: 100%;
}

.point-box .flex {

    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 0px 0 0 4px;
    gap: 2px;
}

.point-box .pageUp,
.point-box .pagedn {
    width: 50%;
}

.point-box .label-box span {
    background: #f0f6d1;
    color: #000;
    display: block;
    text-align: right;
    border: 1px solid #000;
    font-size: 20px;
    padding: 7.2px 4px 12.5px;
    margin: 4px 0;
    font-weight: 600;
    box-shadow: 1px 1px 2px -1px;
}

.point-box label {
    background: #a550d3;
    display: block;
    padding: 8px 5px;
    text-align: center;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 4px;
    color: #000;
}

.result-bar {
    min-width: 13%;
    background: #fff;
    padding: 4px;
    position: relative;
}

.result-bar .title {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    padding: 6px;
    background: #6b8e23;
    color: #fff;
    position: absolute;
    top: -40px;
    width: calc(100% - 5px);
    box-sizing: border-box;
    border: 1px solid #fff;
}
span.box-blnk {
    background-color: #ffff80;
    width: 80px ;
    height: 31px;
    border: 1px solid #fff;
    margin: 0 1px;
}
.result-bar .time {
    padding: 8px 5px;
    background-color: #2e307a;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 2px;
    margin-top: 0px;
}

.result-inner {
    float: left;
    width: 49%;
    margin: 0 0.5%;
}

.result-inner .result {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
}

.result-inner .result span {
    padding: 5px;
    background-color: #651682;
    width: 100%;
    text-align: center;
    margin: 1px;
    height: 38px;
    line-height: 36px;
    font-weight: 600;
    width: 30px;
    font-size: 22px;
}

.result-inner .result span:nth-child(2) {
    width: 40px;
}
.cradit-info {
    padding: 7px 5px 0;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    font-weight: 600;
    color: yellow;
}
.cradit-info span {
    margin-left: 25px;
    color: lawngreen;
    font-weight: 600;
    font-size: 18px;
}

/*page 2 css*/
.box-time {
    background-color: #c0c0ff;
    width: 120px;
    height: 37px;
    margin: 0 5px;
    text-align: center;
    line-height: 38px;
    font-size: 20px;
    font-weight: 600;
    color: #000;
}
.box-abc > div {
    font-size: 24px;
    color: #000;
    font-weight: 600;
    display: flex;
    align-items: center;
    position: relative;
}

.box-abc > div::before {
       position: relative;
    content: "";
    width: 46px;
    height: 40px;
    display: block;
    text-align: center;
    line-height: 43px;
    font-size: 49px;
    color: #fff;
}
.box-abc > div::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    left: 46px;
    border: 20px solid transparent;
    border-left-color: red;
    border-right-color: transparent;
}
.box-abc > .box-b::after {
     
    border-left-color: #ff9d00;
 
}
.box-abc > .box-c::after {
     
    border-left-color: #ffe600;
 
}
.box-abc > .box-a::before {
    background: #ff0000;
    content: "A";
}
.box-abc > .box-b::before {
    background: #ff9d00;
    content: "B";
}
.box-abc > .box-c::before {
    background: #ffe600;
    content: "C";    color: #000;
}
.box-abc > div span {
    width: 120px;
    background: #fff;
    text-align: center;
    height: 42px;
    line-height: 41px;
    text-align: center;
    font-size: 50px;
}
.time-bar {
    background: #f0f6d1;
    justify-content: flex-start;
}
.series-bar {
    flex-wrap: nowrap;
    background: #4b0081;
}
.points {
    background-color: #592150;
    height:32px;
    line-height: 37px;
    padding: 0 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
}
.points .title {
    font-size: 24px;
    margin-right: 30px;
    font-weight: 600;
}
.points label {
    padding: 0 20px 0 8px;
    font-size: 22px;
}
.grid-box-point {
    width: 100%;
    display: grid;
    grid-template-columns: auto auto auto auto auto auto auto auto auto auto auto auto auto auto auto auto auto auto auto auto auto auto auto auto auto auto auto;
    grid-gap: 0;
    background-color: #f0f6d1;
    padding-bottom: 0;
    gap: 3px;
    border: 1px solid #000;
    justify-content: space-evenly;
    padding-top: 2px;
    padding-bottom: 100px;
    align-items: start;
}
.grid-box-point div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #000;
    gap: 8px;
    padding: 2px 9px;
    font-size:15px;
    font-weight: 600;
}
.series-bar span.title {
    font-size: 18px;
    margin: 0 20px;
}
.grid-box-point div  span.icon {
    width: 20px;
    height: 20px;
    background: url(../img/close.svg);
    content: "+";
    background-position: center;
    background-size: cover;
    border: 1px solid #000;
    border-radius: 100%;
    margin-bottom: 5px;
}

.btn-red {
    background: red;
}
.btn-orange {
  background: orange;
}
.btn-yellow {
    background: #ffe600;
    color: #000;
}


/*typebar*/
.type-bar .checkbox.btn {
    font-size: 16px;
}
.type-bar {
    align-items: flex-start;
    justify-content: space-between;
    background: #4b0081;
}
.type-bar .checkbox.btn {
    font-size: 14px;
    padding: 5px 3px 7px 0px;
}
.Lucky {
    margin-left: 30px;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    line-height: 33px;
}
.form-input label {
    padding-right: 5px;
    color: #ffff52;
}
.form-input {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: wrap;
}
.form-input input {
    width: 100px;
    min-width: 100px;
    font-size: 18px;
    padding: 5px 5px;
}
.form-input input#combi {
    margin-right: 20px;
    min-width: 150px;
}
.form-input .range input {
    min-width: 65px;
    width: 65px;
}

.form-input .btn {
    margin: 0px 3px;
}
/* END of PAGE 2 */

/*Bootom Bar*/
section.bottom-bar {
    background: #4b0082;
    align-items: stretch;

}

.bottom-bar .left {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 75%;
}

.bottom-bar .time-green-box {
    height: 30px;
    max-width: 220px;
    text-align: center;
    background-color: var(--green);
    line-height: 30px;
    font-weight: 600;
    border: 1px solid #ffd700;
    margin: 4px;
    width: 100%;
}

.bottom-bar .right.grand-total {
    width: 35%;
    display: flex;
    align-items: stretch;
}

.bottom-bar .right.grand-total .grand-total-inner {
    min-width: 300px;
    padding-top: 3px;
}

.bottom-bar .right.grand-total .grand-total-inner>div {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

.bottom-bar .right.grand-total span.box.total {
    width: 100px;
    background: #fff;
    color: #000;
    text-align: right;
    margin: 2px;
    padding: 3px;
}

.bottom-bar .right.grand-total label {
    width: 130px;
    text-align: right;
    line-height: 29px;
    padding-right: 5px;
    color: yellow;
    font-weight: 600;
}
.footer-logo {
    background-color: #170130;
    padding: 12px 0 5px;
    width: 200px;
}


