@charset "utf-8";

/* 게시판 목록 */
#bo_gall {position:relative; margin-bottom:17rem;}
.bo_fx { position: absolute; bottom: 0; right: 0; zoom:1}
.bo_fx .board_write { display: inline-block; width: 11rem; padding: 1.5rem; border: 1px solid #333; border-radius: 1rem; color:#333; font-weight: 600; text-align: center;}
.bo_fx .board_write:hover {
	color:#fff;
	border:0;
} 
.cont04 .bo_fx .board_write:hover { 
	background-color:#9cb200;
}
@media all and (max-width: 1280px){
	.bo_fx { right: 3rem; }
}
@media all and (max-width: 640px){
	.bo_fx { position: static; }
	.btn_bo_user > li { text-align: right; width:100%; }
	.bo_fx .board_write { width:100%; }
}

/* 커스텀 */
/* 리스트*/
#gall_ul {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 56px;
}
#gall_ul .gall_img {
	position: relative;
	border: 1px solid #ddd;	
	border-radius: 2rem;
	margin-bottom: 3rem;
	overflow: hidden;
}
#gall_ul .soldout .gall_img:after {
	content: '이벤트가 종료 되었습니다';
	position :absolute;
	display:flex;
	justify-content: center;
	align-items: center;
	font-size: 2.5rem;
	font-weight: 500;
	color: #fff;
	top:0;
	left:0;
	width:100%;
	height: 100%;
	background:#060606a1;
}
#gall_ul .gall_li .gall_img img {
	width: 100%;
	transition: 0.3s;
}
#gall_ul .gall_li:hover .gall_img img {
	scale: 1.1;
}
#gall_ul .gall_text_href {
	min-height: 4.5em;
	margin-bottom:3rem;
}
#gall_ul .bo_tit {
	word-break: break-all;
	font-size: 2.4rem;
	font-weight: bold;
	line-height: 1.5em;	
}
#gall_ul .gall_li:hover .bo_tit {
	text-decoration: underline;
}
.cont04 #gall_ul .gall_li:hover .bo_tit {
	color:#9cb200;
}
#gall_ul .gall_date {
	color: #777;
}
#gall_ul .gall_con {
	position: relative;
}
#gall_ul .select_check {
	position: absolute;
	top:1rem;
	left: 1rem;
	z-index: 10;
}

@media all and (max-width: 640px){
	#gall_ul {
		gap: 3rem;
	}
	#gall_ul .gall_img {
		margin-bottom: 1.5rem;
	}
	#gall_ul .bo_tit {
		font-size: 1.8rem;
		line-height: 1.5em;
	}
	#ft {
		margin-top: 10rem;
	}
}


/* 글 상세 */
#bo_v{
	margin-bottom:17rem;
}
#bo_v .profile_info{
	text-align:center;
	padding:5rem 0;
	border-radius:3rem;
	margin-bottom:6rem;
	background-color:#f4f4f4;	
}
#bo_v .profile_info h5 {
	font-size:3.2rem;
	font-weight:bold;
	margin-bottom:2rem;
}
#bo_v .info_detail .if_date{
	position:relative;
	padding-right:1.5rem;
	margin-right:1.5rem;	
}
#bo_v .info_detail .if_date:after{
	content:'';
	position:absolute;
	right:0;
	top:50%;
	translate:0 -50%;
	width:1px;
	height:1rem;
	background-color:#333;
}
#bo_v_atc {
	margin-bottom:6rem;
}
#bo_v_con{
	line-height:1.625em;
}
#bo_v_con img{
	max-width:100%;
}
#bo_v_info .btn_bo_user {
	display:flex;
	justify-content:center;
	gap:1rem;
}
#bo_v_info .btn_bo_user a{
	display:block;
	width:24rem;
	font-weight:600;
	text-align:center;
	padding:2rem 0;
	border:2px solid #333;
	border-radius: 3rem;	
}
#bo_v_info .btn_bo_user .btn_b01:hover{
	color:#fff;
	border:2px solid transparent;
}

@media all and (max-width:980px){
	#gall_ul {
		grid-template-columns:1fr;
	}
}
@media all and (max-width:720px){
	#bo_v .profile_info {
		padding:3.5rem 2rem;
	}
	#bo_v .profile_info h5 {
		font-size:2rem;
	}
}
@media all and (max-width:560px){
	#bo_v_info .btn_bo_user {
		flex-wrap:wrap;
	}
	#bo_v_info .btn_bo_user li ,
	#bo_v_info .btn_bo_user li a{
		width:100%;
	}
}
/* 글 상세 끝*/


/* 게시판 글쓰기 */
#bo_w{
	margin-bottom:17rem;
}
.write_header {
	display: flex;
	justify-content: space-between;
	align-items: end;
	color: #333;
	padding-bottom: 3rem;
	border-bottom: 3px solid #333;
	margin-top: 8rem;
}
.write_header h3 {
	font-size: 3rem;
}
.write_header strong {
	color:red;
}
@media (max-width: 480px) {
    .write_header {
        display: block;
        margin-top: 4rem;
    }
}
#fwrite {
	padding-top:3rem;
}
.bo_v_option{
	display:flex;
	gap: 1rem;
}
.write_div {
    display: grid;
    grid-template-columns: 26rem 1fr;
    align-items: center;	
	margin-bottom:2rem;
}
.write_div > label {
    font-weight: bold;
    font-size: 1.8rem;
    line-height: 1.2em;
}
.write_div > label >  strong {
    color:red;
}
.write_div #ca_name {
	height: 5rem;
	width:100%;
	padding: 0 2rem;
	border : 1px solid #ddd;
}

.write_div .datefrm {
	display:grid;
	grid-template-columns: 1em 48rem;
	align-items:center;
}

.frm_input, .bo_w_link input, .file_wr .input_file{
	height:5.5rem;
	line-height:5.5rem;
	padding: 0 2rem;
	border:1px solid #ddd;
	border-radius: 5px;
}
.wr_content textarea {
	border:1px solid #ddd;
	border-radius: 5px;
}
.full_input {
	width:100%;
}
#wr_content  {
	padding:2rem;
}
.bo_w_link  {
	position:relative;
}
.bo_w_link input{
	padding-left:2rem;
}
.file_wr{
	display:flex;
	gap:1rem;
}
.file_wr .input_file{	
	display:block;
	max-width:50rem;
	width:100%;
}
.file_wr .file_btn{	
	display:flex;
	justify-content:center;
	align-items:center;
	border:1px solid #333;
	border-radius:5px;
	width:15rem;
	cursor:pointer;
}
.file_wr .file_btn:hover{
	color:#fff;
	background-color:#333;
}
.file_wr .hidden{
	position:absolute;
	width:0;
	height:0;
	opacity:0;
	overflow:0;
}

.btn_confirm {
	display: flex;
    justify-content: center;
    gap: 1rem;
	margin-top:4rem;
}
.btn{    
	display: block;
    width: 16rem;
	font-size:1.6rem;
    font-weight: 500;
    text-align: center;
    padding: 2rem 0;
    border: 2px solid #333;
    border-radius: 3rem;
}
.btn_submit:hover {
	color:#fff;
	border: 1px solid transparent;
}
.btn_cancel{
	margin-right:1rem;
}
@media all and (max-width:920px){
	.write_div {
		grid-template-columns: 9rem 1fr;
	}
}
@media all and (max-width:420px){
	.write_div {
		grid-template-columns: 1fr;
		gap:1rem;
	}
}
/* 글쓰기 끝 */