﻿

body {
    overflow-x: hidden;
}

.article-desc a {
	color: #0066CC;
}

.board-profile-table {
    width:100%;
}

.board-profile-table img {
    min-width: 88px;
}
/*
.mega-menu ul.level3:before {
    border-top: 1px solid #F4364C !important;
}
*/
.milestones .item-container:nth-child(odd) {
    margin: 90px auto auto 0 !important;
}

.milestones .item-container:nth-child(odd):first-child {
    margin: auto auto auto 0 !important;
}

.milestones .item-container:nth-child(even) {
    margin: 90px 0 auto auto !important;
}

.milestones .item-container:nth-child(even):after {
    top: 303px;
}

.milestones .item-container:nth-child(odd):after {
    right: -7px;
    top: 160px;
}

.milestones .item-container:nth-child(even) .item:before {
    top: 300px;
    display: block;
    position: absolute;
    border-color: transparent #D4DCE5 transparent transparent;
    content: ' ';
    width: 0;
    height: 0;
    z-index: -1;
}
.milestones .item-container:nth-child(odd) .item:before {
    right: 14px;
    top: 160px;
    display: block;
    position: absolute;
    border-width: 8px 0px 8px 17px;
    border-color: transparent transparent transparent #D4DCE5;
    content: ' ';
    width: 0;
    height: 0;
    z-index: -1;
}

.milestones .item-container {
    height: 384px !important;  
}

.milestones .item-container .item {
    height: 350px !important;  
}

.milestones .item-container .item img {
    max-height: 230px !important;
    width: auto !important;
}

.milestones .item-container .item .detail-content h3 {
    margin-bottom: 0px !important;
}

.milestones .item-container .item .detail-content-desc {
    display: none;
    position: absolute;
    margin-left: -8px;
    padding: 20px;
    line-height: 2em;
    color: #13426B;
    background: #D4DCE5;
    overflow: hidden;
    z-index: 10;
    width: calc(100% - 30px);
    width: -moz-calc(100% - 30px);
    width: -webkit-calc(100% - 30px);
}

.milestones .item-container .item.active .detail-content-desc {
    color: #fff;
    background: #13426B;
}

@media (max-width: 768px) {
	.milestones .item-container:nth-child(even) .item:before {
		right: 14px;
		top: 300px;
		display: block;
		position: absolute;
		border-width: 8px 0px 8px 17px;
		border-color: transparent transparent transparent #D4DCE5;
		content: ' ';
		width: 0;
		height: 0;
		z-index: -1;
	}
}

.font-reset, .main-container, .main-container input,
.main-container textarea,
.main-container select,
.main-container button {
    font-family: FSElliot, Arial, "Heiti TC", "Heiti SC", JhengHeiFix, "微軟正黑體", "微软雅黑", "Microsoft JhengHei", "Microsoft YaHei", sans-serif !important;
}


/* captcha class */
.HKEXCaptcha {
    background-color: transparent !important;
    margin: 3px 0px;
}

/* ul bullet class */
.MTBullet {
    text-indent: 1em !important;
}

    .MTBullet li {
        margin-left: 15px;
        text-indent: 0px;
        padding-left: 5px;
    }

.stock-info-container .info.upcoming .title {
    font-Weight: bold;
    word-break: normal;
    text-decoration: none !important;
}


/********************/
/* TOP NEWS RELEASE */
/********************/
.latest-release .result-container .item-list {
  position: absolute;
  width: 100%;
  max-height: 320px;
  overflow: hidden;
  top: 90px;
  left: 0;
  padding: 0 30px;
  overflow: hidden;
  background-color: #fff;
  z-index: 10;
  transition: all 0.8s;
  -webkit-transition: all 0.8s; }
.latest-release .result-container .show-more {
  width: 100%;
  height: 60px;
  position: absolute;
  left: 0;
  bottom: 0;
  background: url("../image/fade-out-bg.png");
  background-size: contain;
  z-index: 10;
  cursor: pointer;
  transition: all 0.8s;
  -webkit-transition: all 0.8s; }
.latest-release .result-container .show-more.hide {
    display: none; }
.latest-release .result-container .show-more:before {
    content: ' ';
    width: 100%;
    height: 40px;
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    background: url("../image/arrow-down-red-b.png") no-repeat center; }
.latest-release .result-container:hover .item-list {
  max-height: 600px; }
.latest-release .result-container:hover .show-more {
  height: 0;
  overflow: hidden; }

.latest-release .result-container .news-items {
    margin-bottom: 1.5em !important;
    line-height: 1.5 !important;
}

@media (max-width: 768px) {
    .latest-release .result-container .item-list {
        position: static;
        max-height: none;
        padding: 0;
    }

    .latest-release .result-container:hover .item-list {
        max-height: none;
    }

    .latest-release .result-container .show-more {
        display: none;
    }
}
/************************/
/* END TOP NEWS RELEASE */
/************************/

