/*
** Zope3 style sheet for CSS2-capable browsers.
**
*/

/*
* { border: 1px dotted red }
*/


/* Basic Elements */

body {
    font: 85% Helvetica, Arial, sans-serif;
    background: White;
    color: Black;
    margin: 0;
    padding: 0;
/* These work in IE only, changes the look of the scrollbar + textareas */
    scrollbar-base-color: White;
    scrollbar-highlight-color: White;
    scrollbar-track-color: #F8F8F8;
    scrollbar-darkshadow-color: #F8F8F8;
    scrollbar-3dlight-color: #369;
    scrollbar-shadow-color: #369;
    scrollbar-arrow-color: Black;
}

table {
    font-size: 100%;
}

a {
    text-decoration: none;
    color: #369;
    background-color: transparent;
}

a[href]:active {
    text-decoration: underline;
}


table {

}


img {
    border: none;
    vertical-align: middle;
}

p {
    margin: 0.5em 0em 1em 0em;
    line-height: 1.5em;
}

p a:visited {
    color: Purple;
    background-color: transparent;
}

p a:active {
    color: Red;
    background-color: transparent;
}

p img {
    border: 0;
    margin: 0;
}


hr {
    clear: both;
    height: 1px;
    color: #369;
    background-color: transparent;
}


h1, h2, h3, h4, h5, h6 {
    color: Black;
    clear: left;
    font: 100% bold Verdana, Helvetica, Arial, sans-serif;
    margin: 0;
    padding-top: 0.5em;
/*    border-bottom: 1px solid #369; */
}

h1 {
    font-size: 160%;
}

h2 {
    font-size: 150%;
}

h3 {
    font-size: 140%;
}

h4 {
    font-size: 120%;
}

h5 {
    font-size: 100%;
}

h6 {
    font-size: 80%;
}

ul {
    line-height: 1.5em;
    /* list-style-image: url("bullet.gif"); */
    margin-left: 2em;
    padding:0;
}

ol {
    line-height: 1.5em;
    margin-left: 2em;
    padding:0;
}

dl {
}

dt {
    font-weight: bold;
}

dd {
    line-height: 1.5em;
    margin-bottom: 1em;
}


fieldset {
    border: 1px solid #A0A0A0;
    /*
    margin: 2em 0em 1em 0em;
    padding: 1em 0em;
    */
    margin: 0em 0em 2em 0em;
    padding: 0 1em 1em 1em;
}

legend {
    background: White;
    padding: 0.5em;
}


form {
    border: none;
    margin: 0;
}

textarea {
    color: Black;
    width: 88%;
    padding: 0.1em;
}

input {
    font: normal 100% Verdana, Helvetica, Arial, sans-serif;
    color: Black;
    vertical-align: middle;
    margin-bottom: 1px; /* IE bug fix */
    padding: 0.1em;
}

select {
    font: normal 100% Verdana, Helvetica, Arial, sans-serif;
    vertical-align: top;
}

abbr, acronym, .explain {
    border-bottom: 1px dotted Black;
    color: Black;
    background-color: transparent;
    cursor: help;
}

q {
    font-family: Times, "Times New Roman", serif;
    font-style: italic;
    font-size: 120%;
}

blockquote {
    font-family: Times, "Times New Roman", serif;
    font-style: italic;
    font-size: 120%;
}

code {
    font-size: 120%;
    color: Black;
    background-color: #CCCCCC;
}

pre {
    font-size: 120%;
    padding: 1em;
    border: 1px solid #A0A0A0;
    color: Black;
    background-color: #CCCCCC;
}

.netscape4 {
    display: none;
}


/*  Styles for xmltree
*/

#navtreecontents a {
       cursor: pointer;
       height: 20px;
}

#navtreecontents loading {
       display: block;
       padding-left: 31px;
       height: 18px;
}

#navtreecontents expand {
       background-repeat: no-repeat;
       padding-left: 14px;
       display: inline;
       cursor: pointer;
                }

#navtreecontents icon {
       background-repeat: no-repeat;
       padding-left: 20px;
       display: inline;
       cursor: auto;
                }

#navtreecontents collection {
       display: block;
       margin-left: 10px;
/*     border: red solid 1pt;  */
       height: auto;
}



/* Structural elements */

#header {
    background-color: #7c0b07;
    width:100%;
}

#site_name{
    position: absolute;
    top:0px;
    right:0px;
    color: white;
    font-size:24px;
    width:200px;
    height:40px;
}

#toolbar {
    border-bottom: 0.1em solid #7c0b07;
    width:100%;
    line-height:16pt;
}

