﻿/**
@Author: yu_Wj
@Description：全站公用样式文件
*/

.container *{
	-webkit-box-sizing: border-box;
            box-sizing: border-box;
            -webkit-tap-highlight-color: transparent;
    /*取消链接高亮*/
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    outline: none;
    list-style: none;
    margin: 0;
    padding: 0;
    font: 14px/1 'SourceHanSansCN-Regular';
}

html {
    font-family: sans-serif;
    min-height: 100%;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}
body {
	color: #666;
    min-height: 100%;
	position: relative;
	background: #f8f6f1;
	-webkit-overflow-scrolling: touch;
}


/*自定义字体*/
@font-face {
  font-family: 'SourceHanSansCN-Regular';
	src: url('../font/SourceHanSansCN-Regular.eot');
	src: url('../font/SourceHanSansCN-Regular.eot?#iefix') format('embedded-opentype'), 
	url('../font/SourceHanSansCN-Regular.woff2') format('woff2'), 
	url('../font/SourceHanSansCN-Regular.woff') format('woff'), 
	url('../font/SourceHanSansCN-Regular.ttf') format('truetype'),
	url('../font/SourceHanSansCN-Regular.svg') format('svg'),
	url("../font/SourceHanSansCN-Regular.otf") format("opentype");
	font-weight: normal;
	font-style: normal;
}

/**
 * 自定义被选择文字的颜色
 */
/*webkit, opera, IE9*/
::selection{
	color: #fff;
	background: #cb4042;
}
/*mozilla firefox*/
::-moz-selection{
	color: #fff;
	background: #cb4042;
}

/**
 * 表格元素
 */
table { border-collapse: collapse; border-spacing: 0;}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
    display: block;
}

/**
 * 1. Correct `inline-block` display not defined in IE 8/9.
 * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
 */
audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

/**
 * 重置超链接元素
 */
a,
a:hover,
a:link,
a:focus {text-decoration: none;color: #666;}
b,strong {font-weight: bold;}

textarea {
    overflow: auto;
    vertical-align: top;
    /*用户可以自己缩放*/
    resize: vertical;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}

input[type="radio"],
input[type="checkbox"] {
    cursor: pointer;
    padding: 0;
}

button[disabled],
html input[disabled] {
    cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

/**
 * -webkit-appearance
 * 去除浏览器默认样式
*/
input[type="search"] {
    -webkit-appearance: textfield;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

address, em{font-style: normal;}

hr {
	width: 100%;
	height: 1px;
	padding: 0;
	border: 0;
	display: block;
	overflow: hidden;
	background: #f1f1f1;
}

iframe, frame, frameset{border: 0;}

/**
 * 清除浮动
*/
.clearboth{
	clear: both;
	overflow: hidden;
	height: 0px;
	font-size: 0px;
	line-height: 0px;
}

/**
 * 左右浮动
*/
.yu_fl{float: left !important;}
.yu_fr{float: right !important;}
.yu_fc{overflow: hidden !important;}

/**
 * 左右对齐
*/
.yu_tl{text-align: left !important;}
.yu_tr{text-align: right !important;}
.yu_tc{text-align: center !important;}

/**
 * 图片自适应
*/
img {
	height: auto;
	width: auto\9;
	border: none;
	/* ie8 */
	-ms-interpolation-mode: bicubic;
	/*为了照顾ie图片缩放失真*/
}
.img_img, .img_normal{
	line-height: 0;
	font-size: 0;
}
.img_img img{
	display: block;
	width: 100%;
	height: auto
}

/**
 * 标题
*/
h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: normal;
}

/**
 * 相对绝对
*/
.yu_pr{position: relative;}
.yu_pa{position: absolute;}

/*框架*/
.container{
	width: 1200px;
    margin: 0px auto;
    clear: both;
}

/**
 * 面包屑导航
*/
.position {
	color:#000;
	font-size: 14px;
	height: 72px;
	line-height: 72px;
}
.position a{display: inline-block;color: #000;}
.position a:hover{color: #cb4042;}

/**
 * 分页
*/
.paging{text-align: center;}
.paging li{
	float:left;
}
.paging a, .paging span{
	margin: 0 5px;
	background: #fff;
	width: 40px;
	height: 40px;
	line-height: 40px;
	text-align: center;
	font-size: 14px;
	color: #c94143;
	display: inline-block;
	vertical-align: top;
}
.thisclass,.paging span{
	background: #c94143 !important;
	color: #fff !important;
	margin: 0 5px;
	width: 40px;
	height: 40px;
	line-height: 40px;
	text-align: center;
	font-size: 14px;
	display: inline-block;
	vertical-align: top;
}

/**
 * 字符限制
*/
.charLimit{
	width: 90%;
	display: block;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/**
 * 上一篇
 * 下一篇
*/
.paging_hr{
	width: 100%;
	height: 1px;
	border: 0;
	margin: 30px 0;
	background: #ddd;
	overflow: hidden;
}
.char_limit{
	width: 100%;
	overflow: hidden;
}
.char_limit span{
	float: left;
	width: 100%;
	line-height: 28px;
}
.char_limit span a{line-height: 28px;}
.char_limit span a:hover{color: #cb4042;}



.left_nav{
	float: left;
	width: 300px;
	background: #fff;
}
.left_nav h3{
	color: #cb4042;
	font-size: 20px;
	height: 60px;
	line-height: 60px;
	text-align: center;
	border-bottom: solid 1px #ddd;
}
.left_nav ul{padding: 10px 20px;}
.left_nav li{
	float: left;
	width: 260px;
}
.left_nav li a{
	float: left;
	color: #333;
	font-size: 14px;
	width: 260px;
	line-height: 40px;
	display: block;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	padding-left: 6px;
}
.left_nav li a:hover{color: #cb4042;}

