body {
	margin: 0;
	font-size: 16px;
	background-color: #FFFFFF;
	font-family: helvetica;
	text-align: justify;
}

/* --Menu style start -- */

@import url(http://fonts.googleapis.com/css?family=Lato:300,400,700);
a {
	text-decoration: none;
	color: #000;
	outline: none;
}

a:hover, a:focus {
	color: #000;
	outline: none;
}

/* Clearfix hack by Nicolas Gallagher: http://nicolasgallagher.com/micro-clearfix-hack/ */
.clearfix:before,
.clearfix:after {
	display: table;
	content: " ";
}

.clearfix:after {
	clear: both;
}

.codrops-header,
.codrops-top {
	font-family: 'Lato', Arial, sans-serif;
}

.codrops-header {
	margin: 0 auto;
	padding: 2em;
	background: rgba(0,0,0,0.01);
	text-align: center;
}

.codrops-header h1 {
	margin: 0;
	font-weight: 300;
	font-size: 2.625em;
	line-height: 1.3;
}

.codrops-header span {
	display: block;
	padding: 0 0 0.6em 0.1em;
	font-size: 60%;
	opacity: 0.7;
}

/* To Navigation Style */
.codrops-top {
	width: 100%;
	background: #91cfa1;
	background: rgba(255, 255, 255, 0.1);
	text-transform: uppercase;
	font-size: 0.69em;
	line-height: 2.2;
}

.codrops-top a {
	display: inline-block;
	padding: 0 1em;
	color: #fff;
	text-decoration: none;
	letter-spacing: 0.1em;
}

.codrops-top a:hover {
	background: rgba(255,255,255,0.95);
	color: #333;
}

.codrops-top span.right {
	float: right;
}

.codrops-top span.right a {
	display: block;
	float: left;
}

.codrops-icon:before {
	margin: 0 4px;
	text-transform: none;
	font-weight: normal;
	font-style: normal;
	font-variant: normal;
	font-family: helvetica;
	line-height: 1;
	speak: none;
	-webkit-font-smoothing: antialiased;
}

.codrops-icon-drop:before {
	content: "\e001";
}

.codrops-icon-prev:before {
	content: "\e004";
}

/* Demo Buttons Style */
.codrops-demos {
	padding-top: 1em;
	font-size: 1.1em;
}

.codrops-demos a {
	display: block;
	float: left;
	clear: both;
	margin: 0.5em 0.5em 0.5em 1.9em;
	padding: 1em 1.1em;
	width: 280px;
	outline: none;
	color: #fff;
	background: #336ca6;
	text-align: center;
	text-decoration: none;
	font-weight: 700;
}

.codrops-demos a:hover,
.codrops-demos a.current-demo,
.codrops-demos a.current-demo:hover {
	opacity: 0.6;
}

.content {
	padding: 4em 2em;
	max-width: 1200px;
	margin: 0 auto;
}

.block {
	float: left;
	padding: 1em 3em;
}

.block-40 {
	width: 40%;
}

.block-60 {
	width: 60%;
}

.block p {
	margin: 0;
	padding: 0 1em 0.6em;
	font-size: 1.8em;
	line-height: 1.5;
}

.info {
	text-align: center;
	font-size: 1.5em;
	margin-top: 3em;
	clear: both;
	padding-top: 3em;
	color: rgba(255,255,255,0.5);
}

.info a {
	font-weight: 700;
	font-size: 0.9em;
}

.info a:hover {
	color: #336ca6;
}

.network {
	height: 2em;
}

@media screen and (max-width: 69em) {
	.block {
		float: none;
		width: 100% !important;
		padding: 1em;
	}
}

@media screen and (max-width: 25em) {

	body {
		font-size: 80%;
	}

	.codrops-icon span {
		display: none;
	}

}

/* --Menu style end --*/

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.menuBg {
	background-color: #EAEAEA;
	padding-left: 50px;
	padding-right: 30px;
	line-height: 40px;
}

#menu a {
	color: #000;
}

#menu img {
	vertical-align: middle;
	align: right;
}


#menu img:hover {
	opacity: 0.5;
	filter: alpha(opacity=50); /* For IE8 and earlier */
}

#menu {
	width: 100%;
	background-color: #e7e7e7;
	color: #000;
	vertical-align: middle;
}

#myNav {
	background-color: #BCE9FD;
}

.navbar-fixed-top {
  position: fixed;
  right: 17px;
/*  left: 0;
  z-index: 1030;*/
}

