/*
Theme Name: DouPHP 默认模板
Theme URI: http://demo.douphp.com/
Description: DouPHP 默认模板
Version: 1.0
Author: DouCo Co.,Ltd. Co.,Ltd.
Author URI: https://www.douphp.com/
*/

/* 主体框架
 ----------------------------------------------- */
#wrapper .container {
  padding: 0 15px;
}
@media (min-width: 1200px) {
  #wrapper .container {
    width: 1200px;
    margin: 0 auto;
  }
}
/* -- top -- */
#header .top {
  height: 50px;
  border-bottom: 1px solid #eee;
  text-align: right;
}
/* top-nav */
#header .top .top-nav {
  float: left;
  position: relative;
  z-index: 1000;
  height: 50px;
  margin-left: -7px;
}
@media (max-width: 768px) {
  #header .top .top-nav {
    display: none;
  }
}
/* userTop */
#header .top .user-top {
  float: right;
}
#header .top li {
  float: left;
  zoom: 1;
  text-align: center;
}
#header .top li.spacer {
  overflow: hidden;
  margin: 20px 5px 0;
  width: 1px;
  height: 12px;
  background-color: #bbb;
}
#header .top li a {
  padding: 0 7px;
  height: 50px;
  line-height: 50px;
  color: #333;
}
#header .top li a b {
  color: #19b4ea;
}
#header .top li.hover {
  position: relative;
  border-bottom: 0;
}
#header .top li.hover s {
  border-left: 1px solid #fff;
}
#header .top .top-nav ul {
  background: #ffffff;
  border: 1px solid #dddddd;
  border-top: 0;
  width: 100%;
  display: none;
  position: absolute;
  top: 100%;
  left: -1px;
  padding-bottom: 4px;
}
#header .top .top-nav ul li {
  float: none;
}
#header .top li.hover ul li {
  border: none;
}
#header .top li.hover ul li a {
  height: 35px;
  line-height: 35px;
}
/* -- head -- */
#header .head {
  background-color: #f5f5f5;
}
#header .head .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 65px;
}
#header .head .logo {
}
#header .head .logo img {
  height: 35px;
}
#header .head .search-box {
  height: 22px;
  padding: 4px 10px;
  border: 1px solid #dddddd;
  background-color: #fff;
  padding-left: 10px;
  position: relative;
  box-sizing: content-box;
}
@media (max-width: 768px) {
  #header .head .search-box {
    display: none;
  }
}
#header .head .search-box .keyword {
  width: 360px;
  color: #cccccc;
}
#header .head .search-box .btn-search {
  position: absolute;
  right: 0;
  top: 0;
  background-color: #eee;
  width: 86px;
  height: 30px;
  overflow: hidden;
  cursor: pointer;
}
#header .head .search-box .btn-search i {
  font-size: 14px;
  color: #999;
}
/* -- footer -- */
#footer .copy-right {
  padding: 30px 0;
  text-align: center;
  border-top: 1px solid #eee;
  margin-top: 40px;
}
#footer .net-safe-record {
  margin-left: 10px;
}
#footer .net-safe-record img {
  vertical-align: bottom;
}
/* 会员中心
----------------------------------------------- */
#user {
  zoom: 1;
  overflow: hidden;
  min-height: 500px;
}
#user .userLeft {
  float: left;
  width: 160px;
  margin-right: 30px;
}
#user .userIn {
  margin-left: 190px;
  overflow: hidden;
}
@media (max-width: 768px) {
  #user {
    min-height: auto;
  }
  #user .userLeft {
    float: none;
    width: auto;
    margin-right: 0;
  }
  #user .userIn {
    margin-left: 0;
  }
}
#user .userIn .main {
  margin-top: 25px;
  padding: 20px 30px;
  border: 1px solid #eee;
}
@media (max-width: 768px) {
  #user .userIn .main {
    padding: 20px 0;
    border: 0;
  }
}
#user .userIn .main h3 {
  color: #555;
  font-size: 26px;
  padding-bottom: 20px;
  font-weight: normal;
}
#user .userIn .main h3 .more {
  float: right;
  color: #888;
  font-size: 12px;
  margin-top: 9px;
  font-weight: normal;
}
#user .userIn .main h3 .action {
  float: right;
  display: inline-block;
  background-color: #28b779;
  padding: 0 20px;
  height: 27px;
  line-height: 27px;
  color: #ffffff;
  font-size: 13px;
  font-weight: bold;
  margin-left: 10px;
}
/* -- passport -- */
#user .passport {
  padding: 50px 0 80px 0;
}
#user .passport .register h3 {
  font-size: 30px;
  font-weight: bold;
  color: #000;
  border-bottom: 1px dashed #cccccc;
  padding-bottom: 20px;
  margin-bottom: 40px;
}
#user .passport .register h3 em {
  display: block;
  color: #999;
  font-size: 12px;
  font-weight: normal;
  margin-top: 15px;
}
#user .passport .register h3 a {
  color: #19b4ea;
}
#user .passport .register .btn,
#user .passport .register .btn-secondary {
  width: 200px;
}
#user .passport .login {
  margin: 0 auto;
  width: 320px;
}
#user .passport .login h3 {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 40px;
}
#user .passport .login h3 em {
  display: block;
  color: #999;
  font-size: 12px;
  font-weight: normal;
  margin-top: 5px;
}
#user .passport .login .input {
  width: 100%;
}
#user .passport .login .btn {
  width: 100%;
}
#user .passport .login .btnRegister {
  display: block;
  width: 318px;
  border: 1px solid #cccccc;
  color: #555555;
  padding: 6px 0;
  cursor: pointer;
  font-weight: bold;
  text-align: center;
}
/* -- .action-box -- */
#user .passport .action-box {
  margin: 0 auto;
  width: 320px;
}
#user .passport .action-box h3 {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 40px;
}
#user .passport .action-box h3 em {
  display: block;
  color: #999;
  font-size: 12px;
  font-weight: normal;
  margin-top: 5px;
}
#user .passport .action-box .type {
  margin-bottom: 25px;
}
#user .passport .action-box .type a {
  display: inline-block;
  background-color: #ddd;
  padding: 5px 25px;
  margin-right: 10px;
  color: #555;
}
#user .passport .action-box .type a.active {
  background-color: #19b4ea;
  color: #fff;
}
#user .passport .action-box .account {
  color: #999;
}
#user .passport .action-box .input {
  width: 100%;
}
#user .passport .action-box .btn {
  width: 100%;
}
/* -- userTree -- */
#user .userTree {
  margin-top: 25px;
}
#user .userTree h3 {
  background-color: #ddd;
  line-height: 100px;
  color: #555;
  font-weight: normal;
  font-size: 18px;
  text-align: center;
}
@media (max-width: 768px) {
  #user .userTree h3 {
    line-height: 60px;
    color: #555;
    font-weight: normal;
    font-size: 16px;
    text-align: center;
  }
}
#user .userTree ul {
  padding-top: 5px;
}
#user .userTree li a {
  display: block;
  padding: 8px 10px;
  color: #555;
  font-size: 14px;
}
#user .userTree li.cur {
  background-color: #19b4ea;
}
#user .userTree li.cur a {
  color: #fff;
}
#user .userTree .searchBox {
  margin: 20px 0;
}
#user .userTree .searchBox .keyword {
  width: 136px;
}
/* -- btnAction -- */
#user .btnAction a {
  display: block;
  margin: 0 0 10px auto;
  width: 120px;
  line-height: 30px;
  border: 1px solid #ddd;
  text-align: center;
  color: #777;
}
#user .btnAction a:hover {
  border: 1px solid #999;
  background-color: #999;
  color: #fff;
}
#user .btnAction a.pay {
  border: 1px solid #e4393c;
  color: #e4393c;
}
#user .btnAction a.pay:hover {
  background-color: #e4393c;
  color: #fff;
}
/* -- startPage -- */
#user .startPage {
  padding: 10px;
}
#user .startPage .basicInfo .basic {
  padding: 30px 0 20px 150px;
  border-bottom: 1px solid #ddd;
  position: relative;
  min-height: 128px;
  height: auto;
  margin-bottom: 16px;
}
#user .startPage .basicInfo .basic h2 {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 8px;
}
#user .startPage .basicInfo .basic .level-capsule {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 10px;
  padding: 3px 10px 3px 8px;
  background: #19b4ea;
  border-radius: 20px;
  line-height: 1.2;
  color: #fff;
  text-decoration: none;
}
#user .startPage .basicInfo .basic .level-capsule .bi {
  font-size: 13px;
  color: #fff;
}
#user .startPage .basicInfo .basic .level-capsule em {
  font-style: normal;
  font-size: 11px;
  font-weight: 500;
  color: #fff;
}
#user .startPage .basicInfo .basic p {
  color: #999;
  margin-bottom: 10px;
}
#user .startPage .basicInfo .basic a.link,
#user .startPage .basicInfo .basic a.btn-mini {
  color: #19b4ea;
}
#user .startPage .basicInfo .growth-card {
  background: #f4fbfe;
  border: 1px solid #d4eef8;
  border-radius: 4px;
  padding: 12px 16px;
  margin-bottom: 20px;
}
#user .startPage .basicInfo .growth-card .growth-info {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 9px;
  font-size: 13px;
  color: #555;
  line-height: 1.4;
}
#user .startPage .basicInfo .growth-card .growth-info .cur {
  flex-shrink: 0;
}
#user .startPage .basicInfo .growth-card .growth-info .gap {
  text-align: right;
  color: #19b4ea;
}
#user .startPage .basicInfo .growth-card .growth-bar {
  height: 6px;
  border-radius: 3px;
  background: #dceef6;
  overflow: hidden;
}
#user .startPage .basicInfo .growth-card .growth-bar-inner {
  height: 100%;
  min-width: 0;
  border-radius: 3px;
  background: #19b4ea;
}
#user .startPage .basicInfo .growth-card .growth-bar-inner.has-progress {
  min-width: 8px;
}
@media (max-width: 768px) {
  #user .startPage .basicInfo .growth-card .growth-info {
    flex-wrap: wrap;
    font-size: 12px;
  }
}
#user .startPage .basicInfo .basic .avatar {
  position: absolute;
  left: 0;
  top: 0;
  padding: 4px;
  border: 1px solid #e0e0e0;
  border-radius: 120px;
}
#user .startPage .basicInfo .info {
  font-size: 14px;
  zoom: 1;
  overflow: hidden;
  margin-bottom: 30px;
}
#user .startPage .basicInfo .info li {
  padding: 8px 0;
  color: #999;
  width: 33%;
  float: left;
}
#user .startPage .promotion {
}
#user .startPage .promotion h2 {
  font-size: 14px;
  margin-bottom: 5px;
}
#user .startPage .promotion .link {
  margin-bottom: 20px;
  color: #999;
}
#user .startPage .promotion .qrcode img {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* 水平偏移 0，垂直偏移 2px，模糊 8px，透明度 0.1 */
}
/* -- sns -- */
#user .snsIcon a {
  display: inline-block;
  width: 30px;
  height: 30px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -o-border-radius: 50%;
  border-radius: 50%;
  margin-right: 10px;
}
#user .snsLink {
  font-weight: bold;
  margin-bottom: 40px;
  text-align: center;
}
#user .snsLink .head {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 40px;
}
#user .snsLink .img img {
  width: 100px;
  height: 100px;
  border: 1px solid #e0e0e0;
  border-radius: 100px;
}
#user .snsLink .action {
  margin-top: 40px;
}
#user .snsList dl {
  zoom: 1;
  overflow: hidden;
  padding: 15px 0;
  border-top: 1px dotted #ddd;
  line-height: 30px;
}
#user .snsList dt {
  float: left;
}
#user .snsList dt i {
  display: inline-block;
  width: 30px;
  height: 30px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -o-border-radius: 50%;
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
}
#user .snsList dt em {
  color: #19b4ea;
}
#user .snsList dd {
  float: right;
}
#user .snsList dd a {
  color: #0072c6;
}
/* -- wxlogin -- */
#user .wxlogin a {
  display: block;
  border: 1px solid #eee;
  width: 180px;
  text-align: center;
}
#user .wxlogin a .fa {
  height: 120px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -o-border-radius: 50%;
  border-radius: 50%;
  font-size: 80px;
  text-align: center;
  line-height: 120px;
  color: #44ae64;
}
#user .wxlogin a .name {
  padding-bottom: 20px;
  font-size: 18px;
  color: #555;
}
/* -- orderList -- */
#user .orderList {
  border-top: 1px solid #ddd;
}
#user .orderList .item {
  border-bottom: 1px solid #ddd;
  margin-bottom: 20px;
}
#user .orderList .item .status {
  padding: 15px 0 1px 0;
  color: #b0b0b0;
  font-size: 18px;
}
#user .orderList .item .detail .info {
  border-bottom: 1px solid #eee;
  padding: 1px 20px 15px 0;
}
#user .orderList .item .detail .info em {
  margin-right: 10px;
}
@media (max-width: 768px) {
  #user .orderList .item .detail .info em {
    margin-right: 0;
    display: block;
    margin-top: 5px;
  }
}
#user .orderList .item .detail .amount {
  width: 180px;
  border-bottom: 1px solid #eee;
  padding: 1px 0 15px 20px;
  text-align: right;
}
#user .orderList .item .detail .amount b {
  font-size: 16px;
}
#user .orderList .item .detail .list {
  vertical-align: top;
}
#user .orderList .item .detail .list .listBox dl {
  height: 64px;
  margin: 15px 0;
  padding: 10px 10px 10px 0;
  line-height: 22px;
  color: #333;
}
#user .orderList .item .detail .list .listBox dl.img {
  position: relative;
  padding-left: 80px;
}
#user .orderList .item .detail .list .listBox dl .image {
  position: absolute;
  left: 0;
  top: 0;
  width: 60px;
  height: 60px;
  background-color: #eee;
}
@media (max-width: 992px) {
  #user .orderList .item .detail .list .listBox dl.img dt {
    display: none;
  }
  #user .orderList .item .detail .list .listBox dl.img dd {
    display: none;
  }
}
#user .orderList .item .detail .action {
  padding: 15px 0;
  text-align: right;
  vertical-align: top;
}
/* -- order -- */
#user .order .head {
  margin-bottom: 30px;
}
#user .order .head .title {
  border-bottom: 1px solid #ddd;
  zoom: 1;
  overflow: hidden;
  margin-bottom: 10px;
}
#user .order .head .title h2 {
  float: left;
  font-size: 18px;
  font-weight: 400;
  color: #333;
}
#user .order .head .title .action {
  float: right;
}
@media (max-width: 768px) {
  #user .order .head .title h2 {
    width: 50%;
    color: #888;
  }
}
#user .order .head .subTitle {
  padding: 5px 0;
  color: #999;
  font-size: 14px;
}
#user .order .head .subTitle span {
  margin-right: 15px;
}
#user .order .itemList {
  width: 100%;
  border-top: 1px solid #eee;
}
#user .order .itemList td {
  border-bottom: 1px solid #eee;
  padding: 10px;
  text-align: left;
}
#user .order .info-box {
  margin-top: 30px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 20px;
}
#user .order .info-box h2 {
  font-size: 18px;
  font-weight: 400;
  color: #333;
  margin-bottom: 10px;
}
#user .order .info-box ul {
  line-height: 200%;
  color: #999;
  font-size: 14px;
}
#user .order .totalAmount {
  text-align: right;
  padding-top: 20px;
  line-height: 200%;
  font-size: 16px;
  color: #999;
}
/* -- contact-box -- */
#user .contact-box .list {
}
#user .contact-box .list .item {
  margin-bottom: 25px;
  border: 1px solid #eee;
  padding: 15px 20px 20px 20px;
}
#user .contact-box .list .item .text {
  color: #999;
}
#user .contact-box .list .item .head {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
}
#user .contact-box .list .item .head a {
  float: right;
  color: #999;
}
#user .contact-box .list .item .head i {
  display: inline-block;
  background-color: #ffaa45;
  color: #fff;
  padding: 0 10px;
  font-size: 12px;
}
#user .contact-box .list .item .info {
  color: #999;
}
#user .contact-box .list .item .info em {
  margin-right: 20px;
}
#user .contact-box .list .item .handle {
  margin-top: 20px;
  text-align: right;
}
#user .contact-box .list .item .handle .action {
  display: inline-block;
  background-color: #eee;
  color: #555;
  padding: 3px 10px;
  margin-left: 10px;
}
#user .order .orderTimeline {
  border: 1px solid #eee;
  padding: 15px 20px;
  margin-bottom: 20px;
  background-color: #fafafa;
}
#user .order .orderTimeline h4 {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 12px;
}
#user .order .orderTimeline ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
#user .order .orderTimeline li {
  position: relative;
  padding: 0 0 14px 18px;
  border-left: 2px solid #e5e5e5;
  color: #999;
  line-height: 20px;
}
#user .order .orderTimeline li:last-child {
  padding-bottom: 0;
}
#user .order .orderTimeline li:before {
  content: "";
  position: absolute;
  left: -6px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ffaa45;
}
#user .order .orderTimeline li .tlTime {
  margin-right: 15px;
}
#user .order .orderTimeline li .tlStatus {
  color: #333;
  font-weight: bold;
  margin-right: 15px;
}
#user .order .orderTimeline li .tlReason {
  display: block;
  color: #999;
  margin-top: 2px;
}
#user .orderTab {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}
#user .orderTab a {
  display: inline-block;
  padding: 4px 14px;
  color: #666;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-size: 13px;
}
#user .orderTab a.cur {
  background-color: #ffaa45;
  border-color: #ffaa45;
  color: #fff;
}
