#system-message-container
{
	display: none;
}

#modal-messages .messages-hide
{
	display: none;
}

#messages-overlay
{
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	background-color: #000000;
    filter: progid:DXImageTransform.Microsoft.Alpha(opacity=60);
    opacity: 0.6;
}

/* Classic theme */

#modal-messages.classic
{
	position: fixed;
	text-align: center;
	width: 500px;
	height: auto;
	overflow: hidden;
	margin: 0;
	left: 0;
	top: 0;
	z-index: 1000;
	background: #353434;
    border-radius: 30px 30px 30px 30px;
    padding: 20px;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
}

#modal-messages.classic #messages-header
{
	height: 35px;
	width: 100%;
	background: #b6b738;
	border-top-left-radius: 20px;
	border-top-right-radius: 20px;
    display: block;
    color: #ffffff;
    text-align: left;
    line-height: 35px;
    font-size: 125%;
    margin: 0;
}

#modal-messages.classic #messages-header #messages-title
{
    float: left;
    margin-left: 15px;
    font-weight: bold;
}

#modal-messages.classic #messages-header #messages-close
{
    float: right;
    margin-right: 15px;
    margin-top: 7px;
}

#modal-messages.classic #messages-header #messages-close img
{
	display: block;
}

#modal-messages.classic #messages-main
{
	background: #ededed;
    height: auto;
    width: 100%;
    display: block;
    color: #717171;
    font-size: 125%;
    text-align: justify;
    min-height: 100px;    
}

#modal-messages.classic #messages-main p
{
	margin: 0;
    padding: 15px;
    text-align: justify;
    font-size: 85%;
    line-height: 125%;
}

#modal-messages.classic #messages-main span
{
	display: block;
	margin-bottom: 10px;
}

#modal-messages.classic #messages-main span.messages-error
{
	color: #E08021;
}

#modal-messages.classic #messages-main span.messages-notice
{
	color: #717171;
}

#modal-messages.classic #messages-footer
{
	clear: left;
	display: block;
	width: auto;
	height: 35px;
	background: #60605f;
	color: #f9fea6;
	border-bottom-left-radius: 20px;
	border-bottom-right-radius: 20px;
	line-height: 35px;
    padding-right: 15px;
    font-size: 85%;
    text-align: right;
}

#modal-messages.classic #messages-footer a
{
	color: #f9fea6;
	border-bottom: 1px dotted #f9fea6;
}

#modal-messages.classic #messages-header.error
{
    background: #E08021;
}

/* Modern theme */

#modal-messages.modern
{
	position: fixed;
	text-align: center;
	width: 500px;
	height: auto;
	overflow: hidden;
	margin: 0;
	left: 0;
	top: 0;
	z-index: 1000;
	background: #ffffff;
	border: 1px solid rgba(0, 0, 0, 0.07);
    padding: 3px;
}

#modal-messages #messages-container
{
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 3px;
}

#modal-messages.modern #messages-header
{
    background-color: #46494f;
    background-image: linear-gradient(to bottom, #4e535a, #404348);
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    color: #ffffff;
	height: 35px;
	width: 100%;
    display: block;
    color: #ffffff;
    text-align: left;
    line-height: 35px;
    font-size: 125%;
    margin: 0;
}

#modal-messages.modern #messages-header.message
{
    background-color: #46494f;
    background-image: linear-gradient(to bottom, #46494f, #404348);
}

#modal-messages.modern #messages-header.notice
{
    background-color: #d28b25;
    background-image: linear-gradient(to bottom, #d28b25, #c57f1b);
}

#modal-messages.modern #messages-header.error
{
    background-color: #c35967;
    background-image: linear-gradient(to bottom, #c35967, #ad3c4b);
}

#modal-messages.modern #messages-header #messages-title
{
    float: left;
    margin-left: 6px;
    font-weight: bold;
}

#modal-messages.modern #messages-header #messages-close
{
    float: right;
    margin-right: 6px;
    margin-top: 6px;
}

#modal-messages.modern #messages-header #messages-close img
{
	display: block;
}

#modal-messages.modern #messages-main
{
	background: #ffffff;
    height: auto;
    width: 100%;
    display: block;
    color: #4f5054;
    font-size: 125%;
    text-align: justify;
    min-height: 100px;    
}

#modal-messages.modern #messages-main p
{
	margin: 0;
    padding: 15px;
    text-align: justify;
    font-size: 85%;
    line-height: 125%;
}

#modal-messages.modern #messages-main span
{
	display: block;
	margin-bottom: 10px;
}

#modal-messages.modern #messages-main span.messages-message
{
	color: #404348;
}

#modal-messages.modern #messages-main span.messages-notice
{
	color: #c57f1b;
}

#modal-messages.modern #messages-main span.messages-error
{
	color: #ad3c4b;
}

#modal-messages.modern #messages-footer
{
	clear: left;
	display: block;
	width: auto;
	height: 35px;
	background: #f7f7f7;
	color: #4f5054;
	line-height: 35px;
    padding-right: 15px;
    font-size: 85%;
    text-align: right;
}

#modal-messages.modern #messages-footer a
{
	border-bottom: 1px dotted #f9fea6;
}

.cell-inner #container .input-selected
{
	padding-left: 20px
	font-size: 85%
	margin-bottom: 0
	line-height: 100%
	margin-top: 30px
	border: none
	border-left-color: #000000;
}