/* default CSS */
body         
{ 
    background: #EDEBE3;
    font-family: Verdana, Arial, Helvetica; 
    font-size: x-small;
    color: black; 
}

body.principal
{
    margin-top : 30px;
    margin-left : 20px;
}

h1,h2,h3,h4,h5,h6
{
    font-family: Verdana, Times New Roman, Times;
    color: rgb(0,102,153);
}

a:link,a:visited,a:hover,a:active 
{
    color: blue; 
}

table
{
    font-size:x-small;
}

table.border
{
   border : 1px solid #668CB3;
}

table.DRTable
{
    border : 0px;
    padding : 0px;
    border-spacing : 10px;
    border-collapse: collapse; 
}

tbody        
{ 
}

/* CSS for login and logout */
body.login         
{ 
    background: #FFFFFF;
/*    font-family: Verdana, Arial, Helvetica; 
    font-size: x-small;
    color: black; 
*/
}

/* main frame background to avoid white blink */
.mainframe
{ 
    background-color:#EDEBE3;
}
/* CSS for PQC table */

.PQCtable
{
    background-color: #EDEBE3; 
}

/* CSS for menu */

.menu_header, .menu_item, .menu_item_over, .menu_active_item, .qsearch
{
    width:140px;
}

.menu_header, .qsearch_header, .asearch_header, .tableheader
{
    background: #668CB3;
    color:white;
    font-weight:bold;
    padding-left:5px;
    height:15px;
}

.menu_item, .menu_item_over, .menu_active_item
{
    border: solid #4571A5;
    border-width: 0px 0px 1px 0px;
}


.menu_item, .qsearch
{
    background: #D3DFED;
}


.menu_item_over
{
    background: #A7BEDA;
}

.menu_active_item
{
    background: #6891C1;
}

.DRBigTitle         
{ 
    font-family: Tahoma, Verdana, Arial, Helvetica; 
    font-weight:bold;
    font-size: 14.0pt;
    color: #003366; 
}

.DRTitle         
{ 
    font-family: Tahoma, Verdana, Arial, Helvetica; 
    font-weight:bold;
    font-size: 10.0pt;
    color: #003366; 
}

.DRText         
{ 
    font-family: Tahoma, Verdana, Arial, Helvetica; 
    font-size: 10.0pt;
    color: #003366; 
    text-align : justify;
}

.DRLeftRow
{ 
    vertical-align: top;
}

.DRRigthRow
{ 
    vertical-align: top;
}


li.puces 
{
 list-style-type: none;
 background-image: url(../images/arrow_right.png);
 background-repeat: no-repeat;
 background-position: 0 3px;
 padding-left: 12px;
    font-family: Tahoma, Verdana, Arial, Helvetica; 
    font-size: 10.0pt;
    color: #003366; 
}

td.colpadding { padding: 12px; } 

td.colpaddingright { padding: 10px; } 

a.menu_link
{
    font-size: xx-small;
    text-decoration:none;
    width:80%;
}

a.menu_link:link,a.menu_link:visited
{
    color:black;
}

a.menu_link:hover 
{
    color:white;
    font-weight:bold;
}

a.menu_link:active 
{
}


/* CSS for login, logout */
#loginbox 
{     
    width:100px;
    color: rgb(255,255,255);  
    font-family: Verdana; 
    font-size: 8pt; 
}

#loginbox tr
{
   height:18px;
}

#loginbox a
{
    color: rgb(200,230,255);
    text-decoration:none; 
}

.loglab
{
    background: rgb(200,230,255);
    padding-left: 3em;
/*    text-align:right;*/
}

.logval           
{     
    background: rgb(230,230,230); 
}

/* CSS for forms */

input.btn 
{
  color:black;
  font: xx-small, 'trebuchet ms',helvetica,sans-serif;
  background-color:#fed;
  border: 1px solid;
  border-color: #696 #363 #363 #696;
  filter:progid:DXImageTransform.Microsoft.Gradient
  (GradientType=0,StartColorStr='#ffffffff',EndColorStr='#ffeeddaa');
}

input.btnhov 
{
  border-color: #c63 #930 #930 #c63;
}

