/* ========== 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 ========== */

@font-face {
    font-family: 'mdl2';
    src: url('/common/mdl2/mdl2.eot');
    src: url('/common/mdl2/mdl2.woff') format('woff'),
        url('/common/mdl2/mdl2.svg') format('svg'),
        url('/common/mdl2/mdl2.ttf') format('truetype');
}

.mdl2,
.mdl2 *,
[mdl2],
[mdl2] * {
    font-family: 'mdl2', sans-serif !important;
    font-style: normal;
}

.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;
}

/* ========== 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);
    }
}