@charset "utf-8";

@import url('https://fastly.jsdelivr.net/gh/wanteddev/wanted-sans@v1.0.1/packages/wanted-sans/fonts/webfonts/variable/split/WantedSansVariable.min.css');

@font-face {
    font-family: 'NeoDunggeunGothicPro';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2302@1.0/NeoDunggeunmoPro-Regular.woff2') format('woff2');
    font-weight: normal;
    font-display: swap;
}



.custom_btn {
    height: 25px;
    background-color: var(--color-2);
    padding: 0 7px;
    border: 2px solid var(--line-color);
    box-sizing: border-box;
    font-family: 'NeoDunggeunGothicPro';
    font-size: 13px;
}

.bo_fx .custom_btn {
    height: 25px;
    background-color: #BBB;
    padding: 2px 10px 7px;
    border: 2px solid #000;
    box-sizing: border-box;
    display: inline-block;
    color: #000;
    font-family: 'NeoDunggeunGothicPro';
    font-size: 13px;
}

.pg_wrap .pg_page {
    border: 2px solid #000 !important;
    border-radius: 100%;
}
.pg_wrap .pg_current,
.pg_wrap .pg_current:hover {
    color: #000 !important;
    background-color: #BBB !important;
}
.pg_wrap .pg_start,
.pg_wrap .pg_end {
    background-color: transparent !important;
    border: none !important;
    border-radius: 0px;
    color: #000 !important;
}



/***** 목록 *****/
#list_container {}

#list_container #category_section {
    position: relative;
    background-color: rgba(255, 255, 255, 0.7);
    margin: 0 0 50px 0;
    border: 2px solid #000;
    backdrop-filter: blur(3px);
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.3);
}
#list_container #category_section #ca_sub {
    position: absolute;
    transform: translate(-50%, -50%);
    top: 0;
    left: 50%;
    min-width: 30%;
    background-color: #BBB;
    padding: 14px 20px 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #000;
    border-radius: 25px;
    box-shadow: inset 3px 3px #FFF, inset -3px -3px #BBB;
    color: #FFF;
    font-family: 'NeoDunggeunGothicPro';
    font-size: 1.3em;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 2px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    text-shadow: -1px -1px 0 #000, 0 -1px 0 #000, 1px -1px 0 #000, -1px 0 0 #000, 1px 0 0 #000, -1px 1px 0 #000, 0 1px 0 #000, 1px 1px 0 #000, -2px -2px 0 #000, -1px -2px 0 #000, 0 -2px 0 #000, 1px -2px 0 #000, 2px -2px 0 #000, 2px -1px 0 #000, 2px 0 0 #000, 2px 1px 0 #000, 2px 2px 0 #000, 1px 2px 0 #000, 0 2px 0 #000, -1px 2px 0 #000, -2px 2px 0 #000, -2px 1px 0 #000, -2px 0 0 #000, -2px -1px 0 #000;
}

#list_container #list_card {
    width: 100%;
    min-height: 150px;
    padding: 50px 20px 25px;
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
}
#list_container #list_card a {
    width: 219.88px;
    height: 200px;
    background-color: #FFF;
    margin: 0 1% 2%;
}
#list_container #list_card a .card {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-width: 2px;
    border-style: solid;
    overflow: hidden;
    box-sizing: border-box;
}
#list_container #list_card a .card .no_image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
    color: #000;
    font-size: 1.3em;
}
#list_container #list_card a .card .card-overlay {
    position: absolute;
    bottom: -25px;
    left: 0;
    width: 100%;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    font-size: 12px;
    transition: bottom 0.3s ease;
}
#list_container #list_card a .card:hover .card-overlay {bottom: 0;}
#list_container #list_card a .card-title {
    padding: 10px;
    color: #000;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.pg_wrap {padding: 0 0 25px !important;}

.bo_fx {text-align: right;}



/***** 본문 *****/
#view {
    width: 100%;
    height: 100%;
    padding: 5% 0 0;
    box-sizing: border-box;
}