input.txt, select.select
{
  color:black;
  font: x-small, Verdana, 'trebuchet ms',helvetica,sans-serif;
  background-color:white;
  border: 1px solid;
  
/*  border-color: #696 #363 #363 #696;*/
/*  filter:progid:DXImageTransform.Microsoft.Gradient
  (GradientType=0,StartColorStr='#ffffffff',EndColorStr='#DCE6FF');
*/}

.readonlyinput
{
    background: #D6D6D6;
}

/* CSS for quick search */

/* CSS for advanced search */
.asearch, .asearch_header 
{
    border: solid;
    border-color: #F0F0F0 #ACACAC #ACACAC #F0F0F0;
    clear: both;
    min-width:  1000px;
    width:expression(document.body.clientWidth < 1000 ? "1000px" : "auto" ); /* min width for IE */
}

.asearch_header 
{
    border-width: 2px 2px 0px 2px;
}

.asearch 
{
    border-width: 0px 2px 2px 2px;
    background: rgb(170,200,230); 
    padding: 1em;
}

/* CSS for datagrid */

table.datagrid
{
   border : 1px solid #668CB3;
}

.pager
{
    font-size:xx-small;
}

.columnheader, .darkrowvalue, .ligthrowvalue
{     
    font-size: xx-small; 
}

.columnheader           
{     
    background: rgb(200,230,255); 
}

.columnheader a
{
    width:100%;
    height:20px;
    text-decoration:none;
}

.columnheader a:hover
{
    color:white;
}

.darkrowvalue           
{     
    background: rgb(210,210,210);  
}

.ligthrowvalue           
{     
    background: rgb(255,255,255);  
}

/*.middlerowvalue           
{     
    background: rgb(240,240,240);  
    color: rgb(0,0,0);  
    font-family: Verdana; 
    font-size: 8pt;  
}
*/

/* CSS for view box */
.tableheader
{
    font-size: xx-small;
}

.fieldname           
{     
    background: rgb(200,230,255);
    padding-left: 1em; 
    font-size: xx-small;
}

.fieldvalue           
{     
    background: rgb(230,230,230); 
    padding-left: 1em; 
    font-weight: bold ;  
    font-size: xx-small;
}

.fieldDS           
{     
    background: rgb(230,230,230); 
    font-weight: bold ; 
    text-align: middle;
    vertical-align: middle;
}


/* CSS for summary box */
#inst_summary 
{
    border: 2px solid #666;
    clear: both;
    background: rgb(170,200,230); 
    border-color: #F0F0F0 #ACACAC #ACACAC #F0F0F0;
    padding: 1em;
    min-width:  1000px;
    width:expression(document.body.clientWidth < 1000 ? "1000px" : "auto" ); 
}

.summary_data_1, .summary_data_2
{
    font-weight:bold;
}

.summary_data_1
{
/*    font-size:14px;*/
}
.summary_data_color_1
{
    color:blue;
}

/* CSS for tabs */

#main 
{
    border: 1px solid #666;
    clear: both;
    background: rgb(170,200,230); 
    padding-top: 2em;
}

#contents 
{
    padding: 1.5em;
    background: rgb(250,250,250); 
    min-height: 300px;
    
/*  BUG Fix: position: relative conflicts with tooltip positioning under InstrumentData tabs content.   */
/*    position: relative;*/
    min-width:  1000px;
    width:expression(document.body.clientWidth < 1000 ? "1000px" : "auto" ); /* min width for IE */
}

#header 
{
    position: relative;
    width: 100%;
    height: 3em;
    width: 75em; /* a width is required for Opera, older Mozilla browsers, and Konqueror browsers */
}

#header ul#primary 
{
    margin: 0;
    padding: 0;
    position: absolute;
    bottom: -1px;
    width: 75em; /* a width is required for Opera, older Mozilla browsers, and Konqueror browsers */
}

#header ul#primary li  {
    display: inline;
    list-style: none;
}

#header ul#primary a,
#header ul#primary span

,#header ul#primary a.current 
{
    width: 8em;
    display: block;
    float: left;
    padding: 4px 0;
    margin: 1px 2px 0 0;
    text-align: center;
    font-family: tahoma, verdana, sans-serif;
    font-size: xx-small;
    text-decoration: none;
    color: #333;
}

