.tb_search {float: left;}
.tb_bt {float: right;}

.pain_block {font-size: 0; text-align: left;}
.pain_block > li {
	display: inline-block;
	position: relative;
	vertical-align: top;
	width: 32%;
	height: 450px;
	border:1px solid #dfdfdf;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	margin-right: 2%;
	margin-bottom: 15px;
}
.pain_block > li:nth-child(3n) {margin-right: 0;}
.pain_block > li span {display: block;}
.pain_block_image {
    position: relative;
    width: 100%;
    height: 355px;
    overflow: hidden;
	border-bottom: 1px solid #dfdfdf;
}
.pain_block_image img {
    position: absolute;
    left: 50%;
    top: 50%;
    height: 100%;
    width: auto;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    z-index: 1;
}
.pain_block_image img { width: auto; height: auto; max-height: 100%; }
.pain_block_uid { position: absolute; left:3px; bottom: 55px; }
.pain_block_title {
	width: 90%;
	font-size: 20px;
	letter-spacing: -0.05em;
	line-height: 28px;
	padding-left: 15px;
	padding-top: 15px;
	color:#333;
	word-break: break-all;
	overflow: hidden;
    text-overflow: ellipsis;	
	white-space: nowrap; 
}
.pain_block_date {
	font-size: 14px;
	color:#797979;
	padding-left: 15px;
	letter-spacing: -0.05em;
	line-height: 1;
	margin-top: 12px;
}
.pain_layerPopBox {
	/* display: none; */
	position: relative;
	width: 100%;
	height: 100%;
}
.painboard_table { border-top: 1px solid #ccc; }
.painboard_table .tb_line > table td { padding: 15px 0;  }
.painboard_table .tb_line > table td:first-child {
	width:18%;
	padding:0 10px;
	font-size: 18px;
	color:#333;	
	letter-spacing: -0.04em;
}
.painboard_table .tb_line > table td:last-child { padding-left: 15px; border-left: 1px solid #ccc; }
.painBtn_box { margin-top: 50px; }

.painBtn_box .painBtn, .painboar_btn {
	display: inline-block;
	vertical-align: top;
    width: 95px;
	height: 40px;
	cursor: pointer;
    text-align: center;
    font-size: 16px;
    line-height: 40px;
    color: #fff!important;
    background: #333;
    border-radius: 0;
    border: none;
    font-weight: 300;
	padding: 0 0;	
}
.painBtn_box a.painBtn, .painboar_btn.cancle_btn { background: #666; }
.painboar_btn.painwrite_btn { background: #006f9b; }
a.painboar_btn:hover {color:#fff;}
.painboard_table .input_,
.painboard_table .inputbox_,
.painboard_table select{
	height: 40px;
	min-width: 250px;
    padding: 0 0 0 5px;
    font-size: 16px;
	border: 1px solid #ddd;
	color:#666;
    background: transparent;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}
.painboard_table .virtual_select_box { margin:0 0; width:250px; }
.painboard_table .virtual_select_box select { border: 1px solid #ddd; }
.painbottom_btn.tb_search input, .painbottom_btn.tb_search select {
	vertical-align: top;
	height: 40px;
    padding: 0 0 0 5px;
    font-size: 16px;
	border: 1px solid #ddd;
	color:#666;
    background: #fff;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}

.painboard_table select option {font-size: 16px; color:#666;}
.painboard_table textarea.inputbox_ {width:100%;
height: 300px; resize: none;}
.painboard_table input[type=file].input_ { width:300px; border:none; }
.painboard_table .tb_line .tb_content { position: relative; }
.painboard_table .tb_line .tb_content .imageUpload_text {
	position: absolute;
	left:18px;
	bottom: 15px;
	font-size: 15px;
	color:#bd0d0d;
}
.multiple_image.tb_line .tb_content{ padding-bottom: 30px; }

.painboard_table .tb_line .tb_subject { white-space: nowrap; }
#tb_board, #tb_board_view { width:100%; margin-bottom: 50px;}
#tb_pagemove {margin:30px 0; padding: 0 0 !important;}

.comics_content {display: none; margin-bottom: 100px;}
#tb_board_view .tb_line { padding:0; }






.layerPop_content {
	position: fixed;
	top:50%;
	left: 50%;
	transform: translate(-50%,-50%);
	z-index: 100;
	min-width: 600px;
	max-height: 900px;
	margin:auto;
	margin-left: 0;
	margin-right: 0;
	background: #fff;
	
}
.layerPop_title {
	display: block;
	width:600px;
	height: 50px;
	line-height: 50px;
	padding: 0 50px 0 30px;
	background: #b3b3b3;
	color:#fff;
	font-size: 20px;
	text-overflow: ellipsis; white-space: nowrap; overflow: hidden;
	box-sizing: border-box;
}
.layerPop_close {
	position: absolute;
	width: 22px;
	height: 23px;
	right: 20px;
	top:14px;
	background-image: url(images/layer_close.png);
	font-size: 0;
}
.popup_bg {
	position: fixed;
	left:0;
	top:0;
	z-index: 99;
	width:100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
}
.layerPop_slider { background: #fff; }
.layerPop_slider .bx-viewport{ height: auto !important;}
.layerPop_slider ul li{ width: auto !important;}
.layerPop_slider .bx-wrapper { padding: 25px 0; height: auto;}
.layerPop_slider .bx-wrapper,
.layerPop_slider .bx-wrapper img {
	max-height: 600px !important;
}
.layerPop_slider .bx-wrapper img {
	margin: 0 auto;
}
.layerPop_slider .bx-wrapper .bx-controls-direction a {
    margin-top: -21px;
    width: 22px;
    height: 42px;
    background-image: url(images/layerpop_slider_direction.png);
	background-repeat: no-repeat;
	background-position: 0 0;	
}
.layerPop_slider .bx-wrapper .bx-prev {
    left: -30px;
}
.layerPop_slider .bx-wrapper .bx-next {
	right: -30px;
	transform: rotate(180deg);
}
.layerPop_btn {
	position: relative;
	bottom: 0;
	height: 88px;	
	width: 100%;
	background: #fff;
	border-top: #dfdfdf 1px solid;
}
.board_direction_box {
	position: absolute;
	width: 100%;
	top:20px;
	left:20px;	
}
.board_direction_box > div {
	display: block;
	position: relative;
	padding-left: 30px;
	cursor: pointer;
}
.board_direction_box > div:before {
	position: absolute;
	content: '';
	width:15px;
	height: 9px;
	background-image: url(images/board_list_prev_next_btn.png);
	left:0;
	top:0;
	bottom: 0;
	margin:auto;
}
.board_direction_box >div {
	position: absolute;
	top:0;
	left:0;
}
.board_direction_box div#nextId {
	top: 30px;
}
.board_direction_box span {
	display: inline-block;
	vertical-align: middle;
	font-size: 17px;
	letter-spacing: -0.05em;
	height:30px;
	line-height:30px;
}
.board_direction_box .board_cotnet_text {	
	width: 100%;
	white-space: nowrap;
	padding-left: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
	text-align:left;
}
.board_direction_box span.direction_text {
	font-weight: 600;
	color:#333;
}
.board_direction_box div#nextId:before {
	transform: rotate(180deg);
}
.board_sns_box {
	position: absolute;
	right: 20px;
	bottom:28px;
	font-size: 0;
}
.board_sns_box a {
	display: inline-block;
	vertical-align: top;
	height: 38px;
	margin-left: 10px;
	background-image: url(images/layerpop_sns_share_btn.png);
}
.board_sns_box a.kakao_btn {	
	width:39px;
	background-position: 0 0;
}
.board_sns_box a.facebook_btn {	
	width:40px;
	background-position: -49px 0;
}
.board_sns_box a.blog_btn {	
	width:38px;
	background-position: -98px 0;
}

.direction_text { 
	font-size:16px; 
	font-weight:bold; 
	width:60px; 
	display:inline-block;
	vertical-align:top;
	height:30px;
	line-height:30px;
}
.board_cotnet_text { 
	font-size:15px; 
	color:#797979;
	width: 220px;
    overflow: hidden;
	text-overflow:ellipsis;
	white-space:nowrap;
	height:30px;
	line-height:30px;
}
.pager_np-case { text-align:left; margin:18px; }
.pager-line {
	width: 500px;
	height:30px;
	line-height:30px;
	overflow:hidden;
	text-overflow:ellipsis;
	white-space:nowrap;
	margin:0;
	padding-left:30px;
	position:relative;
	cursor:pointer;
}
.pager-line:before{
	position: absolute;
	content: '';
	width: 15px;
	height: 9px;
	background-image: url(images/board_list_prev_next_btn.png);
	left: 0;
	top: 0;
	bottom: 0;
	margin: auto;
}
.pager-line:nth-child(2):before { transform: rotate(180deg) }
}



/*  글쓰기  */


#tb_board_list { margin-top: -7px; margin-bottom:30px;}
#tb_board_list thead th, #tb_board th {
    font-size: 16px;
    color: #fff;
    line-height: 36px;
    padding: 5px 0;
    background: #529b8e;
    height: 36px;
    font-weight: 400;
}
#tb_board_list .tb_data {width: 20%;}
#tb_board_list tbody td {
    font-size: 16px;
    line-height: 30px;
    padding: 5px 0;
    color: #555;
    border-bottom: 1px solid #858585;
    text-align: center;
}
#tb_board_list tbody td a, #tb_board_list tbody td a:hover {
    text-decoration: none;
    color:#333;
}

a.bts, a.bts:link {
    display: inline-block;
    width: 95px;
    height: 27px;
    text-align: center;
    font-size: 16px;
    line-height: 27px;
    color: #fff !important;
    background: #555 !important;
    border-radius: 0;
    border:none;
    font-weight: 300;
}


ul.tb_bt {
    float: right;
    width: 500px !important;
    text-align: right;
}



#tb_board_list tbody td > div {
overflow: hidden;
    }


.album_img_box {
    position: relative;
    width: 350px;
    height: 250px;
    overflow: hidden;
    border: 1px solid #c8c8c8;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    float:left;
}

.album_img_box img {
    position: absolute;
    left: 50%;
    top: 50%;
    height: 100%;
    width: auto;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    z-index: 1;
}

.album_img_box img {
    height: auto;
    max-height: 250px;
}

.board_img_box {
    position: relative;
    width: 170px;
    height: 170px;
    float: auto;
}

/* .board_img_box img {
    max-height: 170px;
} */

.album_text_box {
    float:left;
    width:590px;
    margin-left: 30px;
    text-align: left;
}
.album_title {font-size: 24px; font-weight: 500; color:#333; line-height: 24px;}
.album_text {font-size: 18px; line-height: 1.6; margin-top: 25px; max-height: 200px;}
.album_boardLIst li a {display: block; width:100%;     height: 100%;
    line-height: 48px; }

.album_boardLIst li a:hover, .album_boardLIst li a:active {text-decoration: none; color:#333;}
.album_boardLIst li.selected a, .album_boardLIst li.selected a:hover {color:#fff !important;}


.notice_serach_btn {
    background: #486961;
    width:83px;
    height: 35px;
    line-height: 35px;
    font-size: 16px;
    color:#fff !important;
    display:inline-block;
    text-align: center;
}

#tb_board_list tbody .activity_contentBox {font-size: 0; text-align: left;  padding: 15px 0; position:relative;}
.activity_img_box, .activity_text_box {
display: inline-block;
vertical-align: top;
line-height: 1;
}
.activity_img_box {
    position: relative;
    width:150px; 
    height: 150px;
    overflow: hidden;
    border: 1px solid #c8c8c8;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}
.activity_img_box img {
    position: absolute;
    left: 50%;
    top: 50%;
    height: 100%;
    width: auto;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    z-index: 1;
}

.activity_img_box img {
    height: auto;
    max-height: 160px;
}
.category_name {
    position: absolute;
    bottom:5px;
    left:0;
    right:0;
    margin:auto;
    padding: 7px 5px;
    color:#fff;
    background: rgba(41, 71, 163, 0.8);
    font-size: 16px;
    z-index: 2;
    text-align: center;
    line-height: 1;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;

}




.activity_text_box > a { width: 620px; display: table;}
.activity_text_box a > div {display: table-cell;
    vertical-align: top; padding-top: 10px;}
.activity_text_box strong {
    font-size: 18px;
    color:#333;
	letter-spacing: -0.025em;
    font-weight: 400;
        position: absolute;
       bottom: 20px;
}
.activity_text_box span {
    font-size: 24px;
    color:#2b2e83;
    letter-spacing: -0.025em;
	 line-height: 40px;
    display: block;
    margin-bottom: 0;
min-height:40px;
}
.activity_text_box p {
    font-size: 16px;
    color:#333;
    letter-spacing: -0.025em;
    line-height: 22px;

        overflow: hidden;
        width: 700px;
        text-overflow: ellipsis;
        min-height: 20px;
}

.notice_serach_btn:hover {text-decoration: none; opacity: 0.8;}
.input_, .select_, select[name='board_category'], select[name='ps_category'] {height: 35px; 
box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
font-size: 16px;
}

select[name='ps_category'] {
    background:#fff !important;
    color:#333 !important;
    font-size: 16px !important;
}
#tb_board_view .tb_subject {min-width:100px !important;}
#tb_board_view .tb_line {
    padding: 5px 0;
	border-bottom: 1px solid #ccc;
}

#tb_board_view .tb_line input[type=checkbox] {
    vertical-align: middle;
    font-family: inherit !important;  
}
#tb_board_view .tb_line span {
    display: inline-block; 
    margin-right: 5px;
}

#tb_board_view .bt_type {margin-top:30px !important;}

ul.tb_bt li {display: inline-block;}
ul.tb_bt li {
    float: none !important;}

.tb_line span, #tb_board_view .tb_subject, #tb_board_view .tb_content td {font-size: 16px;}
#tb_board_view .tb_subject label {font-weight: 400;}

/* #tb_board, #tb_board_view {width:100%; margin: 0 auto; } */
.tb_body { padding: 50px 20px !important;}
.list .list_next, .list .list_prev {font-size: 18px; font-weight: 300;     text-align: center; text-indent: 0;}
ul.list > li > a {font-size: 18px !important;}

.voc_table {
    border-top: 3px solid #247439;
    width:100%;
    margin:0 auto;
}
.voc_table th, .voc_table td  {
    padding: 13px 0;
    border-bottom: 1px solid #ccc;
}
.voc_table th {
    letter-spacing: -0.05em;
    font-size: 18px;
    line-height: 1;
    text-align: left;
    font-weight: 400;
    padding-left: 34px;
    width:116px;
    color:#333;
}
.voc_table td input, .voc_table textarea {
    border: 1px solid #ccc;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    width:50%;
    height: 30px;
}
.voc_table td.voc_number input  {
    width:124px;
}
.voc_btnBox {
font-size: 0;
text-align: center;
margin: 55px auto 0 auto;

}
.voc_btnBox > li {display: inline-block}
.voc_btnBox > li a {
    width:99px;
    padding: 15px 0;
    display: block;
    border:1px solid #003600;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    background: #529b8e;
    color:#fff;
    text-align: center;
    font-weight: 400;
    font-size: 18px;
}
.voc_btnBox > li:nth-child(2) a {
    border:1px solid #868686;
    background: #f2f2f2;
    color:#333;
    margin-left: 20px;
}



}