@CHARSET "ISO-8859-1";

.datatable {
	font-family: Arial, sans-serif;
	font-size: 10pt;
	font-wight: normal;
	padding-top:2.2em;
	border-left: 1px solid #CBCBCB;
	min-height: 500px;
    width: 100%;
    position: relative;
}
.datatable .scrollContainer{
	overflow: scroll;
	position: absolute;
	bottom: 0;
    left: 0;
    right: 0;
    top: 3.7em;
    margin:0;
    border-bottom: 1px solid #CCCCCC;
}
.datatable .scrollObeyContainer{
	overflow: hidden;
	position: absolute;
    left: 0;
    right: 0;
    top: 0;
    margin:0;
    height:15em;/*to allow the autocomplete result container to show*/
}
.datatable .table {
	border-collapse: collapse;
	border-spacing: 0;
	border: 0 !important;
	width: 100%;
	height: 100%;
}
.datatable .selected {
	padding: 0;
}
.datatable .csvAnchor img{
	position:relative;
	top: 3px;
}
.datatable .filters{
	position: absolute;
    top: 1.8em;
    left: 0;
    height: 1.85em;
    background-color: #eee;
	border-spacing: 0;
	border-top: 1px solid #CBCBCB;
	padding: 0;
	margin: 0;
}
.datatable .filters .table{
	height: 100%;
}
.datatable .filters table td{
    border-right:1px solid #CBCBCB;
    padding: 0 !important;
    margin: 0;
    overflow: visible;
}
.datatable .filters table td > div{
    position: relative;
    width:100%;
    height: 100%;
}
.datatable .filters .filter-wrapper{
    position: absolute;
    top:1px;
    right:30px;
    left:5px;
}
.datatable .filters input[type=text]{
	padding: 0;
	/*border: 1px solid #CBCBCB;*/
	width: 100%;


}
.datatable .filters input[type=image]{
	padding: 0;
	position: absolute;
	right:5px;
    top:3px;

}

.datatable .info {
}
.datatable .buttons{
	position: absolute;
    bottom: 1.85em;
    left: 0;
    height: 2.5em;
	border-spacing: 0;
	border: 1px solid #CBCBCB;
	border-top: 0;
	padding: 0;
	margin: 0;
	width: 100%;
}

.datatable .bodytable {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin: 0;
}
.datatable .bodytable tr.last td{
	border-bottom: 1px solid #CBCBCB;
}
.datatable .selector {
	bottom: 4.5em !important;
}
.datatable .headertable{
    height: 1.7em;
    position: absolute;
    top: 0;
    left: 0; 
    margin: 0;
    border: 1px solid #CBCBCB;
    border-right:0;
    border-left:0;
}
.datatable .headertable td{
	height: 1.2em;
}
.datatable .headertable td > div{
    position: relative;
    width:100%;
    height: 100%;
}

.datatable .headertable .table{
    background: transparent url(../img/sprite.png) repeat-x scroll 0 -200px;
    height: 100%;
}
.datatable .bodytable .highlighted {
	background-color: #96cdf7;
}
.datatable .bodytable td.highlighted {
	background-color: #002C69;
	color: white;
}
/*.datatable .headertable td.primary,
.datatable .bodytable td.primary {
    display: none;
}*/
.datatable .bodytable .selected {
	background-color: #002C69;
	color: white;
}
a.totalFunction {
	display: block;
	width: 80%;
}
/* This is the div that holds the buttons on the project selector window*/
.buttonsInnerDiv {
	display: table;
	margin: 0.25em auto;
}



.datatable table {
	border-collapse: collapse;
	table-layout: fixed;
	border-spacing: 0;
	border: 0 !important;
	width: 100%;
}
.datatable table  td{
	height: 1.7em;
	white-space: nowrap;
	overflow: hidden;
}
.datatable .headertable table{
    background: transparent url(../img/sprite.png) repeat-x scroll 0 -200px;
    height: 100%;
}


.datatable .headertable table td.sortable {
	background: transparent url(../img/bg_sortable.gif) no-repeat scroll 3px 2px; 
}
.datatable .headertable table td{
    padding: 0.25em 0;
    border-right:1px solid #CBCBCB;
    /*cursor: pointer;*/
}
.datatable .headertable table td:hover{
	/*background-color: #fff;*/
}
.datatable .headertable td div.sort{
    width:12px;
    background-color: transparent;
    cursor: pointer;
    position: absolute;
    left:0;
    top:0;
    bottom:0;
}
.datatable .headertable td div.resize{
    width:0.6em;
    background-color: transparent;
    cursor: e-resize;
    position: absolute;
    right:0;
    top:0;
    bottom:0;
}
.datatable .bodytable td {
    padding: 0.25em 0;
    border-right:1px solid #CBCBCB;
    border-top: 1px solid #eee;
    /* user-select: none;
   -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;*/
    /*
      Introduced in IE 10.
      See http://ie.microsoft.com/testdrive/HTML5/msUserSelect/
    */
 /*   -ms-user-select: none;*/
}

.datatable span.data{
    margin: 0 0.5em;
}
.datatable .headertable table td span.data{
	color: #3E315D;
	font-weight: bold;
	margin: 0 1em;
}
table.detail {
	border-spacing: 0;
	height: 100%;
    width: 100%;
	position: relative;
}
table.detail tfoot{
	position: absolute;
	bottom:10px;
	left:10px;
	right:10px;
	overflow:hidden;
}
table.detail tbody{
	position:absolute;
	top:2em;
	bottom: 3em;
	left:10px;
	right:10px;
	overflow: auto;
}
table.detail td.caption{
	color: #004080;
	border-color: #95AEA5;
    border-style: none none solid solid;
    border-width: 0 0 1px 1px;
    font-size: 10pt;
    font-wiht: bold;
    width: 16em;
    vertical-align: top;
    padding: 2px 4px;
}
table.detail td.data{
	background-color: #0060A0;
    border-color: #fff;
    border-style: none none solid solid;
    border-width: 0 0 1px 1px;
    padding: 2px 4px;
    color: #fff;
}
table.detail tbody > tr:first-child > td {
    border-top: 1px solid #95AEA5;
}
table.detail tbody > tr.last > td {
    border-bottom: 1px solid #95AEA5;
}
table.detail tbody tr:hover td{
	background-color: #39c;
}
#table_comment_holder{
    position: absolute;
    z-index: 3000;
    padding: 10px;
    border-radius: 5px;
    opacity: 0.90;
    background: #3f567d;
    color: yellow;
}

/* These classes are used for YUI elements used on dialogs */
.AutoCompleteResultContainer {
    z-index:3;
    position:absolute;
    background-color:#FFF;
    text-align: left;
}
.AutoCompleteResultContainer ul{
    padding-left:0;
    padding-top:0;
    max-height:100px;
    width:355px;
    overflow:auto;
    border:1px solid #ccc;
    margin:0;
}
.AutoCompleteResultContainer li{
    list-style-type:none;
    margin:0;
    padding:0 0 0 5px;
    color: #666;
}
.AutoCompleteResultContainer li > div {
    background-color: #FFFFFF;
    padding-left: 2px;
}
.highlightresult{
    font-weight: bold;
}
.yui-ac-bd .myCustomHighlightClass,
.yui-ac-bd .myCustomPrehighlightClass {
    background-color:#369cff;
    color:#000;
    cursor:pointer;
    list-style-type:none;
}

.myCustomHighlightClass {
    border-bottom:1px solid #fff;
}