.clear:after {
  content: " ";
  visibility: hidden;
  display: block;
  height: 0;
  clear: both;
}



#bo_cate_ul {
  overflow: auto;
  width: 100%;
  margin: 10px auto;
}
#bo_cate_ul > li {
  width: 50%;
  height: 55px;
  line-height: 50px;
  font-size:16px;
  float: left;
  border: 1px solid #ccc;
  text-align: center;
  box-sizing: border-box;
}
#bo_cate_ul > li:nth-child(even) {
  margin-left: -1px;
}
#bo_cate_ul > li a {
  display: inline-block;
  width: 100%;
  height: 100%;
  color: #444;
}
#bo_cate_ul > li.on a {
  color: #fff;
}
#bo_cate_ul > li.on {
  background-color: #3181cb;
  color: #fff;
  border: 1px solid #3181cb;
}

#frmhr {
  position:relative;
}

#frmhr label {
  color:#333;
  font-weight: 500;
  font-size:16px
}
#frmhr a.ctl-hr {
  position: absolute;
  display:block;
  line-height:30px;
  text-align:center;
  width:30px; 
  height:30px;
  z-index:1;
  border:0;
  font-size:16px;
  right:0;
  top:0;
  background-color:#fcffe6;
  color:#5b8c00;
}
#frmhr .ctl-hr:hover {
  background-color: #eaff8f;
}
.privacy-box {
  height: 100px;
  overflow: auto;
  border: 1px solid #ddd;
  padding: 0.5em;
  margin-bottom: 5px;
  position:relative;
}
.privacy-box a.ctl {
  position: absolute;
  display:block;
  line-height:30px;
  text-align:center;
  width:30px; 
  height:30px;
  z-index:1;
  border:0;
  font-size:16px;
  right:0;
  top:0;
  background-color:#fcffe6;
  color:#5b8c00;
}
.privacy-box a.ctl:hover {
  background-color: #eaff8f;
}
.form-box {
  width: 100%;
  /* max-width: 1200px; */
  margin: 10px auto;
}

.form-box h3 {
  font-size: 18px;
  color: #000;
  margin-top: 10px;
}
/* 태블릿 디바이스 (가로 해상도가 992px 보다 작은 화면에 적용) */
@media (max-width: 991px) {
}

/* 가로모드 모바일 디바이스 (가로 해상도가 768px 보다 작은 화면에 적용) */
@media (max-width: 767px) {
}

label.hr_course {
  vertical-align: top;
}

.ov_method_bt {
  display: inline-block;
  line-height: 30px;
  height: 30px;
  font-size: 0.92em;
  background: #565e8c;
  color: #fff;
  vertical-align: top;
  border-radius: 5px;
  padding: 0 7px;
}
.ov_method_bt a {
  color:#fff;
}

.dt-wrapper {
  overflow: auto;
  margin-top: 20px;
}

.confirm_wrapper textarea {
  width: 100%;
  height: 100px;
  padding: 10px;
  border: 1px solid #ddd;
}
.checkbox {
  text-align: right;
}
.cal-box {
  width: 50%;
  float: left;
  margin-right: 10%;
}
.adm-wrapper .cal-box {
  width: 100%;
  margin-right: inherit;
}
.cal_content span:first-child {
  margin-right:7px;
}
.cal_content span:last-child {
  position:absolute;
  right:5%;
  display:inline-block;
  padding:0 2%;
  border-radius: 15%;
}
.adm-wrapper .cal-box td {
  height:120px;
}
.back_red:before {
  content:'';
  padding-left:3px;
  background:red;
}
.back_blue:before {
  content:'';
  padding-left:3px;
  background:blue;
}
.font_red, .font_red:link, .font_red:visited {
  margin-left:2px;
  color:#333;
}
.font_blue, .font_blue:link, .font_blue:visited {
  margin-left:1px;
  color:#333;
}
.bt_red, .bt_red:link, .bt_red:visited {
  background:red;
  color:#fff;
}
.bt_blue, .bt_blue:link, .bt_blue:visited {
  background:blue;
  color:#fff;
}
.bt_insert, .bt_insert:link, .bt_insert:visited {
  font-size:.8em;
  background:#08979c;
  color:#fff;
}
/* 태블릿 디바이스 (가로 해상도가 992px 보다 작은 화면에 적용) */
@media (max-width: 991px) {
  .cal-box {
    width: 55%;
    margin-right: 5%;
  }
}
/* 가로모드 모바일 디바이스 (가로 해상도가 768px 보다 작은 화면에 적용) */
@media (max-width: 767px) {
  .cal-box {
    width: 100%;
    margin-right: 0%;
    margin-bottom: 1em;
  }
}