/* 메인 상단 박스 */
.main-top-box {
    border-radius: 8px 8px 0 0;
    max-width: 1200px;
    height: 5px;
    background-color: var(--color-2);
    color: var(--text-color);
    margin: 0 auto;
    padding: 15px 5px;
    border: 2px solid var(--line-color);
    display: flex;
    box-shadow: 4px 4px 0 var(--line-color);
    box-sizing: border-box;
    backdrop-filter: blur(3px);
    align-items: center;
    border-bottom: none;
}

/* 내부 정렬 */
.main-top-inner {
  display: flex;
  width: 100%;        /* ❗ 이게 없으면 절대 안 감 */
  align-items: center;
  margin: 0;          /* auto 금지 */
}

/* 타이틀 */
.main-title {
  max-width: 1200px;
  font-size: 26px;
  margin-bottom: 20px;
    max-width: 1200px;
    height: 5px;
    color: var(--text-color);
    margin: 0 auto;
    padding: 25px 30px;
    display: flex;
  font-family: 'NeoDunggeunGothicPro';
}

/* 설명 */
.main-desc {
  font-size: 14px;
  margin-bottom: 15px;
}

/* 버튼 영역 */
.main-buttons {
  display: flex;
  margin-left: auto;
  gap: 5px;
}

/* 버튼 공통 */
.main-buttons a {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  line-height: 1;   /* ❗ 중요 */
  font-size: 13px;
  text-decoration: none;
  width: 16px;
  height: 16px;
  border: 2px solid var(--line-color);
  text-align: center;
  color: var(--text-color);
}

.main-buttons a img {
  display: block;   /* ❗ baseline 제거 */
}


/* 메인 버튼 */
.btn-primary {
}

/* 보조 버튼 */
.btn-secondary {
}

.btn-tertiary {
 margin-right: 6px;
}


.view_content i,
.view_content em { font-style: italic; }

.view_content b,
.view_content strong { font-weight: bold; }

#view_container {
    max-width: 1200px;
    height: 750px;
    background-color: var(--color-1);
    color: var(--text-color);
    margin: 0 auto;
    padding: 25px 30px;
    border: 2px solid var(--line-color);
    display: flex;
    flex-direction: row;
    width: 100%;
    box-shadow: 4px 4px 0 var(--line-color);
    box-sizing: border-box;
    backdrop-filter: blur(3px);
}

#view_container #left_box {
    height: 100%;
    flex: 1 1 auto;
    box-sizing: border-box;

}

#view_container #left_box .v_header {
    width: 100%;
    height: 12%;
    background-color: #FFF;
    margin: 0 0 3% 0;
    border: 2px solid var(--line-color);
    display: flex;
    align-items: center;
    box-sizing: border-box;
    box-shadow: 3px 3px 0 var(--line-color);
}
#view_container #left_box .v_header .empty {
    width: 1.5%;
    height: 50%;
    border-style: solid;
    border-color: var(--line-color);
}
#view_container #left_box .v_header .empty.line_1 {border-width: 2px 2px 2px 0;}
#view_container #left_box .v_header .empty.line_2 {border-width: 2px 0 2px 2px;}
#view_container #left_box .v_header .h_name {
    width: 80%;
    height: 50%;
    padding: 0 35px;
    box-sizing: border-box;
    font-family: 'NeoDunggeunGothicPro';
    font-size: 2.7em;
    line-height: 1;
    letter-spacing: 2px;
}
#view_container #left_box .v_header .h_btn {
    width: 17%;
    height: 50%;
}
#view_container #left_box .v_header .h_btn ul {
    height: 100%;
    display: flex;
    align-items: center;
}
#view_container #left_box .v_header .h_btn ul li {margin: 0 5px;}
#view_container #left_box .v_header .h_btn ul li span {
    color: var(--text-color);
    font-size: 1.4em;
}

