html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
html {
    overflow-y: hidden;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
/* 清除浮动 */
.clearfix:after{content:".";display:block;height:0;clear:both;visibility:hidden}
.clearfix{*+height:1%;}
.f-l {
   float: left;
}
.f-r {
    float: right;
}
* {
    font-family: '微软雅黑', sans-serif, arial;
}
html {
    height: 100%;
    font-size: 62.5%;
    color: #222;
}
::selection {
    background-color: #b3d4fc;
    text-shadow: none;
}
body {
    height: 100%;
    /*background: #FFF7E3;*/
    background: url("../image/yunwen.jpg") repeat;
    /*background: #fff;*/
    font-size: 1.5rem;
}

.top-head {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 60px;
    z-index: 2;
    background: url("../image/top_border.png") repeat-x;
}

.main {
    width: 62%;
    /*height: 100%;*/
    margin: 4rem auto 0 auto;
}
aside {
    position: absolute;
    top: 0;
    width: 15%;
    height: 100%;
    z-index: 1;
    text-align: center;
    /*background: #fff;*/
    /*border: 1px solid red;*/
}
.aside-main {
    display: none;
    width: 100%;
    height: 100%;
    background: #fff;
    padding-top: 4rem;
    box-shadow: 0 4px 8px #aaa;
}
aside.aside-left {
    left: 0;
}
aside.aside-right {
    right: 0;
}
aside .switch {
    margin-top: 1.2rem;
    transform: rotateY(360deg);
    transition: all 2s ease-in-out;
    cursor: pointer;
    /*-moz-animation: rotation 3s linear infinite;*/
    /*-webkit-animation: rotation 3s linear infinite;*/
    -webkit-animation:play 5s linear infinite;
    /*-o-animation: rotation 3s linear infinite;*/
}
@-webkit-keyframes play{
    0%  {
        -webkit-transform:rotateY(0deg);
    }
    100% {
        /* 水平翻转 */
        -webkit-transform:rotateY(360deg);
    }
}
.award-main {
    margin-top: 1.5rem;
}
#award-01,#award-02,#award-03 {
    display: none;
}
.award-con {
    margin-top: 0.5rem;
    /*padding: 2%;*/
}

.award-con .award-title {
    width: 80%;
    margin: 0 auto;
    padding-bottom: 1rem;
    color: #FD361F;
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    font-family: 'STKaiti', 'KaiTi ';
    border-bottom: 2px solid #FD361F;
}
#liwu-con .award-title {
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
}
.award-con .win {
    margin-top: 0.6rem;
}
.award-con .win .win-li {
    /*padding: 0 5% 0 20%;
    margin: 0.5rem auto 0 auto;*/
}
#liwu-con .win .win-li {
    margin: 0.2rem auto 0 auto;
}
.award-con .win .delete {
    display: none;
    padding: 0.2rem;
    margin:1rem 0 0 2rem;
    font-size: 1.5rem;
    color: #FD361F;
    text-decoration: none;
    border-radius: 5rem;
    border: 1px solid #FD361F;
}
.award-con .win .name {
    line-height: 4rem;
    /*margin-left: 2rem;*/
    color: #2980B9;
    font-size: 2rem;
    font-family: 'STKaiti', 'KaiTi ';
}
#liwu-con .win .name {
	padding-left: 5px;
    font-size: 1.5rem;
}
.award-con .win .avatar img {
    width: 4rem;
    height: 4rem;
    border-radius: 100%;
}
#award-04 {
    display: none;
}

#award-04 .win .name {
    line-height: 3rem;
    font-size: 1.8rem;
}
#award-04 .win .avatar img {
    width: 3rem;
    height: 3rem;
}
#award-04 .win .win-li {
    margin: 0 auto 0 auto;
}

#award04-toggle {
    display: none;
    width: 50%;
    margin: 1rem auto 1rem auto;
    padding: 0.5rem 1rem;
    text-align: center;
    text-decoration: none;
    color: #2980B9;
    font-size: 2rem;
    font-family: 'STKaiti', 'KaiTi ';
    border-radius: 2px;
    border: 1px solid #2980B9;
}

@keyframes rotateFront{
    0%{
        transform: rotateY(0deg);
    }
    100%{
        transform: rotateY(-360deg);
    }
}
@keyframes rotateBack{
    0%{
        transform: rotateY(180deg);
    }
    100%{
        transform: rotateY(-180deg);
    }
}