.cal-box #hr_date {
  width: 110px;
  text-align: center;
  font-size:15px
}

.cal-navi {
  position: relative;
  height: 50px;
  background-color: #333;
  color: #fff;
}

.cal-navi button {
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 50%;
  transform: scale(0.7);
  background-color: #3181cb;
  color: #fff;
  font-size: 16px;
}

.cal-navi button:active {
  border: 0;
  border-radius: 50%;
  transform: scale(0.8);
}

.cal-navi .btn-prev {
  position: absolute;
  top: 0;
  left: 0;
}

.cal-navi .btn-next {
  position: absolute;
  top: 0;
  right: 0;
}

.cal-navi h2 {
  text-align: center;
  line-height: 50px;
  font-size:16px
}

#cal-table-box {
  min-height: 300px;
  margin-bottom: 5px;
}

.dt-wrapper table {
  border-collapse: collapse;
  width: 100%;
}

.dt-wrapper td {
  border: 1px solid #ddd;
  height: 60px;
  width: 14.2857%;
  margin: 0;
  position: relative;
  vertical-align: top;
  box-sizing: border-box;
}
.dt-wrapper td .tdi {
  width: 100%;
  height: 100%;
  padding:3px
}
.dt-wrapper th {
  border: 1px solid #ddd;
  width: 14.2857%;
  padding:10px 0;
  margin: 0;
}
.dt-wrapper td.work .tdi {
  background-color: #dceaff;
}
.dt-wrapper td.work {
  cursor: pointer;
  padding: 0;
}

#cal-table-box td .cm1 {
  color: #333;
  font-size: 14px;
  margin-bottom:10px;
}

#cal-table-box td .cm0 {
  color: #ccc;
  font-size: 12px;
  margin-bottom:10px;
}

#cal-table-box td .h1 {
  font-size: 12px;
  color: red;
}

#cal-table-box td .h0 {
  font-size: 12px;
  color: blue;
}

.cal-info .lt {
  float: left;
}

.cal-info .rt {
  float: right;
}

.time-box {
  width: 40%;
  max-width: 100%;
  float: left;
  font-size:16px
}
/* 태블릿 디바이스 (가로 해상도가 992px 보다 작은 화면에 적용) */
@media (max-width: 991px) {
  .time-box {
    width: 40%;
  }
}
/* 가로모드 모바일 디바이스 (가로 해상도가 768px 보다 작은 화면에 적용) */
@media (max-width: 767px) {
  .time-box {
    width: 100%;
  }
}

.time-box h2 {
  background-color: #333;
  color: #fff;
  font-size:16px;
  text-align: center;
  height: 50px;
  line-height: 50px;
}

.time-box table {
  border-collapse: collapse;
  width: 100%;
}

.time-box td,
.time-box th {
  border: 1px solid #ddd;
  line-height: 30px;
  margin: 0;
  position: relative;
  vertical-align: top;
  box-sizing: border-box;
  text-align: center;
}

#time-list-box .item.close {
  color: tomato;
}

#time-list-box .item {
  cursor: pointer;
}

#time-list-box .item.on {
  background-color: #3181cb;
  color: #fff;
}

#time-list-box .item.on .state { color:#fff}

.hr-info {
  margin-top: 20px;
    border-top: 1px solid #ddd;
  padding-top: 30px;
}
.hr-info .row {
  overflow: auto;
  padding: 5px 0;
}
.hr-info label {
  width: 140px;
  display: inline-block;
  padding-left: 10px;
}
.hr-info textarea {
  width: 100%;
  height: 100px;
  border: 1px solid #ddd;
}
.hr-info .row .item {
  float: left;
  width: 50%;
}