.footer {
	padding-top: 16px;
	padding-left: 4%;
	padding-right: 4%;
	padding-bottom: 32px;
	font-size: 13px;
	margin: 0 auto;
	color: #000;
}

.footer a {
	color: #000;
}

.banners {
	padding-left: 4%;
	padding-right: 4%;
	padding-top: 16px;
	padding-bottom: 16px;
	text-align: left;
	margin: 0 auto;
}

.banners img {
	display: inline-block;
	max-width: 100%;
	height: auto;
	margin: 0;
}

.banners2 {
	display: inline-block;
	margin: 2px;
}


.sub1 {
/*	padding-left: 45px;*/
/*	height: 50px;
	line-height: 50px;*/
	display: inline-block;
}

.sub2 {
	float: right;
	display: inline-block;
/*	padding-right: 30px;*/
}

/* home page Youtube style */
.youtube {
	height: 30px;
	line-height: 30px;

	font-size: 1.17em;
	margin-top: 11px;
	margin-bottom: 8px;
	margin-left: 0;
	margin-right: 0;
	font-weight: bold;
	vertical-align: middle;
	padding: 0;

}

.youtube span {
	display: inline-block;
	vertical-align: middle;
	line-height: 39px;
	height: 39px;
	padding: 0;
}

#myNav img {
	display: inline-block;
	max-width: 100%;
	height: auto;
	margin: 0;

}

.sideGap {
	margin: 0 auto;
	background-color: #fff;
	color: #000;
}

.homeGap {
	margin: 0 auto;
	background-color: #fff;
	color: #000;
}

.homeGap a {
	color: #006CB5;
}

.useful {
	font-weight: bold;
	color: #006CB5;
}

.homeGap h3 {
	margin-bottom: 8px;
}

.welcome {
	color:#15AFA3;
}

/* remove the submit button */
.search-submit {
	display: none;
}

input {
	margin: 5px;
}

#btSearch {
	height: 102px;
}

.dropdown {
	position: relative;
	display: inline-block;
	float: right;
}

.dropdown:hover {
	cursor: pointer; 
}

.dropdown-content {
	display: none;
	position: absolute;
	right: 20px;
	width: 160px;
	z-index: 99999;
	top: 70px;
}

.dropdown:hover .dropdown-content {
	display: block;
}

/* search input field */
input[type=search]#queryH {
	border: solid 1px #000;
	width: 100%;
	padding-left: 2px;
	color: #253359;
	background-color: #BCE9FD;
	cursor: auto;

	-webkit-box-shadow: 0 0 5px rgba(109,207,246,.5);
	-moz-box-shadow: 0 0 5px rgba(109,207,246,.5);
}

.row {
	width: 100%;
	font-size:0;
	color: #000;
}

.row .title {
	padding-top: 40px;
	padding-bottom: 40px;
	font-size: 36px;
	font-family: helvetica;
	padding-left: 0px;
	padding-right: 0px;
}

.row .portrait {
	padding: 5px;
	padding-top: 22px;
	display: inline-block;
	max-width: 100%;
	height: auto;
	margin: 0;
}

.row p {
	display: block;
	margin-top: 10px;
	margin-bottom: 10px;
	margin-left: 0;
	margin-right: 0;
	font-size: 16px;
}

.sideGap a {
	color: #55A4C3;
	text-decoration: underline;
}

.acc1 {
	background-color: #a7e1fd;
	font-size: 16px;
	max-width: 574px;
	padding: 5px;
}

.col-15 {
	width: 15%;
}

.col-17 {
	width: 17%;
}

.col-20 {
	width: 20%;
}

.col-25 {
	width: 25%;
}

.col-49 {
	width: 49%;
}

.col-50 {
	width: 50%;
}

.col-80 {
	width: 80%;
}

.col-83 {
	width: 83%;
}
.col-85 {
	width: 85%;
}

.col-100 {
	width: 100%;
}

[class*="col-"] {
	font-size: 16px;
	display: inline-block;
	vertical-align: top;
	padding: 5px;
}

.text-center {
	text-align: center;
}

.text-left {
	text-align: left;
}

.text-right {
	text-align: right;
}

.rowGap {
	padding-top: 10px;

}

.imgStyle {
	padding: 5px;
}

/* For mobile phones: */

@media only screen and (max-width: 768px) {
/*
	[class*="col-"] {
		width: 100%;
	}
*/
}


.nav-close {
	text-align: right;
}

.news_agency {
	color: #ee7600;
}

.public_relations {
	color: #0093d5;
}

.marketing {
	color: #754db7;
}

