#system-message-container
{
	display: none;
}

#modal-messages
{
	position: absolute;
	text-align: center;
	width: auto;
	height: auto
	left: 0;
	top: 0;
	z-index: 1000;
}

#messages-overlay
{
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	background-color: #000000;
    filter: progid:DXImageTransform.Microsoft.Alpha(opacity=60);
    opacity: 0.6;
}

#modal-messages #smWindow
{
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 490px;
}

#modal-messages .notice
{
    color: #FF0000;
    font-weight: bold;
}

#modal-messages #smWindow #smWindowContentOuter
{
    min-height: 100px;
    width: 450px;
    background: none repeat scroll 0 0 #FFFFFF;
    float: left;
    overflow: hidden;
    position: relative;
    margin-left: 20px;
}

#modal-messages #smWindow #smWindowContentTop
{
    height: 30px;
    overflow: hidden;
}

#modal-messages #smWindow #smwin_close_btn:link,
#modal-messages #smWindow #smwin_close_btn:visited
{
    height: 30px;
    margin: 0;
    outline-style: none;
    position: absolute;
    right: 0;
    text-indent: -9999px;
    top: 0;
    width: 30px;
    z-index: 1000;
}


#modal-messages #smWindow #smwin_logo
{
	float: left;
    height: 30px;
    width: 30px;
    margin: 0 3px 0 3px;
}

#modal-messages #smWindow #smwin_title
{
	float: left;
   color: #FFFFFF;
   font-size: 16px;
   font-weight: bold;
   line-height: 30px;
}

#modal-messages #smWindow.notice #smWindowContentTop
{
    background: none repeat scroll 0 0 #999933;
    border-bottom: 1px solid #666600;
}

#modal-messages #smWindow.notice #smwin_logo
{
	background: url("http://www.spinesport.org/plugins/system/modalmessages/images/sm-buttons.png") no-repeat -30px -60px transparent;
}

#modal-messages #smWindow.notice #smwin_close_btn:link,
#modal-messages #smWindow.notice #smwin_close_btn:visited
{
	background: url("http://www.spinesport.org/plugins/system/modalmessages/images/sm-buttons.png") no-repeat -60px -30px transparent;
}

#modal-messages #smWindow.notice #smwin_close_btn:hover
{
	background: url("http://www.spinesport.org/plugins/system/modalmessages/images/sm-buttons.png") no-repeat -60px 0 transparent;
}

#modal-messages #smWindow.error #smWindowContentTop
{
    background: none repeat scroll 0 0 #993300;
    border-bottom: 1px solid #660000;
}

#modal-messages #smWindow.error #smwin_logo
{
	background: url("http://www.spinesport.org/plugins/system/modalmessages/images/sm-buttons.png") no-repeat 0 -60px transparent;
}

#modal-messages #smWindow.error #smwin_close_btn:link,
#modal-messages #smWindow.error #smwin_close_btn:visited
{
	background: url("http://www.spinesport.org/plugins/system/modalmessages/images/sm-buttons.png") no-repeat -30px -30px transparent;
}

#modal-messages #smWindow.error #smwin_close_btn:hover
{
	background: url("http://www.spinesport.org/plugins/system/modalmessages/images/sm-buttons.png") no-repeat -30px 0 transparent;
}

#modal-messages #smWindow.message #smWindowContentTop
{
    background: none repeat scroll 0 0 #333333;
    border-bottom: 1px solid #000000;
}

#modal-messages #smWindow.message #smwin_logo
{
	background: url("http://www.spinesport.org/plugins/system/modalmessages/images/sm-buttons.png") no-repeat -60px -60px transparent;
}

#modal-messages #smWindow.message #smwin_close_btn:link,
#modal-messages #smWindow.message #smwin_close_btn:visited
{
	background: url("http://www.spinesport.org/plugins/system/modalmessages/images/sm-buttons.png") no-repeat 0 -30px transparent;
}

