.shadow {
	/* this shall take up all visible space! */
	margin: 0px;
	padding: 0px;
	position: absolute;
	left: 0px;
	top: 0px;
	overflow: hidden !important; /* FF Scroll-leiste */
	width: 100%;
	min-width: 100%;
	height: 100%;
	min-height: 100%;
	/* 1 less than the dialog */
	z-index: 99;
	/* dark, semi-transparent background */
	background-color: rgba(0, 0, 0, 0.65);
	/* initially, this is not visible */
	display: none;
}

.dialog {
	/* center this element - width, height and according margin needs to be set elsewhere! */
	position: absolute;
	left: 50%;
	top: 50%;
	/* dialogs have a rounded border*/
	border: 1px solid #555;
	border-radius: 7px;
	box-shadow: 0px 0px 40px 5px rgba(80, 220, 255, 0.75);
    -webkit-box-shadow: 0 0 40px rgba(80, 220, 255, 0.75);
    -moz-box-shadow: 0 0 40px rgba(80, 220, 255, 0.75);
	padding: 10px;
	background-color: rgba(255, 255, 255, 1.0);
	/* make sure it's above the shadow layer */
	z-index: 100;
	/* hidden on start */
	display: none;
}

#loadingDialog {
	/* set size (and margin) */
	width: 150px;
	height: 26px;
	margin-left: -75px;
	margin-top: -13px;
}

#loginDialog {
	/* set size (and margin) */
	width: 440px;
	height: 250px;
	margin-left: -220px;
	margin-top: -125px;
	background-color: rgba(220, 220, 220, 1.0);	
}

#sessionDialog {
	/* set size (and margin) */
	width: 500px;
	height: 380px;
	margin-left: -250px;
	margin-top: -190px;
}

#feedbackDialog {
	/* set size (and margin) */
	width: 500px;
	height: 380px;
	margin-left: -250px;
	margin-top: -190px;
}

#exportDialog {
	/* set size (and margin) */
	width: 1000px;
	height: 600px;
	margin-left: -500px;
	margin-top: -300px;
}

#exportDialogDataContainer {
	position: absolute;
	display: block;
	left: 25px;
	top: 50px;
	right: 25px;
	bottom: 50px;
}

#exportDialogPreviewContainer {
	position: absolute;
	display: block;
	border: 2px solid #DDD;
	left: 10px;
	top: 50px;
	right: 10px;
	bottom: 150px;
}

#exportDialogValidateContainer {
	position: absolute;
	display: block;
	left: 10px;
	right: 10px;
	height: 75px;
	bottom: 50px;
}

#exportDialogValidateButton.validated {
	background-color: #5C5;
}

#exportPreview {
	width: 100%;
	height: 100%;
	border: none;
}

#selectionDialog {
	/* set size (and margin) */
	width: 1000px;
	height: 600px;
	margin-left: -500px;
	margin-top: -300px;
}

#selectionDialogContentFrame {
	bottom: 50px;
	left: 10px;
	top: 50px;
	right: 10px;
}

#selectionDialogExtraContainer {
	top: 0px;
	left: 0px;
	right: 0px;
	height: auto;
}

#recordDialog {
	/* set size (and margin) */
	width: 1000px;
	height: 500px;
	margin-left: -500px;
	margin-top: -250px;
}

.dialog-input-label {
	width: 85px;
	display: inline-block;
	vertical-align: middle;
}

.dialog-checkbox-label {
	width: 180px;
	display: inline-block;
	vertical-align: middle;
}

#recordDialogPatientTableFrame {
	left: 260px;
	width: 180px;
	top: 10px;
	height: 200px;
}

#recordDialogCaseTableFrame {
	right: 10px;
	width: 200px;
	top: 10px;
	height: 200px;
}

#recordDialogRecordTableFrame {
	left: 260px;
	right: 10px;
	bottom: 50px;
	height: 200px;
}

#recordDialogTableMeasure {
	position: absolute;
	display: none;
	left: 260px;
	right: 10px;
	top: 10px;
	bottom: 50px;
}

.dialog-table-frame {
	position: absolute;
	overflow: hidden;
	border: 1px solid #DDD;
	border-radius: 4px;
}

.dialog-input {
	/* set preferred width and padding/margin, height will be determined automatically */
	width: 125px;
	padding: 3px;
	padding-left: 5px;
	margin: 5px;
}

.dialog-label {
    width: 120px;
    display: inline-block;
	padding-left: 5px;
	margin: 5px;
}

.dialog-message {
    display: inline-block;
	padding-left: 10px;
	margin: 10px;
}

.close-button {
	display: inline-block;
	position: relative;
	vertical-align: top;
	border: none;
}

.access-denied {
	font-style: italic;
	color: #777;
}