.award-card {
  align-items: center;
  position: relative;
  border: 2px solid #0088a5;
  padding: 10px;
  border-radius: 30px;
  height: 100%;
}

.award-name {
  min-height: 100px;
  vertical-align: middle;
  display: table;
  width: 100%;
}

.award-name p {
  font-weight: 400;
  display: table-cell;
  padding-top: 15px;
  height: 100%;
  color: #000;
}

.btn-modal-show {
  color: #fff;
  background-color: #0088a5;
  border-color: #0088a5;
  border-radius: 15px;
}

/* modal */
.modal-dialog {
  max-width: 850px;
}

.modal-body {
  padding: 0;
}

.modal-content {
  margin-left: auto;
  margin-right: auto;
  background-image: linear-gradient(180deg, #028dce 0%, #d4effb 100%);
  border: 0;
  border-radius: 25px;
  width: 850px;
  height: 510px;
}

.btn-modal-close {
  background-color: #cecece !important;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  padding: 0;
  z-index: 1;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.33);
  position: absolute;
  top: 20px;
  right: 20px;
}

.btn-modal-close i {
  color: #919497 !important;
  font-size: 1.1rem;
  line-height: 1;
  position: relative;
  top: 2px;
  -webkit-text-stroke-width: 2px;
}

.xc-font-sm .btn-modal-close i {
  font-size: 1rem;
}

.xc-font-lg .btn-modal-close i {
  font-size: 1.2rem;
}

/* end of modal */

/* carousel */
.carousel-item {
  padding-top: 25px;
}

.carousel-item img {
  margin-left: auto;
  margin-right: auto;
  padding-left: 5px;
  padding-right: 5px;
  padding-bottom: 5px;
  height: auto;
  width: 90%;
  max-width: 650px;
}

.carousel-item .carousel-description {
  margin-left: auto;
  margin-right: auto;
  padding-top: 5px;
  font-family: "FrutigerLTStd-Light";
  font-size: 13px;
  width: 90%;
  max-width: 650px;
}

html[lang="zh-Hans-HK"] .carousel-item .carousel-description {
  font-family: "NotoSansSC-Light";
}

html[lang="zh-Hant-HK"] .carousel-item .carousel-description {
  font-family: "NotoSansHK-Light";
}

.xc-font-sm .carousel-item .carousel-description {
  font-size: 11px;
}

.xc-font-lg .carousel-item .carousel-description {
  font-size: 15px;
}

.carousel-item .carousel-description .carousel-description-content {
  width: 100%;
  padding-top: 5px;
  padding-left: 5px;
  padding-right: 5px;
  padding-bottom: 25px;
  border-top: 2px solid;
}

.carousel-item.carousel-item-2in1 {
  padding-top: 100px;
}

.carousel-item.carousel-item-2in1 img {
  max-width: 650px;
}

.carousel-item.carousel-item-2in1 .carousel-description {
  max-width: 650px;
}

.carousel-control-next,
.carousel-control-prev {
  font-family: "FrutigerLTStd-Light";
  color: #fff;
  opacity: 1;
  top: 200px;
  width: 60px;
  height: 60px;
}

html[lang="zh-Hans-HK"] .carousel-control-next,
html[lang="zh-Hans-HK"] .carousel-control-prev {
  font-family: "NotoSansSC-Light";
}

html[lang="zh-Hant-HK"] .carousel-control-next,
html[lang="zh-Hans-HK"] .carousel-control-prev {
  font-family: "NotoSansHK-Light";
}

.carousel-control-prev {
  left: 45px;
}

.carousel-control-next {
  right: 45px;
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
  background: none;
  width: 60px;
  height: 28px;
  border-radius: 10px;
  font-size: 3rem;
  color: #fff;
  -webkit-text-stroke-width: 2px;
}

.xc-font-sm .carousel-control-next-icon,
.carousel-control-prev-icon {
  font-size: 2.5rem;
}

.xc-font-lg .carousel-control-next-icon,
.carousel-control-prev-icon {
  font-size: 3.5rem;
}

@media only screen and (max-width: 767px) {
  .carousel-control-prev {
    left: 0;
  }

  .carousel-control-next {
    right: 0;
  }
}

@media only screen and (max-width: 575px) {
  .container-custom {
    padding-left: 15px;
    padding-right: 15px;
  }

  .modal-content {
    height: 420px;
  }

  .carousel-control-next,
  .carousel-control-prev {
    display: none;
    top: 160px;
  }
}

/* end of carousel */

/* finetune for landscape mobile */
@media only screen and (orientation: landscape) and (max-height: 575px) {
  .modal-dialog {
    max-width: 80%;
    max-height: 90%;
  }

  .modal-content {
    height: 100%;
  }

  .carousel-item img {
    width: 50%;
  }

  .carousel-item.carousel-item-2in1 {
    padding-top: 50px;
  }

  .carousel-control-next,
  .carousel-control-prev {
    display: none;
  }
}

/* end of finetune for landscape mobile */
