/* 공지사항 게시판 스타일 */
.notice-list {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* 헤더 스타일 */
.list_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
	flex-direction:column;
}

.list_title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.list_count {
	text-align:right;
	margin-bottom:10px;
    font-size: 15px;
    color: #666;
}

.list_count strong {
    color: #333;
}

/* 필터 스타일 */
.list_filter {
    margin-bottom: 30px;
}

.filter_group {
    display: flex;
    justify-content:space-between !important;
}

.filter_item{
	flex:none;
}

.filter_item select {
    width: 120px;
    height: 40px;
    padding: 0 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
}

/* 테이블 스타일 */
.notice_table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.notice_table th,
.notice_table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.notice_table th {
    background: #f8f9fa;
    font-weight: 500;
    color: #333;
}

.notice_table td {
    color: #666;
}

.notice_table .td_num {
    width: 80px;
}

.notice_table .td_category {
    width: 100px;
}

.notice_table .td_subject {
    text-align: left;
}

.notice_table .td_name {
    width: 120px;
}

.notice_table .td_date {
    width: 200px;
}

.notice_table .td_view {
    width: 80px;
}

/* 카테고리 태그 */
.category_tag {
    display: inline-block;
    padding: 4px 12px;
    background: #f0f0f0;
    color: #666;
    border-radius: 20px;
    font-size: 13px;
}

/* 검색 영역 */
.bo_sch_wrap {
    position: relative;
    display: none;
    margin-bottom: 30px;
}

.bo_sch {
    position: relative;
    padding: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.bo_sch h3 {
    margin: 0 0 15px;
    font-size: 18px;
    color: #333;
}

.sch_bar {
    display: flex;
    gap: 10px;
}

.sch_input {
    flex: 1;
    height: 40px;
    padding: 0 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.sch_btn {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.bo_sch_cls {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
}

.bo_sch_bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: -1;
}

/* 버튼 스타일 */
.list_buttons {
    text-align: center;
    margin-top: 30px;
}

.btn_write {
    display: inline-block;
    padding: 10px 25px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s;
	font-size:17px;
}

.list_buttons{
	
}
.btn_write:hover {
    background: #003366;
}

/* 빈 목록 */
.empty_list {
    padding: 50px 0;
    text-align: center;
    color: #666;
    font-size: 15px;
}

/* 페이지네이션 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin: 30px 0;
}

.pagination a,
.pagination strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s;
}

.pagination a:hover {
    background: #f8f9fa;
    border-color: #999;
}

.pagination strong {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* 검색 영역 */
.search_box {
    display: flex;
    gap: 10px;
}

#search_input {
    width: 200px;
    height: 40px;
    padding: 0 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.filter_buttons{
	text-align:center;
}
.btn_search {
    padding: 0 20px;
    height: 40px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn_search:hover {
    background: #003366;
}

@media (max-width: 768px) {
    .search_box {
        width: 100%;
    }
    
    #search_input {
        width: 100%;
    }
    
    .btn_search {
        white-space: nowrap;
    }
} 






/* view */

/* 공지사항 상세보기 테이블 스타일 */
.bo_v_wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.bo_v_table {
    width: 100%;
    border-collapse: collapse;
    border-top: 2px solid #333;
    margin-bottom: 30px;
}

.bo_v_table th,
.bo_v_table td {
    padding: 15px;
    border: 1px solid #ddd;
    font-size: 15px;
    line-height: 1.5;
}

.bo_v_table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
    text-align: center;
    width: 15%;
}

.bo_v_table td {
    color: #333;
}

.bo_v_table tr:first-child td {
    font-weight: 600;
    font-size: 18px;
}

.bo_v_content {
    min-height: 300px;
    line-height: 1.8;
}

.bo_v_content img {
    max-width: 100%;
    height: auto;
}

.bo_v_content p{
	margin:0; 
}

.bo_v_file {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bo_v_file li {
    display: flex;
    align-items: center;
    padding: 5px 0;
}

.bo_v_file li:first-child {
    padding-top: 0;
}

.bo_v_file li:last-child {
    padding-bottom: 0;
}

.bo_v_file li a {
    color: #333;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.bo_v_file li a:hover {
    color: #007bff;
}

.bo_v_file li .file_size {
    color: #666;
    font-size: 13px;
    margin-left: auto;
}

.bo_v_btn {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.bo_v_btn .btn {
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.bo_v_btn .btn_list {
    background: #6c757d;
    color: #fff;
}

.bo_v_btn .btn_list:hover {
    background: #5a6268;
}

.bo_v_btn .btn_edit {
    background: #005bac;
    color: #fff;
}

.bo_v_btn .btn_edit:hover {
    background: #0056b3;
}

.bo_v_btn .btn_del {
    background: #dc3545;
    color: #fff;
}

.bo_v_btn .btn_del:hover {
    background: #c82333;
} 

.datepicker{
	padding:12px;
}

#bo_v_img img{
	width:100%;
}





/* list */
/* 아카이브 리스트 스타일 */
.archive-list {
    padding: 80px 0;
    max-width: 1440px;
    margin: 0 auto;
    background: #fff;
}

.archive-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    padding: 0 40px;
}

.archive-title {
    font-size: 36px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0;
    position: relative;
    padding-left: 20px;
    letter-spacing: -0.5px;
}

.archive-title:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 28px;
    background: linear-gradient(to bottom, #007bff, #00bfff);
    border-radius: 3px;
}

.archive-filter {
    display: flex;
    gap: 15px;
}

.archive-filter select {
    width: 180px;
    height: 45px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 0 20px;
    font-size: 15px;
    color: #333;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8L1 3h10z'/%3E%3C/svg%3E") no-repeat right 20px center;
    appearance: none;
    transition: all 0.3s ease;
}

.archive-filter select:hover {
    border-color: #007bff;
}

.archive-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
    padding: 0 40px;
}

.archive-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    transition: all 0.4s ease;
    overflow: hidden;
}

