/*reset*/
body, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea,  blockquote, th, td { margin: 0; padding: 0; }
body { line-height: normal;}
img { border: 0; }
ol, ul { list-style: none; }
q:before, q:after { content: ''; }
a { text-decoration: none; outline: none; }
a:hover { text-decoration: none; }
em { font-style: normal; }
.clearfix { zoom: 1; }
.clearfix:after { content:""; display: block; visibility: hidden; height: 0; font-size: 0; clear: both; }
* {
    -webkit-box-sizing: unset;
    -moz-box-sizing: unset;
    box-sizing: unset;
}
label {
    font-weight: 500;
    margin: 0;
}

html, body {
	font-size: unset;
	margin: 0 ;
	background-color: #ffffff;
	font-family: '微軟正黑體', 'Microsoft YaHei', Helvetica,Hiragino Sans GB;
	}
.star-area{
	position: relative;
	display: block;
	width: 100%;
	overflow:hidden;
	padding: 0 0 60px 0;
	z-index: 0;
	}
@media screen and (max-width: 1100px) {
	.star-area {
		padding: 0 0 20px 0;
		}
}
.page-wrapper{
    display: block;
    margin: 0 auto;
    width: 100%;
    }
.page-container{
	display: block;
	margin: 0 auto;
	max-width: 1366px;
	width: 100%;
	padding: 0;
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	}
.header{
	position: relative;
	overflow: hidden;
	}
nav{
	position: relative;
	margin-top: -44px;
	z-index: 9999;
	}
nav ul {
	display:block;
	width:100%;
	list-style:none;
	margin:0 auto;
	padding:0;
	text-align:center;
	border: 1px solid #ffffff;
	background-image: linear-gradient(to left, rgb(65, 88, 208) 0%, rgb(200, 80, 192) 46%, rgb(255, 204, 112) 70%, rgb(255, 63, 62) 100%);
	}
nav ul li{
	position: relative;
	display:inline-block;
	width: calc(14% - 3px);
	font-weight: 700;
	margin:0 auto;
	color:#ababab;
	vertical-align: middle;
	border-left: 1px solid #ffffff;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
	}
nav ul li:first-child{
	border-left: 0;
	}
nav ul li a{
	display:block;
	margin:0 auto;
	padding: 12px 0;
	font-size:17px;
	color: #ffffff;
	text-shadow: 1px 1px 2px #000;
	text-decoration: none;
	text-transform: initial;
	}
nav ul li i.fa.fa-sort-desc{
	position: relative;
	top: -3px;
	margin:0 0 0 8px;
	font-size: 17px;
	}
nav ul li a:active,
nav ul li a:hover {
	color:yellow;
	}
nav ul li:hover ul{
	display: block;
	}
nav ul li ul{
	display: none;
	position: absolute;
	border-top:0;
	border-bottom:0;
	background: linear-gradient(rgba(0, 0, 0, 1), rgba(34, 34, 34, 1));
}
.gears{
    position: relative;
}
.gears a{
	display: inline-block;
}
.logo{
	position: relative;
	display: block;
	margin: 5px 0 10px 0;
	display: block;
	width: 250px;
	z-index: 1;
}
.today-time{
	position: absolute;
	right: 10px;
	top: calc(50% - 12px);
	color: #707070;
	font-size: 18px;
}
@media screen and (max-width: 745px) {
	.logo{
	    width: 150px;
	    margin: 1px 0 4px 2px;
	}
	.today-time {
		width: 110px;
	    right: 15px;
	    top: calc(50% - 17px);
	    font-size: 13px;
	}
	body{
	    padding-bottom: 52px;
	}
	nav ul {
		position: fixed;
		left: 0;
		bottom:0;
	}
	nav ul li{
	    width: calc(14% - 6px);
	}
	nav ul li a {
	    padding: 12px 0;
	    font-size: 13px;
	    width: 27px;
	    line-height: 1;
	}
}

/*search*/
.search-box{
  display:inline-block;
  width:100%;
  height:auto;
  margin:20px auto 15px auto;
  }
.search-note{
  float: left;
  margin: 3px 0 0 0;
  }
.search-note i.fa.fa-search{
  font-size: 25px;
  color: #2356a1;
  margin:0 5px 0 10px;
  vertical-align: middle;
  }
