@charset "utf-8";

/* ========================================
   기본 레이아웃
   ======================================== */
.sub_content_wrap {
    padding: 8rem 0 20rem;
}

/* ========================================
   공통 버튼 스타일
   ======================================== */
.btn {
    font-size: 1.8em;
    border: 1px solid #333;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    color: #fff;
    background: blue;
}

.cont04 .btn:hover {
    background-color: #9cb200;
}

.cont06 .btn:hover {
    background-color: #c84700;
}

/* ========================================
   게시판 목록
   ======================================== */
#bo_list {
    margin-bottom: 8.75rem;
}

.blist_wrap {
    margin-bottom: 5rem;
}

/* 목록 헤더 */
.list_head {
    display: grid;
    grid-template-columns: 8rem 1fr;
    padding: 20px 0;
    text-align: center;
    font-weight: 700;
    border-top: 2px solid #333;
    border-bottom: 1px solid #333;
}

.list_head > div {
    font-size: 1.8em;
    border-right: 1px solid #ddd;
}
.list_head .hd_subject
{
    border-right: 0;
}

/* 목록 본문 */

#bo_cate h2 {
	display:none;
}

#bo_cate_ul {
	display: flex;
    justify-content: center;
    gap: 6px;
/*	max-width: 980px;*/
    align-items: center;
    flex-wrap: wrap;
	margin:0 auto 100px auto;
}

/*#bo_cate_ul li:first-child {*/
/*	display:none;*/
/*}*/

#bo_cate_ul li {
    min-width: 190px;
	 width: calc((100% - 30px) / 6);
}

#bo_cate_ul li a {
	display:block;
	padding: 25px;
    background: #e8eaf6;
    border-radius: 5px;
    color: #333;
    font-weight: 600;
    font-size: 1.8em;
    letter-spacing: -0.02em;

    min-width: 190px;
	text-align:center;
}

#bo_cate_ul li a#bo_cate_on {
	color:#fff;
	background:#264fff;
}

.list_body .list_row {
    display: grid;
    grid-template-columns: 8rem 1fr;
    padding: 20px 0;
    text-align: center;
    border-bottom: 1px solid #ddd;
    transition: background-color 0.3s ease;
}

.list_body .list_row:hover {
    background-color: #f3f5ff;
}

.cont06 .list_body .list_row:hover .bd_subject {
    color: #c84700;
    text-decoration: underline;
}

.list_body .list_row .bd_subject {
    color: #333;
    font-weight: 500;
    text-align: left;
    padding-left: 2rem;
}

.list_body .list_row .bd_subject:hover {
	color:#264fff;
}

/* 관리자 체크박스 */
.admin_check .list_body .list_row {
    color: #777;
	 grid-template-columns: 4rem 10rem 1fr;
}
    .admin_check .list_head {
       grid-template-columns: 4rem 10rem 1fr;
    }


/* 답변 상태 */
.reply {display:none;}

.reply span {
    display: inline-block;
    width: 80px;
    text-align: center;
    line-height: 1em;
    padding: 5px 0;
    border-radius: 2rem;
}

.reply .wait {
    color: #777;
    border: 1px solid #ddd;
}

.reply .com {
    color: #fff;
    background-color: #333;
}

/* 목록 없음 메시지 */
.list_none {
    color: #777;
    padding: 4rem 0;
    text-align: center;
	font-size:1.6em;
}

/* ========================================
   게시판 상세보기
   ======================================== */
#bo_v {
    margin-bottom: 7.5rem;
}

/* 프로필 정보 */
#bo_v .profile_info {
    text-align: center;
    padding: 60px 0;
    margin-bottom: 60px;
    background-color: #f4f4f4;
    border-radius: 20px;
}

#bo_v .profile_info h5 {
    font-size: 3.2em;
    font-weight: bold;
/*    margin-bottom: 2rem;*/
}

#bo_v .info_detail .if_date {
    position: relative;
    padding-right: 1.5rem;
    margin-right: 1.5rem;
	font-size:1.6em;
}
#bo_v .sv_member {
	display:none;
	font-size:16px;
}

	.profile_info .top_menu {
		display:flex;
		gap:5px;
		justify-content: center;
		margin-bottom:25px;
	}
    
	.profile_info .top_menu span {
		padding:10px 15px;
		display:inline-block;
		border-radius:5px;
		border:1px solid #000033;
		font-size:1.6em;
		font-weight:500;
	}

	.profile_info .top_menu .black_bg {
		background:#333;
		color:#fff;
		font-weight:400;
	}

