﻿@charset "utf-8";

/*清除所有元素的内外边距*/

html,
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
textarea,
p,
blockquote,
th,
td {
    margin: 0;
    padding: 0;
}


/*取消所有的斜体, 让这2个标签可以做其他用*/

em,
i {
    font-style: normal;
}


/*去掉li标签的黑色小点*/

ol,
ul {
    list-style: none;
}


/*设置图片没有边框, 图片和中线对齐可以去掉底部的空白缝隙*/

img {
    border: 0;
    vertical-align: middle;
}


/*鼠标移动到button时变成小手*/

button {
    cursor: pointer;
}

input,
textarea {
    border: 0;
    outline: none;
}

textarea {
    overflow: auto;
    resize: none;
}


/*设置链接没有下划线  默认灰色  鼠标移动上去红色*/

a {
    color: #000;
    text-decoration: none
}

a:hover {
    color: #c81623;
}

body {
    background-color: #fff;
    font: 12px/1.5 Helvetica, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
    color: #000;
}

audio,
canvas,
progress,
video {
    display: inline-block;
    vertical-align: baseline;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

.hide,
.none {
    display: none;
}

.f-left,
.f-l {
    float: left;
}

.f-right,
.f-r {
    float: right;
}


/*清除浮动*/

.clearfix:after {
    visibility: hidden;
    clear: both;
    display: block;
    content: ".";
    height: 0
}

.clearfix {
    *zoom: 1
}

.auto {
    margin: 0 auto;
}
.disflex {
    display: flex;
    align-items: center;
    justify-content: center;
}