/* ver 1.2.2.50 modified for safed */
/* ver 1.2.3.22 modified for IE11 */
BODY {
	font-family:Verdana, Arial, Helvetica, Helv;font-size:0.8em;
	margin:5px;
	width:95%;
}
.edit TABLE {
	vertical-align:top;text-align:left;
	border:none;
	padding:0px;
	empty-cells:show;
}
.edit TR, .edit TD,.edit TH, .edit LI {
	font-size:0.9em;
	vertical-align:top;text-align:left;
	border-bottom: none;border-left:none;border-top:none;
	padding:0px;padding-left:2px;padding-right:2px;
}
.edit TH 	{
	background-color: #f5f5f5;/*white-space:nowrap;*/}

/* column formatting*/
.edit TH DIV.Text {
	width:300px;}
.edit P {
	margin-top:5px;margin-bottom:2px;
}

/* Context table ---------------------------------- */

/* Table Edit functions ---------------------------------- */

TABLE.ctxt  {margin: 5px 0 5px 0;}
.ctxt TD {
	margin: 2px 0 2px 0;
	padding: 1px 0px 2px 4px; 
	background-color: #f5f5f5;
	border:none;vertical-align:top;padding-right:4px;
}

/* cmd buttons */
input.edit {
	text-transform: uppercase;
	font-size: 75%;
	padding: 0;
	font-family: verdana, sans-serif;
	width: 40px; 
	border: 1px solid #aaf; 
	background: #ddf; }
input.addnew {
	text-transform: uppercase;
	font-size: 75%;
	padding: 0;
	font-family: verdana, sans-serif;
	width: 40px;
	border: 1px solid #aaf;
	background: #ffffcc; }

/* submit / cancel buttons */
input.save {
	text-transform: uppercase;
	font-size: 75%;
	padding: 0;
	margin-top: 5px; margin-bottom: 5px;
	font-family: verdana, sans-serif;
	width: 55px; 
	border: 1px solid #aaf; 
	background: #ddf; }
input.saverow {
	text-transform: uppercase;
	font-size: 75%;
	padding: 0;
	margin-top: 5px; margin-bottom: 5px;
	font-family: verdana, sans-serif;
	border: 1px solid #aaf; 
	background: #ddf; }
input.cancel {
	text-transform: uppercase;
	font-size: 75%;
	padding: 0;
	margin-top: 5px; margin-bottom: 5px;
	font-family: verdana, sans-serif;
	width: 55px; 
	border: 1px solid #aaf; 
	background: #ddf; 
	margin-left: 3px; }
input.del {
	text-transform: uppercase;
	font-size: 75%;
	padding: 0;
	margin-left: 90px; margin-top: 5px; margin-bottom: 5px; margin-right:5px;
	font-family: verdana, sans-serif;
	border: 1px solid #faa; 
	background: #fdd;
	color: black; 	}

IFRAME {border: 1px solid #aaa;border-width: 1px 0 0 1px;background: white;}

/* fields in edit block */
textarea {font-size:100%;}
input.editable, 
select.editable, 
textarea.editable,
input.noteditable,
textarea.noteditable {
	font-family: verdana, sans-serif; 
	font-style: normal; 
	border: 1px solid #aaa; 
	padding-left: 2px; }
input.noteditable,
textarea.noteditable {
	border: 0; 
	background: transparent;}

div.notice {
	color: red; }


/* editable areas (off & on) */
.editable {
	border:none;
	}
TD.editTD {
	margin:0px;
	padding:0px; 
	background-color: white; }

TD.editable {
	margin:0px;
	padding:0px; 
	position: relative; 
	background-color: white; 
	}
DIV.editable {display:none;}

TD.editableOn, 
DIV.editableOn {
	/*margin: 2px 0 2px 0;*/
	padding: 1px 0px 2px 4px; 
	position: relative;
	background-color: #f5f5f5;
	line-height: 200%;
	border-bottom: 1px solid #aaf;}
DIV.editableOn {display:block;}

TD.editableOn TH, 
TD.editableOn TD, 
DIV.editableOn TH, 
DIV.editableOn TD  {
	border:none;vertical-align:top;padding-right:4px;}

TR.active TD {
	background-color: #f5f5f5;
	border-bottom: 1px solid #aaf;
	border-right: 1px solid #CCCCCC;}
TR.inactive TD, TR.inactive TH {
	border-bottom: 1px solid #CCCCCC;
	border-right: 1px solid #CCCCCC;}
TR.active TD.btncol {
	background-color:white;
	border:none;}
.edit .btncol {
	background-color:white;
	border:none;}

/* Header tidy up ------------------------------------------------- */	
.printhide{display:block;margin-bottom:10px;background-color:#F5F5F5;padding:5px;}
	
/* Form Preview ------------------------------------------------- */

.hide {	display:none;}

.missing {
	background-color:#FFC;}

.readonly {
	border: 1px solid white;
	padding:1px;
	font-weight:bold;}

/* Print -------------------------------------------------------- */

@media print {

.printhide {display:none;}
input.edit,input.addnew,input.save,input.cancel,input.del {display:none;}
input.search {display:none;}

TD.editableOn  {border:none;}

}