/*!
 * by Ivan 2019 - ?
 * 借鉴naomalize.css 和 bootstrap.css
 */
@charset "utf-8";

/**
 * 通过继承的方式应用到所有元素,需要时可以方便的设置某个元素及其后代元素的 box-sizing 回 content-box。
 */

*, *::before, *::after {
    box-sizing: inherit;
}
/**
 * 1. 修正所有浏览器中的行高.
 * 2. 防止 iOS 横屏字号放大，同时保证在PC上 zoom 功能正常
 * 3. 防止ios点击链接或者元素的时候出现高亮
 * 4. 修正ie兼容性调整滚动条消失
 * 5. 全局设置 border-box，符合我们通常对一个「盒子」尺寸的认知
 * 6. 默认微软雅黑，如果没有，sans-serif字体能保证调用;
 */

html {
    line-height: 1.15; /* 1 */
    -webkit-text-size-adjust: 100%; /* 2 */
    -ms-text-size-adjust: 100%; /* 2 */
    -webkit-tap-highlight-color: transparent; /*3*/
    -ms-overflow-style: scrollbar; /*4*/
    box-sizing: border-box; /*5*/
    -moz-box-sizing: border-box; /*5*/
    -webkit-box-sizing: border-box; /*5*/
    font-family: "Microsoft YaHei", sans-serif;
}

/**
 * 修复默认边距，统一各浏览器效果
 */

body {
    margin: 0;
}

/* HTML5 显示属性定义
   ========================================================================== */
/**
 * 修复IE 8/9，HTML5新元素不能正确显示的问题，定义为 block的元素
 * 修复IE 10/11，'details' or 'summary' 定义为 block 的元素
 * 修复IE 11，'main'定义为 block 的元素
 * 当低版本浏览器遇到不识别的元素时，会默认把他们当成内联元素(inline)，这里重新定义成为block元素。
 */

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
    display: block;
}

/**
 * 1. 修复IE 8/9，HTML5新元素不能正确显示的问题，定义为inline-block元素
 * 2. 修复Chrome, Firefox, 和Opera的'progress'元素没有以baseline垂直对齐
 */

audio, canvas, progress, video {
    display: inline-block; /* 1 */
    vertical-align: baseline; /* 2 */
}
ul,figure,div,dl,dt,dd,ul,ol,li,tr,td,th,
h1,h2,h3,h4,h5,h6,hr,br,img,table,
input,form,a,p,textare{
	margin:0;
	padding:0;
	border:0;
	outline:0;
}
ul,ol,li {
    list-style-type: none
}
/**
 * 对不支持'controls'属性的浏览器(IE8之前)，'audio'元素给以隐藏
 * 移除iOS5设备中多余的高度
 */

audio:not([controls]) {
    display: none;
    height: 0;
}

/**
 * 修复 IE 7/8/9，Firefox 3 和 Safari 4 中 「hidden」属性不起作用的问题
 * 在IE、Safari、Firefox 22- 中隐藏「template」元素
 */

[hidden], template {
    display: none;
}

/* 链接
   ========================================================================== */

/**
 * 1. 去掉 IE 10+ 点击链接时的灰色背景
 * 2. 去掉a标签的下划线
 */

a {
    background-color: transparent;
    text-decoration: none;
}

/**
 * 去掉点击时的焦点框，同时保证使用键盘可以显示焦点框
 */

a:active,
a:hover {
    outline: 0;
    text-decoration: none;
}

a:not([href]):not([tabindex]) {
    color: inherit;
    text-decoration: none;
}

a:not([href]):not([tabindex]):hover, a:not([href]):not([tabindex]):focus {
    color: inherit;
    text-decoration: none;
}

a:not([href]):not([tabindex]):focus {
    outline: 0;
}

/**
 * Firefox3+，Safari4/5 和 Chrome 中统一设置为粗体
 */

b,
strong {
    font-weight: bolder;
}

/**
 * 统一 small 的字体大小
 */

small {
    font-size: 80%;
}

/**
 * 防止所有浏览器中的<sub>和<sup>影响行高
 */

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

/**
 * 把i标签的倾斜改为垂直。
 * i标签通常作为图标使用，或者标签不足时，不太重要信息的显示。
 */

i {
    font-style: normal;
}

/* 嵌入元素
   ========================================================================== */

/**
 * 去除 IE6-9 和 Firefox 3 中 a 内部 img 元素默认的边框
 */

img {
    vertical-align: middle;
    border: 0;
}

/**
 * 修复 IE9 中的「overflow」的怪异表现
 */

svg:not(:root) {
    overflow: hidden;
}

/* 内容分组
   ========================================================================== */

