/* 게시판 화면을 좁은 화면에 맞춘다 — 1240px 이상 넓은 화면은 그대로 둔다 */
@media (max-width:1239.98px){
    #hd,#wrapper,#ft{min-width:0}
    #hd_pop,#hd_wrapper,#tnb ul,#gnb .gnb_wrap,#container_wr,#ft_wr{width:auto;max-width:100%}
    #hd_wrapper,#gnb,#container_wr,#ft_wr{box-sizing:border-box;padding-left:16px;padding-right:16px}
    #container{width:calc(100% - 325px);box-sizing:border-box}
    #aside{box-sizing:border-box}
    .hd_sch_wr{position:static;width:auto;margin:0}
    #container img,#bo_v_con img{max-width:100%;height:auto}
    #container input,#container select,#container textarea{max-width:100%;box-sizing:border-box}
}
@media (max-width:768px){
    #container,#aside{float:none;width:auto;margin:20px 0}
    #logo img{max-width:160px;height:auto}
    .latest_wr,.lt_wr{float:none !important;width:100% !important;margin-left:0 !important;margin-right:0 !important}
    #new_sch,#faq_sch{padding-left:10px;padding-right:10px}
    .pic_lt li{width:50%}
    .tbl_wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
    .tbl_wrap th,.tbl_wrap td{padding-left:4px;padding-right:4px}
}
/* 게시판 첫 화면 팝업 — 고정 좌표가 화면 밖으로 나가지 않게 오른쪽에 맞춘다 */
@media (max-width:1379.98px){
    #divpop0{left:auto !important;right:432px}
    #divpop1{left:auto !important;right:16px}
}
@media (max-width:863.98px){
    #divpop0,#divpop1{left:16px !important;right:16px !important;max-width:400px}
    #divpop0{z-index:10000 !important}
    #divpop1{top:190px !important}
    .pop_div form>div:first-child{width:auto !important;max-height:none !important}
    .pop_div img{max-width:100%;height:auto}
}
/* 내용 화면 문단 사이를 띄운다 */
#ctt_con p{margin:0 0 18px}
/* 방문 환자에게 필요 없는 칸을 숨긴다 */
#tnb,#ol_before,#visit,#hd_qnb .visit{display:none}
