﻿.hkex_cards_column {
    box-sizing: border-box;
    max-width: 1300px;
    margin: 40px auto;
    width: calc(100% - 40px);
}

.hkex_cards_column * {
    font-family: "Fselliotpro", "Microsoft JhengHei", 微軟正黑體, 微軟雅黑體,
        "黑体", "Arial", sans-serif;
}
@media screen and (max-width: 1024px) {
    .hkex_cards_column {
        max-width: 600px;
        width: calc(100% - 40px);
    }
}
.hkex_card {
    position: relative;
    box-sizing: border-box;
    color: #10416c;
    background: #ffffff !important;
    /*border: 1px solid #dae2e9;*/
    padding: 15px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 2px;
}
.hkex_card * {
    box-sizing: border-box;
}
.hkex_card img:not(.retweet):not(.heart-like),
.hkex_card video {
    display: block;
    width: 100%;
}
a.hkex_card,
.hkex_card a {
    text-decoration: none;
}
a.hkex_card {
	color: #10416c;
}
.hkex_card a {
    color: inherit;
}
.column_item a,
.column_item .hkex_card__more {
    text-decoration-line: none !important;
}
a.hkex_card:hover,
.hkex_card a:hover {
	color: #e62742;
    text-decoration: underline;
}
.hkex_card--red {
    color: #ffffff !important;
    background: #e72e41 !important;
}
.hkex_card--navy {
    color: #ffffff !important;
    background: #10416c !important;
}
.hkex_card--light_grey {
    color: #10416c !important;
    background: #dddddd !important;
}
a.hkex_card--red:hover,
a.hkex_card--navy:hover,
.hkex_card--red a:hover,
.hkex_card--navy a:hover,
a.hkex_card--red:focus,
a.hkex_card--navy:focus,
.hkex_card--red a:focus,
.hkex_card--navy a:focus {
    color: hsla(0, 0%, 100%, 0.7) !important;
}

