A {
	text-decoration:none;
}

img {
	border: 0;
}

div {
  box-sizing: border-box; 
	-ms-box-sizing: border-box;
	-moz-box-sizing: border-box; 
  -webkit-box-sizing: border-box;
}

body {
	background-color: #ffffff;
	color: black;
	font-family: arial, helvetica, universe, sans-serif;
}

input {
	font-family: arial, helvetica, universe, sans-serif;
}

BODY.dark {
	background: #999999;
}

form {
	margin: 0;
	display: inline;
}
.rteIntDiv p {
	margin: 0px;
}
.rteIntDiv {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
}

/*darker even rows with postfix "_2" are 0.92 times of the original ones*/

.BgStudyHiRow { background-color: #dae8fd; }
.BgStudyHiRow_2 { background-color: #c8d5e8; }

/*dark gray*/
.BgContrast { background-color: #666666; height: 24px; }
.BgContrast_2 { background-color: #5d5d5d; }

/*medium gray*/
.BgShadow { background-color: #CCCCCC; }
.BgShadow_2 { background-color: #bbbbbb; }

/*medium light gray*/
.BgMedLight { background-color: #e0e0e0; }

/*medium dark gray*/
.BgMedDark { background-color: #999999; }

/*white*/
.BgLight { background-color: #FFFFFF; }
.BgLight_2 { background-color: #eaeaea; }

.BgSort1 { background-color: #c3d0fc; }  
.BgSort1_2 { background-color: #b3bfe7; }

.BgSort2 { background-color: #d7e0fd; }
.BgSort2_2 { background-color: #c5cee8; }

.BgSort3 { background-color: #ebf0fe; }
.BgSort3_2 { background-color: #d8dce9; }

.BgHiRow { background-color: #dae8fd; }
.BgHiRow_2 { background-color: #c9d5e9; }

.BgShortCutRow { background-color: #d5cdb7; } 
.BgShortCutRow_2 { background-color: #c4bda8; }

.BgShortCutHiRow { background-color: #aea896; }
.BgShortCutHiRow_2 { background-color: #a09b8a; }

.BgShortCutPriorityHiRow { background-color: #f5cdb7; }  
.BgShortCutPriorityHiRow_2 { background-color: #E1bda8; }

.BgPriorityHiRow { background-color: #ffe2ca; }
.BgPriorityHiRow_2 { background-color: #ead0ba; }

.BgAbnormalHiRow { background-color: #fff6e2; }
.BgAbnormalHiRow_2 { background-color: #eae2d0; }

.BgCorrectionHiRow { background-color: #ffffd2; }
.BgCorrectionHiRow_2 { background-color: #eaeac1; }

.BgPriorityCorrectionHiRow { background-color: #ffe2ca; }
.BgPriorityCorrectionHiRow_2 { background-color: #ead0ba; }

.BgAbnormalCorrectionHiRow { background-color: #ffecdd; }
.BgAbnormalCorrectionHiRow_2 { background-color: #ead9cb; }

.BgPriorityAbnormalHiRow { background-color: #ef927a; }
.BgPriorityAbnormalHiRow_2 { background-color: #dc8670; }

.BgPriorityAbnormalCorrectionHiRow { background-color: #ef927a; }
.BgPriorityAbnormalCorrectionHiRow_2 { background-color: #dc8670; }

.BgErrorRow { background-color: #ffa29a; }
.BgErrorRow_2 { background-color: #ea958e; }

.BgDeletedRow { background-color: #FFFFFF; color: gray; font-style: italic; text-decoration: line-through; }
.BgDeletedRow_2 { background-color: #eaeaea; color: gray; font-style: italic; text-decoration: line-through; }

.BgShortCutLowPriorityHiRow { background-color: #d5cdb7; }  
.BgShortCutLowPriorityHiRow_2 { background-color: #c4bda8; }

.BgLowPriorityHiRow { background-color: #FFFFFF; }
.BgLowPriorityHiRow_2 { background-color: #eaeaea; }

.BgLowPriorityCorrectionHiRow { background-color: #ffffd2; }
.BgLowPriorityCorrectionHiRow_2 { background-color: #eaeac1; }

.BgLowPriorityAbnormalHiRow { background-color: #fff6e2; }
.BgLowPriorityAbnormalHiRow_2 { background-color: #eae2d0; }

.BgLowPriorityAbnormalCorrectionHiRow { background-color: #ffecdd; }
.BgLowPriorityAbnormalCorrectionHiRow_2 { background-color: #ead9cb; }


.BgRed { background-color: #ff0000; }

/* nice pastel colors currenlty used on the split page */
.BgPastel1 { background-color: #D5D2F7; }
.BgPastel2 { background-color: #D3F7D2; }
.BgPastel3 { background-color: #EFF1C8; }
.BgPastel4 { background-color: #FFE4F9; }
.BgPastel5 { background-color: #DCF5EC; }

/* Font color definitions */
/* !!! FontError used only at some places yet !!! */

.FontOK { color: green; }
.FontDisabled { color: gray; }
.FontError { color: red; }
.FontErrorLight { color: brown; }
.FontInverted { color: white; }


/*
	meaning of bits:
	public static final int STYLE_EXTENDED = 1;				// the cell is part of extended line
	public static final int STYLE_ACTION = 2;					// the cell is an action cell
	public static final int STYLE_GROUP_LAST = 4;			// the cell is in the last row of a group

contains mask 1:
TD.X1, TD.X3, TD.X5, TD.X7,
does not contain mask 1:
TD.X0, TD.X2, TD.X4, TD.X6,
contains mask 2:
TD.X2, TD.X3, TD.X6, TD.X7,
does not contain mask 2:
TD.X0, TD.X1, TD.X4, TD.X5,
contains mask 4:
TD.X4, TD.X5, TD.X6, TD.X7,
does not contain mask 4:
TD.X0, TD.X1, TD.X2, TD.X3, 
*/
TD {
 /*all cells*/
	vertical-align: middle;
}
TD, TD.X0, TD.X2, TD.X4, TD.X6 {
 /*primary cells*/
		font-size: 10pt;
}

TD.X1, TD.X3, TD.X5, TD.X7 {
	/* extended cells */
	/* font-style: italic; */
	border-top-width: 0pt;
}
TD.X1, TD.X5 {
	/* extended non-action cells */
	/*	font-size: 8pt; */
  color: #606060;
}
TD.X1 A, TD.X5 A { 
  color: #6060FF; 
}

TD.X2, TD.X3 {
	/* action cells with more extended row(s) to follow -> no bottom border cells */
	border-bottom-width: 0pt;
}

TR.HeaderRow {
	background-color: #CCCCCC;
}

TABLE.FieldBlock {
	border: 0;
	border-spacing: 0;
	margin: 0;
	padding: 0;
	width: 100%;
}

TD.FieldBlock {
	padding: 18px 0px 0px 0px;
	background-image: url(/cases/art/fieldblock.gif);
}
TD.FieldBlockT {
	height: 4px;
	padding: 4px 0px 0px 0px;
	background-image: url(/cases/art/fieldblockt.gif);
}
TD.FieldBlockC {
	padding: 0px 0px 0px 0px;
	text-align: center;
	vertical-align: middle;
	background-image: url(/cases/art/fieldblockc.gif);
}
TD.FieldBlockB {
	height: 4px;
	padding: 4px 0px 0px 0px;
	background-image: url(/cases/art/fieldblockb.gif);
}

TD.TabSelLeftTop {
	background-color: white;
	background-image: url(/main/art/tabtl.gif);
	background-repeat: no-repeat;
	width: 8px !important;
	padding: 0px 8px 0px 0px;
	margin: 0;
	height: 10px;
}

TD.TabSelLeftMid {
	background-color: white;
	background-image: url(/main/art/tabcl.gif);
	background-repeat: repeat-y;
	width: 8px !important;
	color: #FFFFFF;
}

TD.TabSelLeftBot {
	background-color: white;
	background-image: url(/main/art/tabbl.gif);
	background-repeat: no-repeat;
	width: 8px !important;
	height: 4px;
}

TD.TabSelCenterTop {
	background-color: #90ACF8;
	background-image: url(/main/art/tabtm.gif);
	background-repeat: repeat-x;
	width: 100%;
	height: 10px;
}

TD.TabSelCenterMid {
	background-color: #90ACF8;
	background-image: url(/main/art/tabcm.gif);
	vertical-align: middle;
	text-align: center;
	color: #FFFFFF;
	font-size: 10pt;
}

TD.TabSelCenterBot {
	background-color: #90ACF8;
	background-image: url(/main/art/tabcm.gif);
	background-repeat: repeat-x;
	height: 4px;
}

TD.TabSelRightTop {
	background-color: white;
	background-image: url(/main/art/tabtr.gif);
	background-repeat: no-repeat;
	width: 8px !important;
	padding: 0px 8px 0px 0px;
	margin: 0;
	height: 10px;
}

TD.TabSelRightMid {
	background-color: white;
	background-image: url(/main/art/tabcr.gif);
	background-repeat: repeat-y;
	width: 8px !important;
	color: #FFFFFF;
}

TD.TabSelRightBot {
	background-color: white;
	background-image: url(/main/art/tabbr.gif);
	background-repeat: no-repeat;
	width: 8px !important;
	height: 4px;
}

TD.Tab {
	background-image: url(/main/art/stripes2.gif);
	vertical-align: middle;
	text-align: center;
	width: 12.5%;
	color: #000000;
	font-size: 10pt;
	text-decoration:none;
	font-family: arial,helvetica,universe,sans-serif;
}

TD.TabSep {
	background-image: url(/main/art/stripes2.gif);
	vertical-align: middle;
	text-align: center;
	width: 8px !important;
	color: #000000;
	font-size: 10pt;
}

TD.SubTab { 
	background-color: #90ACF8;
	font-size: 10pt;
	height: 30px;
	vertical-align: middle;
	text-align: center;
	text-decoration:none;
	font-family: arial,helvetica,universe,sans-serif;
}

A.NonSel {
	text-decoration:none;
	color: #000000;
	font-size: 10pt;
}

A.Sel {
	text-decoration:none;
	color: #FFFFFF;
	font-size: 10pt;
}

P.element { 
	margin: 0em 0em; 
	padding-top: 0em; 
	padding-bottom: 0.3em; 
	font-size: 13pt; 
}

/* style for fly-over boxes used to display tooltips and popup content */
DIV.fob {
	position: absolute;
	z-index: 9999;
	border-style: solid;
	border-width: 1px;
	border-color: blue;
	padding: 4px;
	background-color: yellow
}

/* style for hover tables displaying warning/error messages */
DIV.Hover {
	position: absolute;
	z-index: 9999;
	border-style: solid;
	border-width: 2px;
	border-color: black;
	padding: 4px;
	background-color: #fffadf
}

/* style for tools in a hover */
DIV.popup {
	height: auto;
	width: auto;
	position: absolute;
	background-color: #efffef;
	border: thin solid #000000;
	z-index: 1;
	visibility: hidden;
}

.FontHoverError {
    color: red;
}

.FontHoverWarning {
    color: black;
}

/* style for message box content: add margin */
DIV.MBoxContent {
	margin: 15px;
}

div.filtercell div, div.filtercell a {
	position: absolute;
	left: 0px;
	right: 0px;
	top: 0px;
	bottom: 0px;
	table-layout: fixed;
	white-space: nowrap;
	width: 100%;
	height: 19px;
	overflow: hidden;
	text-overflow: ellipsis;
}
div.filtercell {
	position: relative; 
	width: 100%; 
	height: 19px;
}

a.filterCBlink {
	position: relative;
}

div.filterCBtitle {
	position: absolute;
	display: none;
	z-index: 1;
	border: 1px solid black;
	background: white;
	white-space: nowrap;
	font-size: 20pt;
	color: black;
}

a:hover div.filterCBtitle {
	display: block;
}

sup.subtitle {
	font-family: arial, helvetica, universe, sans serif;
	color: white;
	font-size: 9pt;
	display: inline-block;
	vertical-align: middle;
}
