@import url(contents.css);

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

html {
  display: none;
  font-size: 16px;
}

body.super-admin {
  background-color: #005766 !important;
}

.w-30 {
  width: 30% !important;
}

.w-40 {
  width: 40% !important;
}

.w-60 {
  width: 60% !important;
}

.w-70 {
  width: 70% !important;
}

.top-header {
  display: flex;
  align-items: center;
  position: relative;
  height: 50px;
  padding: 0 50px 0 5px;
  border-bottom: 1px solid #898989;
}

.top-header .top-title {
  flex: 1;
}

.top-header .top-title div {
  display: flex;
  align-items: center;
}

.top-header h1.bookmark {
  cursor: pointer;
}

.top-header h1.bookmark::before {
  content: "\f19f";
  display: inline-block;
  font-family: bootstrap-icons !important;
  font-style: normal;
  font-weight: normal !important;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  vertical-align: -0.125em;
  -webkit-font-smoothing: antialiased;
  cursor: pointer;
}

.top-header h1.bookmark.active::before {
  content: "\f19e";
}

.top-header h1 {
  display: inline-block;
}

.top-header h1.bookmark + h1 {
  padding-left: 4px;
}

.top-header .btn-group {
  flex: none;
}

.top-header .icon-exit {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  font-size: 2.5em;
  cursor: pointer;
}

.card.search-div {
  margin-top: 10px;
}

.card.search-div .card-body {
  padding: 10px;
}

.search-div .form-set {
  display: inline-block;
  margin-right: 10px;
}

.search-div label {
  padding-left: 10px;
  padding-right: 5px;
}

.search-div input {
  width: 120px;
  display: inline-block;
}

.search-div input[type="radio"],
.search-div input[type="checkbox"] {
  width: auto;
  display: inline-block;
}

.search-div input::-webkit-input-placeholder {
  text-align: center;
}

.search-div .tom-select-custom {
  display: inline-block;
}

.search-div select {
  width: 130px;
  display: inline-block;
}

.search-div .search-button {
  float: right;
}

.search-div .search-button::after {
}

/* popup 관련 */
.div-popup-background {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 1;
  background-color: rgba(215, 215, 215, 0.34);
}

.div-popup {
  position: absolute;
  top: 0px;
  right: 0px;
  height: calc(100% - 5px);
  z-index: 2;
}

.div-popup iframe {
  width: 100%;
  height: 100%;
}

/* end popup 관련 */

/* scroll 관련 */
*::-webkit-scrollbar {
  width: 5px;
  height: 5px;
  background-color: #eeeeee;
}

*::-webkit-scrollbar-thumb {
  background: #cccccc;
}
/* end scroll 관련 */

/* customer div */
.customer-table-form {
  width: calc(100% - 32px);
  margin: 16px;
}

.customer-table-form input.dong,
.customer-table-form input.ho {
  width: calc(50% - 5px);
  display: inline-block;
}

.customer-table-form input.name {
  width: calc(100% - 70px);
  display: inline-block;
}

.customer-table-form .picture {
  border-radius: 50%;
  height: 120px;
  width: 120px;
  position: relative;
  object-fit: contain; /*cover*/
  border: 1px solid #ccc;
  background-color: #f0f0f0;
  margin: 8px 0;
}

.customer-table-form .title {
  /* background: #ebdfdf;
  color: #4e4e4e;
  padding: 5px 0px; */
  font-weight: 500;
  font-size: 16px;
  color: #1f2937;
  padding: 8px 0;

  border-top: 1px solid #e5e7eb;
  margin-top: 12px;
}

/* 신규 추가 */
.customer-table-form .title-name {
  font-weight: 700;
  font-size: 18px;
  color: #111827;
}
/* 신규 추가 */
.customer-table-form .title-dongho {
  font-weight: 400;
  font-size: 14px;
  color: #78808f;
  padding-top: 4px;
  padding-bottom: 12px;
}

