/*

*********	Author:Corey

*********	Date:2017/07/07

*********	QQ:735701122

*/

/*reset Css*/

body {

	background-color: #fff;
	/*整体背景颜色*/

	-webkit-touch-callout: none;
	/*-webkit-user-select: none;*/
	/*禁止复制*/

	-webkit-text-size-adjust: 100%;

	-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
	/*点击高亮效果*/

}

/*clearfix*/

.clearfix {
	*zoom: 1
}

.clearfix:before,

.clearfix:after {
	display: table;
	content: ""
}

.clearfix:after {
	clear: both
}

body,
button,
input,
pre,
select,
textarea {
	font-size: 16px;
	font-family: 'Microsoft YaHei', 'Arial';
}

article,
aside,
audio,
body,
canvas,
caption,
details,
div,
figure,
footer,
header,
hgroup,
html,
iframe,
img,
mark,
menu,
nav,
object,
section,
span,
summary,
table,
tbody,
td,
tfoot,
thead,
tr,
video {
	margin: 0;
	padding: 0;
	border: 0;
}

a,
abbr,
address,
b,
blockquote,
cit,
code,
dd,
del,
dfn,
dl,
dt,
em,
fieldset,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
i,
ins,
label,
legend,
li,
ol,
p,
pre,
q,
samp,
small,
strong,
sub,
sup,
ul {
	border: 0;
	vertical-align: baseline;
	margin: 0;
	padding: 0;
}

article,
aside,
audio,
canvas,
figcaption,
figure,
figure img,
footer,
header,
hgroup,
nav,
section,
video {
	display: block;
}

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

table caption,
table td,
table th {
	text-align: left;
	vertical-align: middle;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-size: 100%;
	font-weight: normal;
}

input,
textarea {
	-webkit-appearance: none;
	border-radius: 0;
}

ol,
ul,
li {
	list-style: none;
}

a,
a:active {
	color: inherit;
	text-decoration: none;
	cursor: pointer;
}

a {
	border: 0;
}

em {
	font-style: normal;
}

@-webkit-keyframes bounce {

	0%,
	100% {

		-webkit-transform: scale(1);

		-moz-transform: scale(1);

		-ms-transform: scale(1);

		-o-transform: scale(1);

		transform: scale(1)
	}

	50% {

		-webkit-transform: scale(1.5);

		-moz-transform: scale(1.5);

		-ms-transform: scale(1.5);

		-o-transform: scale(1.5);

		transform: scale(1.5)
	}

}

@keyframes bounce {

	0%,
	100% {

		-webkit-transform: scale(1);

		-moz-transform: scale(1);

		-ms-transform: scale(1);

		-o-transform: scale(1);

		transform: scale(1)
	}

	50% {

		-webkit-transform: scale(1.5);

		-moz-transform: scale(1.5);

		-ms-transform: scale(1.5);

		-o-transform: scale(1.5);

		transform: scale(1.5)
	}

}

/*End reset*/



/*public Css*/

/*通用*/

* {
	box-sizing: border-box;
}

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

*:focus {
	outline: none;
}

html {
	-ms-touch-action: none;
	/* 阻止windows Phone 的默认触摸事件 */
}

/*兼容iphone去除默认input表单默认设置*/

input[type="submit"],
input[type="reset"],
input[type="button"],
button {
	-webkit-appearance: none;
}



/*图片默认样式*/

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

/*动画效果 所有属性获得过度*/

* {
	transition-property: all;
}

.com-img img {
	transition: all 0.3s ease-in 0s;
	-webkit-transition: all 0.3s ease-in 0s;
	-moz-transition: all 0.3s ease-in 0s;
	-o-transition: all 0.3s ease-in 0s;
}

.com-img:hover img {
	transform: scale(1.06);
	-webkit-transform: scale(1.06);
	-moz-transform: scale(1.06);
	-o-transform: scale(1.06);
	-ms-transform: scale(1.06);
}



.fl {
	float: left;
}

.fr {
	float: right;
}

.show {
	display: block;
}

.hide {
	display: none;
}

.taC {
	text-align: center;
}

.taL {
	text-align: left;
}

.taR {
	text-align: right;
}

.ttU {
	text-transform: uppercase;
}

.ofH {
	overflow: hidden;
}

.fwB {
	font-weight: 600;
}

.vaM {
	vertical-align: middle;
}