#view_container #left_box .v_content {
    width: 100%;
    height: 100%;
    display: flex;
}
#view_container #left_box .v_content .favorites {
    width: 29.5%;
    height: 100%;
    background-color: #FFF;
    margin: 0 2.5% 0 0;
    border: 2px solid var(--line-color);
    box-sizing: border-box;
    box-shadow: 3px 3px 0 var(--line-color);
}
#view_container #left_box .v_content .favorites .tag {
    width: 100%;
    height: 4.5%;
    background-color: var(--color-2);
    padding: 0 5px;
    border-bottom: 2px solid var(--line-color);
    box-sizing: border-box;
    font-family: 'NeoDunggeunGothicPro';
    font-weight: 800;
    line-height: 1.7;
    font-size: 1.20em;
}
#view_container #left_box .v_content .favorites .list_box {
    width: 100%;
    height: 95.5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#view_container #left_box .v_content .favorites .list_box .board_list {
    width: 80%;
    height: 50%;
    border: 2px solid var(--line-color);
    box-sizing: border-box;
}
#view_container #left_box .v_content .favorites .list_box .board_list .b_sub {
    width: 100%;
    height: 9%;
    background-color: var(--color-2);
    padding: 8px 5px 0;
    border-bottom: 2px solid var(--line-color);
    box-sizing: border-box;
    font-family: 'NeoDunggeunGothicPro';
    font-weight: 600;
    text-align: center;
    font-size: 1.20em;
}
#view_container #left_box .v_content .favorites .list_box .board_list .list {
    width: 100%;
    height: 91%;
    padding: 10px;
    box-sizing: border-box;
    overflow-y: auto;
    scrollbar-width: none;
}
#view_container #left_box .v_content .favorites .list_box .board_list .list li {margin: 0 0 10px 0;}
#view_container #left_box .v_content .favorites .list_box .board_list .list .material-symbols-outlined {
    margin: 0 5px 0 0;
    font-size: 1.1em;
}
#view_container #left_box .v_content .favorites .list_box .board_list .list .sub {
    color: var(--text-color);
    font-size: 1.1em;
    line-height: 1.4;
}
#view_container #left_box .v_content .favorites .list_box .etc_tag {
    width: 80%;
    height: 7%;
    background-color: var(--color-2);
    margin: 5% 0 0;
    border: 2px solid var(--line-color);
    box-sizing: border-box;
    font-family: 'NeoDunggeunGothicPro';
    font-size: 1.35em;
    text-align: center;
    line-height: 2.5;
    letter-spacing: 1px;
}
#view_container #left_box .v_content .favorites .list_box .acc {
    position: relative;
    width: 100%;
    height: 33%;
    margin: 10% 0 0;
}


#view_container #left_box .v_content .favorites .list_box .acc .tape {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
}
#view_container #left_box .v_content .favorites .list_box .acc .tape::before,
#view_container #left_box .v_content .favorites .list_box .acc .tape::after {
    content: "";
    height: 20px;
    position: absolute;
    background-color: var(--tape-gray);
    opacity: 0.5;
    border-right: 1px dotted var(--tape-edge-gray);
    border-left: 1px dotted var(--tape-edge-gray);
}
#view_container #left_box .v_content .favorites .list_box .acc .tape::before {
    transform: rotate(319deg);
    top: 7px;
    left: 13px;
    width: 60px;
}
#view_container #left_box .v_content .favorites .list_box .acc .tape::after {
    transform: rotate(327deg);
    right: 5px;
    bottom: 5px;
    width: 75px;
}


#view_container #left_box .v_content .favorites .list_box .pair_img {
    width: 80%;
    height: 100%;
    margin: 0 auto;
    padding: 10px;
    border: 2px solid var(--line-color);
    box-sizing: border-box;
}
#view_container #left_box .v_content .favorites .list_box .pair_img .img {
    width: 100%;
    height: 100%;
    background-color: var(--color-1);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
#view_container #left_box .v_content .comment {
    position: relative;
    width: 72%;
    height: 100%;
    background-color: #FFF;
    padding: 20px;
    border: 2px solid var(--line-color);
    box-sizing: border-box;
}
#view_container #left_box .v_content .comment .top_tape {
    position: absolute;
    transform: rotate(359deg) translate(-50%, -50%);
    top: -4px;
    left: 50%;
    width: 105%;
    height: 30px;
    background-color: var(--tape-gray);
    border-right: 1px dotted var(--tape-edge-gray);
    border-left: 1px dotted var(--tape-edge-gray);
    opacity: 0.75;

}#view_container #right_box {
    height: 100%;
    background-color: #FFF;
    margin: 0 0 0 2.5%;
    flex: 0 0 320px;
    max-width: 320px;
    border: 2px solid var(--line-color);
    box-sizing: border-box;
    box-shadow: 3px 3px 0 var(--line-color);
}



