/* Overrides bs */
:root, [data-bs-theme=light] {
  --bs-primary: #82001c;
  --bs-secondary: #b18c34;
  --bs-primary-rgb: 130, 0, 28;
  --bs-secondary-rgb: 177, 140, 52;
  --bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.1);
  --bs-link-color: #82001c;
  --bs-link-hover-color: #b18c34;
}

.pagination {
  --bs-pagination-hover-color: #b18c34;
  --bs-pagination-active-bg: #82001c;
  --bs-pagination-active-border-color: #82001c;
  --bs-pagination-focus-bg: none;
  --bs-pagination-focus-box-shadow: none;
}

.btn-primary {
  --bs-btn-bg: #82001c;
  --bs-btn-border-color: #82001c;
  --bs-btn-hover-bg: #660016;
  --bs-btn-hover-border-color: #660016;
  --bs-btn-active-bg: #660016;
  --bs-btn-active-border-color: #660016;
  --bs-btn-disabled-bg: #660016;
  --bs-btn-disabled-border-color: #660016;
  --bs-btn-active-shadow: none;
  --bs-btn-focus-shadow-rgb: none;
  transition: background-color 0.3s ease-in-out;
}

.btn-outline-primary {
  --bs-btn-color: #82001c;
  --bs-btn-border-color: #82001c;
  --bs-btn-hover-bg: #82001c;
  --bs-btn-hover-border-color: #82001c;
  --bs-btn-focus-shadow-rgb: none;
  --bs-btn-active-bg: #82001c;
  --bs-btn-active-border-color: #82001c;
  --bs-btn-disabled-color: #82001c;
  --bs-btn-disabled-border-color: #82001c;
  transition: background-color 0.3s ease-in-out;
}

.btn-outline-secondary {
  --bs-btn-color: #b18c34;
  --bs-btn-border-color: #b18c34;
  --bs-btn-hover-bg: #b18c34;
  --bs-btn-active-border-color: #b18c34;
  --bs-btn-active-bg: #b18c34;
  --bs-btn-active-border-color: #b18c34;
  --bs-btn-disabled-color: #6c757d;
  --bs-btn-disabled-border-color: #6c757d;
  --bs-btn-disabled-bg: #6c757d;
}

.filters.regions .btn-outline-secondary {
  --bs-btn-border-color: #000 /* #b18c34 */;
  --bs-btn-active-border-color: #000 /* #b18c34 */;;
}

.btn-check:disabled+.btn,
.btn-check[disabled]+.btn {
  background-color: rgba(0, 0, 0, 0.3);
  border-color: rgba(0, 0, 0, 0.3);
}

.btn::focus-visible {
  box-shadow: none;
}

.form-control:-webkit-autofill,
.form-control:-webkit-autofill:hover, 
.form-control:-webkit-autofill:focus, 
.form-control:-webkit-autofill:active {
  transition: background-color 0s 600000s !important;
}

.form-control:focus {
  border-color: #b18c34;
  box-shadow: none;
}

/* additional utility class */
.justify-content-space-between {
  justify-content: space-between !important;
}

.justify-content-space-around {
  justify-content: space-around !important;
}

.rounded-top-left-0 {
  border-top-left-radius: 0 !important;
}

.rounded-top-right-0 {
  border-top-right-radius: 0 !important;
}

.rounded-bottom-left-0 {
  border-bottom-left-radius: 0 !important;
}

.rounded-bottom-right-0 {
  border-bottom-right-radius: 0 !important;
}

.rounded-top-left-1 {
  border-top-left-radius: var(--bs-border-radius-sm) !important;
}

.rounded-top-right-1 {
  border-top-right-radius: var(--bs-border-radius-sm) !important;
}

.rounded-bottom-left-1 {
  border-bottom-left-radius: var(--bs-border-radius-sm) !important;
}

.rounded-bottom-right-1 {
  border-bottom-right-radius: var(--bs-border-radius-sm) !important;
}

.rounded-top-left-2 {
  border-top-left-radius: var(--bs-border-radius) !important;
}

.rounded-top-right-2 {
  border-top-right-radius: var(--bs-border-radius) !important;
}

.rounded-bottom-left-2 {
  border-bottom-left-radius: var(--bs-border-radius) !important;
}

.rounded-bottom-right-2 {
  border-bottom-right-radius: var(--bs-border-radius) !important;
}

.rounded-top-left-3 {
  border-top-left-radius: var(--bs-border-radius-lg) !important;
}

.rounded-top-right-3 {
  border-top-right-radius: var(--bs-border-radius-lg) !important;
}

