.left{
    float: left;
}
.right{
    float: right;
}
html,body{
    background-color: black !important;
}
.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden
}
@keyframes horse_run {
    0% {background-position: 20px 0;}
    7.14% {background-position: -125px 0;}
    14.28% {background-position: -280px 0;}
    21.42% {background-position: 0px -100px;}
    28.56% {background-position: -155px -100px;}
    35.7% {background-position: -310px -100px;}
    42.84% {background-position: 0px -203.5px;}
    49.98% {background-position: -155px -203.5px;}
    57.12% {background-position: -310px -203.5px;}
    64.26% {background-position: 0px -310px;}
    71.4% {background-position: -150px -310px;}
    78.54% {background-position: -295px -310px;}
    85.68% {background-position: 15px -412px;}
    92.82% {background-position: -135px -412px;}
    100% {background-position: -285px -412px;}
}
.outerHorseWrap{
    height: auto;
    overflow: hidden;
}
.innerHorseWrap{
    height: 616px;
    width: 100%;
    position: relative;
    overflow-x: hidden;
    overflow-y: hidden;
}

.registermodal{
    margin: 20px;
    border:2px solid #fdbf49;
    border-radius: 10px;
    background-color: rgba(0,0,0,0.7);
    padding: 20px;
    font-weight: bold;
    position: relative;
}
.registermodal .item{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.registermodal input{
    background-color: white !important;
    color: black !important;
    font-size: 14px !important;
    padding: 5px !important;
    box-sizing: border-box !important;
    width: 150px !important;
    margin-left:10px;
}
.loginmodal{
    margin: 20px;
    border:2px solid #b4a688;
    border-radius: 10px;
    background-color: rgba(0,0,0,0.7);
    padding: 20px;
    position: absolute;
    top:520px;
    left: 20px;
    right: 20px;
    font-weight: bold;
}
.loginmodal .item{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.loginmodal input{
    background-color: white !important;
    color: black !important;
    font-size: 14px !important;
    padding: 5px !important;
    box-sizing: border-box !important;
    width: 150px !important;
    margin-left:10px;

}
.closebtn{
    background: url(../images/close.png) center no-repeat;
    background-size: 100% 100%;
    width: 20px;
    height: 20px;

    font-size: 14px;
    line-height: 20px;
    text-align: center;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;

}
.settlebg{
    background: url(../images/settlebg.png) center no-repeat;
    background-size: 100% 100%;
    width: 130px;
    margin: 0 auto;
    font-weight: bold;
    height:70px;
    cursor: pointer;
    font-size: 14px;
    padding: 20px 10px;
    box-sizing: border-box;
}
.loginbutton{
    background: url(../images/loginbutton.png) center no-repeat;
    background-size: 100% 100%;
    width: 150px;
    margin: 0 auto;
    text-align: center;
    font-weight: bold;
    height: 40px;
    line-height: 40px;
    cursor: pointer;
    margin-top: 30px;
    font-size: 20px;
}
.loginbutton:hover{
    transform: translateY(-2px);
}
.horseimg{
    /*position: absolute;*/
    /*top:200px;*/
    /*left: 20px;*/
    /*right: 20px;*/
    width: 250px;
}
.betmodal{
    margin: 20px 0px;
    border:2px solid #b4a688;
    border-radius: 10px;
    background-color: rgba(0,0,0,0.7);
    padding: 10px 10px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    bottom:0px;
    left: 20px;
    right: 20px;
    color: #fdbf49;
}
.resultmodal{
    margin: 20px 0px;
    border:2px solid #b4a688;
    border-radius: 10px;
    background-color: rgba(0,0,0,0.7);
    padding: 10px 0px;
    font-weight: bold;
    color: #fdbf49;
}
.stablemodal{
    margin: 20px 0px;
    border:2px solid #b4a688;
    border-radius: 10px;
    background-color: rgba(0,0,0,0.7);
    padding: 10px 10px;
    position: absolute;
    top:570px;
    left: 20px;
    right: 20px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.stablemodal .income{
    background: url(../images/income.png) center no-repeat;
    background-size: 100% 100%;
    text-align: center;
    font-weight: bold;
    height: 30px;
    line-height: 30px;
    cursor: pointer;
    width: 80px;

}
.bet{
    background: url(../images/income.png) center no-repeat;
    background-size: 100% 100%;
    text-align: center;
    font-weight: bold;
    height: 30px;
    line-height: 30px;
    cursor: pointer;
    width: 80px;

}
.teaminfo{
    background: url(../images/teamtitle.png) center no-repeat;
    background-size: 100% 100%;
    text-align: center;
    font-weight: bold;
    height: 30px;
    line-height: 30px;
    cursor: pointer;
    width: 150px;
    font-size: 20px;
    margin: 0 auto;
    margin-bottom: 20px;

}
#level{
    display: flex;
    align-items: center;
}
#level img{
    width: 20px;
    height: 20px;
    margin-right: 10px;
}
.text-overflow {
    white-space: nowrap; /* 不换行 */
    overflow: hidden; /* 隐藏超出的内容 */
    text-overflow: ellipsis; /* 用省略号表示被隐藏的部分 */
}

.bet:hover{
    transform: translateY(-2px);
}
.betbutton{
    background: url(../images/bettitle2.png) center no-repeat;
    background-size: 100% 100%;
    text-align: center;
    font-weight: bold;
    height: 50px;
    line-height: 40px;
    cursor: pointer;
    width: 200px;
    margin: 0 auto;
    font-size: 20px;
    text-align: center;
}
.reultbutton{
    background: url(../images/resulttitle.png) center no-repeat;
    background-size: 100% 100%;
    text-align: center;
    font-weight: bold;
    height: 50px;
    line-height: 40px;
    cursor: pointer;
    width: 250px;
    margin: 0 auto;
    font-size: 20px;
    text-align: center;
}
.flex{
    display: flex;
    align-items: center;
}
.noimg{
    width: 45px;
    height: 45px;
}
.buymodal{
    margin: 20px;
    border-radius: 10px;
    padding: 20px;
    position: absolute;
    top:630px;
    left: 20px;
    right: 20px;
    font-weight: bold;
}
.buybutton{
    background: url(../images/loginbutton.png) center no-repeat;
    background-size: 100% 100%;
    width: 150px;
    margin: 0 auto;
    text-align: center;
    font-weight: bold;
    height: 40px;
    line-height: 40px;
    cursor: pointer;
    margin-top: 30px;
    font-size: 20px;
}
.buybutton:hover{
    transform: translateY(-2px);
}
.register:hover{
    color: #fdbf49;
}
.pay{
    background: url(../images/paytitle.png) center no-repeat;
    background-size: 100% 100%;
    width: 140px;
    font-weight: bold;
    height: 40px;
    line-height:40px;
    cursor: pointer;
    color: #fdbf49;
    padding-left: 60px;
    box-sizing: border-box;
}
.cash{
    background: url(../images/cashtitle.png) center no-repeat;
    background-size: 100% 100%;
    width: 140px;
    font-weight: bold;
    height: 40px;
    line-height:40px;
    cursor: pointer;
    color: #fdbf49;
    padding-left: 50px;
    box-sizing: border-box;
}
.pay:hover{
    transform: translateY(-2px);
}
.cash:hover{
    transform: translateY(-2px);
}
.stabletitle{
    background: url(../images/stabletitle.png) center no-repeat;
    background-size: 100% 100%;
    width: 300px;
    margin: 0 auto;
    text-align: center;
    font-weight: bold;
    height: 60px;
    line-height:60px;
    cursor: pointer;
    margin-top: 100px;
    font-size: 20px;
}
.leveltitle{
    background: url(../images/viptitle.png) center no-repeat;
    background-size: 100% 100%;
    width: 100px;
    margin: 0 auto;
    text-align: center;
    font-weight: bold;
    height: 30px;
    line-height:30px;
    cursor: pointer;
    font-size: 14px;
}
.column{
    display: flex;
    align-items: center;
    width: 100%;
    color: #fdbf49;
    margin-bottom: 10px;

}
.column img{
    width: 20px;
    height: 20px;
}
.column div:nth-child(1){
    width: 100px;
    text-align: center;
    display: flex;
    align-items: center;
}
.column div:nth-child(2){
    width: 100px;
    margin: 0 10px;
    text-align: center;

}
.column div:nth-child(3){
    flex:1;
    text-align: center;

}
.horseWrap{
    background: url(../images/horsebg3.png) repeat-x;
    background-size: auto 100%;
    height:406px;
    width: 999999999px;
    position: relative;
    transition: left linear .1s;
    background-position: 0 0;
}
.horsebutton{
    background: url(../images/button.png) center no-repeat;
    background-size: 100% 100%;
    width: 100%;
    text-align: center;
    font-weight: bold;
    height: 20px;
    line-height: 20px;
    cursor: pointer;
}
.horsebutton:hover{
    transform: translateY(-2px);
}
.horsemenu{
    background: url(../images/index1.png) center no-repeat;
    background-size: 100% 100%;
    width: 100%;
    height: 70px;
    color: #fdbf49;
    font-size: 25px;
    line-height: 70px;
    text-align: center;
    font-width: bold;
    margin-bottom: 20px;
    cursor: pointer;
}
.horsemenu:hover{
    transform: translateY(-2px);
}
.horsemenu:nth-child(2){
    background: url(../images/index2.png) center no-repeat;
    background-size: 100% 100%;
}
.horsemenu:nth-child(3){
    background: url(../images/index3.png) center no-repeat;
    background-size: 100% 100%;
}
.horsemenu:nth-child(4){
    background: url(../images/index4.png) center no-repeat;
    background-size: 100% 100%;
}
.horsefooter{
    margin: 20px;
    padding: 2px;
    border:2px solid;
    background:linear-gradient(to right, #e8ac52, #865e1f);
    position: relative;
    z-index: 999;
    position: fixed;
    bottom: 0px;
    margin:0 auto;
    width: 100%;
}
.footerheight{
    height: 90px;
}
@media screen and (max-width:1920px) {
    body {
        width: 375px !important;
        margin: 0 auto;
    }
    .horsefooter {
        width: 375px !important;
        margin: 0 auto;
    }
}
@media screen and (max-width:800px) {
    html,body {
        width: 100% !important;

    }
    .horsefooter{
        width: 100% !important;
    }
}
.horselist{
    color:white;
    margin: 10px 0px;
    /*max-height: 500px;*/
    /*overflow-y: scroll;*/
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;

}
.horselist .item{
    width: 45%;
    margin-top:10px;
    border: 1px solid white;
    border-radius: 10px;
    padding: 10px;
    text-align: center;

}
.horselist .item.active{
    border: 1px solid #f5c433;
    color:#f5c433;
}
.horselist .item img{
    width: 60px;
    height: 60px;
}
.horselist .item div {
    text-align: left;
    margin-top: 5px;
}
.submit{
    background: url(../images/loginbutton.png) center no-repeat;
    background-size: 100% 100%;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    font-weight: bold;
    height: 50px;
    line-height: 50px;
    cursor: pointer;
    margin-top: 30px;
    font-size: 20px;
}
.submit:hover{
    transform: translateY(-2px);
}
.border-box{
    width: 100%;
    background:linear-gradient(to right, #e8ac52, #865e1f);
    border-radius: 5px;
    padding: 2px;/* 边框宽度 */
    margin: 20px;
}
.border-content{
    width: 100%;
    height: 80px;
    border-radius: 5px;
    background-color: black;
    display: flex;
}
.border-content div{
    width: 25%;
    text-align: center !important;
}
.border-content img{
    width: 60px;
    height: 60px;
    margin-top: 10px;
    cursor: pointer;
}
.border-content img:hover{
    transform: translateY(-2px);
}
.horse{
    width: 150px;
    height: 99px;
    position: absolute;
    background-position: 25px 0;
    z-index: 1;
}
.horseSky{
    width:999999999px;
    height:56px;
    margin-bottom: -5px;
    background-image: url(../images/horsebg.png);
    background-repeat: repeat-x;
    background-size: auto 100%;
}
.horseSky2{
    width:999999999px;
    height:202px;
    margin-bottom: -5px;
    background-image: url(../images/horsebg4.png);
    background-repeat: repeat-x;
    background-size: auto 100%;
}
.horseLineLeft{
    position: absolute;
    width:11px;
    height:306px;
    left:40px;
    background-image: url(../images/horseLine.png);
    background-repeat: repeat-y;
}
.horseOrders{
    position: absolute;
    left:65px;
    height:306px;
    width: 35px;
    text-align: center;
}
.horseOrders .horseOrder{
    width:100%;
    position: absolute;
    width: 100%;
    border: 1px solid #ebebeb;
    border-radius: 5px;
    font-weight:bold;
}

.horseOrders .horseOrder.horseOrder_10{
    background-color: #8866f6;
    color: #000000;
}
.horseOrders .horseOrder.horseOrder_9{
    background-color: #4e92f9;
    color: #000000;
}
.horseOrders .horseOrder.horseOrder_8{
    background-color: #f87b00;
    color: #000000;
}
.horseOrders .horseOrder.horseOrder_7{
    background-color: #e800fd;
    color: #000000;
}
.horseOrders .horseOrder.horseOrder_6{
    background-color: #212020;
    color: #ffc000;
}
.horseOrders .horseOrder.horseOrder_5{
    background-color: #00d422;
    color: #ffffff;
}
.horseOrders .horseOrder.horseOrder_4{
    background-color: #fbd500;
    color: #1c1a18;
}
.horseOrders .horseOrder.horseOrder_3{
    background-color: #0006ef;
    color: #ffffff;
}
.horseOrders .horseOrder.horseOrder_2{
    background-color: #dcd9d9;
    color: #1c1a18;
}
.horseOrders .horseOrder.horseOrder_1{
    background-color: #ef0404;
    color: #ffffff;
}

.horseLineRight{
    position: absolute;
    width:11px;
    height:306px;
    left:4915px;
    top: 258px;
    background-image: url(../images/horseLine.png);
    background-repeat: repeat-y;
}
.horseQuanWrap{
    overflow: hidden;
    width: 800px;
    height: 404px;
    right: 0;
    position: absolute;
    top: 0;
}
.horseQuan{
    width:160px;
    height:98px;
    position: absolute;
    left: 14840px;
    top:0px;
    background: url(../images/quanquan.png) no-repeat;
}
.hidden{
    display: none!important;
}
.paused {
    animation-play-state: paused!important;
}
.running {
    animation-play-state: running!important;
}
.inline-block{
    display: inline-block;
}
i{
    font-style: normal;
}
.bottomSpace{
    width:100%;
    height:auto;
    line-height:102px;
    margin-top: -2px;

}

.bottomSpace .logoIssue{
    width:20%;
    position: relative;
}
.bottomSpace .rangeNums{
    width:100%;
    /*margin-top:15px;*/
    /*line-height:125px;*/
}
.bottomSpace .horseLogo{
    width: 135px;
    height: 52px;
    position: absolute;
    top: -10px;
    z-index: 1;
}
.bottomSpace .logoIssue .horseIssue{
    border: 1px solid #878c1c;
    height: 50px;
    position: absolute;
    top: 31px;
    width: 145px;
    left: 8px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    color: white;
}
.bottomSpace .logoIssue .horseIssue .horseIssueTitle{
    position: absolute;
    top: -38px;
    width: 100%;
    font-size: 12px;
    margin-left: 20px;
}
.bottomSpace .logoIssue .horseIssue .horseIssueDetail{
    position: absolute;
    top: -15px;
    width: 100%;
    margin-left: 18px;
}
.rangeNum_10,.rangeNum_9,.rangeNum_8,.rangeNum_7,.rangeNum_6,.rangeNum_5,.rangeNum_4,.rangeNum_3,.rangeNum_2,.rangeNum_1{
    min-width: 45px;
    width: 15%;
    max-width: 60px;
    height: 45px;
    line-height: 45px;
    position: relative;
    margin:0 5px;
}
.rangeNums .rangeNum{
    position: absolute;
    top: -38px;
    left: 16px;
    font-size: 18px;
    font-weight: 600;
    color: #f7f7f7;
}

.horseNum{
    background-image: url(../images/number_h.png);
    background-repeat: no-repeat;
}

.rangeNums .rangeNum_10 .rangeNum{
    left: 12px;
}
.rangeNum_10{
    color: #ffffff;
}
.rangeNum_9{
    color:#1b1a18;
}
.rangeNum_8{
    color: #ffffff;
}
.rangeNum_7{
    color: #1c1a18;
}
.rangeNum_6{
    color: #ffffff;;
}
.rangeNum_5{
    color: #f7c143;;
}
.rangeNum_4{
    color: #1b1a18;
}
.rangeNum_3{
    color: #000000;
}
.rangeNum_2{
    color: #000000;
}
.rangeNum_1{
    color: #000000;
}
.innerHorseWrap .resultDialog{
    position: absolute;
    /*padding:0 30px;*/
    width: 100%;
    /*height: 350px;*/
    z-index: 1000;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: 0.5s all ease-out;
    background-color: #131823;
    /*background-image: url(../images/resultLogo.png);*/
    /*background-position: center;*/
    /*background-repeat: no-repeat;*/
    border: 1px solid #6b7050;
    border-radius: 12px;
    display: none;
}
.issueAndDate{
    color: white;
    margin-top:12px;
}
.issueAndDate .andDate{
    font-size:12px;;
}
.resultMiddleContent{
    height: 145px;
    margin-top:25px;
}
.resultMiddleContent .yajunHorse{
    width: 30%;
    text-align: center;
    transform: scale(0.8);
        border-radius: 10%;
    border:2px solid #e7e7e7;
    height: 150px;
    padding-top: 30px;
    box-sizing: border-box;
    position: relative;


}
.resultMiddleContent .guanjunHorse{

    width: 40%;
    text-align: center;
    transform: scale(0.9);
        border-radius: 10%;
    border:2px solid #fdbf49;
    height: 150px;
    padding-top: 30px;
    box-sizing: border-box;
    position: relative;
}
.resultMiddleContent .jijunHorse{
    width: 30%;
    text-align: center;
    transform: scale(0.8);
        border-radius: 10%;
    border:2px solid #a46e35;
    height: 150px;
    padding-top: 30px;
    box-sizing: border-box;
    position: relative;

}
.guanjunHorse .horse1{
    animation: horse_run infinite 450ms forwards step-start;
    background-image: url(../images/horse_1.png);
    width: 150px;
    height: 99px;
    background-size: 512px;
    background-position: 25px 0px;
    transform: scale(0.9);
    margin-left: -20px;
}
.yajunHorse .horse2{
    animation: horse_run infinite 450ms forwards step-start;
    background-image: url(../images/horse_2.png);
    width: 130px;
    height: 99px;
    background-size: 512px;
    background-position: 25px 0px;
    transform: scale(0.8);
    margin-left: -30px;
}
.jijunHorse .horse3{
    animation: horse_run infinite 450ms forwards step-start;
    background-image: url(../images/horse_3.png);
    width: 130px;
    height: 99px;
    background-size: 512px;
    background-position: 25px 0px;
    transform: scale(0.8);
    margin-left: -30px;
}
.no{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top:-15px;
    width: 30px;
    height: 30px;
}
.yajunHorse .yajunNum{
    background-image: url(../images/number_h.png);
    vertical-align: middle;
    width: 45px;
    height: 45px;
    background-position: -6px -9px;
}
.guanjunHorse .guanjunNum{
    background-image: url(../images/number_h.png);
    vertical-align: middle;
    width: 45px;
    height: 45px;
    background-position: -6px -9px;
}
.jijunHorse .jijunNum{
    background-image: url(../images/number_h.png);
    background-repeat: no-repeat;
    vertical-align: middle;
    width: 45px;
    height: 45px;
    background-position: -6px -9px;
}
.yajunText,.guanjunText,.jijunText{
    vertical-align: middle;
}
.resultOrders  .resultOrder {
    display: inline-block;
    margin: 0 2px;
    background-repeat: no-repeat;
    background-image: url(../images/number_h.png);
    background-position: -12px -14px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
}
.resultOrders {
    text-align: center;
    color: white;
    font-size: 12px;
    margin-top: 20px;
}
i.resultNum {
    position: relative;
    top: -20px;
    display: inline-block;
}
.resultDialog .closeResultDialog {
    position: absolute;
    width: 20px;
    text-align: center;
    background: gray;
    right: 2px;
    top: 2px;
    height: 20px;
    line-height: 20px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
}
.resultDialog .closeResultDialog:hover{
    background: orange;
}
