:root{
    --bs-border-radius-lg: 0.5rem;
}

.bg-nav{
    background-color: rgba(0, 0, 0, 0);
}

.bg-footer{
    background-color: #000000;
}

.footer2{
    color: #727272;
}
.footer2 img{
    width: 1em;
}

.text-indent{
    text-indent: 2em;
}

svg.icon{
    width: 1em;
    height: 1em;
}

.text-333{
    color: #333;
}
.text-3D3D3D{
    color: #3D3D3D;
}

.text-9E9E9E{
    color: #9E9E9E;
}

.text-666{
    color: #666;
}

.text-999{
    color: #999;
}

.text-wechat-green{
    color: #39b239;;
}

.text-alipay-blue{
    color: #1777ff;
}

.text-red{
    color: #FF3838;
}

.text-gold{
    color: #c28748;
}

.cursor-pointer{
    cursor: pointer;
}

.border-radius{
    border-radius: var(--bs-border-radius-lg);
}

.border-left-radius{
    border-radius: var(--bs-border-radius-lg) 0 0 var(--bs-border-radius-lg);
}

.border-top-radius{
    border-radius: var(--bs-border-radius-lg) var(--bs-border-radius-lg) 0 0;
}

.border-bottom-radius{
    border-radius: 0 0 var(--bs-border-radius-lg) var(--bs-border-radius-lg);
}

.border-right-radius{
    border-radius: 0 var(--bs-border-radius-lg) var(--bs-border-radius-lg) 0;
}

.header-placeholder{
    height: 65px;
}
img {
    max-width: 100%;
}

.link-dark{
    color: #212529 !important;
}

.fs-7{
    font-size: .75rem !important
}

.fs-8{
    font-size: .625rem !important
}

.fs-9{
    font-size: .5rem !important
}

.fs-10{
    font-size: .375rem !important
}
.w-1em{
    width: 1em;
}
.w-2em{
    width: 1.5em;
}
.w-3em{
    width: 2em;
}
.w-4em{
    width: 2.5em;
}

.uio-more{
    left: 0;
    bottom: 0;
    width: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 1));
    height: 200px;
}

.message-height{
    height: calc(100vh - 65px - 149px);
}

.modal{
    background-color: rgba(0, 0, 0, .5);
}

.profile{
    min-height: 75vh;
}

.profile-title{
    line-height: 2.5em;
    border-left: .3rem solid #59A1F9;
}

.profile-table{

}

#modal-register .send-code-btn{
    position: absolute;
    right: calc((var(--bs-gutter-x) * .1));
    bottom: calc(0.59375rem * 2);
    color: #0198FC;
}

#modal-register .form-control{
    color: #333;
}

#modal-register .exec-login-btn{
    border: 0;
    background-image: linear-gradient(to left, #DA83F7, #0198FC);
    color: #fff;
}

#modal-register .register-tips{
    width: 100%;
    font-size: 12px;
    font-weight: bolder;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
    color: #3D3D3D;
}

#modal-register .register-tips::before, #modal-register .register-tips::after{
    content: '';
    position: absolute;
    width: calc((100% - 14em) / 2);
    height: 1px;
    background-color: #D8D8D8;
    left: 0;
    top: calc((100% - 1px) / 2);
    z-index: 1
}
#modal-register .register-tips::after{
    left: auto;
    background-color: #D8D8D8;
    right: 0;
}

#modal-register .qrcode-box{
    width: 179px;
}

#modal-register .tel-login-btn,
#modal-register .wechat-login-btn,
#modal-register .tel-login{
    display: none;
    cursor: pointer;
}

#modal-register .tel-login-btn.active, #modal-register .wechat-login-btn.active{
    display: flex;
}

#modal-register .tel-login .text-danger, #modal-register .wechat-login .text-danger{
    font-size: 12px;
    min-height: 1.5em;
}
#modal-register .tel-login input::placeholder{
    color: #B3B3B3;
}

#modal-register .register-tel-tips{
    text-align: right;
}

#modal-register .tel-login input{
    outline: none;
    color: #000000;
    padding-left: 0;
    padding-right: 0;
    border: none;
    border-bottom: 1px solid #D8D8D8;
    border-radius: 0;
    background: rgba(0, 0, 0, 0);
}
#modal-register .tel-login label{
    color: #000000;
}

