@charset "UTF-8";


/* ------------------ */
/* ### 기본 설정 GLOBAL */
/* ------------------ */
/* ## root */
:root {
  --background-default: #F5F5F2;
  --background-skyblue: #BDE3FF;
  --background-soft: #FFF7F5;
  --border: #DBD6D1;
  --disabled: #EAE8E5;
  --primary: #0B41CD;
  --primary-active: #5C80DE;
  --primary-hover: #052066;
  --secondary: #F5F5F2;
  --secondary-active: #f0f5ff;
  --secondary-hover: #D7E0F7;
  --text-primary: #000000;
  --text-secondary: #C2BAB5;
  --gradiant-180deg: linear-gradient(270deg, #FFF 10.5%, #FFF7F5 49%, #DEF1FF 100%);
  --gradiant-45deg: linear-gradient(164deg, #FFF 11.43%, #FFF7F5 49.53%, #DEF1FF 100%);
  --kakao-primary: #FEE500;
  --kakao-primary-active: #fff297;
  --kakao-primary-hover: #f3d800;
  --custom-text-warnig: #ff8f00;
}

/* ## reset */
body {
  /* 폰트 재설정 */
  font-family: "MinSans", -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
}

/* # 스크롤바 */
div,
main,
ol,
pre,
span,
ul {
  scrollbar-color: #dde4eb transparent;
}

/* ## Metronic 커스텀 */
/* # 사이드바 */
[data-kt-aside-minimize=on] .aside:not(.aside-hoverable) .aside-logo .logo.d-flex,
[data-kt-aside-minimize=on] .aside:not(:hover) .aside-logo .logo.d-flex {
  display: none !important;
}

.aside .aside-logo {
  align-items: center;
  height: 65px;
  margin-top: 10px;
  padding: 0 25px;
  background-color: transparent !important;
}

.aside-dark .menu .menu-item .menu-section {
  color: #ffffff !important;
}

.hover-scroll-overlay-y {
  overflow-y: auto !important;
}

[class*="text-"] i {
  color: inherit;
}

/* # 인풋 */
input[type="color" i]::-webkit-color-swatch {
  border: none;
}

/* 삭제버튼 커스텀 */
input[type="search" i]::-webkit-search-cancel-button {
  appearance: none;
  height: .7rem;
  width: .8rem;
  top: 50%;
  right: 1rem;
  position: absolute;
  transform: translateY(-58%);
  background-color: var(--bs-gray-700) !important;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  background-color: var(--bs-gray-700);
  -webkit-mask-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='var%28--bs-gray-700%29'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e");
  mask-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='var%28--bs-gray-700%29'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e");
}

.select2-container--bootstrap5 .select2-selection__clear {
  transform: translateY(-58%);
}

/* 인풋 클리어 */
.btn-clear {
  height: 12px;
  width: 12px;
  padding: 0 !important;
  top: 50%;
  right: 1rem;
  position: absolute !important;
  transform: translateY(-58%);
  background-color: var(--bs-gray-700) !important;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  background-color: var(--bs-gray-700);
  -webkit-mask-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='var%28--bs-gray-700%29'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e");
  mask-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='var%28--bs-gray-700%29'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e");
}

input.search-with-icon[type="search" i]::-webkit-search-cancel-button {
  right: 34px;
}

/* textarea */
textarea.form-control:disabled {
  opacity: 0.5;
}

/* form */
.form-text {
  color: var(--bs-gray);
}

/* 셀렉트2 */
.select2 {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.select2-selection__rendered[title="예정"] {
  color: var(--custom-text-warnig) !important;
}

.select2-selection__rendered[title="진행"],
.select2-selection__rendered[title="지급완료"],
.select2-selection__rendered[title="발송예약"] {
  color: #50cd89 !important;
}

.select2-selection__rendered[title="종료"] {
  color: #a1a5b7 !important;
}

.select2-selection__rendered[title="완료"],
.select2-selection__rendered[title="접수"] {
  color: #7239ea !important;
}

.select2-selection__rendered[title="처리중"],
.select2-selection__rendered[title="발송완료"] {
  color: #009ef7 !important;
}

.select2-selection__rendered[title="접수취소"],
.select2-selection__rendered[title="발송취소"] {
  color: #f1416c !important;
}

/* select2 비활성 select.disabled */
.select2 .select2-selection.select2-selection--single.disabled,
.form-select:disabled+.select2 .select2-selection.select2-selection--single {
  pointer-events: none;
  background-color: #eff2f5 !important;
  background-image: none;
  background-size: 0;
}

/* select2 + 인풋 or select2  */
[class*="duplicate-wrap"] {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.type-wrap>.content-wrap,
.duplicate-wrap .duplicate-origin>.input-group+.d-flex,
.duplicate-wrap .btn-type-wrap>.input-group+.d-flex {
  height: 42.94px;
}


/* flatpickr-input 비활성 */
.flatpickr-input:disabled {
  pointer-events: none;
  opacity: 0.5;
  background-color: #eff2f5;
}

.flatpickr-input:disabled::placeholder {
  color: #a1a5b7;
  opacity: 1;
}

.fake-input.disabled {
  pointer-events: none;
  background-color: #eff2f5;
  color: #a1a5b7;
}

/*  # 카드 */
/* 카드 > 확장 */
[aria-expanded="true"] i {
  transition: all 0.3s;
}

[aria-expanded="true"] i {
  color: var(--bs-primary);
  rotate: 180deg;
}

/* # 버튼 */
.btn-outline i {
  color: inherit;
}

.btn-white.btn-outline {
  border-color: #e4e6ef;
}

.btn.btn-light-primary {
  background-color: #e5f6ff;
}

.btn.btn-light-warning,
.btn.btn-light-warning .svg-icon,
.btn.btn-light-warning i {
  color: var(--custom-text-warnig);
}

.btn-border {
  border: 1px solid currentColor !important;
}

/* # 버튼 포커스 CSS 수정 .btn-custom #*/
/* 버튼 > light primary */
.btn-custom.btn.btn-light-primary:focus:not(.btn-active) {
  color: #009ef7 !important;
  border-color: #e5f6ff !important;
  background-color: #e5f6ff !important;
  outline: 2px solid #d4efff !important;
}

.btn-custom.btn.btn-light-primary:focus:not(.btn-active) i {
  color: #009ef7 !important;
}

.btn-custom.btn.btn-light-primary:hover:not(.btn-active) {
  color: #fff !important;
  border-color: #009ef7 !important;
  background-color: #009ef7 !important;
}

.btn-custom.btn.btn-light-primary:hover:not(.btn-active) i {
  color: #fff !important;
}

.btn-outline-primary:hover {
  color: #fff;
}

/* 버튼 > light danger */
.btn-custom.btn.btn-light-danger:focus:not(.btn-active) {
  color: #f1416c !important;
  border-color: #fff5f8 !important;
  background-color: #fff5f8 !important;
  outline: 2px solid #ffe0e9 !important;
}

.btn-custom.btn.btn-light-danger:focus:not(.btn-active) i {
  color: #f1416c !important;
}

.btn-custom.btn.btn-light-danger:hover:not(.btn-active) {
  color: #fff !important;
  border-color: #f1416c !important;
  background-color: #f1416c !important;
}

.btn-custom.btn.btn-light-danger:hover:not(.btn-active) i {
  color: #fff !important;
}

.btn-outline-danger:hover {
  color: #fff;
}

/* 버튼 > light warning */
.btn-custom.btn.btn-light-warning:focus:not(.btn-active) {
  color: var(--custom-text-warnig) !important;
  border-color: #fff8dd !important;
  background-color: #fff8dd !important;
  outline: 2px solid #fbedb8 !important;
}

.btn-custom.btn.btn-light-warning:focus:not(.btn-active) i {
  color: var(--custom-text-warnig) !important;
}

.btn-custom.btn.btn-light-warning:hover:not(.btn-active) {
  color: #fff !important;
  border-color: var(--custom-text-warnig) !important;
  background-color: var(--custom-text-warnig) !important;
}

.btn-custom.btn.btn-light-warning:hover:not(.btn-active) i {
  color: #fff !important;
}

/* 버튼 > light info */
.btn-custom.btn.btn-light-info:focus:not(.btn-active) {
  color: #7239ea !important;
  border-color: #f8f5ff !important;
  background-color: #f8f5ff !important;
  outline: 2px solid #efe6ff !important;
}

.btn-custom.btn.btn-light-info:focus:not(.btn-active) i {
  color: #7239ea !important;
}

.btn-custom.btn.btn-light-info:hover:not(.btn-active) {
  color: #fff !important;
  border-color: #7239ea !important;
  background-color: #7239ea !important;
}

.btn-custom.btn.btn-light-info:hover:not(.btn-active) i {
  color: #fff !important;
}

/* 버튼 > light success */
.btn-custom.btn.btn-light-success:focus:not(.btn-active) {
  color: #23bc69 !important;
  border-color: #e8fff3 !important;
  background-color: #e8fff3 !important;
  outline: 2px solid #c3f1da !important;
}

.btn-custom.btn.btn-light-success:focus:not(.btn-active) i {
  color: #23bc69 !important;
}

.btn-custom.btn.btn-light-success:hover:not(.btn-active) {
  color: #fff !important;
  border-color: #23bc69 !important;
  background-color: #23bc69 !important;
}

.btn-custom.btn.btn-light-success:hover:not(.btn-active) i {
  color: #fff !important;
}

/* 버튼 > light */
.btn-custom.btn.btn-light:focus:not(.btn-active) {
  color: #7e8299 !important;
  border-color: #f5f8fa !important;
  background-color: #f5f8fa !important;
  outline: 2px solid #eff3f4 !important;
}

.btn-custom.btn.btn-light:focus:not(.btn-active) i {
  color: #7e8299 !important;
}

.btn-custom.btn.btn-light:hover:not(.btn-active) {
  color: #7e8299 !important;
  border-color: #eff2f5 !important;
  background-color: #eff2f5 !important;
}

.btn-custom.btn.btn-light:hover:not(.btn-active) i {
  color: #7e8299 !important;
}

/* 버튼 > secondary */
.btn-custom.btn.btn-secondary:focus:not(.btn-active) {
  color: #3f4254 !important;
  border-color: #e4e6ef !important;
  background-color: #e4e6ef !important;
  outline: 2px solid #ced1df !important;
}

.btn-custom.btn.btn-secondary:focus:not(.btn-active) i {
  color: #3f4254 !important;
}

.btn-custom.btn.btn-secondary:hover:not(.btn-active) {
  color: #3f4254 !important;
  border-color: #b5b5c3 !important;
  background-color: #b5b5c3 !important;
}

.btn-custom.btn.btn-secondary:hover:not(.btn-active) i {
  color: #3f4254 !important;
}

.btn :is(svg, svg g) {
  fill: var(--bs-gray-700);
  stroke: var(--bs-gray-700)
}

/* ## 마이크로사이트 */
/* # 마이크로사이트 > 미리보기 영역 draggable, 셋팅 관련 */
.draggable-wrap {
  border: 1px solid #e4e6ef;
  border-radius: .475rem
}

.draggable .draggable-handle {
  cursor: move !important;
  border-radius: 0;
}

.draggable-zone {
  min-height: 20px;
  padding-bottom: 1rem;
}

.btn-com-edit {
  padding: 10px 0 !important;
  position: absolute;
  right: 42px;
  top: 50%;
  transform: translateY(-50%);
}

.btn-com-del {
  padding: 10px 0 !important;
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
}

/* # 마이크로사이트 > 컨텐츠 영역 */
.mic-content {
  max-width: calc(800px + 15px + 85px);
  /* 800px */
  display: flex;
  align-items: center;
  margin: 0 auto;
  position: relative;
}

.mic-content pre,
.mic-content div {
  white-space: normal;
  /* CKEditor에서 생성된 text-align 스타일이 적용되도록 */
  width: 100%;
}

.mic-content>div {
  /* 미리보기에서 정렬이 제대로 표시되도록 */
  display: block;
  min-height: 1em;
}

/* CKEditor에서 생성된 정렬 스타일이 제대로 적용되도록 */
.mic-content div[style*="text-align: left"],
.mic-content div[style*="text-align:center"],
.mic-content div[style*="text-align: right"],
.mic-content div[style*="text-align: justify"] {
  display: block;
}

.mic-content p[style*="text-align"],
.mic-content span[style*="text-align"] {
  display: block;
}

.mic-preview-btn {
  width: 100%;
  margin: 0.5rem 85px 0.5rem 15px;
}

.draggable:has(.mic-preview-btn)+.draggable .mic-preview-btn {
  margin-top: 0;
}

.mic-preview-img,
.mic-preview-pdf {
  display: block;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 85px 0 15px;
}

.mic-preview-video {
  width: 100%;
  max-width: 100%;
  max-height: 100vh;
  display: block;
  margin: 0 auto;
  padding: 0 85px 0 15px;
}

/* # 마이크로사이트 > 컴포넌트 영역  */
.mic-container {
  container-type: inline-size;
  container-name: micContainer;
}

.mic-btn-group {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.mic-btn-group span {
  word-break: keep-all;
}

/* # 뱃지 */
.badge-group {
  display: flex;
  gap: .25rem;
  flex-wrap: wrap;
  justify-content: center;
}

.badge {
  word-break: keep-all;
}

.badge-outline {
  background-color: #fff !important;
  border: 1px solid currentColor !important;
}

.badge-light {
  background-color: var(--bs-gray-200);
}

.badge-light-warning {
  color: var(--custom-text-warnig);
}

.badge-light-primary {
  background-color: #e5f6ff;
}

.badge-light-success {
  color: #23bc69;
}

.badge-light-pink {
  background-color: #ffedf8;
  color: #df13d3;
}

.badge-pink {
  background-color: #df13d3;
  color: #ffffff;
}

.badge-light-orange {
  background-color: #ffefe0;
  color: #ff7900;
}

.badge-orange {
  background-color: #ff7900;
  color: #ffffff;
}

.badge-light-kakao {
  background-color: #ffefa4;
  color: #8e6b05;
}

/* ## 텍스트 */
.text-warning {
  color: #f2a600 !important;
}

/* 태그 */
.tagify--focus {
  overflow: hidden;
  /* 태그 박스내 placeholder 넘침 가림 */
}

/* ## 데이터 테이블 */
.datatable-wrap {
  container-type: inline-size;
  container-name: datatableWrap;
}

table.dataTable>thead>tr>td:not(.sorting_desc, .sorting_asc),
table.dataTable>thead>tr>th:not(.sorting_desc, .sorting_asc) {
  padding-right: 0.75rem;
}

.table td:last-child,
.table th:last-child,
.table tr:last-child {
  padding-right: 0 !important;
}

/* sorting 아이콘 활성시 정렬 */
table.dataTable>thead .sorting_asc,
table.dataTable>thead .sorting_desc {
  vertical-align: inherit;
}

/* ## 차트 */
.apexcharts-pie-label,
.apexcharts-datalabels,
.apexcharts-datalabel,
.apexcharts-datalabel-label,
.apexcharts-datalabel-value {
  font-size: 15px;
  font-weight: 500;
}

.apexcharts-legend-text,
.apexcharts-text,
.apexcharts-title-text {
  font-size: 14px !important;
}

/* -------------------- */
/* ### 유틸리티 UTILITIES */
/* -------------------- */

.text-keep {
  word-break: keep-all;
}

.text-break {
  word-break: break-all;
  white-space: normal;
}

.rounded-left-1 {
  border-top-left-radius: .475rem !important;
  border-bottom-left-radius: .475rem !important;
}

.z-index-4 {
  z-index: 4;
}


/* ## 테이블 */
/* .border-custom */
.table.border-custom,
.table.border-custom th,
.table.border-custom td {
  border: 1px solid var(--bs-gray-300);
}

.table.border-custom td:first-child,
.table.border-custom th:first-child,
.table.border-custom tr:first-child {
  padding-left: .75rem;
}

.table.border-custom td:last-child,
.table.border-custom th:last-child,
.table.border-custom tr:last-child {
  padding-right: .75rem;
}

.table.border-custom tfoot {
  border-top: 3px solid var(--bs-gray-300);
}

td a {
  word-break: keep-all;
}

.table.table-mouse-over tbody tr:hover {
  background-color: #f7fafc;
  cursor: pointer;
}

.table tbody .none-pointer:hover {
  cursor: auto;
}


/*  ## 스와이퍼 커스텀 */
.swiper-custom.swiper {
  border-radius: 0.475rem;
  border: 1px solid #e4e6ef;
}

.swiper-custom .swiper-slide {
  display: flex !important;
  justify-content: center;
  align-items: center;
}

.swiper-custom .swiper-slide img {
  max-width: 100%;
  max-height: 100%;
}

.swiper-custom .swiper-button-prev:after,
.swiper-custom .swiper-button-next:after {
  content: "";
}

.swiper-custom .swiper-pagination-bullet {
  width: 20px;
  height: 20px;
  text-align: center;
  line-height: 20px;
  font-size: 12px;
  color: #000;
  opacity: 1;
  background: rgba(0, 158, 247, 0.23);
}

.swiper-custom .swiper-pagination-bullet-active {
  color: #fff;
  background: var(--bs-primary);
}

/* ## 카카오 */
.bg-kakao {
  background-color: var(--kakao-primary);
}

.btn-kakao,
.badge-kakao {
  background-color: var(--kakao-primary);
  color: #000000;
}

.btn-kakao .svg-icon,
.btn-kakao i {
  color: #000000;
}

.btn-kakao:hover:not(.btn-active) {
  background-color: var(--kakao-primary-hover);
}

.btn-kakao:focus:not(.btn-active) {
  outline: 2px solid var(--kakao-primary-active) !important;
}

/* # 버튼 아웃라인 스타일 */
.btn.btn-outline.btn-outline-solid.btn-outline-default {
  border-style: solid;
}

.btn-check:active+.btn.btn-outline.btn-outline-solid.btn-outline-default,
.btn-check:checked+.btn.btn-outline.btn-outline-solid.btn-outline-default,
.btn.btn-outline.btn-outline-solid.btn-outline-default.active,
.btn.btn-outline.btn-outline-solid.btn-outline-default.show,
.btn.btn-outline.btn-outline-solid.btn-outline-default:active:not(.btn-active),
.btn.btn-outline.btn-outline-solid.btn-outline-default:focus:not(.btn-active),
.btn.btn-outline.btn-outline-solid.btn-outline-default:hover:not(.btn-active),
.show>.btn.btn-outline.btn-outline-solid.btn-outline-default {
  color: #009ef7;
  border-color: #009ef7;
  background-color: #f1faff !important;
}

:is(.btn-check:active+.btn.btn-outline.btn-outline-solid.btn-outline-default,
  .btn-check:checked+.btn.btn-outline.btn-outline-solid.btn-outline-default,
  .btn.btn-outline.btn-outline-solid.btn-outline-default.active,
  .btn.btn-outline.btn-outline-solid.btn-outline-default.show,
  .btn.btn-outline.btn-outline-solid.btn-outline-default:active:not(.btn-active),
  .btn.btn-outline.btn-outline-solid.btn-outline-default:focus:not(.btn-active),
  .btn.btn-outline.btn-outline-solid.btn-outline-default:hover:not(.btn-active),
  .show>.btn.btn-outline.btn-outline-solid.btn-outline-default) :is(svg, svg g) {
  fill: #009ef7;
  stroke: #009ef7;
}


/* ## 프로그레스 바 */
.progress-bar {
  font-weight: 600;
}

/* ## 탭 */
.nav-pills .nav-item {
  margin: 0;
}

/* ## 카드뉴스 */
.swiper {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3/4;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.swiper-slide .img-group {
  width: 100%;
  overflow-y: auto;
  position: relative;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.swiper-button-next,
.swiper-button-prev {
  width: 50px;
  height: 100px;
  padding-top: 30px;
  padding-bottom: 30px;
  text-shadow: 0 0 10px #fff;
  --per: 1.5%;
  /* filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.5)); */
}

.swiper-button-next {
  right: var(--per);
}

.swiper-button-prev {
  left: var(--per);
}

:is(.swiper-button-next, .swiper-button-prev) svg,
:is(.swiper-button-next, .swiper-button-prev) svg g {
  fill: var(--color);
  stroke: var(--color);
}


.swiper-button-next:after,
.swiper-button-prev:after {
  content: '';
  font-size: 30px;
}

.swiper-pagination {
  margin-bottom: 10px;
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.1));
  opacity: 0.4;
}

.swiper-pagination-bullet-active {
  background: var(--bg-color);
  opacity: 1;
}

/* 페이지네이션 타입 숫자*/
.swiper-pagination-bullets-number {
  width: 20px;
  height: 20px;
  text-align: center;
  line-height: 20px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.2);
  opacity: 1;
}

.swiper-pagination-bullets-number.swiper-pagination-bullet-active {
  color: #fff;
  background: var(--bg-color);
}


.swiper-button-next.swiper-button-disabled,
.swiper-button-prev.swiper-button-disabled {
  pointer-events: all;
}

.swiper-button-next.swiper-button-disabled,
.swiper-button-prev.swiper-button-disabled {
  opacity: 0;
}

/* ## 버튼 캐러셀 */
.btn-carousel-del {
  display: none !important;
}

.btn-carousel-index:is(:active)>.btn-carousel-del,
.btn-carousel-index.active>.btn-carousel-del {
  display: inline-flex !important;
  z-index: 1;
}


/* ---------- */
/* ### @media */
/* ---------- */
@container micContainer (max-width: 480px) {
  .mic-btn-group {
    grid-template-columns: repeat(3, 1fr);
  }
}

@container micContainer (max-width: 400px) {
  .mic-btn-group {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ## 데이터 테이블 */
@container datatableWrap (max-width: 576px) {
  .datatable-wrap .table-responsive+.row {
    flex-direction: column;
    align-items: center;
  }

  .datatable-wrap .table-responsive+.row>div {
    justify-content: center !important;
    width: 100%;
  }
}

@media (max-width: 767px) {

  .type-wrap>.content-wrap,
  .duplicate-wrap .duplicate-origin>.input-group+.d-flex,
  .duplicate-wrap .btn-type-wrap>.input-group+.d-flex {
    height: 39.78px;
  }

  .apexcharts-legend-text,
  .apexcharts-text,
  .apexcharts-title-text {
    font-size: 13px !important;
  }
}


/* ### 태블릿, 모바일 ###*/
@media (pointer: coarse) and (min-width: 992px) {

  /* # 사이드바 */
  [data-kt-aside-minimize=on] .aside {
    width: 75px !important;
    transition: width .3s ease !important;
  }

  [data-kt-aside-minimize=on] .aside-logo .logo {
    display: none;
  }

  [data-kt-aside-minimize=on] .aside:not(.aside-hoverable) .aside-menu .menu-content,
  [data-kt-aside-minimize=on] .aside:not(.aside-hoverable) .aside-menu .menu-title,
  [data-kt-aside-minimize=on] .aside .aside-menu .menu-content,
  [data-kt-aside-minimize=on] .aside .aside-menu .menu-title {
    opacity: 0 !important;
    transition: opacity .3s ease !important;
  }
}

@media (max-width: 512px) {

  .swiper-button-next,
  .swiper-button-prev {
    width: 25px;
    height: 50px;
  }

  .swiper-button-next:after,
  .swiper-button-prev:after {
    font-size: 24px;
  }


}

@media (pointer: coarse) {

  /* .form */
  .form-label,
  .form-control {
    font-size: 16px;
  }

  .form-check .form-check-label {
    font-size: 16px;
    line-height: 1;
  }

  .join-wrap .mb-4 {
    margin-bottom: 1.5rem !important;
  }

  /* ### 버튼 ### */
  /* # 버튼 포커스 CSS 수정 .btn-custom #*/
  .btn-custom.btn:is(.btn-outline-primary, .btn-light-primary):is(:active, :hover):not(.btn-active) {
    color: #009ef7 !important;
    border-color: #f1faff !important;
    background-color: #f1faff !important;
    outline: 2px solid #d4efff !important;
  }

  .btn-custom.btn:is(.btn-outline-primary, .btn-light-primary):is(:active, :hover):not(.btn-active) i {
    color: #009ef7 !important;
  }

  /* 버튼 > light danger */
  .btn-custom.btn:is(.btn-outline-danger, .btn-light-danger):is(:active, :hover):not(.btn-active) {
    color: #f1416c !important;
    border-color: #fff5f8 !important;
    background-color: #fff5f8 !important;
    outline: 2px solid #ffe0e9 !important;
  }

  .btn-custom.btn:is(.btn-outline-danger, .btn-light-danger):is(:active, :hover):not(.btn-active) i {
    color: #f1416c !important;
  }

  /* 버튼 > light warning */
  .btn-custom.btn:is(.btn-outline-warning, .btn-light-warning):is(:active, :hover):not(.btn-active) {
    color: var(--custom-text-warnig) !important;
    border-color: #fff8dd !important;
    background-color: #fff8dd !important;
    outline: 2px solid #fbedb8 !important;
  }

  .btn-custom.btn:is(.btn-outline-warning, .btn-light-warning):is(:active, :hover):not(.btn-active) i {
    color: var(--custom-text-warnig) !important;
  }

  /* 버튼 > light info */
  .btn-custom.btn:is(.btn-outline-info, .btn-light-info):is(:active, :hover):not(.btn-active) {
    color: #7239ea !important;
    border-color: #f8f5ff !important;
    background-color: #f8f5ff !important;
    outline: 2px solid #efe6ff !important;
  }

  .btn-custom.btn:is(.btn-outline-info, .btn-light-info):is(:active, :hover):not(.btn-active) i {
    color: #7239ea !important;
  }

  /* 버튼 > light success */
  .btn-custom.btn:is(.btn-outline-success, .btn-light-success):is(:active, :hover):not(.btn-active) {
    color: #50cd89 !important;
    border-color: #e8fff3 !important;
    background-color: #e8fff3 !important;
    outline: 2px solid #c3f1da !important;
  }

  .btn-custom.btn:is(.btn-outline-success, .btn-light-success):is(:active, :hover):not(.btn-active) i {
    color: #50cd89 !important;
  }

  /* 버튼 > light */
  .btn-custom.btn:is(.btn-outline-light, .btn-light):is(:active, :hover):not(.btn-active) {
    color: #7e8299 !important;
    border-color: #f5f8fa !important;
    background-color: #f5f8fa !important;
    /* outline: 2px solid #c3f1da !important; */
  }

  /* 버튼 > kakao */
  .btn:is(.btn-kakao):is(:active, :hover):not(.btn-active) {
    background-color: var(--kakao-primary);
    outline: 2px solid var(--kakao-primary-active) !important;
  }
}

/* 상세 페이지 stick-1 */
.sticky-tab {
  background: #f5f8fa;
  position: sticky;
  top: 65px;
  z-index: 99;
}

.sticky-card-header {
  background: #ffffff !important;
  position: sticky;
  top: calc(65px + 42px);
  left: 0;
  z-index: 99;
}

/* 이미지 정렬 */
.img-cover {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-contain {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.point-none {
  pointer-events: none !important;
}

.point-auto {
  pointer-events: auto !important;
}

.cursor-pointer {
  cursor: pointer !important;
}

/* 애니메이션 */
.aniBounce {
  animation: bounce 4s infinite;
}

@keyframes bounce {

  0%,
  100% {
    top: 45%;
  }

  50% {
    top: 52%
  }
}

.aniDrop {
  animation: drop 5s infinite;
}

@keyframes drop {
  0% {
    top: 0;
    opacity: 0;
  }

  30%,
  70% {
    opacity: 100%;
  }

  100% {
    top: 80%;
    opacity: 0;
  }
}

.aniZigzag {
  animation: zigzag 3s linear infinite;
}

@keyframes zigzag {
  0% {
    top: 0;
    left: 20%;
    opacity: 0;
  }

  30% {
    left: 0;
    top: 20%;
    opacity: 1;
    rotate: -5deg;
  }

  70% {
    left: 40%;
    top: 50%;
    opacity: 1;
    rotate: 10deg;
  }

  100% {
    top: 100%;
    left: 20%;
    opacity: 0;
    rotate: -10deg;
  }
}

/* Custom Row Cols */
@media (min-width: 1400px) {
  .row-cols-xxl-8>* {
    flex: 0 0 auto;
    width: 12.5%;
  }
}
