@charset "UTF-8";
/*!
作者：新鲜人
邮箱：u2lei@yahoo.com.cn
     xinxr@msn.com
*/
/*!
由 沉冰浮水 重写为 sass
*/
/*! 主入口文件 */
:root {
  --color-blod:#1d4c7d;
  --color-normal:#3a6ea5;
  --color-light:#b0cdee;
  --color-high:#4b90d9;
  --color-anti:#d60000;
  --color-bg-normal:#efefef;
  --color-bg-light:#f4f4f4;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  min-width: 980px;
  font-family: "Microsoft YaHei", STHeiti, "Hiragino Sans GB", "WenQuanYi Micro Hei", "Heiti SC", NSimSun, SimSun, Arial, Helvetica, sans-serif;
  color: #333333;
  font-size: 14px;
}

a {
  text-decoration: none;
  color: #1d4c7d;
}
a:hover {
  color: #d60000;
}

img {
  border: none;
}

li {
  list-style-type: none;
}

@keyframes refreshloading {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
i.icon-arrow-repeat.loading-status:before {
  animation: refreshloading 1.5s linear infinite;
  display: inline-block;
}

.hint {
  width: 100%;
  margin: 0 0 0.2em;
}
.hint p {
  padding: 0.3em 0.5em 0.3em 0.8em;
  line-height: 1.5em;
  border-radius: 4px;
  display: flex;
  align-items: center;
}
.hint p:before {
  height: 19px;
  width: 19px;
  font-family: "zblog" !important;
  margin-right: 4px;
  display: inline-flex;
  justify-content: center;
}
.hint p.hint_good {
  border-color: #a8de9e;
  background: #e9fde5;
}
.hint p.hint_good:before {
  content: "\ea62";
  color: #277723;
}
.hint p.hint_bad {
  border-color: #e1a9a9;
  background: #fce0e0;
}
.hint p.hint_bad:before {
  content: "\ed79";
  color: #ec705b;
}
.hint p.hint_tips {
  border-color: #aab7e6;
  background: #e4eafd;
}
.hint p.hint_tips:before {
  content: "\eaf9";
  color: #4e6b9e;
}

img.plugin-off {
  opacity: 0.2;
}

.hidden {
  display: none;
}

.block {
  display: block;
}

.overflow-hidden {
  overflow: hidden;
}

.pull-right {
  float: right;
}

.mr-10 {
  margin-right: 10px;
}

/*! 布局组件 */
body.admin {
  display: grid;
  grid-template-columns: 140px 1fr;
  grid-template-areas: "header header" "left main";
}

.header {
  grid-area: header;
  margin-bottom: 5px;
  padding-right: 13px;
  background: #3a6ea5;
  display: grid;
  grid-template-columns: 200px 1fr;
  grid-template-areas: "logo user" "logo menu";
}
.header .logo {
  grid-area: logo;
}
.header .logo a {
  display: block;
}
.header .logo img {
  width: 100%;
  height: 85px;
  background: url("image/logo_white.svg") center center no-repeat;
}
.header .user {
  grid-area: user;
  justify-self: end;
  padding: 12px 0 0 0;
  color: #ffffff;
  display: grid;
  grid-template-areas: "name avatar" "btn avatar";
}
.header .user #avatar {
  width: 40px;
  height: 40px;
}
.header .user .user-avatar {
  grid-area: avatar;
  padding-left: 10px;
}
.header .user .user-name {
  font-size: 1.1em;
}
.header .user .user-btn {
  display: flex;
  justify-content: space-between;
}
.header .user .user-btn a {
  color: #ffffff;
  display: block;
}
.header .user .user-btn a:hover {
  color: #b0cdee;
}
.header .menu {
  grid-area: menu;
  justify-self: end;
  align-self: end;
}
.header .menu ul {
  display: flex;
  gap: 6px;
}
.header .menu li a {
  padding: 0 20px;
  background-color: #ffffff;
  font-size: 1.1em;
  align-items: center;
  height: 30px;
  display: flex;
  gap: 5px;
  color: #333333;
}
.header .menu li a:hover {
  background-color: #b0cdee;
  color: #ffffff;
}
.header .menu li.on {
  font-weight: bold;
}

