/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */


/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
	color: #222;
}

body {
	font-size: 1em;
	line-height: 1.4;
}


/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
	background: #b3d4fc;
	text-shadow: none;
}

::selection {
	background: #b3d4fc;
	text-shadow: none;
}


/*
 * A better looking default horizontal rule
 */

hr {
	display: block;
	height: 1px;
	border: 0;
	border-top: 1px solid #ccc;
	margin: 1em 0;
	padding: 0;
}


/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
	vertical-align: middle;
}


/*
 * Remove default fieldset styles.
 */

fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}


/*
 * Allow only vertical resizing of textareas.
 */

textarea {
	resize: vertical;
}


/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
	margin: 0.2em 0;
	background: #ccc;
	color: #000;
	padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */


/* ==========================================================================
   Helper classes
   ========================================================================== */


/*
 * Image replacement
 */

.ir {
	background-color: transparent;
	border: 0;
	overflow: hidden;
	/* IE 6/7 fallback */
	*text-indent: -9999px;
}

.ir:before {
	content: "";
	display: block;
	width: 0;
	height: 150%;
}


/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
	display: none !important;
	visibility: hidden;
}


/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}


/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
	clip: auto;
	height: auto;
	margin: 0;
	overflow: visible;
	position: static;
	width: auto;
}


/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
	visibility: hidden;
}


/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
	content: " ";
	/* 1 */
	display: table;
	/* 2 */
}

.clearfix:after {
	clear: both;
}


/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
	*zoom: 1;
}


/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
	/* Style adjustments for viewports that meet the condition */
}

@media print,
(-o-min-device-pixel-ratio: 5/4),
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {
	/* Style adjustments for high resolution devices */
}


/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
	* {
		background: transparent !important;
		color: #000 !important;
		/* Black prints faster: h5bp.com/s */
		box-shadow: none !important;
		text-shadow: none !important;
	}
	a,
	a:visited {
		text-decoration: underline;
	}
	a[href]:after {
		content: " (" attr(href) ")";
	}
	abbr[title]:after {
		content: " (" attr(title) ")";
	}
	/*
     * Don't show links for images, or javascript/internal links
     */
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content: "";
	}
	pre,
	blockquote {
		border: 1px solid #999;
		page-break-inside: avoid;
	}
	thead {
		display: table-header-group;
		/* h5bp.com/t */
	}
	tr,
	img {
		page-break-inside: avoid;
	}
	img {
		max-width: 100% !important;
	}
	@page {
		margin: 0.5cm;
	}
	p,
	h2,
	h3 {
		orphans: 3;
		widows: 3;
	}
	h2,
	h3 {
		page-break-after: avoid;
	}
}


/*patch*/

html,
body {
	font-family: 'SimHei','PingFang SC', 'Helvetica Neue', "STHeitiSC-Light", sans-serif;
	height: 100%;
	width: 100%;
	font-size: 20px;
	overflow: hidden;
	-webkit-overflow-scrolling: touch;
	background-color: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6,
em,
i,
span {
	font-weight: normal;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
p,
em,
i,
span,
p {
	font-family: 'SimHei','PingFang SC', 'Helvetica Neue', "STHeitiSC-Light", sans-serif;
}

a,
img,
button {
	-webkit-box-shadow: none;
	box-shadow: none;
	transition: background-color 0.6s, border 0.6s, color 0.3s;
	-webkit-transition: background-color 0.6s, border 0.6s, color 0.3s;
	tap-highlight-color: rgba(0, 0, 0, 0);
	focus-ring-color: rgba(0, 0, 0, 0);
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
	-webkit-focus-ring-color: rgba(0, 0, 0, 0);
	-moz-tap-highlight-color: rgba(0, 0, 0, 0);
	-moz-focus-ring-color: rgba(0, 0, 0, 0);
	outline: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
}

a:focus {
	-webkit-box-shadow: none;
	box-shadow: none;
}

body {
	height: 100%;
	overflow: scroll;
	position: relative;
	overflow-x: hidden;
}

.ys-sys {
	position: relative;
	z-index: 999;
}

.container {
	padding: 0;
	overflow: hidden;
}

@media (min-width: 1300px) {
	.container {
		width: 1280px;
	}
}

@media (max-width: 1280px) {
	.container {
		width: 100%;
	}
}

.ys-icon {
	display: block;
	position: absolute;
	background-position: 0 0;
	background-repeat: no-repeat;
}


/* s-d */

#preloader {
	position: fixed;
	/*display:none;*/
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #e4e7ea;
	z-index: 10000;
}

#status {
	width: 1.5rem;
	height: 1.5rem;
	position: absolute;
	left: 50%;
	top: 50%;
	margin: -0.75rem 0 0 -0.75rem;
	font-size: 1.6rem;
}

