body {
    --bs-font-sans-serif: "Noto Sans KR", sans-serif;
    --bs-body-font-family: var(--bs-font-sans-serif);
    font-family: "Noto Sans KR", sans-serif;
    background-color: #fafafa;
    height: 100vh;
    margin: 0;
    position: relative;
    color: #343a40;
}
#feed-header{
    /*position: fixed;*/
    /*top: 0;*/
    width: 100%;
    /*height: 60px;*/
    margin: 0 auto;
    /*background: #fafafa;*/
    /*z-index: 1;*/
    /*display: none;*/
    display: block;
    /*border: 1px solid blue;*/
    /*border-bottom: 1px solid #dddddd;*/
    /*box-shadow: 1px 1px 5px 3px rgba(0,0,0,0.1);*/
}
#feed-list {
    width: 100%;
    margin: 10px auto
    /*overflow: auto;*/
}
/*#feed-list {*/
/*    margin-top: 80px;*/
/*    !*position: relative;*!*/
/*    !*top: 600px;*!*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    justify-content: flex-start; !* 시작 부분에서부터 배치 *!*/
/*}*/

.feed-container {
    width: 600px;
    margin: 0 auto; /* 가운데 정렬 */
}

/*.feed-container {*/
/*    width: 600px;*/
/*}*/

.feed-item {
    background-color: #fff;
    /*border: 1px solid #d4d4d4;*/
    border-radius: 5px;
    margin-bottom: 10px;
    /*padding: 10px;*/
    box-shadow: 0 6px 15px 1px rgba(36, 37, 38, 0.1);
}
.feed-item:hover {
    box-shadow: 0 6px 15px 3px rgba(36, 37, 38, 0.2);
}
.profile-section .created-at {
    color: #aaaaaa;
}
.profile-section {
    display: flex;
    align-items: center;
    margin: 5px 0;
    padding: 10px;
}
.profile-section .profile-box {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid #ececec;
    overflow: hidden;
    margin: 0 10px 0 0;
}
.profile-section .profile-pic {
    width: 50px;
    object-fit: cover;
    /*border-radius: 50%;*/
    /*margin-right: 10px;*/
}

.profile-section .nickname {
    font-weight: bold;
}

.image-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    /*overflow: hidden;*/
    border-radius: 3px;
}

.post-image {
    width: 100%;
    /*height: auto;*/
}
.content-section {
    padding: 12px;
}
.content-section .show-detail:hover {
    color: #007bff;
    text-decoration-line: underline;
}

.interaction-section {
    display: flex;
    justify-content: space-around;
    padding: 10px 10px;
    border-top: 1px solid #dbdbdb;
    /*margin-top: 5px;*/
    color: #666666 ;
}
ion-icon {
    font-size: 30px;
    color: #eeeeee;
    cursor: pointer;
}
ion-icon:hover {
    color: #cccccc;
    /*color: rgba(0,0,0,0.2);*/
    /*color: transparent;*/
    /*background-image: linear-gradient(to right, #4facfe 0%, #00f2fe 100%);*/
    /*background-clip: text;*/
    /*-webkit-background-clip: text;*/
}
.interaction-section span {
    display: flex;
    align-items: center;
    font-size: 18px;
    cursor: pointer;
    /*border: 1px solid blueviolet;*/
}
.interaction-section span:hover ion-icon{
    color: rgba(0,0,0,0.4);
    /*color: #cccccc;*/
}
.interaction-section ion-icon.liked {
    color: #ff627a;
}
.interaction-section ion-icon.bookmarked {
    color: #4facfe;
    /*color: transparent;*/
    /*background: linear-gradient(45deg, #4facfe 0%, #00f2fe 100%);*/
    /*background-clip: text;*/
    /*-webkit-background-clip: text;*/
}

/* 모달 css */
/* modal.css */
.modal {
    display: none;
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.5);
    padding-top: 60px;
}

