@charset "utf-8";

/* CSS Document */

@font-face {
    font-family: 'PSL162';
    src: url('../fonts/PSL162.eot');
    src: url('../fonts/PSL162.eot?#iefix') format('embedded-opentype'), url('../fonts/PSL162.woff') format('woff'), url('../fonts/PSL162.ttf') format('truetype'), url('../fonts/PSL162.svg#thaisans_neueregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

body {
    margin: 0px;
    padding: 0px;
    font-family: Tahoma, Geneva, sans-serif;
    background: url("../images/bg1.jpg") no-repeat center top fixed #fff;
}

h.a1 {
    font-size: 50px;
    color: #ffea00;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-style: wavy;
    font-family: 'PSL162';
}


/* topic 01 */

h.a2 {
    font-size: 40px;
    color: #ffea00;
    font-family: 'PSL162';
}


/* topic 02 */

a:link {
    text-decoration: none;
    color: #2bf90b;
}

img {
    max-width: 100%;
    background-size: 100% auto;
}

.wrapper {
    width: 100%;
    height: auto;
    margin: 0 auto;
    overflow: hidden;
}

.section1 {
    width: 916px;
    height: auto;
    margin: 0 auto;
    overflow: hidden;
    display: block;
    background: #FFF;
}

.pic-top {
    width: auto;
    height: auto;
    margin: 0 auto;
    overflow: hidden;
    display: block;
}

.content {
    width: auto;
    height: auto;
    overflow: hidden;
    display: block;
    text-align: center;
    background: url("../images/bg2.jpg") repeat center top;
    padding: 20px;
    color: #FFF;
    font-size: 20px;
}

.note {
    width: auto;
    height: auto;
    overflow: hidden;
    display: block;
    text-align: center;
    background: url("../images/bg3.jpg") no-repeat center top #fff;
    padding: 20px;
    color: #d10000;
    font-size: 20px;
}

.foot {
    width: auto;
    height: auto;
    overflow: hidden;
    text-align: center;
    color: #FFF;
    font-size: 14px;
    background: #0d8ed2;
    padding: 30px;
}

.box-rank {
    width: 500px;
    height: auto;
    overflow: hidden;
    display: block;
    margin: auto;
    margin-bottom: 20px;
}

.sub-rank {
    width: auto;
    height: auto;
    overflow: hidden;
    display: block;
    margin: auto;
    margin-top: 5px;
    text-align: center;
    color: #FFF;
    font-size: 16px;
}

.sub-rank2 {
    width: auto;
    height: auto;
    overflow: hidden;
    display: block;
    margin: auto;
    text-align: center;
    color: #FFF;
    font-size: 16px;
    float: left;
    margin-left: 30px;
}

.rank1,
.rank2,
.rank3 {
    width: 200px;
    height: 200px;
    overflow: hidden;
    display: block;
    border-radius: 100px;
    margin: auto;
    position: relative;
}

.rank1 span {
    width: 200px;
    height: 200px;
    display: block;
    position: absolute;
    background: url("../images/r1.png") no-repeat;
}

.rank2 span {
    width: 200px;
    height: 200px;
    display: block;
    position: absolute;
    background: url("../images/r2.png") no-repeat;
}

.rank3 span {
    width: 200px;
    height: 200px;
    display: block;
    position: absolute;
    background: url("../images/r3.png") no-repeat;
}

.bt-rank {
    width: 45%;
    height: auto;
    overflow: hidden;
    display: block;
    color: #000;
    background: #FF0;
    border-radius: 50px;
    margin: auto;
    box-shadow: 5px 5px 15px 1px rgba(50, 50, 50, .4)
}

.bt-rank:hover {
    opacity: .5;
}


/* table */

.box-table {
    width: auto;
    height: auto;
    overflow: hidden;
    display: block;
    margin: auto;
    padding-bottom: 20px;
    background: url("../images/bgt.png") no-repeat center bottom;
}

table {
    width: 75%;
    border-collapse: collapse;
    font-size: 16px;
    margin-bottom: 20px;
    background: none;
    border: hidden;
    color: #fff;
}

th,
td {
    text-align: center;
    padding: 8px;
    border: 0px solid #fff;
}

th {
    background-color: #4CAF50;
    color: #000;
}

.rankbg1 {
    background-color: #990000;
}

.rankbg2 {
    background-color: #994C00;
}

.rankbg3 {
    background-color: #00994c;
}

.rankbg4 {
    background-color: #004c4c;
}

.rankbg5 {
    background-color: #404040;
}


/* End table */

@media screen and (max-width: 900px) {
    h.a1 {
        font-size: 34px;
    }
    h.a2 {
        font-size: 30px;
    }
    .section1 {
        width: auto;
    }
    .content {
        font-size: 16px;
    }
    .note {
        font-size: 16px;
    }
}

@media screen and (min-width: 370px) and (max-width: 500px) {
    table {
        width: 100%;
    }
    .box-table {
        width: auto;
    }
    .box-rank {
        width: 90%;
    }
    .sub-rank {
        width: auto;
        height: auto;
    }
    .sub-rank2 {
        width: 35%;
        height: auto;
        padding: 5px;
    }
    .rank1,
    .rank2,
    .rank3 {
        width: 100px;
        height: 100px;
    }
    .rank1 span {
        width: 100px;
        height: 100px;
        background: url("../images/r1-100.png") no-repeat;
    }
    .rank2 span {
        width: 100px;
        height: 100px;
        background: url("../images/r2-100.png") no-repeat;
    }
    .rank3 span {
        width: 100px;
        height: 100px;
        background: url("../images/r3-100.png") no-repeat;
    }
}

@media screen and (min-width: 320px) and (max-width: 360px) {
    table {
        width: 100%;
    }
    .box-table {
        width: 100%;
    }
    .box-rank {
        width: auto;
    }
    .sub-rank2 {
        width: 35%;
        height: auto;
        padding: 4px;
    }
    .rank1,
    .rank2,
    .rank3 {
        width: 100px;
        height: 100px;
    }
    .rank1 span {
        width: 100px;
        height: 100px;
        background: url("../images/r1-100.png") no-repeat;
    }
    .rank2 span {
        width: 100px;
        height: 100px;
        background: url("../images/r2-100.png") no-repeat;
    }
    .rank3 span {
        width: 100px;
        height: 100px;
        background: url("../images/r3-100.png") no-repeat;
    }
}