/* 시설이용신청 — 기존 skin/board/booking/style.css, skin/board/room/style.css 그대로 (전역 table 규칙만 .room-skin 안으로 한정) */

/* 버튼영역 */
.mara_btn_area {margin:10px 0 0 0;padding:10px 0 9px;border:1px solid #e6e6e6;text-align:center;background:#f5f5f5;}
.mara_btn_area form {display:inline;}
.mara_btn_area .img-btn {padding:0;border:0;background:none;cursor:pointer;vertical-align:middle;}

/* colgroup 제어 */
.rm_grid_1 {width:5%}
.rm_grid_2 {width:10%}
.rm_grid_3 {width:15%}
.rm_grid_4 {width:20%}
.rm_grid_5 {width:25%}
.rm_grid_6 {width:30%}
.rm_grid_19 {width:14%}
.empty_table {padding:85px 0 !important;}
.sound_only {display:inline-block !important;position:absolute;top:0;left:0;width:0;height:0;margin:0 !important;padding:0 !important;font-size:0;line-height:0;border:0 !important;overflow:hidden !important;}

/* list */
#mara_list {margin:0;padding:0;}
#mara_list table {width:100%;border-spacing:0;border-collapse:collapse;}
#mara_list table caption {overflow:hidden;font-size:0;line-height:0;}
.mara_rl th {padding:5px 0 3px 0;border:1px solid #e6e6e6;text-align:center;line-height:1.6em;background:#f5f5f5;}
.mara_rl td {padding:5px 7px 3px 7px;border: 1px solid #e6e6e6;text-align:center;vertical-align:middle;line-height:1.6em;}
.mara_rl a {color:#466c8a;}

/* write */
#mara_write {margin:0;padding:0;height:100%;}
#mara_write .card .row > .col { margin-bottom: 10px; }
#mara_write .custom-switch-lg { zoom:1.5; }
#mara_write h2 { margin:15px 0 ; font-size:24px;}
#mara_write h2 p { font-size:18px; }
#mara_write p.select {float:right;padding:0;margin:0;}
#mara_write .day_select {width:auto;display:inline-block;}
.mara_rw thead th { text-align:center; background:#f5f5f5; }
.reservation-error {margin:0 0 15px;padding:10px 15px;border:1px solid #f5c6cb;background:#f8d7da;color:#721c24;white-space:pre-line;}

/* view */
#mara_view {margin:0;padding:0;}
#mara_view h2.status, #mara_view h2.guide {position:relative;width:100%;height:30px;}
#mara_view table {margin-bottom:15px;width:100%;border-spacing:0;border-collapse:collapse;}
#mara_view table caption {overflow:hidden;font-size:0;line-height:0;}
#mara_view th,
#mara_view td {padding:7px 10px 5px 10px;border:1px solid #e6e6e6;line-height:1.6em;}
#mara_view th {background:#f5f5f5;font-weight:bold;text-align:center;}
#mara_view strong {color:#333;}
#mara_view strong.red {color:#ff0000;}
#mara_view .explain {margin:0;padding:10px 10px 10px 30px;border:1px solid #ebebeb;background:#fafafa;line-height:1.6em;}
#mara_view .explain li {margin:0;padding:0;}
#mara_view .explain span {color:#ff0000;}

/* calendar */
#mara_cal {margin:0;padding:0;}
#mara_cal .title {padding:0 0 20px 0;font-size:24px;font-weight:normal;text-align:center;}
#mara_cal .explain {margin-bottom:10px;padding:10px;border:1px solid #ebebeb;background:#fafafa;line-height:1.6em;text-align:center;}
#mara_cal table {width:100%;border-spacing:0;border-collapse:collapse;}
#mara_cal table caption {overflow:hidden;font-size:0;line-height:0;}
#mara_cal th {padding:5px 7px 3px 7px;border:1px solid #e6e6e6;line-height:1.6em;height:0;font-weight:bold;text-align:center;background:#f5f5f5;}
#mara_cal th.red {color:#ff0000;}
#mara_cal td {padding:5px 0 3px 4px;height:100px;border:1px solid #e6e6e6;line-height:1.6em;vertical-align:top;cursor:pointer;}
#mara_cal td:hover { background:rgba(255,51,0,.1); }
#mara_cal td.gray {color:#999;}
#mara_cal td.null {background:#fafafa;cursor:default;}
#mara_cal td.null:hover {background:#fafafa;}
#mara_cal td p {margin:0;padding:0;line-height:1.6em;}
#mara_cal td .title_day {padding:0 0 5px;}
#mara_cal td .day {padding:0 0 5px 0;}
#mara_cal td span.open {color:#333; font-size:14px; font-weight:normal; float:none; }
#mara_cal td span.close {color:#999; font-size:14px; font-weight:normal; float:none; }
#mara_cal td span.open:hover { color:#F30; }

@media (max-width: 740px){
	#mara_cal { font-size:12px; }
	.table-responsive table { width:max-content; }
	.table-responsive table .date { font-size:14px; }
	#mara_cal .gray a { display:none; }
	#mara_cal td { height:60px; }
	#mara_cal td img { display:none; }
}

/* room (시설관리) — 기존 room/style.css. 전역 table 규칙은 .room-skin 안으로 */
.room-skin table {width:100%;border-collapse:collapse;border-spacing:0;}
.room-skin caption.hidden {overflow:hidden;font-size:0;line-height:0;}
.room-skin .frm_essential {padding-right:10px; background:url(./img/bg_formEssential.gif) no-repeat 100% 4px;}
.mara_write th {padding:8px 0 7px 10px;border:1px solid #e6e6e6;text-align:left;background:#f5f5f5;}
.mara_write tbody td {padding:8px 0 7px 10px;border:1px solid #e6e6e6;text-align:left;line-height:1.8em;}
.mara_write tbody td input.short {width:180px;padding:2px 0 2px 3px;border:1px solid #999;}
.mara_write tbody td textarea {width:95%;height:100px;padding-left:3px;border:1px solid #999;}
/* 기존 room/style.css 의 .subject/.booking 규칙은 .mara_view_wrap 대상이라 시설 상세(.mara_view_wrap2)에는 적용되지 않음 — 넣지 않음 */
#room_view { border-radius:10px; }
#room_view .carousel-item { border-radius:10px; }
#room_view img { max-width:100%; height:auto; border-radius:8px; }
.room-inactive {color:#999;font-size:12px;}
