/*
	tables and tabs (hu_table0 is without borders, hu_table1 with frame+columns (not rows), hu_table2 full )
*/

/* table w/o borders */

.hu_table0 {
        margin-top: 1ex;
        margin-bottom: 1ex;
	border-collapse: collapse;
}

.hu_table0 TH {
        border: none;
	padding: 4px 6px 5px 6px;
}

.hu_table0 TH A {
        font-weight: bold;
}

.hu_table0 TH A.overlay, .hu_table0 TH A.tooltip {
        font-weight: bold;
}

.hu_table0 TD {
	vertical-align: baseline;
        border: none;
	padding: 4px 6px 4px 6px;
}


/* table w/ frame border & column lines */

.hu_table1 {
        margin-top: 1ex;
        margin-bottom: 1ex;
	border-collapse: collapse;
	border: 1px solid #000000;
}

.hu_table1 TH {
	border-width: 0px 1px 2px 1px;
	border-style: solid;
	border-color: #000000;
        padding: 3px 5px 4px 5px;
}

.hu_table1 TH A {
        font-weight: bold;
}

.hu_table1 TH A.overlay, .hu_table1 TH A.tooltip {
        font-weight: bold;
}

.hu_table1 TD {
	border-width: 0px 1px 0px 1px;
	border-style: solid;
	border-color: #000000;
        padding: 4px 5px 4px 5px;
}

.hu_table1 TD A {
}

.hu_table1 TD A.overlay, .hu_table1 TD A.tooltip {
}


/* table w/ full borders */

.hu_table2 {
        margin-top: 1ex;
        margin-bottom: 1ex;
	border-collapse: collapse;
}

.hu_table2 TH {
	border-width: 1px 1px 2px 1px;
	border-style: solid;
	border-color: #000000;
        padding: 3px 5px 4px 5px;
}

.hu_table2 TH A {
        font-weight: bold;
}

.hu_table2 TH A.overlay, .hu_table2 TH A.tooltip {
        font-weight: bold;
}

.hu_table2 TD {
	border: 1px solid #000000;
        padding: 3px 5px 4px 5px;
}

.hu_table2 TD A {
}

.hu_table2 TD A.overlay, .hu_table2 TD A.tooltip {
}