.publishing {
	color: #3d983d;
}

.tvapi_heading {
	color: #548cc9;
}

.heading2 {
	font-size: 23px;
	padding-top:15px;
	padding-bottom:2px;
}

.heading3 {
	font-size: 1.17em;
	margin-top: 1em;
	margin-bottom: 1em;
	margin-left: 0;
	margin-right: 0;
	font-weight: bold;
	vertical-align: middle;
}

/* auto scale image */
#main img {
	display: inline-block;
	max-width: 100%;
	height: auto;
	margin: 0;
}

table img {
	display: inline-block;
	max-width: 100%;
	height: auto;
	margin: 0;
}

.spacer {
	height: 5px;
	margin-top: 2px;
	margin-bottom: 15px;
	padding: 0;
}

#main li span {
	color: black;
}


#main ul {
	margin-left: 0;
	padding-left: 0;
	font-size: 16px;
}

#main li {
	margin-left: 4%;
	padding-top: 0.5em;
	padding-left: 0px;
}

.desktop {
	display: none;
}

.mobile {
	display: none;
}

.swiper-container {
	width: 100%;
	height: 100%;
}

.swiper-wrapper img {
	display: inline-block;
	max-width: 100%;
	height: auto;
	margin: 0;

}

#slider1, #slider2 {
	max-height: 194px;
}

#slider1 {
	position: relative;
	background-color: #EAEAEA;
}
#slider1 img {
	max-height: 194px;
	width: auto;
	padding: 5px;
}
.news {
	position: absolute;
	top: 0;
	z-index: 1;
	display: inline-block;
	padding: 5px;
	max-height: 194px;
	width: 40%;
	word-wrap: break-word;

}

.news_do {
	font-size: 14px;
	font-weight: bold;
	padding-top: 5px;
	padding-bottom: 10px;
}

#news_facebook {
	background-color: #f4f5f9;
}

#brandhk_facebook {
	background-color: #f4f5f9;
}

.more {
  border: 1px solid #000000;
  width: 50%;
  font-size: 16px;
}

.newsTitle {
	font-size: 16px;
	font-weight: bold;
}

.swiper-button-prev, .swiper-button-next {
    width: 20px;
    height: 20px;
    background-size: 20px 20px;
}

#slider3 {
	max-height: 282px;
}


#slider4 {
	max-height: 334px;
	height: auto;
}

.prev4 {
	left: 10px;
	right: auto;
	background-size: 30px 30px;
	width: 30px;
	height: 30px;
}

.next4 {
	right: 10px;
	left: auto;
	background-size: 30px 30px;
	width: 30px;
	height: 30px;
}

.budget {
	float: right;
}

.video-container {
	position: relative;
	padding-bottom: 56.25%;
	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%;
}

.SquareVideoWrapper div {
	position: relative;
	padding-bottom: 100%;
	padding-top: 25px;
	padding-top: 0;
	height: 0;
}
.SquareVideoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}




video {
	width: 100%;
	height: auto;
}

.tvapi {
	height: 30px;
	line-height: 30px;

	font-size: 1.17em;
	margin-top: 11px;
	margin-bottom: 8px;
	margin-left: 0;
	margin-right: 0;
	font-weight: bold;
	vertical-align: middle;
	padding: 0;

}

.tvapi_e {
	height: 30px;
	line-height: 30px;

	font-size: 1.17em;
	margin-top: 11px;
	margin-bottom: 8px;
	margin-left: 0;
	margin-right: 0;
	font-weight: bold;
	vertical-align: middle;
	padding: 0;

}

.tvapi_more ul {
	-webkit-column-count: 1; /* Chrome, Safari, Opera */
	-moz-column-count: 1; /* Firefox */
	column-count: 1;
}

#api_list li {
	list-style-image: url('../images/arrows.jpg');
}

/* Youtube embed video responsive style */
.video-responsive{
	overflow:hidden;
	padding-bottom:56.5%;
	position:relative;
	height:0;
}
.video-responsive iframe{
	left:0;
	top:0;
	height:100%;
	width:100%;
	position:absolute;
}

.gallery-title {
	display: block;
	font-size: 25px;
	padding: 10px;
	margin: 0 auto;
	color: #0CA4BE;
	font-weight: bold;

}

.gallery-list {
	display: inline-block;
	margin: 0 auto;
	color: #000;
	padding: 10px;
}

.gallery-list a {
	font-size: 12px;
	color: #000;
}


/* padding content of directorate page */
.directorate {
	padding-left: 120px;
}

