::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #fafafa;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #97b1c3;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #5c9acf;
}

::placeholder {
    font-weight: normal !important;
    color: #999 !important;
}

textarea {
    resize: none;
}

.page-header {
    transition: .3s ease;
}

.page-header.navbar .page-logo {
    width: 195px;
}

.page-header.navbar .top-menu .navbar-nav li.dropdown-user .dropdown-menu {
    width: 120px;
    min-width: 120px;
}

@media (min-width: 992px) {
    .page-sidebar {
        width: 155px;
    }

    .page-content-wrapper .page-content {
        margin-left: 155px;
    }

    .list-filter.time-picker {
        max-width: 140px;
    }

    .list-filter.time-picker-day {
        max-width: 105px;
    }

    .list-filter.input-id {
        max-width: 100px;
    }
}

.sweet-overlay {
    z-index: 99990;
}

.sweet-alert {
    z-index: 99999;
}

.mt-footer-checkbox {
    margin-left: 14px;
}

.fileinput .fileinput-preview {
    overflow: hidden;
}

.fileinput .fileinput-preview img {
    width: 100%;
}

.dropzone {
    min-height: auto;
}

.dropzone-file-area {
    border: 2px dashed #c2cad8;
    text-align: left;
}

.dropzone .dz-preview.dz-error:hover .dz-error-message {
    color: #fff;
}

.dropzone .dz-preview .dz-remove {
    position: absolute;
    right: 0;
    bottom: 0;
    cursor: pointer;
    color: #fff;
    background-color: rgba(0, 0, 0, .5);
    padding: 7px 10px;
    z-index: 100;
    font-size: 12px;
}

#upload-dropimage:after {
    content: '';
    display: block;
    clear: both;
}

#upload-dropimage .img-item {
    position: relative;
    float: left;
    margin-right: 15px;
    margin-top: 15px;
    cursor: move;
    border: 1px solid #ddd;
    padding: 4px;
    overflow: hidden;
}

#upload-dropimage .img-item .img-thumb {
    overflow: hidden;
}

#upload-dropimage .img-item .img-thumb img {
    width: 100%;
}

#upload-dropimage .img-item .img-del {
    position: absolute;
    right: 4px;
    bottom: 4px;
    cursor: pointer;
    color: #fff;
    background-color: rgba(0, 0, 0, .5);
    padding: 7px 10px;
    font-size: 12px;
}

#upload-album-dropimage:after {
    content: '';
    display: block;
    clear: both;
}

#upload-album-dropimage .img-item {
    position: relative;
    float: left;
    margin-right: 15px;
    margin-top: 15px;
    cursor: move;
    border: 1px solid #ddd;
    padding: 4px;
    overflow: hidden;
}

#upload-album-dropimage .img-item .img-thumb {
    overflow: hidden;
}

#upload-album-dropimage .img-item .img-thumb img {
    width: 100%;
}

#upload-album-dropimage .img-item .img-del {
    position: absolute;
    right: 4px;
    top: 4px;
    cursor: pointer;
    color: #fff;
    background-color: rgba(0, 0, 0, .5);
    padding: 7px 10px;
    font-size: 12px;
}

#upload-album-dropimage .img-item textarea {
    margin-top: 4px;
    resize: none;
    font-size: 12px;
}

.form-group-exp {
    display: none;
    position: relative;
    padding-top: 15px;
    padding-right: 15px;
    border-top: #eee solid 1px;
    border-left: #eee solid 1px;
    border-bottom: #eee solid 1px;
    background-color: #eee;
    margin-bottom: 15px;
    margin-top: -20px;
}

.form-group-exp:before {
    position: absolute;
    top: -8px;
    left: 50%;
    right: auto;
    display: inline-block !important;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #eee;
    border-bottom: 8px solid #eee;
    border-left: 8px solid transparent;
    content: '';
}

.adv-type-content {
    display: none;
}

#form-table td {
    font-size: 12px;
}

#form-table input.input-sm {
    height: 20px;
    padding: 2px 4px;
    line-height: 1;
}

#form-table blockquote.comment-content {
    padding: 10px;
    margin-bottom: 10px;
    font-size: 12px;
}

#form-table blockquote.comment-content small {
    margin-top: 10px;
    font-size: 12px;
}

.prism-player .prism-big-play-btn .outter {
    border-radius: 100% !important;
}

.prism-player .prism-liveshift-progress .prism-progress-cursor, .prism-player .prism-progress .prism-progress-cursor {
    border-radius: 100% !important;
}

#select-video-list .video-item {
    cursor: pointer;
}

#select-video-list .has-select {
    border-bottom: 5px solid #e7505a;
}

#select-video-list .has-add {
    border-bottom: 5px solid #32c5d2;
}

.help-input-tip {
    font-size: 12px;
}

.tip-popover {
    cursor: pointer;
}

.sortable-repeater .sub-item {
    margin: 0 0 15px 0;
    padding: 15px 15px 0 15px;
    border: 2px dashed #c2cad8;
}

.sortable-repeater .sub-item-list {
    margin-bottom: 15px;
}

.sortable-repeater .sub-item-title {
    border-bottom: 1px solid #c2cad8;
    padding-bottom: 15px;
    margin-bottom: 15px;
    cursor: move;
    line-height: 34px;
    font-size: 16px;
}