/* overwrite bootstrap navbar */
.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus{
	color: #037AFF;
}
/*head nav*/

.ys-headbar-bg {
	position: fixed;
	width: 100%;
	top: 0;
	left: 0;
	z-index: 9999;
	background-color: rgba(255, 255, 255, 1);
	height: 2.5rem;
	max-height: 2.5rem;
}

.headroom {
	-webkit-transition: background-color 0.5s;
	-moz-transition: background-color 0.5s;
	-ms-transition: background-color 0.5s;
	-o-transition: background-color 0.5s;
	transition: background-color 0.5s;
	/*-webkit-box-shadow: 0 3px 2px 0 rgba(33,33,33,0.1);
    box-shadow: 0 3px 2px 0 rgba(33,33,33,0.1);*/
}

.nav-wrapper {
	max-width: 1280px;
	/*padding-left:5%;padding-right:5%;*/
	margin: 0 auto;
}

@media (max-width: 1280px) {
	.nav-wrapper {
		max-width: 1280px;
		padding-left: 5%;
		padding-right: 0%;
	}
}

.navbar-default {
	background-color: #fff;
	border-color: #e7e7e7;
	border: 0;
}

.navbar-brand {
	padding: .5rem;
}

.navbar-brand>img {
	height: 1.5rem;
}

.navbar-default .navbar-nav> .open> a,
.navbar-default .navbar-nav> .open> a:hover,
.navbar-default .navbar-nav> .open> a:focus {
	color: #555;
	background-color: #fff;
}

.navbar-nav> li> a {
	padding-top: 10px;
	padding-bottom: 10px;
	line-height: 30px;
	font-size: 14px;
	color: #333;
}

span.glyphicon-menu-down {
	display: inline-block;
	margin-left: 8px;
	-webkit-transition: transform .3s;
	-moz-transition: transform .3s;
	-ms-transition: transform .3s;
	-o-transition: transform .3s;
	transition: transform .3s;
}

.open a>span.glyphicon-menu-down {
	-webkit-transform: rotate(-180deg);
	-moz-transform: rotate(-180deg);
	-ms-transform: rotate(-180deg);
	-o-transform: rotate(-180deg);
	transform: rotate(-180deg);
}

.wx-wrapper {
	position: absolute;
	width: 350px;
	height: 350px;
	top: -500px;
	left: -500px;
}


/*section*/

.section .section-wrapper {
	max-width: 1280px;
	/* max-width: calc(1600px + 10%);*/
	width: 100%;
	margin: 0 auto;
	/* padding-left: 5%;
    padding-right: 5%;*/
	/* background-color:#fff;*/
}

@media (max-width: 1280px) {
	.section .section-wrapper {
		max-width: 1280px;
		width: 100%;
		margin: 0 auto;
		padding-left: 5%;
		padding-right: 5%;
		/* background-color:#fff;*/
	}
}

.headroom {
	background-color: #fff;
	width: 100%;
	width: calc(100% - 16px);
	padding-left: 0;
	padding-right: 0;
}
@media (max-width: 700px) {
	.headroom {
		width:100%;
	}
}
.section .swiper-container-wrapper {
	max-width: 1280px;
	margin: 0 auto;
	/*padding-left:5%;padding-right:5%;*/
}