/**
 * 修正 Firefox 和其他浏览器之间的差异
 */

hr {
    box-sizing: content-box;
    height: 0;
}

/**
 * 标签应当包含滚溢出
 */

pre {
    overflow: auto;
    -ms-overflow-style: scrollbar;
}

/**
 * 统一代码的字体设置
 */

code, kbd, pre, samp {
    font-size: 1em;
}

/* 表单
   ========================================================================== */

/**
 * 1. 修正所有浏览器中颜色不继承的问题
 * 2. 修正所有浏览器中字体不继承的问题
 * 3. 修正 Firefox 3+， Safari5 和 Chrome 中外边距不同的问题
 */

button, input, select, textarea {
    color: inherit; /* 1 */
    font: inherit; /* 2 */
    margin: 0; /* 3 */
}

/**
 * 统一 IE 8/9/10/11 `overflow`属性为`visible`
 */

button {
    overflow: visible;
}

/**
 * 统一各浏览器`text-transform`不会继承的问题
 */

button,
select {
    text-transform: none;
}

:focus {
    outline: none;
    text-decoration: none;
}

/**
 * 1. 避免 Android 4.0.* 中的 WebKit bug ，该bug会破坏原生的
   `audio`和`video`的控制器
 * 2. 更正 iOS 中无法设置可点击的`input`的问题
 * 3. 统一其他类型的`input`的光标样式
 */

button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button; /* 2 */
    cursor: pointer; /* 3 */
}

/*!*修改chrome记住密码后自动填充表单的透明背景*!*/
input:-webkit-autofill {
    background-color: transparent;
    background-image: none;
}

/**
 * 重置按钮禁用时光标样式
 */

button[disabled],
html input[disabled] {
    cursor: default;
}

/**
 * 移除 Firefox 4+ 的内边距
 */

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

/**
 *
 * 1. 修正 IE 8/9 box-sizing 被设置为「content-box」的问题
 * 2. 移除 IE 8/9 中多余的内边距
 */

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box; /* 1 */
    padding: 0; /* 2 */
}

/**
 * 修正 Chrome 中 input [type="number"] 在特定高度和`font-size`时,
 * 下面一个箭头光标变成`cursor: text`
 * 2.清除number中的默认样式；
 */

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    height: auto;
    -webkit-appearance: none; /*2*/
    margin: 0;
}

/**
 * 1. 修正 Safari 5 和 Chrome 中`appearance`被设置为`searchfield`的问题
 * 2. 修正 Safari 5 和 Chrome 中`box-sizing`被设置为`border-box`的问题
 */

input[type="search"] {
    -webkit-appearance: textfield; /* 1 */
    box-sizing: content-box; /* 2 */
}

/**
 * 移除原生默认样式，统一search的输入框样式
 */

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
 * 定义一致的边框、外边距和内边距
 */

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}

/**
 * 1. 修正 IE 6-9 中颜色不能继承的问题
 * 2. 重置内边距
 */

legend {
    border: 0; /* 1 */
    padding: 0; /* 2 */
}

/**
 * 1. 移除 IE6-11 中默认的垂直滚动条
 */

textarea {
    overflow: auto;
    resize: none
}

/**
 * 统一设置optgroup元素font-weight始终为bold
 */
optgroup {
    font-weight: bold;
}

/**
 * 1. 纠正在iOS和Safari中无法使用可点击类型的功能。
 * 2. 在Safari中更改字体属性，以“inherit”。
 */

::-webkit-file-upload-button {
    -webkit-appearance: button; /* 1 */
    font: inherit; /* 2 */
}

/* Interactive：交互式的
 ========================================================================== */

/*
 * 修正Edge, IE 10+,和 Firefox中details标签的display属性
 */

details {
    display: block;
}

/*
 * 修正所有浏览器的display属性
 */

summary {
    display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 * 修正IE10+的template元素的display
 */

template {
    display: none;
}

/**
 * Add the correct display in IE 10.
 * 修正IE 10中的display
 */

[hidden] {
    display: none;
}

/**
 * 合并单元格边框，重置内边距
 */

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

td,
th {
    padding: 0;
}

/* 重置结束 */
/* ========================================================================== */
/* css常用 */

li {
    list-style-type: none;
}

/* 图片文本
   ========================================================================== */

/*h1 ~ h6*/

h1, .h1 {
    font-size: 2.5rem;
}

h2, .h2 {
    font-size: 2rem;
}

h3, .h3 {
    font-size: 1.75rem;
}

h4, .h4 {
    font-size: 1.5rem;
}

h5, .h5 {
    font-size: 1.25rem;
}

h6, .h6 {
    font-size: 1rem;
}

/* 文字位置 */

.tl {
    text-align: left
}

.tr {
    text-align: right
}

.tc {
    text-align: center
}

.tj {
    text-align: justify
}

/*文字排版从右到左*/

.rtl {
    direction: rtl;
    unicode-bidi: bidi-override;
}

/*文字单行溢出省略号*/

.ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

/*文字多行溢出省略号.两行以上的代码；有几行文本就在-webkit-line-clamp填写几行*/

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

/*英文溢出自动换行*/

.word-en {
    word-break: break-all;
    word-wrap: break-word;
}

/*文本缩进*/

.indent {
    text-indent: 2em;
}

/* 图片等比例自动缩放 */

img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
	margin:0 auto;
}

