/*
 * 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;
}

/* 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-width: 1px;
	border-style: none;
}

.xapLinkMouseOver{
	color:rgb(0,0,175) ;
}


.xapLinkContentsMouseDown{
	color: red;
}

.xapLinkMouseDown{
	border:1px dotted gray ;
}


.xapLinkDisabled{
	color : gray;
	cursor: default;
}

.xapTextField {
    border: 1px solid #999;
    padding: 2px;
}
.xapPasswordField {
    border: 1px solid #999;
    padding: 2px;
}
.xapTextArea {
    border: 1px solid #999;
    padding: 2px;
}


/* 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;
	font-size: 8pt;
}

.xapButtonContents{
	padding: 4px;
}

.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-size: 8pt;
}

/* 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-size: 8pt;
}

.xapRadioButtonMouseOver{
	border: 1px #99d solid;
	padding: 3px;
}

.xapRadioButtonMouseDown{
}

.xapRadioButtonDisabled{
	color : gray;
	cursor: default;
}


/* HEADER (table) */

.xapHeader{
	font-size: 8pt;
	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;
}

.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;
}

.xapHeaderWrapper{
	border-left: 1px solid #999;
}

/* TABLE */

.xapTable{
	border: 1px solid #999;
	font-size: 8pt;
}

.xapTable td{
	font-size: inherit ;
}

/* TREE */

.xapTree{
	border: 1px solid #999;
	font-size: 8pt;
}

/* 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: 8pt;
}

/** 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;
}

.xapCell{
	padding-left: 2px;
	padding-right: 2px;
	white-space: nowrap;
}

.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 ;
}