/* a_content 스크롤 바 */
#view_container #right_box .a_content::-webkit-scrollbar {
    width: 15px;
}

#view_container #right_box .a_content::-webkit-scrollbar-thumb {
    background-color: var(--color-2);
    border-radius: 0px;
    -webkit-box-shadow: none;
}
#view_container #right_box .a_content::-webkit-scrollbar-track {
    background-color: var(--color-1);
    -webkit-box-shadow: none;
}
#view_container #right_box .a_content::-webkit-scrollbar-button {
    height: 15px;
    background-color: var(--color-1);
}


#view_container #right_box .iframe-container {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}

#view_container #right_box .iframe {
    width:100%;
    height:100%;
    border:0;
    margin:0;
    padding:0;
    display:block;
    overflow: hidden;
}


/***** 코멘트 *****/
#bo_vc {
    width: 100%;
    height: 60%;
}


#bo_vc .ch_thumb {

}
#bo_vc .ch_thumb .thumb { }

#bo_vc .ch_thumb .name { }


#bo_vc .ch_content {
    position: relative;
    width: 67%;
    height: 155px;
    background-color: #FFF;
    padding: 15px;
    border: 2px solid var(--line-color);
    box-sizing: border-box;
}
#bo_vc .ch_content:after {
    content: '';
    position: absolute;
    left: -10px;
    top: 68px;
    z-index: 1;
    width: 0;
    border-width: 5px 10px 5px 0;
    border-style: solid;
    border-color: transparent #FFFFFF;
    display: block;
}
#bo_vc .ch_content:before {
    content: '';
    position: absolute;
    left: -13px;
    top: 67px;
    z-index: 0;
    width: 0;
    border-width: 6px 11px 6px 0;
    border-style: solid;
    border-color: transparent var(--line-color);
    display: block;
}
#bo_vc .ch_content .c_comment {
    width: 100%;
    height: 100%;
}
#bo_vc .ch_content .c_comment .co {
    width: 100%;
    height: 100%;
    background-image: -webkit-linear-gradient(top, transparent, transparent 1.9em, var(--line-color) 0);
    background-size: 100% 2em;
    text-align: justify;
    line-height: 2.1;
    overflow-y: auto;
}

#bo_vc .ch_content .c_comment ul {
    position: absolute;
    bottom: 3px;
    right: 15px;
}
#bo_vc .ch_content .c_comment .d_btn {
    color: var(--text-color);
    font-size: 0.8em;
}

#bo_vc_w {
    width: 100%;
    height: 37%;
    margin: 3% 0 0;
}

#bo_vc_w form {
    width: 100%;
    height: 100%;
}

#bo_vc_w .w_box textarea::placeholder {color: var(--text-color);}

#bo_vc_w .w_btn {
    display: flex;
    justify-content: flex-end;
}
#bo_vc_w .w_btn select {
    height: 25px;
    background-color: #FFF;
    margin: 0 5px 0 0;
    border: 2px solid var(--line-color);
    box-sizing: border-box;
    color: var(--text-color);
}
#bo_vc_w .w_btn select option {font-size: inherit;}

.no_permission {
    width: 100%;
    height: 37%;
    margin: 3% 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
}



/***** 글쓰기 *****/
#write {
    width: 100%;
    height: 100%;
    padding: 5% 0 0;
    box-sizing: border-box;
}

#write_container {
    max-width: 1200px;
    height: 750px;
    background-color: var(--color-1);
    margin: 0 auto;
    padding: 25px 30px;
    border: 2px solid var(--line-color);
    display: flex;
    box-shadow: 4px 4px 0 var(--line-color);
    box-sizing: border-box;
    backdrop-filter: blur(3px);
}
#write_container form {
    width: 100%;
    height: 100%;
}
#write_container .w_box {
    width: 85%;
    height: 85%;
    margin: 2% auto;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}
