/*
Theme Name: ad2019
Theme URI: n/a
Description:
Version: 1
Tags: ad2019
*/

/*
** index page
** main body & common classes
*/
body{
	margin: 0;
	line-height: normal;
}
#page{
	width: 1000px;
	margin: 0 auto;
}
.top_banner{
	display: block;
	position: relative;
	margin: 0 auto;
	text-align: center;
	height: 470px;
	width: 1000px;
	background: url("https://img.tvb.com/p/adcentral/2023/ctv_banner.jpg") no-repeat top center;
}
li {
	padding: initial;
	margin: initial;
	line-height: normal;
}
ul {
	padding: initial;
	margin-top: 14px;
}

/*
** top main menu
*/
.mainmenu {
	font-family: "Candara", Calibri,Segoe,Segoe UI,Optima,Arial,sans-serif;
	font-size: 14px;
	height: 54px;
	width: 100%;
	background-color: #1a94c6;
	text-align: center;
	line-height: 54px;
	margin: 0 auto;
}
.mainmenu ul{
	margin-block-start: -4px;
	-webkit-margin-before: 0;
	margin-top: 0;
	margin-left: 0;
	padding: 0;
}
.mainmenu ul li {
	list-style-type: none;
	display: inline;
	margin-right: 0px;
	padding: 0 16px;
}
.mainmenu a{
	color: #ffffff;
	text-decoration: none;
}
.mainmenu a:hover {
	opacity: 0.7;
}


/*
** main content
*/
.main_content {
	background-color: #1f6fb6;
	position: relative;
	/*background: url("http://img.tvb.com/p/adcentral/2019/ad-central-website_P1_BG_1106.jpg") no-repeat top center;*/
}
.main_content a {
	text-decoration: none;
	color: #0164b8;
}
.entry-title a{
	color: #fff;
	text-decoration: none;
	padding-left: 24px;
	font-size: 13px;
	font-family: ArialMT;
}
.main_content a:hover {
	opacity: 0.7;
}
#content_wrapper{
	overflow: auto;
	padding-bottom: 30px;
}
#category #content_wrapper{
	overflow: initial;
}
#category .play_thumb img{
	width: 400px;
	height: 225px!important;
}
#vdo{
	display:none;
	padding-top: 20px;
	min-height: 700px;
}
.awesome-close {
    font-size: 48px;
    color: #fff;
    z-index: 999;
    cursor: pointer;
    position: absolute;
    left: -24px;
    top: -24px;
}

