/* ------------------------------------------------------------------------------------------------------------------------------------------ Generic box model fix --- */
* {-moz-box-sizing:border-box;box-sizing:border-box;-webkit-box-sizing:border-box;outline:0px}

/* ------------------------------------------------------------------------------------------------------------------------------------------ Misc generic definitions used in the library --- */
.required  { color:red }
.forgotten { border:1px solid red }
/* does not work under IE */
input[type=text]:focus,input[type=password]:focus,select:focus,textarea:focus { background-color:#efefef }

/* --------------------------------------------------------------------------------------------------------------------------------------------------------------- */
IMG.sort_icon {width:14px; height:15px; margin-right:8px}
SPAN.sort_text {}

/* ------------------------------------------------------------------------------------------------------------------------------------------ Dialog fader div --- */
DIV.dialog_fader { 
	height:100%;
	width:100%;	 
	position:fixed; 
	z-index:99998; 
	background:url(images/win_fade_bg_lighter.png) repeat; 
	left:0px;
	top:0px; 
} 
/* ------------------------------------------------------------------------------------------------------------------------------------------ Windows --- */
DIV.lib_window_container {
	-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:6px;
	padding-left:5px;
	color:#fff;
	background-image:url(images/win_caption_bg.gif);
	filter:alpha(opacity=80);opacity:.80;
	-moz-border-radius-topleft:10px;
	-webkit-border-top-left-radius:10px;
	-moz-border-radius-topright:10px;
	-webkit-border-top-right-radius:10px;
}

DIV.lib_window_caption_title {
	float:left;
	padding-top:3px;
	padding-left:6px;
	color:#fff;
	font:bold 13px verdana,arial;
}

DIV.lib_window_close {
	float:right;
	background-image:url(images/win_btn_close.gif);
	margin-right:6px;
	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 {
	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;
	min-height:100px;
	height:auto !important;
	height:60px;
}

DIV#lib_window_dialog {
	width:450px;
	border-left:0px solid #cccccc;
	border-top:0px solid #cccccc;
	border-bottom:1px solid #666666;
	border-right:1px solid #666666;
	background:url() #F2F5F6 no-repeat 10px 46px;
	-webkit-border-radius: 10px 10px; 
	-moz-border-radius: 10px;
	-webkit-box-shadow: 4px 4px 6px rgba(0,0,0,0.6);
	-moz-box-shadow: 0.4em 0.4em 1em #888;
}

DIV#lib_window_dialog.warning {
	background-image:url(images/dialog-warning.png);
}
DIV#lib_window_dialog.error {
	background-image:url(images/dialog-error.png);
}
DIV#lib_window_dialog.info {
	background-image:url(images/dialog-info.png);   
}

DIV#lib_window_dialog.form {
	background-image:url(images/dialog-form.png);   
}

DIV#modalContainer > DIV#alertBox {
	position:fixed;
}

DIV#alertBox p {
	color:#003366;
	font:12px verdana,arial;
	font-variant:normal;
	min-height:40px;
	height:auto;
	width:auto;
	padding-right:15px;
	margin-left:60px;
	margin-top:15px;
	text-align:left;
}
DIV#alertBox p strong { color:#000; font-weight:bold }

DIV#alertbox DIV.buttonbar { text-align:center; width:100%; margin-bottom:12px }
DIV#alertBox DIV.buttonbar a { min-width:70px;width:auto;text-decoration:none;text-align:center }
DIV#alertBox DIV.buttonbar a.button {
	display:block;
	position:relative;
	margin:5px auto;
	width:70px;
	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;
}
DIV#alertBox DIV.buttonbar a.button DIV {
	font:bold 10px verdana,arial;
	font-variant:normal;
	color: #0079c2;
}

/* ie does not show this hover */
DIV#alertBox DIV.buttonbar a:hover.button {
	color:#00008B;
	padding:5px 7px 4px 9px;
	border-top:1px solid #8B9FBF;
	border-left:1px solid #8B9FBF;
	background-image:url(images/button_bg_hover.gif);
}
