*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

* {
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
    margin: 0;
    padding: 0;
}

ul, ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 0;
}

a {
    text-decoration: none;
    color: #333;
    outline: none;
}

a img {
    border: none;
}

i, em {
    font-style: normal;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
}

input, textarea, select, button {
    outline: none;
    border: none;
    font-family: "Microsoft YaHei", Arial, sans-serif;
}

textarea {
    resize: none;
    overflow: auto;
    border: 1px solid #ddd;
}

/* Clearfix */
.clearfix {
    zoom: 1;
}

.clearfix::after {
    content: "";
    display: block;
    clear: both;
    height: 0;
    visibility: hidden;
    overflow: hidden;
}

/* Common Utility Classes */
.fl {
    float: left;
}

.fr {
    float: right;
}

.tl {
    text-align: left;
}

.tc {
    text-align: center;
}

.tr {
    text-align: right;
}

button {
    border: 0;
    outline: none;
    background: none;
    cursor: pointer;
}

/* Flexbox Utility */
.flex {
    display: flex;
    align-items: center;
}

.flex-center {
    justify-content: center;
}

/* Text Ellipsis */
.ellipse {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

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

/* Inline Block */
.inline {
    display: inline-block;
    vertical-align: middle;
}

/* Form Select (Custom Arrow) */
select {
    border: none;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    background: url("../images/arrow.png") no-repeat right center;
    padding-right: 20px;
    cursor: pointer;
    color: #666;
}