.modal-content {
    background-color: #fefefe;
    margin: 40px auto;
    padding: 10px 40px 40px;
    /*border: 1px solid #888;*/
    width: 80%;
    max-width: 550px;
    border-radius: 10px;
    box-sizing: content-box;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

label {
    display: block;
    margin: 15px 0 5px;
}

input[type="text"],
input[type="file"],
textarea{
    width: 100%;
    padding: 10px;
    margin: 5px 0 20px;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}
textarea {
    line-height: 24px;
    word-break: break-all;
    overflow: hidden;
}

.modal .modal-content input:focus {
    border: 1px solid #4facfe;
}
button {
    width: 100%;
    background-color: #4facfe;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #4facfe;
    background-image: linear-gradient(45deg, #4facfe 0%, #00f2fe 100%);
}
.one-modal-btn {
    border-radius: 5px;
    transition: 300ms;
}
.one-modal-btn:hover {
    transform: translateY(3px);
}
/* 검색창 */
.top-section{
    /*position: fixed;*/
    /*top: 0;*/
    /*left: 33%;*/
    /*width: 70%;*/
    /*margin: 0 auto;*/
    width: 700px;
    margin: 0 auto;
    /*padding: 20px 20px 20px 20px;*/
    padding: 10px;
    background-color: #fff;
}
/*.wrap {*/
/*}*/
.search input {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
}
.search input:focus{
    outline:none;
    /*border: 1px solid transparent;*/
    /*background-image: linear-gradient(#fff, #fff), linear-gradient(to right, #231557 0%, #44107A 29%, #FF1361 67%, #FFF800 100%);*/
    /*background-origin: border-box;*/
    /*background-clip: content-box, border-box;*/

}
.filters {
    display: flex;
    flex-direction: row;
    margin-bottom: 10px;
}
.filters div {
    width: 90px;
    height: 40px;
    margin-right: 10px;
    /*padding: 10px;*/
    padding: 3px;
    /*background-color: #f0f0f0;*/
    background-color: #f5f7f8;
    /*border: 1px solid #ddd;*/
    border-radius: 20px;
    cursor: pointer;
    line-height: 30px;
    text-align: center;
}
.top-section .filters div:hover {
    /*background-color: #ddd;*/
    background-color: #d9ebf8;;

}

/* 피드 사이드 버튼 */
body div.btn-container {
    position: fixed;
    bottom: 100px;
    left: 90%;
    /*width: 100%;*/
    color: #ffffff;
    /*border: 1px solid violet;*/
    text-align: center;
    line-height: 50px;
    z-index: 1;
}

.btn-container .side-btn {
    width: 40px;
    height: 50px;
    border-radius: 0 0 30px 30px;
    background: #fdfdfd;
    font-size: 1.2rem;
    line-height: 50px;
    border: 1px solid #ddd;
    color: #bbb;
    cursor: pointer;
    /*box-shadow: 2px 2px 4px 2px rgba(0, 0, 0, 0.2);*/
    box-shadow: 0 6px 15px 1px rgba(36, 37, 38, 0.1);
    transition: 300ms;
    /*margin-bottom: 10px;*/
}
.side-btn:hover {
    /*background-image: linear-gradient(45deg, #4facfe 0%, #41ccff 60%, #00f2fe 100%);*/
    color: #4facfe;
    border: 1px solid #4facfe;
    box-shadow: 0 5px 15px 1px rgba(36, 37, 38, 0.2);
    /*transform: scale(1.1);*/
}
#goTopBtn {
    /*display: none;*/
    border-radius: 30px 30px 0 0;
    padding-top: 3px;
}
#goBottomBtn {
    border-radius: 0 0 30px 30px;
    /*padding-bottom: 5px;*/
    padding-bottom: 10px;
}

    /* 모달 속 이미지 미리보기 */
.dropbox {
    width: 100%;
    /*width: 500px;*/
    min-height: 100px;
    margin: 10px auto 20px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    /*border: 1px solid rgba(0, 0, 0, 0.2);*/
    border-radius: 5px;
    padding: 3px;
    background: rgba(0, 0, 0, 0.1);
}
.image-frame {

    padding: 2px;

}
.image-item {
    width: 100px;
    height: 100px;

    object-fit: cover;
}
/* 모달 속 이미지 미리보기 끝 */