#page_title {
    border-bottom:1px solid black;
    margin-bottom:0.3em;
    padding-left:10px;
    padding-bottom:5px;
    background-color:#f8f8d8;
    line-height:20px;
    font-weight:bold;
    font-size:20px;
    margin-top:5px;
    padding-top:4px;
    width:96%;
}

a.page{
    line-height:30px;
    width:100%;
    color:black;
}

li.page{
    list-style-type: none;
    line-height:30px;
    border-left: 3px solid #B45C19;
    padding-left:0px;
    margin-bottom:10px;
    width:130px;
    cursor: pointer;
    margin-left:3px;
}
div.page {
    padding-left:5px;
    background-color:#f8f8d8;
    margin-left:4px;
}

#body >p {
    text-align:justify;
    text-indent:15px;
    margin:0px 15px;
    padding:10px 0px;
}

div.event {
    border: 1px solid #B45C19;
    float:left;
    padding: 0px;
    width:60%;
    margin:10px 0px 5px 15px;
}

h3.event_title {
    margin:0px;
    padding-left:10px;
    padding-bottom:5px;
    background-color:#f8f8d8;
    font-size:85%;
    color:#a25502;
    font-weight:bold;
}

p.event_content, div.event >p {
    text-indent:10px;
    text-align: justify;
    padding:5px 10px 5px 10px;
    margin:0;
}

p.event_date {
    font-size:60%;
    color: gray;
    background-color:#ededb8;
    text-align:right;
    margin:0px;
}

div.periode {
    border: 2px groove #B45C19;
    float:left;
    padding: 0px;
    width:95%;
    margin:10px 0px 5px 15px;
}

h3.periode_title {
    margin:0px;
    padding-left:10px;
    padding-bottom:5px;
    background-color:#f8f8d8;
    font-size:100%;
    color:#a22802;
    font-weight:bold;
}

div.categorie {
    float:left;
    padding: Opx;
    margin:10px 0px 5px 15px;
    border-right: 1px solid #e8e8d8;
}

h4.categorie_title {
    margin:0px;
    padding-left:10px;
    padding-bottom:5px;
    background-color:#e8e8d8;
    font-size:100%;
    color:black;
    font-weight:normal;
}

div.chant {
    margin:10px;
    background-color: transparent;
    padding-bottom:5px;
    padding-left:5px;
    border-left: 2px groove #a22802;
}

div.chant >p {
    padding:0 0 0 5px;
    font-size:80%;
    margin:0px;
    border:0;
}

.chant_title {
    margin:0 0 0 15px;
    padding-left:-2px;
    padding-bottom:5px;
    background-color:transparent;
    font-size:90%;
    color:black;
    font-weight:normal;
    list-style-type: square;
    list-style-position: outside;
}


#global {
    border-bottom: 0.1em solid black;
    background-color:#deabaa;
    margin:0;
}

#global #userDetails {
    float:right;
    margin-top: 1.2em;
    padding-right: 0.5em;
}

#actions {
    background: #369;
    border-left: 1px solid #369;
    border-right: 1px solid #369;
    padding: 0.3em;
    color: Black;
    border-collapse: collapse;
}

#actions a {
    color: White;
    float: right;
    border-left: 1px dashed white;
    padding: 0 0.5em;
}

#actions a:hover {
    color: black;
    background-color: White;
}

#breadcrumbs {
    padding-top: 1px;
    padding-bottom: 1px;
    border: 1px solid #369;
    border-style: none none solid none;
    margin: 0;
}


#navigators {
    float: left;
    width:200px;
    padding: 1em 1em 0.5em 0.3em;
}
#navigators >ul {
    margin-left:10px;
}

#workspace {
    float: left;
    padding:10px 0px;
}

#content {
    float: left;
    /* width: 75%; */
}

#context_information {
    padding-top: 1em;
    width: 15%;
    float: left;
    padding-left: 0.5em;
}

#helpers {
}

#inspectors {
}

#footer {
    border-bottom: 1px solid black;
    float: left;
    clear: both;
    text-align:center;
    width:100%;
    border-top: 0.1em solid #7c0b07;
}

input.textType {
    width: 88%; /* Same as textarea */
}

input.editcheck {
    float:left;
    position:relative;
    top:1em;
}

div.row {
    padding-top: 1em;
}

/*
div.label {
    #clear: both;
    padding-top: 10px;
}
*/

/* div.row div.field doesn't appear to be selecting. div.row div
       is a workaround */
/* This seems to work in Firefox 1.0 and IE6. */

div.row div.field {
    clear: left;
    padding-top: 1px;
}

