html, body {
  /*height: 100%;*/
  /*overflow: auto;*/
}
html {
  font-size: 100%;
}
body {
  font-family: Helvetica, "Microsoft JhengHei", 微軟正黑體, SimHei, Arial, sans-serif;
  font-size: 0.7875rem; /* Default 12.8 */
  color: #282828;
  /* grayscale */
  /*
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -o-filter: grayscale(100%);
  filter: grayscale(100%);  
  filter: gray;
  */
}

html:lang(zh-hk),
html:lang(zh-hk) body,
html:lang(zh-hk) .listbox .listbox-header h3,
html:lang(zh-hk) .category-aside h2.aside-title,
html:lang(zh-cn), 
html:lang(zh-cn) body, 
html:lang(zh-cn) .listbox .listbox-header h3,
html:lang(zh-cn) .category-aside h2.aside-title {
  font-size: 0.95rem;
}

html:lang(zh-hk) .section-news-social .news-caption > strong,
html:lang(zh-hk) .section-newsdetail .newsdetail-wrap .news-caption > strong,
html:lang(zh-hk) .mfp-title .news-caption > strong,
html:lang(zh-cn) .section-news-social .news-caption > strong,
html:lang(zh-cn) .section-newsdetail .newsdetail-wrap .news-caption > strong,
html:lang(zh-cn) .mfp-title .news-caption > strong{
  font-size: 1.13rem;
}

a, a:focus{ 
  color: #282828; 
  text-decoration: none; 
}
a:hover {
  color: #cc180e;
  text-decoration: none; 
}

/* scrollbar */
::-webkit-scrollbar {
  width: 10px
}
/* Track */
::-webkit-scrollbar-track {}

/* Handle */
::-webkit-scrollbar-thumb {
  background-color: rgba(0,0,0,0.4); 
  background-clip: padding-box;
  border: 2px solid transparent;
  border-radius: 8px;
  box-shadow: inset -1px -1px 0 rgba(0,0,0,0),inset 1px 1px 0 rgba(0,0,0,0)
}
::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0,0,0,0.4); 
}