.hr-info .row .frm_input { font-size:15px}

/* 가로모드 모바일 디바이스 (가로 해상도가 768px 보다 작은 화면에 적용) */
@media (max-width: 767px) {
  .hr-info .row .item {
    float: left;
    width: 100%;
    margin-bottom: 5px;
  }
  .hr-info .row .item:nth-child(even) {
    margin-bottom: 0px;
  }
}

.r-available {
  display: inline-block;
  width: 30px;
  height: 20px;
  margin-right: 5px;
  background-color: #dceaff;
  vertical-align: middle;
  font-weight:500;
  line-height: initial;
}

.form-box .action {
  text-align: center;
  padding: 0.8em;
}
.form-box .action .btn_submit {
  border-radius: 0;
  font-weight: 500;
  display: inline-block;
  padding: 25px 45px;
  line-height: 0;
  font-size:16px
}

/* list */
.list-box {
  width: 100%;
  margin: 10px auto;
  font-size:16px;
  font-weight:300
}
.list-box .btn {
  border-radius: 0;
  padding: 0;
  font-weight: 500;
  padding: 20px 35px;
  line-height: 0;
}
.list-box table.list {
  width: 100%;
}
.list-box table.list .pix {
	display:inline-block;
	width: 55px;
    height: 35px;
    line-height: 35px;
	font-weight:500;
	font-size:16px
	}
	
.list-box table.list .status0 p{
width: 55px;
background-color:#666;
color:#fff;
margin: 0 auto;
  }
	
.list-box table.list .status0 {


   width: 50%;
  

}

.list-box table.list .status1 {
	 background-color:#3181cb;
	 color:#fff
}

.list-box table.list .status2 {
	 background-color:#d70000;
	 color:#fff
}

@media (max-width: 767px) {
  .list-box table.list {
    letter-spacing: 0;
    font-size: 14px;
  }
	.list-box table.list .status0 {
    display: block;
    width: 100%;
	}
}

.list {
  border-collapse: collapse;
}
.list caption {
  display: none;
}

.list td,
.list th {
  border-bottom: 1px solid #ccc;
  line-height: 50px;
  height: 50px;

}
.list th {
  line-height: 50px;
  height: 50px;
  background-color: #f6f6f6;
  border-top: 2px solid #888;
}
@media (max-width: 767px) {
  .list td,
  .list th {
    height: 22px;
    line-height: 22px;
    font-size:13px;
  }
}

.list td span,
.list th span {
  display: inline-block;
  width:50%;
  text-align:center;
}


#fsearch {
  position: absolute;
  display: none;
  width: 430px;
  max-width: calc(100vw - 32px);
  padding: 28px 30px 30px;
  background-color: #fff;
  border-radius: 8px;
  border: 1px solid #d8dee8;
  box-shadow: 0 18px 50px rgba(10, 31, 52, 0.18);
  box-sizing: border-box;
}
#fsearch .reservation-search-head {
  margin-bottom: 22px;
}
#fsearch h2 {
  margin: 0 0 8px;
  padding: 0 0 12px;
  font-size: 22px;
  line-height: 1.35;
  border-bottom: 1px solid #e4e8ee;
  color: #17263a;
}
#fsearch .reservation-search-head p {
  margin: 0;
  padding-top: 4px;
  color: #6d7785;
  font-size: 14px;
  line-height: 1.6;
}
#fsearch label {
  display: block;
  width: auto;
  margin-bottom: 7px;
  font-weight: 600;
  color: #263547;
}
#fsearch .field {
  margin-bottom: 16px;
}
#fsearch .field .frm_input {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 1px solid #d3d9e1;
  border-radius: 3px;
  box-sizing: border-box;
  font-size: 15px;
  background: #fff;
}
#fsearch .field .frm_input:focus {
  border-color: #3488d1;
  outline: none;
  box-shadow: 0 0 0 2px rgba(52, 136, 209, 0.10);
}
#fsearch .action {
  margin-top: 22px;
  text-align: center;
}
#fsearch .action .btn_submit {
  width: 100%;
  min-height: 46px;
  padding: 11px 16px;
  border-radius: 3px;
  font-size: 15px;
  font-weight: 600;
}

.reservation-list-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
}