#write_container .w_box .w_acc,
#write_container .w_box .w_acc_img {
    position: relative;
    height: 95%;
}
#write_container .w_box .w_acc .tape {
    position: absolute;
    top: 0;
    width: 100%;
    height: 24px;
}
#write_container .w_box .w_acc .tape::before,
#write_container .w_box .w_acc_img .tape::before {
    content: "";
    position: absolute;
    transform: rotate(351deg) translate(-50%, -50%);
    top: -50%;
    left: 50%;
    width: 100px;
    height: 24px;
    background-color: var(--tape-gray);
    border-right: 1px dotted var(--tape-edge-gray);
    border-left: 1px dotted var(--tape-edge-gray);
    opacity: 0.75;
}
#write_container .w_box .w_acc_img .tape::before {
    transform: rotate(3deg) translate(-50%, -50%);
    top: -0%;
    width: 150px;
}
#write_container .w_box .w_text,
#write_container .w_box .w_img {
    width: 100%;
    height: 100%;
    background-color: #FFF;
    padding: 30px;
    border: 2px solid var(--line-color);
    box-sizing: border-box;
    overflow-y: auto;
    scrollbar-width: none;
}
#write_container .w_box table {margin: 5px 0;}
#write_container .w_box th,
#write_container .w_box td {height: 35px;}
#write_container .w_box th {width: 100px;}
#write_container .w_box td {padding: 0 5px;}
#write_container .w_box td label {font-size: 0.9em;}
#write_container .w_box td input[type="text"],
#write_container .w_box td input[type="file"],
#write_container .w_box td select {
    width: 193px;
    height: 25px;
    background-color: #FFF;
    padding: 0 10px;
    border-color: var(--line-color);
    border-radius: 0px;
    color: var(--text-color);
}
#write_container .w_box td select option {font-size: inherit;}
#write_container .w_box td input::placeholder {color: var(--text-color);}
#write_container .w_box td .bg_thumb,
#write_container .w_box td .pair_thumb {
    width: 100%;
    height: 135px;
    margin: 0 0 10px;
    border: 1px solid var(--line-color);
    box-sizing: border-box;
}
#write_container .w_box td .i_t p {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
    font-family: 'NeoDunggeunGothicPro';
}
#write_container .w_box td .ch_thumb {
    width: 175px;
    height: 155px;
    margin: 0 0 10px;
    border: 1px solid var(--line-color);
    box-sizing: border-box;
    
}
#write_container .w_box td img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

#write_container .btn_confirm {text-align: center;}



/***** 툴팁 *****/
[data-tooltip] {position:relative;}
[data-tooltip]:before,
[data-tooltip]:after {
    position: absolute;
    transform: translateX(-50%);
    left: 50%;
    font-size: 12px;
    line-height: 1.3;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all .2s ease;
}
[data-tooltip]:before {
    content: attr(data-tooltip);
    position: absolute;
    top: -20px;
    height: 13px;
    background-color: var(--color-2);
    padding: 5px 10px;
}
[data-tooltip]:after {
    content: '';
    top: 2px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid var(--color-2);
}
[data-tooltip]:not([data-tooltip=""]):hover:before {
    top: -30px;
    visibility: visible;
    opacity: 1;
}
[data-tooltip]:not([data-tooltip=""]):hover:after {
    top: -8px;
    opacity: 1;
    visibility: visible;
}



/***** 모바일 *****/
@media screen and (max-width: 1000px) {
    #body {margin-top: 0px !important;}
    #view {padding: 0;}
    #view_container {height: auto; min-height: 750px; flex-direction: column;}
    #view_container #left_box {width: 100%; height: 750px;}
    #view_container #right_box {width: 100%; height: 750px; margin: 2.5% 0 0;}
}

@media screen and (max-width: 768px) {}

@media screen and (max-width: 430px) {
    #view_container #left_box {width: 100%; height: auto;}
    #view_container #left_box .v_content {flex-direction: column;}
    #view_container #left_box .v_header {height: 90px;}
    #view_container #left_box .v_header .h_name {width: 60%; font-size: 2em; line-height: 1.6;}
    #view_container #left_box .v_header .h_btn {width: 40%;}
    #view_container #left_box .v_content .favorites {width: 100%; height: 750px;}
    #view_container #left_box .v_content .favorites .tag {line-height: 2.2;}
    #view_container #left_box .v_content .comment {width: 100%; height: 600px; margin: 7% 0 0;}
}

 /***** 페이지 스타일 *****/
 /* 태그 초기화 */
 *{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border-collapse: collapse;
    /* font: normal 12px '돋움';*/
}
ul, ol{list-style: none;}
a {text-decoration: none; color: #111;}
input,textarea {outline: none;}

#wrapper{
    height: 100vh;
    margin: 0 auto;
}
/* 헤더 */
header{
    width: 100%;
    height: 35px;
    background-color: #f7f7f7;
    border-bottom: 1px solid #ebebeb;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
}
header h3 {
    font-size: 15px;
    font-weight: 500;
    color: #777;
}
header p span {
    margin-right: 3px;
    font-weight: 500;
}
header p a:hover {
    text-decoration: underline;
}

