/*
 * Copyright 2007 The Australian National University
 * 
 * Licensed 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.
 */

body {
    margin-left:10px;
    margin-top:10px;
}

div#form {
    overflow:auto;
    position:absolute;
    left:10px;
    top:10px;
    height:690px;
    width:570px;
    padding:0px;
}

/* settings for default table formatting affects nlstree display - must use classes */
/* formatting tables containing controls - 3 columns, width of td styles should add up to table width */
table.nohighlight {
   font-family: Helvetica,Verdana,Arial,sans-serif;
   font-size: 13px;
   padding: 0px;
   width: 560px
}

/* backgound-color set to emphasise */
table.highlight {
   background-color: #e5cbd9;
   font-family: Helvetica,Verdana,Arial,sans-serif;
   font-size: 13px;
   padding: 0px;
   width: 560px
}

div#selectQuery {
    overflow:auto;
    width:560px;
    padding:0px;
}

tr {text-align:left}

/* table column widths */
td.col1 {
   width: 100px
}

td.col2 {
   width: 220px
}

td.col3 {
    width:240px
}

/* div for thesaurus */
div#thesaurus {
   border-left-color: grey;
   border-left-style: groove;
   border-left-width: 1px;
   color: #808080;
   font-family: Helvetica,Verdana,Arial,sans-serif;
   font-size: 10px;
   height: 680px;
   left: 580px;
   overflow: auto;
   padding: 0px 2px 2px 5px;
   position: absolute;
   top: 10px;
   visibility: hidden;
   width: 200px
}

div#help, div#helpAdvanced {
    position:absolute;
    left:580px;
    top:10px;
    width:200px;
    font-family:verdana,helvetica,sans-serif;
    font-size:8pt;
    color:#808080;
    margin-top:0px;
    padding:0px 2px 2px 10px;
    border-left-width:1px;
    border-left-style:groove;
    border-left-color:grey;
}

/* styles for Treeview used to display thesaurus */
.icon-book {
    padding-left: 20px; 
    background: transparent url(../images/book.png) no-repeat 0% 50%;
}

.icon-thesItem {
    padding-left: 20px; 
    background: transparent url(../images/leaf.gif) no-repeat 0% 50%;
}

.icon-folderClosed {
    padding-left: 20px; 
    background: transparent url(../images/folder.gif) no-repeat 0% 50%;
}

.icon-folderOpen {
    padding-left: 20px; 
    background: transparent url(../images/folderopen.gif) no-repeat 0% 50%;
}

/* font, font size, color for treeview nodes + move text down a bit in node */
.ygtvlabel {
    font-family: Helvetica,Verdana,Arial,sans-serif; 
    font-size: 8pt;
    color: #666666;
    text-align:right;
}

/* set vertical distance between nodes in the tree */
.ygtvtm, .ygtvtmh, .ygtvdepthcell, .ygtvlm, .ygtvlmh, .ygtvlp, .ygtvlph, .ygtvln, .ygtvtp, .ygtvtph {
    height: 20px;
}

/* gap between treeview nodes */
.ygtvblankdepthcell, .ygtvtn, .ygtvspacer {
    height: 18px;
}

/* hide +/- sign that appears to the left of the root node icon */ 
#ygtvt1, #ygtvt1 .ygtvspacer {
    width: 0px;
}

div#subtitle {
    font-family:Helvetica,Verdana,Arial,sans-serif;
    font-size:12pt;
    font-weight:bold;
    margin-bottom:15px;
    margin-left:50px;
    color:#994779;
}

div#noHits {
    font-family:Helvetica,Verdana,Arial,sans-serif;
    font-size:14px;
    font-weight:bold;
    margin-bottom:25px;
    color:#994779;
	width:560px;    
}

div#searchError {
    font-family:Helvetica,Verdana,Arial,sans-serif;
    font-size:14px;
    font-weight:bold;
    margin-bottom:25px;
    background-color:#f5a9a9;
	width:550px;    
	padding:1px 5px 1px 5px;
}

span.error {
    font-family:Helvetica,Verdana,Arial,sans-serif;
    font-weight:bold;
    color:red;
}

span.warning {
    font-family:Helvetica,Verdana,Arial,sans-serif;
    font-weight:bold;
    color:#c48189;
}