/* 최신 Gnuboard와 기존 상무병원 디자인의 접점 보정 */
.container_sub {background:transparent;} .content {box-sizing:border-box;}
.con_body #ctt {padding:0;margin:0;border:0;background:transparent;}
.con_body #ctt .ctt_admin {display:none;}
#bo_list,#bo_v {max-width:100%;box-sizing:border-box;} #container_title {display:none;}
@media(max-width:900px){.container_sub{width:96%;}.content{width:100%;}.con_body{padding:20px 12px 45px;min-height:400px;}.con_body table{max-width:100%;}.con_head h3{font-size:26px;}.con_body img{max-width:100%;height:auto;}}

.table-list{width:100%;border-collapse:collapse;font-size:12px;border-top:2px solid #535353}.table-list th,.table-list td{padding:8px 5px;border:1px solid #a8a8a8}.table-list th{background:#f4f4f4}.table-list .center{text-align:center}.table-wrap{overflow-x:auto}.con_body .dctbox{max-width:100%}.bbscon .lt{margin:0;padding:0}.bbscon li{list-style:none}
@media(max-width:900px){.tabMenu{display:flex;flex-wrap:wrap}.tabMenu li{min-width:25%;box-sizing:border-box}.dctbox .dcimg{max-width:35%}.dctbox .dcinfor{box-sizing:border-box}.table-list{min-width:680px}}

/* Mobile navigation and preserved floor-plan layers. */
.Pstyle{opacity:0;display:none;position:relative;width:auto;padding:20px;border:5px solid #fff;background-color:#fff}.Pstyle .b-close{position:absolute;right:0;top:0;cursor:pointer;z-index:1}.Pstyle img{max-width:90vw;height:auto}
@media(max-width:900px){#nav .m_gnb.is-open{display:block!important;position:fixed;top:0;left:0;bottom:0;width:85%;max-width:340px;overflow-y:auto;background:#fff;z-index:10000;box-shadow:0 0 0 100vmax rgba(0,0,0,.4)}#nav .m_gnb li a{display:block;padding:14px}.leftBox{display:none}}

/* 운영 디자인은 content-box 기준. 신규 컴포넌트만 기존 개별 box-sizing 선언 사용. */
.content {box-sizing:content-box;}
/* 예약확인 입력칸이 좁은 화면에서 부모의 overflow에 잘리지 않도록 한다. */
@media (max-width:900px) {
 .container_sub .con_body {box-sizing:border-box;}
 #f_schedule {width:100%;min-width:0;}
 #f_schedule table {width:100%;table-layout:fixed;}
 #f_schedule .form-style {max-width:100%;}
 #f_schedule input[name="reservation_phone2"],#f_schedule input[name="reservation_phone3"] {width:calc((100% - 135px)/2)!important;min-width:35px;}
 #f_schedule select[name="reservation_phone1"] {width:80px!important;padding-right:15px;}
 #f_schedule .btn_set {padding-left:0;padding-right:0;}
 .container_sub .con_body .respon_table td {overflow-wrap:anywhere;}
}

/* 층별 평면도: 본문 보안 필터 및 레이아웃 overflow와 독립된 대화상자. */
dialog.sangmoo-floorplan{box-sizing:border-box;width:max-content;max-width:94vw;max-height:92vh;margin:auto;padding:44px 12px 12px;border:5px solid #fff;background:#fff;overflow:auto;}
dialog.sangmoo-floorplan::backdrop{background:rgba(0,0,0,.7);}
dialog.sangmoo-floorplan img{display:block;width:auto;max-width:calc(94vw - 34px);max-height:calc(92vh - 70px);height:auto;}
dialog.sangmoo-floorplan .floorplan-close{position:absolute;right:10px;top:8px;padding:6px 10px;background:#f1f1f1;color:#333;font-size:16px;cursor:pointer;}