#modal-register .tel-login-btn .avatar-text{
    background: #ffa938;
    font-size: 2rem;
    cursor: pointer;
}

#modal-register .wechat-login-btn .avatar-text{
    background: #50d562;
    font-size: 2rem;
    cursor: pointer;
}

#modal-register .user-protocol{
    font-size: 12px;
    color: #666;
}

#modal-register .login-box{
    border-radius: .8rem;
}

#modal-register .login-box > div > img{
    width: 100%;
}

header .after-login{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    height: 100%;
}

header .after-login .after-display{
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

header .after-drop{
    display: none;
    /*display: flex;*/
    position: absolute;
    background: #fff;
    right: 0;
    top: 100%;
    align-items: center;
    justify-content: center;
    flex-flow: column nowrap;
    --after-drop-width: 280px;
    width: var(--after-drop-width);
    padding-top: 1rem;
    box-shadow: 0 0 6px 0 #ccc;
    border-radius: 3px;
    z-index: 3;
}
header .after-cover {
    display:none;
    position: fixed;
    width: 100vw;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 2;
}

header .after-drop-header{
    width: calc(100% - 1rem);
    position: relative;
}

header .user-info-list{
    width: calc(100% - 1rem);
    display: flex;
    align-items: center;
}

header .user-info-list > div{
    width: calc(100% - 1rem);
    justify-content: space-between;
    padding-bottom: .8rem;
    align-items: center;
    color: #3D3D3D;
    cursor: pointer;
}
header .user-info-list > div img{
    height: 1em;
    flex-shrink: 0;
    margin-right: .3rem;
}
header .user-info-list > div > div{
    /*width: 100%;*/
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header .after-drop .vip-bg{
    background-image: url('../img/vip-bg.png');
    background-size: 100% auto;
    background-repeat: no-repeat;
    width: calc(var(--after-drop-width) - 1rem);
    height: calc((var(--after-drop-width) - 1rem) * 59 / 247);
    display: flex;
    justify-content: space-around;
    align-items: center;
}
header .after-drop .vip-bg .take-up{
    width: calc((var(--after-drop-width) - 1rem) * 95 / 515);
    flex-shrink: 0;
    height: 100%;
}
header .after-drop .vip-bg .btn{
    background-image: linear-gradient(#FDE77D, #FCBE58);
    border: none;
    color: #000;
    border-radius: 2em;
    padding: .25rem 1em !important;
    margin-right: .5rem;
}

header .after-login .after-display:hover + .after-drop{
    /*display: flex;*/
    display: none;
}

header .after-login .after-drop:hover{
    display: flex;
    /*display: none;*/
}
header .after-drop-header .avatar{
    position: relative;
}
header .after-drop-header .avatar img{
    position: absolute;
    right: 0;
    bottom: 0;
}
header .logout-btn{
    z-index: 1111111;
    padding: 1rem 1rem 0 0;
}

header .login-btn, header .login-btn:hover{
    margin-left: .6rem;
    background-image: linear-gradient(to left, #FA40BC, #234FFF);
    border: none;
    color: #fff;
}

header .nav-link.active{
    border-bottom: 1px solid #A94CF0;
    color: #A94CF0;
}

/* 购买弹窗 */
#modal-buy .buy-box{
    background-image: linear-gradient(rgba(218, 131, 247, 0.80), rgba(1, 152, 252, 0.80));
    border-radius: .8rem;
    padding: .3rem;
}
#modal-buy .buy-box-1{
    background: #fff;
    border-bottom-left-radius: .8rem;
    border-bottom-right-radius: .8rem;
}

#modal-buy .buy-box-1 .title-tips{
    background-image: linear-gradient(to right, #EE4A94, #A94CF0);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.85em;
    border-radius: 3em;
    width: 15em;
    padding: .5rem 0;
    font-size: 1.3rem;
    margin-top: calc(0px - (3.15rem / 2));
}

#modal-buy .buy-banner{
    height: 180px;
    width: 100%;
    background-image: url("../img/buy-banner.png");
    background-size: auto 100%;
    background-position: center;
    border-top-left-radius: .8rem;
    border-top-right-radius: .8rem;
}

#modal-buy .pay-group{
    display: flex;
    align-items: center;
    justify-content: space-around;
    position: relative;
}

