.anchorbox {
  position: relative;
  margin: 0px 0px 0px 0px;
  width: 100%;
}
.anchorbox > h1 {
  font-weight: bolder;
  margin: 0px 0px 10px 0px;
  padding: 0px 5px;

  /* changes done here */
  line-height: 22px;
  font-size: 18px;
}
.anchorbox > .anchorbuttons {
  background: rgba(255, 255, 255, 0.9);
  position: sticky;
  top: 0;
  width: inherit;
  display: flex;
  align-items: stretch;
  margin: 0px 0px -30px 0px;
  height: 35px;
  overflow: hidden;
  z-index: 10;
}

.anchorbox > .anchorbuttons > a {
  flex-grow: 1;
  display: inline-table;
  margin: 0px 0px 0px 0px;
  text-align: center;
  color: #000;
  cursor: pointer;
  padding: 5px 0px;
  font-size: 14px;
  line-height: 20px;
  border: 1px solid #eee;
  background-color: #fdd;
  margin-right: 5px;
  width: auto;
  border: 1px solid #a99;
}
.anchorbox > .anchorbuttons > a:last-child {
  margin-right: 0px;
}
.anchorbox > .anchorbuttons > a:active {
  background-color: darkred;
  color: #fff;
}

.anchorbox .anchordatacontainer {
  width: 100%;
  padding: 5px 35px;
  /* padding: 0px 20px 20px 20px; */
  border: 1px solid #eee;
  border-width: 0px 1px 1px 1px;
  z-index: 20;
  /* background: #fff; */
  margin: 0px 0px 10px 0px;
}
/* .anchorbox .anchordatacontainer button {
  margin: 10px 0;
} */
/* .anchorbox .anchordatacontainer > div {
  padding: 10px 20px;
  padding: 34px 0px 10px 0px;
} */
.anchorbox .anchordatacontainer > div:active {
  display: block;
}
.anchorbox .anchordatacontainer h1 {
  margin: 0px -20px 20px -20px;
  padding: 2px 10px;
  background-color: darkred;
  color: #fff;
  font-size: 18px;
}
.anchorbox .anchordatacontainer h2 {
  margin: 0px -20px 20px -20px;
  padding: 2px 10px;
  background-color: darkred;
  color: #fff;
  font-size: 18px;
}
.anchorbox .anchordatacontainer h3 {
  margin: 20px 0px;
  font-weight: normal;
  font-size: 16px;
  line-height: 30px;
}

@media only screen and (max-width: 800px) {
  .anchorbox > .anchorbuttons {
    width: calc(100% + 30px);
    text-align: center;
    margin: 0px -15px;
    box-sizing: border-box;
  }
  .anchorbox > .anchorbuttons > a {
    font-size: 12px;
    margin: 0px;
  }
  .anchorbox > .anchorbuttons > a:active {
    background-color: darkred;
  }
  .anchorbox .anchordatacontainer > div:first-child {
    margin-top: -30px;
  }
}

/* detailprogram photo layout */

.anchordatacontainer .tab-content .image-group {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 25px;
  gap: 3px;
}

.anchordatacontainer .tab-content .image-group .small-img-grp {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

/* hover */
.anchordatacontainer .tab-content .mb-sm-imgs .photo-tour:hover img {
  transform: scale(1.01);
  filter: brightness(0.8);
}

.anchordatacontainer .tab-content .mb-sm-imgs .photo-tour:hover::after {
  background: rgba(0, 0, 0, 0.2);
}

.anchordatacontainer .tab-content .image-group img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  cursor: pointer;
  transition:
    transform 0.5s ease,
    filter 0.5s ease;
}

.anchordatacontainer .tab-content .image-group .big-image {
  width: 603px;
  height: 334px;
}

.anchordatacontainer .tab-content .image-group .small-image {
  width: 270px;
  height: 163px;
}

.anchordatacontainer .tab-content .image-group .mb-sm-imgs {
  display: flex;
  gap: 2px;
}

/* for this v7 can be remove after = accordion button */
.accordion .custom-list {
  list-style-type: none;
  margin-top: 5px;
  font-size: 15px;
}

.accordion .custom-list li {
  margin-top: 0 !important;
  margin-left: -30px;
}

.accordion .accordion-icon {
  position: relative;
  height: auto;
}

.accordion .card-body {
  padding: 10px 1.25rem;
}

.accordion .card-body a.nav-link {
  color: #495057;
}

.accordion .card-body a.nav-link.active {
  color: #000;
}

.accordion .accordion-icon span.float-right {
  position: absolute;
  right: 18px;
  bottom: 7px;
}

.anchordatacontainer .accordion .accordion-icon .tage-text {
  display: block;
  margin-bottom: 2px;
}

/* new layout listview w/ image */
.accordion .list-btn-grp {
  display: flex;
  justify-content: start;
  gap: 5px;
}

.accordion .list-btn-grp .photo-btn {
  width: 50%;
}