.hkex_card__content {
    z-index: 1;
    position: relative;
    padding: 100px 15px 15px; /*24px 15px 15px;*/
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
.hkex_card__date {
    font-size: 13px;
    line-height: 1.5em;
    font-weight: normal;
    padding: 0px;
    margin: 0px 0px 4px;
}
.hkex_card__title {
    font-size: 20px;
    line-height: 1.2em;
    margin: 0 0 12px;
    font-weight: bold;
    padding: 0px;
}
.hkex_card__more {
    font-size: 14px;
    font-weight: bold;
}
.hkex_card__more:hover {
    text-decoration: underline;
}
.hkex_card__more:after {
    content: "";
    display: inline-block;
    vertical-align: middle;
    width: 0.375em;
    height: 0.375em;
    border-top: 0.125em solid #e62742;
    border-right: 0.125em solid #e62742;
    transform: rotate(45deg);
    margin-left: 8px;
}
.hkex_card__desc {
    flex-grow: 1;
    overflow: hidden;
    margin-bottom: 16px;
}
.hkex_card__desc:last-child {
    margin-bottom: 0;
}
.hkex_card--tiny {
    height: 250px;
}
.hkex_card--mini {
    height: 300px;
}
.hkex_card--xSmall {
    height: 350px;
}
.hkex_card--small {
    height: 400px;
}
.hkex_card--medium {
    height: 450px;
}
.hkex_card--large {
    height: 560px;
}

.swiper-slide .hkex_card__desc {
	overflow: auto;
}

.hkex_card--tiny .swiper-slide .hkex_card__desc {
	max-height: 80px;
}
.hkex_card--mini .swiper-slide .hkex_card__desc {
	max-height: 130px;
}
.hkex_card--xSmall .swiper-slide .hkex_card__desc {
	max-height: 180px;
}
.hkex_card--small .swiper-slide .hkex_card__desc {
	max-height: 230px;
}
.hkex_card--medium .swiper-slide .hkex_card__desc {
	max-height: 280px;
}
.hkex_card--large .swiper-slide .hkex_card__desc {
	max-height: 390px;
}

.hkex_card--red .hkex_card__more:after,
.hkex_card--navy .hkex_card__more:after {
    border-top: 0.125em solid #fff;
    border-right: 0.125em solid #fff;
}
.hkex_card .filetype {
    display: inline-block;
    padding: 0 5px 0;
    vertical-align: middle;
    font-size: 0.7em;
    border-radius: 4px;
    color: #fff;
    background: #000;
	margin-left: 4px;
    margin-right: 4px;
    line-height: 1.4;
}

.hkex_card .filetype--pdf--hollow {
    border: 1px solid #e62742;
    color: #e62742;
    background: none;
}
.hkex_card .filetype--doc--hollow {
    border: 1px solid #274de6;
    color: #274de6;
    background: none;
}
.hkex_card .filetype--ppt--hollow {
    border: 1px solid #e4790d;
    color: #e4790d;
    background: none;
}
.hkex_card .filetype--zip--hollow {
    border: 1px solid #832283;
    color: #832283;
    background: none;
}
.hkex_card .filetype--xls--hollow {
    border: 1px solid #12a741;
    color: #12a741;
    background: none;
}
.hkex_card .filetype--txt--hollow {
    border: 1px solid #999999;
    color: #999999;
    background: none;
}

.hkex_card--red .filetype,
.hkex_card--navy .filetype {
	border: 1px solid #fff;
	color: #fff;
	background: none;
}

.hkex_card .video_popup {
    position: relative;
}
.hkex_card:not(.hkex_card--live) .video_popup:after{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.25);
    z-index: 1;
    content: "";
    display: block;
}
.hkex_card:not(.hkex_card--live) .video_popup:before {
    content: "";
    display: block;
    position: absolute;
    width: 50px;
    height: 50px;
    top: calc(50% - 25px);
    left: calc(50% - 25px);
    border-radius: 25px;
    background-image: url(../image/play_btn.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    z-index: 2;
    opacity: 0.9;
    transition: ease all 0.3s;
}
.hkex_card .video_popup:hover:before {
    opacity: 1;
}
.hkex_card .video_popup:hover:after {
    background-color: rgba(0, 0, 0, 0);
}
/* ==================================== Image BG card ==================================== */

.hkex_card--image-bg {
    height: 300px;
    align-items: flex-start;
    justify-content: center;
}

.hkex_card--image-bg .hkex_card__title {
    font-size: 30px;
    margin: 0;
}

.hkex_card__bg {
    display: block;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transition: ease all 0.3s;
    z-index: 0;
}
.hkex_card:hover .hkex_card__bg {
    width: 120%;
    height: 120%;
    left: -10%;
    top: -10%;
}
.hkex_card--image-bg .hkex_card__desc {
    flex-grow: 0;
}
/* ==================================== live card ==================================== */

.hkex_card--live--noborder {
    padding: 0;
}

/*.hkex_card--live .hkex_card__title {
    margin: 0;
    padding: 15px 15px 12px;
    font-size: 14px;
}*/
.hkex_card--live .hkex_card__title:before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    width: 28px;
    height: 11px;
    margin-right: 10px;
    margin-bottom: 4px;
    background-image: url(../image/live-video-icon.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
}
/* ==================================== swiper card ==================================== */

.hkex_card__swiper_nav {
    padding: 6px 12px 12px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.hkex_card__calendar_pagination,
.hkex_card__swiper_pagination {
    width: auto;
}

.hkex_card__swiper_prev:after,
.hkex_card__swiper_next:after {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    vertical-align: middle;
    border-top: 2px solid #10416c;
    border-right: 2px solid #10416c;
    cursor: pointer;
    top: -2px;
    position: relative;
    cursor: pointer;
}

.hkex_card__swiper_next:after {
    transform: rotate(45deg);
}
.hkex_card__swiper_prev:after {
    transform: rotate(-135deg);
}
.hkex_card__calendar_pagination,
.hkex_card__swiper_pagination {
    font-size: 0;
    line-height: 1;
    white-space: nowrap;
    margin: 0 -2px;
}
.hkex_card__calendar_pagination span,
.hkex_card__swiper_pagination > span {
    font-size: 16px;
    padding: 0 12px;
}
.hkex_card__calendar_pagination .swiper-pagination-total,
.hkex_card__swiper_pagination .swiper-pagination-total {
    border-left: 1px solid #10416c;
}
.hkex_card__swiper_nav .hkex_card__more {
    margin-left: 24px;
}

.hkex_card--red .swiper-pagination-total,
.hkex_card--navy .swiper-pagination-total {
    border-left: 1px solid #fff;
}

.hkex_card--red .hkex_card__swiper_prev:after,
.hkex_card--red .hkex_card__swiper_next:after,
.hkex_card--navy .hkex_card__swiper_prev:after,
.hkex_card--navy .hkex_card__swiper_next:after {
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
}

.hkex_card__swiper > .hkex_card__title {
    padding: 24px 15px 0;
    margin-bottom: 0;
}
.hkex_card__swiper .hkex_card__content:first-child {
    padding-top: 12px;
}

/* ==================================== card ==================================== */

/* Card Calendar START */
.hkex_card__calendar {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
	min-height: 310px;
}
.hkex_card__calendar_left,
.hkex_card__calendar_right {
    flex-basis: 50%;
    flex-grow: 0;
    flex-shrink: 0;
    max-width: 50%;
}
.hkex_card__calendar_left {
    display: flex;
    flex-direction: column;
    padding: 15px 15px;
    overflow: hidden;
}
.hkex_card__calendar_right {
    display: flex;
    justify-content: center;
    /*align-items: center;*/
}
.hkex_card__calendar_swiper {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    flex-grow: 1;
}

.hkex_card__calendar .hkex_card__title {
    margin-bottom: 12px;
}
.hkex_card__calendar .hkex_card__swiper_nav {
    padding-left: 2px;
    margin-top: 12px;
}

.hkex_card__calendar .ui-datepicker .ui-state-default {
    border: none;
    background: none;
    text-align: center;
    width: auto;
    font-size: 14px;
    color: #144168;
    padding-bottom: 2px;
    line-height: 1;
}
.hkex_card__calendar .ui-datepicker td.has-event:after {
    content: "";
    display: block;
    width: 5px;
    height: 5px;
    margin: 0 auto 2px;
    padding: 0;
    background-color: #e62742;
    border-radius: 100px;
    transition: all 0.3s ease;
}
.hkex_card__calendar .ui-datepicker td.selectedDay {
    background-color: #144168;
    border-radius: 4px;
    color: #fff;
}
.hkex_card__calendar .ui-datepicker td.has-event {
    opacity: 1;
    pointer-events: all;
    cursor: pointer !important;
    position: relative;
    transition: all 0.3s ease;
}
.hkex_card__calendar_content {
    display: block;
    overflow: auto;
    height: 150px;
}

.hkex_card__calendar .ui-datepicker,
.hkex_card__datepicker {
    width: 100%;
}
.hkex_card__calendar .ui-datepicker td.selectedDay span {
    color: #fff !important;
}
.hkex_card__calendar .ui-datepicker .ui-state-default {
    border: none;
    background: none !important;
    text-align: center;
    width: auto;
    font-size: 16px;
    color: #144168;
    padding-bottom: 2px;
    line-height: 1;
}

.hkex_card__calendar .ui-state-disabled,
.hkex_card__calendar .ui-widget-content .ui-state-disabled,
.hkex_card__calendar .ui-widget-header .ui-state-disabled {
    opacity: 1;
}
.hkex_card__calendar .ui-datepicker td {
    opacity: 1;
    height: 32px;
    vertical-align: top;
}

.hkex_card__calendar .ui-widget.ui-widget-content {
    border: none;
}

.hkex_card__calendar .ui-datepicker .ui-datepicker-header {
    border-radius: 0;
    border: none;
    background-color: transparent;
    color: #144168;
    text-transform: capitalize;
    margin: 0 auto;
    width: calc(100% - 22px);
    margin-bottom: 4px;
    background-image: inherit;
}
.hkex_card__calendar .ui-datepicker th {
    font-size: 14px;
    padding: 2px 1px 12px;
    font-weight: 700;
    color: #144168 !important;
}
.hkex_card__calendar .ui-datepicker-month {
    font-size: 16px;
    font-weight: 700;
}
.hkex_card__calendar .ui-datepicker-year {
    font-weight: 100;
    font-size: 16px;
}
.hkex_card__calendar .ui-datepicker table {
    font-size: 14px;
}
.hkex_card__calendar .ui-icon:before {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    position: absolute;
    top: 4px;
    transform-origin: center center;
    border-bottom: 2px solid #144168;
    border-right: 2px solid #144168;
}
.hkex_card__calendar .ui-datepicker-prev .ui-icon:before {
    transform: rotate(135deg);
    left: 3px;
}
.hkex_card__calendar .ui-datepicker-next .ui-icon:before {
    transform: rotate(-45deg);
    right: 3px;
    left: auto;
}
.hkex_card__calendar .ui-datepicker .ui-datepicker-prev span,
.hkex_card__calendar .ui-datepicker .ui-datepicker-next span {
    overflow: visible;
}
.ui-state-hover,
.ui-widget-content .ui-state-hover,
.ui-widget-header .ui-state-hover,
.ui-state-focus,
.ui-widget-content .ui-state-focus,
.ui-widget-header .ui-state-focus,
.ui-button:hover,
.ui-button:focus {
    border: none;
    background: transparent;
    font-weight: normal;
    color: initial;
}
.ui-datepicker .ui-datepicker-prev-hover {
    left: 2px;
}
.ui-datepicker .ui-datepicker-next-hover {
    right: 2px;
}
.ui-datepicker .ui-datepicker-prev-hover,
.ui-datepicker .ui-datepicker-next-hover {
    top: 2px;
}
.ui-datepicker-next.ui-state-disabled,
.ui-datepicker-prev.ui-state-disabled {
    opacity: 0.35 !important;
    pointer-events: none;
}
@media screen and (max-width: 480px){
    .hkex_card__calendar{
        flex-direction: column;
    }
    .hkex_card__calendar_left,
    .hkex_card__calendar_right {
        flex-basis: 100%;
        max-width: 100%;
    }
}
/* Card Calendar END */
@media screen and (max-width: 560px){
    .hkex_card{
        margin-bottom: 12px;
        height: auto;
    }
}

.card-line-space {
	padding-bottom: 10px;
}
.hkex_card__main_title {
    font-size: 20px;
    line-height: 1.2em;
    margin: 10px 15px 0;
    font-weight: bold;
    padding: 0px;
}

.hkex_card__dynamic_title {
    font-size: 20px;
    line-height: 1.2em;
    margin: 10px 12px 0;
    font-weight: bold;
    padding: 0px;
}

.hkex_card__calendar .ui-widget-header .ui-icon {
	background-image: none !important;
}

.hkex_card__swiper_prev.swiper-button-disabled:after,
.hkex_card__swiper_next.swiper-button-disabled:after {
	opacity: 0.5;
}

.section-main-card .hkex_card:not(.hkex_card--red):not(.hkex_card--navy):not(.hkex_card--image-bg):not(.hkex_card--live--noborder) {
	border: 1px solid #dae2e9;
}

/* 29-01-2021 Card Comment */

.hkex_card__date,
.hkex_card__title,
.hkex_card__desc,
.hkex_card__foot{
    padding-left: 12px;
    padding-right: 12px;

}
.hkex_card__content .hkex_card__date,
.hkex_card__content.hkex_card__title,
.hkex_card__content .hkex_card__desc,
.hkex_card__content .hkex_card__foot,
.hkex_card--image-bg .hkex_card__title,
.hkex_card__calendar .hkex_card__title,
.hkex_card__calendar .hkex_card__date {
    padding-left: 0;
    padding-right: 0;

}

.hkex-card-block-inside {
	background: #fff;
	padding: 5px 0;
}

.hkex-card-block-inside .hkexweb-hero-banner__wrapper {
	max-width: 1620px;
}

.hkex-card-block-section {
	display: none;
}

/*** twitter icon ***/
.hklogo-icon {
	padding-right: 5px;
}

@media print{
    #header,
    .btn_marquee_more{
        display: none !important;
    }
    #lhkexw-marketmarquee .marquee_wrapper_right{
        width: 100% !important;    
    }
    #lhkexw-hpwidget{
        margin: 0 auto 24px !important;
    }
    .hkex-market-highlight {
        margin: 0 auto;
    }
    .column_item{
        page-break-inside:avoid !important
    }
	.hkexweb-hero-banner{
		padding-top: 0;
    }
	.hkexweb-hero-banner__bg{
		background-attachment: scroll;
	}
	.column_item{
		position: relative !important;
		top: auto !important;
		bottom:  auto !important;
		left: auto !important;
		right: auto !important;
		width: auto !important;
	}
	.hkex_cards_column {
		width: auto !important;
		height: auto !important;
		max-width: 100% !important;
	}

	.hkex_card{
		height: auto !important;		
	}
}