#bo_v .info_detail .if_date:after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 1rem;
    background-color: #333;
}

.con_info_tbl {
	border:2px solid #333;
	border-radius:20px;
}

.bd_num {
	 color:#333;
	 font-weight:600;
}

/* 글 내용 */
/*#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;
	flex-wrap:wrap;
}

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

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

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

.cont06 #bo_v_info .btn_bo_user a:hover {
    background-color: #264fff;
}

/* ========================================
   게시판 글쓰기
   ======================================== */
#bo_w {
    margin-bottom: 7.5rem;
}

.bo_w_flie.write_div:nth-child(2) {
	display:none;
} 

.write_div input,
.write_div textarea {
    border: none !important;
}

/* 쓰기 헤더 */
.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 p {
    font-size: 1.6rem;
}

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

.write_header strong {
    color: #264fff;
}

/* 옵션 */
.bo_v_option {
    display: flex;
    gap: 1rem;
}

/* 입력 필드 */

.bo_w_select  {
    display: grid;
    grid-template-columns: 12rem 1fr;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
}

.bo_w_select  > label {
    font-weight: bold;
    font-size: 1.8em;
}

.bo_w_select  > label > strong {
    color: #264fff;
}

.bo_w_select select {
	font-size:1.6em;
	height: 6rem;
    width: 100%;
    padding: 0 2rem;
    border:none;
	background:#f5f5f5;
}


.write_div {
    display: grid;
    grid-template-columns: 22rem 1fr;
	gap:1rem;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
}

.write_div > label {
    font-weight: bold;
    font-size: 1.8em;
}

.write_div > label > strong {
    color: #264fff;
}


.frm_input, 
.bo_w_link input, 
.file_wr .input_file {
	font-size:1.6em;
    height: 7rem;
    line-height: 1.6;
    padding:1rem 2rem;
    background: #f5f5f5;
}


.full_input {
    width: 100%;
}


/* 특정 입력 필드 */
.name_box input,
.phone_box input {
    max-width: 500px;
}

.email_box #autosave_wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
	flex-wrap:wrap;
}

.email_box input {
	font-size:1.6em;
    max-width: 350px;
    background: #f5f5f5;
    height: 3rem;
    line-height: 3rem;
    padding: 0 2rem;
}

/* 도메인 선택 드롭다운 */
.email_box .domain-dropdown {
    position: relative;
    width: 180px;
    height: 3rem;
    padding: 0 2rem;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1.6em;
    color: #999;
    cursor: pointer;
	border:none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
	background:url('/theme/basic/img/select_arrow.png') no-repeat 85% 50%/10px auto #f5f5f5;
}

select::-ms-expand {
   display:none;
}

/* 링크 입력 */
.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: 45rem;
    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;
}

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

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

.file_del label {
	font-size:1.6rem;
}

/* 확인 버튼 */
.btn_confirm {
    margin-top: 4rem;
    text-align: center;
}

.contact-container {
    margin: 0 auto;
    border: 2px solid #333;
    border-radius: 20px;
    padding: 60px 80px;
    text-align: center;
}

.contact-title {
    font-size: 40px;
    font-weight: 700;
    color: #333;
    margin-bottom: 35px;
    letter-spacing: -0.01em;
}

.contact-description {
    margin-bottom: 40px;
}

.contact-description p {
    font-size: 1.8em;
    color: #333;
    line-height: 1.8;
}

.contact-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    background: #f3f5ff;
    padding: 30px 50px;
	flex-wrap:wrap;
}

.info-item {
    display: flex;
	gap:10px;
	flex-wrap:wrap;
}

.contact-container .info-label {
    font-size: 1.8em;
    font-weight: 700;
    color: #333;
    letter-spacing: -0.01em;
}

.info-value {
    font-size: 1.8em;
    font-weight: 400;
    color: #333;
    letter-spacing: -0.01em;
    word-break: keep-all;
}

.info-value a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-value a:hover {
    color: #333;
}

#bo_v_con ul {
	padding:30px 35px;
	margin:0;
}

#bo_v_con ul li {
	position:relative;
	display:flex;
	gap:10px;
	font-size:1.6em;
	margin-bottom:20px;
	color:#333;
}
#bo_v_con ul li:last-child {
	margin-bottom:0;
}

#bo_v_con ul li::before {
	content:'';
	display:block;
	position:absolute;
	top:5px;
	left:-15px;
	width:5px;
	height:5px;
	border-radius:50%;
	background:#264fff;
}

