/*
Theme Name: 10thanniversary
Author: Puriphan.R
Version: 1.0
*/
body{ 
	font-family : "sukhumvit_settext";
	background: #FFF;
}

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section, div {
    display: block;
    box-sizing: border-box;
}
a{
	    color: #232323;
}
ul, ol {
    margin: 0px;
    padding: 0px;
    list-style:none;
}
button, input {
    line-height: normal;
}
button, input, select, textarea {
    box-sizing: border-box;
    font-size: 100%;
    margin: 0px;
    max-width: 100%;
    vertical-align: baseline;
}
a:link {
    text-outline: none;
    text-decoration: none;
}
a:hover img{
    opacity: 0.8;
	filter: alpha(opacity=50); 
}

a img ,a.vote-label,a.play-label{
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}
a, a div, a p, a strong, a span, a h3, a div h4 {
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}
ul, ol {
    margin: 0px;
    padding: 0px;
    list-style: none;
}
#content{
	background:#EEE;
	
}
#top-menu {
    position: absolute;
    width: 100%;
    z-index: 5;
	background : #FF5700;
}

.article-block{
	display: block;
    margin-bottom: 15px;
	
}
.tw-block,.fb-block{
	height:330px;
}
.photo-frame{
	background-color: #fff;
    border: 2px solid #e6e6e6;
    box-shadow: 0 4px 7px rgba(217, 211, 211, .33);
    height: 440px;
    margin: 0 auto;
    padding: 20px 20px 96px 20px;
    position: relative;
}
.article-block a{
	color: #232323;
    line-height: 120%;
}
.article-block .article-photo{
	overflow: hidden;
    margin: 0 auto;
    width: 100%;
    position: relative;
	background-color: white;
        border: 4px solid #85602b;
}
.article-block .article-photo img{
	width: 100%;
    height: auto;
}
.article-block .article-header {
    display: block;
    margin-bottom: 10px;
	margin-top: 10px;
}

.article-block .article-header h2{
    font-size: 20px;
	text-align:center;
	font-weight:bold;
	color: #606068;
}
.article-block .article-content {
    display: block;
	font-size:14px;
	overflow:hidden;
	margin-top:10px;
}
.article-block .article-content h2{
	font-size: 15px;
    font-family: Sukhumvit_setsemi_bold;
	overflow:hidden;
	margin-top:5px;
	line-height:22px;
}
.post-meta{
	line-height:20px;
	color:#999;
	margin:0;
}
.bd-right{
	border-right:1px solid #DDD;
}
span.rank-label {
    position: absolute;
    display: inline-block;
    background-color: #85602b;
    color: #fff;
        padding: 8px 15px 8px 15px;
    font-size: 22px;
    font-weight: bold;
    left: 0;
    bottom: 0;
}
a.vote-label {
    position: absolute;
    display: inline-block;
    background-color: #5cb85c;
    color: #fff;
    padding: 10px 20px;
	font-size:16px;
    right: 0;
    bottom: 0;
}
a.vote-label:hover{
	background:#398239;
}
a.play-label {
    position: absolute;
    display: inline-block;
    background-color: #dd1806;
    color: #fff;
    padding: 10px 20px;
	font-size:20px;
    right: 0;
    bottom: 0;
}
a.play-label:hover{
	background-color: #aa1205;
}


.embed-responsive-16by9 {
    padding-bottom: 56.25% !important;
}

.vote-block{
	padding-bottom: 0px;
    margin-bottom: 10px;
}
.vote-block .article-header, .fb-block .article-header{
	background: #544a45;
    color: #FFF;
    font-size: 18px;
    padding: 5px 5px;
    margin-bottom: 0px;
    text-align: center;
}
.vote-block .article-header h2{
	color:#FFF;
}
.vote-block .article-content{
	text-align:center;
	font-size:22px;
	font-weight:bold;
	height:auto;
}
.vote-block .article-content , .fb-block .article-content{
    display: block;
    margin-top: 12px;
	overflow:hidden;
}
.no-mheight{
	max-height:none;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /*16:9*/
  padding-top: 30px; 
  height: 0; 
  overflow: hidden;
}
 