.main {
  grid-area: main;
  padding-left: 10px;
  padding-right: 10px;
}
.main.CategoryEdt .divHeader, .main.TagEdt .divHeader, .main.MemberNew .divHeader, .main.MemberEdt .divHeader, .main.ModuleEdt .divHeader {
  border-bottom: 5px solid #e0e0e0;
}

#divMain .divHeader {
  padding: 10px 0;
  font-size: 1.5em;
  line-height: 1.5em;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 3px;
}
#divMain .divHeader i {
  font-size: 1.35em;
}
#divMain .SubMenu {
  display: flex;
  gap: 5px;
}
#divMain .SubMenu a {
  background-color: #ededed;
  display: block;
  padding: 8px 12px;
  color: #333333;
}
#divMain .SubMenu a:hover {
  color: currentColor;
  background-color: #b0cdee;
}
#divMain .SubMenu span.m-now {
  color: #ffffff;
}
#divMain .SubMenu a:has(span.m-now) {
  background: #4b90d9;
}
#divMain #divMain2 {
  padding: 0;
  margin: 0;
}

.left {
  grid-area: left;
}

#leftmenu {
  padding: 0;
  margin: 0;
}
#leftmenu a {
  display: block;
  color: #333333;
}
#leftmenu a span {
  display: flex;
  height: 35px;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
#leftmenu li {
  background-color: #ededed;
  margin-bottom: 8px;
}
#leftmenu li:hover {
  background-color: #b0cdee;
}
#leftmenu li:hover a {
  color: currentColor;
}
#leftmenu li.on {
  background: #4b90d9;
}
#leftmenu li.on a {
  color: #ffffff;
}
#leftmenu li.split {
  display: none;
}

/*! 通用组件 */
form {
  margin: 0.5em 0;
}
form p {
  padding: 0.5em 0;
  line-height: 1.5em;
}
form p span.title {
  font-weight: bold;
}
form p span.star {
  display: inline-block;
  color: red;
}
form.search {
  box-shadow: 0 0 0.1em rgba(0, 0, 0, 0.3);
  padding: 5px 1em;
  margin-bottom: 1em;
  border-radius: 0.3em;
}
form.search input[type=text],
form.search input.button,
form.search select {
  height: 33px;
}
form.search select {
  min-width: 150px;
}
form.search input[type=text] {
  width: 200px;
}
form.search p > *:not(:last-child) {
  margin-right: 0.7em;
}

textarea, select, input {
  border: 1px solid #ccc;
  padding: 5px 10px;
  font-size: 1em;
}
textarea:focus-visible, select:focus-visible, input:focus-visible {
  border: 1px solid #3a6ea5;
  outline: none;
}

.input-90,
.select-90,
.textarea-90 {
  width: 90%;
  max-width: 600px;
}

input[type=radio] {
  border: none;
  background: none;
  height: auto;
  padding: 0;
}
input.button, input[type=submit], input[type=button] {
  color: #ffffff;
  font-size: 1.05em;
  height: 29px;
  padding: 2px 18px 3px;
  background: #3a6ea5;
  border: 1px solid #4b90d9;
  cursor: pointer;
}
input.button:hover, input[type=submit]:hover, input[type=button]:hover {
  background: #4b90d9;
}
input.button[disabled], input.button[disabled]:hover, input[type=submit][disabled], input[type=submit][disabled]:hover, input[type=button][disabled], input[type=button][disabled]:hover {
  background: #eee;
  border: 1px solid #ccc;
  cursor: not-allowed;
  color: black;
}
input[readonly], input[readonly]:hover {
  background: #eee;
  border: 1px solid #ccc;
  cursor: not-allowed;
  color: #808080;
}

textarea {
  height: auto;
}

#edit textarea[name=Intro] {
  width: 600px;
}

.label-flex {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
}

/* checkbox */
.imgcheck {
  background: none !important;
  display: inline-block !important;
  position: relative;
  width: 40px;
  height: 16px;
  max-height: 1em;
  cursor: pointer;
  -webkit-touch-callout: none;
  margin-right: 0;
  margin-bottom: 0;
  padding-left: 40px;
  line-height: 16px;
  margin-right: 10px;
  padding-left: 30px;
}

