* {
   margin: 0;
   padding: 0;
}

body, html {
   height: 100%;
   overflow: auto
}

body, td {
   font-family: Arial, Helvetica, sans-serif;
   font-size: 13px;
}

body {
   background: url(darkbg.gif) top repeat-x;
   background-color: #515151;
   text-align: center
}

div#content {
   position: relative;
   height: 768px;
   width: 1024px;
   margin: 0 auto;
   background-color: white;
   background: url(bg.gif) top repeat-x;
}

a {
   color: blue;
   text-decoration: none
}

a:hover {
   text-decoration: underline
}

#name {
   position: absolute;
   left: 736px;
   top: 48px
}

#footer {
   position: absolute;
   bottom: 0px;
   left: 0px;
   width: 1024px;
   height: 47px;
   background: url(footer.jpg) center no-repeat;
}

#footer td {
   padding-left: 100px;
   color: #68635d;
   font-size: 11px;
}

#footer a {
   color: #d9f8ff
}

#leaves {
   position: absolute;
   top: 115px;
   left: 36px
}

#footer p {
   margin: 10px 100px 0px 0px;
}

#painting { 
   position: absolute; 
   top: 233px; 
   left: 329px 
}

div#slide {
   position: absolute; 
   top: 233px; 
   left: 329px;
   width: 428px;
   text-align: center;   
}

div#painting {
   width: 649px
}

div#menu {
   position: absolute;
   left: 100px;
   top: 280px
}

div#menu p {
   height: 50px;
   vertical-align: top;
   text-align: left
}

div#loop {
   position: absolute;
   left: 800px;
   top: 280px
}

div#loop p {
   height: 35px;
   vertical-align: top;
   text-align: left
}

#loopcaret {
   position: absolute;
   left: 780px;
   top: 284px;
}

#caret {
   position: absolute;
   left: 78px;
}

#grayline {
   position: absolute; 
   top: 114px;
   left: 277px;
   width: 1px;
   height: 608px;
   background-color: #e3e3e3
}

.text {
   position: absolute;
   top: 160px;
   left: 345px;
   width: 550px;
   height: 515px;
   
   text-align: justify;
   overflow: auto
}

.text p {
   margin-bottom: 16px;
   line-height: 140%;
   letter-spacing: 0.025em;
}

h2 {
   font-size: 18px;
   font-weight: bold;
   margin-bottom: 2px
}

h3 {
   font-size: 16px;
   font-weight: bold;
}

#resume h3 {
   margin-bottom: 16px
}

h4 {
   font-size: 14px;
   font-weight: normal;
   margin-bottom: 2px
}

#resume {
   text-align: center;
   font-size: 12px
}

#galleries {
   top: 260px;
   height: 415px;
   text-align: center;
}

#galleries td {
   text-align: center;
   padding: 18px;
   line-height: 140%;
   letter-spacing: 0.025em;
}

#contact {
   position: absolute;
   top: 345px;
   left: 479px;
   border: 2px solid #999999;
   padding: 20px 38px;
   text-align: center;   
}

#painting-name {
   position: absolute;
   top: 190px;
   left: 329px
}

#poem {
   line-height: 210%;
   letter-spacing: 0.025em;
   font-size: 14px;
   text-align: center;
   color: #5b5b5b;
   margin-left: 30px
}

#details {
   text-align: right;
   color: #5b5b5b;
   font-size: 11px;
   margin-top: 12px;
}

#details a {
   font-weight: bold;
   color: #9c6300;
   text-decoration: none
}

#details a:hover {
   text-decoration: underline
}

/* category page */

#rows {
   position: absolute;
   top: 257px;
   left: 330px;
   width: 620px;
}

#rows-a {
   position: absolute;
   top: 257px;
   left: 55px;
   width: 900px;
}

#rows table, #rows-a table {
   margin-bottom: 35px;
   width: 100%
}

