@charset "utf-8";

@font-face {
    font-family: 'Presentation';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2404@1.0/Freesentation-1Thin.woff2') format('woff2');
    font-weight: 100;
    font-display: swap;
}

@font-face {
    font-family: 'Presentation';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2404@1.0/Freesentation-2ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-display: swap;
}

@font-face {
    font-family: 'Presentation';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2404@1.0/Freesentation-3Light.woff2') format('woff2');
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'Presentation';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2404@1.0/Freesentation-4Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Presentation';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2404@1.0/Freesentation-5Medium.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Presentation';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2404@1.0/Freesentation-6SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Presentation';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2404@1.0/Freesentation-7Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Presentation';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2404@1.0/Freesentation-8ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-display: swap;
}

@font-face {
    font-family: 'Presentation';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2404@1.0/Freesentation-9Black.woff2') format('woff2');
    font-weight: 900;
    font-display: swap;
}

:root {
    --default-color : #333;
    --point-color : #59c6e7;
}

/* 공통 */ 
#bo_list * {box-sizing: border-box;}
#bo_list,
#bo_list button,
#bo_list textarea,
.sns-modal {font-family: 'Presentation';}
#bo_list .ui-btn {border-radius:20px;}
#bo_list .ui-btn i {margin-right: 5px;}
.sns-box {position: relative; background: rgba(255,255,255,0.9); backdrop-filter: blur(5px); padding: 15px; border-radius: 15px; color: #333; box-sizing: border-box; border: 1px solid #fff;}
.sns-box h5 {font-size: 1.3em;}
.sns-config {position: relative;}
.sns-config .ui-btn {width: 100%; border-radius: 10px;}
.sns-config .ui-btn + .ui-btn {margin-top: 5px;}
.frm_input {border-radius: 10px; background: #f9f9f9 !important; border: 1px solid #eee !important; color: #333 !important;}
textarea::placeholder,
.frm_input::placeholder {color: #333; opacity: 0.4;}
* + .txt-right {margin-top: 10px;}
.profile_img {display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 100px; overflow: hidden;}
.profile_img img {width: 100%; height: 100%; object-fit: cover; overflow-clip-margin: unset;}

.bx-loader {font-size: 50px;}

/* 리스트 */
#bo_list {display: flex; gap: 20px; flex-wrap: wrap;}
.sns-left {width: 270px;}
.sns-left .sns-box {margin-bottom: 10px;}
.sns-left .sns-fix {position: fixed;}
.sns-right {width: calc(100% - 270px - 20px);}

/* 모달 */
.sns-modal {position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); backdrop-filter: blur(5px); z-index: 1000; display: none; flex-direction: column; line-height: 1.2; font-size: 15px;}
.sns-modal .sns-modal-box {margin: auto; max-width: 600px; width: 100%;}
.sns-modal .sns-box {position: relative; width: 100%; padding: 25px; background: #fff;}
.sns-modal .sns-box h5 {margin-bottom: 20px; font-size: 1.8em; font-weight: bold;}
.sns-modal .sns-box dl,
.sns-modal .sns-box dl dt,
.sns-modal .sns-box dl dd {margin: 0; padding: 0;}
.sns-modal .sns-box dl {display: flex; gap: 10px; flex-wrap: wrap;}
.sns-modal .sns-box dl dt {padding-top: 5px; width: 80px;}
.sns-modal .sns-box dl dd {width: calc(100% - 90px);}
.sns-modal .sns-box .ch_list {display: flex; flex-direction: column; gap: 10px;}
.sns-modal .sns-box .ch_list li {display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between;}
.sns-modal .sns-box .ch_list li .info {display: flex; flex-wrap: wrap; gap: 10px; align-items: center;}
.sns-modal .sns-box .ch_list li .member {padding: 2px 10px; border-radius: 5px; font-weight: bold; background: rgba(89, 198, 231, 0.25); color: #088fb7;}
.sns-modal .sns-box .ch_list li .config a + a {margin-left: 5px;}
.sns-modal .sns-box .go_prev {position: absolute; top: 25px; right: 25px;}


/* 캘린더 */
.cal-nav td{text-align:center;vertical-align:middle;} 
.cal-nav h2{text-align:center; font-size:16px;} 

.sns-calendar {width: 270px;}
.sns-calendar .cal-nav td a i {color: var(--point-color); opacity: 0.7;}
.sns-calendar td {text-align: center;}
.sns-calendar .theme-list td {padding: 0;}
.sns-calendar .theme-list td a {color: #333;}
.sns-calendar .sched-list {border-spacing: 5px; border-collapse: unset;}
.sns-calendar .sched-list th {background: none; color: var(--default-color); border: none; height: auto; font-weight: normal;}
.sns-calendar .sched-list td {height: auto;}
.sns-calendar .sched-list td a {display: block; padding-top: 5px; border-radius: 5px; width: 100%; height: 100%; color: var(--default-color); height: 30px;}
.sns-calendar .sched-list td a:hover {background: rgba(0,0,0,0.05);}
.sns-calendar .sched-list td.today a {background: rgba(255,255,255,0.6);}
.sns-calendar .sched-list td a.active {background: var(--point-color); color: #fff;}
.sns-calendar .sched-list td a .circle {display: block; margin: 0 auto; border-radius: 50%; width: 3px; height: 3px; background: rgb(28, 127, 156);}
.sns-calendar .sched-list td a.active .circle {background: #fff;}

.sns-mini-calendar ul {display: flex; flex-direction: column; gap: 10px; margin-top: 10px; font-size: 13px; max-height: 130px; overflow: auto;}
.sns-mini-calendar ul::-webkit-scrollbar-track {background: none; box-shadow: none;}
.sns-mini-calendar ul span {color: #333;}
.sns-mini-calendar ul i {margin-right: 5px;}

/* 검색창 */
.sns-search {z-index: 1;}
.search_box {position: relative; margin-bottom: 5px;}
.search_box button {position: absolute; top: 50%; right: 10px; transform: translateY(-50%); background: none; border: none;}
#SearchStx {padding-right: 50px;}
#SearchCancelBtn {display: none; right: 30px;}
.filter_box {position: absolute; top: 35px; background: white; display: none; width: 100%;}
.filter_box ul {display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; text-align: center;}
.filter_box ul li {width: 46px;}
.filter_box ul li a {color: inherit; word-break: keep-all; display: block; padding: 3px; border-radius: 5px;}
.filter_box ul li a[data-status="on"] {background: rgba(89, 198, 231, 0.14); color: var(--point-color); font-weight: 600;}
.filter_box ul .profile_img {margin-bottom: 5px; width: 40px; height: 40px;}
.filter_box.active {display: block;}

.timeline_filter {display: flex; gap: 7px; flex-wrap: wrap;}
.timeline_filter:has(a) {margin-bottom: 20px;}
.timeline_filter a.sns-box {padding: 10px; text-align: center; max-width: 72px; word-break: keep-all; overflow: hidden;}
.timeline_filter a.sns-box:after {content:'\f1f8'; position: absolute; top: 50%; left: 50%; font-size: 13px; font-family: 'Font Awesome 7 Free'; font-weight: bold; background: #d03b3b; color: #fff; border-radius: 100px; display: none; align-items: center; justify-content: center; width: 30px; height: 30px; transform: translate(-50%,-50%);}
.timeline_filter a.sns-box:hover {background: rgba(255,255,255,0.5);}
.timeline_filter a.sns-box:hover > div {opacity: 0.5;}
.timeline_filter a.sns-box:hover:after {display: flex;}
.timeline_filter a.sns-box .profile_img {margin-bottom: 5px;}


/* 작성 칸 */
.write_box {display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px;}
.write_box .write_input {width: calc(100% - 60px);}
.write_box .write_input textarea,
.dialog_form textarea {display: block; padding: 10px; background: none; color: #333; outline: none; border: none; font-size: 15px; resize: none;}
.dialog_form textarea {background: rgba(0,0,0,0.05); border-radius: 5px;}


/* 타임라인 */
.sns-timeline {display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.3;}
.sns-timeline .dialog_box {display: flex; gap: 10px; flex-wrap: wrap;}
.sns-timeline .dialog_box .dialog_con {width: calc(100% - 60px);}
.sns-timeline .dialog_box .info_area {margin-bottom: 5px;}
.sns-timeline .dialog_box .info_area span {vertical-align: middle;}
.sns-timeline .dialog_box .info_area .ch_name {font-weight: bold;}
.sns-timeline .dialog_box .info_area .ch_id {opacity: 0.5; font-size: 0.8em;}
.sns-timeline .dialog_box .info_area .date {margin-left: 5px; opacity: 0.5; font-size: 0.8em;}
.sns-timeline .dialog_box .dialog_modify {position: absolute; top: 10px; right: 10px; font-size: 0.8em;}
.sns-timeline .dialog_box .dialog_modify a + a {margin-left: 3px;}
.sns-timeline .dialog_box .dialog_btn {margin-top: 10px; font-size: 0.8em; color:inherit;}
.sns-timeline .dialog_box .dialog_btn a:not(.txt-point) {color:inherit; opacity: 0.5;}
.sns-timeline .dialog_box .dialog_btn a.txt-point {font-weight: bold;}
.sns-timeline .dialog_box .dialog_more {margin-top: 15px;}
.sns-timeline .dialog_box .dialog_thread {position: relative;}
.sns-timeline .dialog_box .dialog_thread::before {content: ''; display: block; position: absolute; top: 0; left: -35px; width: 2px; height: 100%; background: var(--point-color);}
.sns-timeline .dialog_box .dialog_thread .comment-box {position: relative; margin-top: 20px;}
.sns-timeline .dialog_box .dialog_thread .write_box {margin-top: 20px;}
.sns-timeline .dialog_box .dialog_txt {word-break: break-all;}

.sns-timeline .sns-view.comment-box {position: relative; margin-left: 20px;}
.sns-timeline .sns-view.comment-box::before {content: ''; display: block; position: absolute; bottom: 0; left: -15px; width: 2px; height: 120%; background: var(--point-color);}
.sns-timeline .sns-view.comment-box:nth-child(3)::before {height: 100%;}


/* 이미지 확대보기 */
.show_img {position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); flex-direction: column; padding: 10px; z-index: 1000; display: none; backdrop-filter: blur(5px); max-height: 100%; overflow: auto; box-sizing: border-box;}
.show_img::-webkit-scrollbar {display: none;}
.show_img .img_box {margin: auto; box-sizing: border-box; max-width: 1000px;}
.show_img a {position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 50px; background: #fff; display: flex; align-items: center; justify-content: center; color: #333; z-index: 10;}


/* 반응형 */
@media all and (max-width:768px) {
    .sns-left {width: 100%;}
    .sns-left .sns-fix {position: static; width: 100%; display: grid; grid-template-columns: 270px 1fr; grid-template-rows: 95px 1fr; grid-gap: 10px;}
    .sns-left .sns-fix > div {margin: 0;}
    .sns-left .sns-fix .sns-calendar {grid-row: 1 / 3;}
    .sns-left .sns-fix .sns-search {grid-column: 2 / 3;}
    .sns-left .sns-fix .sns-mini-calendar {grid-column: 2 / 3; grid-row: 2 / 3;}
    .sns-left .sns-fix > .sns-config {display: none;}
    .sns-right {width: 100%;}
}

@media all and (max-width:480px) {
    .sns-left .sns-fix {width: 100%; display: flex; flex-direction: column; gap: 10px;}
    .sns-calendar {width: 100%;}
}