.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* 1行省略 */
.ellipsis-1 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 2行省略 */
.ellipsis-2 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* 3行省略 */
.ellipsis-3 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* 4行省略 */
.ellipsis-4 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

/* 隐藏滚动条 */
.scrollbar-hidden {
    /* Firefox隐藏滚动条 */
    overflow: -moz-scrollbars-none;
    /* IE10+隐藏滚动条 */
    -ms-overflow-style: none;
}

.scrollbar-hidden::-webkit-scrollbar {
    width: 0 !important;
}

/*模态框*/
.ht-modal-bg {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 100000000;
}

.ht-modal-box {
    width: 406px;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 100000001;
    box-sizing: border-box;
    background-color: #fff;
    padding: 20px 30px 40px;
}

.ht-modal-header {
    position: relative;
    padding-bottom: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

.ht-modal-header h3 {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 18px;
    color: #222;
    box-sizing: border-box;
    margin: 0;
    font-weight: normal;
}

.ht-modal-close-btn {
    position: absolute;
    width: 14px;
    height: 14px;
    background: url("../images/modal/icon-close.png") no-repeat center;
    right: 0;
    top: 0;
    cursor: pointer;
}

.ht-modal-content {
    width: 100%;
}

.ht-modal-default-img {
    width: 100%;
    height: 90px;
    background: url("../images/modal/unsigned.png") no-repeat center top;
}

.ht-modal-success-img {
    width: 100%;
    height: 90px;
    background: url("../images/modal/ht-modal-success.png") no-repeat center top;
    background-size: auto 100%;
}

.ht-modal-fail-img {
    width: 100%;
    height: 90px;
    background: url("../images/modal/ht-modal-fail.png") no-repeat center top;
    background-size: auto 100%;
}

.ht-modal-default-text {
    margin-top: 12px;
    font-size: 16px;
    color: #222;
    text-align: center;
}

.ht-modal-footer {
    text-align: center;
    width: 100%;
    padding-top: 30px;
}

.ht-modal-footer > .btn {
    padding: 0 18px;
}

.ht-modal-footer > .btn, .table-list .table-list-content .content-detail .content-operate.ht-modal-footer > a {
    margin-right: 20px;
}

.ht-modal-footer > .btn:last-child, .table-list .table-list-content .content-detail .content-operate.ht-modal-footer > a:last-child {
    margin-right: 0;
}

.ht-confirm-btn {
    display: inline-block;
    padding: 0 20px;
    height: 36px;
    line-height: 36px;
    font-size: 16px;
    color: #ffffff;
    text-align: center;
    background-color: #1875f0;
    border-radius: 3px;
    cursor: pointer;
    margin: 0 10px;
}

.ht-confirm-btn:hover {
    background-color: #1569d8;
}

.btn {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}

.btn-primary, a.btn-primary {
    color: #fff;
    border: 1px solid #1875f0;
    background-color: #1875f0;
    border-radius: 4px;
    padding: 0 12px;
    line-height: 34px;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .btn-primary:active:focus, .btn-primary:active:hover, .btn-primary.active:hover, .btn-primary.active:focus, .btn-primary.active.focus, .btn-primary:active.focus, .open > .dropdown-toggle.btn-primary:focus, .open > .dropdown-toggle.btn-primary:hover, .open .dropdown-toggle.btn-primary {
    color: #fff;
    border: 1px solid #0068df;
    background-color: #0068df;
}

@media (max-width: 768px) {
    .ht-modal-box {
        width: 80%;
    }
}

.modal-dialog .modal-header {
    padding: 17px 30px;
}

.modal-dialog .modal-header .modal-title {
    font-size: 18px;
    font-weight: normal;
    color: #222;
}

.modal-dialog .modal-header .close {
    opacity: 1;
    margin-top: 5px;
    width: 14px;
    height: 14px;
    background: #fff url("../images/modal/icon-close.png") no-repeat center;
    z-index: 1;
}

.modal-dialog .modal-header .close > span {
    opacity: 0;
}

.modal-dialog .modal-content {
    border-radius: 0;
    border: 0;
    box-shadow: 0 6px 14px 0 rgba(0, 0, 0, 0.16);
}

.modal-dialog .modal-content .modal-body {
    padding: 40px 30px;
}

.modal-dialog .modal-content .modal-footer {
    border-top: 0;
    padding: 20px 30px 40px;
}

.ht-tips-modal {
    max-width: 300px;
    display: inline-block;
    z-index: 10000000;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 20px;
}

.ht-tips-modal i {
    padding: 10px;
    background-size: 100% auto;
    margin-right: 10px;
}

.ht-tips-modal i.tips-icon-success {
    background: url("../images/modal/tips-icon-success.png") no-repeat center center;
}

.ht-tips-modal i.tips-icon-noChoose {
    background: url("../images/modal/tips-icon-noChoose.png") no-repeat center center;
}

.ht-tips-modal i.tips-icon-existed {
    background: url("../images/modal/tips-icon-existed.png") no-repeat center center;
}

.ht-tips-modal i.tips-icon-error {
    background: url("../images/modal/tips-icon-error.png") no-repeat center center;
}

@media (max-width: 768px) {
    .ht-tips-modal {
        width: 90% !important;
        margin: 0 auto !important;
    }
}