@font-face {
  font-family: 'Nanum HandWriting';
  src: url("../../assets/fonts/nanum-handwriting/NanumHandWriting.ttf") format("truetype");
}

body.dark-sidebar .page-wrapper.compact-wrapper .page-body-wrapper header.main-nav {
  border-right: 1px solid #e6edef !important;
}

.text-line {
  /* 한 줄 자르기 */
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.main-header-left .img-fluid {
  max-width: 80px;
}

.swal2-popup .swal2-title {
  font-size: 1.3rem;
}

.swal2-popup .swal2-styled {
  padding: 0.4em 2em !important;
  font-size: 1em !important;
  font-weight: 600 !important;
}


.note-modal-footer {
  height: 60px;
}

.note-editor .link-dialog .checkbox {
  display: none;
}

.note-editable ul{
  list-style: disc !important;
  list-style-position: inside !important;
}

.note-editor .note-toolbar .dropdown-toggle::after {
  display: none;
}

.checkbox-primary input[type="checkbox"]:checked + input[type="hidden"] + label::before {
  border-color: #24695c;
  color: #24695c;
}

.checkbox input[type="checkbox"]:checked + input[type="hidden"] + label::before {
  font-family: themify;
  content: "\e64c";
  text-align: center;
  line-height: 1.2;
}

.page-wrapper.compact-wrapper .page-body-wrapper header.main-nav .sidebar-user ul li + li::before {
  left: -24px;
}

.page-wrapper.compact-wrapper .page-body-wrapper header.main-nav .main-navbar .nav-menu {
  height: calc(100vh - 367px);
}

.page-wrapper .page-body-wrapper .page-body {
  -webkit-transition: 0s !important;
  transition: 0s !important;
}

@media print {
  .page-wrapper.compact-wrapper .page-body-wrapper .page-body {
    padding: 0 !important;
    margin: 0 !important;
  }

  .page-wrapper.compact-wrapper .page-body-wrapper .page-body .page-header {
    display: none;
  }

  .page-wrapper.compact-wrapper .page-body-wrapper .page-body .btn {
    display: none;
  }
}

.dropdown-basic .dropdown .dropbtn {
  color: #fff;
  padding: 7px 28px;
  border: none;
  border-radius: 0.25rem;
  cursor: pointer; }

.dropdown-basic .dropdown .dropdown-content {
    top: auto;
 }

.dropdown-basic .dropdown .dropdown-content button {
  width: 100%;
  text-align: left;
  border-top: 1px solid #e6edef;
  color: #999;
  background-color: white;
  padding: 9px 16px;
  text-decoration: none;
  display: block;
  font-weight: normal;

}

.dropdown-basic .dropdown-content button:hover {
  background-color: rgba(36, 105, 92, 0.1);
  color: #24695c;
}

.dropdown-basic .dropdown:hover button:disabled + .dropdown-content {
  display: none;
}

.dropdown-basic .dropdown .dropdown-content .dropdown-item {
  cursor: pointer;
}

.select2-container--default .select2-selection--single{
  height : 35px !important;
  padding : 5px 5px;
}

.product-color li{
  width: 12px;
  height: 12px;
}

/* fullCalendar today Highlight remove */
.fc-day-today
{
  background-color:inherit !important;
}

input[type="date"].form-control-calender{
  padding-left: 15px;;
}

.input-group .select2-container {
  flex: 1 1 !important;
}

/* form filter */
.form-filter > .form-filter-button {
  margin-top: 5px;
}

.form-filter > .form-filter-input > .form-group + .form-group {
  margin-left: 0;
}

.form-filter button, .form-filter a {
  width: 100%;
  height: 34px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

@media (min-width: 576px) {
  .form-filter {
    display: flex;
    align-items: stretch;
  }

  .form-filter > .form-filter-input > .form-group + .form-group {
    margin-left: 5px;
  }

  .form-filter > .form-filter-input {
    display: flex;
  }

  .form-filter > .form-filter-button {
    margin-left: 5px;
    display: flex;
    align-items: end;
  }

  .form-filter button, .form-filter a {
    width: 100px;
  }
}

.form-filter > .form-filter-input .form-group {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

th.checkbox, td.checkbox {
  width: 50px;
  text-align: center;
}

table.thead-center thead th, table.tbody-center tbody td {
  text-align: center;
  vertical-align: middle;
}

.table-xs th, .table-xs td {
  padding: 0.2rem 0.1rem;
  font-size: 90%;
}

.select2-container--default .select2-selection--multiple {
  border-color: #a8c8c2 !important;
  padding: 0 5px !important;
  min-height: 35px;
  height: auto;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered {
  padding: 1px 5px 0 0 !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
  border: none !important;
  margin-top: 0;
  margin-bottom: 0;
}

table.hover-list tbody tr:hover td {
  background-color: rgba(126, 200, 186, 0.1);
}

.fc-daygrid-day:hover {
  cursor: pointer;
  background-color: rgba(222, 245, 218, 0.25);
}

.attachment-container .remove, .life-record-detail-list-container .remove{
  cursor: pointer;
}

@-webkit-keyframes blink-red-bg {
  0%, 49% {
    background-color: rgba(255, 151, 151, 0.5);
  }
  50%, 100% {
    background-color: #fff;
  }
}

.blink-absent {
  /*
  -webkit-animation: blink-red-bg 1s infinite;
  -moz-animation: blink-red-bg 1s infinite;
  -o-animation: blink-red-bg 1s infinite;
  animation: blink-red-bg 1s infinite;
   */
  color: red !important;
}

@-webkit-keyframes blink-text {
  0%, 24% {
    opacity: 0.25;
  }
  0%, 49% {
    opacity: 0.5;
  }
  50%, 100% {
    opacity: 1;
  }
}

.text-blink {
  -webkit-animation: blink-text 1s infinite;  /* Safari 4+ */
  -moz-animation: blink-text 1s infinite;  /* Fx 5+ */
  -o-animation: blink-text 1s infinite;  /* Opera 12+ */
  animation: blink-text 1s infinite;  /* IE 10+, Fx 29+ */
}

.text-red {
  color: #F00;
}

.text-blue {
  color: #00F;
}

body.dark-sidebar .page-wrapper.compact-wrapper .page-body-wrapper header.main-nav.master {
  background-color: #1b2c58;
}

body.dark-sidebar .page-wrapper.compact-wrapper .page-body-wrapper header.main-nav.master a {
  color: #a5c1ff;
}

body.dark-sidebar .page-wrapper.compact-wrapper .page-body-wrapper header.main-nav.master .sidebar-main-title > div h6 {
  color: #FFF;
}

.meal-table-img {
  background-image: url("../../assets/images/tableware.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
  height: 115px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.meal-table-option {
  display: none;
  background-color: rgba(0, 0, 0, 0.3);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.meal-table-img:hover .meal-table-option {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}

.sidebar-main-title h6 {
  font-size: 22px !important;
  color: white !important;
}

.dark-sidebar.swal2-shown.swal2-height-auto {
  padding-right: 0 !important;
}

.tip {
  margin-top: 0.25rem !important;
  font-family: 'Nanum HandWriting' !important;
  font-size: 20px !important;
}

.notice-list-top td, .notice-list-top a, .notice-list-top span:not(.badge) {
  color: black;
  font-weight: bold;
  background-color: #edf7f6;
}

/*.select2-selection {*/
/*  height: auto;*/
/*  !*white-space: nowrap;*!*/
/*}*/

/*ul.select2-selection__rendered {*/
/*  !*white-space: nowrap;*!*/
/*}*/

/* card */
.card-round {
  border-radius: 6px;
}

.profile-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.profile-container .profile-preview {
  width: 200px;
  height: 200px;
  border-radius: 100px;
  object-fit: cover;
}

@media (min-width: 576px) {
  .dosage-image-container {
    height: 624px !important;
  }
  .dosage-image-preview {
    max-height: 624px !important;
  }
}
.dosage-image-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 26px;
  margin-bottom: 26px;
  height: 320px;
  border-radius: 6px;
  background-color: #e9ecef;
}

.dosage-image-container .dosage-image-preview {
  max-height: 320px;
  width: 100%;
  object-fit: contain;
}

.signature-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 150px;
}

.input-group .form-control:disabled {
  background-color: #ffffff;
  opacity: 0.5;
}

.form-check-input.form-check-input-primary:checked {
  background-color: #24695c;
  border-color: #24695c;
}

.btn-check + .btn-filter-category {
  margin-bottom: 0;
  padding-top: 1rem;
  padding-bottom: 1rem;
  border: none;
  background-color: #fff;
}

.btn-check:checked + .btn-filter-category, .btn-check + .btn-filter-category:hover {
  color: #24695c;
  background-color: rgba(36, 105, 92, 0.1) !important;
  border: none;
}

span.dynatree-selected a {
  color: black;
  font-style: normal;
}

span.dynatree-checkbox.dynatree-checkbox-unselectable {
  filter: grayscale(100%);
}

.life-record-container {
  margin-top: 2rem;
}

.life-record-container .life-record-header {
  display: flex;
  flex-direction: row;
  align-items: end;
  padding-bottom: .8rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #dee2e6 !important;
}

.life-record-container .life-record-header h5 {
  margin-bottom: 0;
  text-transform: capitalize;
  font-weight: 600;
  line-height: 1.3;
  color: #2c323f;
}

.life-record-container .life-record-header small {
  padding-left: .5rem;
  color: #979797;
}

.life-record-container .life-record-detail .life-record-detail-container {
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #dee2e6 !important;
}

.life-record-container .btn-check:checked + .btn-outline-primary {
  color: white;
  background-color: #17433b !important;
  border-color: #17433b !important;
}

.life-record-container input::placeholder {
  color: #979797;
  opacity: .5;
}

.form-switch.toggle-switch {
  margin-top: 0.1rem
}

.select2-container .select2-selection--single .select2-selection__clear {
  padding-right: 8px;
}

.list-vote {
  margin: 0;
}

.list-vote li {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  border: none !important;
  background: none !important;
  color: inherit;
}

.list-vote li > div {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-right: 0.5rem;
  padding-left: 0.5rem;
}

.list-vote li .handle {
  cursor: move;
}

.list-vote + .add-vote-list {
  width: 100%;
}