/*상담 작성*/
@media screen and (max-width: 1200px) {
    #hq > #counselContainer {min-width: unset; }
    #hq > #counselContainer + #gobtn {display: none }
    .counsel_form nav.panel {justify-content: center }
    .counsel_form div.box_white .flex {flex-wrap: wrap; }
    .counsel_form div.box_white .flex.box_colorline {display: grid!important; grid-template-columns: 80px auto;}
    .counsel_form .grid2 {grid-template-columns: repeat(1, 1fr);}
    .counsel_form .grid {padding: 0!important;gap: 0!important;}
    .counsel_form .grid > * {padding: 10px}
    .counsel_form .grid > *:not(:last-of-type){border-bottom: 1px solid #eee;}
    .counsel_form .box_white.grid > *:not(:last-of-type){border-bottom: 1px solid #eee;}
    .counsel_form .grid > *:not(:last-of-type){border-bottom: 1px dashed #eee;}
    .counsel_form .box_gray.mt10 ul {flex-direction: column; justify-content: start; align-items: start;padding: 0!important;gap: 0!important;}
    .counsel_form .box_gray.mt10 ul li.male-auto {margin-left: unset!important;}
    .counsel_form .box_gray.mt10 ul li b {min-width: 80px;}
    .counsel_form .box_gray.mt10 ul li  {padding: 10px; width: 100%}
    .counsel_form .box_gray.mt10 ul li:not(:last-of-type){border-bottom: 1px solid #eee;}
    .counsel_form input[name="ptName"] {width: 100% !important}
    .counsel_form input[name="addr"] + button {width: 100% !important}
    .counsel_form .btn-wrap {position: fixed!important; width: 100%; bottom: 0; left: 0px ;z-index: 3; margin: 0!important; flex-wrap: nowrap!important; gap: 0!important;}
    .counsel_form .btn-wrap > * {width: 100%!important;}
    .counsel_form #guardianList colgroup {display: none}
    .counsel_form #guardianList table {border: none;}
    .counsel_form #guardianList thead tr {grid-template-columns: repeat(3, 1fr);display: none;}
    .counsel_form #guardianList thead tr th:nth-of-type(3){;border-right: 0}
    .counsel_form #guardianList thead tr th:nth-of-type(4){grid-column: 1 / 4;border-right: 0}
    .counsel_form #guardianList thead tr th:nth-of-type(5){grid-column: 1 / 3;}
    .counsel_form #guardianList tbody tr {grid-template-columns: repeat(3, 1fr);display: grid;margin: 5px 0 0;border: 1px solid #c7c7c7;border-radius: 5px}
    .counsel_form #guardianList tbody tr td.empty{grid-column: 1 / 4;}
    .counsel_form #guardianList tbody tr td:nth-of-type(3){;border-right: 0}
    .counsel_form #guardianList tbody tr td:nth-of-type(4){grid-column: 1 / 4;border-right: 0}
    .counsel_form #guardianList tbody tr td:nth-of-type(5){grid-column: 1 / 4;}
    .counsel_form #guardianList tbody tr td:nth-of-type(6){grid-column: 1 / 4;}
    .counsel_form #patientFile colgroup {display: none}
    .counsel_form #patientFile thead tr {grid-template-columns: 80% 20%;display: grid;}
    .counsel_form #patientFile thead tr th:nth-of-type(1){grid-column: 1 / 3;border-right: 0}
    .counsel_form #patientFile tbody tr {grid-template-columns: 80% 20%;display: grid;}
    .counsel_form #patientFile tbody tr td.empty{grid-column: 1 / 3;}
    .counsel_form #patientFile tbody tr td:nth-of-type(1){grid-column: 1 / 3;border-right: 0}
    .counsel_form p.txt_bold.mt10 {display: flex;align-items: center;justify-content: space-between;}
    .counsel_form #preLog table {min-width: 1000px}
    .counsel_form #preLog b {display: flex;align-items: center;gap: 3px}
    .counsel_form #preLog b:after {content: '↔좌우로 움직이세요';display: inline-block;;margin-left: auto;color: #77a502}
}


/*상담 현황*/

.counsel_main .counsel tbody tr td:nth-of-type(10) button.btn.btn_gray.btn_mini{display: none}
@media screen and (max-width: 1200px) {
    #hq > .counsel_main {min-width: unset; display: flex!important; flex-direction: column-reverse!important;  padding: 0;}
    #hq:has(.counsel_main) nav.panel {min-width: unset;justify-content: center }
    .counsel_chart .count {display: none}
    .counsel_chart .count + div{display: none}
    .counsel_chart .tagbox {display: flex;flex-direction: column;}
    .counsel_main .panel {flex-wrap: wrap;}
    .counsel_main .counsel colgroup {display: none}
    .counsel_main .counsel table  {border: none;  }
    .counsel_main .counsel thead tr  {display: none;  }
    .counsel_main .counsel tbody tr {grid-template-columns: repeat(2, 1fr);display: grid; margin: 15px 0 0;border: 1px solid #c7c7c7;border-radius: 5px;}
    .counsel_main .counsel tbody tr td:nth-of-type(3){;border-right: 0}
    .counsel_main .counsel tbody tr td:nth-of-type(4) {background: rgba(185, 255, 7, 0.2) !important;}
    .counsel_main .counsel tbody tr td:nth-of-type(4) br  {display: none;  }
    .counsel_main .counsel tbody tr td:last-of-type {text-align: right }
    .counsel_main .counsel tbody tr td:last-of-type button br  {display: none;  }
    .counsel_main .counsel tbody tr td .btn_colorline2 {display: none;  }
    .counsel_main .counsel tbody tr.detail td:nth-of-type(4) {display: none;  }
    .counsel_main .counsel tbody tr td:nth-of-type(1) {display: none;  }
    .counsel_main .counsel tbody tr td:nth-of-type(8){;border-right: 0}
    .counsel_main .counsel tbody tr td:nth-of-type(6){;border-right: 0}
    .counsel_main .counsel tbody tr td:nth-of-type(9) {display: none;  }
    .counsel_main .counsel tbody tr td:nth-of-type(10){;border-right: 0}
    .counsel_main .counsel tbody tr td:nth-of-type(1){;border-right: 0}
    .counsel_main .counsel tbody tr td.empty{grid-column: 1 / 3;border-right: 0; display: block; text-align: center}
    .counsel_main .counsel tbody tr td:nth-of-type(4){grid-column: 1 / 3;border-right: 0;order: -1;}
    .counsel_main .counsel tbody tr td:nth-of-type(2):before {content: "No. "; color: #999;}
    .counsel_main .counsel tbody tr.detail td:nth-of-type(2):before {content: ""; color: #999;}
    .counsel_main .tel-tag:before {font-family: "Font Awesome 6 Pro"; content: '\e11b'; ; color: #77a502;display: inline-block}
    .counsel_main .counsel tbody tr td:nth-of-type(3):before {content: "상담일시"; color: #999;display: block}
    .counsel_main .counsel tbody tr td:nth-of-type(5):before {content: "강조항목"; color: #999;display: block}
    .counsel_main .counsel tbody tr td:nth-of-type(5):empty:after {content: "내용없음"; color: #000;display: block}
    .counsel_main .counsel tbody tr td:nth-of-type(6):before {content: "연계병원"; color: #999;display: block}
    .counsel_main .counsel tbody tr td:nth-of-type(6):empty:after {content: "내용없음"; color: #000;display: block}
    .counsel_main .counsel tbody tr td:nth-of-type(7):before {content: "진단명"; color: #999;display: block}
    .counsel_main .counsel tbody tr td:nth-of-type(8):before {content: "보호자"; color: #999;display: block}/*
    .counsel_main .counsel tbody tr td b.icon.icon_gray.w100{display: none}*/
    .counsel_main .btn.btn_gray.btn_h40{display: none;  }
    .counsel_main .btn.btn_gray3.btn_h40{display: none;  }
    .counsel_main .btn.btn_color.btn_h40{margin-left: auto }
    .counsel_main .counsel tbody tr td:nth-of-type(10) button.btn.btn_gray.btn_mini{display: inline-block}
}
