/* 서브공통 */
.container_wrap {width: 100%;}
.container {width: 100%; margin: 0 auto; padding: 20px 40px; position: fixed; left: 0; top: 0; right: 0; bottom: 100px; overflow-y: scroll}
h1{color:#1d1d1d; font-size: 27px; margin-bottom: 25px;}
h2{font-size: 22px; margin-bottom: 20px;}

/*이미지 가운데 오기_팜가드 시작*/
.img_center{
  position:absolute; top:0;right:0;bottom:0;left:0; display:-webkit-box; display:-moz-box; display:-ms-flexbox; display:-webkit-flex; display:flex;
  align-items:center; justify-content:center; -webkit-align-items:center; -webkit-justify-content:center; -webkit-box-pack:center; -webkit-box-align:center;
	-moz-box-pack:center; -moz-box-align:center; -ms-box-pack:center; -ms-box-align:center;}
.img{width:88%; height: auto; display: block; max-width: 420px;}

/*버튼_하단에 나오는 버튼*/
.btn{padding: 0px 40px; width:100%; max-width: 1400px; display: flex; position: fixed; bottom: 10px;}
.btn li{flex: auto; margin: 5px;}
.btn li.img_btn{flex:none}
.btn button{width:100%; border-radius: 5px; padding: 15px; text-align: center; font-size: 16px; }
.btn .prev{border: 1px solid #000; background: #fff; color:#333;}
.btn .next{border: 1px solid #000; background: #000; color:#fff;}
.btn .message{border: 1px solid #7d7d7d; background: #7d7d7d; color:#fff;}
.btn .img_prev{border: 1px solid #000; background: #fff; color:#333; padding: 11px;}
.btn .img_prev img{width:30px; height: 25px;}

/*환자정보_셀렉트박스_반응형으로*/
.step1 {overflow: hidden;}
.step1 .box_left, .step1 .box_right{position: relative;}
.step1 .step_wrap{width:50%; float: left; margin-bottom: 5px}
.step1 .step_wrap > div, .step1 .step_wrap2 > div{width:100%; padding: 5px 7px;}
.step1 .step_wrap2{overflow: hidden; width:50%; margin-bottom: 5px; float: left}
.step1 .box_right, .step1 .step_wrap2 .box_right{float: right;}
.step1 .box_left, .step1 .step_wrap2 .box_left{float: left;}
.step1 .p_bordersss{width:100%}

/*환자 정보_내용 디자인*/
.step1 label b{color: #fa3c3c; margin-left: 5px;}
.step1 label, .add_con label{font-size: 14px; color: #868686; position: absolute; top: 20px; left: 24px;}
.step1 input:-internal-autofill-selected {background-color: #f8f8f8 !important}
.step1 input{padding:45px 18px 18px 18px;font-size: 17px; color: #333; background:url('./images/calender.png') no-repeat right 50%; }

.step1 select::-ms-expand, .add_con select::-ms-expand {display: none;}
.step1 select:focus, .step1 input:focus, .add_con select:focus, .add_con input:focus, .add_con li > p:focus-within{border-color: #333;}
.step1 select:focus, .add_con select:focus{background:url('./images/v2.svg') no-repeat right 50% !important; background-size: 28px 7px !important; }
.step1 select{ width:100%; padding:45px 18px 18px 18px; border:1px solid #ddd; border-radius:0px; font-size: 17px; color: #333;}
.step1 select{background:url('./images/v.svg') no-repeat right 50%; background-size: 28px 7px;  -webkit-appearance: none; -moz-appearance: none; appearance : none;}

/*특정내역 추가 시 나오는*/
.add_con{width: 100%; background: #f8f8f8; display: none; min-height: 60vh}
.add_con.on{display: block}
.add_con li{position: relative; padding: 10px 10px 0 10px}
.add_con select, .add_con input{border: 1px solid #ddd; background: #fff; padding:45px 18px 18px 18px; width: 100%; text-align: left}
.add_con select{background:url('./images/v.svg') no-repeat right 50% #fff; background-size: 28px 7px;  -webkit-appearance: none; -moz-appearance: none; appearance : none;}
.add_con textarea{resize: none; width: 100%; border: none;}
.add_con li > p{border: 1px solid #ddd; background: #fff; padding:35px 10px 2px 10px; text-align: left}

/*특정내역 버튼*/
.add_btn{overflow: hidden}
.add_btn > div{padding: 2px 2px 10px 2px;}
.add_btn .wd_50 button{border-radius: 10px; padding: 8px; width:100%; line-height: 1.5em}
.add_btn .float_l button{background: #eee; border: 1px solid #ddd;}
.add_btn .float_r button{background: #666; border: none;  color: #fff;}

/*상병처방*/
ul.items > li{margin-bottom: 15px;}
ul.items .items_con{border: 1px solid #ddd; padding: 15px;}
ul.items .items_con.null{padding: 20px; text-align: center;}
ul.items .sub{font-size: 14px; color: #868686; margin-bottom: 10px;}
ul.items .close img{width: 10px; height: 10px; display: block; float: right}
.items dl{border-top: 1px solid #ddd; margin-top: 10px; padding-top: 10px; font-size: 14px; display: flex}
.items dt b, .items dd b{font-weight: normal; color: #868686}
.items .items_con > div{font-size: 18px}
.items dt, .items dd{flex: auto}
.items dd{text-align: right}
.items .more img{width:20px; height: 7px; display: block;}
.items .more{display: inline-block; border: none; background: none}
.btn_add{background: #eee; border: 0; border-radius: 5px; padding: 10px; width: 100%; text-align: center; font-size: 16px;}

/*처방 토글*/
.cheobang_info{margin-top: 10px}
.cheobang_info li{width:50%; position: relative; display: inline-block;}
.cheobang_info li:nth-child(even){float: right}
.cheobang_info li div{background: #f8f8f8; border:1px solid #ddd; padding: 22px 15px 10px 15px; margin: 5px; text-align: right}
.cheobang_info li b{font-size: 13px; font-weight: normal; color: #868686; position: absolute; top: 10px; left: 10px;}
.cheobang_info li.t_left{width:100%;}
.cheobang_info li.t_left > div{padding: 16px 15px 16px 15px; vertical-align: middle; text-align: left}
.cheobang_info li.t_left img{width:21px; height: auto; margin-bottom: -5px; margin-right: 6px;}
.cheobang_info li.t_left span{text-decoration: underline; color: #4589e6; margin-left: 6px; cursor: pointer}
.rotate_img{transform: rotate(180deg); -webkit-transform: rotate(180deg); -moz-transform: rotate(180deg); -o-transform: rotate(180deg); -ms-transform: rotate(180deg);}
.cheobang_info li div input {border: none; text-align: right}


/*팝업 공통*/
.popup {position: fixed; top: 0; right: 0;	bottom: 0;	left: 0; z-index: 2}
.pop_dark {position: absolute;top: 0;right: 0;	bottom: 0;	left: 0;background: #000; opacity: 0.3; z-index: 1}
.pop_con{position: fixed; z-index: 5; top: 18px; right: 18px; bottom: 18px; left: 18px; background: #fff; border-radius: 15px; padding: 20px; }
.pop_con .close img, .pop_con2 .close img, .popup_manual .close img, .pop_con2 .close2 img, .pop_con .close2 img{width: 15px; height: 15px; display: block; margin-top: 5px; float: right}
.pop_con2{position: fixed; z-index: 5; top: 50%; margin-top: -110px; height: 200px; right: 18px; left: 18px; background: #fff; border-radius: 15px; padding: 20px; }

/*팝업_검색창*/
.search{border: 1px solid #cfcfcf; background: #dcdcdc; padding: 8px 9px; position: relative}
.search input[type="text"]{border: 1px solid #cfcfcf; padding: 8px;} 
.search .sc_btn{position: absolute; width: 21px; height: 21px; border: none; top: 13px; right: 15px;}

/*팝업창 스크롤*/
.pop_scroll_04{overflow-y: scroll; position: fixed; left: 38px; right: 38px; bottom: 38px; top: 348px;}
.pop_scroll, .pop_scroll_02{overflow-y: scroll; position: fixed; left: 38px; right: 38px; bottom: 77px;}
.pop_scroll{top:185px;}
.pop_scroll_02{top:134px;}

/*팝업창 테이블*/
.pop_table {width:100%; border-top: 1px solid #ddd; border-left: 1px solid #ddd;  }
.pop_table th, .pop_table td{border-bottom: 1px solid #ddd; border-right: 1px solid #ddd; padding: 10px; line-height: 1.7em;} 
.pop_table th{background: #f8f8f8;}
.pop_btn_add{position: fixed; bottom: 18px;; left: 25px; right: 25px; background: #fff; padding: 10px; border-radius: 5px;}
.top_br_none{border-top: none}
#.pop_table tr:hover td{background: #f8f8f8}/*border-top: 1px solid #000 !important; border: 1px solid #000; 위에가 안생겨서 라인생긴거는 지움*/

/*팝업창 기타*/
.plus{width:20px; height: 20px; display: block; margin: auto}
.visible_03 .pop_scroll_02{border-left: 1px solid #ddd; border-right: 1px solid #ddd; border-bottom: 1px solid #ddd;}
.visible_03 .pop_scroll_02 .pop_table{border-left: none;}
.visible_03 .pop_scroll_02 .pop_table td:last-of-type{border-right: none}
.visible_03 .pop_scroll_02 .pop_table td img{display: block; margin: auto}

/*결과_탭
.teb_con{border: 1px solid #ddd; background: #fff; padding: 10px 10px -20px 10px; margin-top: -1px; height: 100%; overflow: hidden}
*/
.tab{margin-top: 20px; position: relative}
.tab ul.tab_list li.current{border-color: #ddd;  border-bottom: 1px solid #fff; background: #fff; position: relative; z-index: 1;}
.tab ul.tab_list li{border: 1px solid #9f9f9f; background: #dcdcdc; border-bottom: 1px solid #ddd; display: inline-block; padding: 7px 12px; margin-right: 3px; font-size: 16px;}
.tabcontent {display: none;}
.tabcontent.current {display: block;}

/*결과_고시*/
.manual{padding: 5px; margin-top: 15px;}
.manual li{line-height: 1.6em;}
.manual .tit{margin-bottom: 15px; font-weight: bold}
.detail{padding: 5px;}
.gosi img{width:20px; height: 7px; display: block;}
.gosi{display: inline-block; border: none; background: none}

.pop_table.btn_center td:last-of-type{text-align: center}
td .msg_toggle dl{display: none}
.tb_msg td.on{background: #e4f5ff !important; font-weight: bold;}

/*추가 수정: 세로창 나뉘게..
.pop_scroll_03{top:84px; position: fixed; left: 38px; right: 38px; bottom: 77px; overflow-y: scroll;}*/
.pop_scroll_03{ top:84px; position: fixed; left: 38px; right: 38px; bottom: 77px; }
.pop_scroll_03 .flex_body{position: absolute; left: 0px; right: 0px;}
.pop_scroll_03 .flex_body.topsss{top: 0px; bottom: 50%;}
.pop_scroll_03 .flex_body.bottomss{top: 50%; bottom: 10px;}

.scroll_box{position: absolute; overflow-y: scroll; left: 0px; right: 0px; bottom: -10px;}
.flex_body.topsss .scroll_box{top:49px; bottom: -5px;}
#tab1 .scroll_box{top:134px;}
#tab2 .scroll_box{top:134px;}
#tab3 .scroll_box{top:84px;}

/*추가_상병 처방 버튼 빼달라*/
.chuga{position: fixed; bottom: 80px; z-index: 1; left: 10px;}
.chuga li{margin-bottom: 10px;}
.chuga li button{background: #eee; border: 0; width:50px; height: 50px; border-radius: 25px; overflow: hidden;
	background: #eee url("./images/plus.svg") no-repeat; background-position: 90% center; background-size: 11px 11px; text-align: left; padding-left: 7px}
#.chuga li button.on{width:60px; background-position: 90% center;}

/*매뉴얼_대빵팝업*/
.popup_manual{position: fixed; top: 0; right: 0; bottom: 0;	left: 0; background: #fff; z-index: 10; padding: 20px;}

/*커서 포인터*/
.step1 input, .step1 select, .btn button, .btn_add, .close, .items .more, .search .sc_btn, .plus, .gosi
{cursor: pointer}

/*추가:삭제하시겠습니까?-20220110*/
.btn_box2{display: flex; position: absolute; bottom: 10px; left: 10px; right: 10px; background: #fff; padding: 10px; border-radius: 5px;}
.btn_box2 button{flex: auto; border: 0; border-radius: 5px; padding: 10px; text-align: center; font-size: 14px; margin: 2px;}
.btn_box2 button.btn_del{background: #666; color: #fff;}
.btn_box2 button.btn_can{background: #eee;}
.btn_box2 button.btn_del:hover{background: #555;}
.btn_box2 button.btn_can:hover{background: #e1e1e1}

/*추가:로그인-20220120*/
.wrap_con{position: absolute; top:60px; left: 35px; right: 35px; bottom: 0; overflow-y: scroll;}
.input_login img{margin-bottom: 15px}
.input_login .id{background: url('./images/icon_login_id.svg') no-repeat; background-size: 25px 25px; background-position: 6px 8px; position: relative}
.input_login .pw{background: url('./images/icon_login_pw.svg') no-repeat; background-size: 25px 25px; background-position: 6px 8px; position: relative}
.input_login button.find{background: #fff; border: 0; display: block; margin: auto; text-decoration: underline}
.input_login input:focus, .input_login .id:focus-within, .input_login .pw:focus-within{border: 1px solid #000}
.input_login .id input[type="text"], .input_login .pw input[type="text"], .input_login .pw input[type="password"]{border: 0; padding: 0; padding-left: 0; margin-bottom: 0; width:90%}
.input_login input[type="text"], .input_login input[type="password"], .input_login .id, .input_login .pw
{width:100%; border: 1px solid #ddd; padding: 12px; padding-left: 35px; margin-bottom: 5px}

/*추가:우측-20220120*/
h1 > button{float: right;}
button.btn-close{float: right; background: none; border: 0; width: 21px; height: 21px;padding-top: 0px}
button.menu{background: none; border: 0; width: 21px; height: 21px;padding-top: 0px}

.pop-layer.opened {display: block; width: 100%; height: 100%; visibility: visible;opacity: 1; background: rgba(0, 0, 0, 0.4);}
.pop-layer {position: fixed;top: 0;left: 0;width: 0;height: 0; z-index: 1000; visibility: hidden;opacity: 0;}
.pop-layer.opened .pop_content{opacity: 1; visibility: visible; width: 80%; height: 100%; right: 0;}
.pop-layer .pop_content {top: 0;right: -80.18519vw;width: 80.18519vw;background-color: #fff; position: absolute; z-index: 1002; bottom: 0;opacity: 0;visibility: hidden;}
.pop-layer.opened .pop_content, .pop-layer .pop_content, .pop_content{-webkit-transition: all .25s ease;transition: all .25s ease;}

.d_info{width:100%; border-bottom: 8px solid #f8f8f8; padding: 20px 20px 15px 20px; overflow: hidden}
.d_info dt{width: 20%; min-width: 50px; display: inline-block}
.d_info dd{width: 100%; float: right;}
.d_info dd p{text-align: center;  height: 50px; line-height: 50px}
.d_logo{width: 50px; height: 50px; border: 1px solid #ddd; border-radius: 20px;}
.d_logo{background: #f8f8f8 url("./images/person_null.png") no-repeat 50% 50%; background-size: contain;}

.menu_list{padding: 15px 20px; border-bottom: 1px solid #ddd}
.menu_list button{border: 0; background:  url('./images/logout.png') no-repeat; background-size: 15px 15px; background-position: 1px 50%; padding-left: 20px}

/*추가_상병 처방-재수정:-20220121*/
h3{background: #f8f8f8; text-align: center; font-size: 15px; padding: 8px; border-radius: 20px 20px 0 0; color: #555}
h4{font-size:16px; font-weight: normal}
button.btn_pop{background: #ccc; padding: 0px 10px; border: 0; border-radius: 30px; height: 30px; line-height: 30px; vertical-align: top}
button.certification{background: #33bffa; color: #fff; border: 0; padding: 5px; position: absolute; right: 4px; top: 4px; height: 36px; border-radius: 5px;}
button.certification:hover, button.certification:focus{background: #24ace5}
button.authentication{background: none; color: #FD1D20; border:0; float: right}
.img2{width:85%; height: auto; display: block; max-width: 850px;}
.img2 img{width:88%; max-width: 420px; display: block; margin: 0 auto 15px;}
.warning{color: #666; font-size: 12px;}

/*움직임*/
.mo_tion, .container, h1, .add_con select, .add_con textarea, .add_con input, .chuga li button{transition: all 0.2s; -webkit-transition: all 0.2s;}

@media (orientation: portrait) {/* 세로모드 */
	.add_con{min-height: 80vh}
}

@media (orientation: landscape) {/* 가로모드 */
	.add_con{min-height: 75vh}
}

/*버튼 하단 위치 조정*/
@media only screen and (min-width: 1400px) {.btn{left: 50%; margin-left: -700px;}}

/*모바일 사이즈_원래는 480px로잡아야함..*/
@media only screen and (max-width: 550px) {
.container{ padding: 15px 30px; } 
h1{font-size: 24px; margin-bottom: 20px;}
h2{font-size: 22px; margin-bottom: 10px;}
	
/*환자정보_셀렉트박스*/
.step1 .step_wrap, .step1 .step_wrap2{width:100%; float: none; overflow: hidden; margin-bottom: 15px;} 
.step1 .step_wrap > div, .step1 .step_wrap2 > div{width:100%; padding: 0}
.step1 .step_wrap2.w_35{float: right; width: 35%;}
.step1 .step_wrap2.w_65{float: left; width: 65%}
.step1 .box_left, .step1 .box_right{position: relative; }
	
/*환자정보_꾸미기*/
.step1 select {background:url('./images/v.svg') no-repeat right 50%; background-size: 28px 7px; padding:40px 15px 15px 15px; font-size: 15px; }
.step1 input{ padding:40px 15px 15px 15px; font-size: 15px; }
.step1 .step_wrap2 .box_left input{border-right: none}
.step1 label{font-size: 12px; top: 18px; left: 15px;}
.step1 input:focus{border-color: #333; border-right: 1px solid #333 !important}
	
/*버튼*/
.btn .img_prev img{width:25px; height: 23px;}
.btn{padding: 15px 30px; }
.btn button, .btn_add, .pop_table th, .pop_table td, .tab ul.tab_list li, .manual li{font-size: 14px}
.items .items_con > div{font-size: 16px}
.items .sub, .cheobang_info li b, .items dl { font-size: 12px; }
	
/*검색창*/
.search{padding: 5px 6px;}
.search input[type="text"]{padding: 6px;} 
.search .sc_btn{width: 18px; height: 18px; top: 10px; right: 12px;}	
	
.pop_scroll{top:161px;}
.pop_scroll_02{top:120px;}
/*.pop_scroll_03{top:74px;}*/
.pop_scroll_04{top:324px;}
.pop_con .close img{width: 15px; height: 15px; display: block; margin-top: 5px; float: right}
	
.plus{width:16px; height: 16px;}
.add_con{min-height: 60vh}

/*결과 탑높이*/
.flex_body.topsss .scroll_box{top:46px; left: 0px; right: 0px; bottom: -5px;}
#tab1 .scroll_box{top:119px;}
#tab2 .scroll_box{top:119px;}
#tab3 .scroll_box{top:77px;}

/**추가:로그인-20220120**/
.wrap_con{position: absolute; top:50px; left: 25px; right: 25px;}
/*.input_login .id input[type="text"], .input_login .pw input[type="password"]{width:70%}*/
}

.text-over{max-width: 80px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}

.selectrow tr.on { background:#e4f5ff !important; }


/*로딩*/
#overlay {position: fixed; top: 0; z-index: 100; width: 100%; height: 100%; display: none; background: rgba(0,0,0,0.6);}
.cv-spinner {height: 100%; display: flex; justify-content: center; align-items: center;}
.spinner {width: 40px; height: 40px; border: 4px #ddd solid; border-top: 4px #2e93e6 solid; border-radius: 50%; animation: sp-anime 0.8s infinite linear;}
@keyframes sp-anime {100% {transform: rotate(360deg);}}

input[type="checkbox"] + label {content: none; font-size: 14px;}
.agree_box {padding-bottom: 10px}

#pop_orderlist tr.on{font-weight: bold}

.step2 {overflow: hidden; margin-top: 10px}
.step2 .box_left, .step1 .box_right{position: relative;}
.step2 .step_wrap{width:50%; float: left; margin-bottom: 5px}
.step2 .step_wrap > div, .step2 .step_wrap2 > div{width:100%; padding: 0 3px 3px 3px;}
.step2 .step_wrap2{overflow: hidden; width:50%; margin-bottom: 5px; float: left}
.step2 .box_right, .step1 .step_wrap2 .box_right{float: right;}
.step2 .box_left, .step1 .step_wrap2 .box_left{float: left;}
.step2 .p_bordersss{width:100%}
.step2 label b{color: #fa3c3c; margin-left: 5px;}
.step2 label, .add_con label{font-size: 14px; color: #868686; position: absolute; top: 20px; left: 24px;}
.step2 input:-internal-autofill-selected {background-color: #f8f8f8 !important}
     
.step2 select::-ms-expand, .add_con select::-ms-expand {display: none;}
.step2 select:focus, .step1 input:focus, .add_con select:focus, .add_con input:focus, .add_con li > p:focus-within{border-color: #333;}
.step2 select:focus, .add_con select:focus{background:url('./images/v2.svg') no-repeat right 50% !important; background-size: 28px 7px !important; }
.step2 select{ width:100%; padding:22px 15px 10px 15px; border:1px solid #ddd; border-radius:0px; font-size: 17px; color: #333;}
.step2 select{background:url('./images/v.svg') no-repeat right 50%; background-size: 28px 7px;  -webkit-appearance: none; -moz-appearance: none; appearance : none;}

.step2 select {background:url('./images/v.svg') no-repeat right 50%; background-size: 28px 7px; padding:22px 15px 10px 15px; font-size: 15px; background-color: #fff; }
.step2 input{ padding:22px 15px 10px 15px; font-size: 15px; text-align:right}
.step2 input:disabled{ background-color: #fff !important}
.step2 .step_wrap2 .box_left input{border-right: none}
.step2 label{font-size: 12px; top: 5px; left: 10px;}
.step2 input:focus{border-color: #333; border-right: 1px solid #333 !important}
