
#all-content {
  border: 0.1em solid #eee;
  -moz-border-radius: 0.2em;
  text-align: center;
  margin: 0 3em;
  padding: 1em 1em 1.5em;
  min-height: 30em;
  min-width: 35em;
}

#header {
  display: block;
  padding: 0 2em 1em;
  margin-bottom: 1em;
  border-bottom: 0.1em dotted #ddd;
  text-align: left;
}

#header a {
  color: inherit;
  text-decoration: none;
}

#header img {
  border: none;
  float: left;
  padding-right: 1.5em;
}

#header #title {
  font-size: 300%;
  padding-left: 2em;
  white-space: nowrap;
  /*margin-top: 0.5em;*/
}

/*#header #title .star {
  font-size: 40%;
  margin-bottom: 1em;
  padding: 0.1em;
}*/

#header #subtitle {
  font-size: 70%;
  padding: 0 26em;
  text-align: left;
  white-space: nowrap;
}

#dynamic-content {
  padding: 0 0.6em;
  text-align: left;
}

/* #main-content div {
  padding: 1em 0;
} */


/* ------------------------------------------------------------------------
 --- front page -----------------------------------------------------------
 ----------------------------------------------------------------------- */

#front-page #intro {
  text-transform: lowercase;
  /*background-color: #fffcb1;*/
  /*border: 0.03em solid #efeca1;*/
  padding: 0.1em 1em;
}

#front-page .comments {
  margin: 1.5em 0 2em;
  padding: 0.5em;
  background-color: #ffe5e5;
  border: 0.1em solid #fcc;
  -moz-border-radius: 0.2em;
}

#front-page .section {
  border-top: 0.1em solid #f1ddaa;
  border-left: 0.1em solid #faedba;
  -moz-border-radius: 0.2em;
  margin: 1em 0;
  padding: 0.5em;
}

#front-page .section h1 {
  font-size: 135%;
  color: DarkSlateGray;
  padding: 0.2em 0.5em;
  margin: 0 0 1em;
  border-bottom: 0.05em solid #eee;
}

#front-page .section .search, #front-page .section .tags {
  float: left;
  min-height: 2.5em;
  margin: 0.2em 1.2em;
}

#front-page .section .make-post {
  clear: both;
  text-align: right;
}


/* ------------------------------------------------------------------------
 --- FAQ ------------------------------------------------------------------
 ----------------------------------------------------------------------- */

dt {
  font-weight: bold;
}

dd {
  margin: 0.2em 0 1em 0;
  padding: 0.3em 0.3em 0.3em 1em;
  background-color: #fafafa;
  -moz-border-radius: 0.2em;
}


/* ------------------------------------------------------------------------
 --- posting-list pages ---------------------------------------------------
 ----------------------------------------------------------------------- */

.filtering-on {
  margin: 0.2em 0 1em;
  padding: 0.3em;
  background-color: #ffc;
  border: 0.1em solid #ff8;
  -moz-border-radius: 0.1em;
}

ul.browsable-items {
  margin: 0;
  padding: 0;
  /*border-bottom: 0.1em solid #eee;*/
}

ul.browsable-items li {
  padding: 0.5em;
  margin: 0.2em 0;
  list-style-type: none;
  -moz-border-radius: 0.1em;
}

ul.browsable-items li.even {
  background-color: #f7f7f7;
  border-top: 0.05em solid #e0e0e0;
  border-right: 0.05em solid #e4e4e4;
  border-left: 0.05em solid #eee;
  border-bottom: 0.05em solid #eee;
}

ul.browsable-items li.odd {
  /*background-color: #dc5;*/
}

.title {
  float: left;
}

.details {
  float: right;
  font-size: 80%;
}

.details div {
  text-align: right;
}

.location {
  color: #888;
}

.price {
  /*float: right;*/
  color: #996;
}

.hack { clear: both; }


/* ------------------------------------------------------------------------
 --- view-post page -------------------------------------------------------
 ----------------------------------------------------------------------- */

.view-post h1 {
  margin: 0;
}

.view-post .location {
  float: left;
  font-size: 80%;
  color: #888;
  padding-bottom: 0.2em;
}

.view-post .price {
  float: right;
  font-size: 80%;
}

.view-post .email {
  font-size: 90%;
  border-top: 0.1em solid #eee;
  /*background-color: #fcfcfc;
  -moz-border-radius-bottomleft: 0.2em;
  -moz-border-radius-topleft: 0.2em;
  border: 0.1em solid #eee;*/
  /*margin: 0;*/
  padding: 0.5em 0;
  text-align: right;
  clear: both;
}

.view-post .description {
  clear: both;
  margin-top: 1em;
}

/* ------------------------------------------------------------------------
 --- forms ----------------------------------------------------------------
 ----------------------------------------------------------------------- */

/* This CSS was inspired by the tutorial at
   http://www.sitepoint.com/article/fancy-form-design-css/4/ */

fieldset {
  margin: 1.5em 0 0 0;
  padding: 0;
  width: 100%;
  border: none;
}

legend {
  margin-left: 1em;
  color: #000000;
  font-weight: bold;
}

fieldset ol {
  padding: 1em 1em 0 1em;
  list-style: none;
  margin: 0;
}

fieldset li {
  padding-bottom: 1em;
  float: left;
  clear: left;
  width: 100%;
}

fieldset li.invalid {
  background-color: #ffe5e5;
  border: 0.1em solid #fcc;
}

label {
  /*display: block;*/
  clear: both;
  float: left;
  width: 10em;
  margin-right: 1em;
  text-align: right;
  text-transform: lowercase;
}

label.error {
  float: left;
  width: 100%;
  margin: 0 1em 1em 1.5em;
  text-align: left;
  color: #a44;
  font-weight: bold;
}

label.hint {
  clear: both;
  color: #888;
  font-size: 75%;
  margin: 1em 0 0 15em;
  text-align: left;
  width: 30em;
}

input[type='text'] {
  width: 20em;
}

fieldset.submit {
  border-style: none;
  text-align: right;
  padding: 0.5em;
  margin: 0;
  background-color: #e8e8e8;
  -moz-border-radius: 0.2em;
}

fieldset.submit input {
  width: 10em;
}

textarea {
  width: 40em;
  height: 10em;
}
