/*
##################################################

FLIWAS Component: GuiGuideline

Copyright 2005, Leiner & Wolff GbR
 
Author: Nicola Kaiser, kaiser@leiner-wolff.de

##################################################
Version: 1.0 

Thanks to plone (http://www.plone.org/) and the tango desktop project (http://tango-project.org/Tango_Desktop_Project) for some of the icons and pieces of the stylesheet
*/
/* ========= gerneral stuff ====== */
body,td,th,p,li,a{
    font-family:Verdana,Helvetica,Arial,sans-serif;
    font-size: 8pt;
}
a{
    text-decoration: none;
    color: #436976; 
}
a:hover{
    color: #436976;
    text-decoration: underline;
}
a.highlighted{
    color: #436976;
    text-decoration: none;
    background-color: #edf3fe;
    padding: 2px;
}
a:active{
    color: #436976;
    text-decoration: none;
    background-color: #edf3fe;
    padding: 2px;
}
h1{
    font-size: 12pt;
    font-weight: normal;
}
h2{
    font-size: 10pt;
    font-weight: normal;
}
h3{
    font-size: 8pt;
    font-weight: bold;
}
h4{
    font-size: 10pt;
    font-weight: normal;
    padding-top:0em;
    margin-top:0em;
}
img{
    border: none;
}
img.scaleable{
    /*width: 1em;
    height: 1em;*/
}
fieldset {
    border: 1px solid #8cacbb;
    margin: 0.5em; /*1em*/ /*0em 1em 0em;*/
    padding: 0em 1em 1em 1em;
    line-height: 1.5em;
    width: auto;
}
legend {
    background: White;
    margin: 0.5em;
    padding: 0.5em;
    font-size: 9pt;
}
ul{
    list-style-image: url(../dll/icons/bullet.gif);
}
li{
    padding-bottom:0.3em;
    padding-top:0.3em;
}

form {
    border: none;
    margin-top: 0em;
    margin-bottom:0em;
    margin-right:0.5em;
    margin-left: 0.5em;
    font-size: 8pt;
}
/*only checkboxes remain normal -> are dreadful in ie */
input.default { 
    font-family: Verdana, Helvetica, Arial, sans-serif;
    visibility: visible;
    border: 1px solid #8cacbb;
    color: Black;
    background-color: white;
    vertical-align: middle;
    font-size: 8pt; 
    padding:0.2em;
   
}
input.noborder{ 
    font-family: Verdana, Helvetica, Arial, sans-serif;
    visibility: visible;
    color: Black;
    background-color: white;
    vertical-align: middle;
    font-size: 8pt; 
    padding:0.2em;
   
}

select {
    font-family: Verdana, Helvetica, Arial, sans-serif;
    font-size: 8pt;
    border: 1px solid #8cacbb;
    color: Black;
    background-color: White;
    vertical-align: middle;
}
textarea {
    border: 1px solid #8cacbb;
    color: Black;
    background-color: white;
    font-size: 8pt;
    /*width: 100%;*/
    padding:0.2em;
}

/* ========= tabbing widget ====== */
ul.appl-tabs {
    /* tabs for navigation within a application*/
    background-color: transparent;
    padding: 0em 0em 0em 2em;
    white-space: nowrap;
    list-style: none; /* no bullets */
    margin: 0	;
    height: auto;
}
li.appl-tabs_unselected{
    display: inline;/*horizontal*/
    }
