/*
 * Licensed to the Apache Software Foundation (ASF) under one
 *  or more contributor license agreements.  See the NOTICE file
 *  distributed with this work for additional information
 *  regarding copyright ownership.  The ASF licenses this file
 *  to you under the Apache License, Version 2.0 (the
 *  "License"); you may not use this file except in compliance
 *  with the License.  You may obtain a copy of the License at
 *
 *	http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 *
 */

/* 
* HTML elements - use for global declarations
*/

body, html {
	width: 100%;
	height: 100%;
	margin: 0px;
	padding: 0px;
}

form {
	margin: 0;
	padding: 0;
}

table {
	font: inherit;
}

td {
	font: inherit;
}

input {
    font: inherit;
    font-family: Verdana;
    font-size: 8pt;    
}

textarea {
    font: inherit;
    font-family: Verdana;
    font-size: 8pt;
}

/* APPLICATION */
.xapApplication{
	font-size: 8pt;
	font-family: Verdana, Arial;
	background-color: white;
}

/* LABEL */
.xapLabel{
	/*text-decoration: inherit; taken out due to crowding problem */
}

/* LINK */
.xapLinkContents{
	cursor:pointer;
	text-align: left;
	color:blue;
	border-bottom: 1px solid ;
	margin:2px ;
}

.xapLinkContentsVisited{
	color:rgb(128,16,106) ;
}


.xapLink{
	cursor: pointer;
	text-align: left;
	border: 1px solid transparent;
}

.xapLinkMouseOver{
	color:rgb(0,0,175) ;
}


.xapLinkContentsMouseDown{
	color: red;
}

.xapLinkMouseDown{
	border:1px dotted gray ;
}


.xapLinkDisabled{
	color : gray;
	cursor: default;
}


/* Need an initial padding for mousedown effect, but this has the effect
of making buttons slightly different sizes in IE and Mozilla, would be better
to adjust .xapButtonContents instead but that doesn't work for whatever reason
*/

/* BUTTON */
.xapButton{
	padding : 0px;
	border: 1px solid #999;
	margin: 0px;	
	cursor: default;
	background-image: url(./xap_button.gif);
	background-position: top center;
	background-repeat: repeat-x;
	background-color: ButtonFace;
	/*text-decoration: inherit; taken out due to crowding problem */
	font: inherit;
}

/* begin tgo */
div, tbody, tr, td {
	/*text-decoration: inherit; taken out due to crowding problem */
}
/* end tgo */

.xapButtonContents{
	padding: 4px;
	margin: 0px;
	/*text-decoration: inherit; taken out due to crowding problem */
}

.xapButtonContentsMouseDown{
	padding: 5px 3px 3px 5px;
}

.xapButtonMouseOver{
	border: 1px solid #99d;
	background-image: url(./xap_button_hover.gif);
	background-color: #a5c5d0;
}

/* On mouse down adjust padding so content moves down/left */
.xapButtonMouseDown{
	background-image: url(./xap_button_pressed.gif);
	background-color: #a5c5d0;
}

.xapButtonDisabled{
	color : gray;
	border: 1px solid #aaa;
	background-image: url(./xap_button_disabled.gif);
	background-color: #f2f2f2;
	cursor: default;
}

/* TOOLBAR STUFF */
.xapHorizontalToolBar{
	background-color: ButtonFace;
	border: none;
}


.xapVerticalToolBar{
	background-color: ButtonFace;
	border: none;
}

/*this should be after button to override it*/
.xapToolBarItem{
    background-image: none;
    border-width: 0px;
}

/* CHECKBOX */
.xapCheckBox{
	padding: 4px;
	cursor: default;
	border: 0px;
	font: inherit;
	/*text-decoration: inherit; taken out due to crowding problem */
}

/* Reduce padding + increase border because IE does not support transparent */
.xapCheckBoxMouseOver{
	border: 1px #99d solid;
	padding: 3px;
}

.xapCheckBoxMouseDown{
}

.xapCheckBoxDisabled{
	color : gray;
	cursor: default;
}

/* RADIO BUTTON */
.xapRadioButton{
	padding: 4px;
	cursor: default;
	border: 0px;
	font: inherit;
	/*text-decoration: inherit; taken out due to crowding problem */
}

.xapRadioButtonMouseOver{
	border: 1px #99d solid;
	padding: 3px;
}

.xapRadioButtonMouseDown{
}

.xapRadioButtonDisabled{
	color : gray;
	cursor: default;
}


/* TEXTFIELD */ /* tgo */
.xapTextField{
    font: inherit;
    color: inherit;
}

/* PASSWORD */ /* tgo */
.xapPasswordField{
    font: inherit;
    color: inherit;
}

/* TEXTAREA */ /* tgo */
.xapTextArea{
    font: inherit;
    color: inherit;
}


/* LISTBOX */ /* tgo */
.xapListBox{
    font: inherit;
    color: inherit;
	/*text-decoration: inherit; taken out due to crowding problem */
}


