@font-face {
  font-family: 'Cheri Liney';
  src: url('http://kndjumparound.com/fonts/CHERL___.TTF') format('truetype');
}

html {
  background: #C5E8FA url(/images/page-bg.jpg) repeat-x top center;
  color: black;
  font-family: DejaVu Sans, Bitstream Vera Sans, Verdana, Arial, Helvetica, sans-serif;
  font-size: small;
  margin: 0;
  padding: 0;
}

body {
  width: 842px;
  margin: 0 auto 0 auto;
}

#header {
  background: url(/images/header-f.png) no-repeat;
  width: 842px;
  height: 572px;
}

#header h1 {
  display: none;
}

#nav {
  float: left;
  position: absolute;
  top: 180px;
}

#nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#nav ul li a:link,
#nav ul li a:visited {
  color: #111;
  text-shadow: 0 0 5px white, 0 0 5px white, 0 0 5px white;
  font-family: 'Cheri Liney', DejaVu Sans, Bitstream Vera Sans, Verdana, Arial, Helvetica, sans-serif;
  font-weight: bold;
  text-decoration: none;
  text-align: center;

  display: block;
  background: url(/images/button-bg.png) no-repeat;
  width: 176px;
  height: 34px;
  padding: 16px 6px 0 0;
  margin-top: 8px;
}

#nav ul li a:hover {
  color: black;
  background: url(/images/button-bgh.png) no-repeat;
}

#container {
  background: url(/images/middle.png) repeat-y;
  border: 1px solid transparent;
  margin: 0 -1px;
}

#main {
  margin: -400px 50px 0 200px;
  padding-bottom: 30px;
  position: relative; /*for ie*/
}

#login span {
  visibility: hidden;
}

#login {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 14px;
  text-decoration: none;
}

#login:hover {
  background: #ffc;
  color: #ffc;
}

#existing_uploads,
#photos,
.rent_items {
  overflow: hidden;
}

#uploads {
  margin: 2em 0;
}

.rent_items div,
#existing_uploads .upload,
#photos div {
  float: left;
  margin: 1em;
  height: 123px;
  text-align: center;
}

#existing_uploads .upload,
#photos div {
  margin: 0 0.5em 0 0;
  height: 120px;
}

* html .rent_items,
* html #existing_uploads,
* html #photos {
  height: 1%;
}

.rent_items div img,
#existing_uploads .upload img,
#photos div img,
#service_photo {
  border: 1px solid gray;
}

#footer {
  background: url(/images/footer2.png) no-repeat;
  border-top: 1px solid transparent;
  margin-top: -1px;
  width: 842px;
  height: 265px;
  font-size: smaller;
}

#footer .article {
  background: url(/images/logo.png) no-repeat bottom left;
  float: left;
  margin-left: 90px;
  padding-left: 210px;
  padding-top: 10px;
}

#footer .article > div {
  width: 260px;
  height: 180px;
  overflow: auto;
}

#footer .links {
  float: left;
  margin-left: 40px;
  padding-top: 10px;
}

#footer .links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

p.copyright {
  color: gray;
  margin-top: 0;
  clear: both;
  font-size: smaller;
  text-align: center;
}

/*scaffold import*/
pre {
  background-color: #eee;
  padding: 10px;
  font-size: 11px;
}

a { color: #000; }
a:visited { color: #666; }
a:hover { color: #fff; background-color:#000; }

.fieldWithErrors {
  padding: 2px;
  background-color: red;
  display: table;
}

#errorExplanation {
  width: 400px;
  border: 2px solid red;
  padding: 7px;
  padding-bottom: 12px;
  margin-bottom: 20px;
  background-color: #f0f0f0;
}

#errorExplanation h2 {
  text-align: left;
  font-weight: bold;
  padding: 5px 5px 5px 15px;
  font-size: 12px;
  margin: -7px;
  background-color: #c00;
  color: #fff;
}

#errorExplanation p {
  color: #333;
  margin-bottom: 0;
  padding: 5px;
}

#errorExplanation ul li {
  font-size: 12px;
  list-style: square;
}
