a:link {  text-decoration: none }
a:visited {  text-decoration: none }
a:hover {  text-decoration: none }
a:active { color: #666; text-decoration: none }

p { margin-top: 0px; margin-bottom: 0px }
td,table {font-size:13px; color: #666; line-height: 150%; font-family:inherit; }


/*********** 공통 css *************/
select {font-size:14px; color:#666; border:1px solid #d4d4d4; background-color:#ffffff; padding:8px 5px; font-family: inherit; min-height:33px}
select[name='category'] {max-width:150px; min-height:35px}
.input {font-size:14px; color:#666; border:1px solid #d4d4d4; background-color:#fff; padding:9px 5px; font-family: inherit; box-sizing:border-box; line-height:normal;}
.search_input {font-size:14px; color: #666; border: #d4d4d4 1px solid; background-color: #ffffff; padding:7px 5px; font-family: inherit; width:30%;}
.blind {font-size:0; line-height:0; width:0px; height:0px;}
.textarea {width:98%; font-family:inherit; color:#666; line-height:150%; letter-spacing:-0.5px; padding:5px; border:#ccc 1px solid; background-color:#f9f9f9; box-sizing:border-box;}

/* input 디자인 */
.input_m {width:250px;}
.input_s {width:130px;}
.input_l {width:97%; }
.input_file {padding:5px; border:1px solid #ddd;}

/* 버튼디자인 */
.btn_w {display:inline-block; text-align:center; height:33px; line-height:33px; width:80px; border:1px solid #ccc; font-weight:100; font-family:inherit; font-size:12px; letter-spacing:-0.5pt; vertical-align:top;}
.btn_w:hover {color:#333; border:1px solid #333;}
.btn_b:link, .btn_b:visited {display:inline-block; text-align:center; height:33px; line-height:33px; width:80px; border:1px solid #555; background:#555; color:#fff; font-weight:100; font-family:inherit; font-size:12px; letter-spacing:-0.5pt; vertical-align:top;}
.btn_b:hover  {background:#333; border:1px solid #333; color:#fff;}
.btn_b_s {display:inline-block; text-align:center; height:33px; color:#fff; font-weight:100; font-family:inherit; width:70px; border:1px solid #555; background:#555; letter-spacing:-0.5pt; vertical-align:top;}
.btn_b_s:hover  {background:#333; border:1px solid #333;}
.comm_btn_confirm {display:inline-block; width:75px; height:56px; text-align:center; color:#fff; font-weight:100; font-family:inherit; border:1px solid #555; background:#555; font-size:12px; letter-spacing:-0.5pt; vertical-align:top;}

input.btn_w {text-align:center; height:35px; line-height:30px; width:80px; border:1px solid #ccc; background:#fff; color:#555; font-weight:100; font-family:inherit; font-size:12px; letter-spacing:-0.5pt; vertical-align:top;}
input.btn_w:hover {color:#333; border:1px solid #333;}
input.btn_b {text-align:center; height:35px; width:80px; border:1px solid #555; background:#555; color:#fff; font-weight:100; font-family:inherit; font-size:12px; letter-spacing:-0.5pt; vertical-align:top;}
input.btn_b:hover {background:#333; border:1px solid #333;}

/* 카테고리 */
.cate_tab {overflow:hidden; clear:both; margin-bottom:30px}
.cate_tab ul { padding:0; margin:0;}
.cate_tab li {float:left; padding:0; margin:0; list-style:none;}
.cate_tab a {display:block; width:110px; height:52px; margin-right:2px; border:1px solid #dddddd; background:#fff; text-align:center; line-height:52px; font-size:14px; color:#666;}
.cate_tab a:hover {text-decoration:none; background-color:#f9f9f9}
.cate_tab a span {display:block; font-weight:100; font-family:inherit; line-height:52px; border:1px solid #064e91; background:#fff; width:110px; position:relative; left:-1px; top:-1px; color:#064e91;}

.checkboxAll{position:relative;padding:0 0 20px;}
.checkboxAll span{position:absolute; top:2px; left:20px;}

/*********** List *************/
.bbs_con {width:100%; border-collapse:separate; border-spacing:0;}
.bbs_con th {font-size:13px; color:#333; font-weight:100; font-family:inherit; text-align:center; padding:10px 0; background-color:#f9f9f9; border-bottom:1px solid #ddd; border-top:1px solid #262626;}
.bbs_con td {padding:12px 0; text-align:center; border-bottom:1px dotted #d4d4d4}
.bbs_con td.left {text-align:left; padding-left:10px;}

.supplyList {overflow:hidden; clear:both; width:100%; margin:0; padding:0;}
.supplyList li {float:left; width:15.83%; text-align:center; margin-right:1%; margin-bottom:1%; padding:0; list-style:none;}
.supplyList li:nth-child(6n) {margin-right:0;}
.supplyList div {position:relative; width:100%; margin:0 auto; border:1px solid #ddd; box-sizing:border-box;}
.supplyList div form {position:absolute; left:10px; top:10px; z-index:10; border:0; margin:0; line-height:0;}
.supplyList div form input[type=checkbox] {margin:0;}
.supplyList img {display:block; line-height:100%;  margin:0 auto; background-repeat:no-repeat; background-position:50% top; background-size:contain; vertical-align:top;} /* border:1px solid #ddd; */
.supplyList span {display:block; max-width:289px; font-size:13px; padding:5px 0 0; }
.supplyList span form {display:inline-block; float:left;}
.supplyList span form input[type=checkbox] {float:left; margin:0; margin-right:5px;}

.logoArea {position:relative; border:1px solid #ddd; padding:20px 0; font-size:20px; letter-spacing:-0.5pt; color:#333; letter-spacing:-1pt; font-weight:600;}
.logoArea form {position:absolute; left:10px; top:10px; z-index:10; border:0; margin:0; line-height:0;}
.logoArea form input[type=checkbox] {margin:0;}
.logoArea a:link, .logoArea a:visited {font-size:20px; letter-spacing:-0.5pt; color:#333; letter-spacing:-1pt; font-weight:600;}

/* page_num */
.page_num{padding:20px 0;}

/* 페이지 넘버 */
.page_number_on{font-weight:100; font-family:inherit; float:left; line-height:12px; padding-top:4px; width:24px; height:20px; text-align:center; margin:0 2px; background:#646b74; color:#fff;}
.page_number{border:1px solid #ddd; font-weight:100; font-family:inherit; line-height:12px; padding-top:4px; width:24px; height:20px; float:left; text-align:center; margin:0 2px;}

/* 검색바 */
.bbs_search {margin:0 auto; border-top:1px solid #999; border-bottom:1px solid #d4d4d4; padding:20px 0px; background-color:#f9f9f9; text-align:center;}
.bbs_search select {vertical-align:middle; padding:5px !important; width:90px;}
.bbs_search input {vertical-align:middle;}

/* 하단 버튼 */
.bbs_btn {width:100%; padding-top:20px;}
.bbs_btn.align_right {text-align:right;}
.bbs_btn ul { padding:0; margin:0;}
.bbs_btn li { padding:0; margin:0; list-style:none;}
.bbs_btn li.sel_btn{float:left;}
.bbs_btn li.list_btn{float:right;}
.bbs_btn li.list_btn:after {display:block; content:""; overflow:hidden;}

div.all_check {background:#f6f6f6; padding:7px; border:1px solid #ddd; width:85px; margin-bottom:15px;}
div.all_check form {float:left;}
div.all_check input[type=checkbox] {vertical-align:top; margin:0; margin-right:8px; }


/*********** View *************/
.bbs_view {width:100%; border-collapse:collapse; border-spacing:0px;}
.bbs_view th {font-size:13px; color:#333; text-align:left; padding:8px; background-color:#f9f9f9; border-right:1px solid #ddd; border-bottom:1px solid #ddd;}
.bbs_view th.subject {padding:12px 8px; border-top:1px solid #262626; border-right:none;}
.bbs_view td {border-bottom:1px solid #d4d4d4; padding:8px; text-align: left;}
.bbs_view td.view_detail {color:#888; overflow:hidden;}
.bbs_view td.view_detail p {float:left; width:50%;}
.bbs_view td.view_content{padding:10px; word-break:break-all;}
.bbs_view td.view_content .cont_area img {max-width:100%;} /** 에디터 내 이미지는 최대 사이즈 100% **/

.view_content td {border:none !important; }


/*********** Input *************/
.input_msg {padding:10px 0; text-align:right;}
.bbs_input {width:100%; border-collapse:separate; border-spacing:0px; border-top:1px solid #333;}
.bbs_input th {font-size:13px; color:#333; text-align:left; padding:8px 10px; background-color:#f9f9f9; border-right:1px solid #ddd; border-bottom:1px solid #ddd;}
.bbs_input td {border-bottom:1px solid #d4d4d4; padding:8px 10px; text-align: left;}
.bbs_input td.line {border-right:1px solid #d4d4d4; }
.bbs_input td.input_contents textarea {width:100%; padding:5px; box-sizing:border-box; line-height:150%;}

	.subject_table {width:100%;border-collapse:separate; border-spacing:0px;}
	.subject_table td {border:none; padding:0;}
	.subject_table .cat {width:18%;}

/* 동의폼 */
.pri_box {width:100%; border:1px solid #dddddd; padding:15px; margin:10px 0px 20px 0px; box-sizing:border-box;}  
.pri_box p.pri_tit {font-size:14px; font-weight:100; font-family:inherit; padding-bottom:10px; color:#333;} 
.pri_box .textarea {height:100px;}
.pri_message {width:100%; text-align:right; padding-top:8px; font-family:inherit;}
.pri_message input[type=checkbox] {width:12px; height:12px; margin-right:5px;}


/* 저작권공지 */
.input_notice{border:1px solid #ddd; background-color:#f9f9f9; padding:20px;}
.input_notice h4{font-size:16px; font-weight:100; font-family:inherit; color:#333; letter-spacing:-1pt; padding:0 0 5px 0;}
.input_notice h4 span{color:#d51921; letter-spacing:-1pt;}
.input_notice p.txt{color:#666; line-height:21px;}
.input_notice p.point{color:#d51921;line-height:21px; padding:3px 0 0 0; text-decoration:underline}

.reply_icon {position:relative; float:left; width:18px; height:30px; background:url('/admin/images/reply_icon.gif') 0 0 no-repeat}

.filebox input[type="file"] {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip:rect(0,0,0,0);
	border: 0;
}

.filebox label {
	display: inline-block;
	padding:8px 15px 4px 15px;
	color: #999;
	font-size: inherit;
	line-height: normal;
	vertical-align: middle;
	background-color: #fff;
	cursor: pointer;
	border: 1px solid #ccc;
	height:20px;
}

/* named upload */
.filebox .upload-name {
	display: inline-block;
	padding: .5em .75em;  /* label의 패딩값과 일치 */
	font-size: inherit;
	font-family: inherit;
	line-height: normal;
	vertical-align: middle;
	background-color: #f5f5f5;
	border: 1px solid #ccc;
	border-bottom-color: #ccc;
	-webkit-appearance: none; /* 네이티브 외형 감추기 */
	-moz-appearance: none;
	appearance: none;
}

.upload-hidden {
	margin:1px 0;
	border:0px;
	font-size:12px;
	font-family:NanumGothic, 나눔고딕, NG, Tahoma, Geneva, sans-serif;
	color:#FFFFFF;
	border:1px solid #d86771;
	padding:3px 5px;
	background-repeat: no-repeat;
	background-position:right 3px center;
	background-color: #d86771;
}


/* imaged preview */
.filebox .upload-display {  /* 이미지가 표시될 지역 */
	margin-bottom: 5px;
}

@media(min-width: 768px) { 
	.filebox .upload-display {
		display: inline-block;
		margin-right: 5px;
		margin-bottom: 0;
	}
}

.filebox .upload-thumb-wrap {  /* 추가될 이미지를 감싸는 요소 */
	display: inline-block;
	width: 70px;
	height: 34px;
	padding: 2px;
	vertical-align: middle;
	border: 1px solid #ddd;
	border-radius: 2px;
	background-color: #fff;
}

.filebox .upload-display img {  /* 추가될 이미지 */
	display: block;
	max-width: 100%;
	width: 100%;
	/*height: auto;*/
	height: 100%;
}

/*
.img_border {
	display: inline-block;
	width: 70px;
	height: 34px;
	padding: 2px;
	vertical-align: middle;
	border: 1px solid #ddd;
	border-radius: 5px;
	background-color: #fff;
}

.img_border2 {
	display: inline-block;
	width: 70px;
	padding: 2px;
	vertical-align: middle;
	border: 1px solid #ddd;
	border-radius: 5px;
	background-color: #fff;
}
*/


/*********** Passwd *************/
.passwd {width:450px; margin:0 auto; border:2px solid #eaeaea; padding:20px 15px;}
.passwd ul {width:98%; overflow:hidden; padding:0; margin:0;}
.passwd li {float:left; padding:0; margin:0; list-style:none;}
.passwd .pw_img {margin-right:5px;}
.passwd .line {width:1px; background:#ddd; height:63px;}
.passwd .info {padding-left:20px;}

.passwd  .msg {padding-bottom:10px;}
.passwd  .input_passwd {margin-right:10px}
.passwd  .btn {}


/*********** Comment *************/
.comments {margin-bottom:10px;}
.comments textarea {height:58px;}
.comment_close textarea {height:58px;}



/*******************************************************************************
	@media 801~980px
*******************************************************************************/
@media all and (max-width:980px){

.supplyList li {width:19.2%;}
.supplyList li:nth-child(6n) {margin-right:1%;}
.supplyList li:nth-child(5n) {margin-right:0;}


}


/*******************************************************************************
	@media 681~800px
*******************************************************************************/
@media all and (max-width:768px){

.supplyList li {width:24.25%;}
.supplyList li:nth-child(5n) {margin-right:1%;}
.supplyList li:nth-child(4n) {margin-right:0;}

}

/*******************************************************************************
	@media
*******************************************************************************/
@media all and (max-width:680px) {



}


/*******************************************************************************
	@media
*******************************************************************************/
@media all and (max-width:480px) {

.supplyList li {width:32.666%;}
.supplyList li:nth-child(4n) {margin-right:1%;}
.supplyList li:nth-child(3n) {margin-right:0;}

}


/*******************************************************************************
	@media
*******************************************************************************/
@media all and (max-width:360px) {

.supplyList li {width:49.5%;}
.supplyList li:nth-child(3n) {margin-right:1%;}
.supplyList li:nth-child(2n) {margin-right:0;}

}