.imgcheck:before {
  position: absolute;
  display: inline-block;
  left: 0;
  content: "";
  border-style: solid;
  width: 40px;
  height: 22px;
  border-width: 0;
  border-color: transparent;
  background: #d8d8d8;
  border-radius: 20px;
  transition: all 0.3s;
  margin-top: -2px;
}

.imgcheck:after {
  color: #ffffff;
  position: absolute;
  content: "";
  width: 20px;
  height: 20px;
  line-height: 20px;
  top: 1px;
  left: 1px;
  text-align: center;
  background: #ffffff;
  box-shadow: 0 2px 5px 0 rgba(51, 51, 51, 0.25);
  border-radius: 10px;
  transition: left 0.3s, right 0.3s;
  margin-top: -2px;
}

.imgcheck-on:before {
  background: #3a6ea5;
  transition: all 0.3s;
}

.imgcheck-on:after {
  left: 19px;
  transition: left 0.3s, right 0.3s;
  background: #ffffff;
}

.imgcheck-disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.pagebar a, .pagebar span {
  padding: 2px 5px;
  margin: 1px;
}

.pagebar {
  padding: 1em 0 2em 0;
}
.pagebar span {
  color: #333;
  font-weight: bolder;
}
.pagebar a {
  border-radius: 0.3em;
  border: 1px solid #efefef;
}
.pagebar a:hover {
  border: 1px solid #ccc;
}

table {
  border-collapse: collapse;
  box-shadow: 0 0 0.1em rgba(0, 0, 0, 0.3);
}
table td,
table th {
  padding: 0.5em;
  border-right: 1px solid #efefef;
  text-align: left;
}
table td:last-child,
table th:last-child {
  border-right: none;
}
table td.td-center, table td.th-center, table td.tdCenter, table td.center,
table th.td-center,
table th.th-center,
table th.tdCenter,
table th.center {
  text-align: center;
}

table.tableFull {
  width: 100%;
}
table.tableBorder {
  line-height: 1.8em;
  margin: 0.4em 0 0.8em;
}
table.thCenter th {
  text-align: center;
}
table.table_hover tr:hover > td,
table.table_hover tr:hover > th {
  background-color: #ffffdd;
}
table.table_striped > tbody > tr:nth-of-type(odd) {
  background-color: #f4f4f4;
}
table th > [class^=icon-],
table td > [class^=icon-] {
  padding-right: 0.3em;
}

tr.color1 {
  background: #ededed;
}
tr.color2 {
  background: #f4f4f4;
}
tr.color3 {
  background: #ffffff;
}
tr.color4 {
  background: #ffffdd;
}

.td5 {
  width: 5%;
}

.td10 {
  width: 10%;
}

.td15 {
  width: 15%;
}

.td20 {
  width: 20%;
}

.td25 {
  width: 25%;
}

.td30 {
  width: 30%;
}

.td35 {
  width: 35%;
}

.content-box ul {
  padding: 10px 0 0;
  display: flex;
  gap: 9px;
}
.content-box li {
  min-height: 2em;
}
.content-box .content-box-tabs a {
  display: inline-flex;
  padding: 4px 10px;
}
.content-box .content-box-tabs a.current {
  background: #ededed;
  color: #333333;
  font-weight: bold;
}
.content-box .content-box-content {
  margin-top: -1px;
}
.content-box .content-box-content .tab-content {
  display: none;
}
.content-box .content-box-content .tab-content td input[type=text],
.content-box .content-box-content .tab-content td select {
  height: 33px;
}
.content-box .content-box-content .tab-content.default-tab {
  display: block;
}

/*! 独立页面 */
/* 使用 Grid 布局：主内容 + 侧栏 */
form.post-edit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  padding-right: 5px;
}
form.post-edit .editmod {
  margin: 1em 0;
}
form.post-edit .editmod label {
  max-width: 65px;
  text-overflow: ellipsis;
}
form.post-edit .editmod .editinputname {
  vertical-align: middle;
  padding: 0 2px 0 3px;
  line-height: 1em;
  font-size: 1.05em;
  font-weight: bold;
}
form.post-edit #edtTitle,
form.post-edit #edtAlias,
form.post-edit #edtTag {
  max-width: 520px;
  width: 99% !important;
}

