.board {
	margin: 0 5px 30px 5px;
}

/* 검색박스 */
.board .search-wrap {
	padding: 7px 5px;
	border-bottom: 1px #d7d7d7 solid;
	background-color: #f1f1f4;
	margin-bottom: 20px;
	display: none;
}
.board .searchbox {
	display: table;
	width: 100%;
	border-spacing: 0;
}
.board .searchbox .fc {
	display: table-cell;
	width: 70px;
}
.board .searchbox .fv {
	display: table-cell;
}
.board .searchbox .btn {
	display: table-cell;
	width: 60px;
	text-align: right;
}
.board .searchbox .fv input[type=text] {
	width: calc(100% - 14px);
	height: 36px;
	text-align: center;
}
.board .searchbox .btn input {
	width: 100%;
	padding-left: 0;
	padding-right: 0;
	height:37px;
	border: 0;
	background-color:#444;
	color:#fff;
}



/* 글수, 분류 표시 */
.list-top {
	position: relative;
	margin: 5px;
	height: 45px;
	border-bottom: 1px #d7d7d7 solid;
}
.list-top .hwords {
	position: absolute;
	left: 0;
	bottom: 4px;
}
.list-top .btn-topwrite {
	position: absolute;
	right: 0;
	bottom: 4px;
}
.list-top .btn-topwrite input {
	height: 37px;
}
.list-top .chk-all {
	position: absolute;
	right: 25px;
	bottom: 4px;
}

.list-top .list-menu {
	position: absolute;
	right: 0;
	bottom: 4px;
	height: auto;
	text-align: right;
}
.list-top .list-menu .bl-items {
	bottom: 0;
	right: 5px;
}
.list-top .list-menu .bl-items ul {
	margin: 0;
	padding: 0;
	list-style: none;
	width: 200px;
}
.list-top .list-menu .bl-items li {
	white-space: nowrap;
	text-align: center;
	padding: 5px 10px;
	border: 1px #d7d7d7 solid;
	opacity: 1;
	margin: 0 2px;
	font-weight: bold;
	color: #000;
	float: right;
}
.list-top .list-menu .bl-items li span {
	cursor: pointer;
}

/* 목록하단 버튼, 검색 */
.listbuttons {
	position:relative;
	margin:10px;
}
.listbuttons .left {
	min-height: 40px;
}
.listbuttons .right {
	position:absolute;
	top:0;
	right:0;
}
.listbuttons .searchbox input[type=text] {
	height: 37px;
}
.listbuttons input[type=button] {
	height: 34px;
}


/* 목록하단 글이동 */
.move-articles {
	margin: 30px 0 0 0;
	text-align: center;
	display: none;
}
.move-articles input[type=button] {
	height: 36px;
}

/* 목록형 */
.board .list {
	padding:5px;
	/*border-top:1px #ccc solid;*/
}
.board .list .article-wrap {
	position: relative;
	padding:7px 0;
	border-bottom:1px #999 dotted;
}
.board .list .article-wrap .subject {
	font-size:16px;
	padding: 8px 0;
}
.board .list .article-wrap .number {
	font-size:12px;
	color:#999;
	margin-right:5px;
}
.board .list .article-wrap .info {
	position: absolute;
	padding-right:5px;
	text-align:right;
	color:#909090;
	font-size:12px;
	right: 10px;
	top: 20px;
}
.board .list .article-wrap .info img {
	vertical-align: middle;
}


.board .list .article-wrap .info .sep {
	margin: 0 5px;
	display: none;
}
.board .list .article-wrap .info .date {
	display: inline-block;
	width: 120px;
	text-align: center;
	margin-left: 10px;
}
.board .list .article-wrap .info .writer {
	display: inline-block;
	width: 120px;
	text-align: center;
	margin-left: 20px;
}
.board .list .article-wrap .info .view {
	display: inline-block;
	width: unset;
	text-align: center;
	margin-left: 20px;
}

.board .photolist .article-wrap {
	width: 25%;
}


/* 앨범형 */