.lotterty-infogo {
	display: block;
    margin: 3rem auto 0 auto;
    text-align: center
}
.lotterty-infogo h3 {
    display: inline-block;
    color: #FD361F;
    font-size: 3rem;
    font-weight: bold;
    font-family: 'STKaiti', 'KaiTi ';
}
.lotterty-infogo .line {
    margin: 2rem auto 1rem auto;
    width: 20%;
    height: 2px;
    background: #FD361F;
}
.lottery-main {
    position: relative;
    margin: 0 auto;
    /*padding-bottom: 5rem;*/
    /*padding: 20px 0;*/
    /*height: 100%;*/
    width: 100%;
    /*overflow: hidden;*/
    /*background: #fff;*/
    /*border: 1px solid #ddd;*/
    /*border-radius: 5px;*/
    /*box-shadow: 0 2px 2px rgba(0,0,0,.1)*/
}
.wrap-border-main {
    position: absolute;
    width: 100%;
    /*height: 75%;*/
    z-index: -5;
}
.wrap-border {
    position: absolute;
    width: 21.5rem;
    height: 21.5rem;
    /*top: 0;*/
    /*left: 0;*/
    /*width: 100%;*/
    /*height: 100%;*/
    /*background: url("../img/main-wrap-border.png") no-repeat 0 0;*/
    background-size: contain;
}
.wrap-border-top {
    top: 0.2%;
    left: 9%;
    bottom: 0;
    height: 97.4%;
    width: 81%;
    margin: 0 auto;
    border-top: 4px solid #CB141D;
    border-bottom: 4px solid #CB141D;
}
.wrap-border-left {
    left: 0;
    right: 0;
    bottom: 7%;
    height: 80%;
    width: 98.7%;
    border-left: 4px solid #CB141D;
}
.wrap-border-right {
    top: 10%;
    right: 0;
    height: 80%;
    width: 4.3px;
    background: #CB141D;
}
.wrap-border-1 {
    top: 0;
    left: 0;
}
.wrap-border-2 {
    top: 0;
    right: 0;
}
.wrap-border-3 {
    bottom: 0;
    left: 0;
}
.wrap-border-4 {
    bottom: 0;
    right: 0;
}
.wrap-main .stop-time {
    display: none;
    position: absolute;
    top: 40%;
    height: 11rem;
    font-size: 11rem;
    font-family: 'STKaiti', 'KaiTi ';
    color: #CB141D;
}
.wrap-main #stop_left {
    padding-left: 2%;
}
.wrap-main #stop_right {
    right: -1%;
    padding-right: 2%;
}
.lottery-arrow {
    position: absolute;
    right: 0;
    top: 50%;
}
.wrap-main {
    position: relative;
    top: 2%;
    /*height: 640px*/
    /*height: 71%;*/
    overflow: hidden;
    /*border: 3px solid #CB141D;*/
}
#lottery-wrap {
    position: absolute;
    top: 20px;
    width: 100%;
}

#lottery-wrap .sure-active {
    border-top: 5px solid #CB141D;
    border-bottom: 5px solid #CB141D;
    -webkit-transition: all 1s;
    -moz-transition: all 1s;
    -ms-transition: all 1s;
    -o-transition: all 1s;
    transition: all 1s;
    padding: 15px 0;
}