li.appl-tabs_selected{
    display: inline;
}
li.appl-tabs_deactivated{
    display: inline;

}
li.appl-tabs_unselected a{
     /* Tabs which can crrently not be accesed, probably due to missing permissions; no links */
    background-color: transparent;
    border-color: #8cacbb;    
    border-width: 1px; 
    border-style: solid solid none solid; /* top right bottom left */
    color: #436976;
    height: auto;
    margin-right: 0.5em; /*distance between tabs*/
    padding: 0em 1.5em ;
    text-decoration: none;
    font-size: 9pt;
}
li.appl-tabs_unselected a:hover{
    background-color: #dee7ec;
    border-color: #8cacbb;    
    border-width: 1px; 
    border-style: solid solid none solid; /* top right bottom left */
    color: #436976;
    height: auto;
    margin-right: 0.5em; /*distance between tabs*/
    padding: 0em 1.5em ;
    text-decoration: none;
    font-size: 9pt;
}
li.appl-tabs_unselected a:active{ /*need this just for ms-ie*/
    background-color: #dee7ec;
    border-color: #8cacbb;    
    border-width: 1px; 
    border-style: solid solid none solid; /* top right bottom left */
    color: #436976;
    height: auto;
    margin-right: 0.5em; /*distance between tabs*/
    padding: 0em 1.5em ;
    text-decoration: none;
    font-size: 9pt;

}
li.appl-tabs_deactivated a{  
    background-color: transparent;
    border-color: #aaa;
    border-width: 1px; 
    border-style: solid solid none solid;     color: #999;
    height: auto;
    margin-right: 0.5em; /*distance between tabs*/
    padding: 0em 1.5em ;
    text-decoration: none;
    font-size: 9pt;
}
li.appl-tabs_deactivated a:hover{  
    background-color: transparent;
    border-color: #aaa;
    border-width: 1px; 
    border-style: solid solid none solid;     color: #999;
    height: auto;
    margin-right: 0.5em; /*distance between tabs*/
    padding: 0em 1.5em ;
    text-decoration: none;
    font-size: 9pt;
}
li.appl-tabs_deactivated a:active{  
    background-color: transparent;
    border-color: #aaa;
    border-width: 1px; 
    border-style: solid solid none solid;     color: #999;
    height: auto;
    margin-right: 0.5em; /*distance between tabs*/
    padding: 0em 1.5em ;
    text-decoration: none;
    font-size: 9pt;
}

li.appl-tabs_selected a{
    /* The selected tab. There's only one of this */
    background-color: #dee7ec;
    border: 1px solid #8cacbb;
    border-bottom: #dee7ec 1px solid;
    color: #436976;
    height: auto;
    margin-right: 0.5em; /*distance btw tabs*/
    padding: 0em 1.5em ;
    text-decoration: none;
    font-size: 9pt;
}
li.appl-tabs_selected a:hover{
    /* The selected tab. There's only one of this */
    background-color: #dee7ec;
    border: 1px solid #8cacbb;
    border-bottom: #dee7ec 1px solid;
    color: #436976;
    height: auto;
    margin-right: 0.5em; /*distance btw tabs*/
    padding: 0em 1.5em ;
    text-decoration: none;
    font-size: 9pt;
}
li.appl-tabs_selected a:active{
    /* The selected tab. There's only one of this */
    background-color: #dee7ec;
    border: 1px solid #8cacbb;
    border-bottom: #dee7ec 1px solid;
    color: #436976;
    height: auto;
    margin-right: 0.5em; /*distance btw tabs*/
    padding: 0em 1.5em ;
    text-decoration: none;
    font-size: 9pt;
}