/* 메인 */
main {
    padding: 50px;
}

/* 검색 */
.search {
    padding: 16px 10px;
    display: flex;
    flex-direction: row;
    justify-content: end;
    gap: 5px;
}
.search select {
    padding: 9px 12px;
    border: 1px solid #d3d3d3;
}
.search input {
    padding: 9px 12px;
    border: 1px solid #d3d3d3;
    width: 160px;
}

/* 글 목록 */
.content {
    width: 100%;
    height: 500px;
    margin: 0 auto;
}
.content table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}
.content table tr:nth-of-type(1) {
    border-top: 2px solid #ebebea;
}
.content table th {
    height: 40px;
    background: #f9f9f8;
    border-bottom: 1px solid #f2f2f2;
    text-align: center;
}
.content table td {
    height: 30px;
    line-height: 30px;
    border-bottom: 1px solid #f2f2f2;
    padding-left: 12px;
    padding-right: 18px;
}

.content table td:nth-of-type(1) {
    text-align: center;
}
.content table td:nth-of-type(2) {
    text-align: center;
}
.content table td:nth-of-type(4) {
    text-align: center;
}
.content table td:nth-of-type(5) {
    text-align: center;
}
.content table td:nth-of-type(6) {
    text-align: center;
}

/* 페이징 */
.pagination {
    width: 100%;
    text-align: center;
    margin: 30px 0;
}
.pagination .num {
    border: 1px solid #d7d7d7;
    background-color: #f2f2f2;
    padding: 5px 10px;
}
.pagination .current {
    border: 1px solid #6d6d6d;
    background: #888;
    color: #fff;
}

/* CRUD Button */
.post_btns {
    width: 100%;
    text-align: right;
    margin: 30px 0;
}
.btn {
    min-width: 56px;
    padding: 9px 12px;
    background: #eff0f2;
    border: 1px solid #d3d3d3;
    text-align: center;
}
.post_btns .btn:hover {
    text-decoration: underline;
}

/* 푸터 */
footer {
    bottom: 0;
    width: 100%;
    height: 35px;
    background-color: #f7f7f7;
    border-top: 1px solid #ebebeb;
    border-bottom: 1px solid #ebebeb;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    padding: 0 15px;
}
footer p {
    color: #777;
}

/* view */
.ly_view {
    border: 1px solid #ebebeb;
    padding: 15px;
    display: flex;
    flex-direction: column;
}
.ly_view .view-head {
    display: flex;
    flex-direction: column;
    align-content: flex-start;
    flex-wrap: wrap;
}
.ly_view .view-head .view-title {
    font-size: 26px;
    width: 100%;
    word-wrap: break-word;
    word-break: break-word;
}
.ly_view .view-head .view-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-content: flex-start;
    flex-wrap: wrap;
    margin-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ebebeb;
}
.ly_view .view-head .view-info-sub {
    display: flex;
    flex-direction: row;
    gap: 12px;
    margin-top: 2px;
}
.ly_view .view-head .view-writer {
    font-size: 13px;
    font-weight: 600;
}
.ly_view .view-head .view-date {
    font-size: 12px;
    color: #979797;
}
.ly_view .view-head .view-count {
    font-size: 12px;
    color: #979797;
}
.view-content {
    height: 400px;
    overflow-y: auto;
    padding: 10px;
    font-size: 15px;
}
.view-file {
    width: 100%;
    border-top: 1px solid #ebebeb;
    margin-top: 10px;
    padding-top: 10px;
}
.ly_reply {
    margin-top: 30px;
}
.reply-head {
    display: flex;
    flex-direction: row;
    gap: 5px;
}
.reply-head span:nth-of-type(1) {
    font-size: 13px;
}
.reply-head span:nth-of-type(2) {
    font-size: 13px;
    font-weight: 700;
}
.reply-content {
    background: #f9f9fa;
    padding: 20px 15px;
}
.reply-info {
    display: flex;
    flex-direction: row;
    gap: 5px;
}
.reply-writer {
    font-size: 13px;
    font-weight: 600;
}
.reply-date {
    font-size: 12px;
    color: #979797;
}
.reply-text {
    margin-top: 10px;
    padding-left: 10px;
}
.ly_comment {
    margin-top: 30px;
    border: 1px solid #ebebeb;
    padding: 20px;
    display: flex;
    flex-direction: column;
}
.comment-writer {
    font-size: 13px;
    font-weight: 600;
}
.ly_comment textarea {
    margin-top: 10px;
    font-size: 13px;
    border: none;
}
.middle-btn {
    width: 100%;
    text-align: right;
    text-align: right;
    height: auto;
    margin-top: 18px;
}

