@charset "gb2312";
/* CSS Document */

body,div,ul,ol,li,form,p,h1,h2,h3,h4,dl,dt,dd,table,th,td,select,textarea,input,figure,a,h1,h2,h3{
	margin: 0 auto;
	padding: 0;
	list-style-type: none;
	max-width: 640px;
}
body{
	font-family: "Microsoft YaHei",Helvetica,Arial,sans-serif;
	font-size: 16px;
	line-height: 1.5;
	background-color: #FFFFCC
}
a img{border:none;margin:0;padding:0; text-decoration:none;}
a {text-decoration:none; color:#434343;}
li{ list-style-type:none;}
a:hover{ color:#F00;}
img {  display: block;}
ul, ol, li { list-style: outside none none;  overflow: hidden;}
.clear { _zoom: 1; clear: both;}
.left {  float: left;}

.agreement input{
    font-family: inherit; display: none;
    font-size: inherit;
    font-style: inherit;
    font-weight: inherit;
    outline: 0;
}


.shuru{ background-color:#fff3eb; padding:1px; border-radius:10px; margin:5px 10px;}
.shuru img{ margin-left:5px;}
.form {  margin: 0 0.64rem; }
.bbqm01 {
	padding: 11px 2%;
	LINE-HEIGHT: 28px;
	WIDTH: 96%;
	BACKGROUND: #fff8f4;
	FLOAT: left;
	FONT-SIZE: 14px;
	border-radius: 10px;
	box-shadow: 0px 0px 2px #bdbdbd;
	margin-top: 10px;
	font-weight: bold;
	border: #ff9966 1px solid;
	color: #999;
	background-color: #330033;
}


.bbqm02 {
    background: #1d1467 none repeat scroll 0 0;
    border: 1px solid #ff9966;
    border-radius: 10px;
    box-shadow: 0 0 2px #bdbdbd;
    color: #999;
    float: left;
    font-size: 14px;
    font-weight: bold;
    line-height: 28px;
    margin: 10px 0px;
    padding: 11px 2%;
    width: 96%;
}

.agreement,.test_num { margin-bottom: 15px;text-align: center; color:#333}
.num{color:#f00}
.agreement a { vertical-align: middle;font-size: 16px;color: #ffffff;text-decoration: underline;}
.layui-form-switch,.layui-form-onswitch {margin-top: 0;}
.layui-form-onswitch {border-color: #ffffff;background-color: #ee2323;}
.layui-form-switch{position:relative;height:22px;line-height:22px;width:42px;padding:0 5px;margin-top:8px;border:1px solid #d2d2d2;border-radius:20px;cursor:pointer;background-color:#fff;-webkit-transition:.1s linear;transition:.1s linear}
  .layui-form-switch i{position:absolute;left:5px;top:3px;width:16px;height:16px;border-radius:20px;background-color:#d2d2d2;-webkit-transition:.1s linear;transition:.1s linear}
  .layui-form-switch em{position:absolute;right:5px;top:0;width:25px;padding:0!important;text-align:center!important;color:#999!important;font-style:normal!important;font-size:12px}
  .layui-form-onswitch{border-color:#5FB878;background-color:#5FB878}
  .layui-form-onswitch i{left:32px;background-color:#fff}
  .layui-form-onswitch em{left:5px;right:auto;color:#fff!important}
.layui-btn {
	width: 96%;
	background-color: #F00;
	font-size: 24px;
	height: 4rem;
	margin: 5px 2%;
}
.layui-btn-radius {border-radius: 10px;}


.com_hot_box_list{ background-color:#FFF}
.com_hot_box_list li {  width: 23%; float: left; margin-left:1.5%}
.com_hot_box_list li img{ width:100%;}
.com_hot_box_list li a {  display: block; width: 4.5rem; font-size: 0.69333rem;  color: #333; margin: 0 auto;}
.com_hot_box_list li p { text-align: center; padding: 0.69333rem 0 1.01333rem;}



.user-case li { padding: 0.53333rem; border-bottom: 1px solid #b7a07b; overflow: hidden;}
.user-case .p-top {font-size: 0.99333rem;}
.user-case .p-bottom { font-size: 0.84rem;  padding-top: 0.26667rem; overflow: hidden; text-overflow: ellipsis; display: -webkit-box;  -webkit-box-orient: vertical;-webkit-line-clamp: 2;}
.marquee-list{ background-color:#FFF; padding:5px 2%;}


.pre_box em i { display: block; width: 3.56rem; height: 5.4rem; background: url(http://wap.99166.com/phoneapp/tarot/images/pre_img.png); background-size: 3.56rem 5.4rem;}
.pre_select { padding: 1rem; height: 9rem;overflow: hidden;text-align: center;}
.pre_select em { display: inline-block; width: 1.5rem; height: 9.5rem; margin-right: -1.5rem; }
.pre_select em.over i { background: #ca8058; }
.pre_select em i { border: #cccccc solid 1px; }
.pre_select_num { text-align: center; margin: -.4rem 0 .5rem 0; color: #8e6553; font-size: .44rem; font-weight: 500; }
.pre_select_num strong { font-size: .65rem; color: #e07070 }
.pre_img { border-radius: .15rem; overflow: hidden;  box-shadow: 1px 1px 6px 0 rgba(0, 0, 0, 0.4); }

.pre_selbox { text-align: center; display: -webkit-box; width: 100%; margin:.7rem auto 1.2rem;}
.pre_selbox em { display: block; -webkit-box-flex: 1; height: 5.4rem; background: url(http://wap.99166.com/phoneapp/tarot/images/card_sel_bg.png) no-repeat center; background-size: 3.56rem 5.4rem;}
.pre_selbox em i { display: none; margin: 0 auto }
.pre_selbox em i .pre_img{ box-shadow: 1px 1px 6px 0 rgba(0,0,0,0.2); }

.period { padding: 2rem 0 .4rem }
.period label {float: left; height: 32px;}
.period label span {text-align: center; font-weight: 700; background-position: -370px 0; width: 62px; height: 32px; display: block; color: #553f2a; line-height: 27px; margin: 0 auto; color: #f0e4d5;}
.period ul {width: 100%;display: -webkit-box;}
.period li {text-align: center; margin: 5px 0; font-size: 12px; overflow: visible;-webkit-box-flex: 1;}
.period li span {height: 6.06rem; position: relative; overflow: hidden; background: url(http://wap.99166.com/phoneapp/tarot/images/pre_img.png); background-size: 100% 6.06rem; overflow: hidden;}
.period li.pre span {display: block; width: 4rem; height: 6.06rem; font-size: 16px; color: #ffffff; margin: 0 auto .25rem;}

.period li.pre em { line-height: 1.2rem; display: inline-block; font-size: 14px; background: #eee; border-radius: .1rem; margin-top: .1rem; padding: 0 .1rem; }
.period li.pre em.tip {color: #fff; background: #e48f8f}
.period li.pre em.on {color: #fff; background: #8ec193}
.period li.pre span.rotate_1 {-webkit-transform: rotate(30deg);-moz-transform: rotate(30deg); filter : progid:DXImageTransform.Microsoft.Matrix(M11=0.8660253882408142, M12=-0.5, M21=0.5, M22=0.8660253882408142, sizingMethod='auto expand');}
.period li.pre span.rotate_2 {-webkit-transform: rotate(-30deg);-moz-transform: rotate(-30deg); filter : progid:DXImageTransform.Microsoft.Matrix(m11=0.8660253882408142,m12=0.5,m21=-0.5,m22=0.8660253882408142, sizingMethod='auto expand');}
.period li.pre span.rotate {margin-top: -20px; height: 167px; position: relative;}
.period li.pre span strong { display: block;line-height: 6.06rem;}
.period li.pre a {display: block;}
.period li.pre img{width: 100%; height: 6.06rem;}
.period li.pre p {margin:auto; font-size:14px; line-height: 1rem; color:#8e6553;}
.break{white-space:normal;width:100px;text-align:left;}
.break90{white-space:normal;width:90px;text-align:left;}


.pre_info img{ margin:0.5rem 0;}
.pre_info img{max-width: 100%;display:block;margin: .3rem auto;border-radius: .4rem;overflow: hidden;}
.pre_info img{border-radius: 19px; overflow: hidden; margin-top: .8rem; }
.pre_info strong{display:block; text-align: center;}