div.tabs_bottom_border {
    background-color: #dee7ec;
    border-color: #8cacbb;
    border-style: solid solid none solid;
    border-width: 1px;
    line-height: 1.2em;
    padding: 0.2em 0.7em 0.2em 0.7em;
    margin: 0em;
    text-align: right;
}
div.tabs_frame {
    background-color: #ffffff; 
    border-color: #8cacbb; 
    border-style: solid solid solid solid;
    border-width: 1px;
    padding: 0.5em;
    margin: 0em;
}
/* ========= dataGrid widget ====== */
div.datagrid_container_noscroll{ 
    overflow: visible;
    margin: 0.5em;
    padding: 0em;
}
p.datagrid_batch{
  color: #363636;
  font-size: 8pt;
  text-align: center;
}
p.datagrid_batch a{
    color:#436976;
    font-size: 8pt;
}
p.datagrid_batch a:hover{
    color: #8cacbb;
}
table.datagrid{
   background-color: #dee7ec;
   padding:0em;
   margin:0em;
}
th.datagrid_unselected a{
  color: #436976; 
  text-decoration: none;
}
th.datagrid_unselected A:hover{
  color: #8cacbb; 
  text-decoration: none;
}
th.datagrid_selected a{
  color: #436976; 
  text-decoration: none;
}
th.datagrid_selected a:hover{
  color: #ffffff;
  text-decoration: none;
}
th.datagrid_unselected{
    background-color: #ffffff;
    padding: 6px;
}
th.datagrid_selected{
    background-color:#dee7ec;
    padding: 6px;
}
td.datagrid_unselected{
    color: #000000;
    background-color: #ffffff;
    padding: 6px;
}
td.datagrid_selected{
    color: #000000;
    background-color: #ffffff; 
    padding: 6px;
}
td.datagrid_highlighted{
    background-color: #edf3fe; 
    padding: 6px;
}
td.datagrid_shaded{
    background-color: #edf8ff;
    padding: 6px;
}
td.tableHeader{
    font-size: 12pt;
    font-weight: bold;
    padding-left: 0.7em;
}

 
.datagrid_sort_img_default{
    margin-left:6px;
}
/* ========= namedGoup widget ====== */
/* new tab-like named group taken from plone and slightly altered */
div.namedGroup {
    border: none;
    margin-bottom: 1em;
    padding: 0em;
    margin:0.5em;
    margin-top: 1em;
}
div.namedGroup h4 { 
    background-color: #dee7ec;
    border: 1px solid #8cacbb;
    border-bottom: #dee7ec 1px solid;
    padding: 0.2em 1em 3px 1em;
    display: inline;
    font-size: 9pt;
    font-weight: normal;
    white-space: nowrap;
    position: relative;
    top: -1px;
    margin:0em;
}
div.namedGroupBody {
    position: relative;
    top: 2px;
    background: transparent;
    border: 1px solid #8cacbb;
    margin:0em;
    padding:0.5em;
}
/*legend is now namedGroupReduced*/
div.highlighted {
    background-color: #edf3fe; 
    border: 1px solid #8cacbb;
    line-height: 1.2em;
    margin:0.5em;
    padding:0.5em;
}
/* ========= form widget ====== */
.formListing td{
    line-height: 0.5em;
    padding-right: 0.5em;;
}

table.formTable th{
    font-size: 8pt;
    font-weight: bold;
    line-height: 2em;
}
td.formLabel{
    text-align: right;
    padding-right: 0.5em;
}
td.formField{
    text-align: left;
    padding-right: 0.5em;
}