.pst-rel {
	position: relative;
}

.pst-abs {
	position: absolute;
}




/*限制行数 -- 一行*/

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

/*限制行数 -- 当字号为12px,line-height为25时，限制高为50，如有改变，自行设置高度,为了兼容不支持line-clamp属性的浏览器*/

.line2 {
	height: 50px;
	text-overflow: -o-ellipsis-lastline;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-moz-line-clamp: 2;
	-o-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.line3 {
	height: 75px;
	text-overflow: -o-ellipsis-lastline;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	-moz-line-clamp: 3;
	-o-line-clamp: 3;
	-webkit-box-orient: vertical;
}



/*动画--规定动画移动出去的时间*/

a:hover {
	-moz-transition: all 0.5s ease-out;
	-o-transition: all 0.5s ease-out;
	-webkit-transition: all 0.5s ease-out;
	transition: all 0.5s ease-out;
}

.animation {
	-moz-transition: all 0.3s ease-out;
	-o-transition: all 0.3s ease-out;
	-webkit-transition: all 0.3s ease-out;
	transition: all 0.3s ease-out;
}



/*分页*/

.pagination {
	width: 100%;
	height: auto;
	text-align: center;
	position: relative;
	overflow: hidden;
}

/*分页*/

.pagination a {
	display: inline-block;
	width: 40px;
	height: 40px;
	line-height: 40px;
	text-align: center;
	border: 1px solid #eee;
	color: #666;
	margin: 0px 3px;
}

.pagination a.on,
.pagination a:hover {
	background-color: #c70c1f;
	color: #ffffff;
	border-color: #c70c1f;
}

.pagination a:first-child,
.pagination a:last-child {
	font-weight: 600;
	font-family: '宋体';
}



/* .pdtb80 {
	padding: 80px 0;
} */

.trs {
	transition: all 0.5s ease-in-out 0;
}

/* 背景拉升效果 */

.bg-pic {
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	width: 100%;
	height: 100%;
	text-align: center;
	transform: matrix(1.1, 0, 0, 1.1, 0, 0);
	-webkit-transition: all 0.4s ease 1.2s;
	-moz-transition: all 0.4s ease 1.2s;
	-ms-transition: all 0.4s ease 1.2s;
	-o-transition: all 0.4s ease 1.2s;
	transition: all 0.4s ease 1.2s;
	object-fit: cover;
}



/* 滑动到该位置时 */

.bg-pic.active {
	transition-delay: 0.4s !important;
	transform: matrix(1.0, 0, 0, 1.0, 0, 0);
	-webkit-transition: all 5.0s ease;
	-moz-transition: all 5.0s ease;
	-ms-transition: all 5.0s ease;
	-o-transition: all 5.0s ease;
	transition: all 5.0s ease;
}



/*视频插件--视频窗口*/

.media-modal {
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, .3);
	position: fixed;
	top: 0px;
	left: 0px;
	z-index: 9999;
	display: none;
	opacity: 0;
}

.media-modal .mediaModal-contain {
	width: 720px;
	height: 480px;
	background: #fff;
	box-shadow: 0 0 15px rgba(0, 0, 0, .5);
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -240px 0 0 -360px;
	display: none;
}

.mediaModal-contain .mediaModal-box,

.mediaModal-contain video,

.mediaModal-contain .mejs-container,

.mediaModal-contain .mejs-overlay-play,

.mediaModal-contain .mejs-poster,

.mediaModal-contain .mejs-layers,

.mediaModal-contain .mejs-overlay {
	width: 100% !important;
	height: 100% !important;
}

.mediaModal-contain .close {
	display: block;
	width: 32px;
	height: 32px;
	background: url(../image/icon-close.png) no-repeat center center / cover;
	position: absolute;
	right: 5px;
	top: 5px;
	z-index: 2;
	opacity: 0;
	transition: all .3s ease-in-out;
	-webkit-transition: all .3s ease-in-out;
}

.mediaModal-contain:hover .close {
	opacity: 1;
}

@media all and (max-width:980px) {
	.mediaModal-contain .close {
		opacity: 1;
	}

	.media-modal .mediaModal-contain {
		width: 100%;
		left: 0;
		margin-left: 0;
	}

	.media-modal .mediaModal-contain {
		height: 212px;
		margin-top: -106px;
	}
}
