
/*---- 通用 ----*/
html{ font-size:62.5%; }
body{ font-family: 'Microsoft Yahei'; font-size:1.2rem; color: #474747; background-color: #f2f2f2; -webkit-text-size-adjust: 100%;}
body a{ color: #474747;}
h3{ height: 41px; margin: 0 10px 20px 10px; border-bottom: 1px solid #e5e5e5; font-size: 1.6rem; font-weight: normal; line-height: 41px; position: relative;}
h3 span{ font-family: "SimSun"; font-size: 1.6rem; color: #d1d1d1; float: right;}
h3 span.spe{ font-family: 'Microsoft Yahei'; font-size: 1.1rem; color: #888;}
h3 span a{ font-family: 'Microsoft Yahei'; color: #888;}
h3 strong.sx{ display: inline-block; width: 16px; height: 16px; background: url('http://n.sinaimg.cn/97973pic/sx.png') no-repeat; background-size: 100% 100%; margin-top: 12px; margin-right: 6px; transition: all 1s ease-out;}
h3 span a:active strong.sx{ transform:rotate(360deg);}
h3 i{ display: block; width: 64px; height: 1px; background-color: #f42d2d; position: absolute; left: 0; bottom: -1px;}

/*---- 头部 ----*/
header{ width: 100%; height: 45px; border-bottom: 1px solid #dedede; position: relative; background-color: #fff;}
header span{ width: 22px; height: 22px; position: absolute; top: 11px;}
header span.back,header span.search,header span.login-not{ background: url('http://n.sinaimg.cn/97973pic/sprite2.png') no-repeat; background-size: 100% 600%;}
header span.back{ left: 10px; background-position: 0 0;}
header span.back:active{ background-position: 0 -22px;}
header span.search{ right: 10px; background-position: 0 -88px; margin-left: 10px;}
header span.search:active{ background-position: 0 -110px;}
header span.login-not{ right: 42px; background-position: 0 -44px;}
header span.login-not:active{ background-position: 0 -66px;}
header span.login-in{ right: 42px;}
header span.login-in img{ width: 22px; height: 22px; border-radius: 11px;}
header p{ height: 45px; margin: 0 76px; font-size: 1.9rem; line-height: 45px; text-align: center; overflow: hidden; white-space: nowrap; text-overflow:ellipsis;}

/*---- 切换 ----*/
.tags{ padding: 20px 10px 0 10px; background-color: #fff; display: -webkit-box; display: -moz-box; display: -ms-flexbox; display: box;}
.tags a{ display: block; width: 33%; height: 32px; border: 1px solid #8b8b8b; font-size: 1.5rem; line-height: 32px; text-align: center; color: #888; -webkit-box-flex: 1; -moz-box-flex: 1; -ms-flex: 1 0 auto; box-flex: 1; flex: 1 0 auto; }
.tags a.current{background-color: #8b8b8b; color: #fff;}
.tags a:first-child{ border-top-left-radius: 6px; border-bottom-left-radius: 6px;}
.tags a:last-child{ border-top-right-radius: 6px; border-bottom-right-radius: 6px;}
.rank_box{ padding: 0 10px; background-color: #fff; border-bottom: 1px solid #e7e7e7;}
.rank_box li{ height: 64px; padding: 20px 0; border-bottom: 1px solid #e7e7e7; overflow: hidden;}
.rank_box li:last-child{ border-bottom: none;}
.rank_box li img{ width: 64px; height: 64px; border-radius: 10px; float: left; margin-right: 15px;}
.rank_box li h6{ font-size: 1.5rem; margin-bottom: 8px; height: 15px; line-height: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}
.rank_box li p{ font-size: 1.2rem; line-height: 20px; color: #888;}
.rank_box li p span{ color: #f42d2d;}
.rank_box li p i{ color: #e5e5e5; font-style: normal;}
.rank_box li a.down_btn{ display: block; width: 64px; height: 26px; margin-top: 18px; border: 1px solid #aeddfe; border-radius: 13px; background-color: #fff; font-size: 1.5rem; font-weight: bold; text-align: center; line-height: 26px; color: #35aafc; float: right;}
.rank_box li a.down_btn_no{ display: block; width: 64px; height: 26px; margin-top: 18px; border: 1px solid #d4d4d4; border-radius: 13px; background-color: #fff; font-size: 1.2rem; text-align: center; line-height: 26px; color: #939393; float: right; cursor: default;}
.rank_box li a.down_btn:active{ background-color: #35aafc; border-color: #35aafc; color: #fff;}
a.get_more{ display: block; margin-bottom: 15px; height: 34px; background-color: #f2f2f2; font-size: 1.5rem; line-height: 34px; text-align: center; color: #888;}
a.get_more span{ display: inline-block; width: 10px; height: 10px; margin-left: 6px; background: url('http://n.sinaimg.cn/97973pic/more.png') no-repeat 0 -20px; background-size: 100% 400%;}
a.get_more:active{ background-color: #5e5e5e; color: #fff;}
a.get_more:active span{ background-position: 0 -30px;}

/*---- 搜索 ----*/
.search_wrap{ padding: 15px 10px; background-color: #fff; margin-top: 15px; border-bottom: 1px solid #e7e7e7;}
.search_wrap form.search{ height: 32px; position: relative;}
.search_wrap .sipt{ width: 95%; padding-left: 5%; height: 32px; background-color: #ebebeb; border: none; border-radius: 16px; font-family: 'Microsoft Yahei'; font-size: 1.4rem; color: #797979;}
.search_wrap .clearall{ width: 16px; height: 16px; border-radius: 8px; font-family: "SimSun"; font-size: 0.8rem; font-weight: bold; color: #fff; text-align: center; line-height: 16px; background-color: #ababab; position: absolute; right: 45px; top: 8px;}
.search_wrap .clearall:active{ background-color: #f42d2d;}
.search_wrap .sbtn{ width: 42px; height: 32px; border-radius: 16px; background: url('http://n.sinaimg.cn/97973pic/sbtn.png') no-repeat; background-size: 100% 200%; position: absolute; right: 0; top: 0;}
.search_wrap .sbtn:active{ background-color: #f42d2d; background-position: 0 -32px;}

/*---- 热门饭店 ----*/
.tool_wrap{ background-color: #fff; margin-top: 15px; border-bottom: 1px solid #e7e7e7;}
.tool_box{ padding: 0 10px;}
.tool_box ul{ margin-top: -15px;}
.tool_box li{ position: relative; height: 47px; padding: 15px 0; border-bottom: 1px solid #f1f1f1;}
.tool_box li:last-child{ border-bottom: none;}
.tool_box li img{ width: 47px; height: 47px; border-radius: 10px; float: left; margin-right: 19px;}
.tool_box li h6{ font-size: 1.6rem; line-height: 23px; font-weight: normal;}
.tool_box li p{ font-size: 1.4rem; line-height: 15px; color: #888; margin-top: 8px;}
.tool_box li a.tool_btn{ display: block; width: 38px; height: 38px; background-color: #fff; border: 1px solid #aeddfe; border-radius: 38px; background: url('http://n.sinaimg.cn/97973pic/tool.png') no-repeat; background-size: 100% 200%; text-indent: -999em; position: absolute; right: 0; top: 19px;}
.tool_box li a.tool_btn:active{ background-color: #35aafc; border-color: #35aafc; background-position: 0 -38px;}

/*---- 底部 ----*/
footer{ background-color: #fff; margin-top: 15px;}
footer nav{ height: 40px;}
footer nav a{ display: inline-block; width: 20%; font-size: 1.6rem; text-align: center; line-height: 40px;}
footer .about{ height: 68px; padding: 16px 0; background-color: #fd3939;}
footer .about span{ display: inline-block; width: 33%; position: relative;}
footer .about a{ display: block; font-size: 1.6rem; line-height: 34px; color: #fff; text-align: center;}
footer .about i{ display: block; width: 1px; height: 50px; background-color: #d43030; position: absolute; right: 0; top: 9px;}

/*---- 返回顶部 ----*/
.backtop{ width: 40px; height: 40px; position: fixed; right: 10px; bottom: 20px; overflow: hidden;}
.backtop a{ display: block; width: 100%; height: 100%; border-radius: 20px; background: rgba(0,0,0,0.6) url('http://n.sinaimg.cn/97973pic/backtop.png') no-repeat; background-size: 100% 100%; text-indent: -999em;}
.backtop a:active{ background-color: rgba(253,57,57,1);}
