@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: #e8ce00;
}

/* ## 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;
}

/* # 인풋 */
/* 삭제버튼 커스텀 */
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: #ffc700 !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 {
  pointer-events: none;
  background-color: #eff2f5 !important;
}

/* select2 + 인풋 or select2  */
.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.btn-light-primary {
    background-color: #e5f6ff;
}
.btn.btn-light-warning {
    color: #f2a600;
}
/* # 버튼 포커스 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: #f2a600 !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: #f2a600 !important;
}
.btn-custom.btn.btn-light-warning:hover:not(.btn-active) {
  color: #fff !important;
  border-color: #f2a600 !important;
  background-color: #f2a600 !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;
}

/* 마이크로사이트 셋팅 버튼 */
.mic-draggable-zone .draggable {
  position: relative;
  justify-content: center;
}
.btn-com-edit {
  padding: 10px 0 !important;
  position: absolute;
  right: 51px;
  top: 50%;
  transform: translateY(-50%);
}
.btn-com-del {
  padding: 10px 0 !important;
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
}

/* # 뱃지 */
.badge-group {
  display: flex;
  gap: .25rem;
  flex-wrap: wrap;
  justify-content: center;
}
.badge {
    word-break: keep-all;
}
.badge-light {
  background-color: var(--bs-gray-200);
}
.badge-light-warning {
    color: #f2a600;
}
.badge-light-primary {
    background-color: #e5f6ff;
}
.badge-light-success {
    color: #23bc69;
}
.badge-light-pink {
    background-color: #ffedf8;
    color: #df13d3;
}
.badge-light-orange {
    background-color: #ffefe0;
    color: #ff7900;
}


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

/* -------------------- */
/* ### 유틸리티 UTILITIES */
/* -------------------- */
.text-keep {
    word-break: keep-all;
}
.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);
}


/*  ## 스와이퍼 커스텀 */
.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 {
    background-color: var(--kakao-primary);
    color: #000000;
}
.btn-kakao:focus:not(.btn-active) {
    border-color: var(--kakao-primary-active) !important;
    background-color: var(--kakao-primary-active) !important;
    outline: 2px solid var(--kakao-primary-hover) !important;
}
.btn-kakao:hover:not(.btn-active) {
    border-color: var(--kakao-primary-hover) !important;
    background-color: var(--kakao-primary-hover) !important;
}
.btn-kakao:hover:not(.btn-active) i {
    color: #000 !important;
}

/*  */
/* ---------- */
/* ### @media */
/* ---------- */
@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;
  }
}


 /* ### 태블릿, 모바일 ###*/
@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;
    }


/* ### 버튼 ### */
    .btn {
        font-size: 1.3rem;
    }
  /* # 버튼 포커스 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: #ffc700 !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: #ffc700 !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;
  }
}
/* 버튼 > kakao */
.btn:is(.btn-kakao):is(:active,:hover):not(.btn-active) {
    border-color: var(--kakao-primary-active) !important;
    background-color: var(--kakao-primary-active) !important;
    background-color: 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;
}

/* 애니메이션 */
.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;
  }
}