#modal-messages #smWindow.message #smwin_close_btn:hover
{
	background: url("http://www.spinesport.org/plugins/system/modalmessages/images/sm-buttons.png") no-repeat 0 0 transparent;
}

#modal-messages #smWindow #smWindowContentWrap
{
    height: auto;
    background: none repeat scroll 0 0 #FFFFFF;
    overflow: auto;
    position: relative;
    min-height: 69px;
}

#modal-messages #smWindowContent
{
    min-height: 30px;
    font-size: 12px;
    margin: 0;
    padding: 10px;
    text-align: justify;
}

#modal-messages #smWindow #smwin_mr
{
    background: url("http://www.spinesport.org/plugins/system/modalmessages/images/sm-right.png") repeat-y 100% 0 transparent;
    background-repeat: repeat-y;
}

#modal-messages #smWindow #smwin_tr
{
    background: url("http://www.spinesport.org/plugins/system/modalmessages/images/sm-corners.png") no-repeat -20px 0 transparent;
}

#modal-messages #smWindow #smwin_bl
{
    background: url("http://www.spinesport.org/plugins/system/modalmessages/images/sm-corners.png") no-repeat 0 -20px transparent;
}

#modal-messages #smWindow #smwin_bm
{
    background: url("http://www.spinesport.org/plugins/system/modalmessages/images/sm-bottom.png") repeat-x 0 0 transparent;
}

#modal-messages #smWindow #smwin_br
{
    background: url("http://www.spinesport.org/plugins/system/modalmessages/images/sm-corners.png") no-repeat -20px -20px transparent;
}

#modal-messages #smWindow #smwin_ml,
#modal-messages #smWindow #smwin_mr
{
    height: auto;
    min-height: 100px;
    width: 100%;
}

#modal-messages #smWindow #smwin_ml
{
    background: url("http://www.spinesport.org/plugins/system/modalmessages/images/sm-left.png") repeat-y 0 0 transparent;
    width: 100%;
}

#modal-messages #smWindow #smwin_tm,
#modal-messages #smWindow #smwin_bm
{
    width: 450px;
}

#modal-messages #smWindow #smwin_tm
{
    background: url("http://www.spinesport.org/plugins/system/modalmessages/images/sm-top.png") repeat-x 0 0 transparent;
}

#modal-messages #smWindow #smwin_tl
{
    background: url("http://www.spinesport.org/plugins/system/modalmessages/images/sm-corners.png") no-repeat 0 0 transparent;
}

#modal-messages #smWindow #smwin_tl,
#modal-messages #smWindow #smwin_tr,
#modal-messages #smWindow #smwin_bl,
#modal-messages #smWindow #smwin_br,
#modal-messages #smWindow #smwin_tm,
#modal-messages #smWindow #smwin_bm,
#modal-messages #smWindow #smwin_ml,
#modal-messages #smWindow #smwin_mr
{
    float: left;
}

#modal-messages #smWindow #smwin_tl,
#modal-messages #smWindow #smwin_tr,
#modal-messages #smWindow #smwin_bl,
#modal-messages #smWindow #smwin_br,
#modal-messages #smWindow #smwin_tm,
#modal-messages #smWindow #smwin_bm
{
    height: 20px;
}

#modal-messages #smWindow #smwin_tl,
#modal-messages #smWindow #smwin_tr,
#modal-messages #smWindow #smwin_bl,
#modal-messages #smWindow #smwin_br
{
    width: 20px;
}

#modal-messages #system-message
{
    display: block;
    padding: 0;
    width: 500px;
    max-height: 200px;
	margin-left: auto;
	margin-right: auto;
}

#modal-messages #smWindowContent span
{
	display: block;
	margin-bottom: 10px;
}

#modal-messages #smWindowContent span.sm-error
{
	color: #660000;
}

#modal-messages #smWindowContent span.sm-notice
{
	color: #666600;
}