@charset "utf-8";

/* 公共样式 */

*,
*::before,
*::after {
    box-sizing: border-box;
}
:root {
    scroll-behavior: smooth;
}
html,
body,
h1,
h2,
h3,
h4,
p,
form,
button,
input,
select,
ul,
ol,
dl,
dd {
    padding: 0;
    margin: 0;
}

body,
html {
    width: 100%;
    height: 100%;
}

body {
    /*font-size: .2rem;*/
    font-family: PingFang SC-Regular, PingFang SC, sans-serif;
    /* 修正移动设备字体变化 */
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    min-height: 100vh;
} 

ul,
li {
    list-style: none;
}

a {
    color: inherit;
    outline: none;
    text-decoration: none;
    background: transparent; /* 修正win8系统IE连接灰色背景 */
}

a:active {
    text-decoration: none;
    outline: 0;
}

/* 去掉点击链接时的虚线外框 */
a:focus {
    outline-style: none;
    -moz-outline-style: none;
}

img {
    border: 0;
    display: block;
    /* width: 100%; */
    -ms-interpolation-mode: bicubic; /* ie7 解决图片缩放失真问题 */
    vertical-align: top;
}

/* @media (min-width: 768px) { */
/*   img{ */
/*     width: 100%; */
/*   } */
/* } */
p,
span {
    word-wrap: break-word;
    word-break: break-all;
}

button {
    border: none;
    outline: none;
    background: none;
}

/** 去掉input默认样式 **/

input {
    border: none;
    outline: none;
}

input::-webkit-search-cancel-button {
    display: none;
}

input[type=search]::-ms-clear {
    display: none;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
}
    input:-internal-autofill-selected {
        background: transparent !important;
    }
    input:-webkit-autofill,
    input:-webkit-autofill:hover,
    input:-webkit-autofill:focus,
    input:-webkit-autofill:active {
        transition-delay: 99999s;
        transition: color 99999s ease-out, background-color 99999s ease-out;
        -webkit-transition-delay: 99999s;
        -webkit-transition: color 99999s ease-out, background-color 99999s ease-out;
        -webkit-text-fill-color: #807c7c;
    }