* {
    box-sizing: border-box;
}
.layui-form-label {
    box-sizing: content-box;
}
html, body {
    padding: 0;
    margin: 0;
    font-family: num;
}
:root {
    --input-border: 1px solid #eee;
    --blue: #1E9FFF;
    --container-bg: #f8f9fa;
    --side-bg: #393D49;
    --header-bg: #ffffff;
    --light-color: #f5f5f5;
}
@font-face {
    font-family: 'num';
    src: url('../font/number.otf');
}
@font-face {
    font-family: 'myFirstFont3';
    src: url('../font/RADOMIR TINKOV - GILROY-MEDIUM.OTF');
}
@font-face {
    font-family: 'sk';  /* project id 3380109 */
    src: url('../jsPlumb/iconfont.ttf') format('truetype');
}
@font-face {
    font-family: 'iconfont';  /* project id 3380109 */
    src: url('?#iefix') format('embedded-opentype'),
    url('//at.alicdn.com/t/font_3380109_disaydbrcmu.woff2') format('woff2'),
    url('//at.alicdn.com/t/font_3380109_disaydbrcmu.woff') format('woff'),
    url('//at.alicdn.com/t/font_3380109_disaydbrcmu.ttf') format('truetype'),
    url('#iconfont') format('svg');
}
.icon_sk{
    font-family: 'sk';
    font-style: normal;
    font-size: 14px;
    font-weight: normal;
}
.icon {
    font-family: 'iconfont';
    font-style: normal;
    font-size: 14px;
    font-weight: normal;
}
::-webkit-scrollbar,
::-webkit-scrollbar-track {
    background: transparent;
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-thumb {
    background: #e1e1e8;
    width: 6px;
    height: 6px;
    border-radius: 3px;
    cursor: pointer;
}
::-webkit-scrollbar:hover,
::-webkit-scrollbar-track:hover,
::-webkit-scrollbar-thumb:hover {
    height: 10px;
}
.page {
    padding: 10px 10px 0 10px;
    min-height: 100vh;
    height: auto;
    background: white;
}
.search-form {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    column-gap: 15px;
    row-gap: 10px;
    align-items: center;
}
.search-form .layui-form-item {
    width: calc(20% - 15px);
    min-width: 300px;
}
.search-form .layui-form-label {
    padding: 9px 5px !important;
    text-align: center;
    box-sizing: border-box;
}
.search-form .layui-input-block {
    margin-left: 80px !important;
}
.layer-form {
    padding: 30px 40px 0 0;
}
.layui-form[vertical] .layui-form-label {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
    padding: 0;
    margin-bottom: 5px;
    float: unset;
}
.layui-form[vertical] .layui-input-block {
    margin: 0;
}
.select-image {
    position: relative;
    width: auto;
    height: auto;
    display: inline-block;
    border: 1px solid #EEEEEE;
    border-radius: 2px;
    cursor: pointer;
}
.select-image i {
    font-size: 30px;
    color: #999;
    display: inline-block;
    width: 100px;
    height: 100px;
    line-height: 100px;
    text-align: center;
}
.select-image img {
    max-width: 300px;
    height: auto;
}
.select-tool {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .1);
    display: none;
    justify-content: center;
    align-items: center;
}
.select-image:hover .select-tool {
    display: flex;
}
.select-tool i {
    font-size: 18px;
    color: white;
    display: inline-block;
    width: 40px;
    height: 30px;
    line-height: 30px;
    cursor: pointer;
}
.page-form {
    max-width: 600px;
    margin: 0 auto;
}
.page-form-title {
    font-size: 18px;
    margin: 20px 30px;
}
.page-form-btns {
    position: sticky;
    bottom: 0;
    text-align: center;
    padding: 20px 0;
    margin-top: 20px;
    background: white;
    border-top: 1px solid #f5f5f5;
    z-index: 999;
}
.page-form-btns .layui-btn-close {
    color: #666 !important;
    background: #fff;
    border: 1px solid #666;
}
.layui-form-label[required]:before {
    content: "*";
    color: red;
    margin-right: 3px;
}
.loading {
    min-width: 180px !important;
    max-width: 300px !important;
}
.tags-list {
    min-height: 38px;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    column-gap: 10px;
    row-gap: 5px;
    border-radius: 2px;
}
.tags-list.gap {
    padding: 9px 10px;
    border: var(--input-border);
}
.tags-list .layui-bg-blue {
    border: 1px solid var(--blue) !important;
}
.tags-list .tag,
.tags-list .add{
    height: 24px;
    line-height: 24px;
    padding: 0 12px;
    cursor: pointer;
    border-radius: 2px;
    border: var(--input-border);
}
.tags-list .add {
    border-style: dashed;
}
.tags-list .tag:hover,
.tags-list .add:hover {
    border-color: var(--blue);
    color: var(--blue);
}
.tags-list .layui-icon {
    font-size: 14px;
}
.tags-list input {
    width: 100px;
    height: 24px;
    padding: 0 10px;
    line-height: 24px;
    border-radius: 2px;
    border: var(--input-border);
    font-size: 12px;
    display: none;
}
.dropdown .layui-layer-content {
    padding: 0 !important;
    background: white !important;
    color: #000000D9 !important;
    font-size: 14px !important;
}
.dropdown .layui-layer-content > i {
    z-index: -1 !important;
    border-right-color: white !important;
}
.input-box {
    border: var(--input-border);
    border-radius: 2px;
    padding: 8px;
}
.comment-list {
    color: #303133;
}
.comment-list > li {
    margin-bottom: 10px;
    line-height: 1.6;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--light-color);
}
.comment-list > li:last-child {
    border: none;
    margin-bottom: 0;
}
.comment-list > li > div {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.comment-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 5px;
    row-gap: 5px;
    margin-right: 10px;
}
.comment-content {
    white-space: pre-wrap;
    word-break: break-word;
}
.comment-list .empty {
    margin-top: 10px;
    color: #999;
}
.layui-input-block .tip {
    margin-top: 5px;
    color: #909399;
}
.layui-layer-content .layui-icon {
    box-sizing: content-box;
}
.detail_open .layui-layer-title{
    background-color: transparent;
    font-size: 0!important;
    height: 40px!important;
}
.detail_open{
    background-color: #f1f6fd!important;
}
.detail_open .layui-layer-setwin{
    width: .36rem;
    height: .36rem;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 5px;
    right: 0;
}
.detail_open .layui-layer-setwin a{
    margin-left: 0;
    background-position: 2px -39px;
}