.main-cat span {
	font-family: "Candara Bold", Calibri,Segoe,Segoe UI,Optima,Arial,sans-serif;
	font-size: 40px;
	color: #ffffff;
}
.sub-menu{
	position: relative;
	font-family: "Candara Bold", Calibri,Segoe,Segoe UI,Optima,Arial,sans-serif;
	/*font-family: "Candara Bold Italic", Calibri,Segoe,Segoe UI,Optima,Arial,sans-serif;*/
	font-size: 14px;
	float: right;
	width: 215px;
	color: #0164b8;
	font-weight: bold;
}
.sub-menu ul{
	margin-block-start: 0;
	padding-inline-start: 0;
	-webkit-margin-before: 0;
	margin: 0;
	padding: 0;
}
.sub-menu ul li{
	list-style-type: none;
	background-color: #ffffff;
	padding-left: 12px;
	margin-bottom: 16px;
	line-height: 22px;
}
.main-cat{
	position: relative;
	width: 832px;
	float: left;
	padding: 0 0 10px;
	border-bottom: 2px solid #fff;
	margin: 5px 84px 20px;
}
.left_col{
	float: left;
	width: 500px;
}
.right_col{
	float: right;
	width: 250px;
}
.main-content{
	margin-top: 6px;
	font-family: "Candara", Calibri,Segoe,Segoe UI,Optima,Arial,sans-serif;
	font-size: 14px;
	color: #ffffff;
	width: 430px;
}
.main-content ul{
	list-style: none;
	margin-left: 0px !important;
}
.main-content li{
	margin-bottom: 5px;
}
.cat_heading{
	width: 600px;
	font-weight: bold;
}
/*
** Section: myTV Super
*/
.videoplayer{
	position: relative;
	float: left;
	margin-top: 84px;
	margin-left: 300px;
	width: 400px;
	height: 225px;
}
.vjs-default-skin .vjs-big-play-button {
    display: block;
    z-index: 2;
    position: absolute;
    -webkit-transform: translate(-50%, -50%) !important; /* Safari */
    -moz-transform: translate(-50%, -50%) !important;
    -ms-transform: translate(-50%, -50%) !important; /* IE 9 */
    -o-transform: translate(-50%, -50%) !important;
    transform: translate(-50%,-50%) !important;
    border: 0em solid #fff !important;
    width: 50px !important;
    height: 50px !important;
    margin: 0 0 0 0 !important;
    top: 50%;
    left: 50%;
    vertical-align: center;
    cursor: pointer !important;
    -moz-border-radius: 25px;
    /*
    background: linear-gradient(top, #454545 0%,#232323 50%,#161616 50%,#3f3f3f 100%);
    background: -moz-linear-gradient(top, #454545 0%, #232323 50%, #161616 50%, #3f3f3f 100%);
    background: -o-linear-gradient(top, #454545 0%,#232323 50%,#161616 50%,#3f3f3f 100%);
    background: -ms-linear-gradient(top, #454545 0%,#232323 50%,#161616 50%,#3f3f3f 100%);
    background: -webkit-linear-gradient(top, #454545 0%,#232323 50%,#161616 50%,#3f3f3f 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#454545', endColorstr='#3f3f3f',GradientType=0 );
    background: gradient(linear, 0% 0%, 0% 100%, color-stop(0%,#454545), color-stop(50%,#232323), color-stop(50%,#161616), color-stop(100%,#3f3f3f));
    background: -moz-gradient(linear, 0% 0%, 0% 100%, color-stop(0%,#454545), color-stop(50%,#232323), color-stop(50%,#161616), color-stop(100%,#3f3f3f));
    background: -o-gradient(linear, 0% 0%, 0% 100%, color-stop(0%,#454545), color-stop(50%,#232323), color-stop(50%,#161616), color-stop(100%,#3f3f3f));
    background: -ms-gradient(linear, 0% 0%, 0% 100%, color-stop(0%,#454545), color-stop(50%,#232323), color-stop(50%,#161616), color-stop(100%,#3f3f3f));
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(0%,#454545), color-stop(50%,#232323), color-stop(50%,#161616), color-stop(100%,#3f3f3f));
    */
    background: none !important;
    -moz-box-shadow: 0px 0px 0px #000 !important;
    box-shadow: 0px 0px 0px #fff !important;
}
.vjs-default-skin div.vjs-big-play-button span {
    background: url("https://img.tvb.com/p/adcentral/2018/VideoPlay.png") no-repeat top center !important;
    position: absolute !important;
    width: 50px !important;
    height: 50px !important;
    margin: -25px 0 0 -25px !important;
}


