/* ============================================================
   Kanit Fonts
   ============================================================ */
@font-face {
    font-family: "Kanit-black";
    src: url("fonts/Kanit-Black.eot");
    src:
        url("fonts/Kanit-Black.eot?#iefix") format("embedded-opentype"),
        url("fonts/Kanit-Black.woff2") format("woff2"),
        url("fonts/Kanit-Black.woff") format("woff"),
        url("fonts/Kanit-Black.ttf") format("truetype");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Kanit-bold";
    src: url("fonts/Kanit-Bold.eot");
    src:
        url("fonts/Kanit-Bold.eot?#iefix") format("embedded-opentype"),
        url("fonts/Kanit-Bold.woff2") format("woff2"),
        url("fonts/Kanit-Bold.woff") format("woff"),
        url("fonts/Kanit-Bold.ttf") format("truetype");
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Kanit-light";
    src: url("fonts/Kanit-Light.eot");
    src:
        url("fonts/Kanit-Light.eot?#iefix") format("embedded-opentype"),
        url("fonts/Kanit-Light.woff2") format("woff2"),
        url("fonts/Kanit-Light.woff") format("woff"),
        url("fonts/Kanit-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Kanit-medium";
    src: url("fonts/Kanit-Medium.eot");
    src:
        url("fonts/Kanit-Medium.eot?#iefix") format("embedded-opentype"),
        url("fonts/Kanit-Medium.woff2") format("woff2"),
        url("fonts/Kanit-Medium.woff") format("woff"),
        url("fonts/Kanit-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Kanit";
    src: url("fonts/Kanit-Regular.eot");
    src:
        url("fonts/Kanit-Regular.eot?#iefix") format("embedded-opentype"),
        url("fonts/Kanit-Regular.woff2") format("woff2"),
        url("fonts/Kanit-Regular.woff") format("woff"),
        url("fonts/Kanit-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ============================================================
   Base / Reset  (from themes.css)
   ============================================================ */
body {
    background: #fff;
    padding: 0;
    margin: 0;
    font-size: 15px;
    font-family: "Tahoma", Arial, sans-serif;
    color: #313131;
}
@-ms-viewport {
    width: device-width;
}
@-o-viewport {
    width: device-width;
}
@viewport {
    width: device-width;
}
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

ul {
    padding: 0;
    margin: 0;
}
li {
    list-style: none;
}
form {
    padding: 0;
    margin: 0;
}
img {
    vertical-align: middle;
    border: 0;
    max-width: 100%;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    padding: 0;
    margin: 0;
}
p {
    padding: 0;
    margin: 0;
}
a {
    color: #109602;
    text-decoration: none;
    cursor: pointer;
}
a:hover,
a:active {
    color: #109602;
    text-decoration: none;
}

.container {
    display: block;
    width: 1100px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 5px;
}
.clear {
    clear: both;
}

/* ============================================================
   Table system (div-as-table)
   ============================================================ */
.table {
    display: table;
    width: 100%;
    border: 1px solid #666;
    border-right: none;
    border-bottom: none;
    margin: 0 auto;
}
.table .tr {
    display: table-row;
}
.table .tr.header {
    font-family: "Kanit-medium", Tahoma, Arial;
    background: #999;
}
.table .tr.header .td {
    padding: 5px 6px;
}
.table .td {
    display: table-cell;
    vertical-align: middle;
    padding: 3px 6px;
    text-align: center;
    word-wrap: break-word;
    overflow: hidden;
    border: 1px solid #666;
    border-left: none;
    border-top: none;
}

/* ============================================================
   Common components
   ============================================================ */
.control-head {
    font-family: "Kanit-medium", Tahoma, Arial;
    font-size: 25px;
    text-align: center;
    margin: 7px 0;
}
.control-head.h1 {
    font-size: 18px;
    line-height: 32px;
}
.control-head.h2 {
    font-size: 16px;
    line-height: 26px;
    color: #02967b;
    border-top: 1px solid #ddd;
    margin: 0 0;
    padding: 15px 0 4px 0;
}
.control-head.h2.second {
    border-top: none;
}

.naver-text {
    background: #f2f2f2;
    font-size: 11px;
    padding: 7px 10px;
    margin-bottom: 8px;
}
.naver-text.bot {
    margin-bottom: 0;
    margin-top: 8px;
}

.pg-too {
    color: #f3163a;
    font-weight: bold;
}

.tded-nday {
    position: relative;
    padding: 8px 4px;
    font-family: "Kanit", Tahoma, Arial;
}
.tded-nday .nday-btn {
    float: left;
    width: 33.33%;
    text-align: center;
}
.tded-nday .nday-btn.pre {
    text-align: left;
}
.tded-nday .nday-btn.next {
    text-align: right;
}

.tded-too {
    color: #f3163a;
    font-weight: bold;
}
.tded-post {
    display: inline-block;
    vertical-align: middle;
    height: 18px;
    width: 18px;
    background: #e6e6e6;
}

.tded-icheck {
    display: inline-block;
    vertical-align: bottom;
    margin: 0 4px;
    font-family: "Kanit-medium", Tahoma, Arial;
    font-size: 16px;
}
.tded-icheck.win {
    color: #3fdb15;
}
.tded-icheck.draw {
    color: #666;
}
.tded-icheck.lost {
    color: #f3163a;
}
.tded-icheck.post {
    color: #66a0a0;
}

.tded-navfoot {
    font-family: "Kanit", Tahoma, Arial;
    text-align: center;
    padding: 10px 0;
}

.cut-square {
    display: block;
    overflow: hidden;
}

/* ============================================================
   Ads
   ============================================================ */
.ads-zone {
    padding: 10px 0;
}
.ads-unit {
    text-align: center;
    margin: 12px auto 5px auto;
}
.ads-unit.column {
    display: inline-block;
    padding: 0 20px;
}
.ads-unit .btn-close {
    margin: 0;
    cursor: pointer;
    display: inline-block;
}
.ads-fix.left {
    position: fixed;
    left: 0;
    top: 45px;
    overflow: hidden;
    padding: 0;
    display: inline-block;
    z-index: 999999;
    text-align: left;
}
.ads-fix.left .ads-unit {
    float: left;
    width: 120px;
    margin: 0;
    padding: 0;
}
.ads-fix.right {
    position: fixed;
    right: 0;
    top: 45px;
    overflow: hidden;
    z-index: 999999;
    text-align: right;
    display: inline-block;
}
.ads-fix.right .ads-unit {
    float: right;
    width: 120px;
    margin: 0;
}
.ads-fix.bottom {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    width: 1000px;
    max-width: 100%;
    overflow: hidden;
    z-index: 99999;
    text-align: right;
    margin: 0 auto;
}
.ads-fix.bottom .ads-unit {
    margin: 0;
}
.ads-fix.bottom .btn-close {
    display: block;
    width: 120px;
    margin: 0 auto;
    cursor: pointer;
}
.ads-popup {
    display: none;
}
.ads-popup .overlay {
    width: 100%;
    z-index: 999998;
    height: 100%;
    background: rgba(0, 0, 0, 0.66);
    position: fixed;
    top: 0;
    left: 0;
}
.ads-popup .popup-show {
    position: fixed;
    z-index: 999999;
    text-align: center;
    width: 70%;
    top: 10%;
    left: 50%;
    transform: translate(-50%, 0%);
    display: inline-block;
}
.ads-popup .popup-mark {
    position: relative;
    display: inline-block;
}
.ads-popup .popup-mark .close-pop {
    position: absolute;
    top: -10px;
    right: 10px;
    z-index: 999999;
    cursor: pointer;
    color: #fff;
}
.ads-popup .popup-mark img {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

/* ============================================================
   Header / Navigation
   ============================================================ */
.body-wraper {
    margin-top: 53px;
    margin-bottom: 50px;
}
.header-bg {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    margin: 0 auto;
    z-index: 99999;
    height: 49px;
    background: #109602;
    border: 3px solid #14c002;
    padding: 0 8px;
    color: #fff;
    width: 1090px;
    max-width: 100%;
}
.head-logo {
    float: left;
    width: 20%;
    padding-top: 3px;
}
.head-logo img {
    max-height: 35px;
}
.head-menu {
    float: left;
    width: 80%;
    text-align: left;
    padding-left: 20px;
    position: relative;
}
.head-menu .abs-menu {
    display: inline-block;
    position: absolute;
    right: 0;
    top: 6px;
}
.head-menu li {
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    font-family: "Kanit", Tahoma, Arial;
    margin-right: 2px;
    margin-bottom: 2px;
}
.head-menu li a {
    display: block;
    padding: 10px 16px;
    color: #fff;
    text-align: center;
}
.head-menu li a:hover,
.head-menu li a.active {
    background: #fb5e00 !important;
}
.head-menu li a:hover,
.head-menu li a.active {
    background: #0b6502;
    transition: all 0.3s ease-in-out;
}
.head-menu li.menu-icon {
    padding: 0 0 0 8px;
    margin-right: 0;
}
.head-menu li.menu-icon.first {
    margin-left: 40px;
}
.head-menu li.menu-icon a {
    display: inline-block;
    padding: 0;
}
.head-menu li.menu-icon img {
    max-height: 30px;
}

/* Footer nav bar */
.foot-menu {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 99999;
    margin: 0 auto;
    height: 50px;
    width: 1090px;
    max-width: 100%;
    background: #fff;
    text-align: left;
    padding-top: 14px;
    border: 1px solid #f1f1f1;
    box-shadow: 0px -3px 8px -5px rgba(0, 0, 0, 0.36);
}
.foot-menu .container {
    background: none;
    padding: 0;
}
.foot-menu li {
    display: inline-block;
    padding: 0 15px;
    width: 16%;
    vertical-align: middle;
    font-family: "Kanit-medium", Tahoma, Arial;
    font-size: 16px;
    text-align: center;
}
.foot-menu li a {
    color: #052d01;
}
.foot-menu li a:hover,
.foot-menu li a.active {
    color: #109602;
    transition: all 0.3s ease-in-out;
}

/* Site footer */
.footer-bg {
    background: #141913;
    color: #999;
    text-align: center;
    padding: 8px;
}
.footer-bg a {
    color: #fff;
}
.footer-bg .container {
    background: none;
    padding: 0;
}
.fbg-logo {
    float: left;
    width: 30%;
    padding: 4px 0;
    text-align: left;
}
.fbg-logo img {
    max-height: 50px;
}
.fbg-logo .text-logo {
    font-family: "Kanit", Tahoma, Arial;
    font-size: 13px;
}
.fbg-menu {
    float: left;
    width: 70%;
    padding: 12px 0 4px 0;
    text-align: left;
}
.fbg-menu a {
    display: inline-block;
    width: 32%;
    vertical-align: top;
    padding: 3px 0;
    text-align: center;
    font-family: "Kanit", Tahoma, Arial;
}
.fbg-menu a:hover {
    color: #ccc;
}
.fbg-copy {
    margin-top: 10px;
    font-family: "Kanit", Tahoma, Arial;
}
.fbg-sitemap-btn:hover {
    color: #ccc;
}

/* Social / to-top */
.nav-social {
    position: fixed;
    right: 0.5%;
    bottom: 65px;
    z-index: 10050;
    font-family: "Kanit", Tahoma, Arial;
}
.nav-social .sc-text {
    display: block;
    background: #fff;
    width: 70px;
    margin: 0 0 0 auto;
    padding: 4px 10px;
    border: 1px solid #ccc;
    margin-bottom: 10px;
    text-align: center;
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    position: relative;
    border-radius: 20px;
}
.nav-social .sc-text::after {
    content: " ";
    position: absolute;
    bottom: -12px;
    left: auto;
    right: 15px;
    width: 0;
    height: 0;
    margin: 0;
    border: 6px solid transparent;
    border-top-color: #ccc;
}
.nav-social .sc-button {
    display: block;
    padding: 5px 5px 5px 7px;
    margin-top: 5px;
    font-size: 10px;
    text-transform: uppercase;
    text-align: left;
    color: #fff;
    border-radius: 4px;
}
.nav-social .sc-button img,
.nav-social .sc-button svg {
    max-height: 15px;
    width: auto;
    vertical-align: middle;
}
.nav-social .sc-button.facebook {
    background: #0274e6;
}
.nav-social .sc-button.line {
    background: #00be00;
}
.nav-social .sc-button.twitter {
    background: #1ea1fb;
}
.nav-totop {
    position: fixed;
    right: 0.5%;
    bottom: 200px;
    z-index: 10050;
    font-family: "Kanit", Tahoma, Arial;
    visibility: hidden;
    opacity: 0;
    transition:
        visibility 0s,
        opacity 0.5s linear;
}
.nav-totop.active {
    visibility: visible;
    opacity: 1;
}
.nav-totop .totop-button {
    display: block;
    background: #444;
    width: 80px;
    height: 25px;
    line-height: 14px;
    text-align: center;
    font-size: 12px;
    color: #fff;
    padding-top: 5px;
    border-radius: 4px;
}

/* ============================================================
   4-Zean section  (from tded4zean.css)
   ============================================================ */
.sec-4zean {
    margin: 15px 0 5px 0;
}
.h1-4zean {
    background: #67ca56;
    text-align: center;
    padding: 5px 0;
    color: #111;
    font-family: "Kanit-medium", Tahoma, Arial;
    font-size: 20px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
.table.tb-4zean {
    border: 1px solid #109602;
    border-right: none;
    border-bottom: none;
}
.tb-4zean .tr.header {
    background: #cdf7c6;
}
.tb-4zean .td {
    border: 1px solid #109602;
    border-left: none;
    border-top: none;
}
.tb-4zean .td.match-4zean {
    width: 34%;
    line-height: 24px;
}
.tb-4zean .td.rate-4zean {
    width: 6%;
    font-family: "Kanit", Tahoma, Arial;
}
.tb-4zean .td.team-4zean {
    width: 15%;
}
.tb-4zean .td.team-4zean img {
    max-height: 16px;
}
.tb-4zean .td.team-4zean.posted {
    background: #e6e6e6;
}
.tb-4zean .teamname {
    float: left;
    width: 71%;
    text-align: left;
}
.tb-4zean .stats {
    float: left;
    width: 17%;
    font-family: "Kanit", Tahoma, Arial;
    padding-top: 12px;
}
.tb-4zean .stats a {
    color: #0484ab;
}
.tb-4zean .stats img {
    max-height: 16px;
}
.tb-4zean .scores {
    float: left;
    width: 12%;
    font-family: "Kanit", Tahoma, Arial;
    font-weight: bold;
    color: #02967b;
}
.navfoot-4zean {
    font-family: "Kanit", Tahoma, Arial;
    text-align: center;
    padding: 10px 0;
}

/* ============================================================
   Ballteng section  (from tdedballteng.css)
   ============================================================ */
.sec-ballteng {
    margin: 25px 0 5px 0;
}
.sec-ballteng .h1-ballteng {
    background: #e43a52;
    text-align: center;
    padding: 5px 0;
    color: #111;
    font-family: "Kanit-medium", Tahoma, Arial;
    font-size: 20px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
.tb-ballteng {
    padding: 10px 10px 0 10px;
    margin: 0 auto;
    border: 2px solid #e43a52;
}
.tb-ballteng .tded-zeans {
    background: #f26f82;
    padding: 5px 0;
    text-align: center;
    font-family: "Kanit-medium", Tahoma, Arial;
    font-size: 16px;
    color: #fff;
}
.tb-ballteng .col-half {
    float: left;
    width: 49%;
    margin-bottom: 10px;
}
.tb-ballteng .col-half.r {
    float: right;
}
.tb-ballteng .half-td {
    float: left;
    width: 50%;
    border: 1px solid #ddd;
    padding: 7px;
}
.tb-ballteng .half-td.r {
    border-left: none;
}
.tb-ballteng .tr-thumbs {
    text-align: center;
    padding: 8px;
}
.tb-ballteng .tr-thumbs .cut-square {
    display: block;
    width: 75px;
    height: 75px;
    margin: 0 auto;
    overflow: hidden;
}
.tb-ballteng .tr-datas {
    font-family: "Kanit", Tahoma, Arial;
    background: #f1f1f1;
    padding: 4px 6px;
    margin-top: 5px;
    border-radius: 3px;
}
.tb-ballteng .tr-datas .td-time {
    float: left;
    width: 40%;
    text-align: left;
}
.tb-ballteng .tr-datas .td-stats {
    float: left;
    width: 20%;
    text-align: center;
}
.tb-ballteng .tr-datas .td-stats img {
    max-height: 16px;
}
.tb-ballteng .tr-datas .td-odds {
    float: left;
    width: 40%;
    text-align: right;
}
.tb-ballteng .tr-select {
    font-family: "Kanit-medium", Tahoma, Arial;
    text-align: center;
    padding: 5px 6px 0 6px;
    overflow: hidden;
    width: 100%;
}

/* ============================================================
   Step3 / Step6 section  (from tdedstep.css)
   ============================================================ */
.sec-step {
    margin: 25px 0 5px 0;
}
.sec-step .h1-step {
    background: #3eb6bd;
    text-align: center;
    padding: 5px 0;
    color: #111;
    font-family: "Kanit-medium", Tahoma, Arial;
    font-size: 20px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
.sec-step.step6 .h1-step {
    background: #f388ed;
}
.sec-step .step-zean {
    background: #666;
    padding: 5px 10px 5px 20px;
    text-align: left;
    font-family: "Kanit-medium", Tahoma, Arial;
    font-size: 18px;
    color: #fff;
}
.sec-step .step-zean .cut-zean {
    display: inline-block;
    vertical-align: middle;
    width: 45px;
    height: 45px;
    overflow: hidden;
    margin-right: 10px;
}
.step-zean .cut-zean img {
    border: 2px solid #fff;
    border-radius: 50%;
}
.tb-step {
    background: #55c8ce;
    overflow: hidden;
    border: none;
}
.tb-step.step6 {
    background: #fba9f6;
}
.tb-step .td {
    width: 33.33%;
    padding: 20px;
    vertical-align: top;
    border: 6px solid #fff;
    border-left: none;
    border-top: none;
    border-bottom: none;
}
.tb-step .td.last {
    border-right: none;
}
.tb-step.step6 .td {
    width: 16.67%;
    padding: 10px;
}
.tb-step.step6 .step-bg {
    padding: 7px;
}
.tb-step .step-bg {
    background: #fff;
    padding: 10px;
}
.tb-step .step-thumbs {
    text-align: center;
}
.tb-step .step-thumbs .cut-square {
    display: block;
    width: 75px;
    height: 75px;
    margin: 0 auto;
    overflow: hidden;
}
.tb-step .step-datas {
    font-family: "Kanit", Tahoma, Arial;
    background: #f1f1f1;
    padding: 4px 6px;
    margin-top: 5px;
    border-radius: 3px;
}
.tb-step .step-datas .step-time {
    float: left;
    width: 40%;
    text-align: left;
}
.tb-step .step-datas .step-stats {
    float: left;
    width: 20%;
    text-align: center;
}
.tb-step .step-datas .step-stats img {
    max-height: 16px;
}
.tb-step .step-datas .step-odds {
    float: left;
    width: 40%;
    text-align: right;
}
.tb-step .step-select {
    font-family: "Kanit-medium", Tahoma, Arial;
    text-align: center;
    padding: 5px 6px 0 6px;
    overflow: hidden;
    width: 100%;
    height: 25px;
}
.tb-step .step-check {
    font-family: "Kanit", Tahoma, Arial;
    text-align: center;
    padding: 0 6px;
}

/* ============================================================
   Toerong / Overunder (hilow) sections  (from tdedtoerong.css)
   ============================================================ */
.sec-toeover {
    margin: 25px 0 5px 0;
}
.sec-toeover .h1-toeover {
    background: #f0c131;
    text-align: center;
    padding: 5px 0;
    color: #fff;
    font-family: "Kanit-medium", Tahoma, Arial;
    font-size: 20px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
.sec-toeover.overunder .h1-toeover {
    background: #3762c3;
}
.tb-toeover .toeover-box {
    float: left;
    width: 49.5%;
    margin-bottom: 10px;
    background: #fbdf8b;
    padding: 10px;
    border-radius: 4px;
}
.tb-toeover .toeover-box.r {
    float: right;
}
.tb-toeover .toeover-zean {
    padding: 0 0 5px 0;
    text-align: center;
    font-family: "Kanit-medium", Tahoma, Arial;
    font-size: 16px;
}
.tb-toeover .toeover-col {
    float: left;
    width: 49%;
    padding: 7px;
    background: #fff;
}
.tb-toeover .toeover-col.r {
    float: right;
}
.tb-toeover .col-thumbs {
    text-align: center;
    padding: 8px;
}
.tb-toeover .col-thumbs .cut-square {
    display: block;
    width: 75px;
    height: 75px;
    margin: 0 auto;
    overflow: hidden;
}
.tb-toeover .col-select {
    font-family: "Kanit-medium", Tahoma, Arial;
    text-align: center;
    padding: 5px 6px 0 6px;
    overflow: hidden;
    width: 100%;
    height: 30px;
}
.tb-toeover .col-datas {
    font-family: "Kanit", Tahoma, Arial;
    background: #f1f1f1;
    padding: 4px 6px;
    margin-top: 5px;
    border-radius: 3px;
}
.tb-toeover .col-datas .col-time {
    float: left;
    width: 40%;
    text-align: left;
}
.tb-toeover .col-datas .col-stats {
    float: left;
    width: 20%;
    text-align: center;
}
.tb-toeover .col-datas .col-stats.vs {
    padding-top: 40px;
    font-size: 18px;
}
.tb-toeover .col-datas .col-stats img {
    max-height: 16px;
}
.tb-toeover .col-datas .col-odds {
    float: left;
    width: 40%;
    text-align: right;
}
.tb-toeover.overunder .toeover-box {
    background: #94aee8;
}
.tb-toeover.overunder .col-thumbs {
    background: none;
}
.tb-toeover.overunder .col-datas .col-time.teams,
.tb-toeover.overunder .col-datas .col-odds.teams {
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============================================================
   Responsive — 550px–949px
   ============================================================ */
@media screen and (min-width: 550px) and (max-width: 949px) {
    body {
        padding-top: 50px;
    }
    .container {
        padding: 0 1%;
    }
    .tded-nday h3 {
        font-size: 14px;
    }
    .header-bg {
        height: 90px;
    }
    .head-logo {
        float: none;
        width: 80%;
    }
    .head-logo img {
        max-height: 45px;
    }
    .head-menu {
        clear: both;
        float: none;
        width: 100%;
        position: static;
        padding-left: 0;
        padding-top: 9px;
        text-align: center;
    }
    .head-menu li {
        width: auto;
        margin-right: 2px;
        font-size: 14px;
    }
    .head-menu li a {
        padding: 2px 12px;
    }
    .fbg-logo {
        float: none;
        width: 100%;
        text-align: center;
    }
    .fbg-menu {
        float: none;
        width: 100%;
        text-align: center;
        padding: 5px 0;
    }
    .foot-menu {
        padding: 10px 0 3px 0;
        text-align: center;
    }
    .foot-menu li {
        padding: 2px 8px;
        width: auto;
        font-size: 15px;
    }

    /* 4-zean */
    .tb-4zean .td {
        font-size: 13px;
    }
    .tb-4zean .teamname {
        width: 60%;
    }
    .tb-4zean .stats {
        width: 28%;
    }

    /* ballteng */
    .tb-ballteng .half-td {
        font-size: 14px;
    }
    .tb-ballteng .tr-select {
        font-family: "Kanit", Tahoma, Arial;
        height: auto;
        line-height: 20px;
    }
    .tb-ballteng .tr-select .tx-dedteam {
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* step */
    .tb-step .td {
        padding: 10px;
        font-size: 14px;
    }
    .tb-step .step-bg {
        padding: 6px;
    }
    .tb-step .step-select {
        font-family: "Kanit", Tahoma, Arial;
    }
    .table.tb-step.step6 {
        display: block;
    }
    .table.tb-step.step6 .tr {
        display: block;
    }
    .tb-step.step6 .td {
        float: left;
        width: 33.33%;
        border: 0;
    }

    /* toerong / hilow */
    .tb-toeover .col-select {
        font-family: "Kanit", Tahoma, Arial;
        height: auto;
    }
    .tb-toeover .col-select .tx-dedteam {
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .tb-toeover.overunder .toeover-box {
        float: none;
        width: 100%;
        margin-bottom: 6px;
    }
}

/* ============================================================
   Responsive — 280px–549px
   ============================================================ */
@media screen and (min-width: 280px) and (max-width: 549px) {
    body {
        padding-top: 60px;
        padding-bottom: 35px;
    }
    .container {
        padding: 0 1%;
    }
    .control-head.h1 {
        font-size: 14px;
        line-height: 28px;
    }
    .control-head.h2 {
        font-size: 12px;
        line-height: 24px;
    }
    .tded-nday {
        padding: 6px 4px;
        font-size: 14px;
        height: 50px;
    }
    .tded-nday h3 {
        font-size: 14px;
    }
    .tded-nday .nday-btn.pre {
        width: 50%;
    }
    .tded-nday .nday-btn.now {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        margin: 0 auto;
        width: 100%;
    }
    .tded-nday .nday-btn.next {
        float: right;
        width: 50%;
    }
    .tded-icheck {
        font-size: 13px;
        vertical-align: middle;
        margin-top: -2px;
    }
    .header-bg {
        height: 105px;
        padding: 0 4px;
    }
    .head-logo {
        float: none;
        width: 80%;
    }
    .head-logo img {
        max-height: 38px;
    }
    .head-menu {
        clear: both;
        float: none;
        width: 100%;
        position: static;
        padding-left: 0;
        padding-top: 9px;
        text-align: center;
    }
    .head-menu li {
        width: 30%;
        margin-right: 2px;
        font-size: 13px;
    }
    .head-menu li a {
        padding: 2px 4px;
    }
    .fbg-logo {
        float: none;
        width: 100%;
        text-align: center;
    }
    .fbg-menu {
        float: none;
        width: 100%;
        text-align: center;
        padding: 5px 0;
    }
    .fbg-menu a {
        font-size: 12px;
    }
    .foot-menu {
        padding: 3px 0;
    }
    .foot-menu li {
        padding: 2px 8px;
        width: 32%;
        font-size: 14px;
    }
    .nav-social {
        display: block;
        width: 100%;
        top: auto;
        bottom: 50px;
        right: auto;
        left: 0;
    }
    .nav-social .sc-text {
        display: none;
    }
    .nav-social .sc-button {
        float: left;
        width: 33.33%;
        height: 35px;
        line-height: 35px;
        padding: 0;
        text-align: center;
        border-radius: 0;
    }
    .nav-social .sc-button img,
    .nav-social .sc-button svg {
        width: 20px;
        max-height: none;
    }
    .nav-totop {
        bottom: 92px;
    }

    /* 4-zean */
    .h1-4zean {
        font-size: 18px;
    }
    .tb-4zean .td {
        font-size: 13px;
    }
    .tb-4zean .td.match-4zean {
        position: relative;
        padding-bottom: 20px;
    }
    .tb-4zean .teamname {
        width: 80%;
        text-align: left;
        line-height: 20px;
    }
    .tb-4zean .scores {
        width: 20%;
        line-height: 22px;
    }
    .tb-4zean .stats {
        position: absolute;
        bottom: 2px;
        left: 0;
        clear: both;
        float: none;
        width: 100%;
        padding-top: 0;
        text-align: right;
        padding-right: 3px;
    }

    /* ballteng */
    .sec-ballteng .h1-ballteng {
        font-size: 18px;
    }
    .tb-ballteng {
        padding: 10px 5px 0 5px;
    }
    .tb-ballteng .col-half {
        float: none;
        width: 100%;
        margin-bottom: 10px;
    }
    .tb-ballteng .col-half.r {
        float: none;
    }
    .tb-ballteng .half-td {
        font-size: 13px;
    }
    .tb-ballteng .tr-select {
        font-family: "Kanit", Tahoma, Arial;
        height: auto;
    }
    .tb-ballteng .tr-select .tx-dedteam {
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* step */
    .sec-step .h1-step {
        font-size: 18px;
    }
    .table.tb-step {
        display: block;
    }
    .table.tb-step .tr {
        display: block;
    }
    .tb-step .td {
        float: left;
        padding: 3px;
        font-size: 11px;
        border: 0;
    }
    .tb-step .step-bg {
        background: #fff;
        padding: 2px;
    }
    .tb-step .step-thumbs {
        padding-top: 5px;
    }
    .tb-step .step-thumbs .cut-square {
        display: block;
        width: 50px;
        height: 50px;
    }
    .tb-step .step-datas {
        padding: 4px 0;
    }
    .tb-step .step-datas .step-stats img {
        max-height: 13px;
    }
    .tb-step .step-select {
        font-family: "Kanit", Tahoma, Arial;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding: 5px 0 0 0;
    }
    .tb-step.step6 .step-bg {
        padding: 2px;
    }
    .tb-step.step6 .td {
        width: 33.33%;
        padding: 4px 2px;
        border: 1px solid #fff;
    }

    /* toerong / hilow */
    .sec-toeover .h1-toeover {
        font-size: 18px;
    }
    .tb-toeover .toeover-box {
        float: none;
        width: 100%;
        margin-bottom: 6px;
        padding: 5px;
    }
    .tb-toeover .toeover-col {
        font-size: 13px;
    }
    .tb-toeover .col-select {
        font-family: "Kanit", Tahoma, Arial;
        height: auto;
    }
    .tb-toeover .col-select .tx-dedteam {
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .tb-toeover.overunder .toeover-col {
        float: none;
        width: 100%;
        margin-bottom: 3px;
    }
    .tb-toeover.overunder .toeover-col.r {
        float: none;
    }
}

/* ============================================================
   Schedule / Programme Ball (programball.css)
   ============================================================ */
.h1-programball {
    background: #feccb1;
    background: -moz-linear-gradient(
        top,
        #feccb1 0%,
        #f17432 50%,
        #ea5507 50%,
        #fb955e 100%
    );
    background: -webkit-linear-gradient(
        top,
        #feccb1 0%,
        #f17432 50%,
        #ea5507 50%,
        #fb955e 100%
    );
    background: linear-gradient(
        to bottom,
        #feccb1 0%,
        #f17432 50%,
        #ea5507 50%,
        #fb955e 100%
    );
    padding: 6px 15px;
    text-align: center;
    font-family: "Kanit-medium", Tahoma, Arial;
    font-size: 18px;
    color: #000;
    border-radius: 8px 8px 0 0;
}
.pg-navdate {
    background: #141913;
    text-align: center;
    border-left: 1px solid #141913;
    border-right: none;
    border-bottom: none;
}
.pg-navdate .btn-navdate {
    display: block;
    float: left;
    width: 14.285%;
    padding: 5px 0;
    font-family: "Kanit", Tahoma, Arial;
    color: #fff;
    font-size: 13px;
    position: relative;
    border: 1px solid #eee;
    border-left: 1px solid #eee;
    border-right: none;
    border-bottom: none;
}
.pg-navdate .btn-navdate:hover {
    background: #444;
}
.pg-navdate .btn-navdate:first-child {
    border-left: none;
}
.pg-navdate .btn-navdate.active::before {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    margin: 0 auto;
    width: 0;
    height: 0;
    content: " ";
    border: 6px solid transparent;
    border-bottom-color: #eee;
}
.pg-navdate .btn-navdate.none:hover {
    background: #333;
}

.sec-program {
    margin: 5px 0 30px 0;
}
.sec-program .pg-livetx {
    color: #db0707;
    position: relative;
}
.sec-program .pg-liveicon {
    position: absolute;
    display: inline-block;
    width: 4px;
    height: 4px;
    top: 3px;
    right: -5px;
    background: url("../images/lives-active.gif") no-repeat;
}
.sec-program .pg-bggoal {
    background: #fdb8c0;
}
.sec-program .pg-bgscore {
    display: inline-block;
    width: 45px;
    background: #141913;
    vertical-align: middle;
    text-align: center;
    font-size: 12px;
    color: #fff;
    border-radius: 3px;
}
.sec-program .pg-kcard {
    display: inline-block;
    background: #00a000;
    width: 12px;
    height: 13px;
    vertical-align: middle;
    margin: 0 1px 0 3px;
    text-align: center;
    font-family: "Tahoma", Arial;
    font-size: 9px;
    color: #fff;
    line-height: 13px;
    border-radius: 1px;
}
.sec-program .pg-kcard.red {
    background: #f3163a;
    color: #fff;
}
.sec-program .pg-kcard.yellow {
    background: #f1fb41;
    color: #313131;
}
.sec-program .pg-kcard.none {
    display: none;
}
.sec-program .pg-ftnote {
    margin-right: 5px;
}
.sec-program .pg-ftscore {
    font-size: 13px;
    font-weight: bold;
    color: #f3163a;
}
.sec-program .pg-htscore {
    font-size: 13px;
    font-weight: bold;
}
.sec-program .pg-too {
    font-weight: bold;
    color: #f3163a;
}

.pg-header {
    background: #fff;
    padding: 0;
    margin-top: 15px;
}
.pg-header .league-name {
    padding: 6px 0;
    position: relative;
    border-bottom: 1px solid #02967b;
    font-family: "Kanit", Tahoma, Arial;
    color: #02967b;
    font-size: 16px;
}
.pg-header .league-img {
    position: absolute;
    bottom: 2px;
    right: 0;
    text-align: center;
    border: 1px solid #ddd;
    padding: 0 2px;
    display: inline-block;
    vertical-align: middle;
    width: 25px;
    height: 25px;
    overflow: hidden;
    border-radius: 50%;
}
.pg-header .league-img img {
    display: inline-block;
    vertical-align: top;
    height: 24px;
    width: auto;
    max-width: none;
}

.pg-column {
    padding: 0;
    background: #fff;
    position: relative;
}
.pg-rows {
    border-top: 1px dashed #808080;
    padding: 6px 0 0 0;
    font-family: "Kanit", Tahoma, Arial;
}
.pg-rows.first {
    border-top: none;
}
.pg-rows .pg-times {
    float: left;
    width: 50%;
    text-align: left;
}
.pg-rows .pg-times .pg-bgtimes {
    display: inline-block;
    background: #ddd;
    vertical-align: middle;
    width: 100px;
    height: 25px;
    padding: 0 10px;
    text-align: center;
    color: #313131;
    border-radius: 3px;
}
.pg-rows .pg-times .pg-bgstats {
    display: inline-block;
    vertical-align: middle;
    margin-left: 5px;
}
.pg-rows .pg-times .pg-bgstats a {
    color: #0484ab;
    line-height: 18px;
}
.pg-rows .pg-times .pg-bgstats img {
    max-height: 16px;
}
.pg-rows .pg-tdeds {
    float: left;
    width: 50%;
    text-align: right;
}
.pg-rows .pg-tdeds .pg-bgtdeds {
    display: inline-block;
    width: 300px;
    max-width: 100%;
    margin-right: 0;
    margin-left: auto;
    padding: 0;
    text-align: right;
}
.pg-rows .pg-tdeds .pg-rate {
    float: left;
    width: 50%;
    height: 25px;
    background: #83f976;
    border-right: 1px solid #fff;
    padding: 0 8px;
    text-align: center;
    border-radius: 3px 0 0 3px;
}
.pg-rows .pg-tdeds .pg-txtded {
    float: left;
    width: 50%;
    height: 25px;
    background: #83f976;
    text-align: center;
    padding: 0 8px;
    border-radius: 0 3px 3px 0;
}
.pg-rows .pg-tdeds .pg-txtded .show-too {
    color: #f3163a;
}
.pg-rows .pg-tdeds .pg-txtded .show-notoo {
    color: #1660db;
}
.pg-rows .pg-teams {
    float: left;
    width: 30%;
    margin-top: 5px;
    text-align: left;
}
.pg-rows .pg-teams .team-name {
    margin-bottom: 4px;
}
.pg-rows .pg-teams .team-img {
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 20px;
    vertical-align: middle;
    margin: -5px 10px 0 0;
    text-align: center;
    overflow: hidden;
}
.pg-rows .pg-teams .team-img img {
    max-height: 20px;
    border-radius: 50%;
}
.pg-rows .pg-channel {
    float: left;
    width: 40%;
    margin-top: 5px;
    text-align: center;
}
.pg-rows .pg-channel img {
    max-height: 18px;
}
.pg-rows .pg-ponballs {
    float: left;
    width: 30%;
    text-align: right;
    margin-top: 5px;
}
.pg-rows .pg-ponballs .ponballs-tx {
    display: inline-block;
    width: 100px;
    margin-right: 8px;
    vertical-align: middle;
    text-align: right;
}
.pg-rows .pg-ponballs .ponballs-sc {
    display: inline-block;
    vertical-align: middle;
}

@media screen and (min-width: 550px) and (max-width: 949px) {
    .pg-navdate .btn-navdate {
        font-size: 11px;
        max-height: 35px;
        overflow: hidden;
    }
}
@media screen and (min-width: 280px) and (max-width: 549px) {
    .sec-program .pg-ftscore {
        font-size: 11px;
    }
    .pg-navdate .btn-navdate {
        font-size: 11px;
        height: 50px;
    }
    .pg-navdate .d-month {
        display: block;
    }
    .pg-header {
        padding: 0 5px;
    }
    .pg-column {
        padding: 0 5px;
    }
    .pg-rows {
        font-size: 12px;
    }
    .pg-rows .pg-times {
        width: 42%;
    }
    .pg-rows .pg-times .pg-bgtimes {
        width: 60px;
        height: 20px;
        line-height: 20px;
    }
    .pg-rows .pg-times .pg-bgstats img {
        max-height: 15px;
    }
    .pg-rows .pg-tdeds {
        width: 58%;
    }
    .pg-rows .pg-tdeds .pg-txtded {
        height: 20px;
        line-height: 20px;
        width: 55%;
        padding: 0 4px;
    }
    .pg-rows .pg-tdeds .pg-rate {
        height: 20px;
        line-height: 20px;
        width: 45%;
        padding: 0 4px;
    }
    .pg-rows .pg-teams {
        width: 35%;
    }
    .pg-rows .pg-teams .team-img {
        display: none;
    }
    .pg-rows .pg-ponballs {
        width: 40%;
    }
    .pg-rows .pg-ponballs .ponballs-tx {
        width: 45px;
    }
    .pg-column.do-channel {
        padding-bottom: 0;
    }
    .pg-rows .pg-channel {
        width: 25%;
        overflow: hidden;
        padding-top: 2px;
    }
    .pg-rows .pg-channel .channel-tx {
        display: none;
    }
}

/* ============================================================
   Odds / Rate Ball (rateodds.css)
   ============================================================ */
.h1-rateodds {
    padding: 5px 0;
    text-align: center;
    background: -moz-linear-gradient(
        top,
        #feccb1 0%,
        #f17432 50%,
        #ea5507 50%,
        #fb955e 100%
    );
    background: -webkit-linear-gradient(
        top,
        #feccb1 0%,
        #f17432 50%,
        #ea5507 50%,
        #fb955e 100%
    );
    background: linear-gradient(
        to bottom,
        #feccb1 0%,
        #f17432 50%,
        #ea5507 50%,
        #fb955e 100%
    );
    font-family: "Kanit-medium", Tahoma, Arial;
    font-size: 18px;
    color: #111;
    border-radius: 5px 5px 0 0;
}
.rateodds-nav {
    margin-top: 10px;
    padding: 8px 0;
    text-align: center;
}
.rateodds-nav .rnav-btn {
    display: inline-block;
    background: #141913;
    padding: 5px 15px;
    margin: 0 5px 6px 0;
    font-family: "Kanit", Tahoma, Arial;
    color: #fff;
    font-size: 13px;
    text-transform: uppercase;
    border-radius: 5px;
}
.rateodds-nav .rnav-btn:hover,
.rateodds-nav .rnav-btn.active {
    background: #666;
}
.rateodds-code {
    margin: 10px 0 25px 0;
    padding: 0;
}
.rateodds-code iframe,
.rateodds-code object,
.rateodds-code embed {
    max-width: 100%;
}

/* ============================================================
   Livescore (livescore.css)
   ============================================================ */
.h1-livescore {
    padding: 5px 0;
    text-align: center;
    background: -moz-linear-gradient(
        top,
        #feccb1 0%,
        #f17432 50%,
        #ea5507 50%,
        #fb955e 100%
    );
    background: -webkit-linear-gradient(
        top,
        #feccb1 0%,
        #f17432 50%,
        #ea5507 50%,
        #fb955e 100%
    );
    background: linear-gradient(
        to bottom,
        #feccb1 0%,
        #f17432 50%,
        #ea5507 50%,
        #fb955e 100%
    );
    font-family: "Kanit-medium", Tahoma, Arial;
    font-size: 18px;
    color: #111;
    border-radius: 5px 5px 0 0;
}
.livescore-nav {
    margin-top: 10px;
    padding: 8px 0;
    text-align: center;
}
.livescore-nav .lnav-btn {
    display: inline-block;
    background: #141913;
    padding: 5px 15px;
    margin: 0 5px 6px 0;
    font-family: "Kanit", Tahoma, Arial;
    color: #fff;
    font-size: 13px;
    text-transform: uppercase;
    border-radius: 5px;
}
.livescore-nav .lnav-btn:hover,
.livescore-nav .lnav-btn.active {
    background: #666;
}
.livescore-code {
    margin: 10px 0 25px 0;
    padding: 0;
}
.livescore-code iframe,
.livescore-code object,
.livescore-code embed {
    max-width: 100%;
}

@media screen and (min-width: 280px) and (max-width: 549px) {
    .rateodds-nav .rnav-btn {
        width: 47%;
        padding: 5px 8px;
        margin: 0 0 6px 0;
    }
    .livescore-nav .lnav-btn {
        width: 47%;
        padding: 5px 8px;
        margin: 0 0 6px 0;
    }
}

/* ============================================================
   Standing / Ranking (ranking.css)
   ============================================================ */
.h1-ranking {
    padding: 5px 0;
    text-align: center;
    margin-bottom: 20px;
    background: -moz-linear-gradient(
        top,
        #feccb1 0%,
        #f17432 50%,
        #ea5507 50%,
        #fb955e 100%
    );
    background: -webkit-linear-gradient(
        top,
        #feccb1 0%,
        #f17432 50%,
        #ea5507 50%,
        #fb955e 100%
    );
    background: linear-gradient(
        to bottom,
        #feccb1 0%,
        #f17432 50%,
        #ea5507 50%,
        #fb955e 100%
    );
    font-family: "Kanit-medium", Tahoma, Arial;
    font-size: 18px;
    color: #111;
    border-radius: 5px 5px 0 0;
}
.ranks-detail {
    float: left;
    width: 80%;
    margin-right: 1%;
}
.ranks-nav {
    float: left;
    width: 19%;
}
.ranks-nav .nav-lheader {
    position: relative;
    text-align: left;
    font-family: "Kanit", Tahoma, Arial;
    color: #fff;
    background: #9dd53a;
    background: -moz-linear-gradient(
        top,
        #9dd53a 0%,
        #a1d54f 50%,
        #80c217 51%,
        #7cbc0a 100%
    );
    background: -webkit-linear-gradient(
        top,
        #9dd53a 0%,
        #a1d54f 50%,
        #80c217 51%,
        #7cbc0a 100%
    );
    background: linear-gradient(
        to bottom,
        #9dd53a 0%,
        #a1d54f 50%,
        #80c217 51%,
        #7cbc0a 100%
    );
}
.ranks-nav .nav-lheader a {
    display: block;
    color: #fff;
    padding: 6px 0 6px 17px;
    border-bottom: 1px solid #f9f9f9;
}
.ranks-nav .nav-lheader::before {
    display: inline-block;
    position: absolute;
    background: url("/images/arrow-r.png") no-repeat;
    content: "";
    width: 10px;
    height: 8px;
    top: 15px;
    left: 10px;
}
.ranks-nav .nav-lheader.active::before {
    top: 15px;
    left: 10px;
    content: "";
    background: url("/images/arrow-d.png") no-repeat;
}
.ranks-nav .nav-lname {
    display: none;
    position: relative;
    background: #f9f9f9;
}
.ranks-nav .nav-lname.active {
    display: block;
}
.ranks-nav .nav-lname.active a.active {
    font-family: "Kanit-medium", Tahoma, Arial;
    color: #109602;
}
.ranks-nav .nav-lname a {
    display: block;
    position: relative;
    border-bottom: 1px solid #ccc;
    padding: 6px 0 6px 25px;
    font-family: "Kanit", Tahoma, Arial;
    color: #313131;
}
.ranks-nav .nav-lname a:hover {
    background: #ededed;
}
.ranks-topic {
    font-family: "Kanit", Tahoma, Arial;
    font-size: 20px;
    border-bottom: 1px dotted #ddd;
    padding: 0 0 8px 0;
    margin-bottom: 8px;
}
.ranks-topic .cut-square {
    display: inline-block;
    vertical-align: middle;
    width: 40px;
    height: 40px;
    overflow: hidden;
    margin-right: 5px;
    padding: 2px;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.36);
}
.ranks-topic .cut-square img {
    display: inline-block;
    vertical-align: top;
    height: 36px;
    width: auto;
    max-width: none;
}
.ranks-year {
    font-family: "Kanit", Tahoma, Arial;
    font-size: 14px;
    margin-bottom: 6px;
}
.ranks-year .year-title {
    float: left;
    width: 12%;
    text-align: right;
    padding-right: 8px;
    line-height: 28px;
}
.ranks-year .year-detail {
    float: left;
    width: 88%;
    text-align: left;
}
.ranks-year .year-detail .btn-years {
    display: inline-block;
    vertical-align: middle;
    background: #ccc;
    color: #666;
    padding: 2px 8px;
    margin: 0 6px 5px 0;
    text-align: center;
    border-radius: 4px;
}
.ranks-year .year-detail a .btn-years {
    background: #14c002;
    color: #fff;
}
.ranks-tb {
    display: block;
    text-align: center;
    margin: 0;
    border: 1px solid #cdcdcd;
    border-right: none;
    overflow: hidden;
}
.ranks-tb .ranks-hgroup {
    margin-top: 10px;
    font-family: "Kanit", Tahoma, Arial;
}
.ranks-tb .ranks-order {
    display: inline-block;
    vertical-align: middle;
    width: 20px;
    height: 20px;
    font-size: 12px;
    color: #fff;
    line-height: 19px;
    border-radius: 50%;
}
.ranks-tb .tr {
    border-top: 1px solid #cdcdcd;
}
.ranks-tb .tr.bg1 {
    background: #f8f8f8;
}
.ranks-tb .tr.rows-header {
    font-family: "Kanit", Tahoma, Arial;
    overflow: hidden;
    border-top: none;
    background: #444;
}
.ranks-tb .tr.rows-header.head-toper {
    border-bottom: 1px solid #fff;
    text-transform: uppercase;
}
.ranks-tb .tr.rows-header .td {
    border-right: 1px solid #fff;
    overflow: hidden;
    white-space: nowrap;
    font-size: 12px;
    color: #aaa;
    line-height: 30px;
}
.ranks-tb .tr.rows-header .td.last {
    border-right: none;
}
.ranks-tb .tr.rows-header.head-toper .td {
    width: 32.5%;
    font-size: 12px;
    font-family: "Kanit-medium", Tahoma, Arial;
    color: #fff;
    height: 22px;
    line-height: 22px;
}
.ranks-tb .tr.rows-header.head-toper .td.home {
    width: 22.5%;
}
.ranks-tb .tr.rows-header.head-toper .td.away {
    width: 22.5%;
}
.ranks-tb .tr.rows-header.head-toper .td.all {
    width: 22.5%;
}
.ranks-tb .td {
    float: left;
    width: 4.5%;
    font-size: 13px;
    line-height: 28px;
    border-right: 1px solid #cdcdcd;
    height: 30px;
    white-space: nowrap;
    overflow: hidden;
    padding: 0;
}
.ranks-tb .td.last {
    border-right: none;
}
.ranks-tb .td.tb-team {
    width: 23.5%;
    text-align: left;
    padding-left: 10px;
    font-size: 13px;
    text-overflow: ellipsis;
}
.ranks-tb .td.tb-team .logo-square {
    display: inline-block;
    vertical-align: middle;
    height: 18px;
    width: 18px;
    margin-right: 6px;
    overflow: hidden;
    border-radius: 50%;
}
.ranks-tb .td.tb-team .logo-square img {
    height: 18px;
    width: auto;
    max-width: none;
    vertical-align: top;
}
.ranks-tb .tr.nohome.rows-header .td {
    width: 7%;
}
.ranks-tb .tr.nohome.rows-header .td.tb-team {
    width: 37%;
}
.ranks-tb .tr.nohome .td {
    width: 7%;
}
.ranks-tb .tr.nohome .td.tb-team {
    width: 37%;
}
.ranks-txnote {
    font-family: "Kanit", Tahoma, Arial;
    font-size: 13px;
    color: #f00;
    text-align: left;
    padding: 5px 0 5px 10px;
}
.ranks-update {
    background: #444;
    padding: 2px 5px 2px 0;
    text-align: right;
    font-family: "Kanit-light", Tahoma, Arial;
    color: #aaa;
    font-style: italic;
}
.ranks-color {
    padding: 8px 0 8px 8px;
    font-family: "Kanit", Tahoma, Arial;
    font-size: 12px;
}
.ranks-color .col-color {
    display: inline-block;
    vertical-align: top;
    width: 23%;
    margin-bottom: 4px;
    text-align: left;
}
.ranks-color .col-color .color-box {
    display: inline-block;
    vertical-align: top;
    width: 20px;
    height: 20px;
    line-height: 20px;
    font-size: 13px;
    margin-right: 5px;
    border-radius: 50%;
}
.ranks-color .col-color span {
    display: inline-block;
    vertical-align: middle;
}

@media screen and (min-width: 550px) and (max-width: 949px) {
    .ranks-detail {
        float: left;
        width: 73%;
    }
    .ranks-nav {
        float: left;
        width: 26%;
    }
    .ranks-nav .nav-lheader {
        font-size: 14px;
    }
    .ranks-year .year-title {
        width: 20%;
    }
    .ranks-year .year-detail {
        width: 80%;
    }
    .ranks-tb .tr.rows-header.head-toper {
        display: none;
    }
    .ranks-tb .tr .tb-home,
    .ranks-tb .tr .tb-away {
        display: none;
    }
    .ranks-tb .td {
        width: 10%;
    }
    .ranks-tb .td.tb-team {
        width: 30%;
    }
    .ranks-tb .td.tb-team .logo-square {
        display: none;
    }
    .ranks-color .col-color {
        width: 32%;
        margin: 0 0 3px 0;
    }
}
@media screen and (min-width: 280px) and (max-width: 549px) {
    .ranks-detail {
        float: none;
        width: 100%;
    }
    .ranks-nav {
        float: none;
        width: 100%;
        margin-left: 0;
        margin-top: 10px;
    }
    .ranks-year .year-title {
        width: 22%;
    }
    .ranks-year .year-detail {
        width: 78%;
    }
    .ranks-tb .tr.rows-header.head-toper {
        display: none;
    }
    .ranks-tb .tr .tb-home,
    .ranks-tb .tr .tb-away {
        display: none;
    }
    .ranks-tb .td {
        width: 10%;
    }
    .ranks-tb .td.tb-team {
        width: 30%;
        font-size: 13px;
    }
    .ranks-tb .td.tb-team .logo-square {
        display: none;
    }
    .ranks-color .col-color {
        display: block;
        width: 100%;
        margin: 0 0 3px 0;
    }
}

/* ============================================================
   Static Pages (pages.css)
   ============================================================ */
.h1-pagedata {
    padding: 5px 0;
    text-align: center;
    background: -moz-linear-gradient(
        top,
        #feccb1 0%,
        #f17432 50%,
        #ea5507 50%,
        #fb955e 100%
    );
    background: -webkit-linear-gradient(
        top,
        #feccb1 0%,
        #f17432 50%,
        #ea5507 50%,
        #fb955e 100%
    );
    background: linear-gradient(
        to bottom,
        #feccb1 0%,
        #f17432 50%,
        #ea5507 50%,
        #fb955e 100%
    );
    font-family: "Kanit-medium", Tahoma, Arial;
    font-size: 18px;
    color: #111;
    border-radius: 5px 5px 0 0;
}
.pagedata-code {
    padding: 18px;
}
.pagedata-code iframe,
.pagedata-code object,
.pagedata-code embed {
    max-width: 100%;
}
.pagedata-code a {
    color: #000;
}

@media screen and (min-width: 550px) and (max-width: 949px) {
    .pagedata-code {
        padding: 12px 2%;
    }
}
@media screen and (min-width: 280px) and (max-width: 549px) {
    .pagedata-code {
        padding: 12px 2%;
    }
}
