/*

    1.根据reset.css和normalize.css整理
    2.需根据业务调整样式
    3.hasnum

*/


/*  清除默认内外边距
    ===================================================================== */
/*
		标题
		水平线
		段落
		块级引用
		定义与描述列表
		定义
		描述
		无序列表
		有序列表
		列表条目元素
		预定义格式文本
		分组
    */
body,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
p,
blockquote,
dl,
dt,
dd,
ul,
ol,
li,
pre,
fieldset,
button,
input,
textarea,
th,
td {
    margin: 0;
    padding: 0;
}


/*  设置文档默认行高 字体样式 大小
    ===================================================================== */
body,
button,
input,
select,
optgroup,
textarea {
    font: 16px/1.5 Arial, x-locale-body, sans-serif;
}


/*  重置列表元素,只限制的ul和ol,没有单独限制li
    ===================================================================== */
ul,
ol {
    list-style: none;
}


/*  textarea取消用户自定义宽高
    ===================================================================== */
textarea {
    resize: none;
}


/*  小h标签保持字体大小继承,取消加粗
    ===================================================================== */
h4,
h5,
h6 {
    font-size: 100%;
    font-weight: normal;
}


/*  a标签取消底线,颜色继承
    ===================================================================== */
a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: none;
    color: inherit;
}

/*  斜体字标签扶正
    ===================================================================== */
address,
cite,
dfn,
em,
var {
    font-style: normal;
}


/*  统一字体,根据业务标签样式自定义
    ===================================================================== */
code,
kbd,
pre,
samp {
    font-family: inherit;
}


/*  根据继承定义大小
    ===================================================================== */
small {
    font-size: 80%;
}

/*  IE下渲染main
    ===================================================================== */
main {
    display: block;
}

/*  IE10以下 a标签中img移除border
    ===================================================================== */
img {
    border-style: none;
}


/*  取消聚焦标签的轮廓线
    ===================================================================== */
:focus {
    outline: none;
}


/*  chrome input取消自动填充黄色背景
    ===================================================================== */
input:-webkit-autofill {
    box-shadow: 0 0 0px 1000px white inset;
    -webkit-box-shadow: 0 0 0px 1000px white inset;
}

[clear]:after {
    content: "";
    display: block;
    clear: both;
}


/* 
    swiper自定义样式
*/
.pagination {
    position: absolute;
    z-index: 20;
    bottom: 30px;
    width: 100%;
    text-align: center;
}

.swiper-pagination-switch {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0);
    margin: 0 8px;
    opacity: 0.8;
    border: 1px solid #555;
    cursor: pointer;
}

.swiper-active-switch {
    /* background: #fff; */
    background: #000;

}