/*
 * MS Global Font v3.7
 *
 * Global site font:
 * Microsoft YaHei / 微软雅黑
 *
 * Only Discuz/N7 icon-font classes are excluded so icons remain intact.
 */

html,
body,
body *,
input,
button,
select,
textarea,
option,
optgroup {
    font-family: "Microsoft YaHei", "微软雅黑", "Microsoft YaHei UI",
        Arial, sans-serif !important;
}

/*
 * Preserve Discuz / N7 icon fonts.
 * These classes must not inherit Microsoft YaHei or icons will break.
 */
.dzicon,
[class^="dzicon"],
[class*=" dzicon"],
.comiis-efont,
[class^="comiis-efont"],
[class*=" comiis-efont"] {
    font-family: "dzicon", "comiis-efont" !important;
}

/*
 * Some N7 icon elements use pseudo-elements.
 * Keep the icon font on their pseudo-elements as well.
 */
.dzicon::before,
.dzicon::after,
[class^="dzicon"]::before,
[class^="dzicon"]::after,
[class*=" dzicon"]::before,
[class*=" dzicon"]::after,
.comiis-efont::before,
.comiis-efont::after,
[class^="comiis-efont"]::before,
[class^="comiis-efont"]::after,
[class*=" comiis-efont"]::before,
[class*=" comiis-efont"]::after {
    font-family: "dzicon", "comiis-efont" !important;
}

/* =========================================================
   MS N7 spacecp active navigation v3.8
   Discuz sets class="a" on the current setting item from $actives.
   Keep only the current navigation label blue.
   ========================================================= */
body.pg_spacecp .appl .tbn li.a > a,
body.comiis_pg_spacecp .appl .tbn li.a > a,
body#space.pg_spacecp .appl .tbn li.a > a {
    color: #155bd5 !important;
    font-weight: 600 !important;
}

body.pg_spacecp .appl .tbn li:not(.a) > a,
body.comiis_pg_spacecp .appl .tbn li:not(.a) > a,
body#space.pg_spacecp .appl .tbn li:not(.a) > a {
    color: var(--comiis-fa, #333) !important;
    font-weight: 400 !important;
}

body.pg_spacecp .appl .tbn li > a:hover,
body.comiis_pg_spacecp .appl .tbn li > a:hover,
body#space.pg_spacecp .appl .tbn li > a:hover {
    color: #155bd5 !important;
}
