.selector-for-some-widget {
    box-sizing: content-box;
}

.content-container {
    padding-top: 20px;
    padding-bottom: 20px;
}

body {
    position: relative;
}

.nav-tabs .nav-link {
    font-size: 13px;
}

.table thead tr th {
    font-size: 14px;
}

.nav-link, .navbar-brand {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1) !important;
}

#spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -16px;
    margin-left: -16px;
}

.user-info-top {
    background-color: #3d4043;
    color: #efefef;
    padding: .5em 0.75em;
}

.user-info-top a {
    color: #efefef;
    text-align: right;
    float: right;
}

button:focus:not(:focus-visible) {
    box-shadow: none;
}

#tongji .nav {
    flex-wrap: nowrap;
}

.show {
    display: block;
}

.hidden {
    display: none;
}

/* 在线充钻 */
#chong .search-user-img img {
    width: 50px;
    height: 50px;
    border-radius: 360px !important;
    background: #f9f9f9;
    border: 0 none !important;
}

/* 新用户角标（首页头像右上角） */
#chong .search-user-img .avatar-wrap {
    position: relative;
    display: inline-block;
}
#chong .search-user-img .new-user-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background-color: #dc3545; /* Bootstrap danger red */
    color: #fff;
    border-radius: 12px;
    font-size: 10px;
    line-height: 1;
    padding: 2px 6px;
    white-space: nowrap;
}

#zs-user-tips {
    font-size: 12px;
    text-align: left;
}

.table thead tr th {
    white-space:nowrap;
    text-align: center;
}

.table tbody tr td {
    text-align: center;
    vertical-align: middle;
}

.table thead tr:first-child {
    background-color: #CCC; 
    position:sticky;
    top:-12px;
    padding-top:10px;
}

#chong .input-group-text {
    width: 6em;
    text-align: center;
    padding-left: 0;
    padding-right: 0;
    display: inline-block;
}

#clear-btn {
    width: 42px;
    height: 42px;
    display: inline-block;
}

#clear-btn {
    position: absolute;
    top: 0;
    right: 3.6em;
    z-index: 9999;
}

#clear-btn img {
    width: 24px;
    height: 24px;
    position: absolute;
    top: 0.4em;
    left: 0.5em;
}

#searchUserIdButton {
    border-top-right-radius: .375rem;
    border-bottom-right-radius: .375rem;
}

.clock-down {
    font-size: 12px;
    display: inline-block;
    position: absolute;
    top: 0.8em;
    right: 1em;
    color: #888;
}

#zs-left, #searchUserName {
    color: #888;
}

/* 充值详情 */
#userRecord-tab-pane {
    margin-top: 1rem !important;
}

#userRecord-tab-pane .btn-toolbar,#tongji-tab-pane  .btn-toolbar {
    margin-bottom: 0 !important;
}

/* 充值统计 */
#tongji-tab-pane .gone {
    background-color: #ff6348;
}

#tongji-tab-pane .tips {
    font-size: 13px;
    color: #888;
    text-align: right;
    padding: 0.5rem 0;
}

#tongji-tab-pane .wechatid,.edit_zs a {
    color:#0d6efd !important;
    text-decoration: underline !important;
}

#tongji-tab-pane .focused .wechatid,.table-responsive .focused a {
    color:#fff !important;
}

.modal-body .des,.modal-footer .footer-des {
    font-size: 13px;
}

.modal-footer .footer-des {
    text-align: right;
    color: #888;
}

.btn-toolbar.justify-content-between {
    display: none !important;
    margin-top: 1em;
}

.table-responsive {
    margin-top: 1.5em;
}

#user-admin .table-responsive {
    margin-top: 0;
}

/* 假钻石充值图 */

#cz-placeholder {
    margin-top: 50px;
    position: relative;
}

#cz-placeholder, #cz-placeholder .cz-img {
    max-width: 100%;
    width: 100%;
    overflow: hidden;
}

#cz-placeholder .search-user-img {
    position: absolute;
    top: 22%;
    left: 50%;
    margin-left: -26%;
    width: 52%;
}

#cz-placeholder .search-user-img img {
    width: 37%;
    border-radius: 20px !important;

}

.ph-username, .ph-userid,.ph-zsnum {
    position: absolute;
    width: 100%;
    text-align: center;
    left: 0;
}

.ph-username {
    top: 33%;
    font-size: 20px;
    color: #0a0a0a;
}

.ph-userid {
    top: 37.9%;
    padding-left: 5%;
    color: #777;
    line-height: 1;
    font-size: 15px;
}

.ph-zsnum {
    top: 44.2%;
    left: 11%;
    text-align: left;
    font-size: 18px;
    line-height: 1;
}

/* flash message */
.flash-container .flash-message {
    padding-left: 45px;
    font-weight: 600;
    min-height: 40px;
    line-height: 2.4;
    border-radius: 5px;
}

.flash-container .flash-error {
    background-color: #fef0f0;
    color: #f56c6c;
    border: 1px solid #ff4136;
}

.flash-container .flash-success {
    background-color: #f0f9eb;
    color: #67c23a;
    border: 1px solid #4caf50;
}

.flash-container .flash-warning {
    background-color: #fdf6ec;
    color: #e6a23c;
    border: 1px solid #ff851b;
}

.flash-container .flash-message:after {
    font-size: 22px;
    top: -2px;
    left: 15px;
    right: auto;
}

.flash-container .flash-message.flash-danger:before, .flash-container .flash-message.flash-error:before,.flash-container .flash-message.flash-success:before,.flash-container .flash-message.flash-warning:before {
    background-color: transparent;
}

#confirmModel {
    z-index: 99998;
}

#confirm-zsnum {
    color: #ff851b;
}

#payment-outer,.wpk-u-b-outer {
    text-align: center;
}

#wallet-info {
    background: #f9f9f9;
    padding: 10px 20px;
    position: relative;
}

#wallet-info div {
    padding: 10px 0;
}

#wallet-info #waller-rf {
    position: absolute;
    top: 10px;
    right: 10px;
}

.wpk-u-b-outer {
    padding:10px 0 20px;
    font-size: 13px;
}

.buy-f-o {
    background-color: #2ed573;
}

#shoudong-click {
    text-align: right;
    float: right;
}

.notice {
    position: relative;
    background-color: #fdf6ec;
    color: #e6a23c;
    border: 1px solid #ff851b;
    padding: 10px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
    align-content: center;
}

.notice p {
    margin: 0;
    padding: 0;
}

#select-users tbody {
    background-color: #fff;
}

#select-users tbody td:first-child {
    color:#0d6efd;
    text-decoration: underline;
}

#select-users tbody td {
    padding: 1rem;
}

#c-p-name {
    position: absolute;
    top: 0;
    right: 0;
}

#zs-left, #searchUserName {
    border-top-right-radius: .375rem;
    border-bottom-right-radius: .375rem;
}