.board .photolist {
	padding:10px 0;
	text-align:left;
	margin: 0 5px;
}
.board .photolist .article-wrap {
	display: inline-block;
	vertical-align: top;
	margin-bottom: 30px;
	width: 25%;
}
.board .photolist .article-wrap .innerwrap {
	margin: 0 5px;
	border: 1px #d7d7d7 solid;
}

.board .photolist .photo-wrap {
	position: relative;
	margin: 2px;
	height: 0;
	padding: 0 0 56.25% 0;
	cursor:pointer;
	overflow: hidden;
}
.board .photolist .photo-wrap img {
	position: absolute;
	width: 100%;
}
.board .photo-wrap .info-good {
	position: absolute;
	right: 0;
	bottom: 0;
	background-color: rgba(255,60,0,.5);
	color: #fff;
	font-size: 12px;
	padding: 4px 3px 2px 7px;
	border-radius: 10px 0 0 0;
}

.board .photolist .subject {
	background-color: #f1f1f1;
	padding: 15px 5px;
	text-align:center;
	white-space: nowrap;
	overflow-x: hidden;
	text-overflow: ellipsis;
}
.board .photolist .info {
	padding: 7px 5px;
	line-height:140%;
	font-size:12px;
	text-align: right;
	color:#929292;
}
.board .photolist .info .writer {
	float: left;
}
.board .photolist .info img {
	vertical-align: middle;
}

