@import "css/general.css";

body {
  text-align: center;
  font-family: sans-serif;
}

#header, #contents {
  text-align: left;
}

#main {
  line-height: 1.4;
  padding: 0 0 12px;
}

#title {
  background: transparent url("image/title.png") no-repeat left top;
}

#main h1 {
  color: #009;
  border-bottom: 2px solid #66C;
  font-size: 144%;
  line-height: 1;
  margin: 12px 12px 0;
  padding-bottom: .2em;
}

#title h1 {
  margin: 0 auto 0 -1000em;
  padding: 0;
  height: 40px;
  border: none;
}

#main h2 {
  margin: 0 0 .2em;
  padding: 1px 8px;
  background: transparent url("image/heading_bg.gif") repeat-y center top;
  border-width: 2px 0;
  border-style: ridge;
  border-color: #fff;
  color: #fff;
  position: relative;
}

#main h3 {
  margin: 1em 0 0;
  line-height: 1;
  padding-left: .2em;
  border-left: 1em solid #333;
}

#main .section {
  margin: 1em 12px;
  width: 676px;
  position: relative;
}

#main .section .more {
  position: absolute;
  top: 4px; right: 8px;
  font-size: 85%;
  margin: 0;
}

#main a:link img, #main a:visited img {
  border: solid 2px #eee;
}

#main a:hover img, #main a:active img {
  border: solid 2px #f66;
}

#main .section .more a:link, #main .section .more a:visited {
  color: #fff;
}

#main .section .more a:hover, #main .section .more a:active {
  color: #f00;
}

#main .section dl dt {
    clear: left; float: left;
    width: 8em;
    font-weight: bold;
}

#main .section dl#special-list dt {
  float: none;
  width: 100%;
}

#main .section dl dd {
  margin-left: 8em;
}

#main .section dl#special-list dd {
  margin-left: 1em;
  margin-bottom: 1em;
}

/* table modification */

table#photo-list {
  width: 676px;
  border-collapse: collapse;
}

#photo-list td {
  border: 1px solid #fff;
  font-size: 85%;
  vertical-align: top;
  width: 25%;
  text-align: center;
}

#photo-list td .image {
  padding: 20px 0;
  background-color: #eee;
  margin: .5em 0;
}

#photo-list a img {
  box-shadow: 0 3px 5px rgba(0,0,0,0.5);
}

#mini-pickup {
  text-align: center;
}

#main-category-list ul {
  margin: .5em 0;
  padding: 0;
}

#main-category-list li {
  margin: 0;
  list-style-type: none;
  display: inline;
  padding-right: 1em;
}


/* modification inside sub-menu */

#welcome {
  font-size: medium;
  font-weight: bold;
}

#sub-menu #current-topic {
  margin: 0 12px 24px;
}

#current-topic h2 {
  width: 200px;
  _width: 216px;
  margin: .5em 0 .2em;
  padding: 1px 8px;
  background: transparent url("image/heading_bg.gif") repeat-y center top;
  border-width: 2px 0;
  border-style: ridge;
  border-color: #fff;
  color: #fff;
}

#current-topic h3 {
  margin: .5em 0 .2em;
  padding: 0;
}

#current-topic form {
  margin: 0; padding: 0;
}

#current-topic form input#photo-search {
  width: 158px;
}

#current-topic form input.submit {
  width: 44px;
  letter-spacing: 1px;
  padding: 0;
  border: solid 1px #011a4c;
}

#current-topic ul {
  list-style-type: none;
  margin: .5em 0; padding: 0;
}

#current-topic ul li {
  margin: 0 0 .5em;
  padding-left: 15px;
  background: transparent url("image/icon/triangle.gif") no-repeat 0 .3em;
}
#sub-menu .menu-products {
  margin: 1em 0 1.5em;
}

#sub-menu .menu-products p.image{
  text-align: center;
  margin: 0 auto;
}

 #sub-menu .menu-products h3 {
  text-align: center;
  margin: 0 auto .2em;
  font-size: 110%;
}

#sub-menu .menu-products p {
  margin: 0;
}



#webservices {
  clear: right;
}

#webservices ul {
  font-size: 80%;
  list-style-type: none;
  text-align: right;
}

#webservices ul li {
  list-style-type: none;
  display: inline;
  margin-left: 1.5em;
}

#webservices a {
  text-decoration: none;
}

#webservices a img {
  border: none;
  padding-right: .5em;
}