.rounded-bottom-left-3 {
  border-bottom-left-radius: var(--bs-border-radius-lg) !important;
}

.rounded-bottom-right-3 {
  border-bottom-right-radius: var(--bs-border-radius-lg) !important;
}

.rounded-top-left-4 {
  border-top-left-radius: var(--bs-border-radius-xl) !important;
}

.rounded-top-right-4 {
  border-top-right-radius: var(--bs-border-radius-xl) !important;
}

.rounded-bottom-left-4 {
  border-bottom-left-radius: var(--bs-border-radius-xl) !important;
}

.rounded-bottom-right-4 {
  border-bottom-right-radius: var(--bs-border-radius-xl) !important;
}

.rounded-top-left-5 {
  border-top-left-radius: var(--bs-border-radius-xxl) !important;
}

.rounded-top-right-5 {
  border-top-right-radius: var(--bs-border-radius-xxl) !important;
}

.rounded-bottom-left-5 {
  border-bottom-left-radius: var(--bs-border-radius-xxl) !important;
}

.rounded-bottom-right-5 {
  border-bottom-right-radius: var(--bs-border-radius-xxl) !important;
}

/* Overrides vendor carousel style to resolve z-index issue. */
.carousel-item {
  z-index: 0;
}

.carousel-control-prev,
.carousel-control-next {
  z-index: 1;
  opacity: 0.8
}

.overlay-banner {
  z-index: 0;
  opacity: 1;
}

@media (min-width: 992px) {
  .carousel-item h2,
  .carousel-ad-wrap {
    display: flex;
    align-items: stretch;
    min-height: 220px;
    height: auto;
    width: 100%;
  }
  .carousel-ad-img-col {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 220px;
    width: auto;
    height: auto;
  }
  .carousel-ad-img-col img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    background: #F4F4F4;
    margin: 0 auto;
  }
  .carousel-ad-desc-col {
    flex: 1 1 0;
    min-width: 0;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #343434;
  }
}

.link {
  text-decoration: none;
  --border-color: #0000EE ;
  --border-width: 1px;
  --bottom-distance: 0px;
  
  color: #0000EE;
  display: inline; /* should be 'inline' for multiple line animation */
  background-image: linear-gradient(var(--border-color), var(--border-color));
  background-size: 0% var(--border-width);
  background-repeat: no-repeat;
  transition: background-size 0.3s;
}

/* underline animation starts from centre */
.link {
  background-position: 50% calc(100% - var(--bottom-distance));
}

.lk-black {
  --border-color: #343434 ;
  color: #343434;
}

.lk-red {
  --border-color: #82001c ;
  color: #82001c;
}

.lk-white {
  --border-color: #fff ;
  color: #fff;
}

.lk-gold {
  --border-color: #b18c34;
  color: #b18c34;
}

/* underline animation starts from centre */
.link:hover {
  background-size: 100% var(--border-width);
}

/* underline animation starts from left */
.lk-from-right {
  background-position: 100% calc(100% - var(--bottom-distance));
}

/* underline animation starts from right */
.lk-from-left {
  background-position: 0 calc(100% - var(--bottom-distance))
}
/* Animate hyperlink*/

/* Font setting - Promotion slider title and description */
.promo-title {
  font-size: 1.7em;
}

.promo-description {
  font-size: 1em;
}

@media (min-width: 1200px) {
  .promo-title {
    font-size: 2em;
  }

  .promo-description {
    font-size: 1.5em;
  }
}
/* Font setting - Promotion slider title and description */

/* Footer setting */
footer .misc-left img {
  display: inline-block !important;
  max-height: 4.5rem;
}

.socmed .text-end {
  text-align: center !important;
}

.socmed {
  padding-top: 40px !important;
}

.socmed .text-end {
  text-align: center !important;
}

@media (min-width: 768px) {
  .socmed {
    padding-top: 0px !important;
  }

  .socmed .text-end {
    text-align: right !important;
  }
}
/* Footer setting */

/* Promotion Slider/Carousel */
.img-slide {
  object-fit: cover !important;
  min-height: auto !important;
}

@media (max-width: 1199.98px) {
  .img-slide {
    height: 100% !important;
  }
}

@media (min-width: 1200px) {
  .img-slide {
    object-fit: cover !important;
    object-position: 50% 0;
  }
}

@media (max-width: 991.18px) {
  .els-1 {
    order: 1;
  }

  .els-2 {
    order: 2
  }

  .els-3 {
    order: 3;
  }
}

