/*reset*/
* {
  padding: 0;
  margin: 0;
  border: none; }

html, body {
  font-family: Helvetica, Arial, 'PingFang SC','Hiragino Sans GB', 'Microsoft YaHei', sans-serif; }

a {
  text-decoration: none; }

ul, ol {
  list-style: none; }

input, select {
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent; }

body {
  /*background-color: #ffe15b;*/
  width: 100%;
  color: #341e00; }

.wrapper {
  max-width: 500px;
  overflow: hidden;
  margin: 0 auto;
  font-size: 0; }

.baby-toplogo {
  width: 100%; }

.baby-toptime {
  text-align: center;
  color: #E22A1E;
  background-color: #feec85; }
  .baby-toptime img {
    width: 82%;
    margin: 12px 0 18px 0; }
  .baby-toptime p {
    font-size: 16px;
    line-height: 25px; }
  .baby-toptime-cutdown span {
    font-size: 12px; }
  .baby-toptime-tip {
    font-size: 14px !important;
    padding: 0 0 10px 0; }

.baby-count {
  background-color: #fff8d2;
  font-size: 14px;
  text-align: center;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex; }
  .baby-count h4 {
    font-weight: normal; }
  .baby-count p {
    color: #E22A1E;
    margin-top: 10px;
    font-size: 20px; }
  .baby-count-left, .baby-count-right {
    width: 50%;
    padding: 14px 0; }

.baby-vote {
  background-color: #fff; }
  .baby-vote-search {
    width: 92%;
    margin: 22px auto;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex; }
    .baby-vote-search input {
      border: 1px solid #E22A1E;
      border-top-left-radius: 5px;
      border-bottom-left-radius: 5px;
      border-top-right-radius: 0;
      border-bottom-right-radius: 0;
      width: 70%;
      height: 38px;
      padding: 0 3%;
      outline: none;
      font-size: 18px;
      line-height: 38px; }
    .baby-vote-search button {
      background: #E22A1E;
      border-top-right-radius: 5px;
      border-bottom-right-radius: 5px;
      color: #fff;
      width: 25%;
      font-size: 18px;
      height: 40px;
      outline: none; }
  .baby-vote-tabbar {
    font-size: 14px;
    margin: 32px 0; }
    .baby-vote-tabbar-con {
      width: 60%;
      margin: 0 auto;
      display: -webkit-box;
      display: -webkit-flex;
      display: flex; }
    .baby-vote-tabbar .baby-vote-tabbar-left, .baby-vote-tabbar .baby-vote-tabbar-right {
      border: 1px solid #E22A1E;
      width: 50%;
      padding: 6px 0;
      text-align: center;
      color: #333; }
    .baby-vote-tabbar .active {
      background-color: #E22A1E;
      color: #fff; }
    .baby-vote-tabbar .baby-vote-tabbar-left {
      border-top-left-radius: 5px;
      border-bottom-left-radius: 5px;
      border-right: none; }
    .baby-vote-tabbar .baby-vote-tabbar-right {
      border-top-right-radius: 5px;
      border-bottom-right-radius: 5px; }

.baby-content {
  margin: 0 2%;
  position: relative; }
  .baby-content-item {
    margin: 8px 2%;
    width: 46%;
    position: relative; }
    .baby-content-item .baby-content-item-num {
      position: absolute;
      left: 9px;
      top: 0;
      font-size: 14px;
      padding: 2px 8px 7px 8px;
      background-image: url(../img/tagbg.png);
      background-position: center center;
      background-size: 100% 100%;
      background-repeat: no-repeat;
      color: #E22A1E; }
    .baby-content-item-b {
      border: 1px solid #f58d87;
      border-radius: 6px;
      padding: 8px;
      font-size: 16px;
      line-height: 22px; }
      .baby-content-item-b img {
        width: 100%; }
      .baby-content-item-b p {
        padding: 2px 0 2px 0; }
      .baby-content-item-b .baby-content-item-txt {
        display: block;
        padding: 2px 0 10px 0;
        color: #999999;
        font-size: 12px; }
      .baby-content-item-b .baby-content-item-button {
        display: -webkit-box;
        display: -webkit-flex;
        display: flex;
        background-color: #E22A1E;
        border-radius: 5px;
        color: #fff;
        padding: 6px 0;
        cursor: pointer; }
        .baby-content-item-b .baby-content-item-button .left, .baby-content-item-b .baby-content-item-button .right {
          width: 50%;
          text-align: center;
          line-height: 20px; }
        .baby-content-item-b .baby-content-item-button .left {
          font-size: 12px; }
        .baby-content-item-b .baby-content-item-button .right {
          font-size: 14px; }

.paging {
  font-size: 16px;
  text-align: center;
  padding: 20px 0; }
  .paging .page-pre, .paging .page-next {
    display: inline-block;
    border-radius: 5px;
    border: 1px solid #E22A1E; }
    .paging .page-pre a, .paging .page-next a {
      display: block;
      color: #333;
      padding: 4px 22px; }

.baby-rules {
  padding: 10px 4% 0 4%;
  text-align: center; }
  .baby-rules img {
    width: 24%;
    margin: 18px 0; }
  .baby-rules p {
    text-align: left;
    font-size: 15px;
    line-height: 24px; }
  .baby-rules .baby-qrcode {
    width: 100%;
    margin: 18px 0 0 0;
    text-align: center; }
    .baby-rules .baby-qrcode p {
      text-align: center; }

.baby-qrcode-pic {
  width: 100%; }

.baby-detail {
  width: 92%;
  margin: 10px auto;
  position: relative; }
  .baby-detail .baby-back {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 32px;
    height: 32px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 100%; }
    .baby-detail .baby-back a {
      display: block; }
      .baby-detail .baby-back a img {
        width: 82%;
        padding: 9%; }
  .baby-detail-pic {
    width: 100%; }
  .baby-detail-txt {
    font-size: 16px;
    background-color: #fff;
    padding: 10px;
    margin-top: 12px;
    border-radius: 5px; }
    .baby-detail-txt .baby-detail-vote {
      display: flex;
      display: -webkit-box;
      display: -webkit-flex;
      margin: 2px 0 0 0; }
      .baby-detail-txt .baby-detail-vote .baby-name-iblock {
        -webkit-box-flex: 1;
        -webkit-flex: 1;
        flex: 1;
        display: flex;
        display: -webkit-box;
        display: -webkit-flex;
        padding: 6px 0; }
        .baby-detail-txt .baby-detail-vote .baby-name-iblock p {
          -webkit-box-flex: 1;
          -webkit-flex: 1;
          flex: 1;
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis; }
        .baby-detail-txt .baby-detail-vote .baby-name-iblock span {
          -webkit-box-flex: 1;
          -webkit-flex: 1;
          flex: 1;
          color: #999999;
          font-size: 12px;
          line-height: 22px;
          text-align: center; }
      .baby-detail-txt .baby-detail-vote .baby-vote-iblock {
        -webkit-box-flex: 1;
        -webkit-flex: 1;
        flex: 1;
        display: flex;
        display: -webkit-box;
        display: -webkit-flex;
        text-align: center;
        font-size: 14px; }
        .baby-detail-txt .baby-detail-vote .baby-vote-iblock .baby-vote-iblock-count, .baby-detail-txt .baby-detail-vote .baby-vote-iblock .baby-vote-iblock-vote {
          -webkit-box-flex: 1;
          -webkit-flex: 1;
          flex: 1;
          background-color: #E22A1E;
          color: #fff;
          line-height: 34px; }
        .baby-detail-txt .baby-detail-vote .baby-vote-iblock .baby-vote-iblock-count {
          border-top-left-radius: 5px;
          border-bottom-left-radius: 5px; }
        .baby-detail-txt .baby-detail-vote .baby-vote-iblock .baby-vote-iblock-vote {
          border-top-right-radius: 5px;
          border-bottom-right-radius: 5px; }
    .baby-detail-txt .baby-desc {
      color: #999999;
      font-size: 14px;
      margin-top: 24px; }

.mtg-confirm {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8); }
  .mtg-confirm-dialog {
    position: fixed;
    z-index: 5000;
    width: 80%;
    max-width: 300px;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background-color: #fff;
    text-align: center;
    border-radius: 3px;
    overflow: hidden; }
    .mtg-confirm-dialog-tip {
      padding: 1.4em; }
    .mtg-confirm-dialog-btn {
      position: relative;
      line-height: 48px;
      font-size: 18px;
      display: -webkit-box;
      display: -webkit-flex;
      display: flex; }
      .mtg-confirm-dialog-btn:before {
        content: " ";
        position: absolute;
        left: 0;
        top: 0;
        right: 0;
        height: 1px;
        border-top: 1px solid #d5d5d6;
        -webkit-transform-origin: 0 0;
        transform-origin: 0 0;
        -webkit-transform: scaleY(0.5);
        transform: scaleY(0.5); }
      .mtg-confirm-dialog-btn a {
        display: block;
        -webkit-box-flex: 1;
        -webkit-flex: 1;
        flex: 1;
        color: #E22A1E;
        text-decoration: none;
        -webkit-tap-highlight-color: transparent;
        position: relative; }
        .mtg-confirm-dialog-btn a:last-child:before {
          content: " ";
          position: absolute;
          left: 0;
          top: 0;
          width: 1px;
          bottom: 0;
          border-left: 1px solid #d5d5d6;
          -webkit-transform-origin: 0 0;
          transform-origin: 0 0;
          -webkit-transform: scaleX(0.5);
          transform: scaleX(0.5); }
