@charset "utf-8";

/* 카테고리 */
.list-category { margin-bottom: 20px; }
.list-category .nav-link.active, 
.list-category .dropdown-item.active { color: crimson; font-weight: bold !important; }

/* 목록 */
.talk-form .anc-write { display: none; }
.list-item .talk-bubble { padding: 0; }
.list-item .list-content { position: relative; overflow: hidden; padding: 3%; }
.list-item .list-img { margin-bottom: 12px; }
.list-item .list-img img { width: 100%; height: auto; }
.list-item .list-details .talker-photo { margin-right: 12px; }
.list-item .list-details .member, 
.list-item .list-details .guest { color: #333 !important; }
.list-item .list-sp { margin: 0 5px; color: #ddd; font-size: 10px; }

/* Responsive (목록 썸네일/아이템 너비) */
@media all and (max-width: 767px) {
	.list-row { width: 50% !important; }
}
@media all and (max-width: 420px) {
	.list-row { width: 100% !important; }
}

/* 아이콘 */
.list-wrap .wr-icon { display: inline-block; padding: 0px; margin: 0px; overflow: hidden; vertical-align: middle; background-repeat: no-repeat; background-position: left top; }
.list-wrap .wr-new { width: 12px; height: 12px; background-image: url('./img/icon_new.gif'); }
.list-wrap .wr-secret { width: 12px; height: 12px; background-image: url('./img/icon_secret.gif'); }
.list-wrap .wr-hot { width: 12px; height: 12px; background-image: url('./img/icon_hot.gif'); }

/* 목록 공통 */
.list-notice .wr-notice { display: inline-block; padding: 0px; margin: 0px; overflow: hidden; vertical-align: middle; background-repeat: no-repeat; background-position: left top; width: 37px; height: 19px; background-image: url('./img/icon_notice.gif'); }
.list-wrap { width: 100%; }
.list-btn-box { margin-bottom: 15px; }
.list-btn-box a span { margin-left: 4px; }
.list-btn-box .sort a { color: crimson !important; font-weight: bold !important; }
.list-btn-box .dropdown-menu { font-size: 12px; }
.list-none { margin: 0px 0px 15px; padding: 80px 0px; }
.list-page { margin-bottom: 15px; }
.list-page .pagination { margin: 0; }

/* 내용 공통 */
.view-wrap { width: 100%; overflow: hidden; }
.view-wrap .img-photo i { background: rgb(245, 245, 245); padding: 16px; border-radius: 50%; width: 80px; height: 80px; text-align: center; color: rgb(143, 143, 143); font-size: 40px; display: inline-block; }
.view-wrap .img-photo img { border-radius: 50%; width: 80px !important; height: 80px !important; display: inline-block; }
.view-wrap .img-resize img { max-width: 100%; height: auto; }
.view-wrap h1 { font-size: 22px; font-weight: bold; margin: 0px; line-height: 50px; display: block; text-overflow: ellipsis; white-space: nowrap; word-wrap: normal; overflow: hidden; padding: 0px 10px; color: rgb(59, 62, 67); letter-spacing: -1px; }
.view-wrap h1 .view-talker-icon { display: inline-block; margin-bottom: 10px; margin-right: 10px; }
.view-wrap .no-attach { border-bottom: 0px; }

.view-btn { margin: 0px 0px 30px; }
.view-btn i { margin-right: 2px; }

.view-head { border-left: 0px; border-right: 0px; }
.view-head .sp { display: inline-block; width: 20px; text-align: center; font-size: 11px; color: #888; }
.view-head .list-group-item { padding: 5px 15px; border-style: dotted; border-width: 1px 0 0 0; }
.view-tag { margin: 10px 0px; padding: 0px; color: #888; }
.view-tag a { color: #888; }
.view-tag a:hover { color: crimson; }
.view-cnt { margin-top: 4px; }
.view-img img { display: block; max-width: 100%; margin: 0 auto 15px; border: 0; height: auto; }
.view-content { padding: 0px 15px 20px; }
.view-mobile .view-content { padding: 0px 0px 20px; }
.view-content img { width: auto; height: auto; max-width: 100%; }
.view-content p { padding: 0; margin: 0; line-height: 22px; }

/* 추천/비추천 박스 */
.view-good-box { text-align: center; margin-top: 20px; }
.view-good-box .btn { border-radius: 30px; padding: 10px 20px; font-size: 18px; }
.view-good-box b { font-size: 18px; margin-left: 5px; }

.view-author .auth-photo { width: 160px; padding-right: 15px; }
.view-comment { color: rgb(51, 51, 51); font-family: "Roboto", sans-serif; margin: 0px 0px 10px; padding: 0px 0px 5px; text-transform: capitalize; overflow: hidden; font-size: 20px; font-weight: 500; border-bottom: 1px solid rgb(51, 51, 51); display: block; position: relative; }

#bo_v_sns { margin: 4px 0 15px; padding: 0; list-style: none; zoom: 1; }
#bo_v_sns:after { display: block; visibility: hidden; clear: both; content: ""; }
#bo_v_sns li { float: left; margin: 0 5px 0 0; }

/* 댓글 */
.comment-media .photo i { background: rgb(245, 245, 245); padding: 15px; border-radius: 50%; width: 64px; height: 64px; text-align: center; color: rgb(143, 143, 143); font-size: 30px; display: inline-block; }
.comment-media .photo img { border-radius: 50%; width: 64px !important; height: 64px !important; display: inline-block; }
.view-mobile .comment-media .photo i { padding: 10px; width: 54px; height: 54px; }
.view-mobile .comment-media .photo img { width: 54px !important; height: 54px !important; }

.comment-media .cmt-row { border-top: 1px solid #eee; margin: 7px 0px; padding: 15px 0px 0px; }
.comment-media .cmt-row:first-child { border-top: 0px; margin-top: 0px; padding-top: 0px; }
.comment-media h5 { margin: 2px 0px; line-height: 22px; }
.comment-media .media-info { margin-left: 10px; }
.comment-media .media-content { margin-top: 8px; }
.comment-media .media-btn { margin-left: 4px; }
.comment-media .cmt-good-btn { text-align: right; padding-right: 1px; }

#bo_vc_opt ol { margin: 0; padding: 0; list-style: none; zoom: 1; }
#bo_vc_opt ol:after { display: block; visibility: hidden; clear: both; content: ""; }
#bo_vc_opt ol li { float: left; margin: 0; }
#bo_vc_send_sns ul { margin: 0; padding: 0; list-style: none; zoom: 1; }
#bo_vc_send_sns ul:after { display: block; visibility: hidden; clear: both; content: ""; }
#bo_vc_send_sns ul li { float: left; margin: 0 0 0 20px; }
#bo_vc_send_sns input { margin: 0 0 0 5px; }

/* 쓰기 공통 */
.write-wrap { width: 100%; overflow: hidden; }
.write-wrap h2 { padding: 0px; margin: 0px; font-size: 14px; font-weight: bold; }
.write-wrap label { font-weight: bold; margin-top: 4px; }
.write-wrap .write-content { height: 300px; }
.write-wrap .write-file { border: 0; box-shadow: none; }
.write-wrap .write-btn { margin: 15px 0px 25px; text-align: center; }
.write-wrap .delete-file { margin: 0px; padding: 0px 10px; font-weight: normal; }
.write-wrap .delete-file label { font-weight: normal; }
.write-wrap .sp-label { font-weight: normal; margin-right: 10px; }
.write-wrap .sp-label input[type="checkbox"], 
.write-wrap .sp-label input[type="radio"] { margin-top: 0px; }

#autosave_pop div { text-align: right; }
#autosave_pop button { margin: 0 0 0 10px; padding: 0; border: 0; background: transparent; color: #888; }
#autosave_pop ul { margin: 0; padding: 0 0 0 15px; list-style: disc; }
#autosave_pop li { padding: 2px 5px; }
#autosave_pop li:after { display: block; visibility: hidden; clear: both; content: ""; }
#autosave_pop a { display: block; float: left; }
#autosave_pop span { display: block; float: right; }

/* 반응형 공통 */
@media all and (max-width: 460px) {
	.list-btn { text-align: center; margin: 0px auto; }
	.float-right.list-btn, 
	.float-end.list-btn { float: none !important; margin-bottom: 14px; }
	
	.view-wrap h1 { text-overflow: clip; overflow: visible; white-space: normal; line-height: 28px; font-size: 18px; margin-bottom: 10px; }
	.view-wrap h1 .talker-photo { display: none !important; }
	.view-btn i { margin-right: 0px; }
	.view-author .auth-photo { float: none; width: 100%; padding-right: 0px; }
	
	.comment-btn { text-align: center; }
	.comment-btn .float-right,
	.comment-btn .float-end { float: none !important; text-align: center !important; justify-content: center; }
}

/* =========================================
   게시글 3D 입체 그림자 및 호버 효과
   ========================================= */
.list-wrap .list-item .talk-bubble {
    background-color: #ffffff; 
    border-radius: 12px; 
    border: 1px solid #f0f0f0; 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); 
    transition: all 0.3s ease-in-out; 
    overflow: hidden; 
}
.list-wrap .list-item:hover .talk-bubble {
    transform: translateY(-5px); 
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15); 
    border-color: #e0e0e0; 
}
/* 달력 박스 디자인 수정 */
.list-wrap .cal-box { border-color: #007bff !important; } /* 테두리 파란색 */
.list-wrap .cal-box .bg-dark { background-color: #007bff !important; } /* 년.월 배경 파란색 */
.list-wrap .cal-box .text-dark { color: #007bff !important; } /* 날짜 숫자 파란색 */