/* Dialog
=================================================*/
	.dialog{
		position:absolute;
		z-index:10001;
		/*top:100px;
		left:50%;*/	
		top:0;
		left:-3000px;
		margin:0;
		width:38em;
		font-family:Arial, Tahoma, sans-serif;
		}
		.dialog .brd{			
			display:block;
			margin-top:-4px;
			height:4px;
			overflow:hidden;
			}
			.dialog .brd SPAN{
				display:block;
				height:1px;
				overflow:hidden;	
				border:1px solid #d2d2d2;
				border-width:0 1px;
				background:#90caf1
				}
				.dialog .brd SPAN.r1{
					margin:0 3px;
					background:#b5b5b5;
					border-color:#d2d2d2;
					}
					.dialog .brd SPAN.r1 SPAN{
						}
				.dialog .brd SPAN.r2{
					margin:0 1px;
					border-color:#d2d2d2;
					}
					.dialog .brd SPAN.r2 SPAN{
						border-color:#b5b5b5;
						border-width:0 2px;
						}
				.dialog .brd SPAN.r3{
					margin:0 1px;
					border-color:#b5b5b5;
					}
				.dialog .brd SPAN.r4{
					}
					.dialog .brd SPAN.r4 SPAN{
						border-color:#b5b5b5
						}
						
		.dialog .brd.brd-foot{
			display:none;
			margin-top:0;
			margin-bottom:-4px;
			}
			.dialog .brd.brd-foot SPAN{
				background:#e4e4e4
				}
			.dialog .brd.brd-foot SPAN.r1{
				background:#b7b7b7
				}
			.dialog .brd.brd-foot SPAN.r2{
				border-color:#d5d5d5
				}
			.dialog .brd.brd-foot SPAN.r2 SPAN{
				border-color:#b7b7b7
				}
			.dialog .brd.brd-foot SPAN.r3{
				border-color:#b7b7b7
				}
			.dialog .brd.brd-foot SPAN.r4 SPAN{
				border-color:#b7b7b7
				}
				
		.dialog H3{
			position:relative;
			margin:0;
			padding:0;
			height:2.5em;
			border-style:solid;
			border-color:#b7b7b7;
			border-width:0 1px;
			cursor:move;
			background:#56aee9;
			font-size:1em;			
			color:#FFF;
			}
			.dialog H3 STRONG{
				display:block;
				position:relative;
				padding:0.2em 20px 0.3em;
				white-space:nowrap;
				font-weight:bold;
				font-size:1.33em;
				font-weight:bold;
				}
			.dialog H3 .shadow-t{
				position:absolute;
				left:0;
				top:0;
				right:0;
				display:block;
				height:1.10em;
				background:#67B6EB;
				}
			.dialog H3 .del{
				position:absolute;
				top:0.5em;
				right:10px;
				width:12px;
				height:12px;
				cursor:pointer;
				text-align:center;
				text-decoration:none;					
				background:#f8ffee;
				font-size:1em;
				font-weight:bold;
				line-height:90%;
				color:#0099ff
				}				
				.dialog H3 .del SPAN{
					position:absolute;
					top:-1px;
					left:-1px;
					width:14px;
					height:14px;
					overflow:hidden;
					}
					.dialog H3 .del SPAN.del-cnt{
						position:static;
						display:block;
						width:12px;
						height:12px;
						}
		.dialog .cnt{
			border-style:solid;
			border-color:#b5b5b5;
			border-width:0 1px 1px 1px;
			background:#FFF;
			padding:0 0 1em 0;
			}
			
		.dialog .highlighted{
			padding:0.9em 20px 1em;
			background:#ebebeb;
			}
			.dialog .highlighted STRONG{
				font-weight:bold
				}
			.dialog .highlighted DL{
				
				}
				.dialog .highlighted DD{
					padding-top:0.2em;
					padding-bottom:0.2em;
					}
				.dialog .highlighted INPUT.input-text{
					width:18em;
					}
				.dialog .highlighted LABEL{
					text-align:left;
					width:auto;
					}
				.dialog .highlighted .field{
					float:left;
					}
				.dialog .highlighted .field-hint{
					margin:0.4em 0 0;
					color:#696969;
					}
					
		.dialog .cnt-core{
			padding:1.2em 20px;
			}
			.dialog .cnt-core STRONG{
				font-weight:bold
				}
			.dialog .cnt-core .accent{
				color:#C90D0D;
				}
			
		.dialog FORM{
			
			}
			.dialog DL{
				}
				.dialog DL:after{
					clear:both;
					display:block;
					height:0;
					visibility:hidden;
					overflow:hidden;
					content:' ';
					}
			.dialog DD{
				clear:both;
				padding:0.5em 0;				
				}
			.dialog LABEL{
				float:left;
				margin:0.3em 0 0;
				width:10em;
				margin-right:1em;
				text-align:right;
				font-weight:bold;
				}
			.dialog INPUT.input-text,
			.dialog TEXTAREA{
				width:14.5em;
				padding:0.1em 0.2em;
				border:1px solid #b3b3b3;
				font-size:1em;
				background:#FFF;
				}
			.dialog SELECT{
				width:15em;
				border:1px solid #b3b3b3;
				font-size:1em;				
				}
				.dialog SELECT OPTION{
					padding-top:0.12em;
					padding-bottom:0.13em;
					}
			
			.dialog INPUT[type=text].field-error,
			.dialog INPUT[type=password].field-error,
			.dialog SELECT.field-error,
			.dialog TEXTAREA.field-error,
			.dialog INPUT[type=text].fielderror,
			.dialog INPUT[type=password].fielderror,
			.dialog SELECT.fielderror,
			.dialog TEXTAREA.fielderror{
				background:#F6DBE9
				}
				.dialog  INPUT.field-text.field-error,
				.dialog  INPUT.field-password.field-error,
				.dialog  INPUT.field-text.fielderror,
				.dialog  INPUT.field-password.fielderror{
					background:#F6DBE9
					}
					
		
		.dialog .footnote{		
			position:relative;
			top:-0.4em;
			font-weight:normal;
			font-size:1.67em;
			vertical-align:top;
			color:#e70101;
			}
		
		.dialog .buttons{
			margin:1em 0;
			}
		
		.dialog BUTTON{
			}
			.dialog BUTTON STRONG SPAN{
				}		
		.dialog A.button{
			float:left;
			margin:0.3em 0 0 0.6em;
			}

		.dialog .cntin{
			}
			.dialog .cntin:after{
				display:block;
				clear:both;
				content:' ';
				height:0;
				visibility:hidden;
				}
			.dialog .ec .form-btn{
				float:left;
				}
				
		/*Fields rowed list*/
		
			.dialog .fields-panel{
				position:relative;
				clear:both;
				padding:0;
				margin:0.1em 0 0;
				overflow-y:auto;
				overflow-x:hidden;
				}
			.dialog .flex-fields{
				
				}
				.dialog .flex-fields .field-1,
				.dialog .flex-fields .field-2{
					position:relative;
					float:left;
					width:50%;
					margin:0
					}
				.dialog .flex-fields .field-2{
					right:-3px;
					}
				.dialog .flex-fields SELECT{
					width:100%;
					}
				.dialog .fieldpanelrow,
				.dialog .fields LI.fieldpanelrow{
					padding-right:30px;	
					}
				.dialog .flex-fields .labels{
					padding-right:30px;
					}		
			.dialog .cnt-core.fields{
				padding-right:12px;
				}
				.dialog .fields UL{
					/* max-height:130px; */
					}
				.dialog .fields LI{
					padding:0.5em 0 0em 0;
					clear:both;
					margin:0;
					min-height:15px;
					}
				.dialog .fields LABEL{
					text-align:left;
					width:17em;
					margin:0;
					padding:0;					
					}
				/* .dialog .fields .field-1,
				.dialog .fields .field-2{
					float:left;
					margin:0 15px 0 0;
					}
					.dialog .fields .field-1{
						}
					.dialog .fields .field-2{
						margin-right:0;
						position:relative;
						} 
				.dialog .fields SELECT{
					width:17em;
					font-size:1em;
					}*/
					
				.dialog .fields .add-link{
					clear:both;
					padding:0.5em 0 0;					
					}
					.dialog .fields .add-link A{
						text-decoration:none;
						font-size:0.9em;
						}
						.dialog .fields .add-link A SPAN{
							text-decoration:underline
							}
							
					.dialog .del-link{
						position:absolute;
						top:50%;
						left:100%;
						display:block;
						margin:-6px 0 0 10px;
						width:14px;
						height:14px;
						overflow:hidden;
						text-align:center;
						text-decoration:none;					
						background:#FFF;						
						line-height:50%;
						font-size:1.15em;
						font-weight:bold;
						color:#e70101;
						}
						.dialog .del-link SPAN{
							position:absolute;
							top:0;
							left:0;
							width:14px;
							height:14px;
							overflow:hidden;
							}
							.dialog .del-link:hover SPAN{
								background-position:-55px -80px;
								}
			.dialog .error{
				margin:0 0 0.8em;
				color:#e70101
				}
			.dialog .note{
				margin:0 0 0.8em;
				}
	.dialog IFRAME{
		display:none;
		display/**/:block;
		position:absolute;
		overflow:hidden; 
		top:0; 
		left:0; 
		z-index:-1; 
		background:transparent;
		}
		
		
		
		
	
	
