/* 모바일 더블탭 방지 */
html,
body {
  touch-action: manipulation;
}

/* NOTICE, 모바일 화면에서의 테이블 WIDTH 문제 해결 */
@media all and (max-width: 768px) {
  .notice .table tbody td:nth-child(2) {
    width: 100%;
  }
}

/* PAGING, A HREF 문제 해결 */
.pageing ul li.active button {
  background: #ed8c09;
  color: #fff;
  font-weight: 500;
  border-radius: 45%;
}

.pageing ul li button {
  display: block;
  width: 2.5rem;
  height: 2.5rem;
  line-height: 2.5rem;
  text-align: center;
  font-size: 1.125rem;
  background-color: transparent;
}

/* 공지사항, HTML 표시 문제 해결 */
.board_notice_detail .cont {
  overflow-y: auto;
}

.board_notice_detail .cont img {
  max-width: 100%;
  height: auto;
  display: block;
}

.board_notice_detail .cont img.align-left {
  float: left;
  margin-right: 0;
  margin-bottom: 0;
}

.board_notice_detail .cont img.align-right {
  float: right;
  margin-left: 0;
  margin-bottom: 0;
}

.board_notice_detail .cont img.align-center {
  margin: 0 auto;
  float: none;
}

@media all and (max-width: 768px) {
  .board_notice_detail .cont img {
    float: none !important;
    margin: 0 auto !important;
    display: block !important;
    width: 100% !important;
  }
}

/* FAQ 표시 문제 해결 */
.faq_wrap .faq_answer > div {
  display: flex;
  align-items: flex-start;
}
.faq_wrap .faq_answer > div::before {
  content: 'A';
  display: inline-block;
  width: 2.8125rem;
  height: 2.8125rem;
  aspect-ratio: 1 / 1;
  line-height: 2.8125rem;
  text-align: center;
  font-family: 'Cafe24Ssurround';
  background: #7cb812;
  border-radius: 45%;
  color: #fff;
  font-size: 1.5625rem;
  margin-right: 0.625rem;
  flex-shrink: 0;
}
.answer_content_inner {
  display: block !important;
  width: 100%;
}

.answer_content_inner p {
  padding: 0 !important;
  margin: 0 !important;
  display: block !important;
}

.answer_content_inner img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}

.answer_content_inner img.align-left {
  float: left;
  margin-right: 1rem;
  margin-bottom: 1rem;
}

.answer_content_inner img.align-right {
  float: right;
  margin-left: 1rem;
  margin-bottom: 1rem;
}

.answer_content_inner img.align-center {
  display: block;
  margin: 1rem auto;
  float: none;
}

.faq_wrap .faq_answer p::before {
  display: none;
}
.faq_answer {
  display: none;
}

.faq_answer.active {
  display: block;
}

.fa-angle-up {
  transition: transform 0.3s;
}

.fa-angle-up.open {
  transform: rotate(180deg);
}
@media all and (max-width: 768px) {
  .faq_wrap .faq_answer div::before {
    width: 1.875rem;
    height: 1.875rem;
    line-height: 1.875rem;
    font-size: 1rem;
  }
}

/* 긴급공지 표시 문제 해결 */
.board_notice_detail.popup div.top {
  padding: 1rem !important;
}
.board_notice_detail.popup div.tit {
  border-bottom: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* 상품 상세정보 HTML 표시 개선 */
.product-content-html {
  line-height: 1.8 !important;
}

.product-content-html {
  overflow-y: auto !important;
}

.product-content-html img {
  max-width: 100%;
  height: auto;
  display: block;
}

.product-content-html img.align-left {
  float: left;
  margin-right: 0;
  margin-bottom: 0;
}

.product-content-html img.align-right {
  float: right;
  margin-left: 0;
  margin-bottom: 0;
}

.product-content-html img.align-center {
  margin: 0 auto;
  float: none;
}

@media all and (max-width: 768px) {
  .product-content-html img {
    float: none !important;
    margin: 0 auto !important;
    display: block !important;
    width: 100% !important;
  }
}

/* 결제 모바일 서비스제공자 기본크기 고정 */
/*
.mobile_provider_btn {
  width: 150px;
}
*/

/* 상품 정보 */
.product-content-html {
  overflow-y: auto !important;
}

.product-content-html img {
  max-width: 100%;
  height: auto;
  display: block;
}

.product-content-html img.align-left {
  float: left;
  margin-right: 1rem;
  margin-bottom: 1rem;
}

.product-content-html img.align-right {
  float: right;
  margin-left: 1rem;
  margin-bottom: 1rem;
}

.product-content-html img.align-center {
  margin: 1rem auto;
  float: none;
}

@media all and (max-width: 768px) {
  .product-content-html img {
    float: none !important;
    margin: 0 auto !important;
    display: block !important;
    width: 100% !important;
  }
}

/* 보이스피싱 경고 */
.warning_wrap {
  background: #f8f8f8;
  height: 100%;
}

/* 지갑 컨테이너 */
.wallet_app {
  background-color: #f8f8f8;
}

.container.no_footer {
  height: auto !important;
}

/* 모바일 메뉴바 */
.menu > ul > li > a:active {
  /* -webkit-transform: scale(1); */
  -ms-transform: scale(1);
  transform: scale(1);
}
@media all and (max-width: 768px) {
  .menu > ul > li.active > a:hover {
    color: white;
  }
  .menu > ul > li > a:hover {
    color: inherit;
  }
}

/* 지갑 열어봄 메시지 */
.mobile_bottom_wrap .txt {
  position: absolute;
  top: -15px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  font-size: 1.125rem;
  color: #f84f01;
}

/* 버튼 비활성 */
.btn-disabled-color {
  background-color: #6c757d !important;
}
.btn-disabled-text {
  color: #aaaaaa !important;
}

/* 비활성 버튼 디자인(사선) */
.btn-disabled-striped {
  background: #6c757d;
  color: white;
  cursor: not-allowed;
  position: relative;
  overflow: hidden;
}

.btn-disabled-striped::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 4px,
    rgba(255, 255, 255, 0.2) 4px,
    rgba(255, 255, 255, 0.2) 14px
  );
}