.reservation-list-actions .reservation-check-bottom,
.reservation-list-actions .btn02 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  min-height: 32px;
  padding: 0 10px !important;
  margin: 0;
  border-radius: 3px;
  box-sizing: border-box;
  line-height: 1;
  vertical-align: middle;
}

.reservation-check-bottom {
  border-radius: 3px;
}

.reservation-empty {
  padding: 30px 15px;
  text-align: center;
}
.reservation-empty > p {
  margin: 0;
}
.reservation-empty-guide {
  margin-top: 10px;
  color: #777;
  font-size: 14px;
  line-height: 1.6;
}
.reservation-check-cta {
  margin-top: 14px;
  padding: 10px 18px;
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 640px) {
  #fsearch {
    width: calc(100vw - 28px);
    padding: 22px 20px 24px;
  }
  #fsearch h2 {
    font-size: 20px;
  }
}
/* 가로모드 모바일 디바이스 (가로 해상도가 768px 보다 작은 화면에 적용) */
@media (max-width: 767px) {
  .list td span,
  .list th span {
    display: block;
    width: 100%;
  }
}

/* 지점 + 의료진 선택 영역 */
.reservation-doctor-section {
  margin-top: 30px;
  border-top: 1px solid #ddd;
  padding-top: 30px;
}

.reservation-type-section {
  margin-top: 30px;
  border-top: 1px solid #ddd;
  padding-top: 30px;
}

.reservation-time-section {
  margin-top: 30px;
  border-top: 1px solid #ddd;
  padding-top: 30px;
}


.reservation-doctor-panel {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 22px;
  width: min(100%, 1100px);
  margin-top: 14px;
  align-items: stretch;
}

.reservation-doctor-controls {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0;
  padding: 22px;
  border: 1px solid #e0e5eb;
  background: #fff;
  box-sizing: border-box;
}

.reservation-select-field label {
  display: block;
  margin-bottom: 8px;
  color: #445366;
  font-size: 13px;
  font-weight: 700;
}

#hr_branch,
#dt_id {
  display: block;
  width: 100%;
  height: 46px;
  min-width: 0;
  margin: 0;
  padding: 0 38px 0 13px;
  float: none;
  border: 1px solid #d6dde5;
  background: #fff;
  box-sizing: border-box;
  color: #1b2737;
  font-size: 15px;
}

#hr_branch:focus,
#dt_id:focus {
  border-color: #2f86cc;
  outline: none;
  box-shadow: 0 0 0 2px rgba(47, 134, 204, 0.08);
}

#dt_id:disabled {
  background: #f4f6f8;
  color: #9aa3ad;
}

#doctor-box.doctor-profile-card {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  width: 100%;
  min-width: 0;
  min-height: 230px;
  margin: 0;
  border: 1px solid #e0e5eb;
  border-left: 3px solid #2f86cc;
  background: #f8fafc;
  box-sizing: border-box;
  overflow: hidden;
}

.doctor-profile-photo {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 230px;
  padding: 8px 12px 0;
  background: #fff;
  border-right: 1px solid #e4e8ed;
  box-sizing: border-box;
}

#doctor-box .doctor-profile-photo img {
  display: block;
  width: 100%;
  max-width: 185px;
  height: 220px;
  object-fit: contain;
  object-position: center bottom;
  float: none;
}

#doctor-box .d-info {
  width: auto;
  min-width: 0;
  padding: 32px 38px;
  float: none;
  box-sizing: border-box;
  color: #273548;
  font-size: 15px;
  word-break: keep-all;
}

.doctor-profile-meta {
  margin-bottom: 8px;
  color: #2788c9;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -.02em;
}

#doctor-box .d-info h4 {
  margin: 0;
  color: #132238;
  font-size: 25px;
  line-height: 1.35;
  font-weight: 700;
}

.doctor-profile-major {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #dfe5ea;
}

.doctor-profile-major span {
  display: block;
  margin-bottom: 7px;
  color: #6c7785;
  font-size: 12px;
  font-weight: 700;
}

.doctor-profile-major p {
  margin: 0;
  color: #3c4a5c;
  font-size: 15px;
  line-height: 1.75;
}