.video-container iframe,
.video-container object,
.video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#album .text{
	margin-bottom:10px;
}
#album .text h2{
    font-size: 22px;
	font-family:Sukhumvit_settext;
    line-height: 32px;
    margin: 8px;
	color:#3d281a;
}
.line-block{
	margin-bottom:0px;
	padding-bottom:0px;
}
.line-block .article-content{
	text-align:center;
}

.fb-block .article-content h2{
	color:#415e9b;
	line-height:30px;
}
.tw-block .article-content h2{
	color:#5EA9DD;
	line-height:30px;
}
.fb-block .article-header{background:#FFF !important;margin-bottom:10px;}
.fb-block .article-header h2{color: #516088 !important;} 

.ad-block{
	padding-top:20px;
}
.ad-block .article-content{
	text-align:center;
}
.vote-block .article-photo{
	border:none;
	padding: 0px;
	height:302px;
}
.ad-block .article-photo{
	border:none;
	background:#EEE;
}
.ad-block .article-content{
	height:auto !important;
}
.ad-block .article-content h2{
	color:#ff5700;
	margin-bottom:10px;
	line-height:30px;
}
#follow {
	margin: 0;
    height: 38px;
    background-position: 0px -5px !important;
    padding-top: 3px;
    background: url("img/follow.png");
    text-align: right;
    width: 279px;
    font-family: fontawesome;
    color: #FFF;
    font-size: 24px;
    padding-right: 10px;
	z-index:3;
}
#follow  a:link {
    color: #FFFFFF;
    text-outline: none;
    text-decoration: none;
}
#follow  a:visited {
    color: #FFFFFF;
}
#wrapper{
	background:#EEE;
}

#wrapper div#header{
	z-index:0;
}

#wrapper div#header .container {
    padding-top: 37px;
	background : url('img/banner_top.png') bottom no-repeat #EFD07D;
}
#logo-wrap{
	margin-left:-15px;
}
#logo{
	background: #FF5700;
}
#text-wrap{
  margin-top:60px;
  text-align: right;
  line-height:55px;
  color:#DB4900;
  float:right;
}
#socialbar{
	background:#DDD;
	padding:10px;
	text-align:right;
	margin-bottom:20px;
}
#text-wrap div .text-upper{
	 font-size: 50px;
	 letter-spacing:-3px;
	 font-weight:900;
}
#text-wrap div .text-lower{
	font-size: 30px;
}

.clear{
	clear:both;
}
.nopad{padding-left:0px;padding-right:0px;}

#content>.container{
	padding-bottom:20px;
}
#video{
	margin-bottom:30px;
}
.mbottom30{
	margin-bottom:30px;
}
.mbottom20{
	margin-bottom:20px;
}
.mbottom10{
	margin-bottom:10px;
}
.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	height: 0;
}
.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.video-list ul li:first-child {
    border-top: 1px solid #d8d8d8;
}
.video-list ul li{
	overflow: hidden;
    padding: 10px;
    background: black;
	direction: ltr;
}
.video-list ul li a img {
    float: left;
    width: 98px;
   
    margin-right: 14px;
}
.mCSB_inside > .mCSB_container {
    margin-right: 16px !important;
}
.video-list ul li a h3{
	margin: 0 0 4px 0px;
	font-size:16px;
	color:#FFF;
}
.video-list ul li a .post-date {
    font-size: 12px;
    height: 22px;
	color:#767676;
}
.video-list ul li.active{
	background:#3a3a3a;
	-webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}
.video-list ul li:hover{
	background:#3a3a3a;
	-webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}
.p-header{
	display: block;
    overflow: hidden;
    margin-bottom: 15px;
	border-bottom: solid 2px #6A5B2B;
}
.p-header b {
    display: block;
    color:#6A5B2B;
    padding: 10px 30px;
	margin-right:20px;
	min-width : 100px;
	text-align:center;
    float: left;
    position: relative;
    z-index: 0;
    text-transform: uppercase;
    font-size: 24px;
}
.p-header .top-right {
    padding: 6px 10px;
    text-transform: uppercase;
	font-size:24px;
	line-height:42px;
	color:#5e5e5e;
}
.p-subheader{
	background: #fd9800;
	color:#FFF;
	font-size: 20px;
	padding: 10px 10px;
	margin-bottom: 25px;
	text-align:center;
}
.es-carousel ul{
					display:block;
				}
