@charset "UTF-8";

/**
 * @package ZMLFrame\Assets\Css
 *
 * 信息提示样式
 *
 * @since 1.0.0
 */

.zml-alert-overlay {
	background-color: rgba(0, 0, 0, 0.4);
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	display: none;
	z-index: 1000;
}

.zml-alert-modal {
	background-color: #fff;
	font-family: Helvetica, Tahoma, Arial, "Microsoft YaHei", "Hiragino Sans GB", "WenQuanYi Micro Hei", sans-serif;
	border-radius: 1px;
	box-sizing: border-box;
	text-align: center;
	position: fixed;
	left: 50%;
	top: 50%;
	margin-top: -200px;
	max-height: 90%;
	overflow-x: hidden;
	overflow-y: auto;
	display: none;
	z-index: 2000;
}

.zml-alert-modal:focus {
	outline: none;
}

.zml-alert-modal.loading {
	overflow-y: hidden;
}

.zml-alert-modal h2 {
	color: #575757;
	font-size: 18px;
	text-align: center;
	font-weight: 600;
	text-transform: none;
	position: relative;
	margin: 0;
	padding: 0;
	line-height: 30px;
	display: block;
}

.zml-alert-modal hr {
	height: 10px;
	color: transparent;
	border: 0;
}

.zml-alert-modal button.styled {
	color: #fff;
	border: 0;
	box-shadow: none;
	font-size: 15px;
	border-radius: 0;
	padding: 6px 30px;
	margin: 0 5px;
	cursor: pointer;
}

.zml-alert-modal button.styled:focus {
	outline: none;
}

.zml-alert-modal button.styled[disabled] {
	opacity: .4;
	cursor: no-drop;
}

.zml-alert-modal button.styled.loading {
	box-sizing: border-box;
	border: 4px solid transparent;
	border-color: transparent;
	width: 40px;
	height: 40px;
	padding: 0;
	margin: -2px 30px;
	vertical-align: top;
	background-color: transparent !important;
	color: transparent;
	cursor: default;
	border-radius: 100%;
	-webkit-animation: rotate-loading 1.5s linear 0s infinite normal;
	animation: rotate-loading 1.5s linear 0s infinite normal;
}

.zml-alert-modal button.styled::-moz-focus-inner {
	border: 0;
}

.zml-alert-modal .zml-alert-image {
	margin: 20px auto;
	max-width: 100%;
}

.zml-alert-modal .zml-alert-close {
	font-size: 36px;
	line-height: 36px;
	position: absolute;
	top: 5px;
	right: 13px;
	cursor: pointer;
	color: #cfcfcf;
	-webkit-transition: all 0.1s ease;
	transition: all 0.1s ease;
}

.zml-alert-modal .zml-alert-close:hover {
	color: #d55;
}

.zml-alert-content {
	font-size: 16px;
	text-align: center;
	position: relative;
	float: none;
	margin: 0;
	padding: 0;
	line-height: 30px;
	color: #555;
}

.zml-alert-icon {
	width: 80px;
	height: 80px;
	border: 4px solid #808080;
	border-radius: 50%;
	margin: 10px auto 20px auto;
	padding: 0;
	position: relative;
	box-sizing: content-box;
	cursor: default;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
}

.zml-alert-icon.zml-alert-error {
	border-color: #f27474;
}

.zml-alert-icon.zml-alert-error .x-mark {
	position: relative;
	display: block;
}

.zml-alert-icon.zml-alert-error .line {
	position: absolute;
	height: 5px;
	width: 47px;
	background-color: #f27474;
	display: block;
	top: 37px;
	border-radius: 2px;
}

.zml-alert-icon.zml-alert-error .line.left {
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
	left: 17px;
}

.zml-alert-icon.zml-alert-error .line.right {
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
	right: 16px;
}

.zml-alert-icon.zml-alert-warning {
	color: #f8bb86;
	border-color: #f8bb86;
	font-size: 60px;
	line-height: 80px;
	text-align: center;
}

.zml-alert-icon.zml-alert-info {
	color: #3fc3ee;
	border-color: #3fc3ee;
	font-size: 60px;
	line-height: 80px;
	text-align: center;
}

