html,
body {
  font-family: sans-serif;
  color: #000000;
  background-color: #ffffff;
  height: 100%;
  margin: 0;
  padding: 0;
}

a {
  color: #333333;
}
a img {
  border: 0px;
}
h1 {
  display: block;
  margin: 0;
  -webkit-margin-before: 0;
  -webkit-margin-after: 0;
  font-weight: normal;
}

h1 a {
  color: #000000;
  background-color: #ffffff;
}
h2,
h3,
h4,
h5,
h6 {
  padding: 1em;
  border-bottom: 2px solid #7f7f7f;
}

#container {
  position: relative;
  height: auto !important;
  height: 100%;
  min-height: 100%;
  padding: 0;
  margin-left: 10%;
  margin-right: 10%;
}
footer {
  position: absolute;
  bottom: 0;
  padding: 10px;
  width: 100%;
  height: 20px;
  text-height: 20px;
  text-align: right;
  vertical-align: middle;
  color: #cccccc;
  font-size: 75%;
}
footer a {
  color: #cccccc;
  text-decoration: none;
}
footer div {
  padding-left: 1em;
}

ul {
  list-style: outside;
  padding-left: 1em;
  margin-left: 1em;
  line-height: 1.5em;
}
ul li {
  list-style-type: circle;
}
#index {
}
#index h1 {
  padding-top: 20px;
  background: url('/images/dh-icon.png') no-repeat 0 16px;
  padding-left: 60px;
  line-height: 48px;
  vertical-align: middle;
}

#index section {
  padding-bottom: 20px;
}
#index section h2 {
  display: none;
}
#aboutme h1 {
  margin-right: 20px;
  padding-top: 20px;
  vertical-align: middle;
  text-align: right;
  font-weight: bold;
  font-size: 200%;
}


#aboutme section {
  padding-bottom: 120px;
}
#aboutme p {
  text-indent: 1em;
  margin-left: 20px;
  margin-right: 20px;
  line-height: 1.5em;
  letter-spacing: 0.05em;
}
#aboutme .photo {
  float: right;
  text-align: right;
  width: 160px;
  border: 1px solid #999999;
  padding: 3px;
  font-size: 50%;
  color: #7f7f7f;
  background-color: #ffffff;
}
#aboutme .photo img {
  width: 160px;
  vertical-align: bottom;
  padding: 0px;
  margin: 0px;
}
#aboutme .photo a {
  font-weight: bold;
  text-decoration: none;
  background-color: #ffffff;
}
#aboutme .photo h3 {
  font-size: 100%;
  font-weight: normal;
  color: #7f7f7f;
  text-align: right;
  border-bottom: 1px solid #33337f;
}
#aboutme #history img {
  float: right;
  border: 0px;
}
#aboutme .books {
  float: right;
}
#aboutme .books a {
  color: #ffffff;
  background-color: #ffffff;
}
#aboutme .books a img {
  width: 96px;
  border: 1px solid #cccccc;
}
.warning-title {
  color: red;
  font-weight: bold;
}

@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (orientation: portrait) {
  html, body {
    font-size: 1.5em;
  }
  ul {
    line-height: 2em;
  }
}

@media only screen and (min-device-height: 320px) and (max-device-height: 480px) and (orientation: landscape) {
  html, body {
    font-size: 1.125em;
  }
  ul {
    line-height: 2em;
  }
}