/* fix sitecore edit mode news releases display problem */
.release-container .scWebEditInput, .latest-release .result-container .scWebEditInput {
    width: 100% !important;
}

.release-container .show-more, .latest-release .result-container .show-more {
    display: none ;
    transition: none !important;
    -webkit-transition: none !important;
}

    .release-container .show-more.show, .latest-release .result-container .show-more.show {
        display: block !important;        
    }

    .release-container .show-more.hide, .latest-release .result-container .show-more.hide {
        display: block !important;
    }

.release-container:hover .item-list, .latest-release .result-container:hover .item-list {
    max-height: 320px !important;  
}

.media-container .media-items h2 {
    text-overflow: initial !important;
    white-space: normal !important;
}

/* lastest release for mobile view */
@media (max-width: 768px) {
	.release-container:hover .item-list, .latest-release .result-container:hover .item-list {
		max-height: inherit !important;  
	}
	
	.release-container .show-more.show, .latest-release .result-container .show-more.show {
        display: none !important;
    }
}

.release-container:hover .show-more, .latest-release .result-container:hover .show-more {
    height: 60px !important;
}

.release-container .item-list.show, .latest-release .result-container .item-list.show {
    /*max-height: 600px;*/
    max-height: none !important;   
}

.release-container:hover .item-list.show + .show-more, .latest-release .result-container:hover .item-list.show + .show-more {
    height: 0 !important;
    overflow: hidden !important;  
}

/* set underline when there is any link */
.big-photo a {
    text-decoration: underline !important;
}

/* set ul margin to fix the display issue */
.link-list ul {
    margin-left: 25px !important;
}

select::-ms-expand {
    display: none;
}


.session-index ul li a.title {
    height: 1.2em !important;
}


.detail.tickerSpeed1 {
    -webkit-animation-duration: 100s !important; 
    animation-duration: 100s !important;
}

.detail.tickerSpeed2 {
    -webkit-animation-duration: 80s !important; 
    animation-duration: 80s !important;
}

.detail.tickerSpeed3 {
    -webkit-animation-duration: 60s !important; 
    animation-duration: 60s !important;
}

.detail.tickerSpeed4 {
    -webkit-animation-duration: 40s !important; 
    animation-duration: 40s !important;
}

.detail.tickerSpeed5 {
    -webkit-animation-duration: 20s !important; 
    animation-duration: 20s !important;
}
/* set to div to fix the display issue
.session-index ul li div.description {
        height: 6.4em;
        display: block;
        margin: 1em 0;
        color: #13426b;
        font-size: 1em;
        line-height: 1.6em;
        overflow: hidden;
    }
 */
/* set to div to fix the display issue 
.session-index ul li.active div.description {
        color: #fff;
    }
*/

/* fix banner stories video responsive issue */
.article-img {
    /*height: 63% !important;*/
    text-align: center !important;
}

.article-img.video {
    background-color: black !important;
    line-height: 0 !important;
    /*height: auto !important;*/
    /*min-height: 67% !important;*/	
		
	display: flex;
	/*justify-content: center;
	align-items: center;*/
}

#pg-content .banner img, #pg-content .img-scale {
    margin: 0;
}

#pg-content #act ul li, #pg-content #find .f-link-pos ul li {
    background: none;
}

@media (max-width: 768px) {
	.article-img.video {
        background-color: black !important;
        line-height: 0 !important;
        height: auto !important;
		display: table-cell;
    }
}

.home-article {
    min-height: 50px;
}

.inside-content .home-article {
    /*height: 345px !important;*/
    border: 1px solid #ccc;
    margin-left: 0 !important;
    margin-right: 1%;
}

.inside-content .home-article:nth-child(3n+3) {
    clear: none !important;

}


/*.inside-content .article-img {
    height: 55% !important;
}*/

.article-desc {
    height: 100% !important;
}

.inside-content .home-article {
    height: initial !important;
}

.inside-content .article-desc p {
    margin-top: 0px !important; }

.inside-content .article-desc {
    padding-top: 5px !important;
}

.inside-content .article-desc h4 {
    height: 55px !important; 
}

.article-desc ul li {
    text-indent: 20px;
    list-style: none;
    margin: 5px 0;
    padding-left: 5px;
    background: url("../image/arrow-right-blue.png") no-repeat left 2px;
}

.article-desc ol li {
    text-indent: 15px;
    margin-left: 12px;
}

.articleImgShow, .video-player {
    width: 100% !important;
}

.video-player {
    fit-position: fill !important;
}


.component:after {
    clear: none !important;
}

.four-cornerstones .item .item-detail .item-content-desc {
    max-height: 9em;
    margin: 0 5% 5%;
    line-height: 1.5em;
    overflow: hidden;
}

/* set margin space in between header site link */
.header-menu ul li.link {
    margin-left: 25px !important;
}

