/* ========== generic ========== */

* {
    font-family: 'segeo ui', 'microsoft yahei', 'pingfang sc', arial, helvetica, sans-serif;
    word-break: break-all;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-appearance: none;
}

*:focus {
    outline: none;
}

*::-webkit-input-placeholder {
    color: #bfbfbf;
}

body {
    margin: 0px;
    background-position: top center;
    background-color: transparent;
}

iframe {
    border-style: none;
}

div {
    display: block;
}

a {
    text-decoration: none;
    cursor: pointer;
}

img {
    border-width: 0px;
}

form {
    border-spacing: 0px;
}

table {
    border-width: 0px;
    border-spacing: 0px;
    border-collapse: collapse;
}

td {
    border-width: 0px;
    padding: 0px;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

input {
    font-size: 14px;
    color: black;
}

input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
    color: #bfbfbf;
}

input:-moz-placeholder, textarea:-moz-placeholder {
    color: #bfbfbf;
}

input::-moz-placeholder, textarea::-moz-placeholder {
    color: #bfbfbf;
}

input:-ms-input-placeholder, textarea:-ms-input-placeholder {
    color: #bfbfbf;
}

select {
    font-size: 14px;
    color: black;
}

button {
    background-color: #dfdfdf;
    border-width: 0px;
    font-size: 14px;
    height: 30px;
    padding: 0px 10px;
    cursor: pointer;
    user-select: none;
}

/* ========== custom ========== */

.code, .code * {
    font-family: consolas, menlo, 'courier new', 'microsoft yahei', 'pingfang sc', sans-serif;
}