/* table w/ frame border and header line */
.hu_table3 {
        margin-top: 1ex;
        margin-bottom: 1ex;
	border-collapse: collapse;
	border: 1px solid #000000;
}
.hu_table3 TH {
	border-width: 0px 0px 2px 0px;
	border-style: solid;
	border-color: #000000;
        padding: 3px 5px 4px 5px;
}
.hu_table3 TH A { font-weight: bold; } 
.hu_table3 TH A.overlay, .hu_table3 TH A.tooltip { font-weight: bold; }
.hu_table3 TD { padding: 3px 5px 4px 5px; }
.hu_table3 td a { }
.hu_table3 td a.overlay, .hu_table2 td a.tooltip { }
.hu_trbk { background-color: #f4f4f4; }

/* tabs */
.hu_ltabs {
	background-color: white;
	float: left;
	clear: both;
	padding: 0;
	width: 100%;
/*	height: 29px;*/
	margin: 0 0 9px 0;
}

/* input elements */

/* input widgets */
.hu_itxt {
        border: solid 1px #001e5b;
        background-color: #ffffff;
	color: #000000;
	font-size: 100%;
	vertical-align: baseline;
}
.hu_idrd2  { /* will use system widget for dropdown */
	font-size: 100%;
}
.hu_idrd  { /* will use browser drawn widget for dropdown */
	background-color: #ffffff;
	border: solid 1px #001e5b;
	color: #000000;
	font-size: 100%;
}
.hu_ialt { vertical-align: text-bottom; }
.hu_ialt2 { background-color: #ffffff; vertical-align: text-bottom; }

/* background span */

.hu_ispan { /* input control background SPAN */
	text-align: left;
	white-space: nowrap;
	position: relative;
	top: -1px;
}

.hu_ispan_err { /* input control background SPAN on error */
	background-color: #cc0000;
	padding: 4px;
}

/* tool tips */
.hu_tooltip { /* underline, normal */ 
	border-bottom: 1px dashed #e69e61;
	font-weight: normal !important;
}
.hu_tooltip1 { /* no underline; default boldness */ }
.hu_tooltip2 { /* no underline, normal */ font-weight: normal !important; }
.hu_tooltip3 { /* underline; default boldness */ border-bottom: 1px dashed #e69e61; font-weight: bold !important; }
.hu_tooltip4 { /* underline, normal, black */ border-bottom: 1px dashed #e69e61; font-weight: normal !important; color: black; }
.hu_tooltip5 { /* no underline, default boldness, black */ color: black; }
.hu_tooltip6 { /* no underline, normal, black */ font-weight: normal !important; color: black; }
.hu_tooltip:HOVER, .hu_tooltip1:HOVER, .hu_tooltip2:HOVER, .hu_tooltip3:HOVER, 
.hu_tooltip4:HOVER, .hu_tooltip5:HOVER, .hu_tooltip6:HOVER  { text-decoration: none; } 
body.htmlx a.hu_tooltip, body.htmlx a.hu_tooltip2, body.htmlx a.hu_tooltip3, 
body.htmlx a.hu_tooltip4, body.htmlx a.hu_tooltip5, body.htmlx a.hu_tooltip6 { font-weight: normal !important; }

.table-header-rotated { border-style: none !important; margin-right: 100px; }
.table-header-rotated th { border-style: none !important; background: none !important; }
/*
.table-header-rotated > tr th:nth-of-type(even) { background-color: #eeeeee !important; }
*/
.table-header-rotated th.row-header { width: auto; border-style: none !important; }
.table-header-rotated td {
  min-width: 40px;
  border-top: 1px solid #dddddd;
  border-left: 1px solid #dddddd;
  border-right: 1px solid #dddddd;
  border-bottom: 1px solid #dddddd;
  vertical-align: middle;
  text-align: center;
}
.table-header-rotated th.rotate-45 {
  height: 110px;
  min-width: 40px;
  position: relative;
  vertical-align: bottom;
  padding: 0;
  line-height: 0.99;
  transform:skew(-45deg,0deg);
  left: 40px;
  top: 0px;
  overflow: hidden;
}
.deprectaed.table-header-rotated th.rotate-45 > div {
  position: relative;
  top: 0px;
  left: 60px; /* 80 * tan(45) / 2 = 40 where 80 is the height on the cell and 45 is the transform angle*/
  height: 100%;
  -ms-transform:skew(-45deg,0deg);
  -moz-transform:skew(-45deg,0deg);
  -webkit-transform:skew(-45deg,0deg);
  -o-transform:skew(-45deg,0deg);
  transform:skew(-45deg,0deg);
  overflow: hidden;
  border-left: 1px solid #dddddd;
  border-right: 1px solid #dddddd;
}
.table-header-rotated th.rotate-45 span {
  -ms-transform:skew(45deg,0deg) rotate(315deg);
  -moz-transform:skew(45deg,0deg) rotate(315deg);
  -webkit-transform:skew(45deg,0deg) rotate(315deg);
  -o-transform:skew(45deg,0deg) rotate(315deg);
  transform:skew(45deg,0deg) rotate(315deg);
  position: absolute;
  bottom: 50px; /* 40 cos(45) = 28 with an additional 2px margin*/
  left: -47px;  /* b/c it looked good, but there is probably a mathematical link here as well*/
  display: inline-block;
  width: 141px; /* 80 / cos(45) - 40 cos (45) = 85 where 80 is the height of the cell, 40 the width of the cell and 45 the transform angle */
  text-align: left;
}