.no-mbottom{margin-bottom:0px !important;}
.f-sm{font-size:16px !important;padding:10px 10px !important;}
text-left{text-align:left !important;}
.RYPP .RYPP-playlist ol li > p {
	font-family:"Sukhumvit";
}
.social{
	text-align:left;
}
.social i{
	font-size:28px;
	margin-left: 10px;
    margin-right: 10px;
}
.social span{
	margin-top:-5px;
}
.social img{
    width:32px;
    margin-left: 10px;
    margin-right: 10px;
}
#footer{
	color : #FFF;
	filter : initial !important;
}
#banner{
	background:url('img/bg_02.png');
	background-repeat: repeat-y;
    background-size: cover;
    background-position: center center;
	height:701px;
	
}

#banner #hero-img{
    margin-top: 10%;
    position: relative;
}
#banner #hero-img img{
    max-width:100%;
    position: absolute;
    left: 100px;
}
.bold{font-weight:bold;}
.essb_item a i{font-size:18px;}
.essb_icon{background:none !important;padding-top:6px;}
#footer .footer-logo{
	text-align:center;
	    margin-top: 10px;
}
#footer .footer-logo a img {
	
}
#footer .footer-description {
    font-size: 16px;
    padding-top: 12px;
}
#footer .footer-copyright {
	font-size:14px;
	text-align:right;
}
#footer div .aboutus{
	padding-bottom: 20px;
    border-bottom: 1px solid #FFF;
}
#footer div .contact{
	padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: none;
	font-size:18px;
}
#social{
	background-color:#F05223;
    padding: 0;
    text-align: center;
}
ul#footer-connect{
	    margin: 0;
    list-style: none;
	margin-top:5px;
}
ul#footer-connect li{
	display: inline-block;
    padding: 5px 0;
}
ul#footer-connect li a{
    display: block;
    text-indent: -9999px;
    margin: 0 5px;
}
ul#footer-connect li a.ft-sf {
    background: transparent url("img/ft_sf.png") no-repeat scroll 0px 0px;
    width: 64px;
    height: 24px;
}
ul#footer-connect li a.ft-fb {
    background: transparent url("img/ft_fb.png") no-repeat scroll 0px 0px;
    width: 70px;
    height: 24px;
}
ul#footer-connect li a.ft-twt {
    background: transparent url("img/ft_twt.png") no-repeat scroll 0px 0px;
    width: 64px;
    height: 24px;
}
ul#footer-connect li a.ft-yt {
    background: transparent url("img/ft_yt.png") no-repeat scroll 0px 0px;
    width: 64px;
    height: 24px;
}
ul#footer-connect li a.ft-gp {
    background: transparent url("img/ft_gp.png") no-repeat scroll 0px 0px;
    width: 64px;
    height: 24px;
}
ul#footer-connect li a.ft-ig {
    background: transparent url("img/ft_ig.png") no-repeat scroll 0px 0px;
    width: 78px;
    height: 24px;
}
ul#footer-connect li a.ft-rss {
    background: transparent url("img/ft_rss.png") no-repeat scroll 0px 0px;
    width: 64px;
    height: 24px;
}
.orange{color:#FE6732;}
.bg-white{background:#FFF;}
.embed-responsive-16by9 {
       padding-bottom: 49.35%;
}
#top-nav{background-color: #fe5000 !important;}
#header .logo img{
	margin-left: 25%;
    margin-top: 7%;
}
#header .regis-btn a{
    margin-top: 22%;
	width:65%;
	background:#fcf93a;
	color:#325baf;
}
#header .regis-btn a i{
	font-size: 60px;
    float: left;
}
#header .regis-btn a .super{
	font-size:26px;
	font-family:sukhumvit_setsemi_bold;
}
#header .regis-btn a .lower{
	font-size:22px;
}
#program .container{
	background:#eae9f7;
	padding:70px 20px 0px 20px;
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
}
#banner h3{
	color:#706a6a;
	margin:20px 0px 20px 0px;
}