/*
**
**  Post Page
**
*/
.postpage{
	background-color: #fff;
	position: relative;
	margin: 0 auto;
}
.postpage .main_content{
	background: url("https://img.tvb.com/p/adcentral/2021/ad-central-website_P2_BG.png") no-repeat top center;
	background-color: #1f6fb6;
	min-height: 800px;
}
/*
** top fixed contact info
*/
.contactinfo{
	font-family: "Candara", Calibri,Segoe,Segoe UI,Optima,Arial,sans-serif;
	font-size: 12px;
	color: #ffffff;
	margin-top: 6px;
	text-align: center;
}
.contactinfo a{
	color: #fff;
}
.cat-title{
	font-size: 28px;
	color: #88e3ff;
	font-family: Arial-BoldMT;
	text-align: center;
	padding-top: 66px;
}
/*
** top navigation bar
*/
#catnav {
	margin: 0 auto;
	clear: both;
	width: 100%;
	height: 60px;
	line-height: 60px;
	font-family: "Candara Bold", Calibri,Segoe,Segoe UI,Optima,Arial,sans-serif;
	display: block;
	font-size: 16px;
	position: relative;
	z-index: 20;

    /* works for IE 5+. */
    filter:alpha(opacity=90);
    /* works for IE 8. */
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";
    /* works for old school versions of the Mozilla browsers like Netscape Navigator. */
    -moz-opacity:0.9;
    /* This is for old versions of Safari (1.x) with KHTML rendering engine */
    -khtml-opacity: 0.9;
    /* This is the "most important" one because it's the current standard in CSS. This will work in most versions of Firefox, Safari, and Opera. */
    opacity: 0.9;
}
#nav {
  	list-style: none;
	margin: 0;
}
#nav >li {
	float: left;
	zoom: 1;
	/*padding-right: 35px;
    padding-top: 21px;
	padding-bottom: 21px;*/
	padding: 21px 18px;
}
#nav a {
	text-decoration: none;
	color: #0e4d87;
	/*padding-top: 21px;
	padding-bottom: 21px;*/
	font-weight: bold;
}
#nav a:hover {
	opacity: 0.7;
	cursor: pointer;
}
#nav li:hover, #nav li.sfhover { /* prevents IE7 drop-down menu bug (focus on a page element prevents nested menus from disappearing) */
	position: static;
}
#nav li:hover .children{
	display: block;
}
#nav .children{
	display: none;
	position: absolute;
	/*background-color: #ffffff;
	opacity: 0.7;*/
	color: #84a15a;
	max-width: 160px;
	min-width: 160px;
	z-index: 20;
	text-align: center;
	padding: 0;
	list-style: none;
	background: rgba(255,255,255,0.7);
}
#nav .children li{
	padding: 0;
}
#nav .children a{
	text-decoration: none;
	display: block;
	line-height: 1.2;
	padding: 10px 5px;
}
/*
** posts-container
*/
.posts-container{
	width: 100%;
}
.page-header{
	font-family: "Candara Bold", Calibri,Segoe,Segoe UI,Optima,Arial,sans-serif;
	font-size: 35px;
	color: #88e3ff;
	text-align: center;
	margin-top: 83px;
}
.page-header span{
	color: #fff;
}
.right-container a {
	text-decoration: none;
	color: #ffffff;
}
.right-container a:hover {
	opacity: 0.7;
}
.entry-container{
	line-height: 1.5;
	font-family: "Candara", Calibri,Segoe,Segoe UI,Optima,Arial,sans-serif;
	font-size: 12px;
	margin-top: 6px;
	margin-bottom: 6px;

}
.entry-container ul{
	list-style: none;
	display: grid;
	grid-template-columns: 1fr 1fr;
	padding: 0 14px;
	margin: 14px 0;
}
.entry-container li:before{
	content: "";
	border-color: transparent #ffffff;
	border-style: solid;
	border-width: 8px 0 8px 16px;
	display: block;
	top: 1.3em;
	position: relative;
}
.entry-title{
	padding: 8px 0px;
}
.title-hr{
	border-style: solid;
	width: 285px;
	margin-bottom: auto;
	opacity: 0.7;
}
.entry-hr{
	color: #ffffff;
	border-style: solid;
	width: 285px;
	margin-bottom: auto;
	opacity: 0.7;
}
.pagination-footer{
	font-family: "Candara", Calibri,Segoe,Segoe UI,Optima,Arial,sans-serif;
	font-size: 12px;
	text-decoration: none;
	color: #A3A3A3;
}
.pagination-footer:hover {
	opacity: 0.7;
}
#pagination-footer-previous{
	float: left;
	margin-left: 96px;
}
#pagination-footer-next{
	float: right;
	margin-right: 93px;
}
.wrap .next.page-numbers, .wrap .prev.page-numbers {
    display: block;
}
.wrap .page-numbers {
    display: none;
}
/*
** Section: contact us
*/
.contact-us-table{
	margin-left: 82px;
	margin-top: 30px;
	width: 354px;
}
.contact-us-table  tr td{
	font-family: "Candara", Calibri,Segoe,Segoe UI,Optima,Arial,sans-serif;
	font-size: 16px;
	color: #fff;
	padding-bottom: 18px;
	padding-left: 10px;
}
.abm_button{
    position: absolute;
    background: url(http://img.tvb.com/p/adcentral/2019/Button_R1_myTVsuper-Ad_20200810.gif) no-repeat top center;
    width: 130px;
    height: 106px;
    right: 120px;
    top: 92px;
}

#video_container{
    margin: 0px auto;
    width: 640px;
    height: 360px;
    position: relative;
}
#video_player{
    width: 640px;
    height: 360px;
    position: absolute;
    left: 0;
    top: 0;
}
#video_slider{
	margin: 70px 0 40px;
}
.video_list_wrap{
    width: 100%;
    border: none !important;
}
.slick-slider{
	height: auto;
}
.slick-dots li button:before{
	font-size: 12px!important;
}
.video_list_slider{
	width: 88%;
    left: 6%;
}
.video_list_slider a .play_thumb{
	position: relative;
}
.video_list_slider a.play_item{
    margin-left: 0px;
    margin-right: 0px;
    display: inline-block;
    padding: 5px;
    cursor: pointer;
    position: relative;
}
.video_list_slider a:hover{
    text-decoration: none;
    opacity: 0.8;
}
.play_thumb:hover .play_btn{
	display: block;
}
.play_thumb img{
	width: 400px;
	/*height: 225px;*/
	margin: 0 auto;
}
.video_list_slider a.play_item .item_txt{
	color: #fff;
}
.play_btn{
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 25px 0 25px 43.3px;
    border-color: transparent transparent transparent #ffffff;
    opacity: 0.8;
    display: none;
    position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
}
.video_list_slider a.play_item.on .play_btn{
    display: block;
}
.postpage .content-area{
	width: 85%;
	margin: 0 auto;
	border-top: 2px solid #fff;
}
.video-js .vjs-big-play-button{
	position: absolute;
	top: 50%!important;
	left: 50%!important;
	transform: translate(-50%,-50%)!important;
}
.slick-dots li.slick-active button:before{
	color: white;
}
@media only screen and (min-width:640px) and (max-width: 999px) {
	#page{
		width: 640px;
	}
	.top_banner{
		background: url(https://img.tvb.com/p/adcentral/2021/AdCentral-P1-640-image.png) no-repeat top center;
		width: 640px;
		height: 442px;
	}
	#mainmenu{
		height: 96px;
	}
	#mainmenu ul{
		display: grid;
		grid-template-columns: 1fr 1fr 1fr 1fr;
	}
	#mainmenu ul li{
		padding: 0px;
		border-right: 1px solid #fff;
		border-bottom: 1px solid #fff;
		font-size: 15px;
		line-height: 48px;
	}
	#video_slider{
		margin: 30px 0;
	}
	.main-cat{
		width: 540px;
		background: initial;
		padding: 0 0 20px;
		border-bottom: 2px solid #fff;
		margin: 20px 50px;
	}
	.main-content, #marketing-insight .main-content{
		width: 540px;
		max-width: 540px;
	}
	.main-content ul{
		padding: 0;
		margin: 0;
	}
    .main-content ul li{
		padding-bottom: 10px;
	}
	.cat_heading{
		margin-left: 0px;
		width: 85%;
	}
	.right_col{
		float: left;
		width: 293px;
		margin-top: 10px;
	}
	.sub-menu{
		width: 100%;
		font-size: 16px;
	}
	.sub-menu ul li{
		line-height: 30px;
	}
    #video_player{
		width: 512px;
		height: auto;
		padding-top: 0;
		margin: 0 64px;
	}
	.awesome-close{
		left: 42px;
	}
	#catnav{
		height: 116px;
	}
	#nav {
		display: grid;
		grid-template-columns: 1fr 1fr 1fr;
	}
	#nav li{
		text-align: center;
		line-height: 56px;
		padding: 0;
    	border: 1px solid #d7d7d7;
	}
	#nav li:hover .children{
		display: none;
	}
	.postpage .main_content{
		background: #1f6fb6 url(https://img.tvb.com/p/adcentral/2021/AdCentral-P2-640-image.png) no-repeat top center;
	}
	.cat-title{
		padding-top: 80px;
		padding-bottom: 10px;
	}
	.contactinfo{
		font-size: 14px;
		width: 260px;
		margin: 10px auto;
	}
	.contactinfo a{
		font-size: 14px;
	}
	.contactinfo img{
		margin-top: -2px;
	}
	.entry-container ul{
		grid-template-columns: 1fr;
	}
	.slick-dotted.slick-slider{
		margin-bottom: 40px;
	}
}
@media only screen and (max-width: 639px) {
	#page{
		width: 360px;
	}
    .top_banner{
		background: url(https://img.tvb.com/p/adcentral/2021/AdCentral-P1-320-image.png) no-repeat top center;
		width: 360px;
		height: 365px;
	}
	#mainmenu{
		height: 160px;
	}
	#mainmenu ul{
		display: grid;
		grid-template-columns: 1fr 1fr;
	}
	#mainmenu ul li{
		padding: 0px;
		border-right: 1px solid #fff;
		border-bottom: 1px solid #fff;
		font-size: 16px;
		line-height: 40px;
	}
	#video_slider{
		margin: 30px 0;
	}
	.main-cat{
		width: 320px;
		background: initial;
		padding: 0 0 20px;
		border-bottom: 2px solid #fff;
		margin: 20px 20px;
	}
	.main-cat span{
		font-size: 30px;
	}
	.main-content, #marketing-insight .main-content{
		width: 320px;
		max-width: 320px;
	}
	.main-content ul{
		padding: 0;
		margin: 0;
	}
    .main-content ul li{
		padding-bottom: 5px;
	}
	.cat_heading{
		margin-left: 0px;
		width: 85%;
	}
    .right_col{
		float: left;
		width: 275px;
		margin-top: 10px;
	}
	.sub-menu{
		width: 100%;
		font-size: 16px;
	}
	.sub-menu ul li{
		line-height: 30px;
	}
    #video_player{
		width: 288px;
		height: auto;
		padding-top: 0;
		margin: 0 36px;
	}
	.awesome-close{
		left: 19px;
		top: -20px;
		font-size: 36px;
	}
	#catnav{
		height: 162px;
	}
	#nav {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}
	#nav li{
		text-align: center;
		line-height: 52px;
		padding: 0;
    	border: 1px solid #d7d7d7;
	}
	#nav li:hover .children{
		display: none;
	}
	.postpage .main_content{
		background: #1f6fb6 url(https://img.tvb.com/p/adcentral/2021/AdCentral-P2-360-image.png) no-repeat top center;
	}
	.cat-title{
		padding-top: 45px;
		padding-bottom: 10px;
	}
	.contactinfo{
		font-size: 14px;
		width: 260px;
		margin: 10px auto;
	}
	.contactinfo a{
		font-size: 14px;
	}
	.contactinfo img{
		margin-top: -2px;
	}
	.entry-container ul{
		grid-template-columns: 1fr;
	}
	.slick-dotted.slick-slider{
		margin-bottom: 40px;
	}
	.entry-title{
		line-height: 1.6;
	}
}