.zml-alert-icon.zml-alert-question {
	color: #c9dae1;
	border-color: #c9dae1;
	font-size: 60px;
	line-height: 80px;
	text-align: center;
}

.zml-alert-icon.zml-alert-success {
	border-color: #a5dc86;
}

.zml-alert-icon.zml-alert-success::before, .zml-alert-icon.zml-alert-success::after {
	content: '';
	border-radius: 50%;
	position: absolute;
	width: 60px;
	height: 120px;
	background: #fff;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}

.zml-alert-icon.zml-alert-success::before {
	border-radius: 120px 0 0 120px;
	top: -7px;
	left: -33px;
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
	-webkit-transform-origin: 60px 60px;
	transform-origin: 60px 60px;
}

.zml-alert-icon.zml-alert-success::after {
	border-radius: 0 120px 120px 0;
	top: -11px;
	left: 30px;
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
	-webkit-transform-origin: 0 60px;
	transform-origin: 0 60px;
}

.zml-alert-icon.zml-alert-success .placeholder {
	width: 80px;
	height: 80px;
	border: 4px solid rgba(165, 220, 134, 0.2);
	border-radius: 50%;
	box-sizing: content-box;
	position: absolute;
	left: -4px;
	top: -4px;
	z-index: 2;
}

.zml-alert-icon.zml-alert-success .fix {
	width: 7px;
	height: 90px;
	background-color: #fff;
	position: absolute;
	left: 28px;
	top: 8px;
	z-index: 1;
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

.zml-alert-icon.zml-alert-success .line {
	height: 5px;
	background-color: #a5dc86;
	display: block;
	border-radius: 2px;
	position: absolute;
	z-index: 2;
}

.zml-alert-icon.zml-alert-success .line.tip {
	width: 25px;
	left: 14px;
	top: 46px;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}

.zml-alert-icon.zml-alert-success .line.long {
	width: 47px;
	right: 8px;
	top: 38px;
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

.zml-alert-input:not([type="file"]), .zml-alert-textarea {
	width: 100%;
	box-sizing: border-box;
	border-radius: 3px;
	border: 1px solid #d7d7d7;
	margin: 20px auto;
	font-size: 18px;
	box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.06);
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
}

.zml-alert-input:not([type="file"]).error, .zml-alert-textarea.error {
	border-color: #f06e57 !important;
}

.zml-alert-input:not([type="file"]):focus, .zml-alert-textarea:focus {
	outline: none;
	box-shadow: 0px 0px 3px #c4e6f5;
	border: 1px solid #b4dbed;
}

.zml-alert-input:not([type="file"]):focus::-moz-placeholder, .zml-alert-textarea:focus::-moz-placeholder {
	-webkit-transition: opacity 0.3s 0.03s ease;
	transition: opacity 0.3s 0.03s ease;
	opacity: 0.8;
}

.zml-alert-input:not([type="file"]):focus:-ms-input-placeholder, .zml-alert-textarea:focus:-ms-input-placeholder {
	-webkit-transition: opacity 0.3s 0.03s ease;
	transition: opacity 0.3s 0.03s ease;
	opacity: 0.8;
}

.zml-alert-input:not([type="file"]):focus::-webkit-input-placeholder, .zml-alert-textarea:focus::-webkit-input-placeholder {
	-webkit-transition: opacity 0.3s 0.03s ease;
	transition: opacity 0.3s 0.03s ease;
	opacity: 0.8;
}

.zml-alert-input:not([type="file"])::-moz-placeholder, .zml-alert-textarea::-moz-placeholder {
	color: #bdbdbd;
}

.zml-alert-input:not([type="file"]):-ms-input-placeholder, .zml-alert-textarea:-ms-input-placeholder {
	color: #bdbdbd;
}

.zml-alert-input:not([type="file"])::-webkit-input-placeholder, .zml-alert-textarea::-webkit-input-placeholder {
	color: #bdbdbd;
}

.zml-alert-input:not([type="file"]) {
	height: 43px;
	padding: 0 12px;
}

.zml-alert-input[type="file"] {
	font-size: 20px;
	display: inline-block;
	margin: 20px auto;
}

.zml-alert-textarea {
	height: 108px;
	padding: 12px;
}

.zml-alert-select {
	color: #555;
	font-size: inherit;
	margin: 20px auto;
	padding: 5px 10px;
	min-width: 40%;
	max-width: 100%;
}

.zml-alert-radio {
	border: 0;
	margin: 20px auto;
}

.zml-alert-radio label:not(:first-child) {
	margin-left: 20px;
}

.zml-alert-radio input, .zml-alert-radio span {
	vertical-align: middle;
}

.zml-alert-radio input {
	margin: 0 3px 0 0;
}

.zml-alert-checkbox {
	color: #555;
	margin: 20px auto;
}

.zml-alert-checkbox input, .zml-alert-checkbox span {
	vertical-align: middle;
}

.zml-alert-validationerror {
	background-color: #f1f1f1;
	margin: 0 -20px;
	overflow: hidden;
	padding: 10px;
	color: #797979;
	font-size: 16px;
	font-weight: 300;
	display: none;
}

.zml-alert-validationerror::before {
	content: "!";
	display: inline-block;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background-color: #ea7d7d;
	color: white;
	line-height: 24px;
	text-align: center;
	margin-right: 10px;
}

@-webkit-keyframes showZmlAlert {
	0% {
		-webkit-transform: scale(0.7);
		transform: scale(0.7);
	}
	45% {
		-webkit-transform: scale(1.05);
		transform: scale(1.05);
	}
	80% {
		-webkit-transform: scale(0.95);
		transform: scale(0.95);
	}
	100% {
		-webkit-transform: scale(1);
		transform: scale(1);
	}
}

@keyframes showZmlAlert {
	0% {
		-webkit-transform: scale(0.7);
		transform: scale(0.7);
	}
	45% {
		-webkit-transform: scale(1.05);
		transform: scale(1.05);
	}
	80% {
		-webkit-transform: scale(0.95);
		transform: scale(0.95);
	}
	100% {
		-webkit-transform: scale(1);
		transform: scale(1);
	}
}

@-webkit-keyframes hideZmlAlert {
	0% {
		-webkit-transform: scale(1);
		transform: scale(1);
		opacity: 1;
	}
	100% {
		-webkit-transform: scale(0.5);
		transform: scale(0.5);
		opacity: 0;
	}
}

@keyframes hideZmlAlert {
	0% {
		-webkit-transform: scale(1);
		transform: scale(1);
		opacity: 1;
	}
	100% {
		-webkit-transform: scale(0.5);
		transform: scale(0.5);
		opacity: 0;
	}
}

.zml-alert-show {
	-webkit-animation: showZmlAlert 0.3s;
	animation: showZmlAlert 0.3s;
}

.zml-alert-show.no-animation {
	-webkit-animation: none;
	animation: none;
}

.zml-alert-hidet {
	-webkit-animation: hideZmlAlert 0.15s;
	animation: hideZmlAlert 0.15s;
}

.zml-alert-hidet.no-animation {
	-webkit-animation: none;
	animation: none;
}

@-webkit-keyframes animate-success-tip {
	0% {
		width: 0;
		left: 1px;
		top: 19px;
	}
	54% {
		width: 0;
		left: 1px;
		top: 19px;
	}
	70% {
		width: 50px;
		left: -8px;
		top: 37px;
	}
	84% {
		width: 17px;
		left: 21px;
		top: 48px;
	}
	100% {
		width: 25px;
		left: 14px;
		top: 45px;
	}
}

@keyframes animate-success-tip {
	0% {
		width: 0;
		left: 1px;
		top: 19px;
	}
	54% {
		width: 0;
		left: 1px;
		top: 19px;
	}
	70% {
		width: 50px;
		left: -8px;
		top: 37px;
	}
	84% {
		width: 17px;
		left: 21px;
		top: 48px;
	}
	100% {
		width: 25px;
		left: 14px;
		top: 45px;
	}
}

@-webkit-keyframes animate-success-long {
	0% {
		width: 0;
		right: 46px;
		top: 54px;
	}
	65% {
		width: 0;
		right: 46px;
		top: 54px;
	}
	84% {
		width: 55px;
		right: 0;
		top: 35px;
	}
	100% {
		width: 47px;
		right: 8px;
		top: 38px;
	}
}

@keyframes animate-success-long {
	0% {
		width: 0;
		right: 46px;
		top: 54px;
	}
	65% {
		width: 0;
		right: 46px;
		top: 54px;
	}
	84% {
		width: 55px;
		right: 0;
		top: 35px;
	}
	100% {
		width: 47px;
		right: 8px;
		top: 38px;
	}
}

@-webkit-keyframes rotatePlaceholder {
	0% {
		-webkit-transform: rotate(-45deg);
		transform: rotate(-45deg);
	}
	5% {
		-webkit-transform: rotate(-45deg);
		transform: rotate(-45deg);
	}
	12% {
		-webkit-transform: rotate(-405deg);
		transform: rotate(-405deg);
	}
	100% {
		-webkit-transform: rotate(-405deg);
		transform: rotate(-405deg);
	}
}

@keyframes rotatePlaceholder {
	0% {
		-webkit-transform: rotate(-45deg);
		transform: rotate(-45deg);
	}
	5% {
		-webkit-transform: rotate(-45deg);
		transform: rotate(-45deg);
	}
	12% {
		-webkit-transform: rotate(-405deg);
		transform: rotate(-405deg);
	}
	100% {
		-webkit-transform: rotate(-405deg);
		transform: rotate(-405deg);
	}
}

.animate-success-tip {
	-webkit-animation: animate-success-tip 0.75s;
	animation: animate-success-tip 0.75s;
}

.animate-success-long {
	-webkit-animation: animate-success-long 0.75s;
	animation: animate-success-long 0.75s;
}

.zml-alert-icon.zml-alert-success.animate::after {
	-webkit-animation: rotatePlaceholder 4.25s ease-in;
	animation: rotatePlaceholder 4.25s ease-in;
}

@-webkit-keyframes animate-error-icon {
	0% {
		-webkit-transform: rotateX(100deg);
		transform: rotateX(100deg);
		opacity: 0;
	}
	100% {
		-webkit-transform: rotateX(0deg);
		transform: rotateX(0deg);
		opacity: 1;
	}
}

@keyframes animate-error-icon {
	0% {
		-webkit-transform: rotateX(100deg);
		transform: rotateX(100deg);
		opacity: 0;
	}
	100% {
		-webkit-transform: rotateX(0deg);
		transform: rotateX(0deg);
		opacity: 1;
	}
}

.animate-error-icon {
	-webkit-animation: animate-error-icon 0.5s;
	animation: animate-error-icon 0.5s;
}

@-webkit-keyframes animate-x-mark {
	0% {
		-webkit-transform: scale(0.4);
		transform: scale(0.4);
		margin-top: 26px;
		opacity: 0;
	}
	50% {
		-webkit-transform: scale(0.4);
		transform: scale(0.4);
		margin-top: 26px;
		opacity: 0;
	}
	80% {
		-webkit-transform: scale(1.15);
		transform: scale(1.15);
		margin-top: -6px;
	}
	100% {
		-webkit-transform: scale(1);
		transform: scale(1);
		margin-top: 0;
		opacity: 1;
	}
}

@keyframes animate-x-mark {
	0% {
		-webkit-transform: scale(0.4);
		transform: scale(0.4);
		margin-top: 26px;
		opacity: 0;
	}
	50% {
		-webkit-transform: scale(0.4);
		transform: scale(0.4);
		margin-top: 26px;
		opacity: 0;
	}
	80% {
		-webkit-transform: scale(1.15);
		transform: scale(1.15);
		margin-top: -6px;
	}
	100% {
		-webkit-transform: scale(1);
		transform: scale(1);
		margin-top: 0;
		opacity: 1;
	}
}

.animate-x-mark {
	-webkit-animation: animate-x-mark 0.5s;
	animation: animate-x-mark 0.5s;
}

@-webkit-keyframes pulse-warning {
	0% {
		border-color: #f8d486;
	}
	100% {
		border-color: #f8bb86;
	}
}

@keyframes pulse-warning {
	0% {
		border-color: #f8d486;
	}
	100% {
		border-color: #f8bb86;
	}
}

.pulse-warning {
	-webkit-animation: pulse-warning 0.75s infinite alternate;
	animation: pulse-warning 0.75s infinite alternate;
}

@-webkit-keyframes rotate-loading {
	0% {
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg);
	}
	100% {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

@keyframes rotate-loading {
	0% {
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg);
	}
	100% {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}
