@charset "utf-8";

body {
    color: #fff;
    font-family: Verdana,Arial,Helvetica,sans-serif;
    font-size: 13px;
    background-image: url(../images/bg.jpg);
    background-attachment: fixed;
}

a {
    color: #fc3;
    font-weight: 700;
    text-decoration: none;
}
a:hover {color: #ff3;}

#wrapper {
    width: 800px;
    margin: 10px auto;
}

#header {
    height: 140px;
    background: url(../images/banner.jpg) no-repeat;
}

.header {
    height: 20px;
    line-height: 20px;
    font-weight: 700;
    padding: 0 5px;
    background: url(../images/line.jpg) repeat-x;
}
#nav ul {float: right;}
#nav ul li {
    display: inline;
    margin: 0 10px;
}

#body {width: 100%;}
#aside {
    width: 165px;
    background-color: #333;
    vertical-align: top;
}
#aside table#menu {width: 100%;}
#aside table#menu th, #aside table#menu td{
    border: #fff solid 1px;
    padding: 3px 5px;
}
#aside table#menu th {background-color: #900;}
#aside table#menu td {
    padding-left: 18px;
    background: #000 url(../images/icon.gif) no-repeat;
}
#aside table#menu td a {font-size: 12px;}
#aside ul#link {margin-top: 20px;}
#aside ul#link li {
    padding: 10px;
    text-align: center;
}
#aside ul#link li table {margin: 0 auto;}

#content {
    margin-left: 165px;
    padding: 10px 5px;
    background-color: #000;
}
#content h1, #content h2, #content h3 {
    text-align: right;
    padding: 10px 0;
}
#content h2 {color: #f00; font-size: 20px;}
#content h4 {
    margin-top: 10px;
    padding: 10px 0;
    border-top: #fff solid 1px;
}

div.article p {padding: 10px;}
div.article li {
    padding: 3px;
    margin-left: 40px;
    list-style-type: disc;
}
div.article dt, div.article dd {padding: 5px;}
div.article dt {font-size: 14px;}
address {font-style: normal;}

/* Index */
div#talk {
    color: #000;
    width: 537px;
    height: 213px;
    margin: 0 auto;
    margin-bottom: 20px;
    border: #f00 solid 1px;
    background: url(../images/fbg.jpg) no-repeat;
}
div#talk h3, div#talk p {padding: 10px;}
div#talk h3 {color: #f00; text-align: left;}
ul.list-item li {padding: 5px;}

#footer {
    clear: both;
    padding: 10px;
    text-align: center;
}

/* form */
.frm-edit {
    width: 80%;
    margin: 0 auto;
    padding: 10px;
    border: #fff solid 1px;
}
.frm-edit li {
    padding: 5px;
    line-height: 20px;
}
.frm-edit label {
    display: inline-block;
    font-weight: 700;
    width: 170px;
    line-height: 25px;
    vertical-align: top;
    text-transform: capitalize;
    text-align: right;
    margin-right: 10px;
}
.frm-edit input[type=text],
.frm-edit input[type=password] {width: 200px;}
.frm-edit span.error {
    color: #f00;
    font-style: italic;
    display: block;
    padding-left: 190px;
}
span.require {
    color: #f00;
    vertical-align: top;
}
.frm-edit .submit {text-align: right;}
div.success {
    padding: 10px;
    color: #0c6;
    font-weight: 700;
    text-align: center;
}

.frm-login {
    margin-top: 20px;
    border: #fff solid 1px;
    background-color: #000;
}
.frm-login h2 {
    padding: 5px;
    background-color: #900;
    text-align: center;
}
.frm-login li {
    padding: 2px 10px;
    line-height: 20px;
}
.frm-login label {
    display: block;
    font-weight: 700;
}

.link-order {text-align: center;}

/* Profile */
table.profile {
    margin: 0 auto;
    margin-top: 20px;
    border: #fff solid 2px;
}
table.profile th, table.profile td {
    padding: 10px;
    vertical-align: middle;
}
table.profile th {text-align: left;}

/* Table list */
table.tbl-list {
    width: 100%;
    border-collapse: separate;
    border-spacing: 1px;
}
table.tbl-list th, table.tbl-list td {padding: 0 3px;}
table.tbl-list th {color: #fff; background-color: #575757;}
table.tbl-list td {color: #000; background-color: #e9e9e9; vertical-align: middle;}
table.tbl-list a {
    color: #000;
    text-decoration: none;
}
table.tbl-list a:hover {color: #f00;}
table.tbl-list tr.link td {background: none;}


/* Webboard */
table.topic {
    width: 95%;
    margin: 0 auto;
    border: #999 solid 1px;
    background-color: #fff;
}
table.topic td, table.topic th {color: #000;}
table.topic td {
    padding: 5px;
    vertical-align: top;
}
table.topic th {
    color: #fff;
    font-size: 1.2em;
    padding: 5px;
    text-align: left;
    background-color: #5a7186;
    border-top:#b2c6d9 solid 10px;
    border-bottom: #000 solid 1px;
}
table.topic td.detail {padding: 10px 5px;}
table.topic td.member {
    width: 120px;
    text-align: center;
    border-right: #ccc dashed 1px;
}
form#webboard label {width: 70px;}
form#webboard input#topic, form#webboard textarea {width: 350px;}
form#webboard div#emo {margin-left: 90px;}
div.success p {
    font-size: 1.3em;
    padding: 20px;
}

/* Article */
div#article-view h1 {
    text-align: left;
    font-size: 18px;
}

/* Gallery */
div.album-list {
    float: left;
    position: relative;
    text-align: center;
    width: 130px;
    height: 160px;
    padding: 5px;
    border: #999 solid 1px;
    margin: 5px;
}
div.album-list ul {
    position: absolute;
    bottom: 5px;
}
div.album-list ul li {
    padding: 1px;
    list-style-type: none;
}
div.album-list ul li a {
    color: #06f;
    text-decoration: none;
}

table.show-album {
    margin-top: 20px;
    border-collapse: separate;
    border-spacing: 5px;
}
table.show-album td {
    padding: 10px;
    text-align: center;
    vertical-align: middle;
}
table.show-album td img {
    padding: 3px;
    border: #999 solid 1px;
    margin-bottom: 5px;
}

/* Color */
.red {color: #F00;}