body,html {margin: 0;padding: 0;overflow: hidden;width: 830px;height: 623px;font-size: 13px;}
div {box-sizing: border-box;position: relative;}
#wrapper {
    width: 100%;
    height: 100%;
}
.gmContent {
    /* display: flex; */
    position: relative;
    width: 830px;
    height: 640px;
    background: url(../assets/img/horse/bg.jpg) no-repeat top;
    /* flex-wrap: wrap; */
}
.header_content {display: block;width: 100%;height: 104px;}
.switch_container{float: right;width: 30%;height: 100%;}
.info_container {position: absolute;top: 107px;width: 100%;height: 30px;z-index: 2;}
.info_container .intv {text-align: center;width: 100%;bottom: -5px;margin: 0 auto;color: #fff;font-size: 13px;text-shadow: 0 0 4px black;}
.game_container{width:100%;height: auto;margin:0;overflow: hidden;}
.fence {width: 100%;height: 40px;margin-top: 10px;display: block;}
.fence.top {background: url('../assets/img/horse/fence_top.jpg') no-repeat}
.fence.bottom {margin-top: -5px;height: 45px;margin-bottom: 0px;z-index: 1;background: url('../assets/img/horse/fence_bottom.png') no-repeat}
.game {display: flex;text-align: center;margin: 0 auto;align-items: center;justify-content: center;}
.game .stadium {width: 100%;height: auto;background: url(../assets/img/horse/track.jpg);}
.track {width: 100%;height: 50px;/* background: url(../assets/img/horse/track.jpg); */}
.titleBox {
    width: 400px;
    height: 139px;
    z-index: 1;
    background-image:url(../assets/img/horse/logo.png);
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
}

.horsetrack {
    display: flex;
    width: 100%;
    height: 50px;
    padding: 0;
    line-height: 50px;
    align-items: center;
    z-index: 1;
}
.startline {
    position: absolute;
    left: 0;
    width: 90px;
    height: 50px;
    text-align: left;
    border-right: solid 7px #ebdfdf;
    border-bottom: solid 2px #ebdfdf;
}
.line_number {
    font-family: cursive;
    font-size: 40px;
    font-weight: bold;
    color: #ebdfdf;
    float: right;
}
.horse_name {position: absolute;top: -12px;left: 100px;color: #ebdfdf;}
.finishline {
    display: block;
    position: absolute;
    right: 0;
    width: 80px;
    height: 50px;
    text-align: left;
    border-left: solid 3px #ebdfdf;
}

.horse {margin-top: -22px;width:71px;height:45px;background-position:right center;background-repeat: no-repeat;z-index: 1;}
#horse0 {background-image: url('../assets/img/horse/horse_1.png');}
#horse1 {background-image: url('../assets/img/horse/horse_2.png');}
#horse2 {background-image: url('../assets/img/horse/horse_3.png');}
#horse3 {background-image: url('../assets/img/horse/horse_4.png');}
#horse4 {background-image: url('../assets/img/horse/horse_5.png');}
#horse5 {background-image: url('../assets/img/horse/horse_6.png');}

.horse.tracker{width:71;height:45px;overflow:hidden;background-position:left center;background-repeat: no-repeat;}
#horse0.horse.tracker{background-image: url('../assets/img/horse/horserun_1.gif');}
#horse1.horse.tracker{background-image: url('../assets/img/horse/horserun_2.gif');}
#horse2.horse.tracker{background-image: url('../assets/img/horse/horserun_3.gif');}
#horse3.horse.tracker{background-image: url('../assets/img/horse/horserun_4.gif');}
#horse4.horse.tracker{background-image: url('../assets/img/horse/horserun_5.gif');}
#horse5.horse.tracker{background-image: url('../assets/img/horse/horserun_6.gif');}


.horse .tooltip {}
.horse .tooltip{
    display: none;
    position:absolute;
    left: -7px;
    top: -7px;
    width: 40px;
    height: 15px;
    line-height: 15px;
    background:#523929;
    padding: 0px;
    border-radius:5px;
    color: #fff;
    font-size: 10px;
    text-align: center;
    z-index: 1;
  }
.horse .tooltip:after{
    display: block;
    content: '';
    position: absolute;
    bottom: -12px;
    left: 7px;
    width: 0px;
    height: 0px;
    border-top: 6px solid #523929;
    border-left: 0px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid transparent;
  } 

.bar {
    position:absolute;
    left: 90px;
    width:0;
    height:15px;
    background:rgb(0,90,254);;
    background:linear-gradient(90deg, rgba(0,90,254,0.1) 0%, rgba(0,90,254,0.9) 100%);
}
.bar div {width:100%;height:15px;text-align:center;line-height:13px;}
.bar div span {color:#fff;font-size:10px;}
.bar div.fast {background:url('../assets/img/horse/fast.png') repeat-x;background-size: 13px 13px}
.track:nth-child(even) .bar {
    background:rgb(254,16,16);
    background:linear-gradient(90deg, rgba(254,16,16,0.1) 0%, rgba(254,16,16,0.9) 100%);
}


.history_container {width: calc(100% - 0px);height: auto;text-align: center;/* padding: 5px; */margin-top: -15px;/* background-color: #8f6245; */overflow: hidden;z-index: 2;}
.history {display: flex;}
.history ul {margin: 0;padding: 0;width: 80px;height: 126px;overflow: hidden;}
.history ul li {width: 100%;list-style-type: none;line-height: 20px;margin: 0;padding: 0;font-size: 11px;color: #fff;}
.history_head {background: #9b6f46;}
.history_head li {border-bottom: solid 1px #a3a947;}
.history_box {
    width: calc(100% - 80px);
    text-align: center;
    height: 140px;
    overflow: hidden;
    overflow-x: scroll;
    align-items: center;
}

.history_box_in {width: max-content;height: auto;}
.history_box_in .history_body {
    float: left;
    display: flex;
    width: 80px !important;
    background: #654836;
    border-right: solid 1px #937654;
    flex-direction: column;
}
.history_box_in .history_body li {
    border-bottom: solid 1px #937654;
}
.history_box_in .history_body li:first-child {
    background: #012a55;
}

.nicescroll-cursors {border: 1px solid #4c1804 !important;}
.result {width: 300px;height: 50px;line-height: 50px;color: #fff;font-size: 14px;text-align: center;border-radius: 10px;margin: 39px auto 0;background: #523929;box-shadow: inset 0 0 10px #212121;}
.info {width: 400px;height: 200px;position: absolute;z-index: 1;margin-top: -20px;background:url(../assets/img/horse/info_bg.jpg);border-radius: 20px;box-shadow: 0 0 11px 2px #212121;}
.info .timer {width: 300px;height: 50px;line-height: 50px;color: white;font-size: 14px;border-radius: 10px;margin-top: 20px;margin-left: 50px;background: #523929;overflow: hidden;}
.info .timer .gauge {position: relative;width: 100%;height: 50px;line-height: 50px;border-radius: 11px;background: #b51e1e url("../assets/img/horse/bg_time_gauge.png");background-size: auto 100%;}
.info .timer .text {position: relative;width: 100%;height: 100%;top: -50px;color: #fff;text-align: center;display: block;z-index: 1;}

.gmImg {
    display: block;
    position: absolute;
    background-image: url(../assets/img/horse/img.png);
    cursor: pointer;
}

.topbtnBox {
    /* display: flex; */
    /* position: absolute; */
    /* top: 0; */
    /* right: 0; */
    /* width: 100%; */
    /* height: 100%; */
    /* overflow: hidden; */
}

.topbtnBox button {
    top: 40px;
    width: 45px;
    height: 45px;
    background-color: transparent;
    border: none
}

.topbtnBox .btn_ranking {
    left: 40px;
    background-position: 0 -67px
}

.topbtnBox .btn_mypick {
    left: 95px;
    background-position: -45px -67px
}

.topbtnBox .btn_help {
    right: 130px;
    background-position: -90px -67px
}

.topbtnBox .btn_scrap {
    right: 80px;
    background-position: -135px -67px
}

.topbtnBox .btn_sound {
    right: 30px;
    background-position: -180px -67px
}

.topbtnBox .btn_sound.off {
    background-position: -225px -67px
}

.popupbg {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0,0,0,.5);
    overflow: hidden;
    z-index: 5;
}

.popuplayer {
    position: absolute;
    top: 0;
    right: 15px;
    width: 800px;
    z-index: 1500;
    background-color: #181511;
    box-sizing: border-box;
    padding-bottom: 10px
}

.popuplayer h2 {
    display: flex;
    align-items: center;
    justify-content: left;
    position: relative;
    background-position: 0 -125px;
    background-color: #392e25;
    color: #fff;
    padding: 0 30px;
    height: 75px;
    font-weight: 700;
    letter-spacing: -1px
}

.popuplayer h3 {
    display: flex;
    align-items: center;
    justify-content: left;
    position: relative;
    height: 30px;
    background-position: 0 -141px;
    margin: 10px 0;
    padding: 0 20px;
    color: #4ab1c4;
    font-weight: 700;
    letter-spacing: -1px
}

.popuplayer ul.thlep {
    padding: 0 30px;
    margin: 0
}

.popuplayer .rankingScroll {
    display: none;
    height: 228px;
    margin: 25px 30px 10px;
    overflow: hidden;
    overflow-y: scroll
}

.popuplayer .mypickScroll {
    display: none;
    height: 228px;
    margin: 25px 30px 10px;
    overflow: hidden;
    overflow-y: scroll
}

.popuplayer .lodingBox {
    height: 228px;
    margin: 25px 30px 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center
}

.popuplayer ul.thlep li {
    line-height: 20px;
    color: #839299;
    font-size: 12px;
    letter-spacing: -1px
}

.popuplayer ul.mrank,.popuplayer ul.trank {
    padding-right: 15px
}

.popuplayer ul.mrank li,.popuplayer ul.trank li {
    display: flex;
    height: 40px;
    margin-bottom: 7px;
    border-radius: 5px;
    background-color: #131313;
    align-items: center;
    justify-content: left
}

.popuplayer ul.mrank li .col,.popuplayer ul.trank li .col {
    display: flex;
    height: 20px;
    align-items: center;
    justify-content: center;
    border-left: 1px solid rgba(255,255,255,.1);
    font-size: 12px;
    color: #fff;
    font-weight: 700;
    letter-spacing: -1px
}

.popuplayer ul.mrank li .col:first-child,.popuplayer ul.trank li .col:first-child {
    border: none
}

.popuplayer ul.trank li .rankNum {
    width: 55px
}

.popuplayer ul.trank li .rankNum .rankicon {
    position: relative;
    width: 23px;
    height: 22px
}

.popuplayer ul.trank li .rankNum .rankicon.r1 {
    background-position: -270px -67px
}

.popuplayer ul.trank li .rankNum .rankicon.r2 {
    background-position: -293px -67px
}

.popuplayer ul.trank li .rankNum .rankicon.r3 {
    background-position: -316px -67px
}

.popuplayer ul.trank li .nickBox {
    justify-content: left;
    width: 152px;
    padding: 0 12px
}

.popuplayer ul.trank li .nickBox .nick {
    margin-left: 3px
}

.popuplayer ul.trank li .pickRow {
    width: 69px
}

.popuplayer ul.trank li .pickRate {
    width: 130px;
    letter-spacing: 0
}

.popuplayer .mypickStats .rate .red,.popuplayer ul.mrank li .red,.popuplayer ul.trank li .red {
    color: #fe5e3a
}

.popuplayer .mypickStats .rate .blue,.popuplayer ul.mrank li .blue,.popuplayer ul.trank li .blue {
    color: #4695d7
}

.popuplayer ul.mrank li .gray {
    color: #7d7b7c
}

.popuplayer ul.trank li .todayMsg {
    justify-content: left;
    flex: 1;
    padding: 0 12px
}

.popuplayer ul.trank li .roomChat {
    width: 60px
}

.popuplayer ul.mrank li .round {
    width: 150px;
    letter-spacing: 0
}

.popuplayer ul.mrank li .mypick,.popuplayer ul.mrank li .category {
    width: 140px;
    letter-spacing: 0
}

.popuplayer ul.mrank li .result {
    flex: 1;
    color: #
}

.popuplayer .mypickStats {
    display: none;
    height: 50px;
    border-top: 1px solid #0a2833;
    border-bottom: 1px solid #0a2833;
    background-color: #114153;
    align-items: center;
    justify-content: center
}

.popuplayer .mypickStats .nickBox {
    margin-right: 20px;
    color: rgba(255,255,255,.5)
}

.popuplayer .mypickStats .nickBox .nick {
    color: #fff;
    font-weight: 700
}

.popuplayer .mypickStats .rate {
    color: #fff;
    margin-right: 20px
}

.popuplayer .default {
    line-height: 20px;
    color: #c5c5c5;
    font-size: 12px;
    letter-spacing: -1px;
    padding: 15px 30px 0
}

.popuplayer .default.btm {
    padding: 0 30px 15px
}

.popuplayer .codebox {
    display: flex;
    border-radius: 5px;
    padding: 10px;
    align-items: center;
    justify-content: center;
    background-color: #110803;
    margin: 10px 30px
}

.popuplayer .codebox p {
    flex: 1;
    word-break: break-all;
    color: #af967d;
    font-family: Tahoma,Helvetica,sans-serif;
    font-size: 12px;
    letter-spacing: 0;
    padding: 10px 20px 10px 10px;
    margin-right: auto;
    text-align: left;
    margin-top: 15px
}

.popuplayer .codebox button {
    width: 145px;
    height: 45px;
    border-radius: 5px;
    background-color: #352a22;
    color: #fff;
    font-weight: 700;
    border: none;
}

.popuplayer button.layer_close {
    z-index: 1;
    top: 22px;
    right: 22px;
    width: 31px;
    height: 31px;
    background-color: transparent;
    border: none;
    background-position: -175px -28px
}

.popuplayer button.arrow_close {
    position: relative;
    width: 14px;
    height: 7px;
    background-position: -206px -28px;
    margin: 0 auto
}