.accordion .list-btn-grp .list-img-side {
  display: inline-flex;
  align-items: center;
  position: relative;
}

.accordion .list-btn-grp .list-img-side img,
.accordion .list-btn-grp .list-img-side video {
  width: 300px;
  height: 176px;
  object-fit: cover;
  border-radius: 10px;
  padding: 2px 0;
}

.accordion .list-btn-grp .list-img-side.show,
.accordion .list-btn-grp .list-img-side.show video {
  display: block;
}

.accordion .list-btn-grp .list-img-side.hide img,
.accordion .list-btn-grp .list-img-side.hide .stour-credit {
  display: none;
}

/* photoname v1 layout detailprogram */
.accordion .list-btn-grp .list-img-side .stour-credit {
  position: absolute;
  width: 138px;
  bottom: 47%;
  left: -60px;
  background: #87878708;
  color: #808080;
  padding: 4px 7px;
  border-radius: 6px;
  text-transform: capitalize;
  text-align: center;
  transform: rotate(270deg);
}

.accordion .card-body .subtexts {
  margin: 10px 0;
}

.accordion .card-body .subtexts p {
  font-size: 15px;
  text-align: center;
  margin-bottom: 0;
}

.accordion .list-img-side .stour-credit .fotoname,
.anchordatacontainer
  .tab-content
  .image-group
  .photo-tour
  .stour-credit
  .fotoname {
  font-size: 8px;
}

/* photoname 5x v2 layout detailprogram */
.anchordatacontainer .tab-content .image-group .photo-tour {
  position: relative;
}

.anchordatacontainer .tab-content .image-group .photo-tour .stour-credit {
  position: absolute;
  width: 158px;
  bottom: 44%;
  left: -70px;
  background: #87878708;
  color: #808080;
  padding: 4px 7px;
  border-radius: 6px;
  text-transform: capitalize;
  text-align: center;
  transform: rotate(270deg);
}

.anchordatacontainer
  .tab-content
  .image-group
  .photo-tour
  .stour-credit
  .title {
  display: none;
}
/* .anchordatacontainer .tab-content .image-group .photo-tour .stour-credit {
  position: absolute;
  color: #fff;
  background: #87878708;
  padding: 10px;
  bottom: 5px;
  right: 5px;
  text-transform: capitalize;
  border-radius: 6px;
  text-align: center;
  font-weight: bold;
  font-size: 20px;
} */

/* v12 */
.anchordatacontainer .accordion div.card {
  margin: 6px 0;
}

@media only screen and (max-width: 450px) {
  .anchorbox .anchordatacontainer {
    padding: 5px 5px;
  }

  .anchordatacontainer .tab-content .image-group {
    flex-direction: column;
  }

  .anchordatacontainer .tab-content .image-group .mb-sm-imgs {
    display: flex;
    justify-content: center;
    gap: 0;
  }

  .anchordatacontainer .tab-content .image-group .small-img-grp {
    flex-direction: row;
    gap: 4px;
  }

  .anchordatacontainer .tab-content .image-group .big-image {
    width: 100%;
    height: 200px;
  }

  .anchordatacontainer .tab-content .image-group .small-image {
    width: 70px;
    height: 47px;
  }

  /* small span {
      display: block;
      padding-left: 12px;
      text-indent: -14px;
    } */

  .anchordatacontainer .accordion .accordion-icon .tage-text {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    color: darkred;
  }

  .anchordatacontainer .accordion .accordion-icon .tage-number {
    white-space: nowrap;
  }

  .anchordatacontainer .accordion .accordion-icon .text-line {
    display: block;
    width: 100%;
  }

  .accordion .list-btn-grp {
    flex-direction: column;
    gap: 0;
  }

  .accordion .list-btn-grp .photo-btn {
    width: 100%;
  }

  /* .accordion .list-btn-grp .list-img-side.show, */
  .accordion .list-btn-grp .list-img-side img,
  .accordion .list-btn-grp .list-img-side .stour-credit {
    display: none;
  }

  .accordion .list-btn-grp .list-img-side video {
    width: 100%;
    height: 100%;
    margin-bottom: 25px;
  }

  .anchordatacontainer .tab-content .image-group .photo-tour .stour-credit {
    display: none;
  }

  .accordion .card-body .subtexts p {
    font-size: 13px;
  }
}
/*  */

.str {
  font-weight: bolder;
}
dd {
  margin-bottom: 10px;
}
.photo {
  margin: 5px;
}

/* hide other tabs (program) */

.anchorbox .anchordatacontainer .nav-item > .nav-link:has(.fa-hotel),
/* .anchorbox .anchordatacontainer .nav-item > .nav-link:has(.fa-video), */
.anchorbox .anchordatacontainer .nav-item > .nav-link:has(.fa-plane) {
  /* .anchorbox .anchordatacontainer .nav-item > .nav-link:not(.active) 
  .anchorbox .anchordatacontainer .accordion-icon > strong, 
.anchorbox .anchordatacontainer .tab-content .image-group img */
  display: none;
}