@media (max-width: 767px){
	.directorate {
		padding-left: 50px;
	}
}	

.dirTitle {
	color: #0EA4BF;
	font-size: 36px;
	padding-top: 40px;
	padding-bottom: 40px;
}

.dirTitle2 {
	font-size: 23px;
	padding-top:15px;
	padding-bottom:2px;
	color: #2385B9;
	font-weight: bold;
}

.dirTitle3 {
	color: #949494;
	font-size: 19px;
	line-height: 28px;
	font-weight: bold;
}

.dirColor {
	height: 38px;
	line-height: 38px;
	color: #2385B9;
	font-weight: bold;
	padding: 0;
	vertical-align: middle;
}

.dirColor span {
	display: inline-block;
	vertical-align: middle;
	line-height: 30px;
	font-size: 16px;
	height: 30px;
	padding: 0;
}


.dirColor a {
	color: #2385B9;
	font-weight: bold;
}

.dirGap {
	background-color: #D0D0D0;
	height: 5px;
	margin-top: 5px;
	margin-bottom: 5px;
	padding: 0;
}

.table_format1 table {
	border-collapse: collapse;
}

.table_format1 td {
	border: 1px solid #b7efff;
	padding: 5px;
}

.table_format1 ul {
	margin: 0;
	padding: 0;
	margin-left: 0;
	padding-left: 20px !important;
	list-style-type: disc;
	font-size: 14px;
}



.main_heading1 {
	color: #0EA4BF;
	font-size: 36px;
	padding-top: 40px;
	padding-bottom: 40px;
}

.main_heading2 {
	font-size: 19px;
	line-height: 28px;
	font-weight: bold;
	color: #426eb3;
}

.main_heading3 {
	padding:0;
	line-height: 22px;
	font-size: 16px;
	color: #426eb3;
	font-weight: bold;
}

.photo {
	margin: 0 auto;
}

/* relevant styles */
.photo_wrap img {
	display: inline-block;
	max-width: 100%;
	height: auto;
	margin: 0;
}

.photo_wrap
{
  background: green;
  overflow: hidden;
  text-align: center;
  position: relative;
}

.photo_wrap .photo_description
{
  background: #fff;
  opacity: 0.8;
  bottom: -100%;
  color: #000;
  height: 100%;
  left: 0%;
  text-align: center;
  position: absolute;
  transition: bottom 0.5s ease;
  width: 100%;
}
.photo_wrap:hover .photo_description
{
  bottom: -70%;
}


.photo_title {
	font-size: 22px;
	font-weight: bold;
	display: block;
	padding: 5px;
}

.photo_text {
	padding-left: 10%;
	padding-right: 10%;
	font-size: 14px;
	display: block;
	line-height: 20px;

}

/*tvapi latest style */
.latest_api td {
	padding: 10px;
}

@media screen and (min-width: 300px) and (max-width: 479px) {
	
	#menu {
		font-size: 12px;
		vertical-align: middle;
	}

	#iHome, #iMenu {
		display: inline-block;
		width: 45%;

	}
/*
	.sub1 {
		padding-left: 2%;
		width: 55%;
	}

	.sub2 {
		padding-right: 2%;
		width: 45%;
	}
*/
	.mp-menu {
		width: 100%;
	}

	.singleLine480 {
		width: 100%;
	}

	.photo_title {
		font-size: 15px;
		font-weight: bold;
		display: block;
		padding: 1px;
	}

	.photo_text {
		padding-left: 5px;
		padding-right: 5px;
		font-size: 12px;
		display: block;
		line-height: 15px;
	}

	.tvapi_e {
		height: 55px;
	}

}

@media screen and (max-width: 540px) {

	#slider1 {
		max-height: 170px;
	}

	#slider1 img {
		max-width: 60%;
	}

	p.newsTitle {
		font-size: 0.8em;
	}
	.more a {
		font-size: 0.8em;
	}
}


@media screen and (min-width: 300px) and (max-width: 340px) {

	.sub1 {
		padding-left: 1%;
		line-height: 27px;
		width: 75%;
		font-size: 10px;
	}

	.sub2 {
		padding-right: 1%;
		width: 25%;
	}

}


@media screen and (min-width: 341px) and (max-width: 400px) {

	.sub1 {
		padding-left: 1%;
		line-height: 27px;
		width: 75%;
		font-size: 11px;
	}

	.sub2 {
		padding-right: 1%;
		width: 25%;
	}

}