/* 피드 상세조회 모달 스타일 */
.detail-modal {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.detail-modal-content {
    display: flex;
    /*justify-content: center;*/
    /*align-items: center;*/
    width: 1344px;
    height: 654px; /* 모달의 높이 설정 */
    max-height: 80vh; /* 최대 높이 설정 */
    margin: 80px auto auto;
    background-color: white;
    border: 3px solid white;
    border-radius: 10px;
    overflow: hidden;
}
.detail-modal-content span {
    padding-right: 10px;
}

.feed-left-side {
    flex: 2;
}

.feed-left-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feed-right-side {
    flex: 1;
    padding: 5px 10px 10px 10px;
    display: flex;
    flex-direction: column;
    /*justify-content: space-between;*/
    height: 100%; /* 높이 설정 */
    overflow-y: scroll;
    /* overflow: hidden; */
}

.detail-content {
    flex: 1;
    /*display: block;*/
    height: 120px;
    /*overflow: hidden;*/
    border-top: 1px solid #E9E9EAFF;
    border-bottom: 1px solid #E9E9EAFF;
    /*border: 1px solid pink;*/
    /*box-sizing: content-box;*/
}
.detail-content p {
    /*border: 1px solid greenyellow;*/
    padding: 5px 5px 10px 10px;
}

/*.feed-comments {*/
/*    flex: 7;*/
/*    overflow-y: auto;*/
/*}*/

/*.feed-comments h3 {*/
/*    margin-top: 0;*/
/*}*/

/*.comment {*/
/*    background-color: #f9f9f9;*/
/*    padding: 10px;*/
/*    margin-bottom: 10px;*/
/*    border-radius: 5px;*/
/*}*/

/*.comment p {*/
/*    margin: 0;*/
/*}*/

.feed-right-side .profile-section {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-content: center;
    padding: 5px;
}
.profile-column {
    display: flex;
    flex-direction: column;
}
.profile-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.feed-right-side .row2 {
    width: 110px;
}
.feed-right-side .row2 button {
    border-radius: 5px;
}
.feed-right-side .created-at {
    color: #aaaaaa;
    font-size: 0.8rem;
    padding-top: 1px;
}
/* 상세조회 수정삭제 버튼 */
.detail-set-btn {
    width: 52px;
    height: 35px;
    font-size: 0.8rem;
    display: block;
    padding: 3px;
    background: #d9d9d9;
}

#createFeedModal,
#editFeedModal,
#detailFeedModal {
    display: none;
}
/* 캐러셀 버튼 */

.carousel.slide > button:hover {
    background: transparent;
    /*border: 2px solid red;*/
    /*box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);*/
}
.feed-container .carousel {
    justify-content: center;
}
.feed-container .carousel-item {
    width: 600px;
    height: 400px;
    /*margin: 0 auto;*/
    /*background-color: #aaaaaa;*/
    overflow: hidden;
    position: relative;
}

.feed-container .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    /*position: absolute;*/
    /*top: 0;*/
    /*left: 0;*/
}

.carousel-control-prev,
.carousel-control-next {
    position: relative;
}

.carousel-control-prev-icon::before,
.carousel-control-next-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.2); /* 반투명한 검은색 */
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: -1; /* 아이콘 뒤에 위치 */
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
}
.carousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(204, 204, 204, 0.9);
    /*border: 1px solid rgba(0, 0, 0, 0.4);*/
    border: none;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);
}

.carousel-indicators button.active {
    background-color: rgb(255, 255, 255);
    border: none
}
/* 상세조회 캐러셀 */
/*.detail-modal .feed-left-side {*/
/*    width: 700px;*/
/*    height: 700px;*/
/*}*/
.detail-modal .carousel-item {
    width: 850px;
    height: 660px;
    background-color: #aaaaaa;
    overflow: hidden;
    position: relative;
}