.pd-10 {
    padding: 10px !important;
}
.pd-15 {
    padding: 15px !important;
}
.pd-20 {
    padding: 20px !important;
}
.list_box {
    background-color: #ffffff;
}
.p-card {
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: #fff;
    overflow: hidden auto;
    padding: 0 15px;
}
.p-card-title {
    position: sticky;
    top: 0;
    z-index: 55;
    font-size: .22rem;
    height: 55px;
    line-height: 55px;
    padding: 0 20px;
    border-bottom: 1px solid #e9edf1;
    background-color: #fff;
}
.p-card-body {
    width: 100%;
    min-height: calc(100% - 55px - 76px);
    height: auto;
}
.p-card-footer {
    position: sticky;
    bottom: 0;
    z-index: 55;
    height: 76px;
    background-color: #fff;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 15px;
}
.space {
    display: flex;
    width: 100%;
    gap: 15px;
    align-items: center;
    justify-content: center;
}
.space[vertical] {
    flex-direction: column;
}
.space.xs {
    gap: 5px;
}
.space.sm {
    gap: 10px;
}
.space.lg {
    gap: 20px;
}
.space.xl {
    gap: 30px;
}
.detail-item {
    position: relative;
    border: 1px solid #eeeeee;
    border-radius: 2px;
    width: 100%;
    transition: border .3s;
}
.input-focus {
    border-color: #16b777!important;
    box-shadow: 0 0 0 3px rgba(22,183,119,.08);
}
.detail-item.moving {
    border-color: dodgerblue;
}
.detail-item.layui-form {
    border: 1px dashed dodgerblue;
}
.detail-item-header {
    position: relative;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eeeeee;
}
.detail-item .tools {
    display: flex;
    align-items: center;
    column-gap: 8px;
    background: #fff;
    padding: 0 15px;
}
.detail-item .tools span {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.detail-item .tools span:hover {
    opacity: .8;
    background-color: #eeeeee;
    border-radius: 2px;
}
.detail-item .tools span.move {
    cursor: move;
}
.detail-item .layui-form-select .layui-input:hover,
.detail-item .layui-form-select .layui-input {
    border: none;
    box-shadow: none;
}
.detail-item .layui-textarea {
    border: none;
    box-shadow: none;
    resize: none;
}
.detail-item input,
.detail-item input:focus {
    border: none !important;
    box-shadow: none !important;
}
.detail-item-header>input:first-child {
    width: 80px;
    text-align: center;
}
.detail-item-header>input:last-child {
    flex: 1;
}
.detail-item-header>.split {
    width: 0;
    height: 38px;
    border-left: 1px solid #eeeeee;
}
.detail-item .tox-tinymce {
    border: none !important;
}
.detail-item .tox-editor-header {
    padding: 0 !important;
    box-shadow: 0px 1px 10px -4px rgba(0, 0, 0, .1) !important;
    border-bottom: 1px solid #eeeeee !important;
}
.image-selector {
    width: 1.22rem;
    height: 1.22rem;
    border: 1px #ccced4 dashed;
    color: #7c7c7c;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 4px;
}
.image-item {
    position: relative;
    width: 1.22rem;
    height: 1.22rem;
    border: 1px #ccced4 dashed;
    color: #7c7c7c;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 4px;
}
.image-item img {
    width: 100%;
    height: 100%;
}
.image-item > span {
    position: absolute;
    top: -.09rem;
    right: -.09rem;
}
.image-item > span > i {
    font-size: .22rem;
}
.open-page .layui-layer-close2 {
    top: -5px !important;
    right: 0px !important;
}
.tiny-hide {
    display: block !important;
    visibility: hidden;
    height: 0 !important;
    width: 0;
    min-height: 0;
    padding: 0;
}
.detail-item .tiny-loading {
    height: 180px;
    width: 100%;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    z-index: 5;
    top: 39px;
}

.theme-table .layui-table-header tr,
.theme-table .layui-table[lay-even] tbody tr:nth-child(even) {
    background-color: #e1e9f4;
}
.theme .layui-form-onswitch {
    border-color: #1e9fff;
    background-color: #1e9fff;
}
.theme .tool {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 100%;
}
.theme .tool .icon_sk,
.theme .tool .icon {
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: #eeeeee;
    border-radius: 4px;
    cursor: pointer;
}
.theme .tool .icon_sk:hover,
.theme .tool .icon:hover {
    opacity: .7;
}
.pointer {
    cursor: pointer;
}
.mb-10 {
    margin-bottom: 10px;
}
.mb-15 {
    margin-bottom: 15px;
}
.mb-20 {
    margin-bottom: 20px;
}
.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}