.box-tdedteng{padding:10px 0;}
.box-card{
    display:inline-block;vertical-align:middle;width:10px;height:13px;text-align:center;
    margin:0 1px 0 3px;font-family:"Tahoma",Arial;font-size:0.6rem;font-weight:normal !important;
    line-height:13px;
    border-radius:2px;-khtml-border-radius:2px;-moz-border-radius:2px;
}
.box-card.red{background:#f00;color:#fff;}
.box-card.yellow{background:#f8fc0a;color:#0d0d0d;}
.box-card.none{display:none;}
.t-tengcols.match .m-item.m-team.home .box-card{margin:0 3px 0 1px;}

.box-noteteng{margin-top:6px;}
.box-noteteng .noteteng-h{
    font-family:"Kanit-medium",Tahoma,Arial;color:#fff;padding:4px 10px;
    background: rgb(77,196,3);
    background: linear-gradient(180deg, rgba(255,165,0,1) 0%, rgba(204,102,0,1) 50%, rgba(255,165,0,1) 100%);
}
.box-noteteng .noteteng-h h3{font-weight:normal;font-size:0.9rem;}
.box-noteteng .noteteng-h img{max-height:18px;margin-right:4px;}
.box-noteteng .noteteng-tb{display:flex;flex-wrap:wrap;}
.box-noteteng .noteteng-td{width:50%;display:flex;padding:6px 12px;background:#222;margin-top:2px;}
.box-noteteng .noted-label{width:25%;text-align:left;}
.box-noteteng .noted-blank{width:10%;text-align:center;}
.box-noteteng .noted-detail{width:65%;text-align:left;}
.box-noteteng .bg-tdeds{display:block;}

.bg-effect{background:#c2fcfd;}
.bg-tdeds{color:#111 !important;}
.bg-tdeds.win1{background:#b30404;}
.bg-tdeds.win2{background:#ff5959;}
.bg-tdeds.draw{background:#33cc00;}
.bg-tdeds.lost1{background:#5256c1;}
.bg-tdeds.lost2{background:#a0a5f7;}
.bg-tdeds.post{background:#00ffff;}
.c-stadium{color:#b30404;}
.i-lives{
    display:inline-block;position:absolute;width:4px;height:4px;right:8px;top:9px;
    background:url("../images/i-livescore.gif") no-repeat;
}
.score-final{color:#4dc403;font-weight:bold;font-size:0.7rem;}
.score-half{color:#c43d03;font-weight:bold;font-size:0.7rem;}
.score-note{
    display:block;font-size:0.6rem;font-family:"Kanit-light",Tahoma,Arial;color:#b30404;
    font-weight:normal;
}

.t-teng-program{
    background:#333;padding:4px;margin-top:8px;font-size:0.85rem;color:#fff;
    font-family:"Kanit-light",Tahoma,Arial;letter-spacing:0.5px;
}
.t-teng-program .i-logo{
    display:inline-block;vertical-align:middle;width:20px;height:20px;overflow:hidden;
    margin:-3px 3px 0 0;text-align:center;
    border-radius:2px;-khtml-border-radius:2px;-moz-border-radius:2px;
}
.t-teng-program .i-logo img{width:100%;vertical-align:top;}

.t-tengrow{
    display:flex;background:#222;margin-top:2px;
    font-family:Tahoma,Arial;font-size:0.8rem;color:#aaa;
}
.t-tengrow:hover{background:#292929;transition:all .3s ease-in-out;}
.t-tengcols{text-align:center;position:relative;padding:8px 6px;}
.t-tengcols.timer{width:6%;}
.t-tengcols.livetime{width:4%;color:#4dc403;}
.t-tengcols.match{width:54%;padding:0 6px;display:flex;align-items:center;}
.t-tengcols.match .m-item{padding:0 6px;}
.t-tengcols.match .m-item.m-team{width:44%;text-align:right;}
.t-tengcols.match .m-item.m-team.away{text-align:left;}
.t-tengcols.match .m-item.m-score{width:12%;}
.t-tengcols.match .t-logo{
    display:inline-block;vertical-align:middle;width:22px;height:22px;background:#fff;
    margin-left:6px;overflow:hidden;
    border-radius:50%;-khtml-border-radius:50%;-moz-border-radius:50%;
}
.t-tengcols.match .t-logo img{display:inline-block;vertical-align:top;width:100%;}
.t-tengcols.match .m-item.m-team.away .t-logo{margin-left:0;margin-right:6px;}
.t-tengcols.rateball{width:8%;}
.t-tengcols.tded{width:22%;color:#4dc403;}
.t-tengcols.stats{width:6%;border-right:none;}
.t-tengcols.stats img{max-height:18px;}


@media screen and (min-width:590px) and (max-width:919px){
    .t-tengrow{font-size:0.75rem;}
    .t-tengcols{padding:4px 3px;}
    .t-tengcols.match .t-logo{display:none;}
    .t-tengcols.match .m-item.m-team{width:43%;;}
    .t-tengcols.match .m-item.m-score{width:14%;}
    .i-lives{right:1px;top:3px;}
}

@media screen and (min-width:280px) and (max-width:589px){
    .t-teng-program .i-logo{width:16px;height:16px;}

    .c-stadium{font-size:0.6rem;}
    .i-lives{right:1px;top:3px;}

    .t-tengrow{flex-wrap:wrap;font-size:0.7rem;}
    .t-tengcols{padding:4px 3px;}
    .t-tengcols.timer{width:11%;font-size:0.6rem;}
    .t-tengcols.livetime{width:8%;}
    .t-tengcols.match{width:66%;flex-wrap:wrap;padding:3px 0 0 0;align-items:flex-start;}
    .t-tengcols.match .m-item.m-team{width:39%;}
    .t-tengcols.match .m-item.m-score{width:22%;}
    .t-tengcols.match .t-logo{display:none;}
    .t-tengcols.rateball{width:10%;border-right:none;}
    .t-tengcols.tded{width:85%;}
    .t-tengcols.stats{width:15%;}

    .box-noteteng .noteteng-td{width:100%;padding:2px 8px;font-size:0.8rem;}
    .noteteng-td.blank{display:none;}
    .noteteng-td.full .noted-label{width:35%;}
    .noteteng-td.full .noted-blank{width:10%;}
    .noteteng-td.full .noted-detail{width:55%;}
    .noteteng-td .noted-label{width:35%;text-align:left;}
    .noteteng-td .noted-blank{width:10%;text-align:center;}
    .noteteng-td .noted-detail{width:55%;text-align:left;}
}