body, section, .section {background-color: #fafafa;}
.header {
    height: 125px;
    z-index: 1000;
    position: relative;
    background-color: #f1f8f6;
	/*border-bottom: 7px solid #eee;
	background-image: -webkit-gradient(linear,left top, left bottom,from(#fefefe), color-stop(0.5,#f0f0f0), color-stop(0.51, #e6e6e6));
    background-image: -moz-linear-gradient(#fefefe 0%, #f0f0f0 50%, #e6e6e6 51%);
    background-image: -o-linear-gradient(#fefefe 0%, #f0f0f0 50%, #e6e6e6 51%);
    background-image: -ms-linear-gradient(#fefefe 0%, #f0f0f0 50%, #e6e6e6 51%);
    background-image: linear-gradient(#fefefe 0%, #f0f0f0 50%, #e6e6e6 51%);*/
}
.channel_logo {
    display: inline-block;
    width: 191px;
    height: 90px;
    background: transparent url(../image/logo.png) no-repeat;
    position: relative;
    top: 18px;
    left: 9px;
    margin-bottom: 20px;
    background-size: 100%;
    margin-left: 30px;
}

/*** Tab menu ***/
.tab-menu {
	height: 28px;
    margin-bottom: 5px;
    white-space: nowrap;
	color: #257f77;
    font-size: 16px;
    border-bottom: 2px solid #43adab;
    padding:0 3em;
    transition: border-color ease 0.5s, trasition ease 0.2s;
}
.tab-menu li {
    display: inline-block;
    padding: 0px 12px;
	color: #505050;
	margin: 0px 8px 0px 0;
    background-repeat: no-repeat;
    background-position: center bottom;
    /*background-position: center bottom -10px;*/
	transition: border-color ease 0.5s;
    cursor: pointer;
    height: 100%;
    line-height: 26px;
    height: 28px;
    border-bottom: 2px solid transparent;
    vertical-align: top;
}
.cate-50 .pictop .title, .cate-50 .pictop a:hover .title, .cate-50 .item-name {color:#CE0E0E;}
.cate-1 .pictop .title, .cate-1 .pictop a:hover .title, .cate-1 .item-name {color:#278d84;}
.cate-3 .pictop .title, .cate-3 .pictop a:hover .title, .cate-3 .item-name {color:#21790d;}
.cate-28 .pictop .title, .cate-28 .pictop a:hover .title, .cate-28 .item-name {color:#BD1AAE;}
.cate-23 .pictop .title, .cate-23 .pictop a:hover .title, .cate-23 .item-name {color:#EF30AF;}
.cate-11 .pictop .title, .cate-11 .pictop a:hover .title, .cate-11 .item-name {color:#e66800;}
.cate-164 .pictop .title, .cate-164 .pictop a:hover .title, .cate-164 .item-name {color:#3583c2;}
.cate-100 .pictop .title, .cate-100 .pictop a:hover .title, .cate-100 .item-name {color:#0857ab;}
.cate-35 .pictop .title, .cate-35 .pictop a:hover .title, .cate-35 .item-name {color:#229efc;}

.cate-50 .hilight-tag {color:#CE0E0E;}
.cate-1 .hilight-tag {color:#278d84;}
.cate-3 .hilight-tag {color:#21790d;}
.cate-28 .hilight-tag {color:#BD1AAE;}
.cate-23 .hilight-tag {color:#EF30AF;}
.cate-11 .hilight-tag {color:#e66800;}
.cate-164 .hilight-tag {color:#3583c2;}
.cate-100 .hilight-tag {color:#0857ab;}
.cate-35 .hilight-tag {color:#229efc;}

.pictop a:hover .title {text-decoration: underline;}
.pictop .title.center{text-align: center}
.tab-menu li.active {
    border-color:#fafafa;
    transform: scale(1.2);
    background-color: #fafafa;
    margin-top: -2px;
}
.tab-menu.active-50 {border-color:#CE0E0E;}
.tab-menu.active-1 {border-color:#3bb0a5;}
.tab-menu.active-3 {border-color:#2B9F11;}
.tab-menu.active-28, .tab-menu.violet {border-color:#BD1AAE;}
.tab-menu.active-23, .tab-menu.pink {border-color:#EF30AF;}
.tab-menu.active-11, .tab-menu.orange {border-color:#FF7400;}
.tab-menu.active-164, .tab-menu.blue {border-color:#3583c2;}
.tab-menu.active-100 {border-color:#0857ab;}
.tab-menu.active-35 {border-color:#229efc;}

.tab-menu.active-50 .htab-50, .htab-50:hover {color:#CE0E0E;} /* news */
.tab-menu.active-1 .htab-1, .htab-1:hover {color:#3bb0a5;} /* entertainment */
.tab-menu.active-3 .htab-3, .htab-3:hover {color:#2B9F11;} /* sport */
.tab-menu.active-28 .htab-28, .htab-28:hover {color:#BD1AAE;} /* variety */
.tab-menu.active-23 .htab-23, .htab-23:hover{color:#EF30AF;} /* women */
.tab-menu.active-11 .htab-11, .htab-11:hover {color:#FF7400;} /* techno */
.tab-menu.active-164 .htab-164, .htab-164:hover {color:#3583c2;} /* music */
.tab-menu.active-100 .htab-100, .htab-100:hover {color:#0857ab;} /* horoscope */
.tab-menu.active-35 .htab-35, .htab-35:hover {color:#229efc;} /* travel */

/******* Icons ******/
.head-icon-circle{
    display: inline-block;
    background-color: #e40000;
    height: 50px;
    width: 50px;
    text-align: center;
    font-family: sans-serif;
    font-size: 14px;
    border-radius: 50%;
    color: #fff;
    vertical-align: middle;
    line-height: 50px;
}
.head-icon-circle span {
    line-height: 1.2em;
    display: block;
}
.head-icon-circle small{
    display: block;
    font-size: 0.8em;
    margin-top: 9px;
    color: #FFEB3B;
    font-weight: bold;
    line-height: 1.2em;
}
.head-icon-circle.violet {background-color:#BD1AAE;}
.head-icon-circle.orange {background-color:#FF9800;}
.head-icon-circle.teal {background-color:#07ab9c;}
.head-icon-circle.pink {background-color:#ef30af;}
.head-icon-circle.sky-blue {background-color:#229efc;}
.head-icon-circle.green {background-color:#167e1a;}
.head-icon-circle.blue {background-color:#0857ab;}
.title.teal {color:#009688;}
.title.pink {color:#ef30af;}
.title.sky-blue {color:#1780d0;}
.title.orange{color:#d76200;}
.hot-tz{
    position: absolute;
    z-index: 10;
    background-color: rgba(255, 0, 0, 0.68);
    color: #fff;
    text-align: center;
    height: 32px;
    width: 32px;
    line-height: 31px;
    top: 61px;
    left: 4px;
    font-family: sans-serif;
    font-size: 13px;
    border-radius: 15px;
    box-shadow: 0 0 8px rgba(51, 51, 51, 0.27);
}
.hot-tz img {margin:6px;}
.hot-tz.red {background-color: rgba(255, 0, 0, 0.68);}
.hot-tz.green {background-color: rgba(77, 182, 172, 0.8)}
.hot-tz.orange {background-color: rgba(231, 150, 0, 0.81);}
.hot-tz.violet {background-color: rgba(184, 0, 255, 0.68);}
.hot-tz.sky-blue {background-color: rgba(31, 151, 234, 0.76);}
.listview .hot-tz {bottom: 0;top:auto;}
.time {
    bottom: 0;
    left: 0;
    display: -moz-inline-stack;
    display: inline-block;
    vertical-align: middle;
    background-color: rgba(0,0,0,.6);
    color: rgba(255,255,255,.9);
    font-size: .68em;
    height: 1.4em;
    line-height: 1.5em;
    padding: .3em .4em;
    z-index: 10;
    position: absolute;
}
.play-icon:before {
    content: url(/image/play-1.svg);
    width: 1.3em;
    height: 1.3em;
    vertical-align: middle;
    margin-right: 3px;
    display: inline-block;
}
/***** Text style *****/
.ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.h1-1 {
    display: inline-block;
    margin-left: 18px;
    vertical-align: middle;
    font-family: Kanit;
    background-color: #fafafa;
    padding-right: 1em;
}
.h1-2 {
    border-left: 10px solid #2196F3;
    font-family: supermarketregular,Tahoma;
    font-size: 1.7em;
    padding: .4em 10px .2em 17px;
    margin: 10px;
    letter-spacing: .3px;
    line-height: 1em;
    display: inline-block;
    background-color: #fafafa;
}
.h1-2 a {
    display: inline-block;
    position: relative;
}
.h1-2 a:after, .arrow-right:after {
    content: '';
    display: inline-block;
    vertical-align: middle;
    width: 0px;
    height: 0px;
    border-left: 7px solid #fe6000;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    position: relative;
    left: 10px;
    /*position: absolute;
    top: 0.28em;
    right: -12px;*/
}
.h1-2 a:hover, .h1-1 a:hover, .h1-3 a:hover {font-style: italic;}
.h1-2 a:hover:after{margin-right: -3px;}
.h1-2.red {border-color:red;}
.h1-2.violet {border-color:#BD1AAE;}
.h1-2.orange {border-color:#FF7400;}
.h1-2.green {border-color:#167e1a;}
.h1-2.blue {border-color:#10375d;}
.h1-3 {
    font-family: Kanit;
    font-size: 18px;
    color:#333;
    display: inline-block;
}
.bullet-header {font-size: 18px;}
.cate-164 .bullet-header:before {background-color: #1c7ac5;}
.hilight-tag {
    /*clear: both;*/
    padding: 5px 10px;
    color:#999;
}
.hilight-tag .item-name {
    display: inline-block;
    font-weight: bold;
    opacity: 0.8;
}
.hilight-tag a {
    display: inline-block;
}
.hilight-tag a:hover {
    text-decoration: underline;
}
.hilight-tag a span {color:#777;font-size:0.95em;}
.hilight-tag a:nth-child(n+2) span:before {
    content:'';
    display: inline-block;
    background-color: #b7b7b7;
    height: 5px;width: 5px;
    border-radius: 3px;
    margin:0 8px;
    vertical-align: middle;
}
.text-2 {
    display: table-cell;
    height: 224px;
    vertical-align: middle;
    width: 100%;
    line-height: 1.4em;
    font-size: 1.05em;
    padding:0 1em;
    background-color: rgba(236, 241, 249, 0.87);
    color:#262626;
    border-radius: 15px;
}
.text-3{
    font-weight: bold;
    margin: 0 5px;
    color: #163d67;
}
.color-sun {color:#d22929}
.color-mon {color:#d09d00}
.color-tue {color:#ff37b5}
.color-wed {color:#006d4c}
.color-thu {color:#f96645}
.color-fri {color:#5ba0d4}
.color-sat {color:#e14df9}
/**** List view, list column  ***/
figure.ratio {
    background: url(//images.thaiza.com/no_pic.jpg) no-repeat center center;
    background-size: 100%;
}
figure.ratio>img[data-s]{opacity: 0;}
.hilight-1 .pictop {margin-top:10px;}
.hilight-1 .pictop .title {
    font-family: Kanit, sans-serif;
    font-size: 1.3em;
    max-height: 2.2em;
    overflow: hidden;
}
.list-col li {position: relative;}
.list-col a:hover .title {color:#000}
.list-col .title {font-size: 1em;color:#222;max-height: 5em;}
.title.large {font-size: 1.1em}
.list-6col li {width: 13.3%;margin: 15px 1.5%;}
.list-market li {width: 9%;margin: 7px 1.5%;}
.list-market li figure {width:70%;margin-left: 15%;}
.list-market li .title {overflow: visible;}
.list-phone figure {height: 150px;text-align: center;}
.list-phone figure img {height: 100%;width: auto;}
.list-tv {display: inline-block;width:600px;vertical-align: middle;}
.list-tv li{margin:15px 1.4%;width:9%}
.hilight-1 .list-4col li {
    width: 21.7%;
    margin:10px 1.6%;
}
.hilight-1 .list-4col li:nth-child(4n), .list-4col li:nth-child(4n) {margin-right: 0}
.hilight-1 .list-2col {display: inline-block;width:50%;}
.list-2col>:nth-child(even), .list-2col>:nth-child(odd) {width: 45%;}
.list-col a:hover .title {text-decoration: underline;}
.title.mini {font-size: 0.9em;color:#444;text-align: center;margin-top:1px;}

.listview li {position: relative;}
.listview li .title {margin-left: 40%;font-size: 1.1em;}
.listview>li a:hover .title {color: inherit;text-decoration: underline;}
.listview.pic-haft figure {width: 50%;position: relative}
.listview.pic-haft .title {margin-left: 55%;font-size: 1em;}
.hilight-1 .title.mini {}
.songlist h5.title {
    color:#888;
    font-weight: normal;
    font-size: 0.8em
}
/**** Container ****/
#main-hilight {max-height: 500px;overflow: hidden}
.box-l, .box-r {
    display: inline-block;
    vertical-align: top;
    width:49%;
    position: relative;
}
.article{display: block;margin-right: 325px;width:auto;}
.article .pictop {margin-top:10px;}
.aside{width:300px;float:right;border-color:blue;}
.aside .list-4col li {margin:3px 1%;width:21.5%;}
.aside .pictop {margin:0 5px 5px;}
.hilight-1 {}
.hilight-1 .box-l {width:38%;}
.hilight-1 .box-r {width:61%;}
.hilight-1 .list-3col li{margin:7px 3.2%;width:28%;}
.hilight-1 .list-3col li:nth-child(3n+1){margin-left:0;}
.hilight-1 .list-3col li:nth-child(3n){margin-right:0;}
.box-r-r {
    width:45% !important;
    margin-left:1%;
    padding-left:3%;
    margin-top:-1.8em;
    background-color: #fff;
}
.lotto-box {
    display: inline-block;
    vertical-align: top;
    width: 24%;
    text-align: center;
    padding: 10px 0;
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    /*background-color: rgba(197, 197, 197, 0.48);*/
    margin-left: 3px;
    float: left;
    border-radius: 5px;
    z-index: 10;
    position: relative;
}
.lotto-box h3 {
    color: #930;
    font-size: 16px;
    line-height: 1.2em;
}
.lotto-box b {
    font-weight: bold;
    line-height: 48px;
    font-size: 30px;
    color: #333;
    letter-spacing: 1px;
}
#lotto_sec {
    padding: 10px;
    background-color: #f9f1ed;
    border: 3px solid #dca386;
    border-radius: 10px;
    margin: 10px 0;
    /*background-image: url(../image/lotto_bg02.png);
    background-repeat: no-repeat;
    padding-left: 62px;
    background-size: 17%;
    background-position: -52px -53px;*/
    position: relative;
    overflow: hidden;
}
.zodiac{
    background: url(https://www.thaiza.com/image/zodiac-7.png) center center no-repeat;
    background-size: 56% 76%;
    margin:7px 0 10px 0;
    border-radius: 15px;
}
.banner-1{text-align: center;margin-bottom:15px;}
.test1{
position: absolute;
    width: 100%;
    height: 110px;
    left: 0px;
    top: -4px;
    opacity: 0.15;
}
#lotto_sec .box-l {width:68%}
#lotto_sec .box-r {width:31%}
#music_sec .box-l {width:60%;margin-right: 4%;}
#music_sec .box-r {width:35%;}
.sparate-row{
    clear: both;
    display: block;
    height: 10px;
}
.ads728 {text-align: center;margin:10px 0;}
#web-dir .content {
    padding: 5px 5%;
    background-color: #f0f5f4;
    border-radius: 10px;
    margin-top: 5px;
    text-align: center;
}
/****** buttons *****/
.button-2 {
    display: inline-block;
    width: 140px;
    vertical-align: top;
    text-align: center;
    font-size: 17px;
    padding: 5px 0;
    border: 1px solid #778b9c;
    margin: 5px 2px;
    border-radius: 3px;
    background-color: #e3e9ef;
    color: #303c82;
}
.button-2:hover {
    color: #fff;
    background-color: #6c76a7;
    border-color: #272c46;
}
#web-dir .button-2 { width:auto;padding: 5px 10px;color:#058276;border-color:#65aeaa;}
#web-dir .button-2:hover{
    color: #fff;
    background-color: #19ab9d;
    border-color: #339a90;
}
/**********  table style  **********/
.score-1 {
    width: 100%;
    border-collapse: collapse;
}
.score-1 tr, .score-1 li {
    display:block;
    background-color: #f4f4f4;
    min-height: 30px;
    line-height: 30px;
    width:100%;
    position: relative;
}
.score-1 tr:hover, .score-1 li:hover {
    background-color: #ddd;   
}
.score-1 tr td {
    vertical-align: middle;
    height: 24px;
    width:47%;
    padding:0px;
    text-align: left;
    white-space: nowrap;
}
.score-1 tr td:nth-child(2){text-align: center;}
.score-1 tr td:last-child{text-align: right;}
.score-1 li div {
    display: inline-block;
    height: 24px;
    text-align: left;
}
.score-1 span, .score-1 img, .score-1 p {
    display: inline-block;
    margin:0px;
    vertical-align: middle;
}
.score-1 img {
    width:17px; height:17px;
    margin:0px 7px 0px 3px;
}
.score-1 td:first-child img, .score-1 div:first-child img {
    margin:0px 3px 0px 7px;
}
.score-1 p {
    width: 88px;
    font-family: Tahoma, Geneva, sans-serif;
    font-size: 14px;
    color: #444;
    text-decoration: none;
    line-height: 16px;
    height: auto;
    padding: 2px;
}
.score-1 div p { width:102px}
.score-1 span {
    padding-right: 0px;
    text-align: center;
    background-color: #FFF;
    font-size: 17px;    
    color: #333;
    line-height: 17px;
    margin:6px 2px;
    width:15px;   
}
.frame-green {
    border: 1px solid #167e1a;
    border-radius: 5px;
    padding: 3px;
}
.buttons-1{
    display: inline-block;
    padding:10px 1em;
    font-family: 
}
.hline-2 {
    border-bottom: 2px solid #43adab;
    margin-top: -23px;
    float: right;
    width: 90%;
}
.hline-2.violet {border-bottom-color:#BD1AAE; }
.hline-2.green {border-bottom-color:#167e1a; }
.hline-2.sky-blue {border-bottom-color:#1780d0; }
.hline-2.teal {border-bottom-color:#07ab9c; }