/* CSS Document */
@import "base.css";
/*礼包导航*/
.gift-nav {overflow: hidden; background: #f2f2f2; padding-bottom: 15px; }
.gift-nav nav { width: 100%; height: 110px; display: -moz-box; display: -webkit-box; margin-left: -1px; zoom: 1; background: #fff; border-bottom: #ccc 1px solid;}
.gift-nav nav a { height: 100px; width: 50%; padding: 5px 0; line-height:1; display: block; text-align: center; border-left: 1px solid #f0f0f0; color: #666; box-flex: 1.0; -moz-box-flex: 1.0; -webkit-box-flex: 1.0;-webkit-tap-highlight-color:transparent; }
.gift-nav .icon-all{background: url("../images/fahao_icon_all.png") no-repeat; }
.gift-nav .icon-my{background: url("../images/fahao_icon_my.png") no-repeat;}
.gift-nav .icon-all,.gift-nav .icon-my{ display: block; width: 61px; height: 61px; margin:10px auto 8px auto;background-size: 61px auto; }
.gift-nav nav a:active,.gift-nav nav a.curr{ background: #f0f0f0;}
/*礼包列表*/
.gift-list { padding: 0 10px; }
.gift-list li, .grid .gift-box .gbt { padding: 15px 0; border-bottom: 1px dashed #e8e8e8; }
.gift-list li a { width: 100%; height: 50px; display: -moz-box; display: -webkit-box; position: relative; }
.gift-list li a .gift-icon, .grid .gift-box .gbt .gift-icon, .grid .gift-game .ggt .gift-icon { width: 50px; height: 50px; margin-right: 8px; position: relative; }
.gift-list li a .gift-icon img, .grid .gift-box .gbt .gift-icon img, .grid .gift-game .ggt .gift-icon img { border-radius: 10px; }
.gift-list li a .gift-info, .grid .gift-box .gbt .gift-info, .grid .gift-game .ggt .gift-info { -moz-box-flex: 1.0; -webkit-box-flex: 1.0; }
.gift-list li a .gift-info div, .grid .gift-box .gbt .gift-info div, .grid .gift-game .ggt .gift-info div { line-height: 28px; font-size: 14px; color: #333; font-weight: 300; }
.gift-list li a .gift-info p, .grid .gift-box .gbt .gift-info p, .grid .gift-game .ggt .gift-info p { line-height: 22px; font-size: 12px; color: #999; }
.gift-list li a .gift-info p em { color: #333; }
.gift-list li a .gift-info p strong, .grid .gift-game .ggt .gift-info p strong { color: #ff9600; }
.gift-list li a span.right-arrow { width: 12px; height: 21px; display: block; background: url("../images/r_arrow.png") no-repeat; background-size: 12px auto; position: absolute; top: 50%; margin-top: -10px; right: 0; }
/*推荐礼包*/
.grid .gift-recommend { overflow: hidden; padding: 7px 0; }
.grid .gift-recommend a:nth-child(odd) { float: left; padding-right: 10px; }
.grid .gift-recommend a:nth-child(even) { float: right; padding-left: 10px; }
.grid .gift-recommend a { width: 50%; height: 50px; display: block; overflow: hidden; box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; margin: 8px 0; }
.grid .gift-recommend a .mask { float: left; width: 50px; height: 50px; }
.grid .gift-recommend a .mask img { border-radius: 10px; }
.grid .gift-recommend a .info { float: left; width: 60%; height: 50px; margin-left: 6px; }
.grid .gift-recommend a .info div { font-size: 14px; line-height: 17px; word-wrap: break-word; }
.grid .gift-recommend a .info p { font-size: 12px; line-height: 16px; color: #ff9600; }
.grid .gift-recommend a .info p em { color: #666; }

/*礼包详情*/
.grid .gift-box .gbt { width: 100%; height: 50px; display: -moz-box; display: -webkit-box; position: relative; }
.grid .gift-box .gbt .gift-info p { font-size: 14px; }
.grid .gift-box .gbt .gift-info p em { color: #666; }
.grid .gift-box .gbb { padding: 10px 0; }
.grid .gift-box .gbb p { height: 24px; line-height: 24px; font-size: 12px; color: #999; }
.grid .gift-box .gbb p span { height: 12px; display: inline-block; vertical-align: text-top; margin: 0 3px; }
.grid .gift-box .gbb p span.android { width: 12px; background: url("../images/android.png") no-repeat; background-size: 12px auto; }
.grid .gift-box .gbb p span.iphone { width: 10px; background: url("../images/iphone.png") no-repeat; background-size: 10px auto; }
.grid .gift-box .gbb p progress { height: 8px; background: #ccc; border: none; border-radius: 5px; vertical-align: baseline; margin-right: 3px; color: #ff9600; }
.grid .gift-box .gbb p progress::-webkit-progress-value {
    background:#ff9600;
    border-radius:5px;
}
.grid .gift-box .gbb p progress::-webkit-progress-bar {
    background:transparent;
}
.grid .gift-box .gbb p progress::-moz-progress-bar {
    background:#ff9600;
    border-radius:5px;
}
.grid .gift-box .gbb p i, .grid .gift-box .gbb p em strong { color: #ff9600; }
.grid .gift-box .gbb p em { color: #f00; }
.grid .gift-box .gbb p em a { color: #0096ff; }
.grid .gift-box .gbb a.go { width: 100%; height: 32px; display: block; border-radius: 16px; line-height: 32px; text-align: center; background: #ff9600; color: #fff; margin-top: 5px; }

/*礼包描叙*/
.gift-cont { border-bottom: 1px dashed #ddd; margin: 15px 0; padding-bottom: 10px; }
.gift-cont dt { color: #666; line-height: 1; margin-bottom: 5px; }
.gift-cont dd { font-size: 12px; line-height: 24px; margin-bottom: 10px;  }

/*礼包大全搜索关键字*/
.search-kw{ margin:-5px 10px 0 10px;}
.search-kw dd { clear: both; overflow: hidden; margin-right: -10px; padding-bottom: 15px;}
.search-kw dd span{ float: left; width: 80px; text-align: center; margin:9px 9px 0 0; line-height: 24px; border-radius: 12px; border:#ccc 1px solid; color: #999;}
.search-kw dd span.current{ border-color: #f90; color: #f90;}
.search-kw-btnbox{ display: block; clear: both; height:47px; padding: 15px 0;margin:0 15px; text-align: center; overflow: hidden; background: #fff; /*display: -webkit-box; display: box; display: -webkit-flex; display: flex; display: -webkit-flex-box; display:flex-box;*/ border-top:#f0f0f0 1px dashed;}
.search-kw-btnbox button{ /*  -webkt-flex:1;  flex:1;  -webkit-box-flex:1;  box-flex:1;*/ display:inline-block; width:calc(50% - 20px); line-height: 30px; height: 30px;border-radius: 15px; margin:0 10px; font-size: 14px;}
.search-kw-btnbox button.cancel{border:#ccc 1px solid; color: #999; }
.search-kw-btnbox button.ok{border:#f90 1px solid; color: #fff; background: #f90;}

/*登录绑定-邮箱绑定*/
.bang-login,.bang-email{ position: absolute;top:15px; width: 20px; height: 20px; text-align: center; line-height: 20px; border-radius: 50%; background: #b3b3b3; color: #fff; font-size: 12px;}
.bang-login{ right: 25px;}
.bang-email{ right: 0;}
.bang-login.bang-ok{ background: #3cf;}
.bang-email.bang-ok{ background: #3c9;}
/*绑定弹出层*/
.bang-pop{ position: fixed; left: 50%; top:50%; width: 80%; margin: -40% 0 0 -40%; background: #fff; border-radius: 5px; z-index: 9999; display: none;}
.bang-close{ position: absolute; top:5px; right: 10px; width: 20px; height: 20px; background: url("../images/close.png") no-repeat; background-size: 20px auto;}
.bang-pop-title{ border-bottom: #f90 2px solid; padding: 0 10px; line-height: 30px; color: #999; font-size: 15px;}
.bang-pop-main{ padding:20px 15px; text-align: center; }
.bang-pop-main p{ line-height: 1.8;}
.bang-pop-btn{ display: block; width: 80%; margin: 20px auto 0 auto; background: #f90; color: #fff; line-height: 30px; border: 0; border-radius: 5px; font-size: 14px;}

.p0 .search-container{ padding-bottom: 15px;}

/*游戏礼包头部*/
.grid .gift-game .ggt { width: 100%; padding: 10px 0; display: -moz-box; display: -webkit-box; position: relative; }
.grid .gift-game .ggt a.download { width: 40px; height: 40px; display: block; background: url("../images/download.png") no-repeat; position: absolute; top: 50%; margin-top: -20px; right: 0; }
.grid .gift-game .btn { height: 30px; overflow: hidden; padding-bottom: 10px; }
.grid .gift-game .btn a { width: 140px; height: 28px; display: block; line-height: 28px; text-align: center; border-radius: 20px; }
.grid .gift-game .btn a.green { float: left; color: #17c33b; border: 1px solid #17c33b; }
.grid .gift-game .btn a.blue { float: right; color: #0096ff; border: 1px solid #0096ff; }
.grid .gift-game .search-container { margin: 10px 0; }
/*游戏礼包领取列表*/
.grid .get-list ul{ margin-bottom: 15px;}
.grid .get-list li { border-bottom: 1px dashed #ddd; padding: 9px 0; }
.grid .get-list li a { width: 100%; height: 30px; display: block; overflow: hidden; }
.grid .get-list li a i { float: left; width: 18px; height: 18px; display: block; margin: 6px 6px 6px 0; line-height: 18px; text-align: center; color: #fff; }
.grid .get-list li a i.new { background: #ff403b; }
.grid .get-list li a i.only { background: #ff9a0a; }
.grid .get-list li a p { float: left; width: 60%; line-height: 30px; color: #333; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.grid .get-list li a span { float: right; width: 56px; height: 28px; display: block; line-height: 28px; text-align: center; border-radius: 16px; }
.grid .get-list li a span.get { border: 1px solid #24c646; color: #24c646; }
.grid .get-list li a span.tao { border: 1px solid #ff9600; color: #ff9600; }

/*礼包码弹出层*/
.gift-pop { width: 100%; display: none; height: 100%; position: fixed; top: 0; left: 0; z-index: 99; }
.gift-code { width: 100%; padding: 30px 0; background: #fff; text-align: center; position: absolute; top: 40px; left: 0; z-index: 100; }
.gift-code h4 { line-height: 30px; font-size: 16px; font-weight: bold; color: #000; }
.gift-code p { line-height: 26px; font-size: 18px; color: #333; }
.gift-code p.tips { font-size: 12px; color: #f00; }