#divEditLeft {
  /* 主栏内元素占据第一列 (默认) */
}
#divEditLeft #ulTag {
  margin: 0 3em;
}
#divEditLeft #ulTag #ajaxtags {
  background: #f8f8f8;
  box-shadow: 0 0 10px #aaa;
  padding: 1em;
}
#divEditLeft #ulTag #ajaxtags a {
  margin-right: 1em;
}
#divEditLeft #ulTag #ajaxtags a.selected {
  color: black;
  background: #f8f889;
}
#divEditLeft #carea,
#divEditLeft #tarea,
#divEditLeft #editor_content,
#divEditLeft #editor_intro {
  width: 100%;
}
#divEditLeft #carea,
#divEditLeft #tarea {
  margin: 5px 0 0;
}
#divEditLeft #editor_content {
  min-height: 320px;
}
#divEditLeft #editor_intro {
  min-height: 160px;
}

#divEditRight {
  /* 侧栏在第二列 */
  justify-self: end;
  text-align: right;
}
#divEditRight .editmod select,
#divEditRight .editmod input[type=text],
#divEditRight #btnPost {
  width: 180px;
  height: 38px;
}
#divEditRight .editmod#istop select {
  width: 80px;
}

body.admin-login {
  min-width: 100%;
}

.login-header {
  height: 260px;
  padding-bottom: 13px;
  margin-bottom: 37px;
  background-color: #3a6ea5;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.login-header .brand img {
  width: 200px;
  height: 70px;
  background: url("image/logo_white.svg");
}

/* 表单容器 */
.login-container {
  min-height: 100px;
  margin: 0 auto;
  padding-left: 0px;
  width: 600px;
}
.login-container .login-form {
  width: 600px;
}
.login-container dl {
  height: 50px;
  clear: both;
}
.login-container dd {
  width: 300px;
  float: left;
  margin-bottom: 20px;
}
.login-container dd.floatright {
  float: right;
}
.login-container dd.checkbox {
  margin-left: 100px;
  width: 200px;
  text-align: left;
}
.login-container dd.submit, .login-container dd.password, .login-container dd.username, .login-container dd.validcode {
  width: 300px;
}
.login-container label {
  float: left;
  width: 100px;
  text-align: right;
  overflow: hidden;
  text-overflow: clip;
  white-space: nowrap;
  line-height: 30px;
  padding: 0 5px 0 5px;
}
.login-container input {
  float: left;
}
.login-container input[type=checkbox] {
  margin: 8px 0 0 0;
  padding: 0;
}
.login-container input[type=checkbox] + label {
  width: auto;
}
.login-container input[type=text] {
  width: 200px;
  height: 32px;
  padding: 1px 5px;
  line-height: 32px;
}
.login-container input[type=password] {
  width: 200px;
  height: 32px;
  padding: 1px 5px;
  line-height: 32px;
}
.login-container dd.validcode {
  height: 40px;
  position: relative;
}
.login-container dd.validcode > img {
  position: absolute;
  z-index: 9999;
  width: 90px;
  height: 28px;
  cursor: pointer;
  right: 2px;
  top: 2px;
}
.login-container dd .button {
  float: right;
}

