@charset "utf-8";

/* ========================================
   게시판 목록 및 갤러리
   ======================================== */
#bo_gall {
    margin-bottom: 7.5rem;
}

#bo_list {
    margin-bottom: 12rem;
}

#gall_allchk {
    margin-bottom: 1rem;
}

#gall_ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap:30px;
    padding-top: 60px;
    border-top: 2px solid #333;
}

#gall_ul li {
border:1px solid #ddd;
border-radius:10px;
padding:30px;
cursor:pointer;
}

#gall_ul li:hover {
	border-color:#6b26fe;
}

#gall_ul .gall_img {
    position: relative;
    font-size: 0;
    border-radius: 3rem;
    overflow: hidden;
}

#gall_ul .gall_img img {
	display:none;
	width:100%;
	height:100%;
    transition: 0.3s;
}

#gall_ul .gall_con:hover .gall_img img,
#gall_ul .gall_con:focus .gall_img img {
    transform:scale(1.2);
}

#gall_ul .gall_img .no_image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-color: #f4f4f4;
}

/*#gall_ul .detail_wrap {*/
/*		border:1px solid #ddd;*/
/*	border-radius:10px;*/
/*	padding:35px 30px;*/
/*	    height: 260px;*/
/*		width:420px;*/
/*		    box-sizing: border-box;*/
/*}*/


#gall_ul .detail_wrap:hover  .down_box .down_icon {
	 background-image: url('/theme/basic/img/download_icon_white.png');
	background-color:#6b26fe;
}

#gall_ul  .detail_wrap:hover  > .file .gall_right {
	background-color:#6b26fe;
	color:#fff;
	 background-image: url('/theme/basic/img/download_icon_white.png') ;
}

#gall_ul  .down_box {
	text-align:right;
}


#gall_ul  .down_box .down_icon {
	display: inline-block;
    width: 50px;
    height: 50px;
	background-color:#f4f4f4;
	border-radius:50%;
    background-image: url('/theme/basic/img/download_icon.png');
    background-repeat: no-repeat;
    background-position: center center;
}


#gall_ul .detail_wrap .gall_text_href {
    font-weight: bold;
    font-size: 2em;
    line-height: 1.5em;
	margin-bottom: 70px;
}

.attachment-hidden {
	display:none !important;
}

#gall_ul .detail_wrap .gall_date {
    color: #777;
    font-size: 1.6em;
	margin-bottom:30px;
}

/* 사용자 버튼 */
#bo_v_info .btn_bo_user {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

#bo_v_info .btn_bo_user a {
    display: block;
    width: 250px;
    font-weight: 600;
    text-align: center;
    border: 2px solid #333;
    border-radius: 10px;
    font-size: 1.8em;
	padding:20px 0;
    transition: all 0.3s ease;
}

#gall_ul li:hover {
	color:#333;
}

#bo_v_info .btn_bo_user a:hover {
	 background-color: #6b26fe;
    border: 2px solid transparent;
	color:#fff;
}

.cont04 #bo_v_info .btn_bo_user a:hover {
    background-color: #6b26fe;
	color:#fff;
}

.cont06 #bo_v_info .btn_bo_user a:hover {
   background-color: #6b26fe;
	color:#fff;
}
/* ========================================
   게시판 글쓰기
   ======================================== */
#bo_w {
    margin-bottom: 12rem;
}

.write_header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    color: #333;
    padding-bottom: 3rem;
    border-bottom: 3px solid #333;
    margin-top: 8rem;
    margin-bottom: 4rem;
}

.write_header p {
    font-size: 1.6rem;
}

.write_header h3 {
    font-size: 3rem;
}

.write_header strong {
    color: #6b26fe;
}

.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: #6b26fe;
}

/* 입력 필드 공통 스타일 */
.frm_input,
.bo_w_link input,
.file_wr .input_file,
textarea {
    height: 6rem;
    line-height: 3rem;
    padding: 0 2rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1.6em;
}

.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;
    transition: all 0.3s ease;
	font-size:1.6em;
}

label {
	font-size:1.6em;
}

.file_wr .file_btn:hover {
    background-color: #6b26fe;
	color:#fff;
}

.file_wr .hidden {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    overflow: hidden;
}


/* 버튼 스타일 */
.btn_confirm {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 4rem;
}

.btn {
    display: block;
    width: 250px;
    font-size: 1.6em;
    font-weight: 500;
    text-align: center;
    padding: 20px 0;
    border: 1px solid #333;
    border-radius:10px;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #6b26fe;
    border-color: transparent;
}

.btn_cancel {
	height:6rem;
	line-height:1 !important;
}


/* ========================================
   글 상세보기
   ======================================== */