/* 웹진형 */
.board .webzine {
	padding:10px;
	text-align:left;
}
.board .webzine .article-wrap {
	position:relative;
	padding:15px 0 30px 0;
	border-bottom:1px #d7d7d7 solid;
}
.board .webzine .photo-wrap {
	width:33%;
	text-align:left;
	padding:2px;
	margin-right: 7px;
	vertical-align:top;
	float:left;
}
.board .webzine .photo-wrap img {
	width: 100%;
	margin:0;
}
.board .webzine .article-wrap p {margin:0;}
.board .webzine .number {color:#777;}
.board .webzine .subject {
	font-weight:bold;
	margin-bottom: 5px;
}
.board .webzine .content {
	color: #888;
	line-height: 150%;
}
.board .webzine .info {
	position:absolute;
	right:2px;
	bottom:2px;
	color:#929292;
}


/* 보기페이지 */
.board .view {
}
.board .view .sibling-wrap {
	position: relative;
	height: 50px;
}
.board .view .sibling-wrap a {
	position: absolute;
	display: inline-block;
	padding:5px 15px;
	border:1px #ccc solid;
	border-radius:3px;
	background-color:#f4f4f4;
	color:#444;
	margin:4px 2px;
	font-size:14px;
	top: 7px;
	cursor: pointer;
}
.board .view .sibling-prev {
	left: 10px;
}
.board .view .sibling-next {
	right: 10px;
}

.board .view .subjectwrap {
	position: relative;
	padding:20px 10px 30px;
	font-size:16px;
	font-weight:bold;
	border-top: 1px #d7d7d7 solid;
	border-bottom:1px #d7d7d7 solid;
}
.board .view .subjectwrap .headword {
	display:inline-block;
	padding:2px 5px;
	border:1px #ccc solid;
	border-radius:2px;
	font-size:12px;
	
}

.board .view .subjectwrap .info {
	position: absolute;
	bottom: 2px;
	right: 10px;
	padding:3px 0;
	text-align:right;
	color:#929292;
	font-size: 12px;
}

.board .view .board-items th {
	display: table-cell;
	width: 90px;
	text-align: center;
	padding: 8px 0;
	background-color: #eef4fb;
}
.board .view .board-items td {
	padding-left: 10px;
}
.board .view .attachlist {
	margin: 0;
	padding: 0;
	list-style: none;
}
.board .view .attachlist li {
	padding: 4px 0;
	white-space: nowrap;
	overflow-x: hidden;
	text-overflow: ellipsis;
}

.board .view .content > div {
	margin: 5px;
	line-height:150%;
	border-bottom:1px #ccc solid;
	min-height:200px;
}

.board .view .content img {
	max-width:100%;
	height:auto;
}

.board .view .filelist {
	padding:5px 0;
	border-bottom:1px #ccc solid;
}
.board .view .filelist .title {
	font-weight:bold;
}
.board .view .filelist span {
	display:inline-block;
	white-space:nowrap;
	margin-right:10px;
}
.board .view .filelist span * {
	vertical-align:middle;
}

.board .view .comments {
	margin-top:10px;
}
.board .view .comments-wrap {

}
.board .view .comments .write {
	border:1px #d7d7d7 solid;
	padding:5px;
	background-color:#fff;
	font-size:12px;
}

.addcomment-items {
	width: 100%;
	border-spacing: 0;
}
.addcomment-items td {
	padding: 15px 10px;
}
.addcomment-items td input[type=text],
.addcomment-items td input[type=password],
.board .view .comments .write input[type=text],
.board .view .comments .write input[type=password] {
	background-color: #f1f1f1;
	padding: 8px 10px;
	height: auto;
	width: 100px;
}
.btn-addcomment {
	padding: 5px 0;
	text-align: right;
}
.btn-addcomment input[type=button] {
	height: 36px;
}




.board .view .comments-wrap .summary {
	font-weight:bold;
	padding:15px 0 7px 10px;
	border-bottom:1px #ccc solid;
}
.board .view .comments-wrap .comment {
	padding:10px 5px;
	border-bottom:1px #ccc solid;
	background-color:#fff;
	margin-bottom:4px;
}
.board .view .comments-wrap .comment .cmt-emoticon {
	width:24px;
	height:auto;
	vertical-align:middle;
}
.board .view .comments-wrap .comment .cmt-info {
	text-align:left;
	padding:3px 0 10px;
	border-bottom:1px #d7d7d7 dashed;
}
.board .view .comments-wrap .comment .cmt-info .cmd {
	float:right;
}
.board .view .comments-wrap .comment .cmt-info .cmd span {
	cursor:pointer;
}
.board .view .comments-wrap .comment .cmt-info .writer {
	color:#000;
}
.board .view .comments-wrap .comment .cmt-content {
	padding:10px;
}

.captchaimg,
.refreshimg {
	height:26px;
	width:auto;
	vertical-align:middle;
}




/* 글쓰기/수정/응답글 페이지 */
.board .write {
	margin: 20px 0;
}

.board .board-items {
	width: 100%;
	border-spacing:0;
	border-collapse:collapse;
	border:0;
	border-top:1px #d0d0d0 solid;
}
.board .board-items tr {
	height:35px;
}
.board .board-items th {
	background-color: #eef4fb;
	display: none;
}
.board .board-items th,
.board .board-items td {
	font-weight:normal;
	border-bottom:1px #d0d0d0 solid;
	padding:10px 0;
}
.board .write .inputwrap {
/*	margin: 0 15px 0 10px;*/
	margin: 0 10px 0 5px;
}
.board .write .inputwrap .chkwrap {
	display: inline-block;
	white-space: nowrap;
	margin-top: 8px;
}
.board .write .board-items input[type=text],
.board .write .board-items input[type=password],
.board .write .board-items input[type=tel],
.board .write .board-items input[type=email] {
	height: 30px;
	width: 100%;
	padding-left: 5px;
}


.board .editor-wrap {
	position: relative;
	margin: 10px 0;
}
.board .editor-wrap #content {
	display: none;
}
.board .editor-wrap .attach-buttons {
	position: absolute;
	top: 10px;
	right: 10px;
}
.board .editor-wrap .attach-buttons .attach-btn {
	display: inline-block;
	border: 1px #aaa solid;
	border-radius: 3px;
	background-color: #fff;
	color: #777;
	padding: 2px 7px;
	font-size: 12px;
	cursor: pointer;
}
.editToolBox {
	height: 40px;
	border-top: 1px #d7d7d7 solid;
	background-color: #f1f1f1;
}
.editDiv {
	height:200px;
	overflow:scroll;
	border:1px #d7d7d7 solid;
	padding: 5px;
}
.editDiv img {
	max-width:100%;
	height:auto;
}