/* ========= form Buttons ========= */
.button{
    margin-bottom: 1px ! important;
    background: #edf3fe;
    cursor: pointer;
    font-size: 8pt;
    padding: 1px 1px 1px 15px;
    text-transform: lowercase;
    font-family: Verdana, Helvetica, Arial, sans-serif;
    visibility: visible;
    border: 1px solid #8cacbb;
    color: Black;
    vertical-align: middle;
}
.buttonDelete{
    margin-bottom: 1px ! important;
    background: #edf3fe url(../dll/icons/trash.gif)/*url(../icons/delete.gif)*/ 2px 2px no-repeat;
    cursor: pointer;
    font-size: 8pt;
    padding: 1px 1px 1px 15px;
    text-transform: lowercase;
    font-family: Verdana, Helvetica, Arial, sans-serif;
    visibility: visible;
    border: 1px solid #8cacbb;
    color: Black;
    vertical-align: middle;

}
.buttonUndo{
    margin-bottom: 1px ! important;
    background: #edf3fe url(../dll/icons/undo.gif) 2px 2px no-repeat;
    cursor: pointer;
    font-size: 8pt;
    padding: 1px 1px 1px 15px;
    text-transform: lowercase;
    font-family: Verdana, Helvetica, Arial, sans-serif;
    /*visibility: visible;*/
    border: 1px solid #8cacbb;
    color: Black;
    vertical-align: middle;
}
.buttonSearch{
    margin-bottom: 1px ! important;
    background: #edf3fe url(../dll/icons/search.gif) 2px 2px no-repeat;
    cursor: pointer;
    font-size: 8pt;
    padding: 1px 1px 1px 15px;
    text-transform: lowercase;
    font-family: Verdana, Helvetica, Arial, sans-serif;
    visibility: visible;
    border: 1px solid #8cacbb;
    color: Black;
    vertical-align: middle;
}
.buttonHelp{
    margin-bottom: 1px ! important;
    background: #edf3fe url(../dll/icons/help.gif) 2px 2px no-repeat;
    cursor: pointer;
    font-size: 8pt;
    padding: 1px 1px 1px 15px;
    text-transform: lowercase;
    font-family: Verdana, Helvetica, Arial, sans-serif;
    visibility: visible;
    border: 1px solid #8cacbb;
    color: Black;
    vertical-align: middle;
}
.buttonProfile{
    margin-bottom: 1px ! important;
    background: #edf3fe url(../dll/icons/profile.gif) 2px 2px no-repeat;
    cursor: pointer;
    font-size: 8pt;
    padding: 1px 1px 1px 15px;
    text-transform: lowercase;font-family: Verdana, Helvetica, Arial, sans-serif;
    visibility: visible;
    border: 1px solid #8cacbb;
    color: Black;
    vertical-align: middle;
}
.buttonApply{
    margin-bottom: 1px ! important;
    background: #edf3fe url(../dll/icons/execute.gif) 2px 2px no-repeat;
    cursor: pointer;
    font-size: 8pt;
    padding: 1px 1px 1px 15px;
    text-transform: lowercase;font-family: Verdana, Helvetica, Arial, sans-serif;
    /*visibility: visible;*/
    border: 1px solid #8cacbb;
    color: Black;
    vertical-align: middle;
}
.buttonCancel{
    margin-bottom: 1px ! important;
    background: #edf3fe url(../dll/icons/undo.gif) 2px 2px no-repeat;
    cursor: pointer;
    font-size: 8pt;
    padding: 1px 1px 1px 15px;
    text-transform: lowercase;font-family: Verdana, Helvetica, Arial, sans-serif;
    visibility: visible;
    border: 1px solid #8cacbb;
    color: Black;
    vertical-align: middle;
}
.buttonAdd{
    margin-bottom: 1px ! important;
    background: #edf3fe url(../dll/icons/add.gif) 2px 2px no-repeat;
    cursor: pointer;
    font-size: 8pt;
    padding: 1px 1px 1px 15px;
    text-transform: lowercase;font-family: Verdana, Helvetica, Arial, sans-serif;
    visibility: visible;
    border: 1px solid #8cacbb;
    color: Black;
    vertical-align: middle;
}
.buttonEdit{
    margin-bottom: 1px ! important;
    background: #edf3fe url(../dll/icons/pencil.gif) 2px 2px no-repeat;
    cursor: pointer;
    font-size: 8pt;
    padding: 1px 1px 1px 15px;
    text-transform: lowercase;font-family: Verdana, Helvetica, Arial, sans-serif;
    visibility: visible;
    border: 1px solid #8cacbb;
    color: Black;
    vertical-align: middle;
}
.buttonPlay{
    margin-bottom: 1px ! important;
    background: #edf3fe url(../dll/icons/Play.gif) 2px 2px no-repeat;
    cursor: pointer;
    font-size: 8pt;
    padding: 1px 1px 1px 15px;
    text-transform: lowercase;font-family: Verdana, Helvetica, Arial, sans-serif;
    visibility: visible;
    border: 1px solid #8cacbb;
    color: Black;
    vertical-align: middle;
}
.buttonPause{
    margin-bottom: 1px ! important;
    background: #edf3fe url(../dll/icons/Pause.gif) 2px 2px no-repeat;
    cursor: pointer;
    font-size: 8pt;
    padding: 1px 1px 1px 15px;
    text-transform: lowercase;font-family: Verdana, Helvetica, Arial, sans-serif;
    visibility: visible;
    border: 1px solid #8cacbb;
    color: Black;
    vertical-align: middle;
}
.buttonRefresh{
    margin-bottom: 1px ! important;
    background: #edf3fe url(../dll/icons/refresh.gif) 2px 2px no-repeat;
    cursor: pointer;
    font-size: 8pt;
    padding: 1px 1px 1px 15px;
    text-transform: lowercase;font-family: Verdana, Helvetica, Arial, sans-serif;
    visibility: visible;
    border: 1px solid #8cacbb;
    color: Black;
    vertical-align: middle;
}
.buttonFile{
    margin-bottom: 1px ! important;
    background: #edf3fe url(../dll/icons/Folder.gif) 2px 2px no-repeat;
    cursor: pointer;
    font-size: 8pt;
    padding: 1px 1px 1px 15px;
    text-transform: lowercase;font-family: Verdana, Helvetica, Arial, sans-serif;
    visibility: visible;
    border: 1px solid #8cacbb;
    color: Black;
    vertical-align: middle;
}
.buttonUp{
    margin-bottom: 1px ! important;
    background: #edf3fe url(../dll/icons/arrow_up.gif) 2px 2px no-repeat;
    cursor: pointer;
    font-size: 8pt;
    padding: 1px 1px 1px 15px;
    text-transform: lowercase;font-family: Verdana, Helvetica, Arial, sans-serif;
    visibility: visible;
    border: 1px solid #8cacbb;
    color: Black;
    vertical-align: middle;
}
.buttonDown{
    margin-bottom: 1px ! important;
    background: #edf3fe url(../dll/icons/arrow_down.gif) 2px 2px no-repeat;
    cursor: pointer;
    font-size: 8pt;
    padding: 1px 1px 1px 15px;
    text-transform: lowercase;font-family: Verdana, Helvetica, Arial, sans-serif;
    visibility: visible;
    border: 1px solid #8cacbb;
    color: Black;
    vertical-align: middle;
}

