html {
    height: 100%;   /* for Mozilla */
    margin: 0;      /* for Opera */
    padding: 0;     /* for Opera */
}

body {
    height: auto;
    margin: 0px auto; /* align body block to center */
    padding: 0px 0px;
    font-family: "Trebuchet MS", verdana, arial, sans-serif;
    font-size: 11pt;
    color:#000;
    text-align: center;
}

h2 {
    font-size: 9pt;
}

h3 {
    font-size: 12pt;
    color: #000;
    padding: 5px;
}

img {
    border: 0px;
}

table { 
    font-size: 9pt;
    width: 96%;
    margin: auto;
    padding: 2px;
}

a {
    color: #635471;
    text-decoration: none;
}

:hover {
    color: #3399FF;
    text-decoration: underline;
}

.contents {
    position: relative;
    width: 810px;
    height: auto;
    margin: auto;
    margin-top: 5px;
    margin-bottom: 5px;
    min-height: 100%;
    border: solid 1px #666;
    text-align: center;
    background-color: #FFF;
}

.top {
    height: 45px;
    background-image: url(../img_rank/logo5.gif);
    background-position: left 3px;
    background-repeat: no-repeat;
    background-color: #039;
    padding: 1px;
}

.top_menu {
    text-align: right;
    height: 18px;
    font-size: 9pt;
    padding-top: 2px;
    padding-right: 5px;
    background-color: #CCC;
    border-bottom: solid 2px #666;
    color: #FFF;
}

.main {
    position: relative;
    width: 800px;
    height: auto;
    margin: auto;
}

.left {
    float: left;
    width: 220px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.entry-btn {

}

.login-top {
    height: 24px;
    margin-top: 5px;
    background-image: url(../img_rank/login2_top.gif);
    background-position: top;
    background-repeat: no-repeat;
}

.login-center {
    text-align: center;
    padding-top: 1px;
    padding-bottom: 1px;
    line-height: 100%;
    layout-grid-char: 3px;
    font-size: 12px;
    background-image: url(../img_rank/login2_center.gif);
    background-position: top;
    background-repeat: repeat-y;
    height: 60px;
}

.login-bottom {
    height: 20px;
    background-image: url(../img_rank/login2_bottom_.gif);
    background-position: top;
    background-repeat: no-repeat;
}

.menu-top {
    margin-top: 5px;
    height: 24px;
    background-image: url(../img_rank/menu2_top.gif);
    background-position: top;
    background-repeat: no-repeat;
}

.menu-center {
    text-align: left;
    font-size: 12px;
    line-height: 160%;
    layout-grid-char: 3px;
    padding: 5px;
    background-image: url(../img_rank/menu2_center.gif);
    background-position: top;
    background-repeat: repeat-y;
}

.menu-center table {
    width: 200px;
}

.menu-bottom {
    height: 4px;
    background-image: url(../img_rank/menu2_bottom.gif);
    background-position: top;
    background-repeat: no-repeat;
}

.ranking-top {
    margin-top: 5px;
    height: 24px;
    background-image: url(../img_rank/rank2_top.gif);
    background-position: top;
    background-repeat: no-repeat;
}

.ranking-center {
    text-align: center;
    padding: 10px;
    line-height: 50%;
    layout-grid-char: 3px;
    font-size: 9pt;
    background-image: url(../img_rank/rank2_center.gif);
    background-position: top;
    background-repeat: repeat-y;
}

.ranking-center table {
    width: 170px;
    text-align: left;
}

.ranking-bottom {
    height: 4px;
    background-image: url(../img_rank/rank2_bottom.gif);
    background-position: top;
    background-repeat: no-repeat;
}

.right {
    font-size: 12px;
    width: 575px;
    margin-top: 5px
    margin-bottom: 5px;
    float: right;
}

.ad {
    height: 200px;
    text-align: left;
    padding-left: 5px;
    padding-right: 5px;
    margin-top: 5px;
    border: dotted 1px #666;
    background-color: #FDD;
}

.total-top {
    height: 24px;
    margin-top: 5px;
    background-image: url(../img_rank/sogo2_top.gif);
    background-position:top;
    background-repeat: no-repeat;
}

.total-center {
    text-align: center;
    layout-grid-char: 3px;
    background-image: url(../img_rank/sogo2_center.gif);
    background-repeat: repeat-y;
}

.total-center b {
    font-size: 12pt;
    color: #900;
}

.total-bottom {
    height: 4px;
    background-image: url(../img_rank/sogo2_bottom.gif);
    background-position: top;
    background-repeat: no-repeat;
}

.update-top {
    height: 24px;
    margin-top: 5px;
    background-image: url(../img_rank/update_top.gif);
    background-position:top;
    background-repeat: no-repeat;
}

.update-center {
    text-align: center;
    layout-grid-char: 3px;
    background-image: url(../img_rank/update_center.gif);
    background-repeat: repeat-y;
}

.update-center b {
    font-size: 12pt;
    color: #900;
}

.update-bottom {
    height: 4px;
    background-image: url(../img_rank/update_bottom.gif);
    background-position: top;
    background-repeat: no-repeat;
}

.category-top {
    height: 24px;
    margin-top: 5px;
    background-image: url(../img_rank/category_top.gif);
    background-position:top;
    background-repeat: no-repeat;
}

.category-center {
    text-align: center;
    layout-grid-char: 3px;
    background-image: url(../img_rank/category_center.gif);
    background-repeat: repeat-y;
}

.category-center b {
    font-size: 12pt;
    color: #900;
}

.category-bottom {
    height: 4px;
    background-image: url(../img_rank/category_bottom.gif);
    background-position: top;
    background-repeat: no-repeat;
}

.bottom {
    clear: both;
    float: none;
    text-align: center;
    height: 20px;
    padding: 5px;
    border-top: dotted 1px #999;
}

.entry-top {
    height: 4px;
    margin-top: 5px;
    background-image: url(../img_rank/nomalright_top.gif);
    background-position: center bottom;
    background-repeat: no-repeat;
}

.message {
    text-align: center;
    layout-grid-char: 3px;
    line-height: 160%;
    background-image: url(../img_rank/info_center.gif);
    background-position: center;
    background-repeat: repeat-y;
}

.message table {
    width: 300px;
}

.message-about table {
    width: 500px;
}

.message-agreement table {
    width: 500px;
}

.entry-bottom {
    margin-bottom: 5px;
    height: 10px;
    background-image: url(../img_rank/info_bottom.gif);
    background-position: center bottom;
    background-repeat: no-repeat;
}

.user-bar {
    margin-top: 5px;
    height: 22px;
    background-image: url(../img_rank/bar_menu2.gif);
    background-position: left top;
    background-repeat: no-repeat;
}

.menu {
    line-height: 200%;
    font-size: 12px;
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: 5px;
    border: solid 1px #000;
    background-image: url(../img_rank/main_back.gif);
    background-position: top;
    background-repeat: no-repeat;
    background-color: #FFF;
}

.info-top {
    height: 24px;
    margin-top: 5px;
    background-image: url(../img_rank/info_top.gif);
    background-position: top;
    background-repeat: no-repeat;
}

.info-center {
    text-align: center;
    layout-grid-char: 3px;
    line-height: 160%;
    background-image: url(../img_rank/info_center.gif);
    background-position: center;
    background-repeat: repeat-y;
}

.info-center table {
    width: 300px;
    layout-grid-char: 3px;
}

.info-bottom {
    height: 10px;
    margin-bottom:5px;
    background-image: url(../img_rank/info_bottom.gif);
    background-position: center bottom;
    background-repeat: no-repeat;
}
