a {color:#0099ff; text-decoration:none;}
a:visited { color:#0099ff;}
a:hover {color:#fff;}
h1, h2, h3, h4, h5 { font-weight:bold; font-family:"Trebuchet MS", Verdana, sans-serif;}
h2 {font-size:16px; color: #0099ff}
h3 {font-size:14px; color:#0099ff;}

ul {list-style:square outside; margin:8px 8px 8px 20px;}

* {
    margin: 0;
    padding: 0;
}

img {
    border-style: none;
}

body {
    font: 12px Arial, Helvetica, sans-serif;
    text-align: center;
    color: #947169;
    background-color: #ffffff;
}

#main {
    margin-left: auto;
    margin-right: auto;
    width: 900px;
    text-align: center;
    background-image:url('images/bgm.png');
    background-repeat:repeat-y;
}

#content {
	padding: 0;
    width: 820px;
    margin-left: auto;
    margin-right: auto;
	height: inherit;
    text-align: left;
    background: #336699;
    overflow: hidden;
}

#header {
    height: 160px;
    width: 800px;
    background-image: #0099ff url('images/header.png') no-repeat top;
    padding: 10 10 0 10;
}

#header1 {
    height: 155px;
    width: 800px;
    background-image:url('images/header.png'); 
}

#linkbar {
    width: 800px;
    height: 40px;
    padding: 5 10 5 10;
    background-color: #336699;
}

#maincontent {
    padding: 5 10 5 10; 
    width: 800px;
    height: auto;
    background-color: inherit;
}

#maincontent img {
    float: left;
    padding-right: 20px;
}

#maincontent1 {
    padding: 20 10 15 10;
    width: 780px;
    height: auto;
    background-color: #ededed;
}

#left {
    height: auto;
    float: left;
    width: 255px;
    background-color: inherit;
    padding: 5 5 5 10;
}

#leftbox {
    padding: 20 10 10 15;
    height: auto;
    width: 230px;
    background-color: #ededed;
}

#links {
    float: right; 
    width: 535px;
    height: 40px;
    background-color: #336699;
}

#links a {
    display:block;
    float:left;
    height:30px;
    width: 133px;
    padding: 10 0 0 0;
    background: #a6d3f2;
    text-align: center;
    color: #336699;
    text-transform: uppercase;
}

#links a:hover {background: #336699 0 0 no-repeat; color:#fff;
}

#links .active a {background:#336699; color:#ededed; height:30px; width:133px; border-style:none solid none solid; border-width:1px; border-color:#ededed;
}

#links ul {list-style:none;}

#links li {display:inline;}



#blog { 
    float: left;
    width: 255px;
    height: 40px;
    background-image:url('images/blog.png');
}

#break {
    width: 535px;
    height: 10px;
    background-color: #336699;
}

#right {
    height: auto;
    float: right;
    width: 535px;
    background-color: inherit;
    overflow: hide;
    padding: 5 10 5 5;
}

#rightbox {
    padding: 20 15 10 10;
    height: auto;
    width: 510px;
    background-color: #ededed;
}

#footer {
    display: block;
    clear: both;
	width: 900px;
    height: auto;
    background: #ffffff url('images/footer.png') no-repeat bottom;
    text-align: center;
}

#footer a {
    color:#ededed;
}
