@charset "utf-8";
/* 
File Name : style.css
Description : kyochonfood_site
Author : kwj (master@dmax.kr)
Date : 2016-3-29
 */
#max_board {margin:28px 0 0 0;}
@media screen and (max-width: 1199px) {
	#max_board {margin:0;}
}

/* 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 .w13{width:13%;}

/* 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 80px; 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; padding-right:10px; white-space:nowrap; font-weight:500;}
	.max_board tbody td {text-align:left; padding:10px 0 10px 80px;}
	.max_board tbody td:nth-child(2), 
	.max_board tbody td:nth-child(3), 
	.max_board tbody td:nth-child(4) {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:'상태'; top:15px;}
	.max_board tbody td:nth-child(5):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;}
.ico_btStyle1{font-size:12px; letter-spacing:-0.05em; background:#62a3cc; color:#fff; display:inline-block; padding:5px;}
.ico_btStyle2{font-size:12px; letter-spacing:-0.05em; background:#2257ac; color:#fff; display:inline-block; padding:5px;}

/* 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;}
.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%; border-bottom:1px solid #000;}
.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;}*/

@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;}
}
/* write */
.max_board_write{float:left; width:100%; height:auto;}

.max_prod_grade{width:100%; height:auto; margin:30px 0 0 0;}
.max_prod_rating{border-top:1px solid #000; width:100%; height:auto; display:block; overflow:hidden; padding:10px 0; margin:15px 0 0 0;}
.max_prod_grade dt{float:left; font-weight:600; width:130px; text-indent:20px;}
.max_prod_grade dd{float:left; margin:0 10px;}
.max_prod_rating dd input{float:left; width:15px; height:15px;}
.max_prod_rating .max_rating{float:left; width:80px; height:14px; margin:3px 0 0 3px;}
.max_prod_rating .max_rating .max_ratingStar{width:80px; height:14px;}

.max_prod_lavel{border:1px solid #ccc; border-left:none; border-right:none; width:100%; height:auto; display:block; overflow:hidden; padding:10px 0;}
.max_prod_lavel dd input{float:left; width:15px; height:15px; display:inline-block; margin-top:5px;}
.max_prod_lavel dd img{width:25px;}
.max_prod_lavel dd span{display:inline-block; padding:2px 0 0 5px;}

.max_write{float:left; width:100%; height:auto; margin:30px 0 0 0; border-top:1px solid #000;}
.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 td{border-bottom:1px solid #ccc; padding:10px;}
.max_write table td textarea{width:100%; height:200px; padding:10px; box-sizing:border-box; border-radius:0; appearance:none; -webkit-appearance:none; -moz-appearance:none; border:1px solid #ccc;}
.max_write table td select{padding:5px; border:1px solid #000; border-radius:0px; -webkit-appearance:none; -moz-appearance:none; appearance:none; font-family:inherit; background:url("../../image/common/select_box_s.png") no-repeat 95% 50%; width:200px; height:47px; box-sizing:border-box;}
.max_write table td select::-ms-expand {display:none;}
.max_write table td input.max_board_subject {border:1px solid #ccc; width:80%;}

.max_board_form_file {margin:15px 0;}


.policy_agree{width:100%; height:auto; overflow:hidden;}
.policy_agree .policy_area{border:1px solid #ccc; height:100px; padding:20px; margin:15px 0 0 0; overflow-y:scroll;}
.policy_agree .policy_area ol li{font-size:13px; margin:5px 0; line-height:150%;}
.policy_agree p{margin:20px 0 0 0;}


.max_note{float:left; border:1px solid #ccc; padding:20px; margin:30px 0 0 0; font-size:12px;}
.max_note li{padding:2px 0;}

@media screen and (max-width:768px) {
	.max_board_write {margin:0;}
	.max_write table th {display:none;}
	.max_write table td input,
	.max_write table td input.max_board_subject {width:100%; line-height:200%; padding:13px;}
	.max_write table td select {background:url("../../image/common/select_box.png") no-repeat 95% 50%; background-size:20px; width:100%;}

	.max_board_form_file {margin:0;}
}

/* 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;}

@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;}
}
/* 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;}