/* UI ALERTS and panels */

.panel
{
	padding: .8em;
	margin-top: 10px;
}
.panel::after
{
	content: "&nbsp;";
	display: block;
	height: 0px;
	clear: both;
	visibility: hidden;
}

.panel .panel-content
{
	width: 85%; /* fallback if needed */
	/* 1.25 is the ratio for width of font awesome icons height */
	width: calc(100% - (32px * 1.25) - 10px );
	text-align: left;
}

.panel .panel-icon
{
	font-size: 32px;
	margin-right: 10px;
}

.panel .panel-icon,
.panel .panel-content
{
	float: left;
}

/* warn/alert */
.panel.warn
{
	background-color: #EED55D;
}
.panel.warn .panel-icon
{
	color: #A71C46;
}
/* info */
.panel.info, .panel.question
{
	background-color: #EDEFF5;
}
.panel.info .panel-icon
{
	color: ##2A3A64;
}
/* Note */
.panel.note
{
	background-color: #BAD997;
}
.panel.note .panel-icon
{
	color: #474C4E;
}

.ui-alert
{
	margin: 10px;
	padding: 8px;
	color: black;
	border: 2px solid black;
	min-height: 2em;
	-moz-border-radius: 3px;
	border-radius: 3px;
	border: 1px solid #FF622D;
}

.panel table,
.panel table th,
.panel table td,
.ui-alert table,
.ui-alert table th,
.ui-alert table td
{
	width: auto;
	border-collapse: collapse;
	border: none;
	background-color: transparent;
	color: black;
}

.ui-alert-info,
.ui-alert-error,
.ui-alert-warning
{
	padding: 5px 5px 5px 46px;
	background-position: 10px;
	background-repeat: no-repeat;
}

.ui-alert-info
{
	background-color: #e5edcf;
	background-image: url(images/i.png);
	border-color: #aaa;
}

.ui-alert-error,
.ui-alert-warning
{
	background-color: #e5edcf;
	background-image: url(images/exclaim.png);
	border-color: #828587;
	font-weight: bold;
}

.ui-alert-note,
.ui-alert-note-sm
{
	padding: 5px;
	font-size: 0.9em;
	background-color: #eee;
	border-color: #828587;
}

.ui-alert-note-sm
{
	width: auto;
	font-style: italic;
}

.ui-alert-message
{
	padding: 5px;
	font-size: 0.9em;
	background-color: #eee;
	border-color: #999;
	width: auto;
	font-style: italic;
}