/* -------------------------------------------------------------------
dawn.css

This is the main stylesheet for the Dawn application.
------------------------------------------------------------------- */

/* -------------------------------------
General appearance
------------------------------------- */

body {
  margin:0px;
  padding:0px;
  background:white url('images/body_back.png') repeat-y;
  font-family: Verdana, sans-serif;
  font-size: 12px;
}

body.subwin {
  background:white url('images/subwin_back.png') repeat-y;
}

h1 { margin: 5px 0px; font-size: x-large; }

h2 { margin: 10px 0px 5px; font-size: large; }

h3 { font-size: medium; }

p { margin: 12px 0px; }

dt { font-weight:bold }

.instruct {
  font-style: italic;
}

.bodynav {
  font-weight: bold;
}

.error {
  color: red;
  font-weight: bold;
}

.message {
  color: green;
  font-weight:bold;
}

.disabled {
  color: gray;
}

.fld_calc {
  background:#faf0d5
} /* Calculated field, will be dynamically updated by javascript */

.fld_calcerr {
  background:#ffb6c1
} /* Calculated field with a dependency problem */

.fld_calcctl {
} /* Field that controls at least on calculated field */

.fld_normal {
} /* Normal field */

.fld_view {
  background:#faf0d5
} /* View-only field, will not change after page load */

.box_subject {
  margin:5px 10px 5px 0px;
  border:1px solid #faf0d5;
  background:#8d5b90;
} /* subject box. can't set padding here (conflicts with '#sidebar div') */

.box_comp {
  border:solid #7b3e81 1px;
  padding:2px;
  background:#faf0d5;
  font-size:medium;
} /* Comparable box */

.must_see {
  color:white;
  background:red;
  font-weight:bold;
}

.datatable { background:#e7ddf9; } /* use on tr or tbody */
.datatable2 { background:#fff1bf; }
.tblhead {
  background:#fff1bf;
  font-weight:bold;
  font-size:larger;
  color:#7b3e81;
} /* heading row in edit property */

fieldset { margin-bottom:12px; }

td.sum { border-top:solid 1px black; }

#sitemap ul {
  list-style: none;
  padding-left: 0px;
  margin-left: 0px;
}
#sitemap li {
  padding-left: 17px;
}
#sitemap ul li.link {
  background: url('images/linkicon.png') no-repeat 0 3px;
}
#sitemap ul li.page {
  background: url('images/pageicon.png') no-repeat 0 3px;
}
#sitemap ul li.form {
  background: url('images/formicon.png') no-repeat 0 3px;
}
#sitemap ul li.menu {
  padding-top: 10px;
  background: url('images/menuicon.png') no-repeat 0 13px;
}
#sitemap ul li.formp {
  background: url('images/formpicon.png') no-repeat 0 3px;
}

/* -------------------------------------
Layout elements, which nest as follows:
masthead
content
  sidebar
  mainbar
    topbar
    spacebar
    footer
------------------------------------- */

#masthead {
  width: 100%;
  position: absolute; left: 0px; top: 0px;
  border-bottom: 1px solid #7b3e81;
  color:#7b3e81;
  background:#ecb90e url('images/mast_back.png') repeat-y;
}

#subwinhead {
  position: fixed; left: 0px; top: 0px;
  width: 100%;
  z-index: 1;
  border-bottom: 1px solid #7b3e81;
  background:#ecb90e url('images/mast_back.png') repeat-y;
}

#subwinmain {
  position: absolute; top: 41px; left: 0px;
}

.mastlink {
  float:right;
  padding-right:15px;
  padding-top:50px;
}

#content {
  width: 100%;
}

#sidebar {
  position: absolute; left: 0px; top: 101px;
  width: 230px;
  font-weight: bold;
  padding:5px;
  color:white;
}

#mainbar {
  position: absolute; top: 101px; left: 240px;
  background:white url('images/main_back.png') repeat-y;
}

#topbar {
  font-weight: bold;
  padding: 3px 10px;
  border-bottom: 1px solid #7b3e81;
}

#spacebar {
  padding: 0px 10px;
}

#footer {
  margin: 10px 0px 0px 10px;
  font-size: smaller;
}

/* -------------------------------------
Styles for navigation menu.
------------------------------------- */

#sidebar div {
  padding:0 0 0 15px;
  font-weight:normal;
}

#sidebar p {
  padding:4px 0 4px 3px;
  margin:0;
}

#sidebar p.active {
  background: #7b3e81;
}

#sidebar span.noclick {
  color: #7b3e81;
}

#sidebar a {
  color: white;
  text-decoration: none;
}

/* -------------------------------------
Styles for public pages
------------------------------------- */
div#olaapublic ul {
  margin: 0px;
  padding: 0px;
  list-style-type: none;
}
div#olaapublic ul li {
  padding: 15px 0px 15px 25px;
  background: transparent url(/olaa_extras/image/tinylogo.png) no-repeat
    scroll 0px 18px;
}
div#olaapublic ul li li {
  margin-left: 40px;
  padding: 10px 0 0 0;
  list-style-type: square;
  list-style-position: outside;
  background: none;
}
