@import "./common.less";
@baseColor:#0099ff;
.container-pc{
  width: 1200px;
  margin: 0 auto;
  padding-top: 18px;
  font-size: 0;
  .header{
    .pr();
    .lh(80px);
    .fs(24px,#343434);
    text-align: center;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 6px 6px rgba(153,153,153,.16);
    .logo{
      .pa();
      top: 10px;
      left: 42px;
    }
    .top-menu{
      .pa();
      right:112px;
      li{
        display: inline-block;
        margin: 0 30px;
        a{
          font-size: 24px;
          color: #343434;
          .transition();
        }
        &.current,&:hover{
          a{
            color: @baseColor;
          }
        }
      }
    }
    .avatar{
      .pa();
      top: 13px;
      right: 35px;
      width: 50px;
      height: 50px;
    }
  }
  .content{
    margin-top: 20px;
    overflow: hidden;
    padding-bottom: 20px;
      &.overflow-visible{
          overflow: visible;
      }
    .left-container{
      .fl();
      width: 226px;
      min-height: 780px;
      border-radius: 10px;
      background: #fff;
      box-shadow: 6px 6px 6px rgba(153,153,153,.16);
      .left-menu{
        .menu{
          li{
            a{
              display: block;
              width: 196px;
              padding: 14px 0;
              margin: 30px auto 0;
              text-indent: 70px;
              .fs(24px,#999);
              .transition();
              &.icon-left-info{
                background: url("../images/icon_left_info.png") no-repeat 30px center;
                background-size: 26px auto;
              }
              &.icon-left-safe{
                background: url("../images/icon_left_safe.png") no-repeat 30px center;
                background-size: 26px auto;
              }
                &.icon-left-gift{
                    background: url("../images/icon_gift.png") no-repeat 30px center;
                    background-size: 26px auto;
                }
              &.current,&:hover{
                color: #fff;
                border-radius: 10px;
                &.icon-left-info{
                  background: @baseColor url("../images/icon_left_info_on.png") no-repeat 30px center;
                  background-size:  26px auto;
                }
                  &.icon-left-gift{
                      background: @baseColor  url("../images/icon_gift_on.png") no-repeat 30px center;
                      background-size: 26px auto;
                  }
                &.icon-left-safe{
                  background: @baseColor url("../images/icon_left_safe_on.png") no-repeat 30px center;
                  background-size:  26px auto;
                }
              }
            }
          }
        }
      }
    }
    .right-container{
      .pr();
      .fl();
      width: 956px;
      height: 318px;
      margin-left: 18px;
      .logout{
        .pa();
        right: 20px;
        top: 20px;
        .fs(16px,#bdbdbd);
        padding-right: 26px;
        background:url("../images/icon_out.png") no-repeat right center
      }
    }
    .account-info{
      width: 956px;
      overflow: hidden;
      background: url("../images/account_bg.png") no-repeat center top;
      box-shadow: 6px 6px 6px rgba(153,153,153,.16);
      .header-avatar{
        .fl();
        padding: 20px 0 0;
        text-align: center;
        width: 136px;
        img{
          width:77px;
          height: 77px;
        }
        span{
          margin-top: 10px;
          display: block;
          .fs(20px,#fff)
        }
      }
      ul{
        .fl();
        padding: 20px 32px;
        margin-left: 8px;
        li{
          .fs(24px,#646464);
          font-weight: bold;
          padding:10px 43px;
          &.icon-account-info{
            background: url("../images/icon_account.png") no-repeat left center;
            background-size: 22px auto;
          }
          &.icon-o{
            background: url("../images/icon_O.png") no-repeat left center;
            background-size: 22px auto;
            em{
              color: #bdbdbd;
              font-size: 20px;
              font-weight: normal;
            }
          }
          &.icon-safe{
            background: url("../images/icon_safe.png") no-repeat left center;
            background-size: 22px auto;
          }
          &.icon-vip{
            background: url("../images/icon_vip.png") no-repeat left center;
            background-size: 22px auto;
          }
          &.icon-orange{
            background: url("../images/icon_orange.png") no-repeat left center;
            background-size: 22px auto;
          }
          .fs-normal{
            font-weight: normal;
            margin-right: 15px;
          }
          .error-msg{
            font-size: 12px;
            color: #f00;
          }
          a{
            font-size: 20px;
            color:@baseColor;
            font-weight: normal;
          }
          .safe-range{
            color: #ffba00;
            font-weight: normal;
            margin-left: 10px;
          }
        }
      }
    }

    .account-auth{
      margin-top: 10px;
      font-size: 0;
      margin-right: -13px;
      li{
        width: 174px;
        border-radius: .1rem;
        padding: 32px 0 32px 138px;
        overflow: hidden;
        display: inline-block;
        margin-right: 10px;
        box-shadow: 2px 4px 6px rgba(153,153,153,.16);
        &.phone-auth{
          background: #fff url("../images/icon_phone_auth.png") no-repeat 56px center;
          background-size: 68px auto;
        }
        &.reg-auth{
          background: #fff url("../images/icon_reg_auth.png") no-repeat 56px center;
          background-size: 68px auto;
        }
        &.realName-auth{
          background: #fff url("../images/icon_realname_auth.png") no-repeat 56px center;
          background-size: 68px auto;
        }
          h4{
            .fs(28px,#343434);
            padding-bottom: 10px;
            font-weight: normal;
          }
          span{
            .fs(20px,#343434);
            em{
              display: inline-block;
              vertical-align: middle;
              width: 19px;
              height: 19px;
              border: 1px solid #ababab;
              border-radius: 100%;
              margin-right: 10px;
              &.current{
                width: 20px;
                height:20px;
                background: #1fda91 url("../images/icon_checked.png") no-repeat center;
                background-size: 16px auto;
                border-radius: 100%;
                border:0;
              }
            }
          }
      }
    }
  }
  .progress{
    height: 10px;
    width: 156px;
    border-radius: 64px;
    em{
      border-radius: 64px;
    }
  }
  .dialog-orange{
    .form-container{
      margin: 1rem auto 0;
    }
    .bind-rules{
      height: 45vh;
      overflow-y: scroll;
      padding: 0 10%;
      h4{
        padding: 25px 0;
        .fs(16px,#343434);
      }
      p{
        text-align: left;
        .fs(14px,#646464);
        padding-bottom: 10px;
      }
    }
  }
    // 我的礼包
    .package-container{
        .fs(16px,#343434);
        margin-right: -24px;
        li{
            .fl();
            .pr();
            width: 466px;
            background:#fff;
            border-radius: 10px;
            box-shadow: 6px 6px 10px rgba(153,153,153,.16);
            margin:0 24px 24px 0;
            img{
                display: block;
                .fl();
            }
            .package-info{
                .fl();
                max-width: 166px;
                overflow: hidden;
                margin: 0 24px;
                h3{
                    .fs(27px,#000);
                    padding: 20px 0 8px;
                }
                .gift-span{
                    border: 1px solid #ababab;
                    border-radius: 4px;
                    width: 132px;
                    text-align: center;
                    font-size: 0;
                    span{
                        width: 50%;
                        display: inline-block;
                        .fs(12px,#000000);
                        .lh(20px);
                        cursor: pointer;
                        .pr();
                        &.current{
                            color: @baseColor;
                        }
                        &.border-right{
                            border-right: 1px solid #ababab;
                            box-sizing: border-box;
                        }
                    }
                }
                p{
                    .fs(12px,#c9c8c8);
                    padding-top: 10px;
                    line-height: 16px;
                }

                .gift-detail{
                    .pa();
                    line-height: 36px;
                    text-align: center;
                }
                button,.gift-detail{
                    .pa();
                    right: 76px;
                    bottom: 16px;
                    width: 104px;
                    height: 36px;
                    border-radius: 10px;
                    border:2px solid #3bb1ff;
                    .fs(16px,#3bb1ff);
                    background: #ddf1ff;
                    box-shadow: 0 0 0;
                    &.current{
                        color: #888;
                        border: 2px solid #888;
                        background: #f9f9f9;
                    }
                }
            }
        }
        &.package-container-record{
            li{
                width:97.5%;
                img{
                    width: 370px;
                }
                .package-info{
                    max-width: 530px;
                }
            }
        }
    }
}
.selct-container{
    .select{
        width: 100%;
        height: 66px;
        display: inline-block;
        vertical-align: middle;
        .fs(21px,#343434);
    }
    .select{
        .pr();
        span{
            display: block;
            line-height: 66px;
            cursor: pointer;
            background: url("../images/icon_select.png") no-repeat 96% center;
            .transition();
            &.current{
                background: url("../images/icon_select_on.png") no-repeat 96% center;
            }
        }
        .select-option{
            .pa();
            left: -44px;
            top: 68px;
            z-index: 1;
            .hide();
            border: 1px solid #f1f1f1;
            width: 111%;
            max-height: 140px;
            overflow: auto;
            background: #fff;
            li{
                .lh(36px);
                cursor: pointer;
                padding-left: 18px;
                .transition();
                &:last-child{
                    border-bottom: 0;
                }
                &:hover{
                    background: @baseColor;
                    color: #fff;
                }
            }
        }
    }
}
.relation-game{
    .swiper-container{
        .swiper-slide{
            padding: 4px 0;
            img{
                width: 85px;
                height: 85px;
                .transition();
                &:hover{
                    .css3(transform,scale(1.05));
                }
            }
        }
    }
}
.close{
  &:hover{
    .css3(transform,rotate(180deg))
  }
}
.gift-explain{
    width: 90%;
    background: #fff;
    margin: 0 auto;
    .fs(24px,#343434);
    line-height: 32px;
    padding-bottom: 32px;
}
.dialog.confirm-container{
    .form-container{
        .pa();
        left: 50%;
        top: 50%;
        margin:-80px 0 0 -130px;
        width: 260px;
        border-radius: 10px;
        .close{
            width: 16px;
            height: 16px;
        }
        h3{
            text-align: center;
            padding: 0;
            height: 42px;
            line-height: 42px;
            border-bottom: 1px solid #eee;
            font-size: 14px;
            color: #333;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            background-color: #F8F8F8;
        }
    }
    .message-content{
        padding: 20px;
        text-align: center;
        position: relative;
        line-height: 24px;
        word-break: break-all;
        font-size: 14px;
        overflow: auto;
        a{
            margin: 24px auto 0;
            display: block;
            text-align: center;
            border-color: #4898d5;
            background-color: @baseColor;
            color: #fff;
            width: 120px;
            font-size: 14px;
            height: 28px;
            line-height: 28px;
            border-radius: 2px;
            font-weight: 400;
            cursor: pointer;
            text-decoration: none;
        }
    }
}

// 账户安全
.safe-title{
    width: 100%;
}
.safe-content{
    .update-success{
        text-align: center;
    }
    .success-text,.real-msg{
        display: inline-block;
        text-align: left;
    }
    .btn-small{
        width: 40%;
    }
    .form-container{
        width: 60%;
        min-height: 637px;
        padding: 60px 20% 0;
    }
}
.confirm-dialog{
    left: 44%;
    top: .2rem;
    width: 50%;
    margin-left: -25%;
}
