@charset "utf-8";
/* CSS Document */

.alert {
	position: relative;
	width: 100%;
	max-width: 600px;
	margin: 20px auto;
	color: #fff;
	overflow: hidden;
	font: 13px/16px Verdana, Geneva, sans-serif;
	box-shadow: 1px 1px 2px rgba(0,0,0,.4);
	border-radius: 10px;
}

.alert-inner {
	position: relative;
}

.closeable .alert-inner {
	width: calc(100% - 32px);
	float: left;
}

.alert-message {
	padding: 15px 10px 15px 64px;
	min-height: 36px;
}

.alert-message:before{
	position: absolute;
	background: none;
	top: 10px;
	left: 10px;
	width: 48px;
	height: 48px;
	display: block;
	content: '';
	background-size: 48px;
}

a.alert-close {
	position: absolute;
	display: block;
	margin: 0;
	width: 32px;
	right: 0;
	top: 0;
	bottom: 0;
	text-decoration: none;
}

a.alert-close:after {
	position: absolute;
	top: calc(50% - 8px);
	right: calc(50% - 3px);
	width: 6px;
	height: 16px;
	display: block;
	background: #666;
	content: '';
	border-radius: 2px;
	transform: rotate(45deg);
}
a.alert-close:before {
	position: absolute;
	top: calc(50% - 8px);
	right: calc(50% - 3px);
	width: 6px;
	height: 16px;
	display: block;
	background: #666;
	content: '';
	border-radius: 2px;
	transform: rotate(135deg);
}



.alert h2 { font-weight: bold !important; font-size: 14px; }
.alert p { line-height: 1.2; margin-top: .5em; }

.alert.caution { background: #ea8e00; color: #000; }
	.alert.caution a.alert-close:after, .alert.caution a.alert-close:before { background: #111; }
	.alert.caution .alert-inner { background: #efa700; }
	.alert.caution .alert-message:before { background-image: url("../icons/led-23.png"); }
	.alert.success .alert-message > p { color: #000; }

.alert.success { background: #2f4728; color: #FFF; }
	.alert.success a.alert-close:after, .alert.success a.alert-close:before { background: #FFF; }
	.alert.success .alert-inner { background: #4c7141; }
	.alert.success .alert-message:before { background-image: url("../icons/led-21.png"); }
	.alert.success .alert-message > p { color: #FFF; }

.alert.error { background: #530901; color: #FFF; }
	.alert.error a.alert-close:after, .alert.error a.alert-close:before { background: #FFF; }
	.alert.error .alert-inner { background: #732e03; }
	.alert.error .alert-message:before { background-image: url("../icons/led-22.png"); }
	.alert.error .alert-message > p { color: #FFF; }

.alert.info { background: #00496a; color: #FFF; }
	.alert.info a.alert-close:after, .alert.info a.alert-close:before { background: #FFF; }
	.alert.info .alert-inner { background: #0074a9; }
	.alert.info .alert-message:before { background-image: url("../icons/led-20.png"); }
	.alert.info .alert-message > p { color: #FFF; }

a.alert-close:hover:after, a.alert-close:hover:before {
	top: calc(50% - 10px);
	right: calc(50% - 4px);
	width: 8px;
	height: 20px;
	border-radius: 3px;
}