.highlight-item h4 {
    text-align: center;
}

.header-search {
    width: 343px !important;
}

    .header-search input[type="text"] {
        width: 300px !important;
    }


.stock-graph .stock-container .graph .historyGraphImg {
    height: 330px;
    background-size: inherit;
    background-repeat: no-repeat;
    background-position: top center;
}

.session-img, .media-img {
    height: 180px !important;
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100% !important;
    background-color: rgb(0, 65, 106) !important;
}

.link-list .link-wrapper .link {
    padding-top: 20px;
    padding-bottom: 20px;
}

.link-list ul li .pdf:before, .result-container .news-items div.description .pdf:before {
    content: " ";
    background: url("../image/search-result-pdf.png") no-repeat;
    padding: 5px 32px 5px 0;
}

.link-list ul li .ppt:before, .result-container .news-items div.description .ppt:before {
    content: " ";
    background: url("../image/search-result-ppt.png") no-repeat;
    padding: 5px 32px 5px 0;
}

.link-list ul li .doc:before, .result-container .news-items div.description .doc:before {
    content: " ";
    background: url("../image/search-result-doc.png") no-repeat;
    padding: 5px 32px 5px 0;
}

.link-list ul li .xls:before, .result-container .news-items div.description .xls:before {
    content: " ";
    background: url("../image/search-result-xls.png") no-repeat;
    padding: 5px 32px 5px 0;
}

.expandable-list-container ul li h2 {
    /*color: #f4364c !important;*/
    color: #13426B !important;
    background-color: #d1dde6 !important;
}

    .expandable-list-container ul li h2 span {
        /*font-size: 2.25em !important;*/
        font-size: 1.425em !important;
        font-weight: bold !important;
        padding-left: 5px !important;
    }

    .expandable-list-container ul li h2.expand-item:after {
        padding-right: 5px !important;
    }

    .expandable-list-container ul li h2 span.num {
      width: 0 !important;
    }

  .expandable-list-container ul li div {
    margin: 0 20px 24px 0 !important; 
  }


  #loading {
   width: 100%;
   height: 100%;
   top: 0px;
   left: 0px;
   position: fixed;
   display: block;
   opacity: 0.7;
   background-color: #fff;
   z-index: 99;
   text-align: center;
}

#loading-content {
  position: absolute;
  top: 50%;
  left: 50%;
  text-align: center;
  z-index: 100;
}

#loading.hide{
  display: none;
}

/**** File link icon for Financial List and News Release ****/
.release-item a, .news-items a {
    display:inline-block;
}

/*
.release-item a:before, .news-items a:before {
    padding: 5px 32px 5px 0;
    content: ' ';
}
    */
    .release-item .no-icon, .news-items .no-icon, ul li .no-icon {
        margin-left: 32px;
    }

.release-item .pdf:before, .news-items .pdf:before {
    content: ' ';
    background: url("../image/search-result-pdf.png") no-repeat;
    padding: 5px 32px 5px 0;
}

.release-item .ppt:before, .news-items .ppt:before {
    content: " ";
    background: url("../image/search-result-ppt.png") no-repeat;
    padding: 5px 32px 5px 0;
}

.release-item .doc:before, .news-items .doc:before {
    content: " ";
    background: url("../image/search-result-doc.png") no-repeat;
    padding: 5px 32px 5px 0;
}

.release-item .xls:before, .news-items .xls:before {
    content: " ";
    background: url("../image/search-result-xls.png") no-repeat;
    padding: 5px 32px 5px 0;
}

.release-item .date {
    width: 16%;
    min-width: 160px;
    text-wrap: none;
    word-wrap: normal;
    word-break: keep-all;
}

.release-item a.text {
    width: 77% !important;
}

