/* 产品页顶部导航、pc端返回顶部按钮通用样式 */
.rb_content {
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}

.rb_btn {
  position: absolute;
  top: 0;
  width: 100%;
  height: 40px;
  border-bottom: 1px solid #dcdcdc;
  background-color: rgba(255, 255, 255, 0.97);
  z-index: 999;
}

.rb_btn_content {
  font-family: "Microsoft YaHei" !important;
}

@media (min-width: 1200px) {
  .rb_btn_content {
    margin: 0 auto;
    width: 1200px;
    height: 40px;
  }
}

@media (max-width: 1199px) {
  .rb_btn_content {
    width: 100%;
    height: 40px;
  }
}

@media (min-width: 768px) {
  .rb_btn .rb_good_name {
    float: left;
    font-size: 20px;
    line-height: 40px;
    margin-left: 10px;
  }

  .rb_btn .rb_overview_btn {
    position: relative;
    float: right;
    margin-left: 20px;
    margin-right: 20px;
    font-size: 14px;
    height: 40px;
    line-height: 40px;
    cursor: pointer;
  }

  .rb_btn .rb_parameter_btn {
    position: relative;
    float: right;
    margin-left: 20px;
    margin-right: 20px;
    font-size: 14px;
    height: 40px;
    line-height: 40px;
    cursor: pointer;
  }

  .rb_btn .rb_overview_btn:active,
  .rb_btn .rb_overview_btn:hover,
  .rb_btn .rb_parameter_btn:active,
  .rb_btn .rb_parameter_btn:hover {
    color: #e60012;
  }

  .rb_btn .rb_overview_btn span,
  .rb_btn .rb_parameter_btn span {
    display: inline-block;
    margin: auto;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    border-bottom: 4px solid #e60012;
    transition: all 0.2s;
    -webkit-transition: all 0.2s;
    transition-timing-function: ease-in-out;
    -webkit-transition-timing-function: ease-in-out;
    transform: scaleX(0);
    -webkit-transform: scaleX(0);
    transform-origin: center;
    -webkit-transform-origin: center;
  }

  .rb_btn_selected {
    transform: scaleX(1) !important;
    -webkit-transform: scaleX(1) !important;
  }

  .rb_btn .rb_btn_line {
    margin-top: 14px;
    float: right;
    display: inline-block;
    height: 12px;
    border-right: 1px solid #dcdcdc;
  }

  .rb_btn .rb_buy_btn {
    float: right;
    font-size: 14px;
  }

  .rb_btn .rb_buy_btn a {
    display: block;
    margin-top: 5px;
    margin-left: 20px;
    margin-right: 10px;
    height: 30px;
    line-height: 30px;
    width: 93px;
    text-align: center;
    color: #fff;
    background-color: #e60012;
    border: none;
    cursor: pointer;
    text-decoration: none;
  }

  .rb_btn .rb_buy_btn a:focus {
    outline: 0;
  }

  .rb_btn .rb_buy_btn a:hover {
    font-weight: 600;
    background: -webkit-gradient(linear,
        left top,
        left bottom,
        from(#e60012),
        to(#c40413));
    background: linear-gradient(#e60012, #c40413);
  }

  .rb_btn_slideDown {
    position: absolute;
    top: 40px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    -webkit-transform: translateY(-120px);
    transform: translateY(-120px);
    opacity: 0;
    -webkit-transition: opacity 0.5s, -webkit-transform;
    transition: opacity 0.5s, -webkit-transform;
    transition: transform, opacity 0.5s;
    transition: transform, opacity 0.5s, -webkit-transform;
  }

  .rb_to_top {
    position: fixed;
    right: 45px;
    bottom: 40px;
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 767px) {
  .rb_content {
    margin-top: 1.18rem;
  }

  .rb_btn_content {
    position: relative;
  }

  .rb_good_name {
    float: left;
    margin-left: 10px;
    height: 40px;
    line-height: 40px;
    font-size: 15px;
    color: red;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .rb_good_icon {
    position: relative;
    left: 5px;
    top: 2px;
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAV1BMVEUAAAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AABpj0HLAAAAHHRSTlMA+uV19vTw7GlbSUAyKiXakHCbflVPOB4ZEAiGPqPD6wAAAKJJREFUOMvtkVkShCAMRKPghgu4L5P7n3MgFAWC5Ql8X+nuFJAAH46LzceTf8zsomJCzIc0H3LEiSqJiFUf532lbUklQ03Z3fOuNC6zQpm62MJ8K4z3c5LO4K3PW26c0Ru10ZlwUmRG1xDQUMdixUJ5AzdWa/rmFSIEt8fa67iAhLagh400kn9wMnq0lHR50VrT9Ycfk7LrDrnDC6dSJ3w88Acjrw4ra7gOfQAAAABJRU5ErkJggg==);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    -webkit-transition: -webkit-transform 0.5s;
    transition: -webkit-transform 0.5s;
    transition: transform 0.5s;
    transition: transform 0.5s, -webkit-transform 0.5s;
  }

  .rb_good_icon_move {
    -webkit-transform: rotate(180deg) !important;
    transform: rotate(180deg) !important;
  }

  .rb_buy_btn {
    float: right;
    font-size: 14px;
  }

  .rb_btn .rb_buy_btn a {
    display: block;
    margin-top: 5px;
    margin-left: 20px;
    margin-right: 10px;
    height: 30px;
    line-height: 30px;
    width: 93px;
    text-align: center;
    color: #fff;
    background-color: #e60012;
    border: none;
    cursor: pointer;
    text-decoration: none;
  }

  .rb_btn .rb_buy_btn a:focus {
    outline: 0;
  }

  .rb_btn_slideDown {
    position: absolute;
    top: 40px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    -webkit-transform: translateY(-120px);
    transform: translateY(-120px);
    opacity: 0;
    -webkit-transition: opacity 0.5s, -webkit-transform;
    transition: opacity 0.5s, -webkit-transform;
    transition: transform, opacity 0.5s;
    transition: transform, opacity 0.5s, -webkit-transform;
  }

  .rb_btn_slideDown_move {
    -webkit-transform: translateY(0) !important;
    transform: translateY(0) !important;
    opacity: 1;
  }

  .rb_btn_slideDown div {
    width: 100%;
    height: 40px;
    line-height: 40px;
    padding-left: 20px;
    border-bottom: 1px solid #dcdcdc;
    cursor: pointer;
    font-size: 13px;
    -webkit-tap-highlight-color: transparent;
  }

  .rb_btn_selected {
    color: #848484;
  }
}