@media (max-width: 1280px) {
	.section .swiper-container-wrapper {
		max-width: 1280px;
		margin: 0 auto;
		padding-left: 5%;
		padding-right: 5%;
	}
}

.section .swiper-container {
	margin-left: 0;
	margin-right: 0;
}

.inside-page {
	padding-top: 0;
	padding-bottom: 1.5rem;
}

#ys-contact {
	padding-top: 1rem;
	text-align: center;
}

.cp {
	margin-left: 0;
}

.cp,
.ba {
	display: inline-block;
	text-decoration: none;
	height: 20px;
	line-height: 20px;
	font-size: .8rem;
	color: #333;
	margin-left: 22px;
}

@media (max-width:700px) {
	.cp,
	.ba {
		font-size:12px;
		margin-left: 0;
		padding-left: 0;
	}

}

.ba {
	/* padding-left: 28px; */
	position: relative;
}

.ba>img {
	position: absolute;
	top: 50%;
	margin-top: -9px;
	left: 0;
	width: 16px;
	height: 16px;
}

.ys-footer-pc {
	display: block;
}

.ys-footer-mobile {
	display: none;
}

@media (max-width: 700px) {
	/* .nav-wrapper{margin-left:-20px;margin-right:-20px;}*/
	.nav-wrapper {
		margin-left: -20px;
		margin-right: -20px;
	}
	.navbar-default .navbar-brand {
		padding-left: 20px;
	}
	.navbar-default .navbar-toggle {
		border: 0;
		margin-right: 30px;
	}
	.navbar-default .navbar-nav> li> a {
		padding-left: 20px;
	}
	.navbar-default .navbar-toggle:hover,
	.navbar-default .navbar-toggle:focus {
		background-color: #fff;
	}
	.navbar-default .navbar-nav .open .dropdown-menu> li> a {
		padding-top: 10px;
		padding-bottom: 10px;
	}
	/*#ys-contact{display: none;}*/
	.inside-page {
		padding-top: 2.5rem;
		padding-bottom: 1rem;
	}
	#ys-contact {
		padding-top: 1rem;
		text-align: left;
	}
	.ys-footer-pc {
		display: none;
	}
	.ys-footer-mobile {
		display: block;
		text-align: center;
	}
}

@media (min-width: 700px) {
	/*#section-1 .thumbnail.thumbnail-0 {
		padding-right: 8px;
	}
	#section-1 .thumbnail.thumbnail-1 {
		padding-left: 8px;
	}*/
}


/*update by  guoyuan 2017-10-27*/

.inside-page {
	max-width: auto;
	margin: 0 auto;
}

img.img-mobi{display:none;}
img.img-pc{display: inline-block}
@media (max-width: 700px) {

	img.img-mobi{display:inline-block;}
	img.img-pc{display:none;}
}

@media (min-width: 768px){
	.navbar-right {
		float: right !important;
		margin-right: -30px;
	}

	.navbar-brand {
		padding: .5rem 0;
	}
}

/* no margin no padding */
.no-margin-p {
	margin: 0;
	padding: 0;
}

/* .dotted {
	width: .25rem;
	height: .25rem;
	display: inline-block;
	border-radius: 100%;
	background-color: #575757;
	margin-right: .5rem;
	vertical-align: middle;
} */
.dotted {
	padding-left: .8rem;
}
.dotted::before {
	content: ' ';
	vertical-align: middle;
	width: 0;
	height: 0;
	display: list-item;
	border-radius: 100%;
	color: #575757;
	margin-right: 6px;
	position: relative;
	/* list-style: initial; */
	list-style: square;
    font-size: 12px;
	position: relative;
	top: 1px;
}
.dotted.dot-gray::before {
	color: #BABABA;
}
.dotted.dot-blue::before {
	color: #143062;
}
.dotted.dot-green::before {
	color: #0C3938;
}

@media (max-width: 1280px) and (min-width: 701px){
    .ys-headbar-bg {
		height: 3.33rem;
		max-height: 3.33rem;
	}
	.headroom {
		padding-right: 16px;
		width: 100%;
	}
	.navbar-brand>img {
		height: 2rem;
	}
}