#bo_v {
    margin-bottom: 12rem;
}

#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_con {
	font-size:1.6em;
}

#bo_v .info_detail {
	font-size:1.6em;
}

#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%;
    transform: translateY(-50%);
    width: 1px;
    height: 1rem;
    background-color: #333;
}

.bo_v_nb {
    border-top: 1px solid #ddd;
    margin-top: 5rem;
    margin-bottom: 6rem;
}

.bo_v_nb li {
    display: grid;
    grid-template-columns: 20rem 1fr;
    border-bottom: 1px solid #ddd;
    color: #333;
    font-size: 1rem;
}

.bo_v_nb li .nb_head {
    padding: 2.5rem 0;
    text-align: center;
    background-color: #f4f4f4;
    font-weight: 500;
	line-height:2.5em;
	font-size:1.6rem;
}

.bo_v_nb li .nb_body {
    padding: 2.5rem 0 2.5rem 3rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bo_v_nb li .nb_body a {
	font-size:1.6rem;
	line-height:2.5em;
}

.bo_v_nb li .nb_body span {
    color: #999;
	font-size:1.6rem;
	line-height:2.5em;
}

#bo_v_file {
	margin-top:20px;
	font-size:1.6rem;
}


.wr_content p {
	font-size:1.6em;
	white-space: pre-wrap;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

/*파일*/
#bo_v_file {
	color: #333;
	display: grid;
	align-items: center;
	grid-template-columns: 160px 1fr;
	padding: 2rem 4rem;
	border: 1px solid #333;
	border-radius:1rem;
	margin-bottom: 1.5rem;
}
#bo_v_file > p {
	font-weight:500;
}
#bo_v_file .view_file_download {
	position:relative;
	color: #333;
	display: block;
	padding: 1rem 4rem;
	word-break: break-all;
}
#bo_v_file .view_file_download:after {
	content:'';
	position:absolute;
	left:0;
	top:50%;
	translate:0 -50%;
	width:26px;
	height:26px;
	border-radius:5px;
	border:1px solid #ddd;
	background-image: url("/theme/basic/img/file.png");
	background-repeat: no-repeat;
	background-position: center;
	transition:0.3s;
}
#bo_v_file .view_file_download:hover:after {
	border:1px solid transparent;
	background-image: url("/theme/basic/img/file_w.png");
}
@media all and (max-width:640px){
	#bo_v_file{
		padding:2rem;
		grid-template-columns: 1fr;
	}
}
/* 링크 */
#bo_v_link {
	 color: #333;
    display: grid;
    align-items: center;
    grid-template-columns: 160px 1fr;
    padding: 2rem 4rem;
    border: 1px solid #333;
	border-radius:3rem;
    margin-bottom: 7rem;
}
#bo_v_link h4 {
	font-weight:500;
}
#bo_v_link li a{
	position:relative;
	display:block;
	color: #333;
    padding: 1rem 4rem;
	word-break: break-all;
}

#bo_v_link li a:after {
	content:'';
	position:absolute;
	left:0;
	top:50%;
	translate:0 -50%;
	width:26px;
	height:26px;
	border-radius:5px;
	border:1px solid #ddd;
	background-image: url("/theme/basic/img/bd_link.png");
	background-repeat: no-repeat;
	background-position: center;
	transition:0.3s;
}
#bo_v_link li a:hover:after{
	border:1px solid transparent;
	background-image: url("/theme/basic/img/bd_link_w.png");
}
@media all and (max-width:640px){
	#bo_v_link{
		padding:2rem;
		grid-template-columns: 1fr;
	}
}


/* ========================================
   반응형 미디어 쿼리
   ======================================== */

/* 1280px 이하 */
@media (max-width: 1280px) {
    #gall_ul {
        grid-template-columns: repeat(2, 1fr);
    }

}

/* 920px 이하 */
@media (max-width: 920px) {
    .write_div {
        grid-template-columns: 9rem 1fr;
    }
}

/* 720px 이하 */
@media (max-width: 720px) {
    #gall_ul {
        grid-template-columns: repeat(1, 1fr);
        gap: 2rem;
    }

    #gall_ul .detail_wrap {
        padding: 2rem 0 1.5rem;
    }

    #bo_v .profile_info {
        padding: 3.5rem 2rem;
    }

    #bo_v .profile_info h5 {
        font-size: 2rem;
    }
}

/* 560px 이하 */
@media (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%;
    }
}

/* 480px 이하 */
@media (max-width: 480px) {
    .write_header {
        display: block;
        margin-top: 4rem;
    }
}

/* 420px 이하 */
@media (max-width: 420px) {
    .write_div {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}
