/*
 Copyright notice

 Copyright (c) 2012-2017 Sebastian F. Mazza <sebastian@mazza.at>
 All rights reserved.

 This file is part of MMC.
*/
/* 
    Created on : Jan 29, 2018, 3:06:10 PM
    Author     : sebastian
*/

.mmc-success {
	color: hsl(89, 38%, 30%); /* #d6e9c6; */
}

.color-warning {
	/*
	background-color: hsl(36, 80%, 57%);
	border-color: hsl(36, 80%, 40%);
	*/
	color: hsl(36, 100%, 47%);
}

.color-error {
	color: hsl(3, 57%, 35%);
}

.mmc-messages {
	padding:0px;
	margin:0px;

	box-sizing: border-box;
}
.mmc-messages *, .mmc-messages *:before, .mmc-messages *:after {
  box-sizing: inherit;
}

.mmc-messages {
	margin-bottom: 2em;
}

.mmc-messages > * {
	position: relative;
	min-height: 3.7em;
	padding: 0.7em 2em 0.7em 3.9em;
	margin-bottom: 0.8em;
	text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
	background-color: #fcf8e3;
	border: 1px solid #fbeed5;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}

/* move margines of first an last children (required for TYPO3 content elements) */
.mmc-messages > * > P:first-child,
.mmc-messages > * > H1:first-child,
.mmc-messages > * > H2:first-child,
.mmc-messages > * > H3:first-child,
.mmc-messages > * > H4:first-child,
.mmc-messages > * > H5:first-child,
.mmc-messages > * > H6:first-child {
	margin-top: 0;
}
.mmc-messages > * > P:last-child,
.mmc-messages > * > H1:last-child,
.mmc-messages > * > H2:last-child,
.mmc-messages > * > H3:last-child,
.mmc-messages > * > H4:last-child,
.mmc-messages > * > H5:last-child,
.mmc-messages > * > H6:last-child {
	margin-bottom: 0;
}


.mmc-messages > *,
.mmc-messages > * h4,
.mmc-messages > * A {
	/* color: #c09853; */
	color:#FFF;
}

/* icon */
.mmc-messages > *:after {
	content: "\f087";
	font-family: FontAwesome;
	font-style: normal;
	font-weight: normal;
	text-decoration: inherit;
	text-shadow: none;
	position: absolute;
	/*font-size: 400px;
	color: lightblue;
	top: 50%;
	left: 50%;
	margin: -300px 0 0 -200px;
	z-index: 1;*/
	
	top: 0.8em;
	left: 0.9em;
	
	display: block;
	width: 2em;
	height: 2em;
	border-radius: 1em;
	background-color: rgba(255, 255, 255, 0.3);
	
	padding-top: 0.4em;
	padding-left: 0.6em;
}

.mmc-messages > *.alert-success {
	background-color: hsl(89, 38%, 46%); /*#dff0d8;*/
	border-color: hsl(89, 38%, 30%); /* #d6e9c6; */
	/* color: #468847; */
}
.mmc-messages > *.alert-success:after {
	content: "\f00c";
	padding-top: 0.4em;
	padding-left: 0.5em;
}
.mmc-messages > *.alert-success h4 {
	/* color: #468847; */
}

.mmc-messages > *.alert-warning {
	background-color: hsl(36, 80%, 57%);
	border-color: hsl(36, 80%, 40%);
	/* color: #468847; */
}
.mmc-messages > *.alert-warning:after {
	content: "\f12a";
	padding-top: 0.4em;
	padding-left: 0.85em;
}
.mmc-messages > *.alert-warning h4 {
	/* color: #468847; */
}

.mmc-messages > *.alert-error {
	background-color: hsl(3, 57%, 51%); /* #f2dede; */
	border-color: hsl(3, 57%, 35%); /*#eed3d7;*/
	/* color: #b94a48; */
}
.mmc-messages > *.alert-error:after {
	content: "\f00d";
	padding-top: 0.4em;
	padding-left: 0.6em;
}
.mmc-messages > *.alert-error h4 {
	/* color: #b94a48; */
}

/*
.alert-info {
  background-color: #d9edf7;
  border-color: #bce8f1;
  color: #3a87ad;
}
.alert-info h4 {
  color: #3a87ad;
}
*/


/*
.alert-block {
	padding-top: 14px;
	padding-bottom: 14px;
}
.alert-block > p,
.alert-block > ul {
	margin-bottom: 0;
}
.alert-block p + p {
	margin-top: 5px;
}
*/