#modal-buy .pay-group .pay-item{
    width: calc(100% / 4);
    background-image: linear-gradient(133deg, #DA83F7, #A089F8, #618FFA);
    border-radius: .5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column nowrap;
    padding: 0;
    position: relative;
    /*box-shadow: 0 0 6px 0 #c2c2c2;*/
    cursor: pointer;
}
#modal-buy .pay-group .pay-item > div{
    width: calc(100% - .6rem);
    border-radius: .5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column nowrap;
    margin: .3rem;
    position: relative;
    background: #EAEAFF;
    padding: .3rem 0;
}
#modal-buy .pay-group .pay-item .pay-item-title{
    display: flex;
    color: #000;
}

#modal-buy .pay-group .pay-item .pay-item-unit-price{
    color: #FF3838;
    font-size: 12px;
    white-space: nowrap;
}

#modal-buy .pay-group .pay-item .pay-item-unit-price span{
    font-size: 2rem;
}

#modal-buy .pay-group .pay-item .pay-item-price{
    color: #000000;
}

#modal-buy .pay-group .pay-item .pay-item-original-price{
    text-decoration: line-through;
    color: #7C7E88;
}

#modal-buy .pay-group .pay-item .pay-item-tips{
    background-image: linear-gradient(to left, #FFC144, #FF6937);
    position: absolute;
    left: -2px;
    top: calc(-1.5em / 2);
    padding: 0 .5rem;
    color: #fff;
    font-size: 10px;
    line-height: 1.85em;
    border-radius: .5rem 0 .5rem 0;
}

#modal-buy .pay-group + .pay-group-tips{
    width: 100%;
    background-image: linear-gradient(to right, #ffe4c5, #fac972, #fcd08e, #F39E47, #F39E47);
    line-height: 1.85em;
    color: #705128;
    font-size: 1rem;
    height: 4em;
    white-space: nowrap;
}


#modal-buy .pay-group .pay-item.active > div{
    background: none;
}

#modal-buy .pay-group .pay-item.active .pay-item-price,
#modal-buy .pay-group .pay-item.active .pay-item-unit-price,
#modal-buy .pay-group .pay-item.active .pay-item-original-price,
#modal-buy .pay-group .pay-item.active .pay-item-title{
    color: #fff;
}

#modal-buy .pay-qrcode{
    background-image: linear-gradient(to left, #E7BF96, #F7D49A);
    color: #705128;
}

#modal-buy .pay-qrcode-1{
    background: #fff;
    width: 100%;
}

#modal-buy .pay-qrcode .col-8{
    border-left: 2px solid rgba(255, 255, 255, .23);
}

#modal-buy .wechat-qrcode,
#modal-buy .alipay-qrcode{
    border: 2px solid #1AAD19;
    width: 130px;
    height: 130px;
    /*padding: 3px;*/
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff url(../img/loading24.gif) center center no-repeat;
    border-radius: .2rem;
    overflow: hidden;
}

#modal-buy .alipay-qrcode{
    border-color: #1777FF;
}

#modal-buy .wechat-qrcode canvas, #modal-buy .alipay-qrcode iframe{
    width: 120px;
    height: 120px;
}

#modal-buy .alipay-qrcode iframe{
    margin-left: 5px;
    margin-top: 5px;
    width: 125px;
    height: 125px;
}

#modal-buy .wechat-title, .alipay-title{
    margin-top: .3rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

#modal-buy .wechat-title i, .alipay-title i{
    margin-right: .3rem;
    font-size: 2em;
}

#modal-buy .wechat-qrcode img, .alipay-qrcode img{
    width: 100%;
}

#modal-buy .pay-price-tips + .fs-7{
    white-space: nowrap;
}

#modal-buy .pay-price-tips{
    background-image: linear-gradient(to left, #FF6426, #FFAE57);
    color: #fff;
    padding: .3rem;
    border-radius: .3rem;
    position: relative;
    font-size: 12px;
    white-space: nowrap;
}

#modal-buy .pay-price-tips::before{
    position: absolute;
    content: '';
    top: -.85rem;
    left: 2rem;
    border-style: solid;
    border-width: .45rem;
    border-color: transparent transparent #ffa048 transparent;
}

/* 购买结束 */

/* 挽留 开始 */
#modal-retain{
}

#modal-retain .modal-content{
}

#modal-retain .retain-box{
    background-image: linear-gradient(133deg, #DA83F7, #B584F5, #0198FC);
    border-radius: .5rem;
}

