/* ------------------------------------------------------------------------------------------------------------------------------------------ Generic box model fix --- */
* {-moz-box-sizing:border-box;box-sizing:border-box;-webkit-box-sizing:border-box;outline:0px}

/* ------------------------------------------------------------------------------------------------------------------------------------------ Dialog fader div --- */
DIV.dialog_fader { 
	height:100%;
	width:100%;	 
	position:fixed; 
	z-index:99998; 
	background:url(images/win_fade_bg.png) repeat; 
	left:0px;
	top:0px; 
} 
/* ------------------------------------------------------------------------------------------------------------------------------------------ Windows --- */
DIV.lib_window_container {
	position:fixed;	
	z-index:99999;
	border-left:1px solid #cccccc;
	border-top:1px solid #cccccc;
	border-bottom:1px solid #666666;
	border-right:1px solid #666666;
	filter:progid:DXImageTransform.Microsoft.Shadow(color='#888888',Direction=135,Strength=3);
	-webkit-border-radius: 6px 6px; 
	-moz-border-radius: 6px;
	-webkit-box-shadow: 4px 4px 6px rgba(0,0,0,0.6);
	-moz-box-shadow: 0.4em 0.4em 1em #888;
}

DIV.lib_window_caption { 
	width:100%;
	height:30px;
	background-color:blue;
	padding-top:5px;
	padding-left:5px;
	color:#FFFFFF;
	background-image:url(images/win_caption_bg.gif);
	filter:alpha(opacity=80);opacity:.80;
	-moz-border-radius-topleft:6px;
	-webkit-border-top-left-radius:6px;
	-moz-border-radius-topright:6px;
	-webkit-border-top-right-radius:6px;
}

DIV.lib_window_caption_title {
	float:left;
	padding-top:3px;
	color:#ffffff;
	font:bold 13px verdana,arial;
}

DIV.lib_window_close, DIV#alertBox #closeBtn {
	float:right;
	background-image:url(images/win_btn_close.gif);
	margin-right:3px;
	height:21px;
	width:21px;
	cursor:pointer;
}

DIV.lib_window_caption A, DIV.lib_window_caption A:link, DIV.lib_window_caption A:visited, DIV.lib_window_caption A:hover, DIV.lib_window_caption A:active {
	float:right;
	width:30px;
}

a:hover DIV.lib_window_close, a:hover  DIV#alertBox #closeBtn  {
	background-image:url(images/win_btn_close_hover.gif);
}

/* ------------------------------------------------------------------------------------------------------------------------------------------ Alert dialoog --- */

DIV#modalContainer {
	background-color:transparent;
	position:absolute;
	width:100%;
	height:100%;
	top:0px;
	left:0px;
	z-index:10000;
}

DIV#alertBox {
	z-index:99999;
	position:fixed;
	padding-bottom:15px;
	width:450px;
	min-height:100px;
	height:auto !important;
	height:60px;
	background:url() #F2F5F6 no-repeat 12px 46px;

	border-left:0px solid #cccccc;
	border-top:0px solid #cccccc;
	border-bottom:1px solid #666666;
	border-right:1px solid #666666;
	filter:progid:DXImageTransform.Microsoft.Shadow(color='#888888',Direction=135,Strength=3);
	-webkit-border-radius: 6px 6px; 
	-moz-border-radius: 6px;
	-webkit-box-shadow: 4px 4px 6px rgba(0,0,0,0.6);
	-moz-box-shadow: 0.4em 0.4em 1em #888;
}

DIV#alertBox p { color:#003366 }
DIV#alertBox p strong { color:#000000; font-weight:bold }

DIV#alertBox.warning {
	background-image:url(images/dialog-warning.png);
}
DIV#alertBox.error {
	background-image:url(images/dialog-error.png);
}
DIV#alertBox.info {
	background-image:url(images/dialog-info.png);
}

DIV#modalContainer > DIV#alertBox {
	position:fixed;
}

DIV#alertBox p {
	font:12px verdana,arial;
	min-height:50px;
	height:auto;
	width:auto;
	padding-left:5px;
	padding-right:15px;
	margin-left:50px;
}

DIV#alertbox DIV#buttons {
	text-align:center;
	width:100%;
}

DIV#alertBox DIV#buttons a { min-width:70px;width:auto;text-decoration:none;text-align:button }

DIV#alertBox a div.button, DIV#alertBox a:active div.button, DIV#alertBox a:link div.button, DIV#alertBox a:visited div.button {
	display:block;
	position:relative;
	margin:5px auto;
	width:70px;
	font:bold 10px verdana,arial;
	text-transform:uppercase;
	text-decoration:none;
	text-align:center;
	cursor:pointer;
	
	padding:5px 8px 4px 8px;
	height:22px;
	max-width:120px;
	background-image:url(images/button_bg_inactive.gif);
	border-top:1px solid #D8DFEA;
	border-left:1px solid #D8DFEA;
	border-bottom:1px solid #8B9FBF;
	border-right:1px solid #8B9FBF;
	color: #0079c2;
}

/* ie does not show this hover */
DIV#alertBox a:hover div.button, DIV#alertBox a:hover div.button {
	color:darkblue;
	padding:5px 7px 4px 9px;
	border-top:1px solid #8B9FBF;
	border-left:1px solid #8B9FBF;
	background-image:url(images/button_bg_hover.gif);
}