.list-page-detail img{
	width: 90%;
	margin:0 auto;
}

.bgattr {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.white {
    background: #fff;
}

.f3 {
    background: #f3f3f3;
}

.f5 {
    background: #f5f5f5;
}

.f7 {
    background: #f7f7f7;
}

/* 布局
   ========================================================================== */

/* display 属性*/

.dn {
    display: none;
}

.db {
    display: block;
}

.dib {
    display: inline-block;
}

/* 大小不定元素垂直居中 */

.dib-vm {
    display: inline-block;
    width: 0;
    height: 100%;
    vertical-align: middle;
}

/* 定位 */

.pr {
    position: relative
}

.pa {
    position: absolute
}

.pf {
    position: fixed
}

.ps {
    position: static;
}

/*绝对居中*/

.pos-cen {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
}

/* 浮动 */

.fl {
    float: left
}

.fr {
    float: right
}

.fn {
    float: none;
}

/* 清除浮动 */

.clearfix {
    *zoom: 1;
}

.clearfix:after {
    content: '';
    display: table;
    clear: both;
}

/*弹性盒模型*/

.flex {
    display: flex;
    /* 每项居中 */
    align-items: center;
    /* 两端居中 */
    justify-content: space-between;
}

/* 效果
   ========================================================================== */

/* css3过渡动画效果 */
.trans {
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

/* 移动端响应式使用rem兼容性设置
   ========================================================================== */

/*@media only screen and (max-width: 1080px), only screen and (max-device-width:1080px) {
    html,body {
        font-size:67.5px;
    }
}
@media only screen and (max-width: 960px), only screen and (max-device-width:960px) {
    html,body {
        font-size:60px;
    }
}
@media only screen and (max-width: 800px), only screen and (max-device-width:800px) {
    html,body {
        font-size:50px;
    }
}*/
@media only screen and (max-width: 720px), only screen and (max-device-width: 720px) {
    html, body {
        font-size: 45px;
    }
	footer{
		font-size: 18px;
	}
	   .aside{
	   display: none;
   }
}

@media only screen and (max-width: 640px), only screen and (max-device-width: 640px) {
    html, body {
        font-size: 40px;
    }
		footer{
		font-size: 16x;
	}
}

@media only screen and (max-width: 600px), only screen and (max-device-width: 600px) {
    html, body {
        font-size: 37.5px;
    }
		footer{
		font-size: 16px;
	}
}

@media only screen and (max-width: 540px), only screen and (max-device-width: 540px) {
    html, body {
        font-size: 33.75px;
    }
	footer{
		font-size: 14px;
	}
}

@media only screen and (max-width: 480px), only screen and (max-device-width: 480px) {
    html, body {
        font-size: 30px;
    }
footer{
		font-size: 14px;
	}
}

@media only screen and (max-width: 414px), only screen and (max-device-width: 414px) {
    html, body {
        font-size: 25.875px;
    }
	footer{
		font-size: 14px;
	}
	
}

@media only screen and (max-width: 400px), only screen and (max-device-width: 400px) {
    html, body {
        font-size: 25px;
    }
			footer{
		font-size: 12px;
	}
}

@media only screen and (max-width: 375px), only screen and (max-device-width: 375px) {
    html, body {
        font-size: 23.4375px;
    }
			footer{
		font-size: 12px;
	}
	
}

@media only screen and (max-width: 360px), only screen and (max-device-width: 360px) {
    html, body {
        font-size: 22.5px;
    }
			footer{
		font-size: 12px;
	}
}

@media only screen and (max-width: 320px), only screen and (max-device-width: 320px) {
    html, body {
        font-size: 20px;
    }
	footer{
		font-size: 10px;
	}
}

@media only screen and (max-width: 240px), only screen and (max-device-width: 240px) {
    html, body {
        font-size: 15px;
    }
				footer{
		font-size: 10px;
	}
		
}

