/* Styles for Julia Cranz
 * (c) by Johannes Jörg Schmidt 2007, TF 
 * Design based on one by Babette Kirner
 *
 * The pink logo color is #eb62bc */

body {
  background: white url('../images/logo_120.png') no-repeat 50px 50px;
  font-family: Helvetica, Verdana, Arial, sans-serif;
  margin: 150px 10px 10px 155px;
  padding: 0;
  font-size: 90%;
}

/* Links */
a img { border: none; }
a { 
  color: #a4668f;
  text-decoration: none;
}
a:hover { 
  color: #eb62bc;
}
a:focus {
  outline: none;
}

p {
  max-width: 400px;
}

/* Forms */
fieldset {
  border: 1px dotted #333;
  padding: 1em 2em;
  display: table;
  max-width: 600px;
}
textarea,
input {
  border: 1px solid black;
  font-size: inherit;
  font-family: inherit;
  background: none;
  padding: 0.1em 0.3em;
}
input[type="submit"] {
  color: #555;
  border: 1px solid #666;
  -moz-border-radius: 2em;
}
input[type="submit"]:hover {
  border: 1px solid #aaa;
  background: #eb62bc;
  color: #333;
}
label {
  color: #666;
  min-width: 8em;
  min-height: 6ex;
  display: block;
  float: left;
  margin-top: 0.4ex;
  padding-right: 2em;
  letter-spacing: 0.2em;
  font-size: 12px;
  font-weight: normal;
}
label.free {
  width: auto;
}
legend {
  font-size: 1.5em;
  font-weight: normal;
}
fieldset p {
  clear: left;
  margin-bottom: 2em;
}
fieldset div.nested {
  margin-top: -1.5em;
  margin-left:0;
}
fieldset div.nested label {
  padding-right: 0;
}
fieldset label.nested {
  display: block;
  clear: left;
}
p.buttons {
  margin-top: 3em;
  text-align: right;
  width: 23em;
}
p.buttons input,
p.buttons a {
  margin-left: 1.5em;
  font-size: 1.15em;
  font-weight: bold;
}

/* Tables */
table {
  border: 1px solid #aaa;
  padding: 1em 2em 2.4em 2em;
  border-collapse: collapse;
}
table tr td,
table tr th {
  border: 1px solid #aaa;
  padding: 0.3em 0.7em;
}
table tr th {
  text-align: left;
  color: #666;
  letter-spacing: 0.2em;
  font-size: 12px;
  font-weight: normal;
  padding: 0.6em 0.8em 0.3em;
}

/* General classes */
.clear {
  clear: both;

/* Spinner */}
#spinner {
  position: absolute;
  top: 10px;
  left: 130px;
}

/* Header menus */
.headermenu {
  padding: 0;
  position: absolute;
  top: 10px;
}
.headermenu li {
  display: inline;
}
.headermenu li a {
  text-decoration: none;
  font-weight: bold;
  color: #333;
}
.headermenu li a:hover {
  color: #eb62bc;
}

/* Page menu */
#pagemenu {
  margin: 0;
  left: 155px;
}
#pagemenu li {
  margin: 0 1.2em 0 0;
}

/* User menu */
#usermenu {
  right: 10px;
  margin: 0 10px 0 0;
}
#usermenu li {
  margin: 0 0 0 1.2em;
}
#usermenu li.login a {
  color: #eb62bc;
}

/* Flash */
#notice {
  color: #fe7e01;
  position: absolute;
  top: 16px;
  left: 155px;
  margin: 2ex 0 0 0;
}

/* Title */
#title {
  position: absolute;
  left: 140px;
  top: 70px;
  margin:0;
  padding:0;
}

/* Content */
#page {
  float: left;
  min-width: 500px;
  min-height: 374px;
  max-width: 60%;
  margin-right: 3em;
}
#page img.page-image {
  float: left;
  margin: 0 1em 1em 0;
}
#page h1:first-child,
#page h2:first-child,
#page h3:first-child,
#page h4:first-child {
  margin-top:0;
}

/* Footer */
#footer {
  clear: both;
  text-align: center;
  margin: 0.2em 170px 0 0;
  padding-top: 2em;
  font-size: 0.8em;
}

/* Menu */
ol.menu {
  float: left;
  font-size: 1.32em;
  margin: 0.1em 0 0 0;
  padding: 0;
}
ol.menu,
ol.menu li ol {
  list-style-type: none;
}
ol.menu li {
  padding: 0.7em 1em 0.7em 0;
  margin: 0;
}
ol.menu li ol li {
  padding: 0.7em 1em 0.7em 4ex;
}
ol.menu li ol li ol li {
  padding: 0.7em 1em 0.7em 0;
}
ol.menu li a,
ol.menu li ol li.other a {
  color: black;
}
ol.menu li.in-root a {
  color: #aaa;
  color: #eb62bc;
}
ol.menu li.current a {
  color: #eb62bc;
}

/* Image menu */
ol.image-menu {
  margin: 20px 100px 0 -3px;
  padding: 0;
  list-style-type: none;
}
ol.image-menu li {
  margin: 0;
  padding: 2px;
  display: inline;
}
ol.image-menu li img {
  border: 1px solid white;
}
ol.image-menu li img:hover,
ol.image-menu li.current img {
  border: 1px solid #eb62bc;
}


/* Special elements */
img.edit-image {
  float: left;
  margin: 0 1em 0 0;
}

/* Errors */
#errorExplanation {
  margin-bottom: 2em;
}
#errorExplanation h2 {
  color: #c00;
}
#errorExplanation p {
  color: #333;
  margin-bottom: 0;
  padding: 5px;
}
#errorExplanation ul li {
  font-size: 12px;
  list-style: square;
}
.fieldWithErrors input {
  border: 1px dotted red;
}
