/*
*  CSS Alerts
*/

@import "variables.less";

.css-alert {
    margin-top: 15px;
	margin-bottom: 15px;
    padding: 10px;
    background: #ebf7fd;
    color: #2d7091;
    border: 1px solid rgba(45,112,145,.3);
    border-radius: 4px;
    text-shadow: 0 1px 0 #fff;
	overflow: hidden;
}
.css-alert.alert-success {
    background: #f2fae3;
    color: #659f13;
    border-color: rgba(101,159,19,.3);
}
.css-alert.alert-warning {
    background: #fffceb;
    color: #e28327;
    border-color: rgba(226,131,39,.3);
}
.css-alert.alert-danger {
    background: #fff1f0;
    color: #d85030;
    border-color: rgba(216,80,48,.3);
}
.css-close-button {
    margin: 0;
    border: none;
    overflow: visible;
    font-family: Arial, Helvetica, sans-serif;
	text-decoration: none;
	font-size: 20px;
	font-weight: bold;
    color: inherit;
    text-transform: none;
    padding: 0;
    display: inline-block;
    box-sizing: content-box;
    width: 20px;
    line-height: 20px;
    text-align: center;
    vertical-align: middle;
    opacity: .3;
	cursor: pointer;
}
.css-close-button:hover {
	opacity: .6;
}
.css-close-button::after {
    content: "x";
}
.css-alert > .css-close-button:first-child {
    float: right;
}
.css-alert > :last-child {
    margin-bottom: 0;
}
.css-alert > .css-close-button + * {
    margin-top: 0;
}
.css-alert:target {
	visibility: hidden;
	opacity: 0;
	max-height: 0;
	margin: 0;
	padding: 0;
	transition: visibility 0s .5s, max-height 0.5s ease-out, margin 0.5s ease-out, padding 0.5s ease-out, opacity .5s linear;
}