@import url("/static/layui/css/layui.css");
.shadow{
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: #555;
	opacity: 0.5;
	filter:alpha(opacity=50);
}
.layout{
	position: fixed;
	top: 50%;
	left: 50%;
	margin: -125px 0 0 -150px;
	width: 300px;
	height: 250px;
	border-radius: 8px;
	background-color: #fff;
	text-align: center;
}
.layout p{
	margin: 15px auto;
	width: 250px;
	height: 50px;
	line-height: 25px;
	color: #333;
	overflow: hidden;
}
.layout a{
	display: block;
	margin: 0 auto;
	padding: 0;
	width: 80px;
	height: 35px;
	border: 0 none;
	border-radius: 5px;
	background-color: #1ae;
	line-height: 35px;
	color: #fff;
}
.success a{
	background-color: #6c3;
}
.error a{
	background-color: #f65;
}
.layout ul{
	position: relative;
	margin: 20px auto 5px;
	width: 80px;
	height: 80px;
	border-radius: 48px;
	border: 4px solid #1ae;
}
.success ul{
	border-color: #6c3;
}
.error ul{
	border-color: #f65;
}
.layout li{
	position: absolute;
	border-radius: 10px;
}
.message li {
	top: 60px;
	left: 36px;
	width: 8px;
	height: 8px;
	background-color: #1ae;
	-webkit-animation: message_last 0.5s;
	animation: message_last 0.5s;
}
.message li:first-child{
	top: 15px;
	left: 35px;
	width: 4px;
	height: 2px;
    border-top: 40px solid #1ae;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
	background-color: transparent;
	-webkit-animation: message_first 0.5s;
	animation: message_first 0.5s;
}
.success li{
	bottom: 18px;
	left: 32px;
	right: 0;
	height: 5px;
	background-color: #6c3;
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
	-webkit-transform-origin: 0 50%;
	transform-origin: 0 50%;
	-webkit-animation: success_last 0.5s;
	animation: success_last 0.5s;
}
.success li:first-child{
	bottom: 38px;
	left: 16px;
	right: 36px;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
	-webkit-animation: success_first 0.5s;
	animation: success_first 0.5s;
}
.error li{
	top: 20px;
	left: 22px;
	right: 8px;
	height: 5px;
	background-color: #f65;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
	-webkit-transform-origin: 0 50%;
	transform-origin: 0 50%;
	-webkit-animation: error_last 0.5s;
	animation: error_last 0.5s;
}
.error li:first-child{
	top: 20px;
	left: 8px;
	right: 22px;
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
	-webkit-transform-origin: 100% 50%;
	transform-origin: 100% 50%;
	-webkit-animation: error_first 0.5s;
	animation: error_first 0.5s;
}
@-webkit-keyframes message_first{
	0% {border-top-width:0;}
	70% {border-top-width:40px;}
	100% {border-top-width:40px;}
}
@keyframes message_first{
	0% {border-top-width:0;}
	70% {border-top-width:40px;}
	100% {border-top-width:40px;}
}
@-webkit-keyframes message_last{
	0% {transform:scale(0,0);}
	70% {transform:scale(0,0);}
	100% {transform:scale(1,1);}
}
@keyframes message_last{
	0% {transform:scale(0,0);}
	70% {transform:scale(0,0);}
	100% {transform:scale(1,1);}
}
@-webkit-keyframes success_first{
	0% {right:64px;}
	50% {right:36px;}
	100% {right:36px;}
}
@keyframes success_first{
	0% {right:64px;}
	50% {right:36px;}
	100% {right:36px;}
}
@-webkit-keyframes success_last{
	0% {right:58px;}
	50% {right:58px;}
	100% {right:0;}
}
@keyframes success_last{
	0% {right:58px;}
	50% {right:58px;}
	100% {right:0;}
}
@-webkit-keyframes error_first{
	0% {left:58px;}
	60% {left:8px;}
	100% {left:8px;}
}
@keyframes error_first{
	0% {left:58px;}
	60% {left:8px;}
	100% {left:8px;}
}
@-webkit-keyframes error_last{
	0% {right:58px;}
	60% {right:58px;}
	100% {right:8px;}
}
@keyframes error_last{
	0% {right:58px;}
	60% {right:58px;}
	100% {right:8px;}
}
