.post-contents .elementor-widget-heading {
  width: calc(100% - 160px) !important;
  margin: auto;
}
.post-contents .overseas-exposure .elementor-widget-heading {
  width: 100% !important;
}
.overseas-exposure p {
  margin: 16px 0 !important;
}

.timeline .qodef-e-top-holder {
  flex-direction: column;
  align-items: center !important;
}
.qodef-qi-timeline .qodef-e-point-holder,
.timeline-bullet {
  width: 25px !important;
  height: 25px !important;
  filter: drop-shadow(3px 3px 9px rgba(16, 16, 16, 0.15));
}
.qodef-qi-timeline .qodef-e-point-holder .qodef-e-point,
.timeline-bullet {
  background-color: white !important;
  border: 2px solid var(--green);
}
.timeline-bullet {
  position: absolute;
  top: 50%;
  /* transform: translateX(-50%); */
  transform: translate(-50%, -50%);
}
.timeline-content {
  display: flex;
  flex-direction: column;
}
.timeline-content h4 {
  order: 3;
}
.timeline-content .timeline-date {
  order: 1;
}
.timeline-content p {
  order: 2;
}
.timeline-content .line-spaceer {
  height: 50px;
}

.qodef-grid-inner {
  margin: 0 0 16px;
}
.elementor-39
  .elementor-element.elementor-element-c0b5940
  .qodef-timeline--horizontal
  .qodef-e-item {
  padding: 0 50px !important;
}
.qodef-qi-timeline::before,
.timeline-line {
  content: "";
  display: block;
  width: 100vw;
  height: 3px;
  background: linear-gradient(90deg, #3fbdad 0%, #e2e43d 59.98%);
}
.qodef-qi-timeline .qodef-e-image {
  max-height: 230px;
  border-radius: 20px;
  display: none;
}
.qodef-e-date-year {
  font-family: gotham, sans-serif;
  font-weight: 700;
  font-size: var(--font-size-20);
  line-height: var(--line-height-110);
  margin: 20px 0 8px;
}
.qodef-e-date {
  font-size: var(--font-size-16);
  line-height: var(--line-height-150);
}
.qodef-qi-timeline.qodef-timeline-layout--horizontal-standard
  .qodef-e-top-holder {
  padding: 0 0 20px !important;
}
.qodef-qi-timeline .qodef-nav-prev {
  left: 40px;
}
.qodef-qi-timeline .qodef-nav-next {
  right: 40px;
}

.qodef-qi-timeline .qodef-nav-prev svg,
.qodef-qi-timeline .qodef-nav-next svg {
  opacity: 0;
  visibility: hidden;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 40px !important;
  color: var(--raisinblack);
}
.qodef-qi-timeline .qodef-e-title {
  font-size: var(--font-size-20) !important;
  line-height: var(--line-height-110) !important;
  margin: 0 0 8px !important;
}
.qodef-qi-timeline .qodef-e-text {
  font-size: var(--font-size-14) !important;
  line-height: var(--line-height-114) !important;
  display: none;
}
.custom-timeline {
  position: relative;
  padding: 40px 0;
}
.timeline-item {
  text-align: center;
  padding: 20px;
}
.timeline-bullet {
  width: 14px;
  height: 14px;
  background-color: #e74c3c;
  border-radius: 50%;
  display: inline-block;
  margin-bottom: 15px;
}
.timeline-line {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 2px;
  background-color: #ddd;
  transform: translateY(-50%);
  z-index: -1;
}
.timeline-content h4 {
  font-family: gotham, sans-serif;
  font-weight: 700;
  font-size: var(--font-size-20);
  line-height: var(--line-height-110);
  margin: 50px 0 8px;
  /* padding: 10% 0 0; */
}
.timeline-content p {
  font-size: var(--font-size-16);
  line-height: var(--line-height-150);
  margin: 0 0 50px;
}
.timeline-date {
  font-family: gotham, sans-serif;
  font-weight: 700;
  font-size: var(--font-size-20);
  line-height: var(--line-height-110);
  margin: 0 0 8px;
}
.timeline-item {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.55s cubic-bezier(0.23, 1, 0.32, 1),
    transform 0.55s cubic-bezier(0.23, 1, 0.32, 1);
}
.timeline-item.animate-in {
  opacity: 1;
  transform: translateY(0);
}
.custom-timeline .swiper-button-prev {
  left: 50px;
  transform: translateY(-40px);
}

.custom-timeline .swiper-button-next {
  right: 50px;
  transform: translateY(-40px);
}

@media only screen and (max-width: 992px) {
  .custom-timeline .timeline-content p {
    padding: 0 10px;
  }
  .custom-timeline .swiper-button-next {
    right: 15px;
    transform: none;
  }
  .custom-timeline .swiper-button-prev,
  .custom-timeline .swiper-button-next {
    top: calc(50% - 30px);
  }
  .custom-timeline .swiper-button-prev {
    left: 15px;
    transform: none;
  }
  .custom-timeline .swiper-button-next:after,
  .custom-timeline .swiper-button-prev:after {
    font-size: 20px !important;
  }
}

/* Photo Gallery - Thumbnails > Carousel Gallery Slider */
.gallery-slider .carousel-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  height: 100%;
}
.gallery-slider .carousel-inner {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 400px;
  gap: 10px;
}
.gallery-slider .bwg_nav_cont_0 {
  display: none;
}
.gallery-slider .bwg-item {
  flex: 1;
  min-width: calc(100% / 14);
  overflow: hidden;
  position: relative;
  transition: min-width 0.3s ease-in-out;
  border-radius: 10px;
}
.gallery-slider .bwg-item .bwg-item0,
.gallery-slider
  .bwg-standard-thumbnails
  .bwg-zoom-effect
  .bwg-zoom-effect-overlay {
  background-color: unset !important;
  background: linear-gradient(
      180deg,
      rgba(16, 16, 16, 0) 50.5%,
      var(--chineseblack) 100%
    ),
    lightgray 50% / cover no-repeat;
}
.gallery-slider .bwg-item .bwg-a {
  margin-right: 0px !important;
  margin-bottom: 0px !important;
}
.gallery-slider .bwg-item .bwg-item1.bwg-zoom-effect {
  height: 400px;
  z-index: -1;
}
.gallery-slider .bwg-item .bwg-item1.bwg-zoom-effect img {
  height: 100%;
}
.gallery-slider .bwg-item img {
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
  width: 100% !important;
  position: absolute;
}
.gallery-slider .bwg-item2 {
  margin-left: 0 !important;
}
.gallery-slider .carousel-inner:not(.dragging) .bwg-item:hover {
  z-index: 1;
  flex: 2;
  min-width: 652px;
}
.gallery-slider .carousel-inner:not(.dragging) .bwg-item.first-load {
  z-index: 1;
  flex: 2;
  min-width: 652px;
}
.gallery-slider .carousel-inner:not(.dragging) .bwg-item.first-load img {
  object-fit: contain;
  background: black;
}
.gallery-slider .bwg-item .bwg-title1 {
  justify-content: flex-end !important;
  text-align: left;
  padding: 43px 30px;
}
.gallery-slider .carousel-prev,
.gallery-slider .carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: var(--white);
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 30;
}
.gallery-slider .carousel-prev {
  left: 10px;
}
.gallery-slider .carousel-next {
  right: 10px;
}
.gallery-slider .bwg-item:before {
  content: "" !important;
  background-image: url("/wp-content/uploads/icons/white-image.svg");
  background-repeat: no-repeat;
  background-size: 60%;
  background-position: center;
  background-color: var(--transparentwhite);
  border-radius: 10px;
  width: 50px;
  height: 50px;
  padding: 6.667px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  position: absolute;
  backdrop-filter: blur(10px);
}
.gallery-slider .bwg-item:has(.bwg-icon-play):before {
  background-image: url("/wp-content/uploads/icons/white-video.svg");
}
.gallery-slider .carousel-inner.dragging {
  transition: none;
}
.gallery-slider .carousel-inner.dragging .bwg-title1 {
  cursor: grabbing;
}
/* End  Photo Gallery - Thumbnails > Carousel Gallery Slider */

