@charset "utf-8";
* {
  margin: 0;
  padding: 0;
  font-style: normal;
}
body {
  font-family: sens-serif;
  color: #333333;
  background-color: #999999;
  background-image: url(images/bg.gif);
  background-repeat: repeat;
  font-size: 75%;
  line-height: 1.6;
}
a img {
  border-style: none;
}
a:link {
  text-decoration: underline;
  color: #333333;
}
a:visited {
  text-decoration: underline;
  color: #999999;
}
a:hover {
  text-decoration: none;
  color: #000000;
}
a:active {
  text-decoration: none;
  position: relative;
  top: 1px;
  left: 1px;
}
#wrapper {
  border-left: 1px solid #666666;
  border-right: 1px solid #666666;
  margin: 0px auto;
  width: 858px;
  background-color: #fffafa;
}
#main {
  padding: 15px;
  width: 603px;
  float: right;
  margin-bottom: 20px;
}
#sidebar {
  padding: 15px;
  width: 195px;
  float: left;
  margin-bottom: 20px;
}
#footer {
  padding: 15px;
  clear: both;
  color: #ffffff;
  background-color: #333333;
}
#header {
  border-top: 3px solid #ff6600;
  background-image: url(images/topheader.jpg);
  background-repeat: no-repeat;
  height: 200px;
  position: relative;
}
#profile #header {
  background-image: url(images/topbg4.jpg);
}
#work #header {
  background-image: url(images/crystal.gif);
}
#hobby #header {
  background-image: url(images/topimg.jpg);
}
#contact #header {
  background-image: url(images/topbg6.jpg);
}
#sitemap #header {
  background-image: url(images/topbg7.jpg);
}
#header #lgo {
  position: absolute;
  left: 50px;
  top: 45px;
}
#header .himg {
  float: right;
  margin-top: 30px;
  margin-right: 50px;
}
#header ul {
  width: 858px;
  position: absolute;
  left: 0px;
  top: 166px;
  background-color: white;
}
#header ul li {
  list-style-type: none;
  list-style-image: none;
  list-style-position: outside;
  float: left;
}
#header ul li a {
  border-top: 3pt solid #ffff66;
  border-left: 2px solid white;
  border-bottom: 3pt double #999999;
  width: 170px;
  height: 2em;
  line-height: 2em;
  text-decoration: none;
  color: #666666;
  background-color: #98fb98;
  text-align: center;
  display: block;
}
#header ul li a:hover {
  background-color: #f5f5dc;
}
#header ul li#nHome a {
  width: 168px;
}
#home #header #nHome a, #profile #header #nProfile a, #work #header #nWork a, #hobby #header #nHobby a, #contact #header #nContact a {
  color: #ffffff;
  background-color: #32cd32;
}
#sidebar table {
  background-color: red;
  font-family: sans-serif;
  margin-top: 19px;
  margin-left: 40px;
  margin-bottom: 20px;
  color: white;
  font-weight: bold;
  width: 110px;
}
#sidebar table tr {
  text-align: center;
}
#sidebar img.simg {
  padding-top: 4px;
  margin-bottom: 20px;
}
#sidebar ul {
  margin-top: 10px;
}
#sidebar ul li {
  margin-bottom: 6px;
  list-style-type: none;
  list-style-image: none;
  list-style-position: outside;
}
#sidebar ul li a {
  background-image: url(images/Larrow.gif);
  background-repeat: no-repeat;
  background-position: left center;
  display: block;
  width: 180px;
  padding-left: 15px;
}
#sidebar ul li a:hover {
  background-image: url(images/Harrow.gif);
}
#sidebar h5 a {
  margin: 20px 10px 20px 20px;
  display: block;
  width: 150px;
  height: 150px;
  background-repeat: no-repeat;
  background-position:  center center;
  background-image: url(images/sale.gif);
}
#main h2 {
  border-top: 3px solid #ff6600;
  border-bottom: 1px dotted #666666;
  padding: 4px 0px 4px 15px;
  margin-bottom: 15px;
  font-size: 120%;
  font-weight: bold;
  background-image: url(images/bulett.gif);
  background-repeat: no-repeat;
  background-position: left center;
  clear: both;
}
#main h4 {
  border: 2px solid #008000;
  padding: 4px 0px 4px 15px;
  margin-bottom: 15px;
  width: 280px;
  font-size: 140%;
  background-repeat: no-repeat;
  background-position: left center;
  clear: both;
}
#main p {
  line-height: 1.8;
  margin-bottom: 1em;
}
#main div.topP {
  float: left;
  width: 180px;
  margin-right: 20px;
  margin-bottom: 15px;
}
#main div.topP h3 {
  border-left: 3px solid #999999;
  margin: 10px 0px 5px;
  font-family: Verdana,Arial,Helvetica,sans-serif;
  font-size: x-small;
  line-height: 1.2;
  font-weight: bold;
  padding-left: 7px;
  display: block;
}
#main div.middleP {
  float: left;
  width: 280px;
  margin-right: 20px;
  margin-bottom: 15px;
}
#main div.middleP h3 {
  border-left: 3px solid #999999;
  margin: 10px 0px 5px;
  font-family: Verdana,Arial,Helvetica,sans-serif;
  font-size: x-small;
  line-height: 1.2;
  font-weight: bold;
  padding-left: 7px;
  display: block;
}
#main div.lowerP {
  float: left;
  width: 280px;
  margin-right: 20px;
  margin-bottom: 15px;
}
#main div.lowerP h3 {
  border-left: 3px solid #999999;
  margin: 10px 0px 5px;
  font-family: Verdana,Arial,Helvetica,sans-serif;
  font-size: x-small;
  line-height: 1.2;
  font-weight: bold;
  padding-left: 7px;
  clear: left;
}
#main div.ST {
  float: left;
  width: 180px;
  margin-right: 20px;
  margin-bottom: 15px;
}
#main div.ST h3 {
  margin: 10px 0px 5px;
}
#main div.ST h3 a {
  border-left: 3px solid #999999;
  font-family: Verdana,Arial,Helvetica,sans-serif;
  font-size: x-small;
  line-height: 1.2;
  font-weight: bold;
  padding-left: 7px;
  display: block;
}
#main div.ST img {
  border: 1px solid #999999;
}
#main table {
  border-width: 1px 0px 0px;
  border-top: 1px solid #cccccc;
  margin-bottom: 15px;
  border-bottom-style: none;
  border-left-style: none;
}
#main table th {
  border-bottom: 1px dotted #cccccc;
  text-align: left;
  padding-top: 5px;
  padding-left: 15px;
}
#main table th.vline, td.vline {
  border-right: 1px solid #cccccc;
}
#main table tr.odd {
  background-color: #efefef;
}
#main table td {
  border-bottom: 1px solid #cccccc;
  padding: 5px 15px;
}
#footer ul li a {
  color: #cccccc;
}
#footer ul li a:hover {
  color: #ffffff;
  text-decoration: none;
}
#footer p a {
  color: #cccccc;
}
#footer p a:hover {
  color: #ffffff;
  text-decoration: none;
}
#footer ul li {
  display: inline;
  margin-right: 15px;
  list-style-type: none;
  list-style-image: none;
  list-style-position: outside;
}
#footer p {
  margin: 0px;
  float: right;
}
#main form {
  margin-bottom: 25px;
}
#main form th {
  border-bottom: 1px solid #cccccc;
  text-align: left;
  padding-top: 5px;
  padding-left: 15px;
}
#main input[type=text], #main textarea {
  border: 1px solid #999999;
  padding: 2px;
}
#main form em {
  color: #ff0000;
  padding-left: 5px;
}
#main form textarea#comment {
  overflow: auto;
  height: 120px;
  width: 300px;
}