.archive-item:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transform: translateY(-5px);
}

.archive-item-inner {
    position: relative;
}

.gall_img {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.gall_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.archive-item:hover .gall_img img {
    transform: scale(1.08);
}

.is_notice {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 107, 107, 0.9);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    z-index: 1;
    backdrop-filter: blur(4px);
}

.no_image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #f8f9fa;
    color: #adb5bd;
    font-size: 15px;
}

.archive-item-content {
    padding: 25px;
}

.archive-item-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 20px;
    line-height: 1.5;
    height: 54px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: #1a1a1a;
}

.archive-item-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.archive-item-title a:hover {
    color: #007bff;
}

.archive-item-meta {
    display: flex;
    justify-content: space-between;
    color: #666;
    font-size: 14px;
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
}

.archive-item-date {
    color: #888;
}

.archive-item-category {
    color: #007bff;
    font-weight: bold;
}

.empty-list {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 0;
    color: #888;
    background: #f8f9fa;
    border-radius: 12px;
    font-size: 16px;
}

.btn-write {
    text-align: right;
    margin-top: 40px;
    padding: 0 40px;
}

.btn-write .btn {
    padding: 12px 30px;
    font-size: 16px;
    background: #007bff;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-write .btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,123,255,0.2);
}

/* 페이지네이션 스타일 */
.pagination {
    display: flex;
    justify-content: center;
    margin: 50px 0;
    padding: 0 40px;
}

.pagination .page-item {
    margin: 0 5px;
}

.pagination .page-link {
    padding: 10px 18px;
    border: 1px solid #e0e0e0;
    color: #666;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.pagination .page-item.active .page-link {
    background: #007bff;
    border-color: #007bff;
    color: #fff;
}

.pagination .page-link:hover {
    background: #f8f9fa;
    border-color: #007bff;
    color: #007bff;
}

@media (max-width: 1440px) {
	.common-write{width:100%; padding-bottom:60px;}
	.archive-list,.bo_v_wrap,.lay_1440{width:100%; max-width:auto; min-width:auto;}
}
/* 반응형 스타일 */
@media (max-width: 1200px) {
    .archive-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .archive-content {
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .archive-list {
        padding: 30px 15px;
    }
	
	.bo_v_table th{
		font-size:13px;
	}
	.bo_v_table tr:first-child td{
		font-size:15px;
	}
    .archive-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
        padding: 0 0px;
    }

    .archive-title {
        font-size: 28px;
    }

    .archive-filter {
        width: 100%;
    }

    .archive-filter select {
        width: 100%;
    }

    .archive-content {
        grid-template-columns: 1fr;
        padding: 0 0px;
    }

    .archive-item-title {
        height: auto;
        -webkit-line-clamp: 2;
    }
    
    .btn-write {
        padding: 0 20px;
    }
}
