/* 背景颜色 */
.bg-defaultlight {
    background-color: var(--defaultLight) !important;
    color: var(--black) !important;
}

.bg-default {
    background-color: var(--default) !important;
    color: var(--black) !important;
}

.bg-gray {
    background-color: #4a4a4a !important;
    color: #eeeeee !important;
}

.bg-yellow {
    background-color: #f6c844 !important;
    color: #111111 !important;
}

.text-info {
    color: var(--black) !important;
}

.text-theme {
    color: var(--theme) !important;
}

.text-contrast {
    color: var(--themeprimary) !important;
}

.text-info-light {
    color: #969696 !important;
}

.text-yellow {
    color: #f6c844 !important;
}

.bg-gradual-theme {
    background-image: var(--gradualDefault) !important;
    color: var(--white) !important;
}

/*初始化end*/
.clear {
    clear: both;
}

/*文字、背景颜色*/
.border-topnone,
.aui-list.border-topnone {
    background-image: none;
}

/*按钮样式*/
.aui-btn-info {
    color: #fff !important;
    background-color: var(--theme) !important;
}

.aui-btn-info.aui-active,
.aui-btn-info:active {
    color: #fff !important;
    background-color: var(--theme) !important;
}

.aui-btn-info.aui-btn-outlined {
    color: var(--theme) !important;
    border: 1px solid var(--theme) !important;
}

.aui-btn-primary {
    color: #fff !important;
    background-color: #333333 !important;
}

.aui-btn-primary.aui-active,
.aui-btn-primary:active {
    color: #fff !important;
    background-color: #333333 !important;
}

.aui-btn-primary.aui-btn-outlined {
    color: #333333 !important;
    border: 1px solid #333333 !important;
}

/*标签*/
.aui-label-info {
    color: #fff;
    background-color: var(--theme) !important;
}

.aui-label-outlined.aui-label-info,
.aui-label-outlined.aui-label-info:after {
    color: var(--theme) !important;
    border-color: var(--theme) !important;
}

.aui-label-outlined {
    background-color: transparent;
    position: relative;
}

/*警告、成功颜色*/
.aui-warning,
.aui-warning label,
.aui-warning .aui-input,
.aui-warning .aui-iconfont {
    color: #ff4c4c !important;
}

.aui-success,
.aui-success label,
.aui-success .aui-input,
.aui-success .aui-iconfont {
    color: #000 !important;
}

/*底部切换栏*/
.aui-bar-tab.aui-bar-info .aui-active {
    color: var(--theme) !important;
}

.aui-bar-btn-item {
    border-color: var(--theme) !important;
    color: var(--theme) !important;
}

.aui-bar-btn-item.aui-active {
    background-color: var(--theme) !important;
    color: #fff;
}

.aui-bg-transparent {
    background-color: transparent !important;
}