.sortable-repeater .control-label {
    margin: 5px 0;
    padding-top: 0;
    display: block;
    text-align: left;
    line-height: 30px;
    font-size: 16px;
}

.sortable-repeater .checkbox-item {
    display: block;
    cursor: move;
    padding: 5px 0;
    line-height: 30px;
    border-top: 1px solid #c2cad8;
}

.sortable-repeater .item-id, .sortable-repeater .item-txt {
    display: none;
}

.sortable-repeater .item-title {
    display: inline-block;
    max-width: 30em;
    height: 30px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

#select-content-list .has-select {
    border-bottom: 5px solid #e7505a;
}

#select-content-list .has-add {
    border-bottom: 5px solid #32c5d2;
}

#select-content-list .content-item .fa-check {
    display: none;
}

#select-content-list .content-item.has-select .fa-check {
    display: block;
    font-size: 16px;
}

.wm-bg-l-red {
    background-color: #ffe2e2;
    color: #e7000b;
    font-weight: bold;
}

.wm-bg-l-yellow {
    background-color: #fef3c6;
    color: #e17100;
    font-weight: bold;
}

.wm-bg-l-green {
    background-color: #dcfce7;
    color: #00a63e;
    font-weight: bold;
}

.wm-bg-l-blue {
    background-color: #dbeafe;
    color: #4a5565;
    font-weight: bold;
}

.wm-bg-l-gray {
    background-color: #f3f4f6;
    color: #6a7282;
    font-weight: bold;
}

.wm-txt-sl-hide {
    width: 8em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    height: 1.5em;
    line-height: 1.5em;
}

.wm-txt-sl-hide:hover {
    width: 16em;
    position: absolute;
    z-index: 9;
    background: linear-gradient(to right, rgba(243, 244, 246, 1), rgba(243, 244, 246, 1), rgba(243, 244, 246, 0));
    padding-right: 1em;
}

.wm-txt-ml-hide {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    height: 1.5em;
    line-height: 1.5em;
}

.wm-txt-ml-hide:hover {
    width: 100%;
    position: absolute;
    z-index: 9;
    background: linear-gradient(to right, rgba(253, 224, 71, 1), rgba(253, 224, 71, 1), rgba(253, 224, 71, 0));
    padding-right: 1em;
}

.wm-txt-op-hide .wm-txt-op-item {
    display: none;
}

.wm-txt-op-hide .wm-txt-op-item a, .wm-txt-op-hide .wm-txt-op-item button {
    display: block;
    margin-top: 5px;
    margin-right: 0;
    width: 100%;
}

.page-erp table.dataTable tr:hover .wm-txt-op-hide {
    position: absolute;
    z-index: 9;
    background: rgba(243, 244, 246, 1);
}

.page-erp table.dataTable tr:hover .wm-txt-op-item {
    display: block;
}

.wm-txt-copy-normal {
    margin-left: 0.5em;
}

.page-erp .page-content {
    padding: 0 0 0 20px;
}

.page-erp .table-toolbar {
    position: absolute;
    z-index: 10;
    backdrop-filter: blur(6px);
}

.page-erp .table-scrollable {
    position: relative;
    margin: 20px 0 !important;
}

.page-erp .table-scrollable.active {
    cursor: move;
}

.page-erp table.dataTable {
    margin-bottom: 65px !important;
}

.page-erp table.dataTable td, .page-erp table.dataTable th {
    white-space: nowrap;
    position: relative;
}

.page-erp table.dataTable thead tr.filters input {
    font-weight: normal;
}

.page-erp table.dataTable thead th, .page-erp table.dataTable thead td {
    padding: 8px 10px;
}

.page-erp table.dataTable .orderidx {
    width: 50px;
    display: inline-block;
}

.page-erp table.dataTable .wm-input-m {
    width: 100px;
    display: inline-block;
}

.page-erp .form-group.form-md-line-input {
    padding-top: 0;
    margin-bottom: 10px;
}

.page-erp .form-group.form-md-line-input label {
    font-size: 12px;
    font-weight: bold;
}

.page-erp .page-title {
    font-size: 16px;
    margin: 10px 0;
    font-weight: bold;
}

.page-erp .page-title {
    font-size: 16px;
    margin: 10px 0;
    font-weight: bold;
}

.page-erp table.dataTable tr.planned .is-plan {
    background-color: #FEF08A;
    color: #CA8A04;
    font-weight: bold;
}

.page-erp table.dataTable tr.archived .is-plan {
    background-color: #D9F99D;
    color: #16A34A;
    font-weight: bold;
}

.page-erp table.dataTable tr.plan-in .plan-archive {
    display: none;
}

.page-erp table.dataTable tr.plan-in.planned .plan-archive {
    display: block;
}

.page-erp table.dataTable tr.plan-in .plan-add {
    display: block;
}

.page-erp table.dataTable tr.plan-in.planned .plan-add {
    display: none;
}

.page-erp table.dataTable textarea.op-remark {
    font-size: 12px;
    width: 16em;
}

.page-erp table.dataTable .op-hidden {
    display: none;
}

.dataTables_filter label {
    margin-bottom: 0;
}

.form-field-hidden {
    display: none;
}