#live-player .embed-player{
	margin: -270px 40px 30px 40px;
	border:50px solid black;
	border-radius:20px;
	z-index:1000;
}
#info{margin-bottom:30px;font-size:20px;}
#info .container{
	background: #f8f8f8;
    border-radius: 10px;
    margin-top: 30px;
    margin-bottom: 50px;
    padding-bottom: 20px;
}
#info .container h3 {
    color: #475154;
    border-bottom: 2px solid #d4cbcb;
	font-family:sukhumvit_setsemi_bold;
	padding-bottom:5px;
}
#info ol li{list-style:decimal;margin-left:40px;}
#info ul li{list-style:disc;margin-left:40px;}
#info .container img{
	max-width:100%;
}
.banner-program{
	padding-top:60px;
	margin-bottom: 30px;
}
.banner-program .text{
	margin-top: -40px;
    padding-bottom: 40px;
}
.banner-program .image{
	position: absolute;
    right: 0;
	margin-right:30px;
    margin-top: -114px;
}
.program-article{
	background:#FFF;
	padding:10px 10px 10px 10px;
}
.program-article .text,.program-article-row .text{
	text-align:center;
	font-size:22px;
}
.program-article-row{
	background:#FFF;
	margin-top:30px;
	padding-top:20px;
	padding-bottom:20px;
}
#live-button{
	margin-bottom:50px;
	margin-top:30px;
}
#live-button h3{
	font-family:Sukhumvit_setsemi_bold;
	font-size:30px;
	line-height:26px;
}
#live-button h4{
	font-size:22px;
}
#program-list{
	background:#c6eef6;
	padding-bottom:50px;
}
#program-list .container{
	background:#eae9f7;
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
	padding-bottom:50px;
}
#program-list .program-article .text{
	text-align:center;
	font-size:22px;
	margin-top:20px;
	height:200px;
	overflow:hidden;
}
#quote{
	background:url('img/quote_bg.png') center center repeat-y;
	padding-top:50px;
	background-size: cover;
	padding-bottom:60px;
	border-bottom: 4px solid #c29d38;
	color:#c1ab58;
	text-align:center;
}
#quote .container h1{
	font-family:sukhumvit_setsemi_bold;
	font-size:26px;
	margin-top:40px;
}
#quote .container h2{
	font-size:22px;
	line-height:24px;
	margin:8px;
}
#album h2.title{
	font-family:Sukhumvit_setsemi_bold;
	color:black;
	font-size:26px;
	line-height:40px;
}
#album{
	background:#F3CC83;
	padding-top:10px;
	padding-bottom:10px;
	border-bottom: 4px solid #c29d38;
	border-top:4px solid #c29d38;
}

article.news-block .block{
	padding: 20px;
    background: #fff;
	margin : 20px 0px 20px 0px;
}
article .item-content h2{
	font-size: 20px;
    font-family: Sukhumvit_settext;
    line-height: 26px;
    color: #3d281a;
	text-align:center;
}
#banner .hero-menu ul li {
    display: inline-block;
    margin-bottom: 5px;
	margin-right: 15px;
	font-family:sukhumvit_setsemi_bold;
}
#banner .hero-menu ul li a{
	font-size:20px;
	color:#3d281b;
	
}
#banner .hero-menu ul li a:hover{
	color:#734E21;
}
#banner .hero-menu {
	margin-top:30px;
}
#banner #hero-wrap{
	margin-top:25%;
}
#banner #hero-wrap h1{
	font-family:sukhumvit_setsemi_bold;
	font-size:44px;
	color:#fe5000;
	text-shadow: 1px 2px #6B6D70;
}
#banner #hero-wrap h2{
	color:#3d281a;
	font-size:28px;
	margin:10px;
	
}
#news{
	font-size:20px;
}
#news .container{
	background:#f8f8f8;
	border-radius:10px;
	margin-top:30px;
	margin-bottom:50px;
	padding-bottom:20px
}
#news .container h3{
	color:#475154;
	border-bottom:2px solid #d4cbcb
	font-family:Sukhumvit_setsemi_bold;
	padding-bottom:5px;
}

 #news .container ul  li:before {
        content:"·";
        font-size:120px;
        vertical-align:middle;
        line-height:50px;                     
}
#player{
	background:#292E31;
	border-top:4px solid #1E2024;
	border-bottom:4px solid #1E2024;
}
#player-list{
	background:#F3F3F3;
}
.media-wrapper {
    position: relative;
}
.play {
    float: left;
    position: absolute;
    font-size: 2em;
    left: 0px;
    bottom: 0px;
    padding: 5px 20px 5px 20px;
    color: #fff;
    background: #c29d38;
    z-index: 99;
}

