/*------------------------------------------태블릿(768~1023px)------------------------------------------*/
@media screen and (max-width: 1023px) {
	    
    .sub_content { width: 100% !important; padding: 0 16px; box-sizing: border-box;}
    .sub_content .sub_all > li { float:none !important; }
	.sub_content .sub_all > li.sub_left { display:none !important; }
	.sub_content .sub_all > li.sub_right { width:100% !important; }
	
    #content-form *, #standard-apply-content * {font-size:18px; }
    #standard-apply-form .apply_table tr > th { width:16%;}
    #standard-apply-form .apply_table th, #standard-apply-form .apply_table td { line-height:1.4; }
    .long-name-cut { max-width: 160px;}
	.list th{width:80px !important;}

    /* 버튼 */
    .etc_btn1 > span{font-size:1.1em;}	
    .etc_btn1 {width:150px;}
	.input_m{width:140px;font-size:16px;}
	/*제안서 테이블 내 첨부파일*/
	.apply_table input[type=file] {width:150px; margin-left:0px; font-size:13px !important;}
	
	#passwordPopup{left:35%; font-size:17px !important;}
	#standard-apply-form .text-area * {font-size:15px !important;}
	.agreement_table td{font-size:15px !important;}
}



/*------------------------------------------태블릿(~768px)------------------------------------------*/
@media screen and (max-width: 767px) {
    /*  sub.css 반응형  */
	#content-form *, #standard-apply-content * {font-size:17px;}
	
    /*  표준신청 반응형  */
    .long-name-cut { max-width: 100%;}
	.right_sign {margin: 10px 3px;}
	
    
    /* 표가 넘치면 가로 스크롤 허용 (콘텐츠 보호) */
	#standard-apply-form { width:100%; overflow-x:auto; -webkit-overflow-scrolling:touch; }
	
    #standard-apply-form .apply_table {border:none;}
	#standard-apply-form .apply_table th {font-size: 0.9em; padding: 10px 4px; text-align: center; background-color: #dce2ff80;}
	#standard-apply-form .apply_table td {text-align: center; border-bottom: 1px solid #dbdbdb; height: 30px;}
	.apply_table a, .apply_table td > div, .apply_table td > span,.apply_table th >div ,.apply_table th > span {font-size: 1em;line-height: 19px;}
	
    .privacy-agree-form > h3 { font-size: 1em; padding: 4px;}
	.total_sign { margin-top: 20px; margin-bottom: 20px; }
	#standard-apply-form .comment { font-weight: 500; font-size: 13px;}
	
	/* 카드형 테이블 */
	.apply_table thead { display: none; }
  	.apply_table, .apply_table tbody, .apply_table tr, .apply_table td {display: block;width: 95%;}
  	.apply_table tr { margin: 0 0 12px; border: 1px solid #e5e5e5; border-radius: 10px; padding: 8px 10px; }
  	.apply_table td::before {content: none; font-weight: 600; opacity: 0.8;}
	
	.agreement_table, .agreement_table tbody, .agreement_table tr, .agreement_table td {display: block;width: 98%;}
	.agreement_table thead { display: none; }
	.agreement_table td{border:none !important;}
	.agreement_table td::before {display:grid; color:#3b049d; content: attr(data-label); font-weight: 600; }
	
	.list td { display: grid; grid-template-columns: 110px 1fr; gap: 8px;}
    .list td::before {content: attr(data-label);}
	.long-name-cut{text-align: center;}
	.attachlist_first {margin-bottom:0px !important; border-bottom:none !important; margin-top: 30px !important; border-top:1px solid #ddd !important;}
	.attachlist {border-top:none !important; border-bottom:none!important; margin-bottom: 0px !important;}
	.attachlist_last{border-top:none !important; margin-bottom: 30px !important; border-bottom:1px solid #ddd !important;}

	.etc_btn1 {width:145px; margin-right: 12px;}
	#passwordPopup{left:25%; font-size:16px !important;}

    .input_m{width:80%;font-size:16px;}
	/*제안서 테이블 내 첨부파일*/
	.apply_table input[type=file] {width: 80%;}
	
	/* 불필요한 고정폭 제거 (기존 width:50px/height:30px가 깨짐 유발) */
	#standard-apply-form .apply_table th, #standard-apply-form .apply_table td { width: auto !important; height: auto !important; font-size: 1em; padding: 10px 8px; text-align: left;}
}


/*------------------------------------------모바일(370px) s---------------------------------------*/
@media screen and (max-width: 370px) {
    #content-form *, #standard-apply-content * {font-size:15px; }
    /*파일이름 게시글제목 등 긴 이름 길이 맞추기*/
	.long-name-cut { max-width: 170px;}
	.ch_in_se select{height:25px; width:70px; vertical-align:middle; font-size:13px;}
	
    .etc_btn1 > span{font-size:1em;}	
	.etc_btn1 {width:140px; margin-right: 12px;}

	#passwordPopup{left:10%; font-size:15px !important;}
}