/* Modern view */	
		
		
.dialog{
		/* overflow-y:auto; */
		font-family:Tahoma, Arial, sans-serif;
		}
	.dialog .dialog-body{
		position:absolute;
		z-index:2;
		border:1px solid #959595;
		width:42em;
		background:#FFF;
		}
	.dialog .dialog-shadow{
		z-index:1;
		position:absolute;
		width:100%;
		height:100%;
		top:4px;
		left:4px;
		background:#000;
		opacity:0.2;
		-moz-opacity:0.2;
		}
		.dialog .brd{
			display:none;
			}
		.dialog .ec,
		.dialog .ecc{
			clear:both;
			float:none;
			position:static;
			}
		.dialog .cnt{
			border:none;
			padding-bottom:0
			}
		.dialog H3{
			background:#a6a6a6;
			}
			.dialog H3 .del SPAN{
				}
			.dialog H3 .shadow-t{
				height:1.2em;
				background:#AFAFAF;
				}
			.dialog H3 STRONG{
				padding-top:0.25em;
				padding-left:16px;
				font-size:1.25em;
				}
		.dialog .highlighted{
			padding-left:16px;
			background:#eaeaea;
			}
			.dialog .highlighted DL{
				padding-right:12em;
				position:relative;
				}
			.dialog .highlighted .add-link{
				position:absolute;
				right:0;
				top:0;
				}
		.dialog .buttons{
			margin-bottom:0;
			padding-bottom:1.5em;
			padding-left:17px;
			}
		.dialog BUTTON{
			float:left;
			}
		.dialog .cnt-core{
			padding-top:0.8em;
			padding-right:30px;
			padding-bottom:0.3em;
			}
		.dialog .note{
			margin:1em 0 0.5em;
			}
		.dialog H4{
			margin:0 0 0.5em;
			padding:0;
			font-size:1em;
			}
		.char{
			font-weight:normal;
			font-size:0.9em;
			}
			.char SPAN{
				font-size:1.2em;
				}
				
	/* Resize pin */
		.resize-pin{
			position:absolute;
			bottom:0;
			right:0;
			width:18px;
			height:18px;
			overflow:hidden;
			cursor:se-resize;
			}
		.dialog .resize-pin{
			display:none;
			}
		.dialog-resizable .resize-pin{
			display:block;
			}
	/* Resizing */
		.dialog.dialog-resizing .dialog-shadow{
			}
		.dialog-body-resize-projection{
			position:absolute;
			top:0;
			left:0;
			z-index:3;
			border:3px solid #AFAFAF;
			}
	
	.dialog .dialog-resizable .cnt{
		padding-bottom:4em;
		}		
	.dialog-resizable DIV.submit{
		position:absolute;
		bottom:0;
		left:0;
		
		}
	.dialog-resizable DIV.buttons{
		margin-top:0;
		}