.customer-table-form .tr-info > td.tr-info-title {
  font-weight: 400;
  font-size: 14px;
  color: #78808f;
  padding: 4px 0;
  width: 100px;
}

.customer-table-form .tr-info > td:last-child {
  color: black;
}

/* td가 하나 있을 경우에만 center 적용*/
.customer-table-form td:only-child {
  text-align: center;
}

.customer-table-form td.family {
  /* display: flex;
  flex-wrap: wrap;
  row-gap: 8px;
  column-gap: 4px;
  width: 100%; */
  padding-bottom: 40px;
}

.customer-table-form td.family label {
  cursor: pointer;
  display: inline-block !important;
  width: fit-content;
  padding: 6px 11px;
  border: 1px solid #e5e7eb;
  color: #78808f;
  font-size: 14px;
  border-radius: 35px;
  margin: 4px;
  /* padding: 3px 0px; */
  /* border-bottom: 1px dashed #cdcdcd; */
}
/* end customer div */

/* datatable */
.dt-buttons {
  display: none;
}
/* end datatable */

/* flatpicker */
.flatpickr-current-month {
  left: 32.5% !important;
}

i.bi-chevron-left.flatpickr-custom-arrow::before {
  vertical-align: 0.875em;
}

i.bi-chevron-right.flatpickr-custom-arrow::before {
  vertical-align: 0.875em;
}
/* end flatpicker*/

.empty-item {
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 10px 15px;
}

.flatpickr-calendar .flatpickr-day.today {
  background-color: #92c3ff;
}
.flatpickr-calendar .flatpickr-day.selected {
  background-color: rgb(55, 125, 255);
}

.cal-text {
  display: inline-block;
  width: 10px;
  height: 10px;
  color: #ffffff;
}
.cal-COMMON {
  border-color: #3788d8;
  background-color: #3788d8;
}
.cal-WEEKEND {
  border-color: #0f7cf1;
  background-color: #0f7cf1;
}
.cal-RESERVATION_CLOSED {
  border-color: red;
  background-color: red;
}
.cal-RESERVED_CUSTOMER {
  border-color: rgb(72, 193, 106);
  background-color: rgb(72, 193, 106);
}
.cal-HOLIDAY {
  border-color: #999999;
  background-color: #999999;
}
.cal-NO_SETTINGS {
  border-color: #999999;
  background-color: #999999;
}

.right-div .subtitle,
.right-facilities .subtitle {
  font-size: 16px;
}

.card-items .item-header {
  -ms-flex-align: center !important;
  align-items: center !important;
  margin-bottom: 10px;
}

.card-items .item-header.py-1 {
  padding-top: 0;
}

.card-items .item-header h4 {
  margin-top: 0;
  margin-bottom: 0;
}

.card-items .card-body > table tr:first-child h4 {
  margin: 0px;
}

.card-items label,
.card-items td:nth-child(odd) {
  font-size: 14px;
  text-align: left;
}

.card-items span,
.card-items td:nth-child(even) {
  font-size: 14px;
  font-weight: bold;
  text-align: right;
}

.card-items .card.selected,
.card-items .card.active {
  border-width: 2px;
  border-color: #377dff;
}

div.search-input-name {
  display: inline-table !important;
}

div.search-input-name > input[type="text"] {
  width: 100% !important;
}

pre.tiny-contents p {
  margin-bottom: 0;
}

/* 엑셀 다운로드 팝업 스타일 */
.excel-download-popup {
  padding: 0 20px;
  min-width: 400px;
}

.excel-download-popup .popup-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.excel-download-popup .form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.excel-download-popup .form-label {
  color: #ffffff;
  font-size: 14px;
  margin-bottom: 0;
}

.excel-download-popup .form-control {
  padding: 12px 16px;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.2s ease;
  background-color: #fff;
  color: #333;
}

.excel-download-popup .form-control:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
  outline: none;
}

.excel-download-popup .form-control::placeholder {
  color: #6c757d;
  font-size: 13px;
}