section {position: relative;}
.subhead {height: 50px;display: flex;align-items: center;justify-content: space-between;padding: 0 20px;background: #1a191c;border-bottom: 1px solid #333;}
.logo {}
.logo img {height: 17px;}
/* home */
.head {padding: 0 26px;height: 39px;display: flex;justify-content: space-between;align-items: center;}
.head h2 {font-size: 22px;}
.head img {height: 24px;}
.head a {display: flex;align-items: center;gap: 15px;color: #fff;}
.backicon {position: absolute;left: 20px;top: 8px;}
.homeicon {position: absolute;right: 20px;top: 8px;}

/* navi */
.navi, .navi2 {white-space: nowrap;overflow-x: auto;-webkit-overflow-scrolling: touch;-ms-overflow-style: -ms-autohiding-scrollbar;margin: 10px 0 10px 10px;}
.navi::-webkit-scrollbar,.navi2::-webkit-scrollbar {display: none;}
.navi a {margin-right: 3px;display: inline-block;color: #fff;text-align: center;padding: 10px 0;width: 100px;border: solid 1px #1c594e;border-radius: 12px;background: #fff;}
.navi a span {color: #1c594e;font-size: 13px;display: block;}
.navi a em {background: #8c8c8c;border-radius: 12px;padding: 2px 0;font-size: 12px;display: inline-block;width: 33px;}
.navi .on span {color: #fff;}
.navi .on em {background: #1b4372;}
.navi .on {background-image: linear-gradient(to bottom, #319e8a, #1c594e);}
.navi img {height: 35px;}
.navi2 a {margin-right: 3px;position: relative;display: inline-block;text-align: center;padding: 10px 0;width: 120px;border: 1px solid #1c594e;border-radius: 12px;color: #1c594e;}
.navi2 a span {font-size: 13px;font-weight: bold;display: block;}
.navi2 .on {background: #319e8a;color: #fff;}
.navi2 img {width: 90px;position: absolute;bottom: 30px; left: 15px;}
.navi2 a:first-child img {width: auto;height: 35px;left: 42px;}
.navi3 {display: flex;margin: 0 10px;gap: 5px;}
.navi3 a {display: inline-block;color: #fff;text-align: center;padding: 10px 0;width: 100%;border: 1px solid #d8d8d8;border-radius: 12px;}
.navi3 a.on {background: #d0e8ff;}
.navi3 img {height: 35px;}
.navi3 span {color: #7b7b7b;font-size: 14px;display: block;margin-top: 5px;}

.moneytab {display: flex;}
.moneytab a {width: 100%;display: flex;align-items: center;justify-content: center;color: #fff;background: #222;height: 54px;}
.moneytab a span {color: #fff;font-size: 15px;display: block;text-align: center;line-height: 1.2em;}
.moneytab .on {box-sizing: border-box;border: 1px solid #333;}
.pointname {margin: 10px 0;text-align: center;color: #7c7c7c;font-size: 14px;font-weight: bold;letter-spacing: -1px;line-height: 1.2em;}

/* paging */
.sbtnwrap {margin: 30px 25px 10px;display: flex;gap: 10px;}
.sbtnwrap a {width: 100%;height: 40px;border-radius: 5px;color: #fff;line-height: 40px;text-align: center;font-size: 15px;}
.sbtnwrap .ok {background-color: #333;color: #fff;}
.sbtnwrap .all {background: #141414;border: 1px solid #666;}
.btnwrap {margin: 25px 25px 10px;display: flex;gap: 10px;}
.btnwrap a {width: 100%;height: 40px;border-radius: 10px;color: #fff;line-height: 40px;text-align: center;font-size: 18px;}
.btnwrap .all {background: #141414;border: 1px solid #666;}
.btnwrap .selec {background: #fc7220;border: 1px solid #fc7220;}
.btnwrap .up {background: #0879e0;border: 1px solid #0070d9;}
.btnwrap .canceal {background-image: linear-gradient(91deg, #cb5450 0%, #bf342f 100%);}
.btnwrap .ok {background: #222;border: 1px solid #777;}
.btnwrap .appli {background-image: linear-gradient(to bottom, #f9ad67, #fc7220);border: 1px solid #fc7220;}
.paging {display: flex;gap: 10px;margin-bottom: 100px;justify-content: center;align-items: center;}
.paging a {font-size: 12px;font-weight: bold;width: 25px;height: 25px;border-radius: 20px;box-sizing: border-box;display: flex;align-items: center;justify-content: center;}
.paging a.on {border: 1px solid #1c594e;background: #1c594e;color: #fff;}
.paging a img {height: 25px;}
/* popup */
.gamebetpopbg {position: fixed;z-index: 100;left: 0;top: 0;width: 100%;height: 100%;overflow: auto;background-color: rgb(0,0,0);background-color: rgba(0,0,0,0.8);}
.gamebetpop {padding-bottom: 10px;text-align: center;background-color: #fff;margin: 15% auto;width: 320px;position: relative;border-radius: 12px;}
.gamebetpophead {background: #5d799c;font-size: 16px;color: #fff;font-weight: bold;position: relative;padding: 10px;border-radius: 12px 12px 0 0;text-align: center;}
a.gamebetpopclose {position: absolute;right: 10px;top: 9px;}
a.gamebetpopclose img {height: 20px;}
.gamebetpopname {font-weight: bold;display: inline-block;border-bottom: 1px solid #868686;color: #454545;margin: 15px 0;font-size: 14px;padding: 0 20px 10px;}
.gamebetpopname span {color: #0056a6;}
.gamebetresult {border-radius: 6px;border: 1px solid #ddd;margin: 10px;box-shadow: 1px 0px 5px 1px #ddd;font-size: 14px;max-height: 420px;overflow-y: auto;}
.gamebetresult ul {display: flex;}
.gamebetresult ul li {width: 100%;padding: 5px;}
.gamebetresult .head {background: #8e9296;color: #fff;}
.gamebetresult .con {color: #585858;border-top: 1px solid #ddd;}
.gamebetresult .con li {border-left: 1px solid #ddd;}
.gamebetresult .con li:first-child {border-let: 0;}
.gamebetresult .head li{border-left: 1px solid #ddd;}
.gamebetresult .head li:first-child {border-left: 0;}
.gamebetresult .con img {height: 60px;}
.gamebetresult .con .bold {background: #f8f9fb;font-weight: bold;}
.coupongift ul:nth-child(odd) {background: #f7f9fb;}
.coupongift .head {font-weight: bold;color: #585858;}
.gamebetpopex {margin: 20px 10px 0;text-align: left;font-size: 14px;font-weight: bold;color: #7c7c7c;}
.gamebetpopex img {height: 18px;vertical-align: middle;}

.pointover {font-size: 14px;color: #7c7c7c;line-height: 1.2em;font-weight: bold;}
.pointinput {border-radius: 6px;border: 1px solid #ddd;background: #f9f9f9;margin: 10px;padding: 20px 0;}
.pointinput input {border: 1px solid #ccc;height: 35px;margin-top: 10px;border-radius: 6px;padding: 0 0 0 5px;}

.myinfopophead {margin-bottom: 20px;}
.myinfopophead img {height: 90px;margin-top: -40px;}
.myinfopopcon {margin: 20px 10px 10px;}
.myinfopopcon input {width: 100%;height: 50px;border: 0;border-bottom: 1px solid #bebebe;padding: 0;box-sizing: border-box;text-align: center;font-weight: bold;margin-bottom: 10px;}
.myinfopopcon input:first-child {border-bottom: 2px solid #1c594e;color: #393e41;}
.myinfopopcon input:read-only {color: #393e41;}

/* date */
.datesearchM .datewrapopen {background: #fff;color: #000; border-radius: 5px; box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.05);}
.datesearchM .datewrap {border-radius: 5px; box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.05);background: #fff; }
.datesearchM .datewrap li,
.datesearchM .datewrap li input,
.datesearchM .datewrap li select {color: #000;background: #fff;}
.datesearchM .datewrap li .search {background: #5068d4;}

.datewrapopen {background: #555;height: 40px;display: flex;justify-content: left;align-items: center;color: #fff;padding: 0 25px;font-size: 14px;}
.datewrapopen span {margin-left: 5px;}
.datewrap {overflow: hidden;padding: 18px 24px;box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);background: #141414;border-bottom: 1px solid #555;}
.datewrap ul {max-width: 500px;margin: 0 auto;}
.datewrap li:first-child {margin-top: 0; gap: 10px;}
.datewrap li {display: flex;align-items:center;margin-top: 10px;color: #fff;}
.datewrap li input, .datewrap li select {height: 35px;color: #fff;width: 100%;padding-left: 10px;border: 0;font-size: 15px;background: #141414;text-align: center;}
.datewrap li a {height: 35px;line-height: 35px;width: 100%;text-align: center;font-size: 15px;}
.datewrap li a.on {background: #949eab;}
/* .datesearchM .datewrap li a.on {background: #EEF0F5;} */
.tday {background: #904ee8;}
.weeks {background: #a64ee4;}
.hmonth {background: #bc4ee0;}
.month {background: #e84ed8;}
.tmonth {background: #e84ed8;}
.datewrap li .search {border-radius: 10px;background: #222;border: 1px solid #777;color: #fff;font-size: 16px;height: 40px;line-height: 40px;}
.datebtns a {box-sizing: border-box;border: 1px solid #777;border-width: 1px 1px 1px 0;}
/* .datebtns a:first-child {border-radius: 5px 0 0 5px;border-width: 1px;}
.datebtns a:last-child {border-radius: 0 5px 5px 0;} */
.dateperiod {border-radius: 5px;gap: 25px;}
.dateperiod input:first-child {border-radius: 5px 0 0 5px;}
.dateperiod input:last-child {border-radius: 0 5px 5px 0;}
.nobettxt {display: block;padding: 15px 25px;border-bottom: 1px solid #333;color: #fff;}

.sdatebtn {position: absolute;right: 0;top: 93px;background: none !important;color: #000 !important;}
.datewrap input[type="checkbox"] {display: none;}
.datewrap input[type="checkbox"] + label {display: inline-block;width: 15px;height: 15px;border: 1px solid #707070;border-radius: 5px;position: relative;cursor: pointer;}
.datewrap input[id="before"]:checked + label::after{content:'✔';font-size: 12px;width: 15px;height: 15px;text-align: center;position: absolute;left: 0;top: 2px;color: #fff;}
.datesearchM .datewrap input[id="before"]:checked + label::after {color: #2F4DF2;}
.datewrap .before {display: flex;align-items: center;gap: 10px;margin: 15px 0;}
.datewrap .before span {font-size: 13px;}

/* money btn */
.moneybtnwrap {display: flex;gap:5px;margin-top: 5px;}
.moneybtnwrap li {width: 100%;text-align: center;height: 35px;line-height: 35px;border-radius: 6px;font-size: 14px;}
.moneybtnwrap a {color: #fff;}
.moneybtnwrap .one {background: #904ee8;border: 1px solid #904ee8;}
.moneybtnwrap .two {background: #a64ee4;border: 1px solid #a64ee4;}
.moneybtnwrap .thr {background: #bc4ee0;border: 1px solid #bc4ee0;}
.moneybtnwrap .four {background: #e84ed8;border: 1px solid #e84ed8;}
.moneybtnwrap .fiv {background: #e84ed8;border: 1px solid #e84ed8;}
.moneybtnwrap .six {background-image: linear-gradient(to bottom, #319e8a, #1c594e);border: 1px solid #1c594e;}

/* coupon */
.coupontab {margin: 10px;display: flex;gap: 5px;font-size: 14px;}
.coupontab a {width:100%;border: 1px solid #1c594e;color: #1c594e;border-radius: 18px;text-align: center;padding: 8px 0;}
.coupontab .on {background: #319e8a;border: 1px solid #1c594e;color: #fff;}
.couponcount {margin: 20px 10px 10px;font-size: 13px;display: flex;gap :5px;justify-content: center;font-weight: bold;color: #7c7c7c;}
.couponcount li {border-left: 1px solid #c5c5c5;padding-left: 5px;}
.couponcount li:first-child {border-left: 0;padding-left: 0;}
.couponcount2 {justify-content: left;gap: 15px;font-size: 14px;padding: 0 15px;}
.couponcount2 li {padding-left: 15px;color: #b7b7b7;}
.couponcount2 li.on {color: #454545;}

.coupontab2, .couponcount2 {white-space: nowrap;overflow-x: auto;-webkit-overflow-scrolling: touch;-ms-overflow-style: -ms-autohiding-scrollbar;margin: 10px 0 10px 10px;}
.coupontab2::-webkit-scrollbar, .couponcount2::-webkit-scrollbar {display: none;}
.coupontab2 a {display: inline-block;color: #1c594e;padding: 10px;border: 1px solid #1c594e;border-radius: 18px;}

/* stributor */
.strbtn{display: flex;gap:5px;margin: 15px 10px 0;}
.strbtn li {width: 100%;padding: 10px 0;background: #141414;color: #eee;border-radius: 10px;font-size: 13px;text-align: center;border: 2px solid #333;}
.strbtn li span {font-size: 14px;color: #FECF5D;display: block;margin-top: 10px;}
.datesearchM .datewrapopen {background: #fff;color: #000;border: 1px solid #eef0f5;}
.datesearchM .datewrap {background: #fff;border-bottom: 1px solid #eef0f5;}
.datesearchM .datewrap li {color: #000;}
/* .datesearchM .datewrap li a.on {background: #EEF0F5;} */
.datewrap li input, .datewrap li select {background: #fff;color: #000;}
.datewrap li .search {background: #1e32a1;border: 1px solid #1e32a1;}

/* search */
.searchwrap {margin: 10px 25px;display: flex;}
.searchselect {width: 80px;height: 35px;border: 1px solid #333;margin-right: 10px;background: #141414;color: #fff;}
.searchinput {width: calc(100% - 35px);height: 35px;border: 1px solid #333;padding: 0 0 0 5px;box-sizing: border-box;font-size: 14px;background: #141414;color: #fff;}
.searchinput::placeholder {color: #bebebe;}
.searchicon {background: url(../assets_mobile/img/icon_sbtn.svg) no-repeat;width: 35px;height: 35px;background-size: 16px;background-position: 9px;}

.calcmoneywrap {}
.calcmoney {color: #1c594e;display: flex;gap: 10px;font-size: 13px;padding: 0 10px 10px;}
.calcmoney li {width: 100%;background: #f3f3f3;border: 1px solid #1c594e;border-radius: 10px;text-align: center;padding: 10px 0;}
.calcmoney li span {font-size: 14px;}
.calcmoneytotal {border-radius: 6px;border: 1px solid #ddd;display: flex;color: #fff;box-shadow: 2px 2px 10px #ececec;margin: 0 10px;text-align: center;font-weight: bold;}
.calcmoneytotal li {width: 100%;padding: 10px;}
.calcmoneytotal li:first-child {background: #a3b2c2;border-left: 1px solid #ddd;}
.myinfoname {font-size: 13px;color: #fff;background: #333;font-weight: bold;text-align: center;line-height: 1.2em;padding: 20px 0;}


@media (max-width: 500px) {
    .datebtns a {background: #636971; border: 0; color: #fff; border-radius: 5px;}
    .datewrap {
        padding: 15px;
        margin-top: 10px;
    }
    .dateperiod {gap: 8px;}
    .datewrap .before {justify-content: flex-end; margin: 8px 0;}
    .datewrap li .search {border-radius: 5px; height: 36px; line-height: 36px; font-size: 15px; background: #5068d4; border: 0;}
}