#header ul#primary span

,#header ul#primary a.current
,#header ul#primary a.current:hover 

{
    border: 1px solid #666;
    border-bottom: none;
    background: rgb(170,200,230); 
    padding-bottom: 6px;
    margin-top: 0;
}

#header ul#primary a 
{
    border: 1px solid #AAA;
    background: rgb(220,250,255); 
    border-bottom: none;
}

#header ul#primary a:hover 
{
    margin-top: 0;
    border-color: #666;
    background: rgb(200,225,245); 
    padding-bottom: 5px;
}


/* css secondary not used */
#header ul#secondary {
    position: absolute;
    margin: 0;
    padding: 0;
    bottom: -1.4em;
    left: 1px;
    width: 50em; /* a width is required for Opera, older Mozilla browsers, and Konqueror browsers */
}

#header ul#secondary li a,#header ul#secondary li span {
    width: auto;
    display: block;
    float: left;
    padding: 0 10px;
    margin: 0;
    text-align: auto;
    border: none;
    border-right: 1px dotted #AAA;
    background: none;

}

#header ul#secondary li a {
    color: #06C;
    text-decoration: underline;
}

#header ul#secondary li a:hover {
    color: #333;
    background: transparent;
    padding: 0 10px;
    border: none;
    border-right: 1px dotted #AAA;
}

#header ul#secondary li a:active {
    color: #000;
    background: transparent;
}

#header ul#secondary li:last-child a { border: none; }

/* CSS for tooltip */
.tooltip
{
    position:absolute;
    display:none;
    background:#FFFFC0;
    width:150px;
    z-index:10;
    
    left:0px;
    top:0px;
    border: thin dashed #D0D0D0;
}

.instrtooltip
{
    position:absolute;
    display:none;
    background:#FFFFC0;
    width:250px;
    z-index:10;
    
    left:0px;
    top:0px;
    border: thin dashed #D0D0D0;
}

.instrtooltiptable
{
    font-family: Verdana, Arial, Helvetica; 
    font-size: xx-small;
}

.instrtooltipfield
{
    text-align: right;
}

.instrtooltipfielddark
{
    text-align: right;
    background: rgb(210,210,210);
}

.instrtooltipfieldvaluedark
{
    background: rgb(210,210,210);
}


#dhtmltooltip
{
    position: absolute;
    width: 150px;
    border: 2px solid black;
    padding: 2px;
    background-color: lightyellow;
    visibility: hidden;
    z-index: 100;
    /*Remove below line to remove shadow. Below line should always appear last within this CSS*/
    filter: progid:DXImageTransform.Microsoft.Shadow(color=gray,direction=135);
}


/*
CSS for dynamic template form where maintable must have properties: class="maintable" id="maintable"
*/
.maintable {
   border : thin dashed #D0D0D0;
   background-color : #EEE;
}

#maintable td, #maintable th,#maintable  b {
   font-family: sans-serif;
   font-size :x-small;
}

#maintable td,#maintable  th {
   color : Navy;
   white-space: nowrap;
}

#maintable .header {
   color : #FFF;
   background-color: rgb(95,139,192);
   text-align: center;
}


.menutitle
{           
    background: rgb(200,230,255); 
    color: rgb(0,0,0); 
    font-family: Verdana; 
    font-size: 8pt; 
    font-weight: bold ; 
}

.menuitem
{           
    background: rgb(230,230,230); 
    color: rgb(0,0,0); 
    font-family: Verdana; 
    font-size: 8pt; 
}


.fieldvaluelight           
{     
    background: rgb(230,230,230); 
    color: rgb(250,250,250); 
    font-family: Verdana; 
    font-size: 8pt;  
}

.PQCRunTitle
{ 
    font-family: Verdana; 
    font-size: 11pt; 
    font-weight: bold 
}
      
/* CSS for suggest      */
#hints { 
    width : 300px; 
    border-style:solid;
    border-width:1px;
    border-color:black;
    background-color:white; 
    display:none; 
    }
    
.hint { 
    width : 100%; 
    background-color:white; 
    color:black;
    font-family : Arial, sans-serif; 
    font-size : 13px; 
    cursor:pointer;
    }