.search-bar{
  float: right;
  }
.search-bar.left{
  float: none;
  }
.search-box h4{
  display: inline-block;
  font-size: 21px;
  margin: 0 5px 0 0;
  color: #2356a1;
  font-weight: 600;
  vertical-align: middle;
  }
.search-box p{
  display: inline-block;
  font-size: 15px;
  margin: 1px 0 0 0;
  padding: 0;
  color: #707070;
  font-weight: normal;
  vertical-align: middle;
  }
.search-box ul{
  display: table;
  width: 350px;
  list-style-type: none;
  margin:0 5px 0 0;
  padding: 0;
  vertical-align: middle;
  }
@media screen and (max-width: 745px) {
	.search-bar {
		float: left;
		margin-top: 10px;
		width: 100%;
		}
	.search-box ul li:first-child,
	.search-box ul{
		width: 100%;
		}
	.search-box{
		margin:15px auto;
		}
}
@media screen and (max-width: 640px) {
	.search-box p {
	  display: none;
	  }
	.search-box h4{
	  font-size: 17px;
	  }
}
.search-box ul li{
  display:table-cell;
  vertical-align:top;
  }
.search-box ul li:first-child{
  width:90%;
  }
.search-box ul li:last-child{
  width:10%;
  }
.search-btn{
  display: block;
  width: 100%;
  padding:0 20px;
  height:35px;
  line-height:35px;
  margin:0;
  text-decoration: none;
  text-align: center;
  font-size: 16px;
  letter-spacing:0px;
  color: #ffffff;
  font-weight:bold;
  font-family: "Open Sans",Helvetica,Arial,sans-serif;
  background: #155b9c;
  border-radius:0 9px 9px 0;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
  }
.search-btn:visited { text-decoration: none; }
.search-input{
  display:block;
  width:100%;
  height:35px;
  border:0;
  color:#222222;
  letter-spacing:1px;
  background: #eaf4fb;
  padding: 10px;
  border-radius:9px 0 0 9px;
  font-size:16px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  border-top:1px solid #155b9c;
  border-left:1px solid #155b9c;
  border-bottom:1px solid #155b9c;
  outline: 0;
  }
/*ball*/
ul.banner-ball {
  display:block;
  list-style-type:none;
  padding:0;
  margin:0;
  }
ul.banner-ball.large{
  padding:0 0 0 5px;
  margin:5px 0 20px 0;
  }
ul.banner-ball li {
  display:inline-block;
  margin: 2px;
  }
