/**
 * Labs
 * ----------------------------------------------------------------------------
*/
.lab {
    display: inline-block;
    height: 20px;
    padding: 0 6px;
    color: white;
    line-height: 1;
    border-radius: 3px;
    box-sizing: border-box;
    vertical-align: middle;
    font-size: 0;
}
.lab:after {
    vertical-align: middle;
}
.lab > * {
    display: inline-block;
    vertical-align: middle;
}
.lab > *:first-child {
    margin-left: 0;
}
.lab > *:last-child {
    margin-right: 0;
}
.lab > span {
    margin: 0 2px;
}
.lab.lab-lg {
    height: 24px;
    padding: 0 8px;
    border-radius: 4px;
}
.lab.lab-lg .lab-icon {
    font-size: 14px;
}
.lab-icon {
    font-size: 12px;
}

.lab-text {
    display: inline-block;
    font-size: 12px;
    font-weight: normal;
    line-height: 24px;
}

.lab-primary {
    background-color: #007cdd;
}
.lab-primary.lab-hollow {
    color: #007cdd;
    border-color: rgba(0, 124, 221, 0.5);
}
.lab-primary.lab-anti {
    color: #007cdd;
    background-color: rgba(0, 124, 221, 0.1);
}
.lab-primary.lab-ghost {
    color: #007cdd;
}

.lab-gray {
    background-color: #afafaf;
}
.lab-gray.lab-hollow {
    color: #afafaf;
    border-color: rgba(175, 175, 175, 0.5);
}
.lab-gray.lab-anti {
    color: #afafaf;
    background-color: rgba(175, 175, 175, 0.1);
}
.lab-gray.lab-ghost {
    color: #afafaf;
}

.lab-red {
    background-color: #ee3733;
}
.lab-red.lab-hollow {
    color: #ee3733;
    border-color: rgba(238, 55, 51, 0.5);
}
.lab-red.lab-anti {
    color: #ee3733;
    background-color: rgba(238, 55, 51, 0.1);
}
.lab-red.lab-ghost {
    color: #ee3733;
}

.lab-yellow {
    background-color: #ffc001;
}
.lab-yellow.lab-hollow {
    color: #ffc001;
    border-color: rgba(255, 192, 1, 0.5);
}
.lab-yellow.lab-anti {
    color: #ffc001;
    background-color: rgba(255, 192, 1, 0.1);
}
.lab-yellow.lab-ghost {
    color: #ffc001;
}

.lab-green {
    background-color: #43c97f;
}
.lab-green.lab-hollow {
    color: #43c97f;
    border-color: rgba(67, 201, 127, 0.5);
}
.lab-green.lab-anti {
    color: #43c97f;
    background-color: rgba(67, 201, 127, 0.1);
}
.lab-green.lab-ghost {
    color: #43c97f;
}

.lab-blue {
    background-color: #419fff;
}
.lab-blue.lab-hollow {
    color: #419fff;
    border-color: rgba(65, 159, 255, 0.5);
}
.lab-blue.lab-anti {
    color: #419fff;
    background-color: rgba(65, 159, 255, 0.1);
}
.lab-blue.lab-ghost {
    color: #419fff;
}

.lab-hollow {
    background-color: transparent;
    border: 1px solid;
}

.lab-ghost {
    background-color: transparent;
}

.lab-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    padding: 0;
}

