/*  Reset CSS -> Thanks to Eric A. Meyer */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-weight: inherit;
    font-style: inherit;
    font-size: 100%;
    font-family: inherit;
    vertical-align: baseline;
}


table, caption, tbody, tfoot, thead, tr, th, td     {
    vertical-align : top;
}

:focus {
    outline: 0;
}

html, body {
    font-size: 12px;
    font-family: Verdana, Arial, sans-serif;
    line-height: 1;
    color: #000;
    background-color: #fff3f3;
/*	#fdfaf0; */
/* zh    overflow-y: scroll; */
}

ol, ul {
    list-style: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

td  {
    vertical-align : top;
}

caption, th, td {
    text-align: left;
    font-weight: normal;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: "";
}

blockquote, q {
    quotes: "" "";
}

strong {
    font-weight: bold;
}

/**
 * clearfix
 */
.cf:before,
.cf:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.cf:after {
    clear: both;
}
.cf {
    zoom: 1;
}

h1{
    font-size: 2.2em;
}

h2{
    font-size: 2.0em;
}
h3{
    font-size: 1.8em;
}
h4{
    font-size: 1.6em;
}
h5{
    font-size: 1.4em;
}
h6{
    font-size: 1.2em;
}
/*label, input, li{
    font-size: 1.1em;   
}*/
label, input{
    font-size: 1.1em;   
}
li{
    font-size: 0.9em;   
}

#wrapper{
    margin: auto;
    width: 95%; /*70%*/
}
header{
 padding-top: 10px;   
}
#sectionHeader, .selectedQuery{
    padding-bottom: 10px; /*50px*/
}
#sectionHeader h2{
    font-size: 0.9em;
	margin-top: 5px;
}
/* Login page */
#content form{
    width: 340px;
}
#content #usernameWrapper,
#content #passwordWrapper{
    padding-bottom: 20px;
}

#content #loginForm input{
    float: right;
}


/*Filter Data*/
#fieldsWrapper{
    width: 100%;
    height: 250px; /*300*/
    margin-bottom: 30px;
}
#fieldsWrapper .ui-jqgrid-titlebar{
    padding: 5px;
}
#allFields{
    float: left;
    height: 100%;
    width: 16%;
}

#selectArea{
    float: right;
/*    height: 100%; */
    height: 92%;
    width: 82%;
    overflow-y: scroll; /* zh */
    background-color : #fff0f0; /*  zh */
}

.headerField{
    width: 18%;
    height: 100%;
    float: left;
/*    margin-right: 1%;*/
	margin-left: 10px; 
	margin-top: 10px;
}
.headerField:last-of-type{
    margin-right: 0;
}
.fieldRow{
    padding: 5px;
}
#fieldsWrapper .contentWrapper{
    overflow-y: scroll;
/* zh    height: 92%; */
    height: 90%;
}

/*ul.content li.ui-widget-content.selected {
	background: #b48000;
}

ul.content li.ui-widget-content.available {
	background: #ffffc8;
}

ul.content li.ui-widget-content.not_available {
	background: #c8c8c8;
	color: red;
}*/
/* + zh */
ul.content li.ui-widget-content.domain {
	background: #0080c0;
	color: #ffffff;	font-weight: bold;
	font-style: italic;
	cursor: auto;
}

ul.content li.ui-widget-content.field {
	background: #ffffff;
	color: #000000;
	cursor: auto;
}

ul.content li.ui-widget-content.fact {
	background: #f0f0f0;
	color: #000000;
	cursor: auto;
	font-style: italic;
}

ul.content li.ui-widget-content.selected_field {
	background: #aaaaaa;
	color: #000000;
	cursor: progress;
}

ul.content li.ui-widget-content.excluded { /* E */
	background: #c8c8c8;
	color: red;
}
ul.content li.ui-widget-content.optional { /* O */
	background: #ffffff;
	color: #000000;
}
ul.content li.ui-widget-content.selected { /* S */
	background: #b48000;
	color: #000000;
	font-weight: bold;
	font-style: italic;
}
ul.content li.ui-widget-content.fetched_excluded { /* F */
	background: #ffffc8;
	color: red;
}
ul.content li.ui-widget-content.fetched_optional { /* H */
	background: #ffffc8;
	color: #000000;
}

/*cursor*/
.proceed {
	cursor: progress
}
/* - zh */


input.ui-button {
	margin-bottom: 10px;
}

footer {
    font-size: 0.8em;
}

/* + zh */
.collapsibleList li > input + * {
 display: none;
}
 
.collapsibleList li > input:checked + * {
 display: block;
}

.collapsibleList li > input {
 display: none;
}

.collapsibleList label {
 cursor: pointer;
}

.rubric {
	color: #5da5da;
	font-size: 16px;
}
.subrubric {
	color: #0000ff;
	font-size: 14px;
	padding-left: 30px;
}
/*Query Selector*/
.queryUL{
/*    padding-bottom: 30px; */
    list-style-type: square;
    width: 90%;
	margin-left: 15px;
}
.queryUL li{
 	color: #000000;
   border: 1px solid #fff;
    padding: 5px;
    cursor: pointer;
}
.queryUL li:hover,
.queryUL li.selected{
    border: 1px solid #d3d3d3;
    background: #e6e6e6 url("images/ui-bg_glass_75_e6e6e6_1x400.png") 50% 50% repeat-x; 
}
.qDesc {
 	color: #8c8c8c;
    padding-left: 30px;
    padding-bottom: 5px;
    font-size: 0.9em;   
}
            tab1 { padding-left: 4em; }
            tab2 { padding-left: 8em; }
            tab3 { padding-left: 12em; }
            tab4 { padding-left: 16em; }

/* - zh */