#bo_v_con ul li .tit {
	color:#264fff;
	font-weight:500;
}

.view_box textarea {
	display:none;
}

.view_box .subjecct_box {
	margin-top:60px;
}

.view_box .subjecct_box p {
	font-size:1.6em;
	color:#333;
	line-height:1.625;
	letter-spacing:-0.01em;
	white-space: pre-line;
	word-wrap: break-word;
}


.download #bo_vc_w,
.download #bo_v_con{
	display:none;
}

#bo_v_file >  .big_box {
	display:flex;
	gap:30px;
	flex-wrap:wrap;
}

#bo_v_file > .big_box > li {
	width:calc((100% - 60px) / 3);
	border:1px solid #ddd;
	border-radius:10px;
	padding:25px 35px;
	cursor:pointer;
}

#bo_v_file > .big_box li:hover {
	border-color:#264fff;
}

#bo_v_file .down_box span {
	font-size:1.3em;
	color:#333;
}

#bo_v_file .down_box > li  {
	display: flex;
    justify-content: end;
	align-items: center;
    gap: 10px;
}

#bo_v_file .down_box> li a {
	display:inline-block;
	text-indent: -9999px;
	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;
}

#bo_v_file > .big_box li:hover a {
	background-color:#264fff;
	color:#fff;
	 background-image: url('/theme/basic/img/download_icon_white.png') ;
}

#bo_v_file .file_txt {
	font-size:1.8em;
	color:#333;
	font-weight:700;
	margin-bottom:60px;
}


/* ========================================
   이전글/다음글 네비게이션
   ======================================== */

#bo_vc,
.view_box form
.bo_vc_w_wr {
	display:none;
}

.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: 1.6rem;
}

.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 span,
.bo_v_nb li .nb_body a {
    color: #333;
	font-size:1.6rem;
	line-height: 2.5em;
}

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

/* 1080px 이하 */
@media all and (max-width: 1080px) {
    .list_body .list_row .bd_subject {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
	
	.contact-container {
		padding: 30px 40px;
	}
	.contact-info {
	flex-direction: column;
		gap:20px;
	}
	.info-item {
		gap:20px;
	}

	.privacy-header,
	.consent-section  {
		row-gap:10px;
	}

	.email_box input {
	 max-width:270px;
	}
	.email_box .domain-dropdown {
		width:270px;
	}

	#bo_v_file > .big_box > li {
		width: calc((100% - 30px) / 2);
	}

	#bo_cate_ul {
		margin-bottom:100px;
	}

	#bo_cate_ul >  li {
		width:calc((100% - 30px) / 6)
	}
	#bo_cate_u li a {
		min-width:unset;
	}

}

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

	#bo_v_file > .big_box > li {
		width: 100%;
	}

	#bo_cate_ul >  li {
		width: calc((100% - 24px) / 2);
	}

	#bo_cate_ul li a  {
		width:100%;
		padding:15px;
		font-size:1.6em;
	}
}

/* 720px 이하 */
@media all and (max-width: 720px) {
    /* 게시판 목록 */
   .hd_name, .hd_date, .hd_reply,
	.sv_member, .datetime{
        display: none;
    }

	.bd_num {
		text-align:center;
	}
    
    .admin_check .hd_subject {
        border-right: 0 !important;
    }
    
    .list_body .list_row {
        text-align: left;
         grid-template-columns: 4rem 10rem 1fr;
    }
    
    .admin_check .list_body .list_row {
         grid-template-columns: 4rem 10rem 1fr;
    }
    
    .list_body .list_row .adminchk {
        grid-row: 1 / span 2;
        text-align: center;
    }
    
    .list_body .list_row .bd_subject {
        padding: 0;
/*        grid-column: 1 / span 2;*/
    }
    
    .admin_check .list_body .list_row .bd_subject {
/*        grid-column: 2 / span 2;*/
    }
    
    .list_body .list_row .reply {
        grid-column: 3 / 4;
        grid-row: 1 / span 2;
        align-self: center;
        justify-self: end;
    }
    
    .admin_check .list_body .list_row .reply {
        grid-column: 4 / 5;
    }
    
    /* 글 상세 */
    #bo_v .profile_info {
        padding: 3.5rem 2rem;
    }

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

/* 640px 이하 */
@media all and (max-width: 640px) {
    .bo_v_nb li {
        grid-template-columns: 13rem 1fr;
    }
}

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

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

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