/* 渐变颜色 */
.mt-gradient-info {
    background: -webkit-linear-gradient(left, #333333, #636363) !important;
    background: -o-linear-gradient(right, #333333, #636363) !important;
    background: -moz-linear-gradient(right, #333333, #636363) !important;
    background: linear-gradient(to right, #333333, #636363) !important;
}

.mt-gradient-primary {
    background: -webkit-linear-gradient(left, #e6c000, #ffd400) !important;
    background: -o-linear-gradient(right, #e6c000, #ffd400) !important;
    background: -moz-linear-gradient(right, #e6c000, #ffd400) !important;
    background: linear-gradient(to right, #e6c000, #ffd400) !important;
}

.mt-gradient-green {
    background: -webkit-linear-gradient(left, #2cc777, #04a854) !important;
    /* Safari 5.1 - 6.0 */
    background: -o-linear-gradient(right, #2cc777, #04a854) !important;
    /* Opera 11.1 - 12.0 */
    background: -moz-linear-gradient(right, #2cc777, #04a854) !important;
    /* Firefox 3.6 - 15 */
    background: linear-gradient(to right, #2cc777, #04a854) !important;
    /* æ ‡å‡†çš„è¯­æ³• */
}

.mt-gradient-brown {
    background: -webkit-linear-gradient(left, #e2a76a, #f6d69c, #e8b67a) !important;
    /* Safari 5.1 - 6.0 */
    background: -o-linear-gradient(right, #e2a76a, #f6d69c, #e8b67a) !important;
    /* Opera 11.1 - 12.0 */
    background: -moz-linear-gradient(right, #e2a76a, #f6d69c, #e8b67a) !important;
    /* Firefox 3.6 - 15 */
    background: linear-gradient(to right, #e2a76a, #f6d69c, #e8b67a) !important;
    /* æ ‡å‡†çš„è¯­æ³• */
}

.mt-gradient-orange {
    background: -webkit-linear-gradient(left, #ffa800, #ff8000) !important;
    /* Safari 5.1 - 6.0 */
    background: -o-linear-gradient(right, #ffa800, #ff8000) !important;
    /* Opera 11.1 - 12.0 */
    background: -moz-linear-gradient(right, #ffa800, #ff8000) !important;
    /* Firefox 3.6 - 15 */
    background: linear-gradient(to right, #ffa800, #ff8000) !important;
    /* æ ‡å‡†çš„è¯­æ³• */
    color: #ffffff !important;
}

.mt-gradient-lightorange {
    background: -webkit-linear-gradient(top, #fecc39, #f4af08) !important;
    background: -o-linear-gradient(bottom, #fecc39, #f4af08) !important;
    background: -moz-linear-gradient(bottom, #fecc39, #f4af08) !important;
    background: linear-gradient(to bottom, #fecc39, #f4af08) !important;
}

.mt-gradient-gray {
    background: -webkit-linear-gradient(left, #4d4d4d, #656565) !important;
    background: -o-linear-gradient(right, #4d4d4d, #656565) !important;
    background: -moz-linear-gradient(right, #4d4d4d, #656565) !important;
    background: linear-gradient(to right, #4d4d4d, #656565) !important;
}

.mt-gradient-black {
    background: -webkit-linear-gradient(left, #333333, #636363) !important;
    background: -o-linear-gradient(right, #333333, #636363) !important;
    background: -moz-linear-gradient(right, #333333, #636363) !important;
    background: linear-gradient(to right, #333333, #636363) !important;
}

/* 浮动 */
.pull-left {
    float: left;
}

.pull-right {
    float: right;
}

/* 线条 */
.border {
    border: 1px solid #f5f5f5;
}

.border-l {
    border-left: 1px solid #f5f5f5;
}

.border-r {
    border-right: 1px solid #f5f5f5;
}

.border-t {
    border-top: 1px solid #f5f5f5;
}

.border-b {
    border-bottom: 1px solid #f5f5f5;
}

/* 字体行高 */
.line-height10 {
    line-height: 0.9rem;
}

.line-height12 {
    line-height: 1rem;
}

.line-height14 {
    line-height: 1.4rem;
}

.line-height16 {
    line-height: 1.6rem;
}

.line-height18 {
    line-height: 1.8rem;
}

.line-height20 {
    line-height: 2rem;
}

.aui-font-size-10 {
    font-size: 0.5rem !important;
}

/* 版块内容加阴影和弧度 */
.box-shadow {
    box-shadow: 0px 0.01rem 0.03rem rgba(0, 0, 0, 0.05);
}

/* 字体颜色 */
.color-999 {
    color: #999 !important;
}

.color-666 {
    color: #666 !important;
}

.color-000 {
    color: #000 !important;
}

.color-333 {
    color: #333 !important;
}

.opacity-8 {
    opacity: 0.8;
}

.text-xxxl {
    font-size: 28px;
}

.content-full {
    width: 100%;
}

/* 列表线条为浅灰色线条 */
.aui-list {
    background-image: linear-gradient(0, #f5f5f5, #f5f5f5 50%, transparent 50%);
}

.aui-list .aui-list-item {
    background-image: linear-gradient(0, #f5f5f5, #f5f5f5 50%, transparent 50%);
    background-image: -webkit-linear-gradient(90deg, #f5f5f5, #f5f5f5 50%, transparent 50%);
}

/*列表加间隔*/
.aui-content.wideline .aui-list {
    background: none;
}

.aui-content.wideline .aui-list-item {
    background: #fff;
    margin-bottom: 0.5rem;
    padding: 0.25rem 0.75rem;
}

.mt-list-wide.aui-list .aui-list-item {
    margin-bottom: 0.75rem;
    background-image: none;
    border-top: none;
}

.mt-list-wide.aui-list {
    background-image: none;
    border-top: none;
}

/* 列表没有线条 */
.border-none.aui-list {
    background-image: none;
    border-top: none;
}

.border-none.aui-list .aui-list-item {
    background-image: none;
    border-bottom: none;
}

/* 列表中间有线条 */
.border-mid.aui-list {
    background-image: none;
}

.border-mid.aui-list .aui-list-item {
    background-image: linear-gradient(0, #f5f5f5, #f5f5f5 50%, transparent 50%);
    background-image: -webkit-linear-gradient(90deg, #f5f5f5, #f5f5f5 50%, transparent 50%);
}

/* aui-slide */
.aui-slide-wrap {
    display: block;
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.aui-slide-wrap .aui-slide-node {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    list-style: none;
    overflow: hidden;
    background: #ffffff;
}

.aui-slide-node-center {
    display: -moz-box;
    display: -webkit-box;
    display: box;
    -moz-box-pack: center;
    -webkit-box-pack: center;
}

.aui-slide-node-middle {
    display: -moz-box;
    display: -webkit-box;
    display: box;
    -moz-box-align: center;
    -webkit-box-align: center;
}

.aui-slide-node img {
    width: 100%;
    height: 100%;
}

.aui-slide-page-wrap {
    width: 100%;
    height: 1.5rem;
    line-height: 1.5rem;
    position: absolute;
    padding: 0;
    left: 0;
    right: 0;
    bottom: 0.25rem;
    z-index: 9999;
    text-align: center;
}

.aui-slide-page-dot {
    position: relative;
    display: inline-block;
    width: 0.3rem;
    height: 0.3rem;
    border-radius: 50%;
    list-style: none;
    margin: 0.25rem 0.15rem 0 0.15rem;
    background: #c7c7c7;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
}

.aui-slide-page-line {
    position: absolute;
    bottom: -0.7rem;
    height: 1px !important;
    display: inline-block;
    background: #eeeeee;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
}

.aui-slide-page-active {
    background: #1abc9c;
}

.aui-slide-prev-btn,
.aui-slide-next-btn {
    display: inline-block;
    width: 2.5rem;
    height: 1.5rem;
    line-height: 1.5rem;
    font-size: 1.2em;
    color: #1abc9c;
    background: rgba(249, 249, 249, 0.6);
    position: relative;
}

.aui-slide-prev-btn {
    border-top-left-radius: 0.75rem;
    border-bottom-left-radius: 0.75rem;
}

.aui-slide-next-btn {
    border-top-right-radius: 0.75rem;
    border-bottom-right-radius: 0.75rem;
}

.aui-slide-prev-btn:active,
.aui-slide-next-btn:active {
    color: var(--theme) !important;
}

.aui-btn-block {
    display: block;
    width: 100%;
    height: 2.2rem;
    line-height: 2.25rem;
    margin-bottom: 0;
    font-size: 16px;
}

/* 缺省图 */
.page_msg {
    width: 80%;
    margin: 0 auto;
    font-size: 0.8rem;
    text-align: center;
}

.page_msg .inner {
    padding-top: 2.0rem;
}

.page_msg .msg_icon_wrp {
    display: block;
    padding-bottom: 0.5rem;
}

.msg_button {
    background: var(--theme) !important;
    width: 60%;
    border-radius: 1rem;
    padding: 10px 0;
    color: #fff;
    margin: 1rem auto;
    font-size: 0.7rem;
}

.icon_nomessage {
    width: 9rem;
    display: inline-block;
    vertical-align: middle;
}

.page_msg .msg_h4 {
    font-size: 0.7rem;
    color: #666;
    line-height: 1.3rem;
}

.page_msg .msg_h2 {
    font-size: 0.8rem;
    color: #000;
    line-height: 1.8rem;
}

.page_msg .msg_content {
    overflow-x: hidden;
    word-break: break-all;
}

/*设置弧度 */
.mt-top-radius {
    border-top-right-radius: 1rem !important;
    border-top-left-radius: 1rem !important;
}

.mt-radius-30 {
    border-radius: 1.5rem !important;
}

.mt-radius-15 {
    border-radius: 0.75rem !important;
}

.mt-radius-10 {
    border-radius: 0.5rem !important;
}

.mt-radius-5 {
    border-radius: 0.25rem !important;
}


/* 设置高度间隔 */
.h60 {
    height: 3rem;
}

.h40 {
    height: 2rem;
}

.h10 {
    height: 0.5rem;
    background: #f5f5f5;
}

.relative-top10 {
    position: relative;
    top: -2rem;
}

/* 弹框 */

/* 使屏幕变暗 */
.commodity_screen {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: #000;
    opacity: 0.2;
    overflow: hidden;
    z-index: 1000;
    color: #fff;
}

/*对话框 */
.commodity_attr_box {
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 2000;
    background: #fff;
}

/*支付弹窗*/
.pay_title {
    line-height: 2rem;
    padding: 0 0.75rem;
    font-size: 0.7rem;
}

.payment .att-popup-close {
    top: 0.5rem;
}

/* 重写 radio 样式 */
.radio {
    width: 100%;
    font-size: 0.7rem;
    height: 2.5rem;
    line-height: 2.5rem;
    display: flex;
    border-bottom: 1px solid #f5f5f5;
}

.pay_listcon {
    padding: 0 0.75rem;
}

.att-popup-footer {
    float: left;
    width: 100%;
}

.att-popup-footer .btn {
    float: left;
    height: 2.2rem;
    line-height: 2.2rem;
    border-radius: 0;
    font-size: 18px;
    color: #fff;
}

.att-popup-footer .btn-yes {
    width: 100%;
    background-color: var(--theme) !important;
    border-color: var(--theme) !important;
    border-width: 1px;
    font-size: 0.9rem;
}
