/* basic styles for black background and crosshair cursor */
* {
    box-sizing: border-box;
}

caption,
th {
    text-align: left;
}

a:focus {
    outline: 0;
}

html {
    position: relative;
    width: 100%;
    height: 100%;
    font-family: "Microsoft YaHei", sans-serif;
    z-index: 1;
    line-height: 1.5;
    background-color: #121925;
    font-weight: 300;
    background-size: cover;
    background-position: 50% 50%;
    background-attachment: fixed;
    transition: .5s linear;
    cursor: url('../assets/cursors/default.cur'), auto;
}

body {
    position: relative;
    width: 100%;
    height: 100%;
    min-width: 300px;
    z-index: 2;
}

body:before {
    content: ' ';
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url('../assets/img/mask.png') center 0 repeat;
}

a {
    color: rgba(0, 0, 0, 0);
}

a:hover {
    color: #00b3ba;
}

b {
    background-color: rgba(0, 179, 186, 0.4);
}

::selection {
    background: #00b3ba;
}

::-moz-selection {
    background: #00b3ba;
}

.top_hr_style01 {
    width: 70%;
    margin: 5px auto;
    border: 0;
    border-bottom: 1px solid #fff;
}

.top_hr_style02 {
    border: 0;
    border-bottom: 1px dashed #858585;
}

#top {
    width: 100%;
    height: 100%;
    position: relative;
    margin: auto;
}

#top_main {
    width: 100%;
    height: 100%;
    position: relative;
    margin: 0 auto;
    padding: 40px 0 10px 0;
}

#top_logo {
    height: 30%;
    min-height: 50px;
    max-height: 244px;
    display: block;
}

#top_logo img {
    animation: A 15s linear 0s infinite;
    margin-right: auto;
    margin-left: auto;
    display: block;
    border-radius: 50%;
    height: 100%;
    cursor: url('../assets/cursors/hand.cur'), pointer;
}

@keyframes A {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

#top_title {
    text-align: center;
    padding-top: 15px;
    display: block;
    height: 10%;
}

#top_title img {
    margin-right: auto;
    margin-left: auto;
    display: block;
}

#top_title #top_title01 {
    height: 80%;
    max-height: 59px;
    min-height: 30px;
}

#top_navlist {
    display: block;
    width: 30%;
    height: 220px;
    max-width: 220px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
}

#top_navlist::after {
    content: " ";
    display: block;
    width: 20%;
    height: 150px;
}

.top_nav {
    background-image: url('../assets/img/nav_bg.png');
    border-radius: 5px;
    display: block;
    width: 100%;
    max-height: 40px;
    min-height: 10px;
    margin-top: 15px;
    text-decoration: none;
    font-size: 90%;
    color: #fff;
    letter-spacing: .5px;
    text-align: center;
    transition: .2s linear;
    line-height: 180%;
    cursor: url('../assets/cursors/hand.cur'), pointer;
}

.top_nav:hover {
    border-radius: 5px;
    background: #fff;
}

#top_footer {
    padding: 4px 10px;
    background-color: rgba(0, 0, 0, 0.9);
    color: #858585;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 12;
    transition: .2s linear;
}

#top_footer:hover {
    background-color: rgba(255, 255, 255, 0.8);
    color: #000;
}

#top_copyright {
    display: block;
    transition: .2s linear;
    font-size: 10px;
    letter-spacing: 1.5px;
    text-align: center;
}

@media screen and (max-width:500px) {
    #top_footer {
        padding: 1px;
    }

    #top_copyright {
        font-size: 8px;
        letter-spacing: 0;
        text-align: center;
    }
}

/* 确保背景独立，不参与淡入淡出 */
html#bgimg {
    transition: background-image 0.5s ease;
}

/* 主菜单与工具箱容器的过渡基类 */
.view-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* 主页默认显示 */
#home-view {
    opacity: 1;
    visibility: visible;
    z-index: 10;
}

/* 工具箱默认隐藏且穿透点击 */
#toolbox-view {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 20;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100%;
    overflow-y: auto;
    background: rgba(18, 25, 37, 0.85); /* 半透明遮罩，衬托工具箱 */
    backdrop-filter: blur(8px);
}

/* 当切换到工具箱状态时的类名 */
body.show-toolbox #home-view {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

body.show-toolbox #toolbox-view {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}