.detail-modal .carousel-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    /*position: absolute;*/
    /*top: 0;*/
    /*left: 0;*/
}
/* 미리보기 이미지 삭제버튼 */
.image-frame {
    position: relative;
    /*border: 1px solid deeppink;*/
}
.delete-prev-image {
    width: 50px;
    height: 25px;
    border-radius: 3px;
    display: none;
    position: absolute;
    background: white;
    top: 50%;
    left: 50%;
    color: #4facfe;
    text-align: center;
    line-height: 25px;
    /*font-size: 1.1rem;*/
    /*font-weight: 500;*/
    transform: translateX(-50%) translateY(-50%);
}
.image-frame:hover .delete-prev-image {
    display: block;
    background: #fff;
    cursor: pointer;
}
.fake-upload {
    border: 1px solid #4facfe;
    border-radius: 5px;
    color: #4facfe;
    font-weight: 500;
    margin-top: 10px;
    padding: 5px 10px;
    /*background: #4CAF50;*/
    cursor: pointer;
}
.fake-upload:hover {
    /*border-radius: ;*/
    border: 1px solid rgba(79, 172, 254, 0.91);
    /*background: linear-gradient(45deg, #4facfe 0%, #00f2fe 100%);*/
    background-image: linear-gradient(45deg, #4facfe 0%, #00f2fe 100%);
    /*background-clip: text;*/
    /*-webkit-background-clip: text;*/
    color: #ffffff;
}
.modal-content .hidden {
    display: none;
    height: 5px;
    visibility: hidden;
    margin: 0 0 20px;
    padding: 0;
}.modal-content label {
     margin-top: 10px;
 }
.close-modal {
    text-align: right;
}
.modal-content .hidden {
    display: none;
    height: 5px;
    visibility: hidden;
    margin: 0 0 20px;
    padding: 0;
}
.confirm-modal {
    display: none;
    position: fixed;
    z-index: 11;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
.confirm-modal h3 {
    font-size: 1.2rem;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}
.confirm-modal p {
    padding-top: 10px;
}
.confirm-modal .confirm {
    height: 230px;
    /*border: 1px solid blue;*/
    position: relative;
    top: 200px;
}
.confirm-modal .cancel-btn {
    background: #dddddd;
}
.confirm-modal .cancel-btn:hover {
    background: #ccc;
}
.confirm-modal .confirm-btn {
    background: #4facfe;
}
.confirm-modal .confirm-btn:hover {
    background: linear-gradient(45deg, #4facfe 0%, #00f2fe 100%);
}
.confirm-modal .close {
    font-size: 1rem;
}
.modal-buttons {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    position: relative;
    top: 60px;
}
.modal-buttons button {
    width: 200px;
    border-radius: 5px;
}

/* textarea 글자수 */
.typing-text {
    padding-left: 10px;
    color: rgba(204, 204, 204, 0.9);
    font-size: 0.9rem;
}
/* 스피너 */
.spinner-section {
    /*width: 600px;*/
    height: 160px;
}
.spinner-section .spinner-container {
    display: none;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding-top: 40px;
    /*background-color: rgba(0, 0, 0, 0.5);*/
    /*z-index: 1050;*/
}
.strong {
    color: #4facfe;
}
.warning {
    color: #fd6363;
}
.stop-msg {
    /*margin-bottom: 5px;*/
    padding-bottom: 5px;
}
.active-filter {
    background: #a0f9fe;
    border: 2px solid #4facfe;
    color: #4facfe;
    font-weight: 500;
    /*background-image: linear-gradient(45deg, #4facfe 0%, #00f2fe 100%);*/
    box-shadow: 1px 3px 5px rgba(0,0,0,0.1);
}
.text-gray {
    color: #dddddd;
    /*box-shadow: 0 6px 15px 3px rgba(0,0,0,0.5);*/
}
.cr-btn-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 700px;
    margin: 0 auto;
    padding: 10px 20px;
    color: #ffffff;
    background: #ffffff;
    /*border: 1px solid violet;*/
    z-index: 5;
}
.cr-btn-container #createFeedBtn {
    width: 94%;
    height: 50px;
    padding: 10px;
    margin: 0 auto;
    border-radius: 10px;
    background: linear-gradient(45deg, #4facfe 0%, #00f2fe 100%);
    text-align: center;
    font-size: 1.1rem;
    /*line-height: 50px;*/
    /*transition: 500ms;*/
}
.cr-btn-container #createFeedBtn:hover {
    background: linear-gradient(-45deg, #4facfe, #39caff, #00f2fe);
}
#createFeedBtn i {
    padding-left: 5px;
}

#no-feed {
    /*width: 80%;*/
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border-radius: 10px ;
    /*align-content: center;*/
    /*border: 1px solid violet;*/
    background: #f3f7f7;
    padding: 20px 70px;
}
#no-feed p {
    /*align-items: center;*/
    text-align: center;
    /*border: 1px solid lightgreen;*/

}

/*-------------- 피드 CSS 끝 ---------------------*/

.feed-right-side::-webkit-scrollbar {
    display: none;
  }

.modal1 {
    display: none;
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.5);
    padding-top: 60px;
}