/* write */
.ly_write {
    border: 1px solid #ebebeb;
    padding: 15px;
    display: flex;
    flex-direction: column;
}
.write-title input {
    background: #f5f6f8;
    width: 100%;
    height: 48px;
    padding: 13px 16px;
    border-radius: 10px;
    border: none;
    font-size: 16px;
}

/* login */
.ly_login {
    padding: 60px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
}
.ly_login h1 {
    font-size: 30px;
    font-weight: 800;
}
.ly_login .login_wrap {
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 15px;
    gap: 10px;
}
.ly_login .loginForm {
    width: 100%;
}
.ly_login .idForm {
    width: 100%;
    border: 1px solid #d3d3d3;
    border-radius: 5px 5px 0 0;
    border-bottom: none;
    font-size: 15px;
    padding: 10px 8px;
}
.ly_login .passForm {
    width: 100%;
    border: 1px solid #d3d3d3;
    border-radius: 0 0 5px 5px;
    font-size: 15px;
    padding: 10px 8px;
}
.ly_login .rememberLogin {
    margin: 10px 0;
}
.ly_login .rememberLogin label {
    font-size: 14px;
    color: #767676;
    display: flex;
    align-items: flex-start;
    flex-direction: row;
}
.ly_login .rememberLogin label input {
    margin-right: 6px;
}
.ly_login .btnLogin {
    width: 100%;
}
.ly_login .login-sub {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    font-size: 14px;
    color: #767676;
    margin: 10px 0;
}
.ly_login .login-sub a {
    color: #333;
}
.login-sns {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.login-sns div:nth-of-type(1) {
    font-size: 13px;
    color: #767676;
    margin: 10px 0;
}
.login-sns div:nth-of-type(2) {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
}
.login-sns img {
    width: 46px;
}

/* register */
.ly_register {
    padding: 60px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
}
.register-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.join-form {
    display: flex;
    flex-direction: column;
}
.join-item {
    display: flex;
    border: 1px solid #ebebeb;
    width: 400px;
    padding: 10px;
    flex-direction: row;
    align-items: center;
}
.join-item.id {
    border-radius: 5px 5px 0 0;
    border-bottom: none;
}
.join-item.password {
    border-bottom: none;
}
.join-item.email {
    border-radius: 0 0 5px 5px;
}
.join-item.name {
    border-radius: 5px 5px 0 0;
    border-bottom: none;
}
.join-item.birth {
    border-bottom: none;
}
.join-item.phone {
    border-radius: 0 0 5px 5px;
}
.join-subTitle {
    width: 30%;
    font-size: 14px;
    color: #222;
}
.join-item input[type=text] {
    width: 65%;
    font-size: 14px;
    color: #222;
    padding: 10px;
    border: none;
}
.join-item input[type=password] {
    width: 65%;
    font-size: 14px;
    color: #222;
    padding: 10px;
    border: none;
}
.join-item label {
    text-align: center;
    border: 1px solid #ebebeb;
    width: 30%;
    padding: 6px 0;
    border-radius: 6px;
}
.join-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
}
.join-error {
    margin: 6px 0;
}
.join-btn .btnRegister {
    width: 100%;
    border-radius: 5px;
}
.error-text {
    font-size: 13px;
    margin-bottom: 3px;
    color: #ff3f3f; 
}