ul.banner-ball li label{
  position:relative;
  display:block;
  border-radius:100%;
  width:50px;
  height:50px;
  overflow:hidden;
  background: #fbea2e;
  background: -moz-radial-gradient(center, ellipse cover, #fbea2e 0%, #f78f1d 72%);
  background: -webkit-radial-gradient(center, ellipse cover, #fbea2e 0%, #f78f1d 72%);
  background: radial-gradient(ellipse at center, #fbea2e 0%, #f78f1d 72%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fbea2e', endColorstr='#f78f1d', GradientType=1 );
  text-align:center;
  color:#222222;
  font-size:30px;
  line-height:50px;
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  font-weight:bold;
  }
ul.banner-ball.red-ball li label{
  background: rgb(255,48,25);
  background: -moz-linear-gradient(top,  rgba(255,48,25,1) 0%, rgba(207,4,4,1) 100%);
  background: -webkit-linear-gradient(top,  rgba(255,48,25,1) 0%,rgba(207,4,4,1) 100%);
  background: linear-gradient(to bottom,  rgba(255,48,25,1) 0%,rgba(207,4,4,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff3019', endColorstr='#cf0404',GradientType=0 );
  }
ul.banner-ball.blue-ball li label{
  background: rgb(59,132,221);
  background: -moz-linear-gradient(top, rgba(59,132,221,1) 0%, rgba(25,100,181,1) 100%);
  background: -webkit-linear-gradient(top, rgba(59,132,221,1) 0%,rgba(25,100,181,1) 100%);
  background: linear-gradient(to bottom, rgba(59,132,221,1) 0%,rgba(25,100,181,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3b84dd', endColorstr='#1964b5',GradientType=0 );
  }
ul.banner-ball.green-ball li label{
  background: rgb(41,154,11);
  background: -moz-linear-gradient(top, rgba(41,154,11,1) 0%, rgba(36,117,9,1) 100%);
  background: -webkit-linear-gradient(top, rgba(41,154,11,1) 0%,rgba(36,117,9,1) 100%);
  background: linear-gradient(to bottom, rgba(41,154,11,1) 0%,rgba(36,117,9,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#299a0b', endColorstr='#247509',GradientType=0 );
  }
ul.banner-ball.small li label:before{
  position:absolute;
  top: -40%;
  left: 6%;
  display:block;
  content: '';
  width:30px;
  height:30px;
  border-radius:100%;
  background: -moz-linear-gradient(left, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 30%);
  background: -webkit-linear-gradient(left, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 30%);
  background: linear-gradient(to right, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 30%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00ffffff',GradientType=1 );
  z-index:0;
  }
ul.banner-ball.small li label {
  width:30px;
  height:30px;
  color:#000000;
  font-size:20px;
  line-height:30px;
  }
ul.banner-ball.small.blue-ball li label,
ul.banner-ball.small.green-ball li label,
ul.banner-ball.small.red-ball li label{
  color:#ffffff;
  text-shadow: 0px 0px 12px rgba(0, 0, 0, 1);
  }
@media screen and (max-width: 640px) {
	ul.banner-ball li {
	  margin: 0 1px 0 0;
	  }
	ul.banner-ball.small li label {
	  width:20px;
	  height:20px;
	  font-size:14px;
	  line-height:19px;
	  }
	ul.banner-ball.small li label:before{
	  display:none;
	  }
}
@media screen and (max-width: 550px) {
	ul.banner-ball li {
	  margin: 0 0.5px 0 0;
	  }
}
.copyright{
    width: 100%;
    max-width: 1366px;
    font-size: 14px;
    color: #484848;
    text-align: center;
    padding: 30px 17px;
    letter-spacing: 1px;
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
    border-top: 5px solid #2356a1;
    margin:25px auto 0 auto;
}
@media screen and (max-width: 640px) {
	.copyright{
	    font-size: 12px;
		}
}
/*pagination*/
.next-back-section {
    width:100%;
	margin:60px auto 0 auto;
	text-align:center;
	}
ul.next-type{
	font-family: "Open Sans",Helvetica,Arial,sans-serif;
	color:#818181;
	font-size: 16px;
	}
ul.next-type li{
	display:inline-block;
	color:#999999;
	text-decoration: none;
	margin:0 0 3px 0;
	text-align:center;
	vertical-align: top;
	}
ul.next-type li a,
ul.next-type li a:visited{
	border:1px solid #3c3c3c;
	display:inline-block;
	width:40px;
	height:40px;
	line-height:40px;
	color:#999999;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
	}
ul.next-type li a:hover {
	color: #bdbdbd;
	background-color: #313131;
	}
ul.next-type li.disabled{
	background-color:#717171;
	text-align:center;
	vertical-align: top;
	pointer-events: none;
	cursor: not-allowed;
	}
ul.next-type li.disabled a{
	color:#ffffff;
	border:1px solid #717171;
	}
.caret-left,
.caret-right{
	position:relative;
    top:0;
    left:0;
	color: #777777;
	}
.caret-left:after{
    content: "\f0d9";
    font-size: 16px;
    font-family: 'FontAwesome';
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    cursor: pointer;
	}
.caret-right:after{
	content: "\f0da";
	font-size:16px;
	font-family: 'FontAwesome';
	-webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
	cursor:pointer;
	}
.disabled .caret-left:after,
.disabled .caret-right:after{
	color:#aaaaaa;
	}
@media screen and (max-width: 1024px) {
.next-back-section {
	margin:20px auto;
	}
}
@media screen and (max-width: 745px) {
	.search-box {
	    padding: 0 10px;
		box-sizing:border-box;
		-moz-box-sizing:border-box;
		-webkit-box-sizing:border-box;
	}
}
@media screen and (max-width: 640px) {
	ul.banner-ball li {
		display: inline-block;
		margin:0 1px 0 0;
		}
	ul.next-type{
		font-size: 14px;
		}
	ul.next-type li a,
	ul.next-type li a:visited{
		width:30px;
		height:30px;
		line-height:30px;
		}
	.next-back-section {
		margin:20px auto 0 auto;
		}
	ul.banner-ball li label{
		width:40px;
		height:40px;
		font-size:24px;
		line-height:40px;
		}
}
@media screen and (max-width: 550px) {
	ul.banner-ball li label{
		width:27px;
		height:27px;
		font-size:21px;
		line-height:27px;
		}
}
.text-danger{
	color: #d21e1e;
}

.button-primary{
    display: inline-block;
    width: auto;
    margin: 0 auto;
    padding: 6px 15px;
    font-size: 14px;
    cursor: pointer;
    color: #ffffff;
    border: 1px solid #7f2727;
    border-radius: 6px;
    background: #d21e1e;
    box-shadow: 2px 2px 2px #ccc;
}
.button-primary.video{
    display: block;
}

/*ball*/
.small6 {
    display: inline-block;
    width: 35px;
    height: 35px;
    color: #fff;
    line-height: 35px;
    border-radius: 50%;
    text-align: center;
    margin: 0;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
}
.game-content.g-six .small6,
.game-content.g-big .small6{
    text-indent: 0;
}
.special-number-value label b.small6{
	width: auto;
    padding: 3px 6px;
    border-radius: 16px;
    font-size: 18px;
}
.small6-no{
	background: linear-gradient(320deg,#707070 ,#bbbbbb);
}

/*blue*/
.small6-3,.small6-4,.small6-9,
.small6-03,.small6-04,.small6-09,.small6-10,.small6-14,.small6-15,.small6-20,.small6-25,.small6-26,.small6-31,.small6-36,.small6-37,.small6-41,.small6-42,.small6-47,.small6-48{
	background: linear-gradient(320deg,#093f70 ,#237dd1 ,#5fb2ff);
}
/*red*/
.small6-1,.small6-2,.small6-7,.small6-8,
.small6-01,.small6-02,.small6-07,.small6-08,.small6-12,.small6-13,.small6-18,.small6-19,.small6-23,.small6-24,.small6-29,.small6-30,.small6-34,.small6-35,.small6-40,.small6-45,.small6-46{
	background: linear-gradient(320deg,#850909 ,#e31919 ,#ff9292);
}
/*green*/
.small6-5,.small6-6,
.small6-05,.small6-06,.small6-11,.small6-16,.small6-17,.small6-21,.small6-22,.small6-27,.small6-28,.small6-32,.small6-33,.small6-38,.small6-39,.small6-43,.small6-44,.small6-49{
	background: linear-gradient(320deg,#274608 ,#569d13 ,#b0eb78);
}
ul.list-ball{
	display: block;
	margin: 0;
	padding: 0;
}
.list-ball li{
	display: inline-block;
	vertical-align: middle;
	margin: 0 3.5px;
}
.list-ball li span,
.list-ball li label{
	display: block;
}
.list-ball li label{
	margin-top: 5px;
	text-align: center;
}
@media screen and (max-width: 745px) {
	.small6 {
	    width: 28px;
	    height: 28px;
	    line-height: 28px;
	    font-size: 13px;
	}
	.mobile-none{
        /*display: none;*/
	}
	.mobile-none.date{
        width:30px;
	}
	.button-primary.video {
        -webkit-transform-origin: 90% 90%;
        -ms-transform-origin: 90% 90%;
        transform-origin: 90% 90%;
        -webkit-transform: scale(0.9);
        -ms-transform: scale(0.9);
        transform: scale(0.9);
        font-size: 12px;
        padding: 6px;
	}
}
@media screen and (max-width: 640px) {
	.cart-list-table .small6 {
	    width: 19px;
	    height: 19px;
	    line-height: 19px;
	    font-size: 12px;
	}
	.cart-list-table .list-ball li {
	    margin: 0;
	}
}
.first-title{
	display: block;
	width: 100%;
	line-height: 1;
	padding: 10px;
	margin: 20px auto 0 auto;
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
}
.first-title{
    z-index: 2;
    position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px;
	border: 1px solid #ad4a98;
	box-sizing: border-box;
    background-image: linear-gradient(to left, rgb(200, 80, 192) 0%, rgb(255, 204, 112) 50%, rgb(255, 204, 112) 100%);
}
.first-title-name{
	font-size: 27px;
	font-weight: 600;
	color: #222222;
}
.first-end-time{
   font-size: 16px;
   color: #ffffff;
   text-shadow: 1px 1px 1px #333;
}

@media screen and (max-width: 745px) {
	.first-title{
		margin: 0 auto;
	}
	.first-title-name{
		font-size: 22px;
	}
	.first-end-time{
	   font-size: 14px;
	   width: 170px;
	   text-align: right;
	   line-height: 1.2;
	}
}
.currentGame{
    font-size: 14px;
    box-shadow: 2px 1px 10px #ccc;
    border:1px solid #ccc;
    box-sizing: border-box;
    border-radius: 0 0 6px 6px;
    display: flex;
    flex-direction: row-reverse;
    padding: 40px 0;
}

.nextDraw {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 10px 0 20%;
}
.currentCode {
    padding: 0 10px;
    margin-left: 20px;
}
.currentCode ul.list-ball {
    zoom: 160%;
}
.curtLottery .currentGame {
    padding: 42px 0;
}
.countdown {
    display: flex;
    align-items: center;
}
.countdown ul {
    list-style: none;
    display: flex;
    font-family: Consolas,Monaco,monospace;
    padding: 15px 0 0 0;
}
.countdown li {
    font-size: 48px;
    width: 40px;
    height: 54px;
    margin-right: 6px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cccccc;
}
.countdown li.dot {
    border: 0;
    width: 20px;
    padding-bottom: 6px;
}
.drawCode {
    list-style: none;
    display: inline-flex;
}
.currentCode h3 {
    margin-bottom: 15px;
    font-size: 1.17em;
}
.lotteryBtns {
    display: flex;
    position: relative;
    padding-bottom: 20px;
    padding-left: 50px;
}
.button-yellow{
    display: inline-block;
    width: auto;
    margin: 0 auto;
    padding: 6px 15px;
    font-size: 14px;
    cursor: pointer;
    color: #ffffff;
    border: 1px solid #cb8609;
    border-radius: 6px;
    background: #dea230;
    box-shadow: 2px 2px 2px #ccc;
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
}
.button-yellow.right{
    margin-right: 10px;
    width: 110px;
}
.lotteryActs{
	position: relative;
}
.lotteryPledge {
    z-index: 10;
    position: absolute;
    width: 262px;
    left: 0;
    top: 65px;
    padding: 10px;;
    color: #222222;
    background: #fff;
    box-shadow: 0 2px 10px #ccc;
    border-radius: 4px;
    cursor: pointer;
}
.lotteryPledge svg {
    font-size: 20px;
    margin-right: 3px;
}
.lotteryPledge b {
    display: flex;
    font-size: 14px;
    align-items: center;
    padding-bottom: 3px;
    color: #d21e1e;
    z-index: 11;
    position: relative;
}
.lotteryPledge p{
    margin: 0;
}
.lotteryPledge:before, .lotteryPledge:after {
    content: " ";
    display: block;
    position: absolute;
    background: #fff;
}
.lotteryPledge:before {
    width: 20px;
    height: 20px;
    left: 42px;
    top: -8px;
    transform: rotate(45deg);
    box-shadow: 0 0 6px #ccc;
}
.lotteryPledge:after {
    width: 50px;
    height: 30px;
    top: 0;
    left: 32px;
}
.lotteryActs .his:hover {
    color: #d21e1e;
}

.lotteryActs .his {
    font-size: 1.143em;
    margin-left: 5px;
    display: inline-flex;
    align-items: center;
    color: #222;
    padding-left: 50px;
}
.lotteryActs .his svg {
    color: #d21e1e;
    margin-left: 5px;
}
.draw-time{
	display: block;
	margin-top: 10px;
}
@media screen and (max-width: 1200px) {
	.currentCode ul.list-ball {
	    zoom: 120%;
	}
	.nextDraw {
	    padding: 0 10px 0 10%;
	}
}
@media screen and (max-width: 1000px) {
	.currentCode ul.list-ball {
	    zoom: 100%;
	}
}
@media screen and (max-width: 925px) {
	.currentCode ul.list-ball {
	    zoom: 90%;
	}
	.nextDraw {
	    padding: 0 10px;
	}
}
@media screen and (max-width: 745px) {
	.currentCode ul.list-ball {
	    zoom: 120%;
	}
	.currentGame {
	    flex-direction: column-reverse;
	    padding: 20px 0;
	}
	.lotteryActs .his {
	    font-size: 14px;
	    padding-left: 5px;
	}
	.currentCode {
	    margin-left: 0;
	}
	.copyright b{
		display: block;
	}
}

.main-popup-body {
	position:fixed;
	top: 20%;
	left: 0;
	right: 0;
	display: block;
	padding: 20px;
	margin:0 auto;
	width: 90%;
	max-width: 690px;
	background-color: #ffffff;
	border-radius: 8px;
	-webkit-box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
	box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
	z-index: 10002;
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
 }
 .main-popup-icon:after{
	position:relative;
	left:0;
	top:0;
	display: inline-block;
	content: "\f00d";
	font-family: 'FontAwesome';
	font-size:21px;
	color:#bbbbbb;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
 }
 .index-popup-close {
	cursor: pointer;
	position: absolute;
	right: 12px;
	top: 12px;
	z-index:3;
}
.main-popup-icon:after{
	position:relative;
	left:0;
	top:0;
	display: inline-block;
	content: "\f00d";
	font-family: 'FontAwesome';
	font-size:21px;
	color:#bbbbbb;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.popup-mask{
    overflow: hidden;
}
.popup-ball-list{
	zoom: 120%;
	margin: 0 0 5px 0;
}
.popup-video{
	display: block;
	width: 100%;
	max-height: 364px;
}
.popup-time{
	display: block;
	color: #707070;
	margin: 5px 0 8px 0;
	font-size: 13px;
}
@media screen and (max-width: 480px) {
	.popup-ball-list{
		zoom: 100%;
	}
}
.p-info{
    display: inline-block;
    font-style: normal;
    border-radius: 26px;
    padding: 0 7px;
    color: #fff;
    background: red;
    margin: 0;
    font-size: 12px;
    height: 18px;
    line-height: 18px;
    vertical-align: super;
    position: relative;
    top: 4px;
}
ul.search-ul,
ul.tab-btn-area{
	display: inline-block;
	margin: 0;
	padding:0;
	vertical-align: middle;
}
ul.tab-btn-area{
	width: auto!important;
	margin-right: 10px;
}
ul.tab-btn-area li{
	display: inline-block;
	width: auto!important;
	}
.tab-btn{
    display: inline-block;
    border-radius: 10px;
    padding: 7px 13px;
    color: #707070;
    background: #f0f0f0;
    margin: 0;
    font-size: 16px;
    border: 1px solid #cccccc;
    outline: 0;
}
.ui-state-active .tab-btn{
    color: #ffffff;
    background: #488210;
    border: 1px solid #488210;
}

@media screen and (max-width: 745px) {
	.main-popup-body {
	    padding: 10px;
	}
	.search-box.fix{
	    margin: 15px auto 0 auto;
	}
	ul.tab-btn-area {
	    position: absolute;
	    right: 0;
	    top: 10px;
	}
	.rwd-table th {
	    display: none;
	}
	.cart-list-table.rwd-table{
	    border-spacing: 6px;
	}
	.cart-list-table.rwd-table td {
	    display: block;
	    padding: 8px 5px;
	    border-bottom: 1px dashed #cccccc;
	}
	.rwd-table td:last-child{
	    border-bottom: 0;
	}
	.rwd-table td:before {
	    content: attr(data-th) "";
	    width: 65px;
	    display: inline-block;
	    text-align: right;
	    padding-right: 15px;
	    font-size: 14px;
	}
	.rwd-table {
	    overflow: hidden;
	}
	.rwd-table .button-primary.video,
	.rwd-table ul.list-ball {
	    display: inline-block;
	}
	.popup-video{
		max-height: 364px;
	}
}
.draw-video-big{
    width: 100%;
    min-height: 360px;
    position: relative;
    background: #000;
    position: relative;
    text-align: center;
}
.draw-video-big video{
	width: 100%;
	max-width: 720px;
	margin: 0 auto;
	position: relative;
	z-index: 1	;
}
.errorMsg{
	position: absolute;
	top: calc(50% - 20px);
	left: 0;
	right: 0;
    color: #fff;
    text-shadow: 0 0 1px #000;
    font-size: 18px;
    padding: 0 10px;
    z-index: 0;
    text-align: center;
}
.search-bar.fix{
    width: calc(100% - 250px);
}
.search-box .search-bar.fix ul {
    display: inline-block;
}
@media screen and (max-width: 745px) {
	.search-bar.fix {
	    width: 100%;
	}
	.draw-video-big{
	    min-height: 200px;
	}
	.title-none{
		visibility: hidden;
	}
}

.index-ball-area.slash{
    background-image: url(../img/slash_bg_line.gif);
    -webkit-box-shadow: -20px 0px 80px rgba(0, 0, 0, 0.08);
    -moz-box-shadow:-20px 0px 80px rgba(0, 0, 0, 0.08);
    box-shadow: -20px 0px 80px rgba(0, 0, 0, 0.08);
    height: auto;
    padding:10% 0 5% 0;
}
@media screen and (max-width: 480px) {
  .index-ball-area.slash{
      padding:10% 0 5% 0;
  }
  .popup-video{
	max-height: 186px;
  }
}
.index-ball-area.slash h2{
    color: #488ab9;
}
/* product item */
ul.food-product-item {
	display: table;
	width: 100%;
	max-width: 1366px;
	margin: 4% auto 0 auto;
	padding: 0;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}
ul.food-product-item.recommend{
    padding:0;
}
ul.food-product-item h2{
	display:block;
	font-size:30px;
	font-weight:normal;
	letter-spacing:2px;
	margin:0 auto 5px auto;
	padding:0;
	color:#333333;
}
ul.food-product-item p{
	display:block;
	font-size:16px;
	letter-spacing:2px;
	margin:0 auto 5% auto;
	padding:0;
	color:#707070;
}
ul.food-product-item li{
    display: inline-block;
    width: calc(33.3% - 2px)!important;
    padding: 0 12px;
    margin: 0 auto;
    vertical-align: top;
    text-align: center;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
@media screen and (max-width: 745px) {
	ul.food-product-item li{
	    display: block;
	    width: 100%!important;
	}
	.popup-video{
		max-height: 364px;
	}
}
ul.food-product-item.recommend li{
	width:19%;
	padding:0 1%;
}
ul.food-product-item li .item-group,
ul.food-product-item li a.item-group{
	position:relative;
	display:block;
	width:100%;
	border:0;
	text-decoration:none;
	margin:0 auto 15% auto;
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	cursor: pointer;
}
ul.food-product-item li .item-group img,
ul.food-product-item li a.item-group img{
	display:block;
	width:inherit;
	margin:0 auto;
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	-o-transition: all 0.4s ease;
	transition: all 0.4s ease;
	border-radius: 18px;
}
ul.food-product-item li .item-group h3{
	display: block;
	margin: 5% 0 0 0;
	font-size: 27px;
	color: #629d5e;
	font-family: 'HYQiHei-45S', 'Microsoft YaHei', Helvetica,Hiragino Sans GB;
	letter-spacing: 1px;
	line-height: 160%;
	font-weight: 600;
	text-align: left;
}
ul.food-product-item li .item-group label,
ul.food-product-item li a.item-group label{
	display: block;
	margin: 10px 0 0 0;
	font-size: 15px;
	color: #707070;
	line-height: 160%;
	font-weight: 500;
	text-align: center;
	cursor: pointer;
}
ul.food-product-item.recommend .item-group label,
ul.food-product-item.recommend a.item-group label{
    text-align:center;
}
.item-pic{
	position:relative;
	width:100%;
}

ul.hr-link.food-product-item li:hover .item-group label,
ul.hr-link.food-product-item li:hover a.item-group label{
	color:#3c9fe4;
	cursor:pointer;
}

ul.hr-link.food-product-item li:hover .item-group img,
ul.hr-link.food-product-item li:hover a.item-group img{
	cursor:pointer;
	opacity: 0.7;
}

@media screen and (max-width: 1100px) {
	ul.food-product-item li .item-group label,
	ul.food-product-item li a.item-group label{
	    font-size:16px;
	}
	.popup-video{
		max-height: 364px;
	}
}
 @media screen and (max-width: 865px) {
	ul.food-product-item li .item-group label,
	ul.food-product-item li a.item-group label{
		font-size: calc( 0.45rem + 2.1vw - 8px );
		line-height: 1.5;
		word-break: normal;
		text-overflow: ellipsis;
	}
	.popup-video{
		max-height: 364px;
	}
}
 @media screen and (max-width: 768px) {
	ul.food-product-item{
	    padding:20px 3% 0 3%;
	}
	ul.food-product-item li{
		width: 85%;
		padding: 0 0 5% 0;
		margin: 0 0 5% 0;
	}
	.item-description{
	    display:none;
	}
	ul.food-product-item li .item-group label,
	ul.food-product-item li a.item-group label{
		margin:5px 0 0 0;
		font-size:16px;
		letter-spacing:0;
		height:auto;
	}
	ul.food-product-item li .item-group,
	ul.food-product-item li a.item-group{
    	margin:0 auto;
	}
	ul.food-product-item li .item-group h3{
	   font-size: 21px;
	}
	.popup-video{
		max-height: 186px;
	}
}
/* product item end */
table.table-info{
	display: table;
	margin: 5% auto;
}
.table-info tr td{
	padding: 15px;
	background: #ffffff;
}
.table-info tr:nth-child(odd) td{
	background: #f9f9f9;
}
.about-container ul.rules-info-width,
.rules-info-width{
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
}
.policyRule{
	line-height: 1.2;
}
.orderRule {
    display: flex;
    line-height: 2;
}
.orderRule .rules-left {
    flex: 0 0 100px;
    font-weight: 600;
    font-size: 18px;
}
.orderRule .rules-right {
    color: #555555;
    font-size: 16px;
}
.policyRule h5 {
    font-size: 22px;
    padding: 15px 0;
    margin: 30px 0;
    border-bottom: 1px solid #cccccc;
    color: #d21e1e;
}
.policyRule p{
    margin: 10px 0;
    line-height: 1.6;
}
@media (max-width: 745px){
    .rule-padding .about-container h3{
    	display: none;
    }
	.rule-padding{
		padding: 0 15px;
	}
	.orderRule {
	    flex-direction: column;
	}
	.orderRule .rules-left {
	    flex: 1;
	    font-size: 19px;
	    font-weight: 700;
	}
	ul.tab-btn-area.rule-btn {
	    position: relative;
	    right: auto;
	    left: 15px;
	    top: 0;
	}
	.table-info tr td {
	    padding: 14px;
	    color: #555555;
	}
}


.pagination {
    display: inline-block;
    padding-left: 8px;
    margin: 20px 0;
    border-radius: 4px
}

.pagination>li {
    display: inline
}

.pagination>li>a,.pagination>li>span {
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.42857143;
    color: #337ab7;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd
}

.pagination>li:first-child>a,.pagination>li:first-child>span {
    margin-left: 0;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px
}

.pagination>li:last-child>a,.pagination>li:last-child>span {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px
}

.pagination>li>a:focus,.pagination>li>a:hover,.pagination>li>span:focus,.pagination>li>span:hover {
    z-index: 3;
    color: #23527c;
    background-color: #eee;
    border-color: #ddd
}

.pagination>.active>a,.pagination>.active>a:focus,.pagination>.active>a:hover,.pagination>.active>span,.pagination>.active>span:focus,.pagination>.active>span:hover {
    z-index: 2;
    color: #fff;
    cursor: default;
    background-color: #337ab7;
    border-color: #337ab7
}

.pagination>.disabled>a,.pagination>.disabled>a:focus,.pagination>.disabled>a:hover,.pagination>.disabled>span,.pagination>.disabled>span:focus,.pagination>.disabled>span:hover {
    color: #777;
    cursor: not-allowed;
    background-color: #fff;
    border-color: #ddd
}

.pagination-lg>li>a,.pagination-lg>li>span {
    padding: 10px 16px;
    font-size: 18px;
    line-height: 1.3333333
}

.pagination-lg>li:first-child>a,.pagination-lg>li:first-child>span {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px
}

.pagination-lg>li:last-child>a,.pagination-lg>li:last-child>span {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px
}

.pagination-sm>li>a,.pagination-sm>li>span {
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5
}

.pagination-sm>li:first-child>a,.pagination-sm>li:first-child>span {
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px
}

.pagination-sm>li:last-child>a,.pagination-sm>li:last-child>span {
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px
}