@charset "utf-8";
/* 
File Name : style.css
Description : kyochonfood_site
Author : kwj (master@dmax.kr)
Date : 2016-3-29
 */

/* button */
.max_btns_bo {text-align:right; margin-top:30px;}
.btn_b_type01{display:inline-block; background:#fff; border:1px solid #ccc; color:#000; padding:15px 40px; font-size:14px;}
.btn_b_type01:hover {background:#000; border:1px solid #000; color:#fff;}
.btn_b_type02{display:inline-block; background:#fff; border:1px solid #ccc; color:#000; padding:15px 40px; font-size:14px;}
.btn_b_type02:hover {background:#000; border:1px solid #000; color:#fff;}
.btn_b_type03{display:inline-block; background:#fff; border:1px solid #ccc; color:#000; padding:15px 40px; font-size:14px;}
.btn_b_type03:hover {background:#000; border:1px solid #000; color:#fff;}
.btn_b_type04{display:inline-block; background:#000; border:1px solid #000; color:#fff; padding:15px 40px; font-size:14px;}
.btn_b_type04:hover {background:#fff; border:1px solid #000; color:#000;}
@media screen and (max-width: 768px) {
	.btn_b_type01, 
	.btn_b_type02, 
	.btn_b_type03, 
	.btn_b_type04 {padding:10px 5%; font-size:13px;}
}

/* no data */
.max_no_data{width:100%; height:auto; text-align:center; border-bottom:1px solid #ccc; padding:15px 0;}

@media screen and (max-width: 639px) {
	.max_no_data {padding:20% 0; font-size:13px;}
}

/* board */
.max_lst_total{padding-bottom:17px; border-bottom:1px solid #000;}
.max_board{width:100%; height:auto;}
.max_board thead th{border-bottom:1px solid #ccc; padding:15px 0; text-align:center; color:#000;}
.max_board tbody th{border-bottom:1px solid #ccc; padding:15px 0; font-weight:normal; text-align:center; position:relative;}
.max_board tbody td{border-bottom:1px solid #ccc; padding:15px 0; text-align:center; position:relative;}
.max_board tbody td.tta_l{text-align:left;}
.max_board .w10{width:10%;}
.max_board .line_box {display:inline-block; padding:5px 10px; background:#000; color:#fff;}

/* mobile */
@media screen and (max-width: 768px) {
	.max_board th, .max_board td {display:block;}
	.max_board tbody th {text-align:left; padding:10px 0 10px 100px; border:0;}
	.max_board td:before {position:absolute; top:10px; left:0; padding-right:10px; white-space:nowrap; font-weight:500;}
	.max_board thead th {display:none;}
	.max_board tbody th:before {content:'번호'; position:absolute; top:10px; left:0; white-space:nowrap; font-weight:500;}
	.max_board tbody td {text-align:left; padding:10px 0 10px 100px;}
	.max_board tbody td:not(:nth-child(6)) {border:0;}
	.max_board tbody td:nth-child(2):before {content:'제안 약재명';}
	.max_board tbody td:nth-child(3):before {content:'제안일자';}
	.max_board tbody td:nth-child(4):before {content:'제안자';}
	.max_board tbody td:nth-child(5):before {content:'동의';}
	.max_board tbody td:nth-child(6):before {content:'조회';}
}

@media screen and (max-width: 639px) {
	.max_board th, .max_board td, 
	.max_board a {font-size:13px;}
}

/* list */
.max_board_lst{width:100%; height:auto;}


/* view */
.max_board_view{float:left; width:100%; height:auto; margin:30px 0;}
.max_board_view .subjected{border-top:1px solid #000; border-bottom:1px solid #ccc; padding:15px 0; font-size:25px; line-height:25px; text-align:center; color:#222;margin-top: 15px;}
.max_board_view .user_it_info{width:100%; height:auto; padding:15px; border-bottom:1px solid #ccc;}
.max_board_view .user_it_info li{display:inline-block; padding-right:20px; margin:10px 0; color:#797979;}
.max_board_view .user_it_info li strong{color:#222;}
.max_board_view .max_board_contents{width:100%; height:auto; padding:30px 0; line-height:140%;}
.max_board_view .max_board_contents div img {max-width:100%;}
/*.max_board_view .addfile { border-top:1px solid #ccc; padding:15px 0; }
.max_board_view .addfile li { padding:5px 10px; }
.max_board_view .att_file{border-bottom:1px solid #ccc; padding:15px 0;}
.max_board_view .att_file strong{color:#222; font-weight:bold;}*/

.max_board_recommend {width:100%; height:auto; text-align:center; padding-bottom:30px; border-bottom:1px solid #000;}
.max_board_recommend li {display:inline-block; margin:0 10px; text-align:center;}
.max_board_recommend li a {display:block; width:82px; height:82px; border-radius:82px; padding-top:10px; border:1px solid #5aab3a; box-sizing:border-box;}
.max_board_recommend li svg {width:16px; height:16px;}
.max_board_recommend li span {display:block; font-size:14px; font-weight:700; padding-top:5px; color:#5aab3a; line-height:100%;}
.max_board_recommend li em {display:block; font-size:14px; font-weight:700; padding-top:5px; color:#5aab3a; line-height:100%;}
.max_board_recommend li:last-child a {border:1px solid #d7d7d7;}
.max_board_recommend li:last-child span,
.max_board_recommend li:last-child em {color:#797979;}

.max_board_recommend li a:hover {background:#ecf6e8;}
.max_board_recommend li:last-child a:hover {background:#f7f7f7;}

@media screen and (max-width:768px) {
	.max_board_view {margin:0;}
	.max_board_view .subjected {font-size:16px; text-align:left;}
	.max_board_view .user_it_info {padding:10px 0;}
	.max_board_view .user_it_info li {display:block;}

	.max_board_recommend {padding-bottom:20px;}
	.max_board_recommend li a {width:64px; height:64px; border-radius:64px;}
	.max_board_recommend li span {font-size:12px; padding-top:0;}
	.max_board_recommend li em {font-size:12px; padding-top:0;}
}

/* comment */
.max_comment{float:left; margin:10px 0 0 0; width:100%; height:auto;}
.max_com_write{width:100%; height:auto; padding:16px 0; border-top:1px solid #000; border-bottom:1px solid #ccc; display:block; overflow:hidden;}
.max_com_write .max_comm_login{margin-left:5px;}
.max_com_write .max_comm_login li{float:left; margin-right:5px;}
.max_com_write .max_comm_login li label{float:left; padding:15px 0 0 0; margin-right:5px;}
.max_com_write textarea{float:left; width:820px; height:80px; line-height:140%; border:1px solid #ccc; padding:5px; margin:5px 0 0 5px; font:normal 13px 'NanumGothic','나눔고딕';}
.max_com_write .btn_b_type02{float:left; display:block; height:90px; margin:5px 0 0 10px; font-weight:600; font-size:15px;}
.max_com_list{float:left; width:100%; height:auto; padding:20px 0; border-bottom:1px solid #dedede; position:relative;}
.max_com_list dl dt{font-weight:bold; padding-left:15px; color:#222;}
.max_com_list dt span.TimesRe{font-size:0.94em; font-weight:normal; color:#797979; display:inline-block; padding-left:9px;}
.max_com_list dl dd{padding:10px 15px; line-height:140%;}
.max_com_list button{position:absolute; bottom:15px; right:15px; width:auto; height:auto; padding:5px 10px; font:normal 13px 'NanumGothic','나눔고딕';}
.re_com{background:url("../../images/board/ico_comment.png") 20px 20px no-repeat;}
.re_com dl dt{padding-left:40px;}
.re_com dl dd{padding-left:40px;}

/* write */
.max_board_write{float:left; width:100%; height:auto;}
.max_write{float:left; width:100%; height:auto; margin:30px 0 0 0; border-top:1px solid #000;}
.max_write p {display:inline-block;}
.max_write h4{border-bottom:1px solid #000; padding-bottom:15px;}
.max_write table{width:100%; height:auto;}
.max_write table th{border-bottom:1px solid #ccc; width:15%; text-align:center; color:#222;}
.max_write table th:first-child {padding:25px 0;}
.max_write table td{border-bottom:1px solid #ccc; padding:10px; vertical-align:middle;}
.max_write table td textarea{width:100%; height:200px;}
.max_write table td select{padding:5px;}
.max_write table td input.max_board_subject {border:1px solid #ccc; width:80%;}
.max_board_form_file {margin:15px 0;}

@media screen and (max-width:768px) {
	.max_board_write, .max_write {margin:0;}
	.max_write table th {display:none;}
	.max_write table td input.max_board_subject {width:100%;}
}

/* password */
.max_bbs_form_fieldset {}
#dialog_alert_msg {color:#797979;}
.max_bbs_form_content {padding-top:20px;}
#max_bbs_pass {border:1px solid #ccc; padding:15px; text-align:center;}

/* comment */
.max_bbs_comment_section {clear:both; width:100%;}
.max_bbs_comment_box_writeform {padding:30px 0 0 0;}
.max_bbs_comment_write {width:100%; height:auto; overflow:hidden; padding-top:15px;}
.max_bbs_comment_write textarea {float:left; width:85%; padding:1%; height:70px; box-sizing:border-box; border:1px solid #ccc; border-right:none;}
.max_bbs_comment_write button {float:left; background: #444; color: #fff; font-size: 15px; width:15%; height:70px; cursor:pointer;}

.max_bbs_comment_list {width:100%;}
.max_bbs_comment_list li {padding:20px; border-bottom:1px solid #ccc; position:relative; overflow:hidden;}
.max_bbs_comment_list li.reply {background:url("../../image/board/ico_comment.png") 20px 30px no-repeat #f7f7f7;}
.max_bbs_comment_box_info {float:left; padding-right:20px}
.max_bbs_comment_name {display:block; overflow:hidden;}
.max_bbs_comment_name i {float:left; display:block; width:36px; height:36px; border-radius:100%; background:url("../../image/board/ico_re.png") center no-repeat #f5821f;}
.max_bbs_comment_name span {float:left; display:block; line-height:36px; padding-left:5px;}
.max_bbs_comment_date {display:block; padding-top:5px; color:#999; font-size:13px; letter-spacing:0;}

.max_comment_btns {position:absolute; top:20px; right:20px;}
.max_comment_btns a {font-size:12px; background:#fff; border:1px solid #ccc; padding:3px 10px; color:#222;}
.max_comment_btns a:hover {background:#444; border:1px solid #444; color:#fff;}

.max_bbs_comment_box_content {float:left; width:70%; color:#797979; padding-top:10px;}

.max_bbs_comment_reply {float:left; width:100%; height:auto; padding-top:15px; margin-top:15px; border-top:1px solid #ccc;}
.max_bbs_comment_reply textarea {width:100%; padding:1%; height:70px; box-sizing:border-box; border:1px solid #ccc;}
.max_bbs_comment_reply button {display:inline-block; font-size:12px; background:#fff; border:1px solid #ccc; padding:5px 10px; margin-top:15px;}
.max_bbs_comment_reply button:hover {background:#444; border:1px solid #444; color:#fff;}
.max_bbs_comment_reply .max_bbs_comment_write button {float:none; display:inline-block; width:auto; height:auto; background: #444; color: #fff; border:0; cursor:pointer;}

@media screen and (max-width:639px) {
	.max_bbs_comment_write textarea {width:75%;}
	.max_bbs_comment_write button {width:25%; font-size:14px;}
	.max_bbs_comment_date {position:absolute; top:25px; right:20px;}
	.max_bbs_comment_box_content {padding:15px 0; width:100%;}
	.max_bbs_comment_list li.reply .max_bbs_comment_box_content {padding-left:25px;}
	.max_bbs_comment_list li.reply {background:url("../../image/board/ico_comment.png") 20px 30px no-repeat #f7f7f7; background-size:20px;}
	.max_bbs_comment_name i {width:36px; height:36px; border-radius:100%; background:url("../../image/board/ico_re_b.png") center no-repeat #f5821f; background-size:100%;}
	.max_comment_btns {display:block; float:right; position:static; margin-top:7px;}
}