/* .Webcasts  */
.navbar-webcasts {
  background-color: #545454;
  color: #fff;
  font-size: 12.8px;
}
.navbar-webcasts a {
  padding-top: 4px;
  padding-bottom: 4px;
  color: #fff;
}
.navbar-webcasts .icon-webcasts {
  background-color: #fff;
  color: #282828;
  padding-top: 2px;
  padding-bottom: 2px;
  white-space: nowrap;
}
.navbar-webcasts .icon-webcasts + span {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.navbar-webcasts .icon-webcasts .fa {
  color: #e81b10;
  font-size: 14px;
}

/* .header  */
.header {
  font-size: 12.8px;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding-top: 4px;
  padding-bottom: 4px;
}
.header:before, .header:after {
  content: '';
  display: table;
}
.header .form-search .advanced-search-btn {
  display: block;
  height: 28px;
  background-position: center;
  background-repeat: no-repeat;
}
.header .navbar-tools .navbar-brand {
  width: 104px;
  height: 46px;
  background: url(https://news.gov.hk/web/images/logo-mob.jpg) center/cover no-repeat;
}
.header .navbar-tools .navbar-toggler {
  position: relative;
  color: #e81b10;
  z-index: 1;
}
.header .navbar-tools .navbar-toggler:focus {
  outline: none;
}
/*.header .navbar-catalog .navbar-nav .nav-item.nav-video-item .nav-link.active, .header .navbar-catalog .navbar-nav .nav-item.nav-video-item .nav-link:hover {
  background-color: #545454;
  color: #fff;
}*/
.header .navbar-catalog .navbar-nav .dropdown-menu {
  border: 0;
  padding: 0;
  margin: 0;
  font-size: 12.8px;
}

.header .navbar-info .fontsize-setting > a {
    background-image: url('https://news.gov.hk/web/images/icon/font.png');
    background-position-y: 0px;
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 4px;
  }
  .header .navbar-info .fontsize-setting > a:nth-child(1) { 
    background-position-x: 0px; 
  }
  .header .navbar-info .fontsize-setting > a:nth-child(2) { 
    background-position-x: 32px; 
  }
  .header .navbar-info .fontsize-setting > a:nth-child(3) { 
    background-position-x: 16px; 
  }
  .header .navbar-info .fontsize-setting > a:hover, .header .navbar-info .fontsize-setting > a.active {
    background-position-y: 16px;
  }

@media (max-width: 1199px) {
  .header { 
    width: 100%;
    background-color: #fff;
    padding-left: 0;
    padding-right: 0;
    box-shadow: 0 1px 5px rgba(0, 0, 0, .5) 
  }
  .navbar-webcasts {
    /*position: fixed;*/
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
  }
  .navbar-webcasts ~ .header {
    /*top: 31px!important; */
    top: 0px!important; 	
  }
  .navbar-webcasts ~ .header .navbar-info, .navbar-webcasts ~ .header .navbar-catalog {
    top: 31px;
  }
  .header .form-search .btn-primary {
    padding: .75rem 10px;
    margin-right: 1px;
    border: 1px solid transparent;
  }
  .header .form-search .advanced-search-btn {
    background-position-x: left;
  }
  .header .navbar-info, .header .navbar-catalog {
    position: fixed;
    padding-top: 54px;
    top: 0; right: 0; bottom: 0;
    height: 100%;
    width: 300px;
    -webkit-transform: translateX(110%);
    -ms-transform: translateX(110%);
    transform: translateX(110%);
    -webkit-transition: -webkit-transform .3s, visibility 0s .3s;
    -o-transition: -o-transform .3s, visibility 0s .3s;
    transition: transform .3s, visibility 0s .3s;
    display: block;
    visibility: hidden;
  }
  .header .navbar-info .container-fluid, .header .navbar-catalog .container-fluid {
    background-color: #eee;
    overflow-y: auto;
    padding: 20px 15px;
    height: 100%
  }
  .header .navbar-info.show, .header .navbar-catalog.show {
    visibility: visible;
    -webkit-transition: -webkit-transform .3s, visibility 0s;
    -o-transition: -o-transform .3s, visibility 0s;
    transition: transform .3s, visibility 0s;
    -webkit-transform: translateX(0%);
    -ms-transform: translateX(0%);
    transform: translateX(0%);
  }
  .header .navbar-info.show .container-fluid, .header .navbar-catalog.show .container-fluid {
    box-shadow: -1px 5px 5px rgba(0, 0, 0, .5);
  }
  .header .navbar-info .list-info .list-inline-item {
    width: 100%;
  }
  .header .navbar-info .list-info .list-inline-item + .list-inline-item{
    margin-top: 15px;
  }
  .header .navbar-info .list-info .list-inline-item.mob-6 {
    display: inline-block;
    width: auto;
  }
  .header .navbar-info .list-info .list-inline-item.mob-6 + .mob-6 {
    margin-left: 40px;
  }
  .header .navbar-info .list-info .list-inline-item:not(:last-child) {
    margin-right: 0;
  }
  .header .navbar-info .lang-setting > a {
    display: block;
    background-color: #282828;
    color: #fff;
    padding: 5px;
    width: 100%;
    text-align: center;
  }
  .header .navbar-info .lang-setting > a.active {
    background-color: #cc180e;
  }
  .header .navbar-catalog .navbar-nav  {
    margin-left: -15px;
    margin-right: -15px;
  }
  .header .navbar-catalog .navbar-nav .nav-item .nav-link {
    padding-left: 15px;
    padding-right: 15px;
  }
  .header .navbar-catalog .navbar-nav .nav-item.dropdown .dropdown-menu {
    background-color: #f7f7f9;
    border: 0;
  }
  .header .navbar-catalog .navbar-nav .nav-item.dropdown .dropdown-menu .nav-link {
    padding-left: 30px;
    padding-right: 30px;
  }
}
@media (min-width: 1200px) {
  .header {
    display: block;
    padding: 0;
  }
  .header .container-fluid {
    width: 1140px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .header .form-search {
    display: none;
  }
  .header .navbar-info {
    padding-top: 4px;
    padding-bottom: 4px;
    background-color: #ea1b10;
    color: #fff;
  }
  .header .navbar-info .list-info {
    margin-left: 110px;
    margin-bottom: 0;
    padding-top: 4px;
    padding-bottom: 4px;
  }
  .header .navbar-info .list-info .fa {
    font-size: 19px;
  }
  .header .navbar-info .list-info a {
    color: #fff;
  }
  .header .navbar-info .list-info .list-inline-item {
    margin-left: 0;
    margin-right: 0;
    padding-left: 12px;
    padding-right: 12px;
  }
  .header .navbar-info .list-info .list-inline-item + .list-inline-item {
    border-left: 1px solid #fff
  }
  .header .navbar-info .list-info .list-inline-item > a + a {
    margin-left: 6px;
  }
  
  .header .navbar-info .lang-setting > a.active {
    display: none;
  }
  .lang-setting-new-block {
    color:#e81b10;
	margin:6px;
	display:block;
  } 
  .hide-this-block {
	visibility:hidden;
  }  
  .header .form-search {
    position: fixed;
    top: 250px;
    right: 0;
    background-color: #eee;
    -webkit-transform: translateX(295px);
    -o-transform: translateX(295px);
    transform: translateX(295px);
    -webkit-transition: -webkit-transform .3s;
    -o-transition: -o-transform .3s;
    transition: transform .3s;
  }
  .header .navbar-tools {
    background-color: #f03227;
    height: 0;
  }
  .header .navbar-tools .navbar-brand {
    position: absolute;
    top: -33px;
    left: 15px;
    width: 100px;
    height: 100px;
    z-index: 1;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, .6);
    background: #fff url(https://news.gov.hk/web/images/logo2.jpg) center / 85px 85px no-repeat;
  }
  .header .navbar-catalog, .header .navbar-catalog .nav-item.dropdown:hover .dropdown-menu {
    display: block;
  }
  .header .navbar-catalog, .header .navbar-catalog .nav-item.dropdown .dropdown-menu {
    background-color: #eee;
  }
  .header .navbar-catalog .navbar-nav {
    margin-left: 110px;
  }
  .header .navbar-catalog .navbar-nav .nav-item .nav-link {
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .header .navbar-catalog .navbar-nav .nav-item .fa {
    margin-right: 4px;
    line-height: 1.5
  }
  .header .navbar-catalog .navbar-nav .nav-item .fa.fa-search{
    margin-right: 0;
  }
  .header .navbar-catalog .navbar-nav .nav-item.nav-video-item .nav-link, .header .navbar-catalog .navbar-nav .nav-item.nav-search-item .nav-link {
    background-color: #cc180e;
    color: #fff;
  }
  
}
@media (max-width: 1199px) {

    .header .navbar-info .fontsize-setting > a + a {
      margin-left: 30px;
    }
    .header .navbar-info .fontsize-setting > a {
      background-image: url('https://news.gov.hk/web/images/icon/font2.png');
    }
}
/* .backtotop-wrapper  */
.backtotop-wrapper { 
  position: fixed; 
  right: 15px; bottom: 0; 
  margin-bottom: 5px; 
  font-size: 12.8px;
  z-index: 1 
}
.backtotop-wrapper .backtotop:before {
  content: '\25b2';
  display: inline-block;
  margin-right: 5px;
}
.backtotop-wrapper .backtotop { 
  background-color: #666; 
  text-decoration: none; 
  color: #fff; 
  padding: 10px 15px;
}

/* Main */
main {
  min-height: 100vh;
  min-height: -webkit-calc(100vh - 120px);
  min-height: calc(100vh - 120px);
}
@media (max-width: 1199px) {
  main {
    /*padding-top: 54px;*/
  }
  .navbar-webcasts ~ main {
    padding-top: 54px
  }
}
/* Footer */
.footer {
  font-size: 12.8px;
}
.footer .nav {
  margin-top: 5px;
}
.footer .footer-info .nav-item .nav-link {
  padding-top: 0;
  padding-bottom: 0;
}
.footer .footer-info .nav-item + .nav-item {
  border-left: 1px solid #282828;
}

@media (max-width: 1199px) {
  .footer .container {
    padding-bottom: 40px;
  }
}

/* Global */
.transition-wrap {
  opacity: 1;
  -webkit-transform: translateX(0);
  -o-transform: translateX(0);
  transform: translateX(0);
  -webkit-transition: transform .4s, opacity .4s;
  -o-transition: transform .4s, opacity .4s;
  transition: transform .4s, opacity .4s;
}
.transition-wrap.away {
  opacity: 0;
  -webkit-transform: translateX(-100%);
  -o-transform: translateX(-100%);
  transform: translateX(-100%);
}
.mfp-container {
  padding-left: 22px;
  padding-right: 22px;
}
.mfp-figure:after {
  top: 80px;
  bottom: 120px;
}
img.mfp-img {
  padding-top: 80px;
  padding-bottom: 120px;
}
.mfp-bottom-bar {
  margin-top: -114px;
  padding-bottom: 20px;
}
.mfp-content .news-date {
      color: #F3F3F3;
}
.mfp-image-holder .mfp-close {
  top: 40px;
  width: 44px;
}
.mfp-zoom-out-cur .mfp-image-holder .mfp-close {
  cursor: pointer;
}
@media (max-width: 991px) {
  img.mfp-img {
    max-height: none!important;
  }
}

.news-caption p,
.news-caption div{
 display: inline;
 margin-bottom: 0;
}

.container {
  padding-right: 15px;
  padding-left: 15px;
}

@media (min-width: 576px) {
  .container {
    padding-right: 15px;
    padding-left: 15px;
  }
}
@media (min-width: 768px) {
  .container {
    padding-right: 15px;
    padding-left: 15px;
  }
}
@media (min-width: 992px) {
  .container {
    padding-right: 15px;
    padding-left: 15px;
  }
}
@media (min-width: 1200px) {
  .container {
    padding-right: 15px;
    padding-left: 15px;
  }
}
.container-fluid {
  padding-right: 15px;
  padding-left: 15px;
}

@media (min-width: 576px) {
  .container-fluid {
    padding-right: 15px;
    padding-left: 15px;
  }
}

@media (min-width: 768px) {
  .container-fluid {
    padding-right: 15px;
    padding-left: 15px;
  }
}

@media (min-width: 992px) {
  .container-fluid {
    padding-right: 15px;
    padding-left: 15px;
  }
}

@media (min-width: 1200px) {
  .container-fluid {
    padding-right: 15px;
    padding-left: 15px;
  }
}
.btn-primary {
  background-color: #cc180e;
  border-color: #cc180e;
  color: #fff;
}
.btn-primary:hover, .btn-primary:focus {
  background-color: #545454;
}
.btn-primary .fa {
  line-height: 1.25;
}
.btn-icon {
  background-color: transparent;
  border-color: transparent;
}
.btn-prev-post {
  background-color: #dfdfdf;
}
.btn-next-post {
  background-color: #eee;
}
.btn-prev-post, .btn-next-post {
  position: relative;
  white-space: normal;
}
.btn-prev-post .fa {
  left: .5rem;
}
.btn-next-post .fa {
  right: .5rem;
}
.btn-prev-post .fa, .btn-next-post .fa {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}
.btn-icon:hover {
  color: #f03227;
}
.embed-responsive-3by2::before {
  padding-top: 66.66667%;
}
h5, .h5 {
  font-size: 1rem;
}
h6, .h6 {
  font-size: 0.9rem;
}
.section-title {
  color: #cc180e;
}
a.section-title:hover, .section-title a:hover {
  color: #545454;
}
.carousel-container {
  position: relative;
  padding-left: 1rem;
  padding-right: 1rem;
}
.carousel-autoplay-control {
  display: block;
  position: absolute;
  bottom: 0;
  right: 1rem;
  z-index: 10
}
.carousel-autoplay-control .carousel-button-autoplay {
  display: none;
}
.carousel-autoplay-control.is-pause .carousel-button-autoplay.carousel-button-play,
.carousel-autoplay-control.is-playing .carousel-button-autoplay.carousel-button-pause {
  display: block;
}
.carousel-button-next, .carousel-button-prev {
  display: block;
  position: absolute;
  color: #fff;
  background-color: #373737;
  width: 44px;
  height: 44px;
  text-align: center;
  border-radius: 100%;
  top: 50%;
  color: #ccc;
  cursor: pointer;
  margin-top: -22px;
  -webkit-transition: background .3s ease;
  -o-transition: background .3s ease;
  transition: background .3s ease;
  opacity: .5;
  z-index: 10;
}
.carousel-button-next:hover, .carousel-button-prev:hover, 
.carousel-button-next:active, .carousel-button-prev:active ,
.carousel-button-next:focus, .carousel-button-prev:focus {
  background-color: #d6463e;
  color: #fff;
  opacity: 1;
}
.carousel-button-next .fa, .carousel-button-prev .fa {
  line-height: 46px;
  font-size: 18px;
}
.carousel-button-prev {
  left: 0;
  /*left: -15px;*/
}
.carousel-button-next {
  right: 0;
  /*right: -15px;*/
}
button.mfp-arrow {
  font-family: 'FontAwesome';
  /*margin-top: -15px;*/
  /*width: 30px;*/
  /*height: 30px;*/
  background-color: #C8C8C8;
  width: 44px;
  height: 44px;
  text-align: center;
  border-radius: 100%;
  top: 50%;
  color: #333;
  cursor: pointer;
  margin-top: -22px;
  -webkit-transition: background .3s ease;
  -o-transition: background .3s ease;
  transition: background .3s ease;
  opacity: .85;
}
button.mfp-arrow:hover {
  background-color: #d6463e;
    opacity: 1;
}
.mfp-title * {
  font-family: Helvetica, "Microsoft JhengHei", 微軟正黑體, SimHei, Arial, sans-serif!important;
  color: inherit !important;
  background: none !important;
  font-size: inherit !important;
  background-color: transparent !important;
}
.mfp-title > strong {
  color: #fff !important;
  font-size: 0.9675rem!important;
}
.mfp-title a,
.mfp-title a:hover,
.mfp-title a:focus {
  color: #f0ad4e !important;
}
html:lang(zh-hk) .mfp-title>strong, html:lang(zh-cn) .mfp-title>strong {
  font-size: 1.13rem!important;
}
.mfp-title br {
  display: none;
}
.mfp-title p,
.mfp-title div {
  display: inline;
}
.mfp-zoom-out-cur {
  cursor: auto;
}
.mfp-arrow:before {
  content: none;
  display: none;
} 
.mfp-arrow:after {
  position: static;
  display: inline;
  line-height: 30px;
  font-size: 14px;
  border: 0 !important;
  margin: 0 0;
}
.mfp-arrow-left  { left: -22px; }
.mfp-arrow-right { right: -22px; }
.mfp-arrow.mfp-arrow-left:after   { content: "\f053"; }
.mfp-arrow.mfp-arrow-right:after  { content: "\f054"; }
.mfp-arrow:active {
  margin-top: -22px;
}
.text-ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
}
.text-ellipsis.line-1 { -webkit-line-clamp: 1; }
.text-ellipsis.line-2 { -webkit-line-clamp: 2; }
.text-ellipsis.line-3 { -webkit-line-clamp: 3; }
.text-ellipsis.line-4 { -webkit-line-clamp: 4; }
.text-ellipsis.line-5 { -webkit-line-clamp: 5; }

.video-js {
  width: 100% !important;
  height: 100% !important;
}
.video-js img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
}
.news-modal {
  cursor: pointer;
}
.modal-transcript {
  display: none;
  height: 150px;
  overflow: auto;
  -ms-overflow-style: scrollbar;
}
.news-block {
  position: relative;
  display: block;
  overflow: hidden;
}
.news-block-3by2 {
  position: relative;
  padding-top: 66.66667%; 
}
.news-block-4by3 {
  position: relative;
  padding-top: 75%; 
}
.news-block-16by9 {
  position: relative;
  padding-top: 56.25%;
}
.news-block-ad {
  position: relative;
  padding-top: 74.9019%;
}
.news-block-3by2 img, .news-block-4by3 img, .news-block-16by9 img, .news-block-ad img {
  position: absolute;
  top: 0;
  left: 0;
  max-width: 100%;
  max-height: 100%;
  width: 100%;
}
.news-block.video-icon:before {
  display: inline-block;
  font-family: 'FontAwesome';
  font-size: 14px;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: "\f04b";
  color: #fff;
  background-color: rgba(0, 0, 0, .8);
  opacity: .7;
  margin-left: -15px;
  margin-top: -15px;
  position: absolute;
  line-height: 1;
  top: 50%;
  left: 50%;
  padding: 9px 9px 9px 11px;
  font-size: 14px;
  text-align: center;
  border-radius: 100%;
  z-index: 1
}
.news-block.video-icon:hover:before {
  background-color: #d6463e;
}
.news-date {
  color: #707070;
}
.item-list {
  overflow: auto;
  list-style: none;
  background-color: #eee;
  padding: 15px;
}
.item-list li {
  position: relative;
  padding-left: 15px;
  margin-bottom: 2px;
  display: inline-block;
  width: 100%;
}
.item-list li:before {
  content: '\2022';
  position: absolute;
  top: 0; left: 0;
  font-size: 1.25em;
  line-height: 1.25em;
}
.item-list.list-column-2 {
  -webkit-column-count: 2;
  -moz-column-count: 2;
  column-count: 2;
  -webkit-column-gap: 15px;
  -moz-column-gap: 15px;
  column-gap: 15px;
}
.listbox .listbox-header {
  padding: 10px 15px;
  background-color: #545454;
  color: #fff;
}
.listbox .listbox-header h3 {
  font-size: 0.7875rem;
  line-height: 1.5;
}
.breadcrumb {
  border-radius: 0;
  padding: 10px 15px;
  color: #282828;
  background-color: transparent;
  margin-bottom: 0;
}
.breadcrumb-item.active {
  color: #cc180e
}
.breadcrumb-item + .breadcrumb-item:before {
  content: '>';
  color: #282828;
}
.btn {
  font-size: 0.8rem;
  border: 0;
  border-radius: 0;
  min-width: 0;
}
.btn:focus {
  -webkit-box-shadow: 0 0 0;
  box-shadow: 0 0 0;
}
.btn-secondary {
  color: #fff;
  background-color: #535455
}
.btn-secondary:hover {
  color: #fff;
  background-color: #cc180e;
  border-color: #cc180e;
}
.form-check-input {
  margin-top: 0;
  /*margin-left: 0;*/
  /*top: 50%;*/
  /*transform: translateY(-50%);*/
  /*position: static;*/
  /*margin-top: 0;*/
  /*margin-left: 0; */
  vertical-align: middle;
}
/*.form-check-input ~ * {
  vertical-align: middle;
}*/
.vjs-poster {
  background-size: cover;
}
.swiper-slide .video-js {
  visibility: hidden;
}
.swiper-slide.swiper-slide-active .video-js {
  visibility: visible;
}
.video-js .vjs-big-play-button {
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  border: 0;
  border-radius: 100%;
  width: 1.5em
}
.video-js:hover .vjs-big-play-button{
  background-color: #d6463e;
}
.swiper-pagination {
  position: static;
}
.swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  margin-left: 5px; 
  margin-right: 5px;
  cursor: pointer;
}
.swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: #cc180e;
}
.social-share {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-image: url('https://news.gov.hk/web/images/icon/media.png');
  background-size: 144px 24px;
  background-repeat: no-repeat;
  vertical-align: middle;
}
.social-share.facebook { background-position-x: -24px; }
.social-share.twitter { background-position-x: -48px; }
.social-share.weibo { background-position-x: -72px; }
.social-share.googleplus { background-position-x: -96px; }
.social-share.wechat { background-position-x: -120px; }
.ig-page { background-color: #fff; }
.ig-page .ig-page_header {height: 80px; background-color: #fff; }
.ig-page .ig-page_header .iconimg {float: left; margin: 10px 10px 10px 20px; }
.ig-page .ig-page_header .iconimg img {-webkit-border-radius: 50%; -moz-border-radius: 50%; -ms-border-radius: 50%; -o-border-radius: 50%; border-radius: 50%; border: 1px solid #ccc; width: 60px; }
.ig-page .ig-page_header .igaccinfo {float: left; height: 80px; }
.ig-page .ig-page_header .igaccinfo p {margin: 10px 0; } 
.ig-page .ig-page_header .igaccinfo a {display: inline-block; padding: 2px 9px; border: 1px solid #4090db; border-radius: 5px; font-size: 0.8em; margin-left: 5px; }
.ig-page .ig-page_header .count span {margin-left: 5px; }
.ig-page .ig-page_header .count span:first-child {margin-left: 0; }
.ig-page .threadBox {overflow: auto; height: 313px; clear: both;}
.ig-page .threadBox .threadBox_inner {width: 100%; overflow: hidden; }
.ig-page .threadBox .threadBox_inner .ig-imgBox {width: 32%; float: left; padding: 0.6%; }
.ig-page .threadBox .threadBox_inner .ig-imgBox img {width: 100%; } 
.ig-page .threadBox .threadBox_inner .threadN {float: none; } 

.popover { z-index: 1 }
.border-tab {
  border-bottom: 1px solid #aaa
}
.border-tab > .nav-item {
  border-left: 1px solid #aaa
}
.border-tab > .nav-item:last-child {
  border-right: 1px solid #aaa
}
.border-tab > .nav-item .nav-link {
  border: 0;
  background-color: transparent;
}
.border-tab > .nav-item .nav-link:hover, .border-tab .nav-item.active .nav-link {
  color: #cc180e;
}
.display-tab {
  border-bottom: 0;
}
.display-tab > .nav-item .nav-link {
  border: 0;
  background-color: transparent;
  font-size: 1rem;
  cursor: pointer;
}
.display-tab > .nav-item .nav-link.active, .display-tab .nav-item .nav-link:hover {
  color: #cc180e
}
.news-table {
  background-color: #eee;
}
.form-control {
  border-radius: 0;
}

.extra-list {
  /*background-color: #eee;*/
}
.extra-list .item-list {
  /*padding: 0;*/
}
.extra-list .extra-list-inner {
  height: 100%;
  background-color: #eee;
}

.extra-list .list-group-item {
  background-color: transparent;
  -webkit-box-flex: 1;
  -webkit-flex: 1 0 33.333334%;
  -ms-flex: 1 0 33.333334%;
  flex: 1 0 33.333334%;
}
@media (max-width: 991px) {
  .extra-list .list-group-item {
    -webkit-box-flex: 1;
    -webkit-flex: 1 0 50%;
    -ms-flex: 1 0 50%;
    flex: 1 0 50%;
  }
}
@media (max-width: 575px){
  .extra-list .list-group-item {
    -webkit-box-flex: 1;
    -webkit-flex: 1 0 100%;
    -ms-flex: 1 0 100%;
    flex: 1 0 100%;
  }
}
/*.extra-list .list-group-item {
  background-color: #eee;
  background-color: initial;
  border: 0;
}
.extra-list .list-group-item + .list-group-item {
  border-left: 1px solid #b7b7b7;
}
@media (max-width: 991px) {
  .extra-list .list-group-item:nth-child(3) {
    border-left: 0;
    border-top: 1px solid #b7b7b7;
  }
  .extra-list .list-group-item:nth-child(4) {
    border-top: 1px solid #b7b7b7;
  }
}

@media (max-width: 575px){
  .extra-list .list-group-item + .list-group-item {
      border-left: 0!important;
      border-top: 1px solid #b7b7b7;
  }
}*/

/* A1 */
.section-a1news .carousel-a1 .swiper-slide {
  max-width: 330px;
  padding: 0 10px; 
}
.section-a1news .carousel-a1 .news-a1-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, .75);
  text-align: center;
  padding: 10px 15px;
  color: #fff;
  -webkit-transition: .3s ease;
  -o-transition: .3s ease;
  transition: .3s ease;
}
.section-a1news .carousel-a1 .swiper-slide .news-a1 {
  position: relative;
  /*width: 100%;*/
  /*height: 100%;*/
  -webkit-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
  -webkit-transition: all 0.2s;
  -o-transition: all 0.2s;
  transition: all 0.2s;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, .6);
  pointer-events: none;
}
.section-a1news .carousel-a1 .swiper-slide .news-block .news-a1-caption p {
  display: none;
}
.section-a1news .carousel-a1 .swiper-slide .news-block:not(.video-icon):hover .news-a1-caption {
  top: 0;
}
.section-a1news .carousel-a1 .swiper-slide .news-block:not(.video-icon):hover .news-a1-caption p {
  display: block;
}
.section-a1news .carousel-a1 .swiper-slide .news-block:not(.video-icon):hover .news-a1-caption h5 {
  overflow: visible;
  text-overflow: initial;
  display: block;
}
.section-a1news .carousel-a1 .swiper-slide .news-a1.video-icon:before {
  -webkit-transition: background .3s;
  -o-transition: background .3s;
  transition: background .3s;
}

.section-a1news .carousel-a1 .swiper-slide.swiper-slide-active .news-a1 {
  -webkit-transition: all 0.2s; 
  -o-transition: all 0.2s; 
  transition: all 0.2s; 
  z-index: 10;
  pointer-events: auto;
}
.section-a1news .carousel-a1 .swiper-slide .news-a1:after {
  content: '';
  display: block;
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, .5);
}
.section-a1news .carousel-a1 .swiper-slide.swiper-slide-active .news-a1:after {
  content: none;
  display: none;
}
.section-a1news .item-list-a1 {
  /*height: 313px;*/
  overflow-y: auto;
  background-color: #eee;
  padding: 15px;
}
@media (max-width: 1199px) {
  .section-a1news .carousel-a1 .swiper-slide.swiper-slide-active .news-a1 {
    width: 100%;
  }
}
@media (max-width: 767px) {
  .section-a1news .item-list-a1 li:nth-child(n+10) {
    display: none;
  }
}
@media (min-width: 768px) { 
  
  .section-a1news .item-list-a1 {
    height: 313px
  }
}
@media (min-width: 992px) {
  .section-a1news .carousel-a1 .swiper-slide {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}
@media (min-width: 1200px) {
  .section-a1news .carousel-a1 .swiper-slide.swiper-slide-active .news-a1 {
    -webkit-transform: scale(1.5); 
    -o-transform: scale(1.5); 
    transform: scale(1.5); 
  }
}

/* Banner */
.section-banner .carousel-banner .swiper-slide {
  max-width: 672px;
}
.section-banner .carousel-banner .swiper-slide .banner-block {
  cursor: none;
  pointer-events: none;
  position: relative;
  display: block;
}
.section-banner .carousel-banner .swiper-slide .banner-block:after {
  content: '';
  display: block;
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #000;
  opacity: .5;
}
.section-banner .carousel-banner .swiper-slide.swiper-slide-active .banner-block {
  cursor: pointer;
  pointer-events: auto;
}
.section-banner .carousel-banner .swiper-slide.swiper-slide-active .banner-block:after {
  opacity: 0;
  content: none;
}
.section-banner .carousel-autoplay-control{
  top: auto;
  bottom: -1.5rem;
  /*position: static;*/
}
.section-banner .carousel-banner .banner-block img {
  width: 100%;
}

/* MainPage Photo News */
.in-pictures-container {
  background-color: #eee;
}
.carousel-photonews .swiper-slide {
  padding-top: 20px;
  /*background-color: #eee;*/
  padding-bottom: 20px;
}
.carousel-photonews .swiper-slide > * {
  display: block;
  /*width: 450px;*/
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.carousel-photonews .swiper-slide .news-block {
  
}
.carousel-photonews-thumbs .swiper-slide {
  border: 2px solid transparent;
  width: 150px;
  cursor: pointer;
}
.carousel-photonews-thumbs .swiper-slide.showing-slide {
  border-color: #f03227
}
@media (min-width: 1200px) {
  .carousel-photonews .swiper-slide {
    padding-top: 15px;
    padding-bottom: 15px;
  }
}

/* Social Media Tab & panel */
.section-news-social .social-tab { 
  border-bottom: 0;
}
.section-news-social .social-tab.nav-tabs .nav-item { 
  font-size: 18px;
  text-align: center;
}
.section-news-social .social-content {
  height: 550px;
  overflow: hidden;
}
@media (max-width: 575px) {
  .section-news-social .social-content {
    height: 400px;
  }
}
.section-news-social .social-content .tab-pane {
  height: 100%;
  padding: 15px 15px;
  background-color: #eee;
  overflow: auto;
}
.section-news-social .social-tab.nav-tabs .nav-item.bcr-blue    { background-color: #3b5a97 }
.section-news-social .social-tab.nav-tabs .nav-item.bcr-purple  { background-color: #c82a90 }
.section-news-social .social-tab.nav-tabs .nav-item.bcr-red     { background-color: #ea1b10 }
/*.section-news-social .social-tab.nav-tabs .nav-item.bcr-babyblue{ background-color: #0279b1 }*/
.section-news-social .social-tab.nav-tabs .nav-item.bcr-babyblue{ background-color: #e0e0e0 }
.section-news-social .social-tab.nav-tabs .nav-item.bcr-yellow  { background-color: #c75000 }
.section-news-social .social-tab.nav-tabs .nav-item.bcr-green   { background-color: #348903 }
.section-news-social .social-tab.nav-tabs .nav-item .nav-link   { padding-top: 10px; padding-bottom: 10px; padding-left: 0; padding-right: 0; }
.section-news-social .social-tab.nav-tabs .nav-item .nav-link,
.section-news-social .social-tab.nav-tabs .nav-item .nav-link.active { border: 0; color: #fff; background-color: transparent; }
.section-news-social .news-caption {
  margin-left: auto;
  margin-right: auto;
  margin-top: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4; 
  min-height: 6em;
  line-height: 1.5;        
}
.section-news-social .news-caption * {
  font-family: Helvetica, "Microsoft JhengHei", 微軟正黑體, SimHei, Arial, sans-serif!important;
  color: inherit !important;
  background: none !important;
  font-size: inherit !important;
  background-color: transparent !important;
}
.section-news-social .news-caption > strong {
  color: #cc180e !important;
  font-size: 0.9675rem!important;
}
.section-news-social .news-caption a,
.section-news-social .news-caption a:hover,
.section-news-social .news-caption a:focus {
  color: #cc180e !important;
}
html:lang(zh-hk) .section-news-social .news-caption > strong, html:lang(zh-cn) .section-news-social .news-caption > strong {
  font-size: 1.13rem!important;
}
.section-news-social .news-caption br {
  display: none;
}
.section-news-social .news-caption p {
  display: inline;
}
@media (min-width: 1200px) {
  .section-news-social .social-content .tab-pane {
    padding: 29px;
  }
}

/* Video News */
.section-video-news .carousel-button-next, .section-video-news .carousel-button-prev {
  top: 86.5px;
}
.section-video-news .carousel-video-news .swiper-slide {
  width: 260px;
}
.section-video-detail .carousel-button-next, .section-video-detail .carousel-button-prev {
  top: 90px;
}
.section-video-detail .carousel-autoplay-control {
  top: -1.5rem;
}

/* Tools Realtime */
.section-tools-realtime .item-list {
  background-color: #eee;
  height: 200px;
}

/* Common Categories */ 
@media (min-width: 1200px) {
  .section-category .mt-xl-n39 { 
    margin-top: -39px; 
    margin-top: -webkit-calc(-1.45em - 20px);
    margin-top: calc(-1.45em - 20px);
  }
}
.section-category .breadcrumb {
  background-color: #fff;
}

.section-category .section-banner {
  height: 170px;
}
.section-category .section-banner.section-xl-banner {
  height: 320px;
}
.section-category .section-banner .section-title {
  color: #fff;
  /*add on 20221018*/
  text-shadow: 3px 3px 3px #222222;
}
@media (max-width: 1199px) {
  .section-category .section-banner .section-title {
    font-size: 30px;
  }
}
.section-category .section-banner.section-xl-banner .section-category-name {
  color: #fff;
  padding: 10px 20px;
  background-color: #cc180e;
}
.section-category .section-banner.section-xl-banner .section-title {
  padding: 10px 20px;
  background-color: rgba(0, 0, 0, .7);
}
.section-newsdetail .category-aside .category-aside-body {
  height: 100%;
  -webkit-box-flex: 1;
  -webkit-flex: 1 0 100%;
      -ms-flex: 1 0 100%;
          flex: 1 0 100%;
}
.category-aside .category-aside-body {
  background-color: #eee;
  height: 100%
}
.category-aside .category-aside-body ul {
  padding-left: 0.8rem;
}
.category-aside .category-aside-body ul a:hover, .category-aside .category-aside-body ul a.active{
  color: #cc180e;
}
.category-aside .aside-title {
  padding: 10px 20px;
  background-color: #000;
  color: #fff;
}
.category-aside h2.aside-title {
  font-size: 0.7875rem;
  line-height: 1.5;
}
.category-aside .tab-title a {
  color: #cc180e;
}
.category-aside .tab-title a.collapsed {
  color: #282828;
}
.category-aside .tab-title a:before {
  display: inline-block;
  content: '\25B6';
  margin-right: 5px;
  -webkit-transition: all .2s;
  -o-transition: all .2s;
  transition: all .2s;
  -webkit-transform: rotate(90deg);
  -o-transform: rotate(90deg);
  transform: rotate(90deg);
}
.category-aside .tab-title a.collapsed:before {
  -webkit-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
}
.category-aside .card {
  background-color: transparent;
  border: 0;
}
.news-list .news-item {
  padding: 1rem 15px;
}
.news-list .news-item:nth-child(even) {
  background-color: #eeeeee;
}
.news-list .news-item .news-speaker {
  font-weight: bold;
  color: #cc180e;
}
.news-list .news-item .news-summary {
  background: none!important;
  color: #282828!important; 
}
.news-list .news-item .news-summary a {
  color: #cc180e!important;
}
.news-list .news-item .news-summary .h1, .news-list .news-item .news-summary .h2, .news-list .news-item .news-summary .h3, .news-list .news-item .news-summary .h4, .news-list .news-item .news-summary .h5, .news-list .news-item .news-summary .h6,.news-list .news-item .news-summary h1,.news-list .news-item .news-summary h2,.news-list .news-item .news-summary h3,.news-list .news-item .news-summary h4,.news-list .news-item .news-summary h5,.news-list .news-item .news-summary h6 {
  display: inline;
}
.card-pager .card-pager-prev, .card-pager .card-pager-next {
  display: inline-block;
  background-color: #e0e0e0;
  color: #282828;
  padding: 8px 12px;
  opacity: .7;
}
.card-pager .card-pager-prev:hover, .card-pager .card-pager-next:hover {
  opacity: 1;
}
.card-pager > input {
  text-align: center;
  width: 30px;
}
.section-newsdetail .breadcrumb-wrap ,
.section-newsdetail .breadcrumb {
  background-color: #eee;
}
.section-newsdetail .newsdetail-inner {
  background-color: #eee;
  overflow: hidden;
}
.section-newsdetail .newsdetail-inner img {
  max-width: 100%;
}
.btn-icon {
  font-size: 1rem;
}
.section-newsdetail .newsdetail-wrap {
  width: 600px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}
.section-newsdetail .newsdetail-wrap .news-caption {
  background-color: rgba(0, 0, 0, .75);
  padding: 10px 15px;
  color: #fff!important;
}
.section-newsdetail .newsdetail-wrap .news-caption * {
  font-family: Helvetica, "Microsoft JhengHei", 微軟正黑體, SimHei, Arial, sans-serif!important;
  color: inherit !important;
  background: none !important;
  font-size: inherit !important;
  background-color: transparent !important;
}
.section-newsdetail .newsdetail-wrap .news-caption > strong {
  color: #fff !important;
  font-size: 0.9675rem!important;
}
.section-newsdetail .newsdetail-wrap .news-caption a,
.section-newsdetail .newsdetail-wrap .news-caption a:hover,
.section-newsdetail .newsdetail-wrap .news-caption a:focus {
  color: #cc180e !important;
}
html:lang(zh-hk) .section-newsdetail .newsdetail-wrap .news-caption>strong, html:lang(zh-cn) .section-newsdetail .newsdetail-wrap .news-caption>strong {
  font-size: 1.13rem!important;
}
.section-newsdetail .newsdetail-wrap .news-caption br {
  display: none;
}
.section-newsdetail .newsdetail-wrap .news-caption p {
  display: inline;
}
.section-newsdetail .carousel-thumbs-container {
  width: 100%;
  max-width: 350px;
  margin-left: auto;
  margin-right: auto;
}
.section-newsdetail .carousel-thumbs-container.size-md{
  max-width: 530px;
}
.section-newsdetail .carousel-thumbs-container.size-lg{
  max-width: 680px;
}
.section-newsdetail .carousel-newsdetail-thumbs .swiper-slide {
  max-width: 50%;
  max-width: -webkit-calc(50% - 5px);
  max-width: calc(50% - 5px);
  width: 160px;
  cursor: pointer;
}
.section-newsdetail .related-list .related-card + .related-card {
  border-top: 1px solid #282828;
}
.section-newsdetail .category-other-body .carousel-indicators {
  display: block;
  text-align: center;
  position: static;
  margin-top: .5rem;
}
.section-newsdetail .category-other-body .carousel-indicators li {
  width: 12px;
  height: 12px;
  margin-left: 5px;
  margin-right: 5px;
  display: inline-block;
  border-radius: 100%;
  background: #000;
  opacity: .2;
}
.section-newsdetail .category-other-body .carousel-indicators li.active {
  background-color: #cc180e;
  opacity: 1
}
.section-newsdetail .carousel-newsdetail-next, .section-newsdetail .carousel-newsdetail-prev {
  margin-top: -15px;
  width: 30px;
  height: 30px;
}
.section-newsdetail .carousel-newsdetail-next .fa, .section-newsdetail .carousel-newsdetail-prev .fa {
  line-height: 30px;
  font-size: 14px;
}
.section-newsdetail .newsdetail-content,
.section-newsdetail .newsdetail-content * {
  font-family: Helvetica, "Microsoft JhengHei", 微軟正黑體, SimHei, Arial, sans-serif!important;
  font-size: 0.7875rem!important;
  background: none!important;
  color: #282828!important;
}
html:lang(zh-hk) .section-newsdetail .newsdetail-content,
html:lang(zh-hk) .section-newsdetail .newsdetail-content *,
html:lang(zh-cn) .section-newsdetail .newsdetail-content,
html:lang(zh-cn) .section-newsdetail .newsdetail-content *{
  font-size: 0.95rem!important;
}
.section-newsdetail .newsdetail-content p {
  margin-bottom: 0;
}
.section-newsdetail .newsdetail-content a, .section-newsdetail .newsdetail-content .news-speaker {
  color: #cc180e!important;
}

/* Sitemap */
.section-sitemap .sitemap-list {
}
.section-sitemap .card {
  border: 0;
  border-radius: 0; 
  margin-bottom: 0;
  background-color: transparent;
}
.section-sitemap .card a.card-head {
  position: relative;
  /*font-size: 1rem;*/
  background-color: transparent;
}
.section-sitemap .card a.card-head[data-toggle="collapse"] {
  color: #282828;
}
.section-sitemap .card a.card-head.collapsed {
  color: #282828;
}
.section-sitemap .card a.card-head .dropdown-icon {
  position: absolute;
  top: 50%;
  left: 0;
  font-size: 1rem;
  -webkit-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  display: inline-block;
}
.section-sitemap .card .collapse a.card-head .dropdown-icon {
  left: -1rem;
}


/* Rss */
.section-rssinfo a{
  word-break: break-all;
}
.section-rssinfo .rss-list .rss-item {
  background-color: #eee;
  margin-top: 1px;
}
.section-rssinfo .rss-list .rss-item .fa-rss-square {
  color: #f7881c;
}

/* Advanced Search */ 
.section-advancedsearch .advancedsearch-wrap {
  background-color: #eee;
}
.section-advancedsearch .datepicker-inline {
  margin-left: auto;
  margin-right: auto;
}
.clndr {
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .5)
}
.clndr-controls {
  text-align: center;
  position: relative;
  color: #fff;
  background-color: #cc180e;
  padding: 5px 5px;
  font-size: 20px;
  font-weight: 600;
  vertical-align: middle;
}
.clndr-controls .current-month {
  display: inline-block;
  font-size: 20px;
  vertical-align: middle;
}
.clndr-controls .clndr-previous-button,
.clndr-controls .clndr-previous-year-button,
.clndr-controls .clndr-next-button ,
.clndr-controls .clndr-next-year-button {
  position: relative;
  width: 30px;
  cursor: pointer;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  font-family: Inconsolata, Monaco, 'Andale Mono', Courier;
}
.clndr-controls .clndr-previous-button ,
.clndr-controls .clndr-previous-year-button {
  float: left;
  text-align: center;
}
.clndr-controls .clndr-next-button ,
.clndr-controls .clndr-next-year-button {
  float: right;
  text-align: center;
}
.clndr-controls .clndr-previous-button:hover,
.clndr-controls .clndr-next-button:hover {
  opacity: 0.5;
}
.clndr-grid {
  position: relative;
  width: 100%;
  background-color: #fff;
  overflow: hidden;
}
.clndr-grid .days-of-the-week,
.clndr-grid .events {
  padding: 15px;
  -webkit-transition: .5s;
  -moz-transition: .5s;
  -ms-transition: .5s;
  -o-transition: .5s;
  transition: .5s;
}
.clndr-grid .days-of-the-week {
  width: 100%;
  position: relative;
  left: 0;
}
.clndr-grid .events {
  position: absolute;
  top: 0;
  left: 100%;
  width: 100%;
  height: 100%;
}
.clndr-grid.show-events .days-of-the-week {
  left: -100%;
}
.clndr-grid.show-events .events {
  left: 0;
}
.clndr-grid .days-of-the-week .header-day {
  float: left;
  width: 14.2857%;
  padding: 5px 0;
  text-align: center;
  color: #282828;
  font-weight: 700
}
.clndr-grid .days .day {
  cursor: pointer;
}
.clndr-grid .days .day,
.clndr-grid .days .empty {
  float: left;
  width: 14.2857%;
  text-align: center;
  color: #4f4f4f;
  background-color: #eee;
  border: 1px solid #fff;
}
.clndr-grid .days .day > a,
.clndr-grid .days .empty > a{
  display: block;
  padding: 10px 0;
}
.clndr-grid .days .day.event ,
.clndr-grid .days .empty.event {
  cursor: pointer;
}
.clndr-grid .days .day.adjacent-month .day-number,
.clndr-grid .days .empty.adjacent-month .day-number {
  opacity: 0.3;
}
.clndr-grid .days .day.event .day-number,
.clndr-grid .days .empty.event .day-number {
  padding-bottom: 4px;
  color: #e81b10;
  border-bottom: 2px solid #e81b10;
}
.clndr .days {
  -webkit-transition: left 0.5s;
  -moz-transition: left 0.5s;
  -ms-transition: left 0.5s;
  -o-transition: left 0.5s;
  transition: left 0.5s;
}

/* subscription */ 
.section-subscription .subscription {
  background-color: #edeeef;
  color: #525354;
}
.section-subscription .subscription-title {
  color: #ef0000;
  border-bottom: 1px solid #bbbcbd;
}
.section-subscription .lh-13 {
  line-height: 1.3
}
form .form-error {
  color: #ef0000
}

/* Contact */ 
.section-contact .contactwrap {
  background-color: #edeeef;
  color: #525354;
}

/* Aboutus */
.section-aboutus .aboutwrap {
  background-color: #edeeef;
  color: #525354;
}
.section-aboutus a {
  color: #cc180e;
  word-break: break-word;
}

/* search-result */ 
.section-search-result .search-result {
  background-color: #edeeef;
}
.section-search-result .search-result-title {
  color: #ef0000;
} 
.section-search-result .result-card .highlight {
  color: #ef0000;
}
.section-search-result .result-list {
  border-bottom: 1px solid #aaa;
}

/* Video Page */
.carousel-video-recommend .carousel-button-next, .carousel-video-recommend .carousel-button-prev {
  top: 73px;
}
.carousel-video-recommend  .swiper-slide {
  width: 265px;
}
.news-table .news-item {
  display: block;
  width: 100%;
}
.news-table.galleries-wrap a,
.news-table.galleries-wrap .galleries-title {
  color: #cc180e;
}
.news-table.galleries-wrap a.news-item {
  color: #282828;
}
.news-table.show-as-item .news-item {
  width: 50%;
}
.news-table.show-as-list .news-item {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}
.news-table.show-as-list .news-item .news-block {
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 100px;
  -ms-flex: 0 0 100px;
  flex: 0 0 100px;
  width: 100px;
}
.news-table.show-as-list .news-item .news-caption {
  padding-left: 0.5rem;
}
@media (min-width: 992px){
  .news-table.show-as-item .news-item {
    width: 25%;
  }
}
@media (min-width: 768px){
  .news-table.show-as-list .news-item {
    width: 50%;
  }
}

/* Photo Gallery */
.section-gallery .photogallery-wrap {
  background-color: #eee
}

.section-gallery .carousel-photogallery-thumbs .swiper-slide {
  width: 150px;
}
.section-gallery .carousel-photogallery .swiper-slide {
  max-width: 100%;
  width: 330px;
  
  padding-left: 10px;
  padding-right: 10px;
}
.section-gallery .carousel-photogallery .swiper-slide .news-block {
  -webkit-transition: transform .3s;
  -o-transition: transform .3s;
  transition: transform .3s;
  -webkit-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
}

.section-gallery .carousel-photogallery-thumbs .swiper-slide {
  border: 2px solid transparent
}
.section-gallery .carousel-photogallery-thumbs .swiper-slide.showing-slide, .section-gallery .carousel-photogallery-thumbs .swiper-slide:hover {
  border: 2px solid #f03227;
}
.section-gallery .carousel-photogallery-thumbs-prev, .section-gallery .carousel-photogallery-thumbs-next {
  margin-top: -15px;
  width: 30px;
  height: 30px;
}
.section-gallery .carousel-photogallery-thumbs-next .fa, .section-gallery .carousel-photogallery-thumbs-prev .fa {
  line-height: 30px;
  font-size: 14px;
}
.section-gallery .gallery-caption-wrap .news-caption * ,
.section-gallery .gallery-caption-wrap .news-caption-tilte * {
  font-family: Helvetica, "Microsoft JhengHei", 微軟正黑體, SimHei, Arial, sans-serif!important;
  color: inherit !important;
  background: none !important;
  font-size: inherit !important;
  background-color: transparent !important;
}
.section-gallery .gallery-caption-wrap .news-caption > strong,
.section-gallery .gallery-caption-wrap .news-caption-tilte > strong {
  color: #cc180e !important;
  font-size: 0.9675rem!important;
}
.section-gallery .gallery-caption-wrap .news-caption a,
.section-gallery .gallery-caption-wrap .news-caption a:hover,
.section-gallery .gallery-caption-wrap .news-caption a:focus,
.section-gallery .gallery-caption-wrap .news-caption-tilte a,
.section-gallery .gallery-caption-wrap .news-caption-tilte a:hover,
.section-gallery .gallery-caption-wrap .news-caption-tilte a:focus {
  color: #cc180e !important;
}
html:lang(zh-hk) .section-gallery .gallery-caption-wrap .news-caption>strong, html:lang(zh-cn) .section-gallery .gallery-caption-wrap .news-caption>strong ,
html:lang(zh-hk) .section-gallery .gallery-caption-wrap .news-caption-tilte>strong, html:lang(zh-cn) .section-gallery .gallery-caption-wrap .news-caption-tilte>strong {
  font-size: 1.13rem!important;
}
.section-gallery .gallery-caption-wrap .news-caption br ,
.section-gallery .gallery-caption-wrap .news-caption-tilte br {
  display: none;
}
.section-gallery .gallery-caption-wrap .news-caption p ,
.section-gallery .gallery-caption-wrap .news-caption-tilte p {
  display: inline;
}
.section-gallery-timeline .border-tab {
  position: relative;
}
.section-gallery-timeline .display-tab {
  position: absolute;
  bottom: .5rem;
  right: 0;
}
.section-gallery-timeline .tab-content .tab-pane-inner {
  background-color: #edeeef
}
.section-gallery-timeline .category-aside .category-aside-body {
  background-color: #fff;
}
.section-gallery-timeline .news-table {
  margin-left: -1rem;
  margin-right: -1rem;
}
@media (min-width: 992px){
  .section-gallery .gallery-caption-wrap {
    border-left: 1px solid #b7b7b7
  }
}
@media (min-width: 768px){
  .section-gallery .carousel-photogallery .swiper-slide {
    padding-top: 60px;
    padding-bottom: 80px;
  }
  .section-gallery .carousel-photogallery .swiper-slide.swiper-slide-active .news-block{
    -webkit-transform: scale(1.5);
    -o-transform: scale(1.5);
    transform: scale(1.5);
    z-index: 10
  }
}

/* Mourn Mode */
.mourn-mode body,  
.mourn-mode a, 
.mourn-mode a:focus,
.mourn-mode .category-aside .tab-title a.collapsed,
.mourn-mode .btn-icon,
.mourn-mode .display-tab > .nav-item .nav-link, 
.mourn-mode .display-tab .nav-item .nav-link,
.mourn-mode .text-danger,
.mourn-mode form .form-error,
.mourn-mode .section-newsdetail .newsdetail-content a, .mourn-mode .section-newsdetail .newsdetail-content .news-speaker,
.mourn-mode .section-news-social .news-caption > strong  { color: #4a4a4a!important; }

.mourn-mode a.carousel-button-next, .mourn-mode a.carousel-button-prev {
  color: #fff!important;
}

.mourn-mode .btn-primary { background-color: #4a4a4a; color: #fff!important; }
.mourn-mode .btn-primary:hover { background-color: #000; color: #fff!important; }

.mourn-mode a:hover,
.mourn-mode .section-title,
.mourn-mode .navbar-webcasts .icon-webcasts .fa,
.mourn-mode .btn-icon:hover,
.mourn-mode .display-tab > .nav-item .nav-link.active, 
.mourn-mode .display-tab .nav-item .nav-link:hover  { color: #000; }

.mourn-mode .header .navbar-info .list-info .lang-setting a, 
.mourn-mode .navbar-webcasts a { color: #fff!important; }

.mourn-mode .category-aside .tab-title a,
.mourn-mode .category-aside .category-aside-body ul a:hover, 
.mourn-mode .category-aside .category-aside-body ul a.active,
.mourn-mode .breadcrumb-item.active { color: #000 }

.mourn-mode .section-newsdetail .category-other-body .carousel-indicators li.active,
.mourn-mode .carousel-button-next:hover, .mourn-mode .carousel-button-prev:hover,
.mourn-mode .carousel-button-next:focus, .mourn-mode .carousel-button-prev:focus,
.mourn-mode .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active,
.mourn-mode .section-a1news .carousel-a1 .swiper-slide .news-a1.video-icon:hover:before,
.mourn-mode button.mfp-arrow:hover,
.mourn-mode button.mfp-arrow:focus,
.mourn-mode .news-block.video-icon:hover:before,
.mourn-mode .section-category .section-banner.section-xl-banner .section-category-name,
.mourn-mode .video-js:hover .vjs-big-play-button,
.mourn-mode .clndr-controls { background-color: #000 }

.mourn-mode .section-news-social .social-tab.nav-tabs .nav-item.bcr-blue    { background-color: #1a1a1a }
.mourn-mode .section-news-social .social-tab.nav-tabs .nav-item.bcr-purple  { background-color: #000 }
.mourn-mode .section-news-social .social-tab.nav-tabs .nav-item.bcr-red     { background-color: #252525 }
.mourn-mode .section-news-social .social-tab.nav-tabs .nav-item.bcr-babyblue{ background-color: #2c2c2c }
.mourn-mode .section-news-social .social-tab.nav-tabs .nav-item.bcr-yellow  { background-color: #3d3d3d }
.mourn-mode .section-news-social .social-tab.nav-tabs .nav-item.bcr-green   { background-color: #575757 }

.mourn-mode .section-news-social .social-tab.nav-tabs .nav-item a.nav-link,
.mourn-mode button.mfp-arrow:hover,
.mourn-mode button.mfp-arrow:focus,
.mourn-mode .backtotop-wrapper .backtotop{ color: #fff!important; }

.mourn-mode .header .navbar-tools .navbar-toggler { color: #4a4a4a; }

.mourn-mode .section-gallery .gallery-caption-wrap .news-caption>strong,
.mourn-mode .news-table.galleries-wrap .galleries-title,
.mourn-mode .news-list .news-item .news-speaker {
    color: #000;
}

.mourn-mode .carousel-photonews-thumbs .swiper-slide.showing-slide,
.mourn-mode .section-gallery .carousel-photogallery-thumbs .swiper-slide.showing-slide, 
.mourn-mode .section-gallery .carousel-photogallery-thumbs .swiper-slide:hover {
  border-color: #000;
}

.mourn-mode .section-gallery .gallery-caption-wrap .news-caption-tilte>strong,
.mourn-mode .section-gallery .gallery-caption-wrap .news-caption>strong{
  color: #000!important;
}

.mourn-mode .section-gallery .gallery-caption-wrap .news-caption a,
.mourn-mode .section-gallery .gallery-caption-wrap .news-caption a:hover,
.mourn-mode .section-gallery .gallery-caption-wrap .news-caption a:focus,
.mourn-mode .section-gallery .gallery-caption-wrap .news-caption-tilte a,
.mourn-mode .section-gallery .gallery-caption-wrap .news-caption-tilte a:hover,
.mourn-mode .section-gallery .gallery-caption-wrap .news-caption-tilte a:focus,
.mourn-mode .section-news-social .news-caption a, 
.mourn-mode .section-news-social .news-caption a:hover, 
.mourn-mode .section-news-social .news-caption a:focus{
  color: #000!important;
}

.mourn-mode .mfp-title > strong,
.mourn-mode .mfp-title a,
.mourn-mode .mfp-title a:hover,
.mourn-mode .mfp-title a:focus,
.mourn-mode .section-newsdetail .newsdetail-wrap .news-caption a,
.mourn-mode .section-newsdetail .newsdetail-wrap .news-caption a:hover,
.mourn-mode .section-newsdetail .newsdetail-wrap .news-caption a:focus {
  color: #fff !important;
}

.mourn-mode .header .navbar-tools .navbar-brand {
    background-image: url('https://news.gov.hk/web/images/logo-mob_mourn.jpg');
}

@media (min-width: 1200px){
  .mourn-mode .header .navbar-tools .navbar-brand {
    background-image: url('https://news.gov.hk/web/images/logo_mourn.jpg');
  }
  .mourn-mode .header .navbar-info .list-info a,
  .header .navbar-catalog .navbar-nav .nav-item.nav-video-item .nav-link, .header .navbar-catalog .navbar-nav .nav-item.nav-search-item .nav-link { color: #fff!important; }

  .mourn-mode .header .navbar-info { background-color: #000; }
  .mourn-mode .header .navbar-catalog .navbar-nav .nav-item.nav-video-item .nav-link, .mourn-mode .header .navbar-catalog .navbar-nav .nav-item.nav-search-item .nav-link { background-color: #787878 }
  .mourn-mode .header .navbar-info .fontsize-setting > a:hover, .mourn-mode .header .navbar-info .fontsize-setting > a.active { background-image: url(https://news.gov.hk/web/images/icon/font-mob.png); }
}

/* Light Mode */
@media (max-width: 1199px){
  .light-mode ::-webkit-scrollbar-thumb {
    background-color: rgba(255,255,255,0.8); 
    background-clip: padding-box;
    border: 2px solid transparent;
    border-radius: 8px;
    box-shadow: inset -1px -1px 0 rgba(255,255,255,0),inset 1px 1px 0 rgba(255,255,255,0)
  }
  .light-mode ::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255,255,255,0.8); 
  }

  .light-mode body,
  .light-mode main .section-category .breadcrumb,
  .light-mode main .input-group-addon { background-color: rgb(16, 16, 16) }

  .light-mode .mfp-bg { opacity: 1 }

  .light-mode main .card-pager > input,
  .light-mode main .clndr-grid .days .day, 
  .light-mode main .clndr-grid .days .empty,
  .light-mode main .form-control { border: 1px solid rgb(176, 176, 176) }

  .light-mode body main,  
  .light-mode .footer a,
  .light-mode main a, 
  .light-mode main a:focus,
  .light-mode main .category-aside .tab-title a.collapsed,
  .light-mode main .btn-icon,
  .light-mode main .display-tab > .nav-item .nav-link, 
  .light-mode main .display-tab .nav-item .nav-link,
  .light-mode main .text-danger,
  .light-mode main form .form-error,
  .light-mode main .clndr-grid .days-of-the-week .header-day,
  .light-mode main .section-news-social .news-caption>strong,
  .light-mode main .section-news-social .news-caption,
  .light-mode main .section-gallery .gallery-caption-wrap .news-caption { color: rgb(233, 233, 233)!important; }

  .light-mode main .section-tools-realtime .item-list,
  .light-mode main .in-pictures-container,
  .light-mode main .section-news-social .social-content .tab-pane,
  .light-mode main .form-control,
  .light-mode main .modal-transcript,
  .light-mode main .card-pager > input,
  .light-mode main .news-list .news-item:nth-child(even),
  .light-mode main .extra-list .extra-list-inner,
  .light-mode main .extra-list .item-list,
  .light-mode main .section-newsdetail .newsdetail-inner,
  .light-mode main .btn-prev-post,
  .light-mode main .btn-next-post,
  .light-mode main .category-aside .category-aside-body,
  .light-mode main .section-newsdetail .breadcrumb,
  .light-mode main .section-newsdetail .breadcrumb-wrap,
  .light-mode main .section-gallery .photogallery-wrap,
  .light-mode main .section-gallery-timeline .tab-content .tab-pane-inner,
  .light-mode main .news-table,
  .light-mode main .section-rssinfo .rss-list .rss-item,
  .light-mode main .section-search-result .search-result,
  .light-mode main .section-advancedsearch .advancedsearch-wrap,
  .light-mode main .clndr-grid,
  .light-mode main .section-a1news .item-list-a1 { background-color: rgb(30, 30, 30) }

  .light-mode main a:hover,
  .light-mode main .section-title,
  .light-mode main .btn-icon:hover,
  .light-mode main .display-tab > .nav-item .nav-link.active, 
  .light-mode main .display-tab .nav-item .nav-link:hover,
  .light-mode main .category-aside .tab-title a,
  .light-mode main .category-aside .category-aside-body ul a:hover, 
  .light-mode main .category-aside .category-aside-body ul a.active,
  .light-mode main .breadcrumb-item + .breadcrumb-item:before,
  .light-mode main .form-control,
  .light-mode main .card-pager > input,
  .light-mode main .modal-transcript,
  .light-mode main .section-subscription .subscription-title,
  .light-mode main .input-group-addon,
  .light-mode main .breadcrumb,
  .light-mode main .breadcrumb-item.active  { color: rgb(233, 233, 233); }

  .light-mode.mourn-mode .section-gallery .gallery-caption-wrap .news-caption-tilte>strong, 
  .light-mode.mourn-mode .section-gallery .gallery-caption-wrap .news-caption>strong, 
  .light-mode.mourn-mode .news-table.galleries-wrap .galleries-title {
    color: rgb(233, 233, 233)!important;
  }

  .light-mode main .section-subscription .subscription { 
    background-color: rgb(30, 30, 30);
    color: rgb(233, 233, 233)
  }

  .light-mode main .listbox .listbox-header,
  .light-mode main .category-aside .aside-title {
    background-color: #545454;
    color: #fff;
  }

  .light-mode main .swiper-pagination-bullet { background-color: rgb(233, 233, 233) }

  .light-mode main  .news-date { color: rgb(176, 176, 176) }

  .light-mode main .card-pager .card-pager-prev,
  .light-mode main .card-pager .card-pager-next,
  .light-mode main .clndr-grid .days .day, 
  .light-mode main .clndr-grid .days .empty,
  .light-mode main .clndr-controls { background-color: rgb(176, 176, 176); color: rgb(233, 233, 233); }

  .light-mode main .section-newsdetail .newsdetail-content a, .light-mode main .section-newsdetail .newsdetail-content .news-speaker {
    color: #cc180e!important;
  }
  .light-mode main .section-newsdetail .newsdetail-content * {
    color: #fff!important;
  }

  .light-mode main .carousel-button-next,
  .light-mode main .carousel-button-prev {
    opacity: .8
  }

  .light-mode main .news-list .news-item .news-summary {
    color: rgb(233, 233, 233)!important; 
  }

  .light-mode main .section-gallery .gallery-caption-wrap .news-caption a,
  .light-mode main .section-gallery .gallery-caption-wrap .news-caption a:hover,
  .light-mode main .section-gallery .gallery-caption-wrap .news-caption a:focus,
  .light-mode main .section-gallery .gallery-caption-wrap .news-caption-tilte a,
  .light-mode main .section-gallery .gallery-caption-wrap .news-caption-tilte a:hover,
  .light-mode main .section-gallery .gallery-caption-wrap .news-caption-tilte a:focus,
  .light-mode main .section-news-social .news-caption a, 
  .light-mode main .section-news-social .news-caption a:hover, 
  .light-mode main .section-news-social .news-caption a:focus,
  .light-mode main .mfp-title > strong,
  .light-mode main .mfp-title a,
  .light-mode main .mfp-title a:hover,
  .light-mode main .mfp-title a:focus,
  .light-mode main .news-list .news-item .news-speaker  {
    color: rgb(233, 233, 233)!important; 
  }
  .light-mode main .section-newsdetail .newsdetail-wrap .news-caption a,
  .light-mode main .section-newsdetail .newsdetail-wrap .news-caption a:hover,
  .light-mode main .section-newsdetail .newsdetail-wrap .news-caption a:focus {
    color: #fff !important;
  }
}

/* Print Setting */
@media print {
  html, body {
    height: auto;
  }
  main {
    min-height: 0;
  }
  .header, .footer, .backtotop, .video-js, .breadcrumb, .fb-like, .fb_iframe_widget, .form-control, .section-banner h1, .carousel-thumbs-container, .btn-prev-post, .btn-next-post, .option-btn-group, .category-aside .news-block-3by2 {
    display:none !important;
  }
  .category-aside {
    max-width: 100% !important;
    -webkit-box-flex: 1 !important;
    -webkit-flex: 1 0 100% !important;
    -ms-flex: 1 0 100% !important;
    flex: 1 0 100% !important;
  }
  .text-ellipsis {
    display: block !important;
  }
  .section-newsdetail .related-list {
    display: flex !important;
  }
  .section-newsdetail .related-list .related-card {
    padding-left: 5px;
    padding-right: 5px;
    -webkit-box-flex: 1;
    -webkit-flex: 1 0 20%;
    -ms-flex: 1 0 20%;
    flex: 1 0 20%;
  }
  .section-newsdetail .related-list .related-card + .related-card {
    border-top: 0px ;
    border-left: 1px solid #000;
  }
  .mb-3, .mt-3, .my-3 {
    margin: 0!important;
  }
  .section-category .section-banner {
    height: 0;
  }
  .news-block.video-icon:before {
    content: none;
    display: none;
  }

  .swiper-slide-active .news-block img.visible-print-block {
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
    height: 100%;
    display: block!important;
    object-fit: contain;
  }
  .category-aside {
    page-break-before: always;
    page-break-after: always;
    /*display: none;*/
  }
  .swiper-wrapper {
    display: block!important;
  }
  .embed-responsive.embed-responsive-16by9 { /* Hide All Video Block */
    display: none!important;
  }
  .swiper-slide,
  .newsdetail-content { /* Photo and para should not break in print */
    page-break-inside: avoid;
  }
}

/* Object-fit */
.object-fit-cover {
  object-fit: cover;
  font-family: 'object-fit: cover;' /* IE FIX */
}
.object-fit-contain {
  object-fit: contain;
  font-family: 'object-fit: contain;' /* IE FIX */
}
.object-fit-cover, .object-fit-contain {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
                                    
/* title text */
.title-text-shadow{
  text-shadow: 2px 2px #333;
}