/* ========= staticText widget ====== */
.staticText{
    background-color: #dee7ec;
    padding: 0.5em 1em 0.5em 1em;
    margin: 0.5em;
    text-align: center;
}
/* ========= text widget ====== */
.ttext{
    margin: 0.5em;
    padding:0.5em; 
    margin-bottom: 1em;
}
.ttext h1{
    border-color: #8cacbb;
    border-width: 1px; 
    border-style: none none solid none; 
    padding: 0em 0em 0.1em 0em;
}
/* ========= pictures ====== */
.picture{
    margin: 0.5em;
    padding: 0em;  
    text-align:center;
}
.picture img{
    padding: 0em 0em 0.5em 0em;
}  
/* ========= linkList widget =======*/
ul.linkList{
    padding-left:0.7em;  
    margin-left:1em;
}
.linkList li{
    padding-left:0em;
    padding-bottom:0.1em; 
    padding-top:0.1em;
}
/* links with document icons are trees (tables)*/
/* ========= diagram widget ====== */
.diagram{
    text-align: center;
    margin-top: 0em; 
    margin-bottom: 0.5em;
    margin-left:0em;
    margin-right:0em;
    padding:0em;
    overflow: auto; 
}
/*size of diagram is given by the actual image (gnuplot-output)*/
/* ========= map widget ====== */
table.mapFrame{
    border: #8cacbb 1px solid;
}
img.map{
    margin: 0.5em;
    border: #8cacbb 1px solid;
    padding:0em;
}
p.mapNav{
    margin:0em;
    padding:0em;
    text-align: center;
}
p.mapButtons{
    text-align: right;
    padding-left: 0.5em;
    padding-right:0.5em;
}
div.mapLevels{
    margin: 1em; 
    padding:1em;
}
td.legendLabel{
    text-align: right;
    padding-left:3em;
}
table.legend{
    margin: 0.5em;
    padding:0.5em;
}

td.timebar_unselected{
    background-color: #edf3fe;
}
td.timebar_selected{
    background-color: #8cacbb;
}

/* ========= fold widget ====== */
a.fold {
    color: #436976;
    font-size: 9pt;
    line-height: 2em;    
}
a:hover.fold{
    color: #436976;
    text-decoration: underline;
    font-size: 9pt;
}
a.foldOpen{
    color: black;
    text-decoration: none;
    font-size: 9pt;
}
a:hover.foldOpen{
    color: #436976;
    text-decoration: underline;
    font-size: 9pt;
}
fieldset.foldOpen{
    margin-left: 2em; 
    margin-top: -2.5em; 
    margin-bottom: 2em;
}
div.fold{
    margin-top:1em;
    margin-bottom:0.5em;
    margin-left:0.5em;
    margin-right:0em;
    padding:0em;
}

.error {
    color: red;
}

.posthidden{
    display : none;
    visibility: hidden;
}
.postshow{
    display : inline;
    visibility: visible;
}


