/* ========== 通用样式 ========== */

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

*:focus {
    outline: none;
}

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;
}

button {
    border-style: none;
    border-radius: 0px;
    display: inline-block;
    font-size: 14px;
    cursor: pointer;
    vertical-align: top;
}

/* ========== 清明节页面去色 ========== */

/*
body {
    filter: grayscale(1);
    filter: progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);
}
*/

/* ========== 显示为代码风格 ========== */

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

/* ========== MDL2 图标 ========== */

@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;
}

/* ========== 文字省略 ========== */

.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;
}

/* ========== 过渡动画 ========== */

.transition {
    transition: all 0.2s linear;
}

/* ========== 输入框占位符 ========== */

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

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

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

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

/* ========== 加载动画（全屏遮罩层） ========== */

.global-loading {
    position: fixed;
    z-index: 10000;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    /* 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);
    }
}

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

.ant-card-body {
    padding: 15px !important;
}