/* ===== sy-alert 弹窗提示组件 ===== */
.sy-mask {
	width: 100%;
	height: 100%;
	position: fixed;
	background: rgba(0, 0, 0, 0.8);
	left: 0;
	top: 0;
	z-index: 1000;
}

.sy-alert {
	position: fixed;
	display: none;
	background: #fff;
	border-radius: 5px;
	overflow: hidden;
	width: 400px;
	max-width: 90%;
	max-height: 80%;
	left: 0;
	right: 0;
	margin: 0 auto;
	z-index: 9999;
	padding: 5px;
}

.sy-alert.animated {
	-webkit-animation-duration: .3s;
	animation-duration: .3s;
}

.sy-alert .sy-title {
	text-align: center;
	color: #333;
	line-height: 2;
	font-size: 24px;
	border-bottom: 1px solid #eee;
	padding: 0 12px;
}

.sy-alert .sy-content {
	padding: 20px;
	text-align: center;
	font-size: 14px;
	line-height: 24px;
	color: #666;
	overflow-y: auto;
}

.sy-alert .sy-btn {
	height: 50%;
	border-top: 1px solid #eee;
	overflow: hidden;
}

.sy-alert .sy-btn button {
	float: left;
	border: 0;
	color: #333;
	cursor: pointer;
	background: #fff;
	width: 50%;
	line-height: 45px;
	font-size: 15px;
	text-align: center;
}

.sy-alert .sy-btn button:nth-child(1) {
	color: #888;
	border-right: 1px solid #eee;
}

.sy-alert.sy-alert-alert .sy-btn button {
	float: none;
	width: 100%;
}

.sy-alert.sy-alert-tips {
	text-align: center;
	width: 150px;
	background: rgba(0, 0, 0, 0.7);
}

.sy-alert.sy-alert-tips .sy-content {
	padding: 8px;
	color: #fff;
	font-size: 14px;
}

.sy-alert.sy-alert-model .sy-content {
	text-align: left;
}

.sy-alert.sy-alert-model .sy-content .form .input-item {
	margin-bottom: 12px;
	position: relative;
	display: flex;
	justify-content: space-between;
}

.sy-alert.sy-alert-model .sy-content .form .input-item input {
	display: block;
	position: relative;
	width: 100%;
	border: 1px solid #eee;
	padding: 10px;
	box-sizing: border-box;
}

.sy-alert.sy-alert-model .sy-content .form .input-item select {
	padding: 10px 5px;
	border: 1px solid #eee;
	box-sizing: border-box;
	display: inline;
	width: 32%;
}

.sy-alert.sy-alert-model .sy-content .form .input-item .getcode {
	border: 0;
	top: 0;
	right: 0;
	position: absolute;
	background: 0;
	line-height: 37px;
	color: #f60;
	width: 100px;
	text-align: center;
}

/* ===== Animate.css（仅需要的 zoomIn / zoomOut） ===== */
.animated {
	-webkit-animation-duration: 1s;
	animation-duration: 1s;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
}

@-webkit-keyframes zoomIn {
	0% {
		opacity: 0;
		-webkit-transform: scale3d(.3, .3, .3);
		transform: scale3d(.3, .3, .3);
	}
	50% {
		opacity: 1;
	}
}

@keyframes zoomIn {
	0% {
		opacity: 0;
		-webkit-transform: scale3d(.3, .3, .3);
		-ms-transform: scale3d(.3, .3, .3);
		transform: scale3d(.3, .3, .3);
	}
	50% {
		opacity: 1;
	}
}

.zoomIn {
	-webkit-animation-name: zoomIn;
	animation-name: zoomIn;
}

@-webkit-keyframes zoomOut {
	0% {
		opacity: 1;
	}
	50% {
		opacity: 0;
		-webkit-transform: scale3d(.3, .3, .3);
		transform: scale3d(.3, .3, .3);
	}
	100% {
		opacity: 0;
	}
}

@keyframes zoomOut {
	0% {
		opacity: 1;
	}
	50% {
		opacity: 0;
		-webkit-transform: scale3d(.3, .3, .3);
		-ms-transform: scale3d(.3, .3, .3);
		transform: scale3d(.3, .3, .3);
	}
	100% {
		opacity: 0;
	}
}

.zoomOut {
	-webkit-animation-name: zoomOut;
	animation-name: zoomOut;
}
