/* common */
:root {
    --primary-color: #F05B45;
}

/* html, body, .app {
    width: 100%;
    height: 100%;
    overflow: hidden;
} */

body {
    background-color: #FBFBFB;;
    color: #FFF;
}

.flex {
    display: flex;
    display: -webkit-flex;
}

.flex-center {
    display: flex;
    display: -webkit-flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.flex-col-center {
    display: flex;
    display: -webkit-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.border-right {
    position: relative;
}

.border-right:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    border-right: 1px solid #E4E4E4;
}

.border-bottom {
    position: relative;
}

.border-bottom:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    border-bottom: 1px solid #E4E4E4;
}

.hide {
    display: none;
}

/* 2倍屏 */
@media only screen and (-webkit-min-device-pixel-ratio: 2.0) {
    .border-right::after {
        width: 200%;
        -webkit-transform: scaleX(0.5);
        transform: scaleX(0.5);
        transform-origin: 0 0;
    }
    .border-bottom::after {
        width: 200%;
        -webkit-transform: scaleX(0.5);
        transform: scaleX(0.5);
        transform-origin: 0 0;
    }
  }

  /* 3倍屏 */
  @media only screen and (-webkit-min-device-pixel-ratio: 3.0) {
    .border-right::after {
        width: 300%;
        -webkit-transform: scaleX(0.33);
        transform: scaleX(0.33);
        transform-origin: 0 0;
    }
    .border-bottom::after {
        width: 300%;
        -webkit-transform: scaleX(0.33);
        transform: scaleX(0.33);
        transform-origin: 0 0;
    }
  }

.header {
    background-color: var(--primary-color);
    padding-bottom: 24px;
    position: relative;
}

.header-inner {
    padding: 50px 34px 34px 34px;
    min-height: 138px;
}

.header-inner .title-group {
    flex: 1;
    margin-right: 10px
}

.header-inner .title-group .title {
    line-height: 1.1;
    font-size: 26px;
    font-weight: bold;
}

.header-inner .title-group .sub-title {
    font-size: 12px;
    padding-top: 6px;
    letter-spacing: 0.4px;
}

.header-inner .logo {
    width: 50px;
    height: 50px;
    background-color: #f0f0f0;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 100%;
}

.header .radius-layer {
    background: #FBFBFB;
    width: 100%;
    height: 25px;
    border-radius: 25px 25px 0 0;
    position: absolute;
    bottom: -.5px;
    left: 0;
}

.main {
    padding: 0 18px 0px 18px;
    color: #000;
}

.main .title {
    padding: 0 20px;
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 20px;
}

.main .title .notice {
    right: 30px;
    top: 2px;
    position: absolute;
    -webkit-mask: url(../img/notice.svg) no-repeat;
    mask: url(../img/notice.svg) no-repeat;
    -webkit-mask-size: 20px;
    background-size: contain;
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    display: inline-block;
    margin-right: 12px;

}

.main .content-wrap {
    border-radius: 12px;
    width: 100%;
    background-color: #fff;
    padding: 20px;
}

.poweredby {
    color: #929496;
    font-size: 13px;
    text-align: center;
    margin: 23px 0 28px 0;
}

/* .form-wrap  {
    margin-top: 28px;
} */

.form-group {
    margin-bottom: 10px;
    padding: 10px 0;
}

.form-title {
    color: #585656;
    font-size: 14px;
}

.required {
    color: var(--primary-color);
}

.form-group .content,
.form-group .input-group  input,
.form-group .select-group {
    color: #4A4A4A;
    font-size: 14px;
    width: 100%;
    border: none;
    appearance: none;
    outline: none;
    margin-top: 8px;
}

.form-group .select-group {
    position: relative;
    display: flex;
    padding-right: 14px;
}

.form-group .select-group select {
    width: 100%;
    margin-top: 10px;
    border: none;
    appearance: none;
    flex: 1;
    background: transparent;
    position: relative;
}

.content-wrap .tips {
    font-size: 13px;
    color: #9b9b99;
    margin-top: 2px;
}

.content-wrap .tips.error {
    color: var(--primary-color);
}

.icon-arrow-down, .radio-group .radio-item  .radio {
    display: inline-block;
    width: 15px;
    height: 15px;
    border-radius: 2px;
    border: 1px solid var(--primary-color);
}

.select-group .icon-arrow-down {
    position: absolute;
    right: 0;
    bottom: 0;
    margin-right: 12px;
    z-index: 7;
    width: 12px!important;
    height: 12px!important;

}
.select-group .icon-arrow-down::after{
    content: '';
    display: block;
    position: absolute;
    -webkit-mask: url(../img/down_arrow.svg) no-repeat;
    mask: url(../img/down_arrow.svg) no-repeat;
    -webkit-mask-size: 12px;
    background-size: contain;
    background-color: var(--primary-color);
    display: inline-block;
    width: 100%;
    height: 100%;
}

.form-group .radio-group {
    padding-right: 14px;
}

.radio-group .radio-item {
    color: #4A4A4A;
    font-size: 14px;
}

.radio-group .radio-item {
    margin: 0 11px;
}

.radio-group .radio-item:first-child {
    margin-left: 0;
}

.radio-group .radio-item:last-child {
    margin-right: 0;
}

.radio-group .radio-item input {
    display: none;
}

.radio-group .radio-item .label {
    margin-top: 1px;
    margin-right: 6px;
}

.radio-group .radio-item .radio {
    vertical-align: text-bottom;
}

