html {
  height: 100%;
}

body {
  margin: 0px;
  font-family: verdana, sans-serif;
  font-size: 11px;
  height: 100%;
}

a {
  text-decoration: none;
  color: #4889ae;
}

img {
  border: 0px;
}

hr {
  clear: both;
  height: 1px;
  visibility: hidden;
}

#header {
  height: 90px;
  width: 950px;
  margin: 0 auto;
  padding: 5px 5px 35px 5px;
  background: #fff url('/images/header_bg.png') bottom repeat-x;
  text-align: right;
  position: relative;
}

#header img {
  position: absolute;
  top: 5px;
  left: 5px;
}

#header iframe {
  position: absolute;
  top: 5px;
  right: 0;
}

#menu {
  padding: 5px;
  vertical-align: top;
  background-color: #d6dbdd;
  font-size: 11px;
}

#menu ul {
  list-style: none;
  margin: 5px 0px 10px 0px;
  padding-left: 5px;
}

#menu h1, #menu h2 {
  color: #b5b6b9;
  font-size: 11px;
  font-weight: bold;
  padding-left: 5px;
  margin: 0px;
  border-bottom: 1px solid #e1e1e2;
}

#content {
  padding: 5px;
}

#content h1 {
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  margin: 0px;
  background: url('/images/content_h1_bg.png') no-repeat;
  padding: 4px 0 0 37px;
  height: 18px;
}

div.pages {
  display: block;
  text-align: center;
  clear: both;
  padding-top: 20px;
}

.joke {
  margin: 5px 0px 20px 0px;
  text-align: justify;
}

#categories a {
  display: block;
  width: 24%;
  height: 90px;
  float: left;
  text-align: center;
}

#jokes td {
  width: 50%;
  vertical-align: top;
}

#thumbs {
  text-align: center;
}

#thumbs img {
  margin: 5px 5px;
}

#sideads {
  width: 300px;
  padding: 5px;
  text-align: center;
  background-color: #d6dbdd;
}

#footer {
  background: #c8c8c8 url('/images/footer_bg.png') repeat-x;
  padding: 10px 5px 2px 5px;
  color: #8c8a8a;
}

#footer a {
  color: #696969;
}

#footer span {
  float: right;
  clear: none;
  text-align: right;
}

#rectangle {
  float: right;
  margin-left: 10px;
  margin-bottom: 10px;
}

.error {
  color: #ff0000;
  font-weight: bold;
  text-align: center;
}

.links {
  list-style: none;
  padding: 0px;
}

.links li {
  width: 50%;
  float: left;
}

.box {
  background: #f4f6f6 url('/images/box_bg.png') bottom repeat-x;
  border: 1px solid #bebfc1;
  margin: 5px;
}

div.sharethis {
  text-align: center;
}