.doctor-profile-empty {
  grid-column: 1 / -1;
  display: flex;
  min-height: 230px;
  padding: 30px 36px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  box-sizing: border-box;
  color: #788390;
}

.doctor-profile-empty strong {
  margin-bottom: 7px;
  color: #344357;
  font-size: 17px;
}

.doctor-profile-empty span {
  font-size: 13px;
  line-height: 1.6;
}

.reservation-doctor-section + section {
  margin-top: 30px;
}

/* 중간 폭에서는 좌측 선택패널을 조금 줄이고 카드 공간 확보 */
@media (max-width: 1100px) {
  .reservation-doctor-panel {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 16px;
  }

  .reservation-doctor-controls {
    padding: 18px;
  }

  #doctor-box.doctor-profile-card {
    grid-template-columns: 180px minmax(0, 1fr);
  }

  #doctor-box .doctor-profile-photo img {
    max-width: 160px;
  }

  #doctor-box .d-info {
    padding: 28px 28px;
  }
}

/* 태블릿 이하: 선택영역 위, 의료진 카드 아래 */
@media (max-width: 767px) {
  .reservation-doctor-section {
    margin-top: 24px;
  }

  .reservation-doctor-panel {
    display: block;
    width: 100%;
    margin-top: 10px;
  }

  .reservation-doctor-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 14px;
    padding: 16px;
  }

  #doctor-box.doctor-profile-card {
    grid-template-columns: 130px minmax(0, 1fr);
    min-height: 180px;
  }

  .doctor-profile-photo {
    min-height: 180px;
  }

  #doctor-box .doctor-profile-photo img {
    max-width: 125px;
    height: 180px;
  }

  #doctor-box .d-info {
    padding: 22px 18px;
  }

  #doctor-box .d-info h4 {
    font-size: 20px;
  }

  .doctor-profile-major {
    margin-top: 16px;
    padding-top: 13px;
  }

  .doctor-profile-empty {
    min-height: 150px;
    padding: 24px 22px;
  }
}

/* 작은 모바일: 셀렉트도 한 줄씩, 프로필도 세로형 */
@media (max-width: 480px) {
  .reservation-doctor-controls {
    grid-template-columns: 1fr;
  }

  #doctor-box.doctor-profile-card {
    grid-template-columns: 1fr;
  }

  .doctor-profile-photo {
    min-height: 190px;
    border-right: 0;
    border-bottom: 1px solid #e4e8ed;
  }

  #doctor-box .doctor-profile-photo img {
    max-width: 160px;
    height: 190px;
  }

  #doctor-box .d-info {
    padding: 20px;
  }

  .doctor-profile-empty {
    min-height: 130px;
    padding: 22px 20px;
  }
}


@media (max-width: 640px) {
input {
   -webkit-appearance: none;
   -webkit-border-radius: 0;
}
}

/* 고객 온라인예약: 의료진 선택 비노출 / 지점 선택 단독 레이아웃 */
.reservation-doctor-panel.reservation-branch-only {
  grid-template-columns: minmax(0, 420px);
}

@media (max-width: 1100px) {
  .reservation-doctor-panel.reservation-branch-only {
    grid-template-columns: minmax(0, 420px);
  }
}

@media (max-width: 767px) {
  .reservation-doctor-panel.reservation-branch-only .reservation-doctor-controls {
    display: block;
  }
}


/* 수원점 예약 안내 배너 - 지점에서 수원점 선택 시에만 노출 */
.suwon-reservation-banner {
  margin: 18px 0 4px;
  width: 100%;
}

.suwon-reservation-banner[hidden] {
  display: none !important;
}

.suwon-reservation-banner > a {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}

.suwon-reservation-banner > a:hover,
.suwon-reservation-banner > a:focus {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(46, 123, 240, .18);
}

.suwon-reservation-banner picture,
.suwon-reservation-banner img {
  display: block;
  width: 100%;
}

.suwon-reservation-banner img {
  height: auto;
}


/* 수원점 선택 시 본점 온라인예약 입력폼 잠금 */
#frmhr.is-suwon-branch .suwon-lockable-privacy,
#frmhr.is-suwon-branch .suwon-lockable {
  display: none !important;
}