.board-extitems-wrap {
	margin: 0 10px 20px ;
}
.board-extitems {
	width: 100%;
	border-spacing: 0;
}
.board-extitems th {
	display: block;
	text-align: left;
	font-weight: normal;
	padding: 15px 10px 5px 5px;
}
.board-extitems td {
	display: block;
	padding:10px 0;
	border: 1px #d7d7d7 solid;
	
}
.board-extitems td input[type=text] {
	width: 100%;
	border: 0px #d7d7d7 solid;
	padding: 0;
}

.board-extitems .inputwrap .m-title {
	display: inline-block;
	margin-right: 10px;
}
/* nogrant */
.board .nogrant {
	margin:30px auto;
	width:90%;
	padding:30px 0;
	text-align:center;
	background-color:#eee;
	border:1px #ccc solid;
}



/* 게시판 이미지, 첨부파일 레이어 */
.attachlayerbox,
.imglayerbox {
	position: fixed;
	background-color: #fff;
	border: 1px #777 solid;
	box-shadow: 1px 1px 2px #333;
	box-shadow: 1px 1px 2px rgba(0,0,0,.3);
	padding-bottom: 5px;
	display: none;
}
.attachlayerbox .attachlayer-title,
.imglayerbox .imglayer-title {
	position: relative;
	background-color: #f1f1f1;
	height: 40px;
	padding-top: 3px;
	color: #333;
	text-align: left;
	border-bottom: 1px #ccc solid;
}
.attachlayerbox .attachlayer-title .title,
.imglayerbox .imglayer-title .title {
	display: inline-block;
	padding: 7px 0 0 12px;
	font-size: 13px;
	font-weight: bold;
}
.attachlayerbox .attachlayer-title input[type=checkbox],
.imglayerbox .imglayer-title input[type=checkbox] {
	vertical-align: middle;
	margin: 0;
}
.attachlayerbox .attachlayer-title .title span,
.imglayerbox .imglayer-title .title span {
	display: inline-block;
	vertical-align: middle;
}

.attachlayerbox .attachlayer-title .close,
.imglayerbox .imglayer-title .close {
	position: absolute;
	top: 5px;
	right: 5px;
	width: 30px;
	height: 30px;
	background: url(../images/btn-close-gray.png) no-repeat 50% 50%;
	cursor: pointer;
}

.attachlayerbox .attachlayer-container,
.imglayerbox .imglayer-container {
	position: relative;
	overflow-y: scroll;
	overflow-x: visible;
}
.attachlayerbox .attachlayer-listwrap,
.imglayerbox .imglayer-listwrap {
	margin: 10px 5px;
}

.imglayerbox .imglayer-listwrap ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.imglayerbox .imglayer-listwrap li {
	display: inline-block;
	width: 100px;
	height: 100px;
	margin: 0 7px 10px;
	vertical-align: top;
}
.imglayerbox .imgwrap {
	position: relative;
	-webkit-display: flex;
	display: flex;
	border: 1px #ccc solid;
	width: 100px;
	height: 74px;
	padding: 2px;
	align-items: center;
	justify-content: center;
}
.imglayerbox .imgwrap img {
	max-width: 96px;
	max-height: 70px;
}
.imglayerbox .imgbtnbox {
	position: absolute;
	left: -1px;
	bottom: -26px;
	width: 100%;
	height: 20px;
	padding: 2px 0;
	border: 1px #ccc solid;
	border-top: 0;
}
.imgbtnbox .imgbtn {
	display: inline-block;
	width: 20px;
	height: 20px;
	vertical-align: top;
	cursor: pointer;
}
.imgbtnbox .imgbtn-addtodoc {
	background: url(../images/imgbtn-addtodoc.png) no-repeat 50% 50%;
}
.imgbtnbox .imgbtn-setdefault {
	background: url(../images/imgbtn-setdefault.png) no-repeat 50% 50%;
	margin: 0 15px;
}
.imgbtnbox .imgbtn-trash {
	background: url(../images/imgbtn-trash.png) no-repeat 50% 50%;
}