/* 响应式：小屏改为单列 */
@media (max-width: 720px) {
  .login-container {
    width: 310px;
  }
  .login-container dd {
    clear: both;
    padding: 0px 10px 0px 0;
    margin-bottom: 10px;
  }
  .login-container dd.checkbox {
    margin-left: 10px;
    width: 300px;
    float: left;
    padding: 5px 0;
  }
  .login-container dd.submit {
    width: 300px;
    float: left;
    padding: 5px 0;
    margin-right: 10px;
  }
  .login-container dd.username label {
    width: 300px;
    text-align: left;
  }
  .login-container dd.password label {
    width: 300px;
    text-align: left;
  }
  .login-container dd.validcode label {
    width: 300px;
    text-align: left;
  }
  .login-container dd .button {
    clear: both;
    margin-right: 1em;
  }
  .login-container input[type=text] {
    float: right;
    width: 285px;
  }
  .login-container input[type=password] {
    float: right;
    width: 285px;
  }
  .login-container input[type=checkbox] {
    margin: 8px 0 0 5px;
  }
  .login-container dd.validcode {
    height: 65px;
  }
  .login-container dd.validcode > img {
    top: 32px;
    right: 12px;
  }
}
.module-layout {
  display: flex;
  margin: 1.3em 0;
  gap: 20px;
  padding-right: 20px;
}
.module-layout .widget-left {
  flex: 1;
}
.module-layout .widget-right {
  flex: 0 0 270px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.siderbar-header, .widget-list-header {
  padding: 8px 0;
  font-weight: bold;
  border-bottom: 1px solid #efefef;
  text-align: center;
  background: #ededed;
  user-select: none;
}

.widget-list {
  border: 1px solid #efefef;
}
.widget-list-group {
  margin-bottom: 20px;
}
.widget-list-note {
  padding: 5px 0;
  color: #666666;
  font-style: italic;
  text-align: center;
}
.widget-list-content {
  padding: 5px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
}
.widget-list-content .widget {
  width: calc(20% - 8px);
}
.widget-list-header + .widget-list-content {
  margin-top: 5px;
}

.widget {
  border: 1px solid #efefef;
  cursor: move;
}
.widget.ui-draggable-dragging {
  max-width: 240px;
  opacity: 0.7;
}
.widget img {
  margin: 3px;
  margin-bottom: -3px;
}
.widget-title {
  margin: 0;
  padding: 8px 6px;
  color: #333333;
  cursor: move;
}
.widget-title span {
  display: inline-block;
}
.widget-title i {
  margin: 0 5px;
  color: #64a7da;
}
.widget-title a:hover i {
  color: #067dd8;
}
.widget-action {
  float: right;
}
.widget_source_system .widget-title {
  background: #e3e4e4;
}
.widget_source_user .widget-title {
  background: #c6d4e5;
}
.widget_source_theme .widget-title {
  background: #d7e3bc;
}
.widget_source_themeinclude .widget-title {
  background: #e3bebc;
}
.widget_source_plugin .widget-title {
  background: #d4cddd;
}
.widget_source_other .widget-title {
  background: #ded9c0;
}
.widget .widget-title:hover {
  background: #b0cdee !important;
}
.widget_ishidden_true img.more-action {
  opacity: 0.4;
}

.siderbar-list {
  width: 100%;
  background: #ffffff;
  border: 1px solid #efefef;
}
.siderbar-drop {
  background: #fefefe;
}
.siderbar-header {
  cursor: pointer;
}
.siderbar-header:hover {
  background: #b0cdee;
}
.siderbar-header .roll {
  display: none;
}
.siderbar-header .ui-icon {
  margin-left: auto;
}
.siderbar-sort-list {
  padding: 8px 4px 10px;
  min-height: 30px;
}
.siderbar-sort-list .widget {
  margin-top: 10px;
}
.siderbar-note {
  color: #666666;
  font-style: italic;
  text-align: center;
}

#frmTheme {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
}

.theme {
  width: 230px;
  padding: 0.6em 1em;
}
.theme > *:not(:last-child) {
  margin-bottom: 5px;
}
.theme-img span > img {
  width: 100%;
}
.theme-style {
  display: flex;
  gap: 0.3em;
  align-items: center;
  justify-content: space-between;
}
.theme-style input {
  margin-right: 0;
}
.theme select.edit {
  height: 29px;
  padding: 0 5px;
  border-color: #3a6ea5;
  max-width: 9.3em;
  outline: 0;
  flex-grow: 1;
}

.theme-now {
  background: #c1deff;
  border: 1px solid #8eb5e2;
}

.theme-other {
  background: #f0f0f0;
  border: 1px solid #e2e2e2;
}
.theme-other:hover {
  border-color: #c3c3c3;
  box-shadow: 0 2px 2px 0 #ddd;
}