@media only screen and (min-width: 300px) {
  .gallery-slider
    #bwg_container1_0
    #bwg_container2_0
    .bwg-container-0.bwg-standard-thumbnails
    .bwg-item1
    img:hover {
    -ms-transform: scale(1) !important;
    -webkit-transform: scale(1) !important;
    transform: scale(1) !important;
  }
  .post-contents .elementor-widget-heading {
    width: calc(100% - 32px) !important;
  }
}
@media only screen and (min-width: 1199px) {
  .post-contents .elementor-widget-heading {
    width: calc(100% - 160px) !important;
  }
}

@media only screen and (max-width: 1336px) {
  .gallery-slider .bwg-item {
    min-width: calc(100% / 12);
  }
}
@media only screen and (max-width: 1280px) {
  .gallery-slider .bwg-item {
    min-width: calc(100% / 11);
  }
}
@media only screen and (max-width: 1024px) {
  .gallery-slider .bwg-item {
    min-width: calc(100% / 10);
  }
}
@media only screen and (max-width: 992px) {
  .gallery-slider .bwg-item {
    min-width: calc(100% / 9);
  }
}
@media only screen and (max-width: 850px) {
  .gallery-slider .bwg-item {
    min-width: calc(100% / 8);
  }
}
@media only screen and (max-width: 768px) {
  .gallery-slider .bwg-item {
    min-width: calc(100% / 7);
  }
}
@media only screen and (max-width: 767px) {
  .qodef-qi-timeline .qodef-nav-prev {
    left: 0;
  }

  /* Gallery */
  .gallery-slider .carousel-inner {
    overflow-x: scroll;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
  }
  .gallery-slider .carousel-inner ::-webkit-scrollbar {
    display: none;
  }
  .gallery-slider .carousel-prev,
  .gallery-slider .carousel-next {
    display: none;
  }
  .gallery-slider .carousel-inner .bwg-item {
    min-width: 80vw !important;
    width: 80vw !important;
    max-width: unset !important;
  }
  .gallery-slider .carousel-inner .bwg-item img {
    max-height: unset !important;
  }
  .gallery-slider .bwg-item .bwg-item1.bwg-zoom-effect {
    height: 56vw;
  }

  .gallery-slider .carousel-inner {
    height: 56vw;
  }
  .gallery-slider .bwg-item::before {
    display: none;
  }
  .gallery-slider .bwg-item .bwg-item0,
  .gallery-slider
    .bwg-standard-thumbnails
    .bwg-zoom-effect
    .bwg-zoom-effect-overlay {
    background: none;
  }
  .gallery-slider .bwg-item .bwg-item0,
  .gallery-slider
    .bwg-standard-thumbnails
    .bwg-zoom-effect
    .bwg-zoom-effect-overlay::after {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        transparent 70.5%,
        var(--chineseblack) 100%
      ),
      transparent 50% / cover no-repeat;
    background-size: cover;
    display: inline-block;
  }
  #bwg_container1_0
    #bwg_container2_0
    .bwg-container-0.bwg-standard-thumbnails
    .bwg-title2,
  #bwg_container1_0
    #bwg_container2_0
    .bwg-container-0.bwg-standard-thumbnails
    .bwg-ecommerce2 {
    font-size: 14px !important;
    display: none;
  }
  .gallery-slider .bwg-item .bwg-title1 {
    padding: 15px;
  }
}
@media only screen and (max-width: 660px) {
  .gallery-slider .bwg-item {
    min-width: calc(100% / 6);
  }
}
@media only screen and (max-width: 580px) {
  .gallery-slider .bwg-item {
    min-width: calc(100% / 5);
  }
}
@media only screen and (max-width: 500px) {
  .gallery-slider .bwg-item {
    min-width: calc(100% / 4);
  }
}