.lottery-list {
    position: relative;
    margin: 0 auto 2rem auto;
    width: 100%;
}
.lottery-avatar {
    height: 90px;
    width: 90px;
    line-height: 90px;
    text-align: center;
    /*margin-left: 8rem;
    margin-top: 1.5rem;*/
    -webkit-border-radius: 90px;
    -moz-border-radius: 90px;
    border-radius: 90px;
    overflow: hidden;
    margin: 0 auto;
}
.lottery-avatar.turqoise {
    -webkit-box-shadow: 0 0 0 4px white, inset 0 0 0 1px rgba(254,54,31,0.2), 0 0 0 8px rgba(254,54,31,0.9);
    -moz-box-shadow: 0 0 0 4px white,inset 0 0 0 1px rgba(254,54,31,0.2),0 0 0 8px rgba(254,54,31,0.9);
    box-shadow: 0 0 0 4px white, inset 0 0 0 1px rgba(254,54,31,0.2), 0 0 0 8px rgba(254,54,31,0.9);
}
.lottery-avatar img {
    width: 90px;
    height: 90px;
}
.lottery-content {
    position: relative;
    margin: 0 8%;
    padding: 2rem;
    width: 80%;
    height: 7rem;
    -webkit-transition: all .4s;
    -moz-transition: all .4s;
    transition: all .4s;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 5px;
    -webkit-box-shadow: 0 2px rgba(0,0,0,0.1);
    -moz-box-shadow: 0 2px rgba(0,0,0,0.1);
    box-shadow: 0 2px rgba(0,0,0,0.1);
    /*background: #FE351E;*/
    background: rgba(255,255,255,0.8);
    /*border: 2px solid #FD361F;*/
    /*border:15px solid transparent;*/
    /*-moz-border-image:url(../img/china-border.png) 30 30 stretch;	!* Old Firefox *!*/
    /*-webkit-border-image:url(../img/china-border.png) 30 30 stretch;	!* Safari and Chrome *!*/
    /*-o-border-image:url(../img/china-border.png) 30 30 stretch;		!* Opera *!*/
    /*border-image:url(../img/china-border.png) 30 30 stretch;*/
    /*background: url("../img/border.png") no-repeat;*/
    /*background-size: cover;*/
}
.lottery-content .beauty {
    position: absolute;
    display: inline-block;
    width: 50px;
    height: 50px;
    overflow: hidden;
}
.lottery-content .border-01 {
    top: 3px;
    left: 3px;
    background: url("../image/border-01.png") no-repeat;
    background-size: contain;
}
.lottery-content .border-02 {
    top: 3px;
    right: 3px;
    background: url("../image/border-02.png") no-repeat;
    background-size: contain;
}
.lottery-content .border-03 {
    bottom: 3px;
    left: 3px;
    background: url("../image/border-03.png") no-repeat;
    background-size: contain;
}
.lottery-content .border-04 {
    bottom: 3px;
    right: 3px;
    background: url("../image/border-04.png") no-repeat;
    background-size: contain;
}
.lottery-content:before {
    content: "";
    display: block;
    position: absolute;
    left: -20px;
    right: auto;
    top: 40%;
    border: 10px solid transparent;
    border-right-color: #FD361F;
}
.lottery-content:after {
    content: "";
    display: block;
    position: absolute;
    top: 40%;
    left: -17px;
    right: auto;
    border: 10px solid transparent;
    border-right-color: #fff;
}

.lottery-content .content-title  {
    margin: 0 0 10px;
    text-align: center;
}
.lottery-content .content-title .lottery-name {
    font-size: 2rem;
    color: #2980b9;
    font-weight: bold;
    font-family: 'STKaiti', 'KaiTi ';
}
.lottery-content .content-title .company {
    font-size: 1.4rem;
    font-weight: 500;
    color: #3498db;
    font-family: '微软雅黑', sans-serif, arial;
}
.lottery-content .content-detail{
	line-height: 75px;
    height: 100%;
    text-align: center;
}
.lottery-content .content-detail b {
    position: absolute;
    color: #FD361F;
    font-weight: bold;
    font-family: 'STKaiti', 'KaiTi ';
    left: 25px;
}
.lottery-content .content-detail span {
    margin: 15px 0 10px;
    line-height: 73px;
    font-size: 40px;
    font-weight: 400;
    font-family: fantasy;;
    color: #ff0000;
    padding-right: 2px;
    /*font-family: '微软雅黑', sans-serif, arial;*/
}