/*** card scroll bar ***/
.hkex_card__calendar_content,
.swiper-slide .hkex_card__desc {
  scrollbar-width: thin;
  scrollbar-color: rgba(16, 65, 108, 0.9) #f1f1f1;
}
.hkex_card--red .swiper-slide .hkex_card__desc {
  scrollbar-color: rgba(249, 249, 249, 0.9) #ff7979;
}
.hkex_card--navy .swiper-slide .hkex_card__desc {
  scrollbar-color: rgba(249, 249, 249, 0.9) #44749d;
}

.hkex_card__calendar_content::-webkit-scrollbar,
.swiper-slide .hkex_card__desc::-webkit-scrollbar {
    width: 7px;
  }
  
  /* Track */
  .hkex_card__calendar_content::-webkit-scrollbar-track,
  .swiper-slide .hkex_card__desc::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 5px;
  }
  .hkex_card--red .swiper-slide .hkex_card__desc::-webkit-scrollbar-track {
    background: #ff7979;
  }
  .hkex_card--navy .swiper-slide .hkex_card__desc::-webkit-scrollbar-track {
    background: #44749d;
  }
   
  /* Handle */
  .hkex_card__calendar_content::-webkit-scrollbar-thumb,
  .swiper-slide .hkex_card__desc::-webkit-scrollbar-thumb {
    background: rgba(16, 65, 108, 0.9);/*#aaa;*/
    border-radius: 5px;
	height: 50px;
  }
  .hkex_card--red .swiper-slide .hkex_card__desc::-webkit-scrollbar-thumb {
    background: rgba(249, 249, 249, 0.9);
  }
  .hkex_card--navy .swiper-slide .hkex_card__desc::-webkit-scrollbar-thumb {
    background: rgba(249, 249, 249, 0.9);
  }
  
  /* Handle on hover */
  .hkex_card__calendar_content::-webkit-scrollbar-thumb:hover,
  .swiper-slide .hkex_card__desc::-webkit-scrollbar-thumb:hover {
    background: rgba(85, 85, 85, 0.6);/*#555;*/
  }
  .hkex_card--navy .swiper-slide .hkex_card__desc::-webkit-scrollbar-thumb:hover,
  .hkex_card--red .swiper-slide .hkex_card__desc::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.6);/*#555;*/
  }
/*** end card scroll bar ***/

.full-width-video {
    width: 30px;
}
.video_popup video {
	object-fit: cover;
}
.swiper-slide .hkex_card__content a {
	width: 100%;
}