.zeanflag{margin-top:25px;}

.tflag-main{padding:5px 0 15px 0;}
.tflag-main .bg-scorer{background:#cdf8f9;color:#333;}
.tflag-main .bg-cktded{color:#fff !important;}
.tflag-main .bg-cktded.win1{background:#d30d0d;}
.tflag-main .bg-cktded.win2{background:#ec8d8d;color:#333 !important;}
.tflag-main .bg-cktded.draw{background:#6e76a7;}
.tflag-main .bg-cktded.lost1{background:#51c546;}
.tflag-main .bg-cktded.lost2{background:#befab2;color:#333 !important;}
.tflag-main .bg-cktded.post{background:#3afcfc;}
.tflag-main .t-card{
    display:inline-block;vertical-align:middle;width:11px;height:13px;text-align:center;
    margin:0 1px 0 3px;font-family:"Tahoma",Arial;font-size:0.6rem;font-weight:normal;line-height:13px;
    border-radius:1px;-khtml-border-radius:1px;-moz-border-radius:1px;
}
.tflag-main .t-card.red{background:#cf1a1a;color:#fff;}
.tflag-main .t-card.yellow{background:#f3fd68;color:#333;}
.tflag-main .t-card.none{display:none;}
.tflag-main .score-half{color:#d78708;font-size:0.7rem;font-weight:600;}
.tflag-main .score-full{color:#cf1a1a;font-size:0.7rem;font-weight:600;}

.tflag-league{
    margin:8px 0 0 0;padding:4px;text-align:left;background:#4684cc;border:1px solid #fff;
    font-family:"Kanit",Tahoma,Arial;font-size:0.9rem;font-weight:500;color:#fff;
    border-top-left-radius:6px;-khtml-border-top-left-radius:6px;-moz-border-top-left-radius:6px;
    border-top-right-radius:6px;-khtml-border-top-right-radius:6px;-moz-border-top-right-radius:6px;
}
.tflag-league .l-logo{
    display:inline-block;vertical-align:middle;width:20px;height:20px;overflow:hidden;
    text-align:center;background:#fff;padding:2px;margin:-5px 3px 0 0;
    border-radius:3px;-khtml-border-radius:3px;-moz-border-radius:3px;
}
.tflag-league .l-logo img{vertical-align:top;width:100%;}

.tflag-row{
    display:flex;border-left:1px solid;border-right:1px solid;font-size:0.8rem;
    background:#e0ecff;
}
.tflag-row, .tflag-cols, .tflag-cols.c-club .odds{border-color:#fff !important;}
.tflag-row.pre-head{
    font-family:"Kanit",Tahoma,Arial;font-weight:400;background:#20e589;
}
.tflag-row.pre-head .tflag-cols{padding:2px 6px;}
.tflag-row.pre-head .tflag-cols.c-club{padding:0 6px;}
.tflag-row.pre-head .tflag-cols.c-club .team{padding:2px 6px;}
.tflag-row.pre-head .tflag-cols.c-club .odds{padding:2px 0;}
.tflag-row.pre-head .tflag-cols.c-tded{color:#333;}

.tflag-cols{
    text-align:center;position:relative;
    padding:5px 6px;border:1px solid;border-left:none;border-top:none;
}
.tflag-cols.c-timer{width:6%;}
.tflag-cols.c-sod{width:4%;}
.tflag-cols.c-club{width:46%;display:flex;flex-direction:row;padding:0 6px;align-items:stretch;}
.tflag-cols.c-club .team{width:44%;padding:5px 0;padding-right:8px;}
.tflag-cols.c-club .team.away{padding-right:0;padding-left:8px;}
.tflag-cols.c-club .dash{display:none;color:#0d0d0d;}
.tflag-cols.c-club .odds{width:12%;border-left:1px solid;border-right:1px solid;padding:5px 0;}
.tflag-cols .logo-team{
    display:inline-block;vertical-align:middle;width:18px;height:18px;
    margin-left:3px;overflow:hidden;background:#fff;padding:1px;
    border-radius:3px;-khtml-border-radius:3px;-moz-border-radius:3px;
}
.tflag-cols.c-club .team.away .logo-team{margin-left:0;margin-right:3px;}
.tflag-cols .logo-team img{display:inline-block;vertical-align:top;width:100%;}
.tflag-cols.c-ht{width:8%;}
.tflag-cols.c-ft{width:8%;position:relative;}
.tflag-cols.c-ft .score-note{
    display:inline-block;position:absolute;right:-8px;top:-6px;
    font-weight:400;font-size:0.85rem;color:#cf1a1a;
}
.tflag-cols.c-tded{width:22%;color:#0a06e4;}
.tflag-cols.stats{width:6%;border-right:none;}
.tflag-cols.stats img{max-height:18px;}
.tflag-cols .sod-timer{color:#4871e4;font-size:0.7rem;font-weight:600;}
.tflag-cols .sod-timer.half{color:#fab226;font-size:0.7rem;font-weight:600;}
.tflag-cols .sod-timer img{
    display:inline-block;vertical-align:top;margin:4px 0 0 2px;max-height:3px;
}
.tflag-cols .bg-score{
    display:block;background:#232323;margin:0 auto 0 auto;
    font-size:13px;color:#fff;width:50px;max-width:100%;
    position:relative;border-radius:15px;-khtml-border-radius:15px;-moz-border-radius:15px;
}
.tflag-cols .bg-score.none{background:none;color:#262626;}
.tflag-cols .bg-score .m-note{
    display:inline-block;position:absolute;right:-8px;top:-6px;
    font-weight:400;font-size:0.85rem;color:#cf1a1a;
}

.tflag-notetb{margin-top:20px;}
.tflag-notetb .notetb-head{
    padding:1px 10px;background:#232323;border:1px solid #232323;
    font-family:"Kanit",Tahoma,Arial;font-weight:500;color:#fff;
    border-top-left-radius:6px;-khtml-border-top-left-radius:6px;-moz-border-top-left-radius:6px;
    border-top-right-radius:6px;-khtml-border-top-right-radius:6px;-moz-border-top-right-radius:6px;
}
.tflag-notetb .notetb-head img{max-height:18px;margin-right:4px;}
.tflag-notetb .notetb-box, .tflag-notetb .notetb-tr, .tflag-notetb .notetb-tr.l{border-color:#ddd !important;}
.tflag-notetb .notetb-box{display:flex;flex-wrap:wrap;border-left:1px solid;border-right:1px solid;}
.tflag-notetb .notetb-tr{
    display:flex;width:50%;border-bottom:1px solid;padding:6px 10px;font-size:0.8rem;
}
.tflag-notetb .notetb-tr.l{border-left:1px solid;}
.tflag-notetb .notetb-tr.full{width:100%;}
.tflag-notetb .notetb-tr.full .tr-label{width:12.1%;}
.tflag-notetb .notetb-tr.full .tr-dash{width:5%;}
.tflag-notetb .notetb-tr.full .tr-content{width:70%;}
.tflag-notetb .notetb-tr .tr-label{width:25%;text-align:left;}
.tflag-notetb .notetb-tr .tr-dash{width:10%;text-align:center;}
.tflag-notetb .notetb-tr .tr-content{width:65%;text-align:left;}
.tflag-notetb .notetb-tr .bg-cktded{display:block;}

@media screen and (min-width:590px) and (max-width:799px){
    .tflag-main{padding:5px 0 15px 0;}

    .tflag-cols{font-size:0.75rem;}
}

@media screen and (min-width:280px) and (max-width:589px){
    .tflag-main{padding:5px 0 15px 0;}
    
    .tflag-row{flex-wrap:wrap;}
    .tflag-row.pre-head{font-weight:400;}
    .tflag-row.pre-head .tflag-cols.c-club{display:flex;flex-wrap:nowrap;justify-content:space-between;}
    .tflag-row.pre-head .tflag-cols.c-club .team.home, 
    .tflag-row.pre-head .tflag-cols.c-club .team.away{display:block;width:50%;text-align:center;margin-top:0;}
    .tflag-row.pre-head .tflag-cols .odds{display:none;}
    .tflag-cols.c-timer{width:18%;font-size:0.75rem;}
    .tflag-cols.c-sod{width:11%;}
    .tflag-cols.c-ht{width:11%;}
    .tflag-cols.c-ft{width:11%;border-right:none;}
    .tflag-cols.c-club{width:49%;}
    .tflag-cols.c-tded{width:78%;}
    .tflag-cols.stats{width:22%;}
    .tflag-cols.c-club{font-size:0.8rem;position:relative;display:flex;flex-wrap:wrap;}
    .tflag-cols.c-club .team.home{
        display:flex;flex-wrap:wrap;justify-content:flex-start;
        width:78%;text-align:left;padding:3px 0;padding-right:0;
    }
    .tflag-cols.c-club .odds{
        position:absolute;top:-1px;right:2px;justify-content:flex-end;
        font-size:0.75rem;width:35px;text-align:right;border-left:none;border-right:none;
    }
    .tflag-cols.c-club .team.away{
        display:flex;flex-wrap:wrap;justify-content:flex-start;
        width:78%;text-align:left;padding:3px 0;padding-left:0;margin-top:-5px;
    }
    .tflag-cols.c-club .m-vs{display:none;}
    .tflag-cols.c-club .pg-team1{order:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
    .tflag-cols.c-club .f-cards{order:2;}
    
    .tflag-cols .ft-score1, .tflag-cols .ft-score2{display:block;line-height:19px;font-size:0.8rem;}
    .tflag-cols .ht-score1, .tflag-cols .ht-score2{display:block;line-height:19px;font-size:0.8rem;}
    .tflag-cols .sc-dash{display:none;}
    .tflag-cols .bg-score{background:none;margin:0 auto 0 auto;font-size:0.8rem;color:#232323;}
    .tflag-cols .logo-team{display:none;}
}