/* 清除默认内边距、外边距 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 移除列表小圆点 */
ul, ol {
    list-style: none;
}

/* 去掉超链接下划线 */
a {
    text-decoration: none;
    color: inherit;
}

/* 图片自适应 */
img {
    max-width: 100%;
    display: block;
}

/* 输入框统一外观 */
input, button, textarea {
    font: inherit;
    border: none;
    outline: none;
    background: transparent;
}

html {
    font-size: 16px; /* 默认 PC 字体大小 */
}

body {
    font-family: "PingFang SC", "Microsoft Yahei", sans-serif;
    font-size: 1rem; /* 相当于 html 的 font-size */
    color: #333;
    background-color: #f9f9f9;
}

html,body{
    overflow-y: scroll;
    scroll-behavior: smooth;
    overscroll-behavior: auto;  /* 保留浏览器的回弹 */
    -webkit-overflow-scrolling: touch; /* iOS 弹性滚动 */
}

/* 标题、段落 */
h1 { font-size: 2rem; } /* 32px */
h2 { font-size: 1.75rem; } /* 28px */
h3 { font-size: 1.25rem; } /* 20px */
p  { font-size: 1rem; line-height: 1.6; }

.text-max   { font-size: 1.5rem; } /* 24px */
.text-big   { font-size: 1.25rem; } /* 20px */
.text-norm  { font-size: 1rem; } /* 16px */
.text-small { font-size: 0.875rem; } /* 14px */         
.text-mini  { font-size: 0.75rem; } /* 12px */
.text-micro { font-size: 0.625rem; } /* 10px */
.text-bold  { font-weight: bold; }

/* 按钮 */
.btn {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border-radius: 0.5rem;
}

/* 容器 */
#wrapper{
    /* max-width: 900px; */
    margin: 0 auto;
    background-color: #f8f8f8;
    height: 100%;
}

#header-placeholder,#body-placeholder,#footer-placeholder {
    /* background-color: #fff; */
    /* width: 96%;
    margin-left: 2%; */
    padding: 0 2.5%;
}

/* 小屏幕 */
@media (max-width: 768px) {

}


/*css loading 等待动画*/
#loading{
    position:fixed;left:0;top:0;width: 100%;height: 100%; background: rgba(255,255,255,0.2);
    margin: 0;padding: 0;
    z-index: 300;
}
.loading_container{
    margin: 80% auto;
    width: 40px;
    height: 40px;
    position: relative;
}
.loading_box{
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

}
.loading_span{
    display: block;
    width: 8px;
    height: 8px;
    background-color: #cfcfcf;
    border-radius: 50%;
    text-align: center;
    line-height: 8px;
    animation: loading 0.8s linear infinite;
    /*box-shadow: 0 0 2px 1px #ffffff;*/
}
.loading_group{
    display: flex;
    justify-content: space-between;
}
.loading_container .loading_box:nth-of-type(2){
    transform: rotate(45deg);
    position: absolute;
    top: 0;
    left: 0;
}
.loading_c1{
    animation-delay: -0.5s;
}
.loading_c2{
    animation-delay: -0.6s;
}
.loading_c3{
    animation-delay: -0.7s;
}
.loading_c4{
    animation-delay: -0.8s;
}
.loading_c5{
    animation-delay: -0.9s;
}
.loading_c6{
    animation-delay: -1s;
}
.loading_c7{
    animation-delay: -1.1s;
}
.loading_c8{
    animation-delay: -1.2s;
}
@keyframes loading {
    0%{
        transform: scale(0);
    }
    50%{
        transform: scale(1);
    }
    100%{
        transform: scale(0);
    }
}