/* 公共样式 */
html {
	overflow-y: scroll;
}

body {
	position: relative;
	background-color: #F2F3F5;
	width: 100vw;
	min-height: 100vh;
}

:root {
	overflow-y: auto;
	overflow-x: hidden;
}

.header {
	background-color: #fff;
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	z-index: 999;
	box-shadow: 0px 0px 4px #999;
}

.header .header-bar {
	display: flex;
	position: relative;
	width: 1140px;
	height: 80px;
	align-items: center;
	justify-content: space-between;
	margin: 0 auto;
}

.header .header-img-title {
	display: flex;
	align-items: center;
}

.header .header-img {
	height: 100%;
	position: relative;
	padding-right: 24px;
}

.header .header-img::after {
	content: '';
	display: inline-block;
	position: absolute;
	width: 1px;
	height: 36px;
	background: #D9D9D9;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
}

.header .header-img img {
	height: 100%;
}
.header .header-title {
	display: inline-block;
	vertical-align: middle;
	font-size: 24px;
	margin-left: 24px;
	font-weight: 400;
	line-height: 32px;
}
.header .header-title-english {
	font-size: 12px;
	font-weight: 400;
	line-height: 16px;
}
.header .header-tool-bar {
	font-size: 16px;
	display: flex;
	align-items: baseline;
}
.header .header-tool-bar .separator{
	position: relative;
	top: 2px;
	display: inline-block;
	width: 1px;
	height: 16px;
	background-color: #191919;
	margin: 0 12px;
}

.header .header-tool-bar a {
	max-width: 12em;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.footer {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	line-height: 30px;
	padding: 24px;
	text-align: center;
	box-sizing: border-box;
  color: #191919;
}

.footer span {
	padding: 0 5px;
}

.footer a {
	padding: 0 5px;
	color: #191919;
}

.footer a:hover {
	text-decoration: underline;
}

a.a_link {
	margin-top: 9px;
	color: #00489B;
}

a.a_link:hover {
	opacity: 0.8;
}

.input-tips-focus:focus {
	border-color: #00489B!important;
}

.input-tips-focus:focus+.input-tips {
	padding: 5px 2px;
	opacity: 1;
}
.input-tips {
	color: #00489B;
	overflow: hidden;
	transition: all 0.3s;
	padding: 0 2px;
	opacity: 0;
	margin-bottom: -24px;
}

/* alert弹窗 */
body .layer-alert .layui-layer-content {
	max-height: 500px;
}

/* 禁止 textarea 大小调整 */
.layui-textarea {
	resize: none;
	font-size: 16px;
}
/* layer 样式 */
body .layui-layer{
	max-width: 100vw;
	max-height: 100vh;
}
body .layer-visible .layui-layer-content{
	overflow: visible;
}


body .layui-layer-title{
  font-weight: 400;
  font-size: 16px;
  color: #191919;
}

/* tips 样式 */
.tips {
	box-sizing: border-box;
	padding: 9px 16px;
	background: #E6F7FF;
	border: 1px solid #91D5FF;
	border-radius: 2px;
	margin-bottom: 24px;
}

.tips .layui-icon-tips {
	color: #1890FF;
}

/*---------500--404-------------*/
.errorCon {
	padding-top: 200px;
}

.errorCon p {
	text-align: center;
}

.errorCon p.title {
	font-size: 32px;
	color: #00489B;
	margin-bottom: 16px;
}

.errorCon p.desc {
	font-size: 24px;
	color: #000;
}

/* 移动端适配 */
@media only screen and (max-width: 1200px) {
	.header .header-bar {
		width: auto;
		padding: 0 24px;
	}
}
@media only screen and (max-width: 800px) {
	.header .header-img {
		display: none;
	}
	.header .header-title {
		margin-left: 0;
	}
	.footer .wltx {
		display: block;
	}
	.footer .wltx .separator {
		display: none;
	}
}

@media only screen and (max-width: 480px) {
	.header .header-tool-bar .separator {
		margin: 0 6px -3px;
	}
	.footer {
		position: relative!important;
	}
}

/* 智能ai图标 */
.icon-fixed {
  position: fixed;
  right: 50px;
  bottom: 100px;
}
.icon-fixed b {
  margin-top: 8px;
  color: #fff;
  display: block;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.icon-fixed .tips {
	display: none;
	position: absolute;
	width: 220px;
	right: 70px;
	top: 7px;
}
.icon-fixed .tips::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 10px;
  height: 10px;
  border-top: 1px solid #91D5FF;
  border-right: 1px solid #91D5FF;
	background: #E6F7FF;
}
.icon-fixed:hover .tips{
	display: block;
}
.icon-fixed .ai-icon {
  display: block;
  margin: 0 auto;
  width: 50px;
  height: 50px;
  background-image: url('../images/ai-icon.png');
	background-size: 100%;
  /* background-size: 80%;
  background-color: #fff;
  border-radius: 50%;
	box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); */
  background-position: center;
  background-repeat: no-repeat;
  transition: all .3s;
  -webkit-transition: all .3s;
}
.icon-fixed .ai-icon:hover {
  /* opacity: 0.8; */
  transform-origin: bottom center;
  animation: swing 2s infinite;
}
@keyframes swing {
  0% { transform: rotate(0deg); }
  10% { transform: rotate(10deg); }
  20% { transform: rotate(-10deg); }
  30% { transform: rotate(6deg); }
  40% { transform: rotate(-6deg); }
  50% { transform: rotate(3deg); }
  60% { transform: rotate(-3deg); }
  70% { transform: rotate(2deg); }
  80% { transform: rotate(-2deg); }
  90% { transform: rotate(1deg); }
  100% { transform: rotate(0deg); }
}

/* 移动端适配 */
@media only screen and (max-width: 450px) {
	.icon-fixed {
		position: fixed;
		right: 50px;
		bottom: 50px;
	}
	.header .header-img-title {
		display: block;
	}
	.header .header-title {
		display: block;
	}
	.header b {
		margin-left: 0!important;
	}
}