.bootstrap-dialog.nice .modal-header {
    padding: 0;
    border-bottom: 0;
}
.bootstrap-dialog.nice .bootstrap-dialog-header {
    display: flex;
    justify-content: space-between;
    height: 4em;
    align-items: center;
    flex-direction: row-reverse;
    margin: 0 1em;
}
.bootstrap-dialog.nice .bootstrap-dialog-title {
    margin-right: auto;
}

.bootstrap-dialog.nice .bootstrap-dialog-title,
.bootstrap-dialog.nice .bootstrap-dialog-title span{
    font-size: 1.3em!important;
}
.bootstrap-dialog.nice .bootstrap-dialog-close-button.text-close {
    width: 2.5em;
    font-size: 2em!important;
}
.bootstrap-dialog.nice .bootstrap-dialog-close-button button.close {
    font-size: 50px!important;/*有css修改外层div的px, 所以不能设置em*/
    margin: 0!important;
    color: #FFF;
    opacity: 0.8;
    outline: none;
}
.bootstrap-dialog.nice .bootstrap-dialog-close-button.text-close button.close {
    font-size: inherit!important;
}
.bootstrap-dialog.nice .modal-footer button {
    outline: none;
}
.bootstrap-dialog.nice:not(.max) {
    overflow: auto;
}
/*.bootstrap-dialog.nice .modal-dialog,
.bootstrap-dialog.nice .modal-content,
.bootstrap-dialog.nice .modal-body,
.bootstrap-dialog.nice .bootstrap-dialog-body,
.bootstrap-dialog.nice .bootstrap-dialog-message,
.bootstrap-dialog.nice .bootstrap-dialog-message > div {
    height: 100%;
}*/
/*.bootstrap-dialog.nice > .modal-dialog > .modal-content > .modal-body {
    height: calc(100% - 4em);
}*/


.bootstrap-dialog.max {
    overflow: hidden;
    height: 100%;
}
.bootstrap-dialog.max .modal-body {
    height: calc(100% - 4em);
    overflow: auto;
    width: 100%;
}
.bootstrap-dialog.max .modal-dialog {
    padding: 0;
    width: 100%;
    border: 0;
    height: 100%;
}
.bootstrap-dialog.max .modal-content {
    border: 0;
    height: 100%;
}
.bootstrap-dialog.max .bootstrap-dialog-message > div {
    height: 100%;
}


.nice-scroll::-webkit-scrollbar,
.bootstrap-dialog.nice.max .modal-body::-webkit-scrollbar{/*滚动条整体样式*/
    width: 8px;
    height: 8px;
}
.nice-scroll.slim-scroll::-webkit-scrollbar{
    width: 4px!important;
    height: 4px!important;
}
.nice-scroll.fat-scroll::-webkit-scrollbar{
    width: 16px!important;
    height: 16px!important;
}
.nice-scroll::-webkit-scrollbar-thumb,
.bootstrap-dialog.nice.max .modal-body::-webkit-scrollbar-thumb{/*滚动条里面小方块*/
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
    background: #535353;
}
.nice-scroll.cubic-thumb::-webkit-scrollbar-thumb{
    border-radius: unset!important;
}
.nice-scroll::-webkit-scrollbar-track,
.bootstrap-dialog.nice.max .modal-body::-webkit-scrollbar-track{/*滚动条里面轨道*/
    -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
    border-radius: 10px;
    background: #EDEDED;
}
.nice-scroll.cubic-track::-webkit-scrollbar-track,
.bootstrap-dialog.nice.max .modal-body::-webkit-scrollbar-track{
    border-radius: unset!important;
}

/* region 难度系数星星 */
.fa-diff-coeff {
    user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
}
.fa-diff-coeff .fa {
    cursor: pointer;
    user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
}

.fa-diff-coeff .fa:before,
.fa-diff-coeff.star-0 .fa:before {
    content: "\f006";
}

.fa-diff-coeff.star-1 .fa:nth-child(1):before,
.fa-diff-coeff.star-3 .fa:nth-child(2):before,
.fa-diff-coeff.star-5 .fa:nth-child(3):before,
.fa-diff-coeff.star-7 .fa:nth-child(4):before,
.fa-diff-coeff.star-9 .fa:nth-child(5):before {
    content: "\f123" !important;
}

.fa-diff-coeff.star-2 .fa:nth-child(1):before,
.fa-diff-coeff.star-3 .fa:nth-child(1):before,
.fa-diff-coeff.star-4 .fa:nth-child(-n+2):before,
.fa-diff-coeff.star-5 .fa:nth-child(-n+2):before,
.fa-diff-coeff.star-6 .fa:nth-child(-n+3):before,
.fa-diff-coeff.star-7 .fa:nth-child(-n+3):before,
.fa-diff-coeff.star-8 .fa:nth-child(-n+4):before,
.fa-diff-coeff.star-9 .fa:nth-child(-n+4):before,
.fa-diff-coeff.star-10 .fa:nth-child(-n+5):before {
    content: "\f005" !important;
}
/* region 难度系数星星 */