.dashboard {
    position: relative;
    margin: 25px auto 0 auto;
    text-align: center;
}
.btn {
    padding: 1rem 1.5rem;
    text-align: center;
    border-radius: 0.5rem;
}
.btn-red {
    color: #ffffff;
    background: #FD361F;
    /*-webkit-box-shadow: 0 6px rgba(253, 54, 31, 0.5);*/
    /*-moz-box-shadow: 0 6px rgba(253, 54, 31, 0.5);*/
    /*box-shadow: 0 6px rgba(253, 54, 31, 0.5);*/
    box-shadow: 0 6px #B92C1C;
}
.btn-red-outline {
    width: 40%;
    margin: 15px auto 0 auto;
    cursor: pointer;
    color: #FD361F;
    border: 3px solid #FD361F;
    -webkit-box-shadow: 0 6px rgba(253, 54, 31, 0.5);
    -moz-box-shadow: 0 6px rgba(253, 54, 31, 0.5);
    box-shadow: 0 6px rgba(253, 54, 31, 0.5);
    font-size: 2rem;
    font-weight: 600;
    font-family: 'STKaiti', 'KaiTi ';
}
.dashboard .lottery-btn {
    display: inline-block;
    width: 15%;
    margin: 0 auto;
    padding: 1rem 1.6rem;
    cursor: pointer;
    font-size: 2rem;
    font-family: 'STKaiti', 'KaiTi ';
}

.dashboard .lottery-btn:active {
    margin-top: 5px;
    -webkit-box-shadow: 0 1px rgba(253, 54, 31, 0.3);
    -moz-box-shadow: 0 1px rgba(253, 54, 31, 0.3);
    box-shadow: 0 1px rgba(253, 54, 31, 0.3);
}
.dashboard .lottery-btn.start {
    background: #d41c07;
    cursor: pointer;
}
.dashboard .lottery-btn.end {
    background: #d41c07;
    cursor: not-allowed;
}

.dashboard .cirle-btn {
    position: absolute;
    display: inline-block;
    width: 2rem;
    height: 2rem;
    color: #FD361F;
    padding: 0.5rem;
    cursor: pointer;
    font-size: 2rem;
    font-weight: 800;
    font-family: 'STKaiti', 'KaiTi ';
    border: 3px solid #FD361F;
    border-radius: 100%;
    -webkit-box-shadow: 0 5px rgba(253, 54, 31, 0.5);
    -moz-box-shadow: 0 5px rgba(253, 54, 31, 0.5);
    box-shadow: 0 5px rgba(253, 54, 31, 0.5);
}
.dashboard .cirle-btn:nth-child(1) {
    left: 15%;
}
.dashboard .cirle-btn:nth-child(2) {
    left: 22%;
}
.dashboard .cirle-btn:nth-child(4) {
    right: 22%;
}
.dashboard .cirle-btn:nth-child(5) {
    right: 15%;
}
.award-active {
    background: #ffbfb7;
}

.close {
    float: right;
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #aaa;
    /*filter: alpha(opacity=20);*/
    /*opacity: .2*/
}
.close:hover,.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
    filter: alpha(opacity=50);
    opacity: .5
}
button.close {
    display: none;
    position: fixed;
    top: 27%;
    left: 57%;
    -webkit-appearance: none;
    padding: 0;
    cursor: pointer;
    background: 0 0;
    border: 0;
    z-index: 1050;
}
.close span {
    font-size: 5rem;
    color: #DBB76B;
}
.modal-open {
    overflow: hidden
}
.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    display: none;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    outline: 0
}
.modal.fade .modal-dialog {
    -webkit-transition: -webkit-transform .3s ease-out;
    -o-transition: -o-transform .3s ease-out;
    transition: transform .3s ease-out;
    -webkit-transform: translate(0,-25%);
    -ms-transform: translate(0,-25%);
    -o-transform: translate(0,-25%);
    transform: translate(0,-25%);
    /*top: 15%;*/
}
.modal.in .modal-dialog {
	margin: 0;
	width: 100%;
    height: 100%;
    left: 0;
    -webkit-transform: translate(0,0);
    -ms-transform: translate(0,0);
    -o-transform: translate(0,0);
    transform: translate(0,0)
}
.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto
}
.modal-dialog {
    /*position: relative;*/
    width: auto;
    height: 90%;
    margin: 10px;
    position: absolute;
    top: 0;
    left: calc(50% - 150px);
}
.modal-content {
    position: relative;
    top: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    outline: 0;
}
.modal-content #lottery-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.modal-content #lottery-avatar {
    position: absolute;
    top: 11.2%;
    left: 19.2%;
    width: 61%;
    text-align: center;
}

.modal-content #lottery-name {
    position: absolute;
    bottom: 27%;
    width: 100%;
    text-align: center;
    font-size: 5rem;
    color: #D9AD61;
    font-weight: bold;
    font-family: 'STKaiti', 'KaiTi ';
}