div.row div.label {
    background: #369;
    color: #fff;
    padding: 0.1em 0.5em 0.1em 0.5em; /* Same as .itemViews */
    border: 1px solid #369; /* Same as .itemViews */
	margin: 0;
    float: left;
    clear: both;
}

div.row span.error {
    background: red;
    color: white;
    padding: 0.1em 0.5em 0.1em 0.5em; /* Same as .itemViews */
    border: 1px solid red; /* Same as .itemViews */
	margin: 0;
    float: left;
    clear: both;
}

div.box {
    margin: 0em 0em 2em 0em;
    padding: 0em;
}

div.box h4 {
    background: #CCCCCC;
    border: 1px solid #CCCCCC;
    border-style: solid solid none solid;
    color: #808080;
    padding: 0.3em 1em;
    display: block;
    font-size: 1em;
    height: 1em;
    text-align: center;
}


div.box div.body {
    background: transparent;
    border-collapse: collapse;
    border: 1px solid #CCCCCC;
}

div.box .content {
    padding: 0.5em;
}

div.box h1,
div.box h2,
div.box h3,
div.box h4 {
    margin: 0;
}

div.box .even {
    background-color: #F8F8F8;
}

div.box .odd {
    background-color: White;
}


#metadata .label {
    font-size: 80%;
}

.itemViews {
    background: transparent;
    border-collapse: collapse;
    border-bottom: 1px solid #369;
    padding-top: 1px;
    padding-bottom: 1px;
    padding-left: 1em;
    margin-top: 0.8em;
    white-space: nowrap;
}

.itemViews a {
    background: transparent;
    border: 1px solid #369;
    color: Black;
    font-weight: normal;
    margin-right: 0.5em;
    padding: 0.1em 0.5em 0.1em 0.5em;
}

.itemViews a.selected {
    background: #369;
    border-bottom: #369 1px solid;
    color: White;
    font-weight: normal;
}


.itemViews a:hover {
    background-color: #369;
    color: White;
}

#viewspace {
    border-collapse: collapse;
    padding: 10px;
    margin: 0;
}

table.listingdescription, table.listing {
    /* The default table for document listings. Contains name, document types, modification times etc in a file-browser-like fashion */
    border-collapse: collapse;
    border-left: 1px solid #CCCCCC;
    border-bottom: 1px solid #CCCCCC;
    margin: 1em 0em 1em 0em;
/*    clear: both; */
}

table.listingdescription {
    width: 100%
}

table.listingdescription th, table.listing th {
    background: #CCCCCC;
    border-top: 1px solid #CCCCCC;
    border-bottom: 1px solid #CCCCCC;
    border-right: 1px solid #CCCCCC;
    color: #808080;
    font-weight: normal;
    padding: 0em 1em 0em 1em;
    white-space: nowrap;
}

table.listingdescription td.top, table.listing td.top {
    border-left: 1px solid White;
    border-top: 1px solid White ! important;
    border-right: 1px solid White ! important;
    text-align: right ! important;
    padding: 0em 0em 1em 0em;
    /* insane IE row bug workaround */
    position: relative;
    left: -1px;
    top: -1px;
}

table.listingdescription tr.odd, table.listing tr.odd {
    /*every second line should be shaded */
    background: White;
}

table.listingdescription tr.even, table.listing tr.even {
    background: #F8F8F8;
}


table.listing td {
    border-right: 1px solid #CCCCCC;
    padding: 0em 1em;
    text-align: left;
}


table.listingdescription img, table.listing img {
    vertical-align: middle;
}

table.listingdescription td {
    border-right: 1px solid #CCCCCC;
    padding: 5px;
    text-align: left;
}


/*colorize the matrix table used in grant.html*/
table.matrix td.default {
    background: green;
}


table.matrix td.changed {
    background: red;
}


div.spacer {
    clear: both;
}


.registrationSummary {
    margin-left: 2em;
    margin-bottom: 1em;
}
.registrationSummary .usageSummary {
    font-weight: bold;
}
.registrationSummary .modificationLink {
    display: block;
}


div.message {
    background: #FFCE7B;
    border: 1px solid #FFA500;
    color: Black;
    font: bold 80% Verdana, Helvetica, Arial, sans-serif;
    margin: 2em 0em 1em 0em;
    padding: 0.5em 1em;
    vertical-align: middle;
}

div.message a {
    color: Black;
}

/* Style for page error divs.  Use this for displaying errors for a
   page as a whole.
 */
div.page_error {
    background: #FFCE7B;
    font: bold 80% Verdana, Helvetica, Arial, sans-serif;
    padding: 0.5em 1em;
    vertical-align: middle;
}