.release-item div.text {
    display: inline-block;
    width: 77%;
    color: #000; }

div.tableStyle {
    display: table;
}

    div.tableStyle div.tableRowStyle {
        display: table-row;
    }

        div.tableStyle div.tableRowStyle div.tableCellStyle {
            display: table-cell;
            vertical-align: top;
            min-width:37px;
        }
/**** end File link icon for Financial List and News Release ****/

.divWaiting {
    position: absolute;
    z-index: 2147483647 !important;
    opacity: 0.8;
    overflow: hidden;
    text-align: center;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.profile-slider .slider-container .item-container .slider-wrapper .item .description {
    word-wrap: normal !important;
}


/*******************************/
/*   BANNER STORIES SECTION    */
/*******************************/
/* set first child margin to zero */
.home-article:first-child {
    margin-left: 0px !important;
}

/* fix sitecore edit mode banner stories margin issue */
.contentEditor.editFrame .home-article {
    margin-right: 1% !important;
    width: 100% !important;
}

.contentEditor.editFrame:first-child {
    margin-top: 24px;
}

.contentEditor.editFrame {
    position: relative;
    float: left;
    width: 32%;
    height: 414px;
    margin-bottom: 24px;
    overflow: hidden;
}

.contentEditor.editFrame:nth-child(3n+3) {
    clear: left;
    margin-left: 0;
}

/* for inside page */
@media (max-width: 500px) {
	.inside-content .home-article .article-desc .text-container {
		font-size: 0.8em !important;
		line-height: 12px !important;
	}
}

/***************************/
/*PAGE BANNER SLIDE SECTION*/
/***************************/
/* update home banner background color */
.home-banner {
    background-color: transparent !important;
}


/* fix the inner page image scale and set position to center */
.banner-text div {
    margin: 12px 0;
    line-height: 1.4;
    height: 76px;
    overflow: hidden;
}


.home-content p, .inside-content p {
    /*white-space: pre-wrap;*/
    /*word-wrap: break-word;*/
}

.inside-content .home-banner {
    margin-top: 20px;
}

    .inside-content .home-banner:first-child {
        margin-top: 0px;
    }

    .inside-content .home-banner .banner-container {
        max-width: 1140px;
    }


/*
.inside-content .banner-slide {
    background-size: contain !important; 
    background-position: center center !important;
}
*/
/* hide inside page banner slide circle */
.inside-content .banner-text-container:before {
    display: none !important;
}

.inside-content .banner-text-container .banner-text h3 {
    height: 100% !important;
}

.inside-content .banner-text-container .banner-text div {
    margin: 12px 0;
    line-height: 1.4;
    height: 100% !important;
    overflow: hidden;
    text-align: left;
}

.inside-content .lv_zero.banner-text-container .banner-text {
    background-color: rgba(0, 65, 106, 0);
}

.inside-content .lv_one.banner-text-container .banner-text {
    background-color: rgba(0, 65, 106, 0.2);
}

.inside-content .lv_two.banner-text-container .banner-text {
    background-color: rgba(0, 65, 106, 0.4);
}

.inside-content .lv_three.banner-text-container .banner-text {
    background-color: rgba(0, 65, 106, 0.6);
}

.inside-content .lv_four.banner-text-container .banner-text {
    background-color: rgba(0, 65, 106, 0.8);
}

.inside-content .lv_five.banner-text-container .banner-text {
    background-color: rgba(0, 65, 106, 1.0);
}

.inside-content .banner-text-container .banner-text {
    padding: 1px 5px 3px 5px;
    margin-top: 40px !important;
    width: 400px !important;
}

/* set height in edit mode to display all the banner slide */
.contentEditor.home-banner {
    height: auto !important;
    background-color: transparent !important;
    padding-top: 0 !important;
}

    /* hide banner navigation button in edit mode */
    .contentEditor.home-banner .banner-nav {
        display: none !important;
    }

    .contentEditor.home-banner .banner-container {
        height: auto !important;
        position: relative !important;
    }

/* display all the banner slide with margin space in edit mode */
.contentEditor .banner-slide {
    position: relative !important;
    display: block !important;
    height: 516px !important;
    margin-bottom: 2% !important;
}

/* set inside content banner size */
.inside-content .contentEditor .banner-slide {
    height: 276px !important;
}

/* fix stock price image and label display in normal screen size */
.stock-price .price-label img {
    display: inline-block !important;
    margin: 2px 0 2px 8px !important;
}

.stock-price .right-container {
    float: none !important;
    display: inline-block;
    text-align: left !important; 
    margin-left: 20px;
    vertical-align: bottom;
}



/*Home page Banner*/
.lv_zero.banner-text-container:before {
    opacity: 0;
}

.lv_one.banner-text-container:before {
    opacity: 0.2;
}

.lv_two.banner-text-container:before {
    opacity: 0.4;
}

.lv_three.banner-text-container:before {
    opacity: 0.6;
}

.lv_four.banner-text-container:before {
    opacity: 0.8;
}

.lv_five.banner-text-container:before {
    opacity: 1;
}

.milestones {
    display: inline-block !important;
}


.banner-text-container.no-content {
  display:none;
}

.banner-text-container.button-only {
  height: 100px !important; 
}

/*
.banner-text-container.button-only a.button, .banner-text-container.button-only a.grey-button {
    bottom: -100px !important;
}
*/
.banner-nav ul {
    top: auto !important;
    bottom: -10px !important;
}


.session-index ul li a.title {
    word-break: normal !important;
    height: 50px !important;
    /*overflow: inherit !important;*/
}

/********************************/
/* Index Grandchild With Images */
/********************************/
/* To reset default css value */
.session-index ul li div.description {
    height: inherit;
}

/*********************/
/* BIG PHOTO SECTION */
/*********************/
/* fix text to middle and overlay whole image */
.big-photo {
    display: table;
    width: 100%;
    padding: 0px !important;
}

/* set big photo overlay */
.big-photo_overlayer {
    display: table-cell;
    vertical-align: middle;
    height: auto !important;
    width: 100%;
    padding: 2% !important;
}

    .big-photo_overlayer.active {
        background-color: rgba(0, 65, 106, 0.8);
    }

/* fix h3 height which cause the v-align problem */
.big-photo h3 {
    height: auto !important;
    margin-bottom: 1% !important;
}

.big-photo p {
    margin-bottom: 1% !important;
}

/* set big photo button */
.big-photo .relatedLinkButton {
    text-decoration: none !important;
    display: inline-block !important;
    position: relative !important;
    padding: 12px 36px 12px 18px !important;
    border: 1px solid #fff !important;
    border-radius: 30px !important;
    background: url("../image/arrow-right-white1.png") no-repeat 90% center !important;
    transition: all 0.5s !important;
    -webkit-transition: all 0.5s !important;
}

    .big-photo .relatedLinkButton:hover {
        text-decoration: none !important;
        background-color: rgba(255, 255, 255, 0.2) !important;
    }

/*************/
/* Rich Text */
/*************/
.open-text ul li {
    text-indent: 0px;
    list-style: none;
    margin: 18px 0 0 25px;
    padding-left: 24px;
    background: url("../image/arrow-right-blue.png") no-repeat 1px 2px;
    line-height: 1.4;
}

/**********************/
/*edited on 2017-03-01*/
/**********************/
/*.open-text ol {
    margin-left: 13px;
}

    .open-text ol li {
        padding-left: 10px;
        line-height: 1.4;
    }
*/
.open-text ol {
    list-style-position: inside;
    counter-reset: item;
    margin-left: 0;
    padding-left: 0;
}

.open-text ol li {
    line-height: 1.4;
    display: block;
    margin-left: 2em;
}

.open-text ol li::before {
    display: inline-block;
    content: counter(item) ". ";
    counter-increment: item;
    width: 2em;
    margin-left: -2em;
}
/*.open-text li a,
.open-text li a:visited {
    color: #13426b;
}*/


.open-text .MT-rightContainer {
    width: 65%;
    width: -webkit-calc(100% - 180px);
    width: -moz-calc(100% - 180px);
    width: calc(100% - 180px);
    float: left;
}


.open-text {
    color: #000;
    line-height: 1.6;
    margin: 12px 0;
}

    .open-text:after {
        clear: both;
    }

.imageRight {
    float: right;
}

    .imageRight .imageRightCaption {
        text-align: center;
    }

.clearFix {
    clear: both;
}

.expandable-index-list-container ul li {
    position: relative;
    list-style: none;
    line-height: 1.6em;
    border-top: solid 1px #ccc;
    margin-left: 30px;  /*add on 20-8-2016*/
}


    .expandable-index-list-container ul li h2 {
        padding: 12px 20px 12px 0;
        font-size: 1em;
        color: #13426b;
    }

        .expandable-index-list-container ul li h2 span.expand-index-toogle, .expandable-index-list-container ul li h2 a {
            cursor: pointer;
            cursor: hand;
            vertical-align: top;
        }

        .expandable-index-list-container ul li h2 .expand-index-title {
            width: 80%;
            /*margin-left: 20px;*/
            display: inline-block;
        }

        .expandable-index-list-container ul li h2 span.expand-index-toogle {
            font-size: 1.125em;
            font-weight: normal;
            width: 20px;
            color: #F83950;
            display: inline-block;
        }

    .expandable-index-list-container ul li.active h2 span.expand-index-toogle {
        font-size: 1.5em;
        font-size: 1.5em\0;
        font-weight: bold;
    }

    .expandable-index-list-container div.grandchild {
        display: none;
    }

    .expandable-index-list-container ul li p {
        margin: 12px 0;
    }

    .expandable-index-list-container ul li ul li {
        margin: 12px 0 12px 10px;
        border: none;
        margin-left: 70px !important;
        background: url("../image/arrow-right-blue.png") no-repeat left 3px;
    }

        .expandable-index-list-container ul li ul li:last-child {
            border-bottom: none;
        }

    .expandable-index-list-container ul li:last-child {
        border-bottom: solid 1px #ccc;
    }

.expandable-index-list-container a {
    color: #13426b !important;
}

.expandable-index-list-container ul li ul li a.pdf, .expandable-index-list-container ul li ul li a.ppt, .expandable-index-list-container ul li ul li a.doc, .expandable-index-list-container ul li ul li a.xls, .expandable-index-list-container ul li ul li a.no-icon {
    padding-left:20px;
}

/*
    .expandable-index-list-container a:before {
        content: " ";
        padding: 5px 32px 5px 0;
    }


  .expandable-index-list-container ul li ul li a {
    margin-left: 20px !important;
   }
*/

/*
.expandable-index-list-container ul li a.pdf:before {
    content: " ";
    background: url("../image/search-result-pdf.png") no-repeat;
    padding: 5px 32px 5px 0; 
    margin-left: 30px;
}
   

.expandable-index-list-container ul li .ppt:after {
    content: " ";
    background: url("../image/search-result-ppt.png") no-repeat;
    padding: 5px 32px 5px 0;
    margin-left: 10px;
}

.expandable-index-list-container ul li .doc:after {
    content: " ";
    background: url("../image/search-result-doc.png") no-repeat;
    padding: 5px 32px 5px 0;
    margin-left: 10px;
}

.expandable-index-list-container ul li .xls:after {
    content: " ";
    background: url("../image/search-result-xls.png") no-repeat;
    padding: 5px 32px 5px 0;
    margin-left: 10px;
}
*/


.expandable-index-list-container ul li a {
    display:inline-block;
}

.stock-info-container .info + .info {
    border-left: none !important;
}

.sitemap ul li .pdf:before, .sitemap ul li .ppt:before, .sitemap ul li .doc:before, .sitemap ul li .xls:before {
    content: '' !important;
    background: none;
    padding: 0;
}

.form-container .form .blueButton {
    color: #10609E;
}


/***************/
/* Image Album */
/***************/
.media-play-container .thumb-list .thumb-items .thumb-img {
    height: 150px;
    border: 1px solid #ccc;
}

    .media-play-container .thumb-list .thumb-items .thumb-img img {
        max-height: 150px;
        height: 100%;
        width:auto !important;
    }

/****************/
/* News Release */
/****************/
.result-container .news-items {
    margin-top: 1.25em !important;
}

    .result-container .news-items div.date {
        display: inline-block;
        width: 160px !important;
        line-height: 1.5em !important;
        vertical-align: top;
        margin: 0 !important;
        margin-right: 20px;
        color: #13426b;
        text-wrap: none !important;
        word-break: keep-all !important;
        white-space: nowrap;
    }

    .result-container .news-items div.description {
        /*margin: 12px 0;*/
        margin: 0 !important;
        color: #000;
        line-height: 1em;
        display: inline-block;
        width: 72% !important;
        vertical-align: top;
        /*padding-left: 20px;*/
    }

    
    .result-container .news-items div.description a {
        color: #000;
        display: inline-block;
        line-height: 1.5em;
    }
    /*
    .result-container .news-items div.description a:first-child {
        margin-left: 30px !important;
    }

        .result-container .news-items div.description a:first-child:before {
            content: ' ';
            margin-right: 33px;
        }

        .result-container .news-items div.description .pdf:before, .result-container .news-items div.description .ppt:before, .result-container .news-items div.description .doc:before, .result-container .news-items div.description .xls:before, .result-container .NewsFix .news-items div.description a:first-child:before {
            margin-right: 0px !important;
        }
*/

.form-container .form input.search {
    padding: 11px 15px 11px 15px;
    font-size: 1em;
    border: solid 1px #ccc;
}
/* processing icon */
.newsProcessing {
    position: absolute;
    top: 30em;
    left: 50%;
}

/**************************************/
/* Text Size controller in upper menu */
/**************************************/
.header-menu .fontsize a:hover {
    background-image: url("../image/header-fontsize-hover.png");
}

.header-menu a.fontsize-s {
    background-position: 0 center !important;
}

.header-menu a.fontsize-m {
    background-position: -20px center !important;
}

.header-menu a.fontsize-l {
    background-position: -40px center !important;
}

/* following 3 items new add which highlighted selected font size */
.header-menu .fontsize a.fontsize-s.active {
    float: left;
    width: 20px;
    background: url("../image/header-fontsize-click-s.png") no-repeat;
}

.header-menu .fontsize a.fontsize-m.active {
    float: left;
    width: 20px;
    background: url("../image/header-fontsize-click-m.png") no-repeat;
}

.header-menu .fontsize a.fontsize-l.active {
    float: left;
    width: 20px;
    background: url("../image/header-fontsize-click-l.png") no-repeat;
}


/**************************/
/* Historical Price Graph */
/**************************/
.stock-graph .stock-container .line-closing-price {
    border-color: #FB3C50;
}

.stock-graph .stock-container .line-HKEX-index {
    border-color: #FF8000;
}

.stock-graph .stock-container .line-five-day-average {
    border-color: #66CC33;
}

.stock-graph .stock-container .line-ten-day-average {
    border-color: #0A4168;
}

.stock-graph .stock-container .line-suspended {
    border-color: #999999;
}
/* processing icon */
.historial-graph-processing {
    position: absolute;
    top: 50%;
    left: 50%;
}

.stock-info-container {
    display: table;
    margin: 24px auto; /* 24px = .component margin */
    border-collapse: separate;
}

.stock-info-container .info {
    width: 33.3% !important; /* overwrite width in Other.css */
}

.stock-info-container .changes img {
    display: inline-block;
    margin: 2px 0 2px 8px; }

/*****************************/
/* Navigation Drop Down Menu */
/*****************************/
.component .navigation-menu select {
    width: auto;
    padding: 11px 55px 11px 15px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-size: 1em;
    color: #000;
    border: solid 1px #ccc;
    background: #fff url("../image/select-arrow-down-red.png") top right no-repeat;
    background-size: contain;
}

.table-container .altRow tr:nth-child(odd) {
    color: #000;
    background: #fff !important;
}

.table-container .altRow tr:nth-child(even) {
    color: #13426b;
    background: #D4DCE5;
}

h1.spanHeading {
    font-size: 2em;
    color: #13426B;
}

h2.spanHeading {
    font-size: 1.5em;
    color: #13426B;
}

h3.spanHeading {
    font-size: 1.17em;
    color: #13426B;
}

h4.spanHeading {
    font-size: 1em;
    color: #13426B;
}

.stock-info-container .info .changes .green {
    color: #32CD32 !important;
}

.stock-info-container .info .changes .red {
    color: #F4364C !important;
}

.media-play-container .thumb-list .thumb-items .description {
    height: auto;
}
.media-play-container .thumb-list .thumb-items .description p {
    height: auto;
    min-height: 100%;
}

.home-article .article-desc .text-container .article-title:hover {
    color: #F4364C;
}
.home-article .article-desc .text-container h4 {
    color: #F4364C !important;
    font-weight: bold !important; 
}

.banner-slide {
    background-position: top !important;
}

@media(max-width: 450px) {
	.home-article .article-desc .text-container h4 {
		font-size: 1.1em !important;
	}
}
@media (max-width: 360px) {
	.home-article .article-desc .text-container h4 {
		font-size: 1em !important;
	}
}

@media (min-width: 1440px) {
  .inside-content .banner-container {
    height: 365px !important;
   } 

  .inside-content .banner-slide {
        width: 100% !important;
        height: 100% !important;
        background-repeat: no-repeat !important;
        background-position: 70% top !important;
        background-size: cover !important;
    }
}

@media (max-width: 1043px) {
    /* fix the inner page image scale and set position to center */
    .inside-content .banner-slide {
        width: 100% !important;
        height: 100% !important;
        background-repeat: no-repeat !important;
        background-position: 70% top !important;
        background-size: cover !important;
    }


    /*.article-img {
        height: 200px !important;
    }*/

    /*.inside-content .home-article {
        height: 280px !important;
    }*/

    /*.inside-content .article-img {
        height: 134px !important;
    }*/

    .inside-content .article-desc h4 {
        font-size: 1.12em !important;
    }

    .stock-graph .stock-container .graph .historyGraphImg {
        background-size: contain;
    }

    .open-text .MT-rightContainer {
        width: 100% !important;
    }

    .mega-menu ul li.current li.currentPage a:only-child {
        background-color: #F83950 !important;
     }
    /*
    .result-container .news-items div.description {
        padding-left: 0;
    }

    .release-item .no-icon {
        margin-left: 0;
    }
    */
}

@media (max-width: 1043px) and (orientation: landscape) {
    .stock-graph .stock-container .graph .historyGraphImg {
        background-size: cover;
        height: 300px;
    }

    .open-text .MT-rightContainer {
        width: 65% !important;
        width: -webkit-calc(100% - 180px) !important;
        width: -moz-calc(100% - 180px) !important;
        width: calc(100% - 180px) !important;
    }
    /*
    .result-container .news-items div.description a:first-child:before {
        margin-right: 33px;      
    }

    .result-container .news-items div.description {
        padding-left: 20px;
    }

    .release-item .no-icon {
        margin-left: 32px;
    }
    */
}

@media (max-width: 768px) {
    .home-banner {
        background-color: #13426b !important;
    }

    /* update banner text container to transparent */
    .banner-text-container {
        background-color: transparent !important;
    }

    .banner-text-container.button-only a.button, .banner-text-container.button-only a.grey-button {
        bottom: 80px !important;
    }

    /* fix the inner page image scale and set position to center */
    .inside-content .banner-slide {
        background-size: contain !important;
        background-position: center top !important;
    }

    .banner-nav ul {
        display: none;
    }

    .banner-nav .nav-btn, .banner-nav .prev, .banner-nav .next {
        top: 125px !important; 
    }

    /*photo overlay back to background */
    .big-photo_overlayer {
        background-color: rgb(0, 65, 106) !important;
    }

    .article-desc {
        height: 100% !important;
    }

    .session-img, .media-img {
        background-size: auto;
        background-color: rgb(0, 65, 106);
		background-size: contain;
        background-position: center center;
        background-repeat: no-repeat;
    }

    .inside-content .home-article {
        height: auto !important;
    }

    .inside-content .article-img, .article-img {
        height: auto !important;
    }

    .articleImgShow, .video-player {
        width: 100% !important;
        height: auto !important;
        border: none !important;
    }

    .stock-graph .stock-container .graph .historyGraphImg {
        background-size: contain;
    }

    .open-text .MT-rightContainer {
        width: 100% !important;
    }
    
	.table-container table td {
		min-width: 50px;
	}

    /** Historical Graph **/
    .stock-info-container {
        display: inline;
    }
    .stock-info-container .info {
        width: 100% !important;
        display: block;
    }    


    .stock-info-container .info + .info {
        border-top: none !important;
        /*border-left: 0;*/
    }        

    .session-header h1 {
        background-color: #F4364C !important;
    }

    .stock-price .right-container {
        margin-left: 0;
    }
    /*
    .result-container .news-items div.description a:first-child:before, .result-container .news-items div.description {
        margin-right: 0;
        padding-left: 0;
    }

    .release-item .no-icon {
        margin-left: 0;
    }
    */

    .innercontent {
        overflow: auto;
    }

    /* for banner stories */
    /*article-desc .text-container ul, .article-desc .text-container div {
        display: none;
    }*/
    .other-sites ul li {
		width: 100%;
		height: 300px;
		padding-top: 0;
		float: none;
		background-size: contain;
		background-position: center;
	}

    .media-play-container .thumb-list .thumb-items .description p {
        height: inherit;
        min-height: 0;
        max-height:120px;
        overflow: inherit;
    }

    .media-play-container .thumb-list .thumb-items .thumb-img, .media-play-container .thumb-list .thumb-items .description {
        max-height: 150px !important;
        height: 150px !important;
        overflow: auto !important;
    }

    .milestones .item-container {
        height: auto !important;
    }

    .milestones .item-container .item { 
        height: auto !important;
    }

    .milestones .item-container .item img {
        max-height: none !important;
    }

    .milestones .item-container .item .detail-content h3 {
        height: auto !important;
        margin-bottom: 12px !important;
    }
}

@media (max-width: 500px) {
    .banner-nav .nav-btn, .banner-nav .prev, .banner-nav .next {
        top: 70px !important; 
    }

    .inside-content .banner-nav .nav-btn, .inside-content .banner-nav .prev, .inside-content .banner-nav .next {
        top: 125px !important; 
    }
}

@media (max-width: 400px) {
    .banner-nav .nav-btn, .banner-nav .prev, .banner-nav .next {
        top: 60px !important; 
    }

    .inside-content .banner-nav .nav-btn, .inside-content .banner-nav .prev, .inside-content .banner-nav .next {
        top: 115px !important; 
    }

    .header-search {
        width: 100% !important;
    }

    .header-search input[type="text"] {
        width: 100% !important;
    }
}

.table-container .blue, .table-container .blue p, .table-container .blue span, .table-container .blue div {
    color: white !important;
}

/* fix ie border error */
.table-container {
    padding:1px;
}


.table-container .borderTable td, .table-container .borderTable th {
    border: solid 1px #ccc;
}

/* SaFari's hank .banner-text-container
@media screen and (min-color-index:0) and (-webkit-min-device-pixel-ratio:0) {
    @media {
        .banner-text-container::before {
            top: 0px !important;
        }

        .banner-text-container {
            margin-top: -212px !important;
        }

        .banner-text {
            top: 20% !important;
        }

        .banner-nav ul {
            top: calc(50% + 150px) !important;
        }
    }
}

@media screen and (max-width: 768px) and (min-color-index:0) and (-webkit-min-device-pixel-ratio:0) {
    @media {
        .banner-nav ul {
            top: auto !important;
        }

       
        .banner-text-container {
            margin-top: 0px !important;
        }
    }
}*/

/* IE10+'s hank .banner-text-container */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .banner-nav .container {
        position: static;
    }
}

/*
@media (max-width: 1044px) {

    .banner-nav ul {
        top: auto !important;
        bottom: -10px !important;
    }
}
*/
/* Not to adjust font size in Apple Safari */
@media screen and (max-device-width: 768px){
  body{
    -webkit-text-size-adjust: none;
  }
}

/*
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {


    .banner-nav ul {
        top: -10px;
        transform: translateY(-100%);
    }
}


@media screen and (max-width: 1044px) and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .banner-nav ul {
        top: calc(50% - 40px);
    }
}
    */

@media print {
    /*@page {
        size: landscape;
        -webkit-transform: rotate(-90deg);
        -moz-transform:rotate(-90deg);
        filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
    }*/
	.table-container { 
        display: table-row-group !important;
    }

    body, table, div, p {
        overflow: visible !important;
        display: block !important;
        width: 100% !important;
        clear: both !important;
        white-space: normal !important;
        height: 100% !important;
        word-spacing: normal !important;
    }

    .header .logo {
        overflow: hidden !important; 
    }
}

.sc-breadcrumb-item-path {
	box-sizing: initial;
}