.modal-content1 {
    position: relative;
    background-color: #fefefe;
    margin: 40px auto;
    padding: 10px 40px 40px;
    /*border: 1px solid #888;*/
    width: 80%;
    max-width: 550px;
    border-radius: 10px;
    box-sizing: content-box;
}

.close1 {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close1:hover,
.close1:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* 댓글 css */

.modBtn:hover,
.delBtn:hover,
.nestedReplyModBtn:hover,
.nestedReplyDelBtn:hover {
    background-color: #4facfe;
    background-image: linear-gradient(45deg, #4facfe 0%, #00f2fe 100%);
}

/* 댓글 프로필 */
.profile-box {
width: 50px;
height: 50px;
border-radius: 50%;
/* overflow: hidden; */
/* margin: 10px 0 0 0; */
border: none;
}

.profile-box img {
width: 60px;
height: 50px;
}

#replyContent {
    padding: 0;
}

#replies {
    width: 427px;
    box-shadow: none;
    /* border: 1px solid blue; */
    /* padding: 0 20px; */
}
#replies .col-md-10 {
    width: 100%;
    margin-left: 0;
}

.card .float-left {
    color: black;
    font-weight: 700;
    font-size: 16px;
    padding-top: 10px;
}


.user-block {
display: flex;
align-items: center;
margin-top: 10px;
}

.reply-head {
/* display: flex; */
align-items: center;
}

.reply-body {
    position: relative;
    left: 55px;
    top: -48px;
    line-height: 20px;
    margin-top: 5px;
}

.reply-body .col-md-3 {
    width: 100px;
font-weight: 700;
margin-left: 20px;
}

.reply-body .text-right {
    width: 100px;
    margin-top: 2px;
    opacity: 0.8;
}
.row .text-right {
    /* margin: 0 0 0 5px; */
    /* display: flex; */
}
.row .text-right .modDelBtn{
    display: flex;
    margin-left: 110px;
    margin-bottom: 3px;
}

.row .col-md-9 {
    margin: 5px 0 20px 75px ;
}

/* .col-md-9 .form-control {
    width: 100px;
} */

.modDelBtn {
    position: relative;
    left: 180px;
    display: flex;
    text-align: right;
    width: 100px;
}

.modDelBtn .btn-sm {
    position: relative;
    bottom: 35px;
    text-decoration: none;
    color: black;
    font-weight: 500;
    border: none;
    width: 60px;
    padding-left: 8px;
    font-size: 16px;
    box-shadow: none;
}

.reply-reply-write {
    opacity: 0.8;
    margin-left: 55px;
}
.reply-reply-write .reply-reply-button{
    color: black;
    background-color: #fff;
    border: none;
    width: 80px;
}
.reply-reply-write .fa-comment {
    padding-right: 5px;
}

.reply-reply-button {
    border: none;
    outline: none;
    background-color: inherit ;
    cursor: pointer;
    font-size: 16px;
}
.rows .col-md-3 {
    display: flex;
    width: 0;
}
.rows .col-md-90 {
    display: flex;
}
.rows .col-md-90 .form-group .form-control {
    width: 600px;
}
.rows .col-md-3 .form-group {
    display: flex;
}
.rows .col-md-3 .form-group .form-control {
    margin: 6px 0;
    width: 600px;
}
.rows .col-md-3 .col-md-90 .form-group .form-control1 {
    width: 50px;
}

/* 대댓글 카드 스타일 */
.nested-reply-card {
    background-color: #f8f9fa;
    border-radius: 5px;
    margin: 10px 0 10px 30px; /* 왼쪽 여백을 추가하여 대댓글을 안쪽으로 이동 */
    padding: 10px;
    border: 1px solid #e9ecef;
  }

  .nested-reply-card .user-block {
    display: flex;
    justify-content: space-between;
  }
  .nested-reply-card .user-block .nestReply-head{
    margin-left: 30px;
    display: flex;
  }
  .nested-reply-card .user-block .nestReply-head .nestReply-body {
    margin-top: 10px;
    line-height: 19px;
  }
  .nested-reply-card .user-block .nestReply-head .nestReply-body .col-md-3{
    width: 100px;
    font-weight: 700;
    margin-left: 20px;
}
  .nested-reply-card .reply-content {
    margin-top: 5px;
  }
  .Nestedcard .card-body .row .col-md-3 {
    display: flex;
    margin-left: 15px;
    width: 120px;
    height: 70px;
  }
.hidden {
    display: none;
}