/* Promotion Slider/Carousel */
@media (min-width: 768px) and (max-width: 991.18px) {
  .img-phone {
    width: 50%;
  }
}

/* navbar */
.navbar.mobile.fixed-top {
  max-width: 100vw;
}

.nv-second {
  margin-top: 80px;
}

#navbarSupportedContent .search-container .search-list {
  position: absolute;
  max-width: 195px;
  backdrop-filter: blur(.2rem);
}

#navbarSupportedContent .search-container .search-list .list-group-item {
  background-color: rgba(255, 255, 255, 0.75);
  border-color: var(--bs-dark-border-subtle);
  backdrop-filter: blur(.2rem);
}

#navbarSupportedContent .search-container .search-list a.list-group-item:hover {
  color: #fff;
  background-color: rgba(177, 140, 52, 0.85)
}

#navbarSupportedContent .search-container .search-list a.more-results,
#searchModal .search-list a.more-results {
  color: #fff;
  background-color: rgba(130, 0, 28, .75);
  backdrop-filter: blur(.2rem);
}

#navbarSupportedContent .search-container .search-list a.more-results:hover,
#searchModal .search-list a.more-results:hover {
  background-color: rgba(130, 0, 28, .85);
}

#searchModal .modal-body {
  min-height: 114px;
}

#searchModal .search-list .list-group-item {
  background-color: rgba(0, 0, 0, .05);
}

#searchModal .search-list .list-group-item:hover {
  background-color: rgba(0, 0, 0, .1);
}

#searchModal .modal-content {
  transition: height .8s ease;
}

/* nav-custom nav-tab */
ul.nav.nav-tabs.nav-custom li a.nav-link {
  display: inline-flex;
  flex-direction: column;
  height: 100%;
}

ul.nav.nav-tabs.nav-custom.items-count-2 li:not(:nth-child(2)) {
  width: auto;
}

ul.nav.nav-tabs.nav-custom.items-count-2 li:not(:nth-child(2))::after {
  border: none;
}

.navbar.mobile .navbar-nav .nav-link.show .arrow-icon {
  transform: rotate(90deg);
}

.navbar.mobile .navbar-nav,
.navbar.mobile .dropdown-menu {
  overflow-x: hidden;
}

/* breadcrumb */
.top-info {
  position: absolute;
  width: 100%;
  max-width: 100vw;
  /*overflow-x: hidden;*/
  z-index: 2;
}

.bg-hlf-breadcrumb {
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(0.2rem);
}

.top-info .container-fluid,
.top-info .container,
.bg-hlf-breadcrumb > .container-fluid,
.bg-hlf-breadcrumb > .container {
  padding: 0;
  margin: 0;
  /* max-width: none; */
}

.bg-hlf-breadcrumb > .container-fluid,
.bg-hlf-breadcrumb > .container {
  padding-left: 15px;
}

@media (max-width: 991.98px) {
  .bg-hlf-breadcrumb {
    display: none !important;
  }
}

@media (min-width: 992px) {
  .bg-hlf-breadcrumb {
    display: flex !important;
    justify-content: center;
  }
}

.swal2-styled.swal2-default-outline:focus {
  box-shadow: none;
}

/* body content  */
.body-content {
  position: absolute;
  width: 100%;
  top: 45em;
  overflow-wrap: break-word;
}

@media (min-width: 1701px) {
  .body-content {
    top: 55em;
  }
}

/* body content  */
.container-hm {
  max-width: 95% !important;
  margin: auto;
  min-height: 250px;
}

.ctn-hg {
  min-height: 0em;
}

@media (min-width: 992px) {
  .ctn-hg {
    min-height: 5em;
  }
}

@media (min-width: 1689px) {

  .container-hm,
  .ctn-hg {
    min-height: 280px;
  }
}

a {
  color: inherit;
}

ul li,
ol li {
  padding: 5px 0px;
}

.ol-nostyle,
.ul-nostyle,
.li-nostyle,
.no-style,
.nostyle {
  list-style-type: none;
  text-decoration: none;
}

.no-indent,
.noindent {
  padding-left: 0;
  margin-left: 0;
}

.list li {
  font-size: 1.3em;
}

.list li li {
  font-size: 85%;
}

.img-fluid {
  padding: 0.1em;
}

@media only screen and (min-width: 768px) {
  .img-fluid {
    padding: 0.8em;
  }
}
/*
#features,
#safeguard {
  padding-bottom: 6em;
}
*/

.hide {
  display: none !important;
}

.show {
  display: block !important;
}
@media only screen and (min-width: 800px) {
  .blurb-red-bg {
    padding: 2rem 4rem;
    width: 80%;
  }
}