.radio-group .radio-item input:checked + .radio:after {
    content: " ";
    display: block;
    width: 11px;
    height: 11px;
    background-color: var(--primary-color);
    border-radius: 2px;
    margin: 2px auto 0;
}

.btn {
    width: 175px;
    height: 48px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 6px;
    text-align: center;
    line-height: 40px;
    padding: 0 16px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-default {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.form-wrap .dropdown {
    position: absolute;
    background: #fff;
    top: 0;
    z-index: 999;
    width: 100%;
    text-align: center;
    padding: 0 16px;
    max-height: 335px;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    box-shadow: #eee 0 0 10px;
}

.form-wrap .dropdown .dropdown-item {
    line-height: 50px;
    color: #4A4A4A;
    font-size: 14px;
}

.form-wrap .dropdown .dropdown-item:active {
    background-color: #fafafa;
}

.main .content-wrap .btn-group .btn {
    font-size: 12px;
    line-height: 1.1;
    display: flex;
    display: -webkit-flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
  }

  .main .content-wrap .btn-group .btn:last-child {
    margin-bottom: 10px;
  }

  .content-wrap .btn-group .btn .icon {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 15px;
    background: center center no-repeat;
  }

  .main .content-wrap .btn-group .btn-default {
    color: #4A4A4A;
  }

  .content-wrap .btn-group .btn .icon-left {
    -webkit-mask: url(../img/arrow_back.svg) no-repeat;
    mask: url(../img/arrow_back.svg) no-repeat;
    -webkit-mask-size: 15px;

    background-size: contain;
    width: 15px;
    height: 15px;
    position: relative;
    background-color: var(--primary-color);
    display: inline-block;
  }

  .content-wrap .btn-group .btn .icon-share {
    background-image: url(../img/icon-share@2x.png);
  }

  .content-wrap .btn-group .btn .content {
    flex: 1;
    text-align: left;
    margin-left: 5px;
  }

  .dialog {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.55);
  }

  .modal{
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10;
  }

  .modal .container{
    width: 350px;
    height: 350px;
    background-color: #fff;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    box-sizing: border-box;
    border-radius: 6px;
    padding: 1em;
  }

  .modal .container .header {
    background: #fff;
    color: var(--primary-color);
    font-size: 42px;
    text-align: center;
    padding: 25px 0 15px 0;
  }

  .modal .container .body {
    max-height: 200px;
    font-size: 14px;
    color: #4A4A4A;
    text-align: left;
    word-break: break-word;
    overflow:auto;
    overflow-x:hidden;
  }

  .modal .container .close{
    width: 30px;
    height: 30px;
    border-radius: 50%;
    position: absolute;
    right: -10px;
    top: -10px;
    border: 2px solid #fff;
    cursor: pointer;
    background-color: var(--primary-color);
    text-align: center;
    line-height: 30px;
  }

  .dialog .main {
    width: 300px;
    background: #fff;
    border-radius: 12px;
    padding: 26px;
  }

  .dialog .header {
    background: #fff;
    color: var(--primary-color);
    font-size: 42px;
    text-align: center;
    padding: 25px 0 15px 0;
  }

  .dialog .body {
    font-size: 14px;
    color: #4A4A4A;
    max-height: 200px;
    text-align: left;
    word-break: break-word;
    overflow:auto;
    overflow-x:hidden;
  }

  .dialog .footer {
    text-align: center;
    margin: 40px 0 10px 0;
  }

  .dialog .footer > .icon-group {
    width: 42px;
    height: 42px;
    border: 2px solid var(--primary-color);
    border-radius: 6px;
    margin: 0 auto;
  }

  .dialog .footer .icon-group .icon {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: center center no-repeat;
  }

  .dialog .footer .icon-group .icon-left {
    /* background-image: url(../img/arrow-left@2x.png); */
    -webkit-mask: url(../img/arrow_back.svg) no-repeat;
    mask: url(../img/arrow_back.svg) no-repeat;
    -webkit-mask-size: 15px;

    background-size: contain;
    width: 15px;
    height: 15px;
    position: relative;
    background-color: var(--primary-color);
    display: inline-block;
  }

  .dialog .footer .icon-group .icon-tick {
    background-image: url(../img/tick@2x.png);
  }

  .phone-group .phone-area {
    width: 84px;
    margin-right: 5px;
    margin-top: 0;
  }

  .phone-group .phone-area select {
    padding-left: 20px;
  }

  .phone-group .phone-area .icon-arrow-down {
    bottom: 4px;
  }

  .phone-group .input-group {
    padding-bottom: 9px;
    flex: 1;
    bottom: -7px;
  }

  .phone-group-body {
    margin-bottom: 9px;
  }


.services {
    width: 277px;
    font-size: 10px;
    color: #9B9B9B;
    text-align: center;
    padding-top: 4px;
    margin: auto;
  }

  .services .link {
    text-decoration: underline;
    color: #0080FF;
  }

.icon-question {
    -webkit-mask: url(../img/ask_circle.svg) no-repeat;
    mask: url(../img/ask_circle.svg) no-repeat;
    -webkit-mask-size: 20px;
    background-size: contain;
    width: 20px;
    height: 20px;
    position: absolute;
    right: -25px;
    bottom: -1px;
    background-color: var(--primary-color);
    display: inline-block;
    margin-right:12px;
}

/*------ 定义字体 ---------- */
@font-face {
  font-family: 'Cera-Pro-Bold';
  src: url(../fonts/Cera-Pro-Bold.ttf);
}
@font-face {
  font-family: 'Cera-Pro-Medium';
  src: url(../fonts/Cera-Pro-Medium.ttf);
}