.item a img{
	height:172px;
	object-fit:cover;
	border: 4px solid #c29d38;
	
}
.image img{
	width:100%;
}
.program-article-row img{
	max-width:100%;
}
.owl-theme .owl-controls .owl-buttons div {
	background:none;
}
.owl-theme .owl-controls .owl-buttons i{
	font-size:22px;
}
.owl-prev{
	position: absolute;
    left: -5%;
    bottom: 40%;
}
.owl-next{
	position: absolute;
    right: -5%;
    bottom: 40%;
}
#play {
    background: url('http://cdn1.iconfinder.com/data/icons/iconslandplayer/PNG/64x64/CircleBlue/Play1Pressed.png') center center no-repeat;
    margin: -240px 10px 0 0;
    height: 140px;
    position: relative;
    z-index: 10;
}
@media screen and (max-width:1199px){
	#header .logo img{
		margin-left: 10%;
		margin-top: 10%;
	}
	#header .regis-btn a {
		width: 80%;
	}
	#banner #hero-img img {
		left:0px;
	}
}

@media screen and (max-width:992px){
	#header .logo img{
	    margin-left: 0%;
		margin-top: 12%;
	}
	#header .regis-btn a {
		width: 100%;
		margin-left: 10%;
		margin-top: 30%;
	}
	#banner {
		height: auto;
		padding-bottom:30px;
	}
	#banner .hero-menu {
    margin-top: 20px;
	}
	
	
}

@media screen and (max-width:768px){
	#banner {background-position:right;}
	#text-wrap div .text-upper {font-size: 40px;}
	#text-wrap div .text-lower {font-size: 20px;}
	#wrapper div#header .container {padding-bottom:0px;}
	.p-header b {font-size:20px;}
	.p-header .top-right {font-size:18px;}
	.p-subheader {font-size:16px;}
	.article-block .article-header h2 {font-size:18px;}
	.vote-block .article-content {font-size:16px;}
	a.vote-label {font-size:12px;}
	.article-block .article-content h2 {font-size: 18px;}
	.article-block .article-content {font-size:16px;}
	.ad-block .article-content h2 {margin-bottom:0px;}
	.fb-block,.tw-block{height:auto;}
	a.play-label{font-size:14px;}
	.three-row{height:66px;}
	.banner-program .image{position: relative;
		max-width: 200px;
		text-align: center;
		margin: auto;
		margin-top: -60px;
	}
	#album h2.title {
    font-size: 20px;
    line-height: 30px;
}
	
	#banner #hero-wrap{
		margin-top: 10%;
	}
	#banner #hero-img img{
		position:relative;
		left:initial;
		display: block ;
		margin:0 auto;
		    padding-left: 35px;
		
	}
	#quote .container h2{
		font-size: 19px;
	}
	#banner #hero-wrap h1{
		font-size: 34px;
	}
	#banner #hero-wrap h2{
		font-size: 22px;
	}
	.owl-carousel{
		width: 100%;
	}
	
	.program-article{position: relative;
	position: relative;
    height: 325px;
    width: 400px;
    margin: 0 auto;
    max-width: 48rem;
	}
	#news {font-size: 16px}
	#header .logo{
		text-align:center;
	}
	#header .logo img{
	    margin-left: 0;
		margin-top: 0;
	}
	#live-player .embed-player {
		margin: -150px 0px 30px 0px;
		border: 20px solid black;
	}
	#header .regis-btn a {
		margin-top: 10px;
		margin-left: 0;
	}

}