.ellipsis, .ellipsis1 {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ellipsis2 {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.ellipsis3 {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.touchscroll {
    -webkit-overflow-scrolling: touch;
    overflow: auto;
}

table.center td {
    text-align: center;
    vertical-align: middle;
}

table.absolute {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}

/* ========== loading ========== */

.global-loading {
    display: none;
    position: fixed;
    z-index: 60000000;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    /* backdrop-filter: blur(1px); */
}

.global-loading div:nth-child(1) {
    position: absolute;
    left: 50%;
    top: 50%;
    height: 150px;
    width: 150px;
    margin-top: -100px;
    margin-left: -75px;
    -moz-border-radius: 50% 50% 50% 50%;
    -webkit-border-radius: 50% 50% 50% 50%;
    border-radius: 50% 50% 50% 50%;
}

.global-loading div:nth-child(1) span {
    display: block;
    width: 20px;
    height: 20px;
    background-color: rgba(0, 0, 0, 0.1);
    position: absolute;
    -moz-border-radius: 50% 50% 50% 50%;
    -webkit-border-radius: 50% 50% 50% 50%;
    border-radius: 50% 50% 50% 50%;
    -webkit-animation: global-loading 0.8s infinite;
    animation: global-loading 0.8s infinite;
}

.global-loading div:nth-child(1) span:nth-child(1) {
    top: 19px;
    left: 19px;
}

.global-loading div:nth-child(1) span:nth-child(2) {
    top: 0px;
    left: 65px;
    -webkit-animation-delay: 0.1s;
    animation-delay: 0.1s;
}

.global-loading div:nth-child(1) span:nth-child(3) {
    top: 19px;
    left: 111px;
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s;
}

.global-loading div:nth-child(1) span:nth-child(4) {
    top: 65px;
    left: 130px;
    -webkit-animation-delay: 0.3s;
    animation-delay: 0.3s;
}

.global-loading div:nth-child(1) span:nth-child(5) {
    top: 111px;
    left: 111px;
    -webkit-animation-delay: 0.4s;
    animation-delay: 0.4s;
}

.global-loading div:nth-child(1) span:nth-child(6) {
    top: 130px;
    left: 65px;
    -webkit-animation-delay: 0.5s;
    animation-delay: 0.5s;
}

.global-loading div:nth-child(1) span:nth-child(7) {
    top: 111px;
    left: 19px;
    -webkit-animation-delay: 0.6s;
    animation-delay: 0.6s;
}

.global-loading div:nth-child(1) span:nth-child(8) {
    top: 65px;
    left: 0px;
    -webkit-animation-delay: 0.7s;
    animation-delay: 0.7s;
}

.global-loading div:nth-child(2) {
    display: none;
    position: absolute;
    left: 0px;
    right: 0px;
    top: 50%;
    height: 40px;
    margin-top: 60px;
    line-height: 40px;
    font-size: 16px;
    text-align: center;
    color: gray;
}

@-webkit-keyframes global-loading {
    25% {
        -ms-transform: scale(1.5);
        -webkit-transform: scale(1.5);
        transform: scale(1.5);
    }
    75% {
        -ms-transform: scale(0);
        -webkit-transform: scale(0);
        transform: scale(0);
    }
}

@keyframes global-loading {
    50% {
        -ms-transform: scale(1.5, 1.5);
        -webkit-transform: scale(1.5, 1.5);
        transform: scale(1.5, 1.5);
    }
    100% {
        -ms-transform: scale(1, 1);
        -webkit-transform: scale(1, 1);
        transform: scale(1, 1);
    }
}

/* ========== layout ========== */

.wide {
    max-width: 1200px;
    margin: 0px auto;
}

/* ========== topbar ========== */

.topbar {
    position: fixed;
    z-index: 10;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 80px;
    transition: all 0.2s ease-in-out;
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
}

.topbar .wide {
    position: relative;
}

.topbar-logo {
    display: block;
    position: relative;
    line-height: 80px;
    padding-left: 80px;
    color: white;
    font-size: 24px;
    font-weight: 800;
    text-shadow: 3px 2px 6px rgba(0, 0, 0, 0.7);
}

.topbar-logo img {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 50px;
    height: 50px;
}

.topbar-tabs {
    position: absolute;
    top: 0px;
    right: 0px;
    text-align: right;
}

.topbar-tabs span, .topbar-tabs a {
    display: inline-block;
    vertical-align: top;
    line-height: 80px;
    font-size: 18px;
    color: white;
    padding: 0px 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.topbar-tabs a {
    cursor: pointer;
}

.topbar-tabs a:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.topbar:hover {
    background-color: rgba(0, 0, 0, 0.4);
}

/* ========== foot ========== */

.foot {
    background-color: #1f1f1f;
    padding: 60px 30px;
}

.foot-about, .foot-contact, .foot-product, .foot-join {
    display: inline-block;
    vertical-align: top;
    width: 16%;
}

.foot-label {
    line-height: 50px;
    font-size: 20px;
    color: white;
    padding: 0px 15px;
}

.foot-link {
    display: block;
    line-height: 40px;
    font-size: 16px;
    color: white;
    padding: 0px 15px;
    border-radius: 5px;
}

.foot-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.foot-info {
    margin-top: 18px;
    float: right;
}

.foot-info-line {
    text-align: right;
    word-break: break-all;
}

.foot-info-line:nth-child(1n+2) {
    margin-top: 10px;
}

.foot-info-line img {
    display: inline-block;
    vertical-align: top;
    height: 24px;
}

.foot-info-line img:nth-child(1n+2) {
    margin-left: 10px;
}

.foot-info-line span {
    display: inline-block;
    vertical-align: top;
    line-height: 24px;
    font-size: 16px;
    color: white;
    margin-left: 10px;
}

.foot-copyright {
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding: 40px 0px 40px 0px;
    text-align: center;
}

.foot-copyright-company {
    display: inline-block;
    vertical-align: top;
    font-size: 16px;
    line-height: 30px;
    color: white;
}

.foot-copyright-icp {
    display: inline-block;
    vertical-align: top;
    margin-left: 40px;
    line-height: 30px;
}

.foot-copyright-icp a {
    font-size: 16px;
    color: white;
}

.foot-link-pop {
    position: absolute;
    z-index: 5;
}

.foot-link-pop img {
    max-width: 150px;
    max-height: 150px;
}

/* ========== response ========== */

@media screen and (max-width: 1200px) and (min-width: 800px) {
    .foot-info {
        max-width: 200px;
    }
}

@media screen and (max-width: 800px) and (min-width: 500px) {
    .topbar {
        background-color: rgba(0, 0, 0, 0.7);
        height: 50px;
    }
    .topbar-logo {
        line-height: 50px;
        padding-left: 50px;
        font-size: 18px;
        font-weight: 800;
    }
    .topbar-logo img {
        top: 10px;
        left: 10px;
        width: 30px;
        height: 30px;
    }
    .topbar-tabs span, .topbar-tabs a {
        padding: 0px 10px;
        line-height: 50px;
        font-size: 16px;
    }
    .foot-about, .foot-contact, .foot-product {
        width: 32%;
    }
    .foot-join {
        display: none;
    }
    .foot-label {
        line-height: 30px;
        font-size: 18px;
    }
    .foot-info {
        float: none;
        margin-top: 40px;
    }
    .foot-info-line {
        text-align: left;
    }
    .foot-copyright {
        margin-top: 30px;
        padding: 20px 0px 20px 0px;
    }
    .foot-copyright-company {
        display: block;
    }
    .foot-copyright-icp {
        display: block;
    }
}

@media screen and (max-width: 500px) {
    .topbar {
        background-color: rgba(0, 0, 0, 0.7);
        height: 50px;
    }
    .topbar-logo {
        line-height: 50px;
        padding-left: 50px;
        font-size: 18px;
        font-weight: 800;
    }
    .topbar-logo img {
        top: 10px;
        left: 10px;
        width: 30px;
        height: 30px;
    }
    .topbar-logo span {
        /* display: none; */
    }
    .topbar-tabs {
        padding-right: 5px;
    }
    .topbar-tabs span, .topbar-tabs a {
        padding: 0px 5px;
        line-height: 50px;
        font-size: 13px;
    }
    .topbar-tabs span {
        display: none;
    }
    .topbar-tabs a[home] {
        display: none;
    }
    .foot {
        padding: 30px 20px;
    }
    .foot-about, .foot-contact, .foot-product {
        display: block;
        width: 100%;
        margin-top: 20px;
    }
    .foot-link {
        display: inline-block;
        vertical-align: top;
        line-height: 20px;
        font-size: 14px;
        padding: 6px 10px;
        box-sizing: border-box;
    }
    .foot-join {
        display: none;
    }
    .foot-label {
        line-height: 30px;
        font-size: 18px;
        padding: 0px 5px;
    }
    .foot-info {
        float: none;
        margin-top: 40px;
    }
    .foot-info-line {
        text-align: left;
    }
    .foot-copyright {
        margin-top: 30px;
        padding: 20px 0px 20px 0px;
    }
    .foot-copyright-company {
        display: block;
        font-size: 12px;
    }
    .foot-copyright-icp {
        display: block;
    }
    .foot-copyright-icp a {
        font-size: 12px;
    }
}

/* ========== ========== */