/* Scam-Alert Page */
.blurb-bg {
  padding: 2rem 2rem;
  background-color: #82001c;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, .2);
  color: #fff;
  margin-bottom: 1rem;
  text-align: center;
  width: 100%;
  margin: 1rem auto;
  line-height: 2;
}

@media only screen and (min-width: 800px) {
  .blurb-bg {
    padding: 2rem 4rem;
    width: 80%;
  }
}

.gold-bg {
  background-color: #A16305 !important;
}

.grey-bg {
  background-color: #a9a9a9 !important;
}


.scam-blurb-content {
  font-size: 1.25rem;
}

@media only screen and (min-width: 800px) {
  .scam-blurb-content {
    font-size: 1.5rem;
  }
}

.container-w-80 {
  width: 80%;
}

/*numbered list for Data Protection Notice*/
.list-num {
  list-style-type: decimal;
  list-style-position: outside;
  padding-left: 1.5em;
}

.list-num .main-content {
  margin-left: -1.5em;
}

.list-num h3,
.list-num h4 {
  margin-left: -1em;
}

.list-num li {
  padding-left: 1em;
  line-height: 1.5;
}

.list-num>li>ol {
  list-style-type: lower-alpha;
  margin-left: 1em;
  margin-top: 1em;
}

.list-num.child-mb-1 li:not(:last-child) {
  margin-bottom: 1rem;
}

.list-num>li>ol>li>ol {
  list-style-type: lower-roman;
  margin-left: 1em;
  margin-top: 1em;
}

.list-subcol-content,
.list-custom-subnum {
  list-style-type: lower-alpha;
  margin-left: 2em;
  margin-top: 0;
}

.list-subcol-content li {
  margin-bottom: 0;
}

.list-style-inside {
  list-style-position: inside;
}

.sticky-menu {
  cursor: pointer;
}

.sticky-menu li li {
  font-size: 0.7em;
  padding: 0.25em 0 !important;
  font-weight: normal;
}

.fs-title {
  font-size: 2em !important;
}

.fs-subtitle {
  font-size: 1.5em !important;
}

.sub-sticky {
  transition: height .5s ease;
  overflow: hidden;
}

.sub-sticky.active {
  display: block;
}

.sub-sticky:not(.active) {
  display: none;
}

/* Styling for Bootstrap Accordion */
.accordion {
  --bs-accordion-btn-focus-box-shadow: none;
  --bs-accordion-btn-bg: white;
  --bs-accordion-active-bg: #82001c;
  --bs-accordion-active-color: white;
  --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='black'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq .accordion-button:not(.collapsed) {
  --bs-accordion-active-color: black;
}

.text-justify {
  text-align: justify;
  text-justify: inter-word;
}

footer ul li {
  margin-bottom: 0px;
}

.copyright {
  font-size: 0.9em;
}

ul.icon-list {
  padding-left: 0rem !important;
}
.icon-list li {
  display: inline-block;
  margin: 5px 0px;
  margin-right: 30px;
}

/* Utilities class */
.text-no-break {
  text-wrap: nowrap;
}

/* Overrides default tooltips colors */
.tooltip {
  --bs-tooltip-color: #000;
  --bs-tooltip-bg: #f0d793;
}

i.fa-info-circle {
  color: #c99b1d;
}

.no-border {
  border-style: none !important;
}

h3 {
  font-size: 1.35rem !important;
}

h4 {
  font-size: 1.2rem !important;
}

h5 {
  font-size: 1rem !important;
}

/* Animate hyperlink*/
#board_of_directors a {
  text-decoration: none;
}

#board_of_directors .link {
  text-decoration: none;
  --border-color: #343434 ;
  color: #343434;
  --border-width: 1px;
  --bottom-distance: 0px;
  
  display: inline; /* should be 'inline' for multiple line animation */
  background-image: linear-gradient(var(--border-color), var(--border-color));
  background-size: 0% var(--border-width);
  background-repeat: no-repeat;
  transition: background-size 0.3s;
}
  
/* underline animation starts from centre */
#board_of_directors .link {
  background-position: 50% calc(100% - var(--bottom-distance));
}
  
#board_of_directors .link:hover {
  background-size: 100% var(--border-width);
}

.bod-appointment {
  color: #000;
  margin-top: 10px;
}

.bod-appointment p {
  line-height: 1.2 !important;
}

.bod-bullet-list {
  list-style-type: disc;
  list-style-position: outside;
  margin-left: 1.1em;
}