/* COMBOBOX */ /* tgo */
.xapComboBox{
    font-family: inherit;
    font-size: inherit;
    color: inherit;
	/*text-decoration: inherit; taken out due to crowding problem */
}

/* HEADER (table) */

.xapHeader{
	font-size: inherit;
	/*text-decoration: inherit; taken out due to crowding problem */
	padding: 4px;
	padding-left: 3px;
	font-weight: bold;
	cursor: default;
	background-image: url(./xap_header.gif);
	background-position: bottom left;
	background-repeat: repeat-x;
	border-left: 1px solid #999;	
}

.xapHeaderContents{
	overflow: hidden;
	/*text-decoration: inherit; taken out due to crowding problem */
}

.xapHeaderMouseOver{
	background-image: url(./xap_header_hover.gif);
}

.xapHeaderMouseDown{
	background-image: url(./xap_header_pressed.gif);
}

.xapHeaderDisabled{
	background-image: url(./xap_header.gif);
	background-position: bottom left;
	background-repeat: repeat-x;
}

.xapHeaderBackground{
	border-width: 0px;
	padding: 0px;
	background-image: url(./xap_header.gif);
	background-position: bottom left;
	background-repeat: repeat-x;
	table-layout: fixed;
	/*text-decoration: inherit; taken out due to crowding problem */
}

.xapHeaderWrapper{
	/* border-right: 1px solid #999; */
	/*text-decoration: inherit; taken out due to crowding problem */
}

/* TABLE */

.xapTable{
	border: 1px solid #999;
	font-size: inherit;
	/*text-decoration: inherit; taken out due to crowding problem */
}

.xapTable td{
	font-size: inherit;
	/*text-decoration: inherit; taken out due to crowding problem */
}

/* TREE */

.xapTree{
	border: 1px solid #999;
	font-size: inherit;
	/*text-decoration: inherit; taken out due to crowding problem */
}

/* TABLE SORT ARROWS */

.xapSortAscendingImage{
	background-image: url(arrow_up.gif);
	background-repeat: no-repeat;
	background-position: center center;
	padding: 8px;
}

.xapSortDescendingImage{
	background-image: url(arrow_down.gif);
	background-repeat: no-repeat;
	background-position: center center;
	padding: 8px;
}

.xapSortNoneImage{
	padding: 8px;
}



/* TREETABLE */

.xapTreeTable{
	border: 1px solid #999;
	font-size: inherit;
	/*text-decoration: inherit; taken out due to crowding problem */
}

.xapTreeTable table, .xapTree table, .xapTable table{
    /*text-decoration: inherit; taken out due to crowding problem */
}

/* TreeTable stuff */


.ImgNodeExpanded { 
	background-image: url(tree_folderopen.gif);
	background-repeat: no-repeat;
	background-position: center center;
	padding-left: 5px;
	padding-right: 5px;
	cursor: pointer;
}

.ImgNodeCollapsed { 
	background-image: url(tree_folderclosed.gif);
	background-repeat: no-repeat;
	background-position: center center;
	padding-left: 5px;
	padding-right: 5px;
	cursor: pointer;
}

.ImgNodeNoChildren {
	background-image: url(tree_nochildren.gif);
	background-repeat: no-repeat;
	background-position: center center;
	padding-left: 5px;
	padding-right: 5px;
}	

.tableCell{
	font-size: 8pt;
	padding-top: 3px;
	padding-bottom: 3px;
	border-left: 1px solid white;

	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: white;
	overflow: hidden;
}

.xapRow{
	/*text-decoration: inherit; taken out due to crowding problem */
}

.xapCell{
	padding-left: 2px;
	padding-right: 2px;
	/*text-decoration: inherit; taken out due to crowding problem */
}

.alternateRow{ 
	color: black;
	background-color: #EDEDED;
}

.selectedRow{
	color: black;
	background-color: #F5DE92;
}

.header{
	color: black;
	background-color: #EDEDED;
}


.xapListBoxDisabled{
	color : black;
	border: 1px solid #444;
	border-color: darkgray ;
	background-color: gray;
	cursor: default;
}


.xapXapComboBoxDisabled{
	color: black ;
	border: 1px solid #444;
	border-color: darkgray ;
	background-color: gray;
	cursor: default;
}


/* Split-pane styling: */
.xapVerticalSplitPaneSizer{
	background-image: url(gripper_splitter_vertical2.gif) ;	
	background-repeat: no-repeat ;
	background-position: center center ;
}

.xapHorizontalSplitPaneSizer{
	background-image: url(gripper_splitter_horizontal2.gif) ;	
	background-repeat: no-repeat ;
	background-position: center center ;
}


/* TOOLBARS */
.xapVerticalToolBar{
	/*text-decoration: inherit; taken out due to crowding problem */
}

.xapHorizontalToolBar, .xapHorizontalToolBar table{
	/*text-decoration: inherit; taken out due to crowding problem */
}