/** Popups ---------------------------------------------------------------------------- */
.mask { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 1040; display: none; background-color: rgba(0, 0, 0, 0.5); }
.popup { position: absolute; z-index: 1050; display: none; border-radius: 5px; background-color: white; -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15); }
.popup-head { position: relative; padding: 0 20px; line-height: 40px; border-bottom: 1px solid #eee; border-top-left-radius: inherit; border-top-right-radius: inherit; }
.popup-head .title { font-size: 14px; font-weight: bold; color: #222; }
.popup-head .popup-head-op { top: 0; }
.popup-head-op { position: absolute; top: 4px; right: 10px; }
.popup-head-op .btn { width: 24px; height: 24px; padding: 0; border: 1px solid transparent; line-height: 24px; color: #666; vertical-align: middle; }
.popup-head-op .btn:hover { color: inherit; border-color: #ddd; background-color: white; }
.popup-head-op .btn i { font-size: 14px; vertical-align: baseline; }
.popup-body { padding: 0 20px; }
.popup-body > .content { font-size: 14px; color: #666; line-height: 1.4; }
.popup-foot { padding: 10px; text-align: right; border-bottom-left-radius: inherit; border-bottom-right-radius: inherit; }
.group { font-size: 0;}
.group>* { display: inline-block; vertical-align: middle; margin-right: 5px;}
.group>*:last-child { margin-right: 0;}
.popup-foot .btn {display: inline-block; min-width: 90px; text-align: center; height: 36px; line-height: 36px; border-radius: 4px; -webkit-border-radius: 4px; -moz-border-radius: 4px; -ms-border-radius: 4px; -o-border-radius: 4px; font-size: 14px; box-sizing: border-box;}
.popup-foot .btn.btn-solid-primary { color: #fff; background-color: #007cdd; }
.popup-foot .btn.btn-solid-primary:hover { background-color: #008bf7;}
.popup-foot .btn.btn-hollow-secondary { border:1px solid #ccc; color: #333; }
.popup-foot .btn.btn-hollow-secondary:hover { background-color: #eee;}
.popup-small { width: 360px; }
.popup-base { width: 480px; }
.popup-medium { width: 540px; }
.popup-large { width: 640px; }
.popup-xlarge { width: 740px; }
.popup-block { width: 100%; }


.list-row {
    margin-top: 12px;
    margin-bottom: 12px;
    font-size: 0;
}
.list-row:after {
    vertical-align: middle;
}
.list-row > * {
    display: inline-block;
    vertical-align: middle;
}
.list-row > *:first-child {
    margin-left: 0;
}
.list-row > *:last-child {
    margin-right: 0;
}
.list-row > span {
    font-size: 14px;
    line-height: 20px;
}
.list-row .title {
    width: 102px;
    margin-right: 8px;
    text-align: right;
    color: #888;
}
.list-row .con {
    width: calc(100% - 110px);
    color: #222;
}
.list-row.v-top {
    font-size: 0;
}
.list-row.v-top:after {
    vertical-align: top;
}
.list-row.v-top > * {
    display: inline-block;
    vertical-align: top;
}
.list-row.v-top > *:first-child {
    margin-left: 0;
}
.list-row.v-top > *:last-child {
    margin-right: 0;
}

.list-box {
    padding: 16px 0;
    max-height: 320px;
}
.list-box.border-bottom {
    border-bottom: 1px solid #eee;
}

.popup-foot.pb20 {
    padding-bottom: 20px;
}

/**
 * Cert
 * ----------------------------------------------------------------------------
 */
.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.cert-apply {
    padding: 20px 0;
}
.cert-apply .cert-head {
    padding: 4px 12px;
    font-size: 16px;
    line-height: 32px;
    color: #222;
    background-color: #f5f5f5;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
}
.cert-apply .cert-body {
    margin-top: 16px;
    font-size: 0;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
}
.cert-apply .cert-body .cert-address,
.cert-apply .cert-body .cert-pic {
    display: inline-block;
    vertical-align: top;
}
.cert-apply .cert-body .cert-title {
    margin-bottom: 12px;
    font-size: 16px;
    color: #444;
}
.cert-apply .cert-body .cert-address {
    width: 70%;
    padding-right: 32px;
    box-sizing: border-box;
}
.cert-apply .cert-body .cert-address .cert-title {
    color: #007cdd;
}
.cert-apply .cert-body .cert-pic {
    width: 30%;
}

.cert-subtitle {
    font-size: 0;
    margin-bottom: 12px;
}
.cert-subtitle > * {
    display: inline-block;
    vertical-align: middle;
}
.cert-subtitle::after {
    content: "";
    height: 100%;
}
.cert-subtitle i {
    margin-right: 8px;
    color: #007cdd;
    font-size: 18px;
}
.cert-subtitle span {
    line-height: 1;
    color: #444;
    font-size: 16px;
}
.cert-subtitle span .red {
    margin-left: 8px;
    color: #ee3733;
    font-size: 14px;
}

.cert-address .form-table {
    padding: 16px;
    border: 1px solid #eee;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
}
.cert-address .form-table-row.form-mix .select-wrap {
    margin-bottom: 8px;
    margin-left: -4px;
    margin-right: -4px;
}
.cert-address .form-table-row.form-mix .select-wrap .form-select {
    display: inline-block;
    width: calc(50% - 8px);
    margin: 0 4px;
    vertical-align: middle;
}

.cert-pic img {
    display: block;
    width: 100%;
    height: auto;
}

.payment-container {
    margin-top: 24px;
}
.payment-container .pay-item {
    position: relative;
    float: left;
    margin-right: 20px;
    width: 140px;
    height: 48px;
    line-height: 48px;
    font-size: 0;
    text-align: center;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
    cursor: pointer;
    overflow: hidden;
}
.payment-container .pay-item > * {
    display: inline-block;
    vertical-align: middle;
}
.payment-container .pay-item .text {
    font-size: 14px;
    font-weight: bold;
    color: #333;
}
.payment-container .pay-item .tick {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 3;
    font-size: 12px;
    line-height: 14px;
    color: #fff;
    font-weight: normal;
    display: none;
}
.payment-container .pay-item .tick i {
    font-size: inherit;
}
.payment-container .pay-item .icon {
    margin-right: 8px;
    font-size: 24px;
}
.payment-container .pay-item .icon i {
    font-size: inherit;
}
.payment-container .pay-item .icon .icon-wechat-pay {
    color: #09bb07;
}
.payment-container .pay-item .icon .icon-alipay {
    color: #06b4fd;
}
.payment-container .pay-item.active {
    border: 1px solid #007cdd;
    background: rgba(0, 124, 221, 0.05);
}
.payment-container .pay-item.active:after {
    content: "";
    height: 0;
    width: 0;
    position: absolute;
    z-index: 2;
    bottom: 0;
    right: 0;
    border-width: 12px;
    border-style: solid;
    border-color: transparent #007cdd #007cdd transparent;
}
.payment-container .pay-item.active .tick {
    display: block;
}

.pay-popup {
    text-align: center;
    overflow: hidden;
}
.pay-popup .popup-head-op {
    z-index: 2;
}
.pay-popup .popup-body {
    position: relative;
    z-index: 1;
    padding-bottom: 24px;
}
.pay-popup .title {
    padding-top: 16px;
    padding-bottom: 8px;
    font-size: 18px;
    font-weight: bold;
    color: #444;
    line-height: 22px;
}
.pay-popup .order-num {
    font-size: 14px;
}
.pay-popup .content {
    font-size: 0;
    padding-top: 16px;
}
.pay-popup .content:after {
    vertical-align: middle;
}
.pay-popup .content > * {
    display: inline-block;
    vertical-align: middle;
}
.pay-popup .content > *:first-child {
    margin-left: 0;
}
.pay-popup .content > *:last-child {
    margin-right: 0;
}
.pay-popup .content > div {
    margin-right: 16px;
    margin-left: 16px;
}
.pay-popup .pay-detail .text {
    font-size: 14px;
    color: #666;
    line-height: 20px;
}
.pay-popup .pay-detail .price {
    font-size: 28px;
    font-weight: bold;
    color: #ee3733;
}
.pay-popup .pay-detail .qr {
    position: relative;
    width: 136px;
    margin-top: 8px;
    padding: 12px;
    border: 1px solid #eee;
}
.pay-popup .pay-detail .qr img {
    display: block;
    width: 100%;
    height: auto;
}
.pay-popup .pay-detail .qr.expired .overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    font-size: 0;
}
.pay-popup .pay-detail .qr.expired .overlay:after {
    vertical-align: middle;
}
.pay-popup .pay-detail .qr.expired .overlay > * {
    display: inline-block;
    vertical-align: middle;
}
.pay-popup .pay-detail .qr.expired .overlay > *:first-child {
    margin-left: 0;
}
.pay-popup .pay-detail .qr.expired .overlay > *:last-child {
    margin-right: 0;
}
.pay-popup .pay-detail .qr.expired .info {
    font-size: 16px;
    color: white;
}
.pay-popup .pay-detail .qr.expired .btn {
    margin-top: 12px;
    font-size: 0;
    color: #444;
    border-color: transparent;
}
.pay-popup .pay-detail .qr.expired .btn i {
    margin-right: 0 !important;
}
.pay-popup .pay-detail .qr.expired .btn span {
    font-size: 12px !important;
}
.pay-popup .pay-detail .info {
    margin-top: 8px;
    font-size: 12px;
    color: #888;
    line-height: 16px;
}
.pay-popup .pay-example {
    width: 200px;
}
.pay-popup .pay-example img {
    display: block;
    width: 100%;
    height: auto;
}
.pay-popup .pay-icon {
    position: absolute;
    top: -40px;
    right: 40px;
    z-index: 1;
    opacity: 0.06;
    filter: alpha(opacity=6);
    line-height: 1;
}
.pay-popup .pay-icon i {
    font-size: 200px;
}
.pay-popup .pay-icon .icon-wechat-pay {
    color: #09bb07;
}
.pay-popup .pay-icon .icon-alipay {
    color: #06b4fd;
}
.pay-popup .tips {
    color: #ee3733;
}
.pay-popup .tips span {
    margin-right: 4px;
    font-size: "PingFang SC", Helvetica, "Helvetica Neue", "Microsoft YaHei", "SimSun", Tahoma, Arial, sans-serif;
    vertical-align: -2px;
}

.popup-invoice .form-table {
    margin-top: 12px;
    max-height: 310px;
}
.popup-invoice .tips {
    text-align: center;
    color: #ee3733;
}
.popup-invoice .tips span {
    margin-right: 4px;
    font-size: "PingFang SC", Helvetica, "Helvetica Neue", "Microsoft YaHei", "SimSun", Tahoma, Arial, sans-serif;
    vertical-align: -2px;
}
.ai-float {
    cursor: pointer;
}
.position-lt {
    position: fixed !important;
    left: 5px !important;
    top: 5px !important;
    right: auto !important;
    z-index: 11001;
}
.position-lm {
    position: fixed !important;
    left: 5px !important;
    top: 50% !important;
    right: auto !important;
    z-index: 11001;
}
.position-lb {
    position: fixed !important;
    left: 5px !important;
    bottom: 5px !important;
    top: auto !important;
    right: auto !important;
    z-index: 11001;
}
.position-rt {
    position: fixed !important;
    right: 5px !important;
    top: 5px !important;
    left: auto !important;
    z-index: 11001;
}
.position-rm {
    position: fixed !important;
    right: 5px !important;
    top: 50% !important;
    left: auto !important;
    z-index: 11001;
}
.position- {
    position: fixed !important;
    right: 5px !important;
    top: 50% !important;
    left: auto !important;
    z-index: 11001;
}

.position-rb {
    position: fixed !important;
    right: 5px !important;
    bottom: 5px !important;
    top: auto !important;
    left: auto !important;
    z-index: 11001;
}

.ai-panel {
    position: fixed;
    top: 0;
    right: -420px;
    bottom: 0;
    z-index: 11002;
    width: 420px;
    background-color: white;
    transition: 0.3s;
}
.ai-panel.active {
    right: 0;
}
.ai-panel .ai-iframe {
    width: 100%;
    height: 100%;
    border: none;
}