ul.bod-bullet-list {
  line-height: 1.2 !important;
}

.no-vmargin {
  margin-top: 0;
  margin-bottom: 0;
}

.bod-notes {
  font-size: 0.85em;
  text-align: justify;
}

.awards .award-img img {
  max-width: 12rem;
  min-width: 0;
}

/* Footer */
footer .link {
  color: #000;
  transition: background-size .3s,
    color .3s;
}

footer .link:hover {
  color: #82001c;
}
/* End of Footer */

/* Notices */
.notices-warning > .title {
  background-color: hsl(44, 75%, 81%);;
}

.notices-warning > .content-wrapper > :nth-child(1) {
  background-color: #fffbf1;
}

.notices-warning > .content-wrapper > :nth-child(2) {
  background-color: hsl(44, 75%, 90%);
}

.notices-warning > .content-wrapper * > p:last-of-type {
  margin-bottom: 0;
}

/* annoucements marquee */
.wrapper-marquee {
  background-color: rgb(145, 11, 3);
  color: #fff;
  width: 100%;
  height: 40px;
  overflow: hidden;
  position: relative;
}

.marquee {
  overflow: hidden;
  white-space: nowrap;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  padding-left: 0.5rem;
}

.marquee span {
  padding-right: 5rem; 
}

.w-fit {
  width: fit-content !important;
}

/* --- Carousel Ad --- */
/* #CarouselAd { background: #F4F4F4; } */

.carousel-ad-wrap {
  display: flex;
  align-items: stretch;
  min-height: 220px;
  height: auto;
}

.carousel-ad-img-col {
  flex: 55 1 0;
  max-width: 55%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.carousel-ad-desc-col {
  flex: 45 1 0;
  max-width: 45%;
  display: flex;
  flex-direction: column;
  overflow: visible;
  min-width: 0;
  height: 100%;
}

@media (max-width: 991.98px) {
  .carousel-ad-wrap {
    flex-direction: column;
  }

  .carousel-ad-img-col,
  .carousel-ad-desc-col {
    max-width: 100%;
    flex :1 1 auto;
  }

  .carousel-ad-desc-col {
    padding-top: 1rem;
  }
}

/* Typography */
.carousel-ad-desc-col .slide-title p {
  /*font-size: clamp(1.05rem, 1rem + 0.6vw, 1.75rem);*/
  font-size: 1.5rem;
  line-height: 1.5;
  margin:0;
}

.carousel-ad-desc-col .slide-content {
 /* font-size: clamp(0.9rem, 0.85rem + 0.4vw, 1.25rem);*/
  font-size: 24px;
  line-height:1.35;
}

/* Image behaviour: fill container, cover by default */
@media (min-width: 992px) {
  .carousel-ad-wrap {
    display: flex;
    align-items: stretch;
    min-height: 220px;
    height: auto;
  }
  
  .carousel-ad-img-col {
    display: block;
    flex: 0 1 auto;
    min-width: 220px;
    height: auto;
  }

  .carousel-ad-img-col img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    background: #F4F4F4;
    margin: 0 auto;
  }

  .carousel-ad-desc-col {
    flex: 1 1 0;
    min-width: 180px;
    height: auto;
    overflow: visible;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

.carousel-ad-img-col img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #F4F4F4;
}
.carousel-ad-img-col img.wide-img { object-position:left center; }

/* Per-item utility classes */
#CarouselAd .force-contain .img-slide {
  object-fit: contain;
  height:100%;
}

#CarouselAd .force-cover .img-slide {
  object-fit: cover;
  height: 100%;
  min-height:300px;
}

#CarouselAd .slide-content,
.carousel-ad-desc-col .slide-content {
  font-size: 1.5rem;
  /* font-weight: 700; */
  line-height:1.35;
}

@media (min-width: 992px) {
  #CarouselAd .slide-content,
  .carousel-ad-desc-col .slide-content {
    font-size: 2rem;
    line-height: 1.35;
  }
}

/* Latest Promotion page card */
.promotion.card .card-body .card-text p {
  font-size: 15px !important;
}

.promotion.card .card-body .card-text > p:last-of-type {
  margin-bottom: 0 !important;
}


.carousel-subtitle {
  font-size: 1.5rem !important;
}

.carousel-content {
  font-size: 1rem !important;
}

@media screen and (min-width: 1024px) {
  .carousel-ad-desc-col .slide-title p {
      font-size: 2rem !important;
  }
  .carousel-subtitle {
    font-size: 2rem !important;
  }

  .carousel-content {
    font-size: 1.4rem !important;
  }
}