@media screen and (min-width: 401px) and (max-width: 479px) {

	.sub1 {
		padding-left: 1%;
		line-height: 27px;
		width: 75%;
		font-size: 12px;
	}

	.sub2 {
		padding-right: 1%;
		width: 25%;
	}

}

@media screen and (min-width: 480px) and (max-width: 767px) {

	.sub1 {
		padding-left: 2%;
		line-height: 27px;
		height: 50px;
		font-size: 14px;
	}

	.sub2 {
		padding-right: 2%;
	}

	.mp-menu {
		width: 70%;
	}

}



@media screen and (max-width: 767px) {

	.singleLine768 {
		width: 100%;
	}

	.doubleWidth {
		width: 50%;
	}

	.mobile {
		display: inline-block;
	}

	.desktop {
		display: none;
	}

	.homeGap, .sideGap, banners, footer {
		width: 95%;
	}

	.photo {
		width: 95%;
	}

	.photo_wrap .photo_description {
		visibility: visible;
		opacity: 0.9;
	}

	#news_facebook, #brandhk_facebook {
		padding-right: 15px;
	}

}


@media screen and  (min-width: 768px) and (max-width: 900px) {
	.tvapi {
		height: 28px;
		line-height: 28px;

		font-size: 16px;
		margin-top: 11px;
		margin-bottom: 11px;
		margin-left: 0;
		margin-right: 0;
		font-weight: bold;
		vertical-align: middle;
		padding: 0;
		font-size: 1.17em;

	}

	.tvapi_e {
		height: 39px;
		line-height: 39px;

		font-size: 16px;
		margin-top: 11px;
		margin-bottom: 11px;
		margin-left: 0;
		margin-right: 0;
		font-weight: bold;
		vertical-align: middle;
		padding: 0;

	}
}

@media screen and  (min-width: 768px) and (max-width: 1000px) {

	#slider1, #slider2 {
		max-height: 144px;
	}

	#slider1 img {
		max-height: 144px;
	}

	.news {
		max-height: 144px;
		width: 40%;
	}

	.more {
		font-size: 10px;
	}

	.newsTitle {
		font-size: 12px;
		font-weight: bold;
	}

	.photo {
		width: 95%;
	}
}

@media screen and  (min-width: 768px) and (max-width: 1010px) {

	.homeGap {
		width: 100%;
	}


}

@media screen and  (min-width: 768px) and (max-width: 1106px) {

	.sideGap {
		width: 95%;
	}

}


@media screen and  (min-width: 1011px) {

	.homeGap {
		width: 1011px;
	}

	.photo {
		width: 976px;
	}
}

@media screen and  (min-width: 1107px) {

	.sideGap {
		width: 1050px;
	}


}


@media screen and  (min-width: 768px) and (max-width: 1199px) {

	.sub1 {
		padding-left: 2%;
	}

	.sub2 {
		padding-right: 2%;
	}

	#myNav {
		width: 100%;
	}
	#menu {
		width: 100%;
	}

	.footer, .banners {
		width: 100%;
	}

	.mp-menu {
		width: 50%;
	}

	.sliderContent {
		margin: 5px;
	}

}

@media screen and (min-width: 768px) {

	.sub1 {
		padding-left: 2%;
		line-height: 27px;
		height: 55px;
		font-size: 16px;
	}

	.divContent {
		padding-left: 4%;
	}

	.mobile {
		display: none;
	}

	.desktop {
		display: inline-block;
	}

	.tvapi_more ul {
		-webkit-column-count: 2; /* Chrome, Safari, Opera */
		-moz-column-count: 2; /* Firefox */
		column-count: 2;
	}

}

@media screen and (min-width: 1200px) {
	#myNav {
		width: 1200px;
		margin: 0 auto;
	}

	#menu {
		width: 1200px;
		margin: 0 auto;
	}

	.footer, .banners {
		width: 1200px;
		margin: 0 auto;
	}
	
	.sideGap {
		max-width: 1200px;
	}

	.sub1 {
		padding-left: 45px;
	}

	.sub2 {
		padding-right: 30px;
	}


}

.span_news {
	background-color: #3d6ba9;
	padding: 2px 5px 2px 5px;
}

.span_brandhk {
	background-color: #49a8e0;
	padding: 2px 5px 2px 5px;
}

.span_govhk {
	background-color: #4ea455;
	padding: 2px 5px 2px 5px;
}

.span_news a, .span_brandhk a, .span_govhk a {
	color:#fff !important;
}

.videolink {
	text-align: center;
	padding-bottom: 5px;
}

.videolink a {
	color: #000000;
	top: 40px;
	font-weight: bold;
	text-decoration: none;
}