.modal-content #lottery-img {
    width: 100%;
    display: none;
}
.modal-content #lottery-canvas {
	background: url(../image/award_0.png)no-repeat;
	background-size:100% 100%;
	margin: 0 auto;
    /*display: block;*/
    /*width: 100%;*/
    display: none;
}
.modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #000;
}
.modal-backdrop.fade {
    filter: alpha(opacity=0);
    opacity: 0
}
.modal-backdrop.in {
    filter: alpha(opacity=50);
    opacity: .5
}
.modal-header {
    min-height: 16.43px;
    padding: 15px;
    border-bottom: 1px solid #e5e5e5
}
.modal-header .close {
    margin-top: -2px
}
.modal-title {
    margin: 0;
    line-height: 1.42857143
}
.modal-body {
    position: relative;
    padding: 15px
}
.modal-footer {
    padding: 15px;
    text-align: right;
    border-top: 1px solid #e5e5e5
}
.modal-footer .btn+.btn {
    margin-bottom: 0;
    margin-left: 5px
}
.modal-footer .btn-group .btn+.btn {
    margin-left: -1px
}
.modal-footer .btn-block+.btn-block {
    margin-left: 0
}
.modal-scrollbar-measure {
    position: absolute;
    top: -9999px;
    width: 50px;
    height: 50px;
    overflow: scroll
}
@media (min-width: 768px) {
    .modal-dialog {
        width: 20%;
        margin: 30px auto
    }
}

.snow-canvas {
    display: none;
    position: fixed;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1045;
}

.stop-main {
	text-align: center;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9;
}
.stop-main #stop-time {
    text-align: center;
    line-height: 180px;
    display: inline-block;
    width: 200px;
    height: 200px;
    /*margin-top: 28rem;*/
    margin-top: 280px;
    font-size: 160px;
    /* position: absolute; */
    /* left: 38%; */
    /* top: 35%; */
    /* margin: 0 auto; */
    /* padding: 3rem; */
    /* text-align: center; */
    /* font-size: 20rem; */
    color: #FD361F;
    font-family: 'STKaiti', 'KaiTi ';
    border: 4px solid #FD361F;
    border-radius: 100%;
}
.stop-main .back:after {
    content: '';
    width: 100%;
}
.stop-main .back {
	top: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.1);
}

footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 2rem;
    z-index: 3;
    background: url("../image/langhua.png") repeat-x;
    background-size: contain;
}

#music-control {
	display: none;
    z-index: 99;
    position: fixed;
    bottom: 3%;
    left: 0.5%;
    width: 3rem;
    height: 3rem;
    background: url("../image/music.png") 0 0 no-repeat;
    background-size: contain;
}

#clear-control {
    z-index: 99;
    position: fixed;
    bottom: 3%;
    right: 0.5%;
    width: 3rem;
    height: 3rem;
    background: url("../image/clear.png") 0 0 no-repeat;
    background-size: contain;
}
/*定义滚动条宽高及背景，宽高分别对应横竖滚动条的尺寸*/
.scrollbar{
    overflow: auto;
}
.scrollbar::-webkit-scrollbar{
    width: 8px;
    height: 10px;
    background-color: #f5f5f5;
}
/*定义滚动条的轨道，内阴影及圆角*/
.scrollbar::-webkit-scrollbar-track{
    -webkit-box-shadow: inset 0 0 6px #F1F1F1;
    border-radius: 3px;
    background-color: #f5f5f5;
}
/*定义滑块，内阴影及圆角*/
.scrollbar::-webkit-scrollbar-thumb{
    /*width: 10px;*/
    height: 20px;
    border-radius: 3px;
    -webkit-box-shadow: inset 0 0 2px #F1F1F1;
    background-color: #C1C1C1;
}
#modal-close{
	visibility: hidden;
}
#modal-close:focus{
	outline: none;
}
.btn_x:focus{
	outline:none;
}
#award-1,#award-2,#award-3,#award-4{
	visibility: hidden;
}
#award04-toggle{
	visibility: hidden;
}
#roll{
	overflow: hidden;
	position: relative;
}
#roll-div{
	position: absolute;
    top: 0;
    left: 12%;;
}
#canvas{
	width:100%;
	height:100%;
	background: #000;
    opacity: 1;
}