.imglayerbox .adder {
	position: relative;
	width: 100px;
	height: 100px;
	background-color: #f9f9f9;
	border: 1px #ccc solid;
	cursor: pointer;
}
.imglayerbox .adder:hover {
	background-color: #f1f1f1;
}
.imglayerbox .adder input[type=file] {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
}
.imglayerbox .adder .addmark {
	display: table;
	width: 100%;
	height: 100%;
	border-spacing: 0;
}
.imglayerbox .adder .addmark div {
	display: table-cell;
	width: 100%;
	height: 100%;
	vertical-align: middle;
	text-align: center;
	font-size: 30px;
	line-height: 50%;
}

.attachlayerbox .attachlayer-footer {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 40px;
	background-color: #fff;
	border-top: 1px #999 solid;
	font-size: 11px;
}
.attachlayerbox .attachlayer-footer > div {
	position: relative;
	padding: 8px 0 0 5px;
}
.attachlayerbox .attachlayer-footer .uploadwrap {
	position: absolute;
	top: 8px;
	right: 25px;
}
.attachlayerbox .attachlayer-footer .uploadwrap label {
	position: absolute;
	top: 0px;
	right: 0px;
	display: block;
	width: 100px;
	text-align: center;
	padding: 4px 0;
	background-color: #fff;
	border: 1px #ccc solid;
	color: #777;
	font-weight: bold;
	border-radius: 3px;
	cursor: pointer;
}
.attachlayerbox .attachlayer-footer .uploadwrap label:hover {
	background-color: #777;
	color: #fff;
}
.attachlayerbox .attachlayer-footer .uploadwrap .btn-upload {
	position: absolute;
	top: 0px;
	right: 0px;
	width: 100px;
	height: 25px;
	opacity: 0;
	cursor: pointer;
}

.attachlayerbox .attachlist {
	width: 100%;
	border-spacing: 1px;
	font-size: 12px;
}
.attachlayerbox .attachlist th {
	background-color: #ccc;
	color: #333;
	font-weight: normal;
	padding: 3px 0;
}
.attachlayerbox .attachlist td {
	padding: 7px 0;
	border-bottom: 1px #ccc dotted;
}
.attachlayerbox .attachlist .attach-del {
	background: url(../images/imgbtn-trash.png) no-repeat 50% 50%;
	cursor: pointer;
}


.attachlayerbox iframe, .imglayerbox iframe {
	display: none;
}


/* dialogs */

#dlgCheckPw {
	width: 90%;
	max-width: 500px;
}
#dlgCheckPw .dlg-input {
	text-align: center;
	padding: 30px 0;
}
#dlgCheckPw .dlg-input input {
	width: 300px;
}

#dlgCommentCheck {
	width: 90%;
	max-width: 500px;
}
#dlgCommentCheck .dlg-input {
	text-align: center;
	padding: 30px 0;
}
#dlgCommentCheck .dlg-input input {
	width: 90%;
	max-width: 500px;
}

#dlgCommentEdit,
#dlgCommentReply  {
	width: 90%;
	max-width: 800px;
}


@media (max-width: 767px) {

	.board .search-wrap {
		display: block;
	}
	.list-top .list-menu {
		display: block;
	}
	.list-top .list-menu .bl-items {
		display: block;
	}

	.board .list .article-wrap .info {
		position: relative;
		top: auto;
		right: auto;
	}
	.board .list .article-wrap .info .sep {
		display: inline-block;
	}
	.board .list .article-wrap .info .date {
		width: auto;
		margin-left: 0;
	}
	.board .list .article-wrap .info .writer {
		width: auto;
		margin-left: 0;
	}
	.board .list .article-wrap .info .view {
		width: auto;
		margin-left: 0;
	}

	.board .photolist .article-wrap {
		width: 50%;
	}


	.move-articles {
		display: block;
	}

	.listbuttons {
		display: none;
	}


}


