/********************************************** reset **********************************************/

:root {
    --wrapper-width: 1200px;
    --wrapper-width2: 1300px;
    --normal-color: #333333;
    --main-color: #296C41;
    --light-color: #C4E4DC;
    --select-color: #FFD189;
    --box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.21);
    --border-radius: 8px;
}

*,
::after,
::before {
    margin: 0;
    padding: 0;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -ms-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
    -webkit-overflow-scrolling: touch;
}

body {
    min-width: var(--wrapper2-width);
    min-height: 100vh;
    font-family: "Microsoft YaHei", "\5B8B\4F53", sans-serif;
    color: var(--normal-color);
    line-height: 1em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 400;
}

ul,
ol,
li {
    list-style: none;
}

a,
a:focus,
a:hover,
a:link,
a:active,
a:visited {
    text-decoration: none;
    outline: none;
}

a {
    color: inherit;
}

img {
    border: 0 none;
    vertical-align: middle;
    -webkit-touch-callout: none;
}

img[src=""],
img:not([src]) {
    opacity: 0;
}

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

tbody,
td,
tfoot,
th,
thead,
tr {
    border: 0 none;
    background: transparent;
}

button,
input,
select,
textarea {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    border: 0 none;
    outline: none;
    background: transparent;
    font-family: inherit;
    font-size: 100%;
    vertical-align: middle;
}

textarea {
    resize: none;
}

input::-webkit-input-placeholder {
    color: #ddd;
}

input::placeholder {
    color: #ddd;
}

button {
    cursor: pointer;
}

/********************************************** common **********************************************/

.w {
    width: var(--wrapper-width) !important;
    margin: 0 auto;
}

.wl {
    width: var(--wrapper-width2) !important;
    margin: 0 auto;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

/* 清除浮动 */
.clearfix {
    zoom: 1;
}

.clearfix:after {
    content: '';
    height: 0;
    font-size: 0;
    clear: both;
    visibility: hidden;
    display: block;
}

/* 0.5粗细边框 */
.thinner-border {
    position: relative;
}

.thinner-border:before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    border: 1px solid #000;
    -webkit-transform-origin: 0 0;
    -moz-transform-origin: 0 0;
    -ms-transform-origin: 0 0;
    -o-transform-origin: 0 0;
    transform-origin: 0 0;
    -webkit-transform: scale(0.5, 0.5);
    -ms-transform: scale(0.5, 0.5);
    -o-transform: scale(0.5, 0.5);
    transform: scale(0.5, 0.5);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* 单行文本溢出 */
.single-content-overflow {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 两行文本溢出 */
.double-content-overflow {
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
}

/* 三行文本溢出 */
.triple-content-overflow {
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    display: -webkit-box;
}

/* 四行文本溢出 */
.fourfold-content-overflow {
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    display: -webkit-box;
}

/* 滚动条 */
.scrollbar::-webkit-scrollbar {
    width: 10px;
    height: 100%;
}

.scrollbar::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    background-color: #F5F5F5;
}

.scrollbar::-webkit-scrollbar-thumb {
    border-radius: 5px;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
    background-color: #555;
}

/* 禁止用户选择 */
.forbid-slelct {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* 阴影 */
.box-shadow {
    box-shadow: var(--box-shadow);
}