#modal-retain .retain-tips{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#modal-retain .retain-tips img{
    width: 80%;
}

#modal-retain .retain-frame, #modal-retain .qrcode{
    position: relative;
    width: 100%;
    background-image: linear-gradient(to left, #FAEFFF, #FFEDED);
}
#modal-retain .retain-frame{
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}
#modal-retain .qrcode{
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
}

#modal-retain .retain-frame > img{
    width: 100%;
}

#modal-retain .retain-frame .retain-content{
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

#modal-retain .retain-frame .retain-content .top,
#modal-retain .retain-frame .retain-content .center-1,
#modal-retain .retain-frame .retain-content .center-2,
#modal-retain .retain-frame .retain-content .bottom{
    position: absolute;
    font-size: 9px;
    width: 100%;
    color: #FF4040;
    line-height: 1.8em;
}
#modal-retain .retain-frame .retain-content .bottom > div > .fs-2{
    white-space: nowrap;
}

#modal-retain .retain-frame .retain-content .top{
    left: 5%;
    top: 21%;
    width: 90%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /*padding: 0 .2rem;*/
    line-height: 1em;
    font-weight: 500;
}
#modal-retain .retain-frame .retain-content .center-1{
    left: 5%;
    top: 42%;
    width: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1em;
    font-size: 20px;
    color: #fff;
    font-weight: bolder;
}
#modal-retain .retain-frame .retain-content .center-2{
    left: 5%;
    top: 65.23%;
    width: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1em;
    font-size: 18px;
    color: #FF2A2A;
    font-weight: bolder;
}
#modal-retain .retain-frame .retain-content .center-2 span{
    font-weight: 400;
}

#modal-retain .retain-frame .retain-content .top > div{
    text-align: center;
}

#modal-retain .retain-frame .retain-content .top .shrink{
    display: inline-block;
    transform: scale(.5);
}

#modal-retain .retain-frame .retain-content .bottom{
    bottom: 8%;
    left: 10%;
    width: 80%;
    height: 14.63%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

#modal-retain .wechat-qrcode,
#modal-retain .alipay-qrcode{
    border: 2px solid #1AAD19;
    width: 130px;
    height: 130px;
    padding: 3px;
    background: #fff url(../img/loading24.gif) center center no-repeat;
    border-radius: .2rem;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

#modal-retain .alipay-qrcode{
    border-color: #1777FF;
}

#modal-retain .wechat-qrcode canvas{
    width: 120px;
    height: 120px;
}

#modal-retain .alipay-qrcode iframe{
    margin-left: 5px;
    margin-top: 5px;
    width: 125px;
    height: 125px;
}

#modal-retain .wechat-title, .alipay-title{
    margin-top: .3rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

#modal-retain .wechat-title i, .alipay-title i{
    margin-right: .3rem;
    font-size: 2em;
}

#modal-retain .wechat-qrcode img, .alipay-qrcode img{
    width: 100%;
}
/* 挽留 结束 */


.checkbox{
    display: inline-block;
}
.checkbox img:nth-child(2), .checkbox.check img:nth-child(1){
    display: inline;
}
.checkbox img:nth-child(1), .checkbox.check img:nth-child(2){
    display: none;
}
.checkbox img{
    width: 1em;
}

.tpl_profile_header{
    width: 100%;
    border-top-left-radius: .8rem;
    border-top-right-radius: .8rem;
    background-image: linear-gradient(to left, #D87EF2, #6A8EFA);
    height: 12em;
}
.tpl_profile_header .tpl_profile_header-bg{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column nowrap;
    color: #fff;
    background-image: url("../img/userinfo-bg.png");
    background-size: 100% 100%;
}
.tpl_profile_body{
    width: calc(100% - 2rem);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-flow: column nowrap;
    position: relative;
}
.tpl_profile_body table {
    position: relative;
    z-index: 2;
}
.tpl_profile_body img{
    position: absolute;
    right: 0;
    bottom: 0;
    height: 100%;
    transform: scale(.8) translateX(1rem);
    z-index: 1;
}

@media (min-width: 576px){
    #modal-retain .modal-dialog, #modal-add-group .modal-dialog{
        max-width: 500px;
    }
}

@media (min-width: 1200px){
    .main, .navigation, .sidebar{
        height: calc(100vh - 65px - 149px);
    }
}


.add-group-box{
    border: 2px solid #1777FF;
    border-radius: .5rem;
}
