


/*	노원 청정시간	2023-06-05*/
#Main_Banner #Main_Banner_20230605 {
	background-image: url(/images/banners/20230605/banner1_2.jpg);
}
@media (min-width: 768px) {
	#Main_Banner #Main_Banner_20230605 {
		background-image: url(/images/banners/20230605/banner1_1.jpg);
	}
}
@media (min-width: 992px) {
	#Main_Banner #Main_Banner_20230605 {
		background-image: url(/images/banners/20230605/banner1_1.jpg);
	}
}
/*    노원청년일삶센터    2023-08-07 */
#Main_Banner #Main_Banner_20230807 {
	background-image: url(/images/banners/20230807/banner1_2.jpg);
}
@media (min-width: 768px) {
	#Main_Banner #Main_Banner_20230807 {
		background-image: url(/images/banners/20230807/banner1_1.jpg);
	}
}
@media (min-width: 992px) {
	#Main_Banner #Main_Banner_20230807 {
		background-image: url(/images/banners/20230807/banner1_1.jpg);
	}
}
/*    아픈아이 돌봄센터    2024-04-08 */
#Main_Banner #Main_Banner_20240408 {
	background-image: url(/images/banners/20240408/banner1_2.jpg);
}
@media (min-width: 768px) {
	#Main_Banner #Main_Banner_20240408 {
		background-image: url(/images/banners/20240408/banner1_1.jpg);
	}
}
@media (min-width: 992px) {
	#Main_Banner #Main_Banner_20240408 {
		background-image: url(/images/banners/20240408/banner1_1.jpg);
	}
}
/*    2024-04-25 일경험 노원찬스 */
#Main_Banner #Main_Banner_20240425 {
	background-image: url(/images/banners/20240425/banner1_2.jpg);
}
@media (min-width: 768px) {
	#Main_Banner #Main_Banner_20240425 {
		background-image: url(/images/banners/20240425/banner1_1.jpg);
	}
}
@media (min-width: 992px) {
	#Main_Banner #Main_Banner_20240425 {
		background-image: url(/images/banners/20240425/banner1_1.jpg);
	}
}
/*	아이편한 택시	2023-04-24	*/
#Main_Banner #Main_Banner_20230425 {
	background-image: url(/images/banners/20240426/banner1_2.jpg?v=20240426);
}
@media (min-width: 768px) {
	#Main_Banner #Main_Banner_20230425 {
		background-image: url(/images/banners/20240426/banner1_1.jpg?v=20240426);
	}
}
@media (min-width: 992px) {
	#Main_Banner #Main_Banner_20230425 {
		background-image: url(/images/banners/20240426/banner1_1.jpg?v=20240426);
	}
}
/* 2025-04-07 노원똑똑똑 돌봄단 */
#Main_Banner #Main_Banner_202504071 {
	background-image: url(/images/banners/20250407/banner1_3.jpg?v=20250407);
}
@media (min-width: 768px) {
	#Main_Banner #Main_Banner_202504071 {
		background-image: url(/images/banners/20250407/banner1_2.jpg?v=20250407);
	}
}
@media (min-width: 992px) {
	#Main_Banner #Main_Banner_202504071 {
		background-image: url(/images/banners/20250407/banner1_1.jpg?v=20250407);
	}
}
/* 2025-04-07 헤어카페 더휴 */
#Main_Banner #Main_Banner_202504072 {
	background-image: url(/images/banners/20250407/banner2_3.jpg?v=20250407);
}
@media (min-width: 768px) {
	#Main_Banner #Main_Banner_202504072 {
		background-image: url(/images/banners/20250407/banner2_2.jpg?v=20250407);
	}
}
@media (min-width: 992px) {
	#Main_Banner #Main_Banner_202504072 {
		background-image: url(/images/banners/20250407/banner2_1.jpg?v=20250407);
	}
}
/* 2025-04-07 아이편한 택시 */
#Main_Banner #Main_Banner_202504073 {
	background-image: url(/images/banners/20250407/banner3_3.jpg?v=20250407);
}
@media (min-width: 768px) {
	#Main_Banner #Main_Banner_202504073 {
		background-image: url(/images/banners/20250407/banner3_2.jpg?v=20250407);
	}
}
@media (min-width: 992px) {
	#Main_Banner #Main_Banner_202504073 {
		background-image: url(/images/banners/20250407/banner3_1.jpg?v=20250407);
	}
}
/* 2025-04-07 아픈아이 돌봄센터 */
#Main_Banner #Main_Banner_202504074 {
	background-image: url(/images/banners/20250407/banner4_3.jpg?v=20250407);
}
@media (min-width: 768px) {
	#Main_Banner #Main_Banner_202504074 {
		background-image: url(/images/banners/20250407/banner4_2.jpg?v=20250407);
	}
}
@media (min-width: 992px) {
	#Main_Banner #Main_Banner_202504074 {
		background-image: url(/images/banners/20250407/banner4_1.jpg?v=20250407);
	}
}

/* ===== 새로운 카테고리 박스 스타일 ===== */



.Main_WelfareService {
    position: relative;
}
.Main_WelfareService .Main_WelfareService_title {
    font-size: 24px;
    font-weight: bold;
    color: #333333;
    margin: 0;
    padding: 0;
    text-align: center;
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
}

/* 카테고리 박스 전체 컨테이너 */
.WS_CategoryBox_new {
    background-color: #ffffff;
    border: 2px solid #e3e3e3;
    border-radius: 20px 20px 0 0;
    padding: 0;
    margin: 0 0px 30px 0px;
    overflow: hidden;
}

/* 카테고리 섹션 스타일링 - 한 줄로 배치 */
.WS_CategoryBox_new > ul {
    display: flex;
    flex-direction: row; /* 가로 배치 */
    justify-content: space-between;
    gap: 0px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* 각 카테고리 섹션 (생애주기, 가구상황, 관심주제) */
.WS_CategoryBox_new > ul > li {
    margin: 0;
    padding: 0;
    background-color: #f7f7f7;
    border-right: 1px solid #e3e3e3;
}

/* 생애주기 섹션 - 3 비율 */
.WS_CategoryBox_new > ul > li.WS1 {
    flex: 3;
}

/* 가구상황 섹션 - 2 비율 */
.WS_CategoryBox_new > ul > li.WS2 {
    flex: 2;
}

/* 관심주제 섹션 - 3 비율 */
.WS_CategoryBox_new > ul > li.WS3 {
    flex: 3;
}
.WS_CategoryBox_new > ul > li:last-child {
    border-right: none;
}

/* 카테고리 제목 스타일링 */
.WS_CategoryBox_new h4 {
    font-size: 18px;
    font-weight: bold;
    color: #333333;
    margin: 0;
    padding: 20px 0;
    letter-spacing: 0.5px;
    text-align: center;
    border-bottom: 1px solid #e3e3e3;
    background-color: #fff;
}

.WS_CategoryBox_new h4 span {
    display: inline-block;
}

/* 아이콘 그리드 컨테이너 - 기본 3열 */
.WS_CategoryBox_new > ul > li > ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 기본 3열 그리드 */
    gap: 15px;
    margin: 0;
    padding: 20px;
    list-style: none;
}

/* 생애주기 섹션 - 6개 아이콘을 3개씩 2열로 배치 */
.WS_CategoryBox_new > ul > li.WS1 > ul {
    grid-template-columns: repeat(3, 1fr); /* 3열 그리드 */
    grid-template-rows: repeat(2, auto); /* 2행 */
}

/* 가구상황 섹션 - 4개 아이콘을 2개씩 2열로 배치 */
.WS_CategoryBox_new > ul > li.WS2 > ul {
    grid-template-columns: repeat(2, 1fr); /* 2열 그리드 */
    grid-template-rows: repeat(2, auto); /* 2행 */
}

/* 관심주제 섹션 - 6개 아이콘을 3개씩 2열로 배치 */
.WS_CategoryBox_new > ul > li.WS3 > ul {
    grid-template-columns: repeat(3, 1fr); /* 3열 그리드 */
    grid-template-rows: repeat(2, auto); /* 2행 */
}

/* 아이콘 박스 스타일링 */
.WS_CategoryBox_new > ul > li > ul > li {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0;
    padding: 0;
}

/* 아이콘 박스 링크 스타일링 */
.WS_CategoryBox_new > ul > li > ul > li > a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333333;
    transition: all 0.3s ease;
    width: 100%;
}

/* 아이콘 이미지 컨테이너 - 흰색 배경 */
.WS_CategoryBox_new > ul > li > ul > li > a > img {
    width: 100px;
    height: 100px;
    border-radius: 10px; /* 둥근 모서리 */
    background-color: #ffffff; /* 흰색 배경 */
    padding: 0;
    box-sizing: border-box;
    margin-bottom: 10px; /* 아이콘과 텍스트 사이 간격 */
    transition: all 0.3s ease;
}

/* 아이콘 박스 호버 효과 */
.WS_CategoryBox_new > ul > li > ul > li > a:hover > img {
    transform: translateY(-2px);
}

/* 아이콘 박스 텍스트 라벨 */
.WS_CategoryBox_new > ul > li > ul > li > a > span {
    font-size: 18px;
    font-weight: 500;
    color: #333333;
    line-height: 1.4;
    transition: color 0.3s ease;
}
.WS_CategoryBox_new > ul > li > ul > li > a > span small {
    font-size: 10px;
    display: block;
    margin-top: 0px;
}



/* 아이콘 박스 호버 시 텍스트 색상 변경 */
.WS_CategoryBox_new > ul > li > ul > li > a:hover > span {
    color: #0066cc;
}

/* 활성 상태 스타일링 */
.WS_CategoryBox_new > ul > li.active h4 {
    color: #0066cc;
}

.WS_CategoryBox_new > ul > li > ul > li.active > a > img {
    border-color: #0066cc;
    background-color: #f0f8ff;
}

.WS_CategoryBox_new > ul > li > ul > li.active > a > span {
    color: #0066cc;
    font-weight: bold;
}



/* 반응형 디자인 */
@media (max-width: 991px) {
    .WS_CategoryBox_new {
        padding: 20px;
        margin: 15px 0;
    }
    
    .WS_CategoryBox_new > ul {
        flex-direction: column; /* 태블릿에서는 세로 배치 */
        gap: 20px;
    }
    
    .WS_CategoryBox_new > ul > li {
        padding: 15px;
    }
    
    .WS_CategoryBox_new > ul > li > ul {
        grid-template-columns: repeat(2, 1fr); /* 태블릿에서는 2열 */
        gap: 12px;
    }
    
    .WS_CategoryBox_new > ul > li > ul > li > a > img {
        width: 80px;
        height: 80px;
        padding: 12px;
        margin-bottom: 15px;
    }
    
    .WS_CategoryBox_new > ul > li > ul > li > a > span {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .WS_CategoryBox_new {
        padding: 15px;
        margin: 10px 0;
        border-radius: 15px;
    }
    
    .WS_CategoryBox_new > ul {
        gap: 15px;
    }
    
    .WS_CategoryBox_new > ul > li {
        padding: 12px;
    }
    
    .WS_CategoryBox_new > ul > li > ul {
        grid-template-columns: repeat(2, 1fr); /* 모바일에서도 2열 유지 */
        gap: 10px;
    }
    
    .WS_CategoryBox_new > ul > li > ul > li > a > img {
        width: 70px;
        height: 70px;
        padding: 10px;
        margin-bottom: 12px;
    }
    
    .WS_CategoryBox_new > ul > li > ul > li > a > span {
        font-size: 14px;
    }
    
    .WS_CategoryBox_new h4 {
        font-size: 16px;
        margin-bottom: 15px;
    }
}

/* 매우 작은 화면에서의 대응 */
@media (max-width: 480px) {
    .WS_CategoryBox_new > ul > li > ul {
        grid-template-columns: 1fr; /* 매우 작은 화면에서는 1열 */
        gap: 10px;
    }
    
    .WS_CategoryBox_new > ul > li > ul > li > a > img {
        width: 60px;
        height: 60px;
        padding: 8px;
        margin-bottom: 10px;
    }
    
    .WS_CategoryBox_new > ul > li > ul > li > a > span {
        font-size: 13px;
    }
}





.Main_Banner_new {
    margin-bottom: 30px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e3e3e3;
}


.Tiles_Menu_new {
    margin-bottom: 30px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e3e3e3;
}
.Tiles_Menu_new_item {
    background-color: #ffffff;
    padding: 15px;
    height: 129px;
}
.Tiles_Menu_new_item.bottom_line {
    border-bottom: 1px solid #e3e3e3;
}
.Tiles_Menu_new_item a {
    display: block;
    text-decoration: none;
    text-align: center;
}
.Tiles_Menu_new_item a img {
    margin-bottom: 10px;
    display: block;
    margin: 0 auto;
}
.Tiles_Menu_new_item a span {
    font-size: 14px;
    display: block;
    text-align: center;
}

.Tiles_Menu_new_title {
    font-size: 18px;
    font-weight: bold;
    display: block;
    text-align: center;
}
.text_black {
    color: #333333;
    font-weight: bold;
}


.text_orange {
    color: #ff6600;
}
.text_blue {
    color: #0070c0;
}
.Tiles_Menu_new_btn {
    font-size: 12px;
    color: #333333;
    display: block;
    text-align: center;
}

.d-flex {
    display: flex;
    align-items: center;
    justify-content: center;
}



.serviceBoxBody {
    border: 2px solid #e3e3e3;
}

.online_new {
    background-image: url(/images/2025New/xl/box_bg01.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.sos_new {
    background-image: url(/images/2025New/xl/box_bg02.png);
    background-size: cover;
    background-position: center;
}
.sponsor_new {
    background-image: url(/images/2025New/xl/box_bg03.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ===== 탭메뉴 게시판 스타일 ===== */

.main_footer_img {
    background-image: url(/images/2025New/xl/bottom_bg.png);
    background-size: 100% auto;
    background-position: center bottom;
    background-repeat: no-repeat;
}
.main_footer_img .container {
    padding-bottom: 100px;
}

/* 탭메뉴 전체 컨테이너 */
.news-tab-container {
    background-color: #ffffff;
    border: 2px solid #e3e3e3;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
}

/* 탭메뉴 헤더 */
.news-tab-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e3e3e3;
}

/* 탭메뉴 리스트 */
.news-tab-list {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    background-color: #f8f9fa;
}

/* 탭메뉴 아이템 */
.news-tab-item {
    flex: 1;
    margin: 0;
    padding: 0;
    border-right: 1px solid #e3e3e3;
}

.news-tab-item:last-child {
    border-right: none;
}

/* 탭메뉴 링크 */
.news-tab-link {
    display: block;
    padding: 20px 15px;
    text-decoration: none;
    color: #666666;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

/* 탭메뉴 호버 효과 */
.news-tab-link:hover {
    color: #0066cc;
    background-color: #ffffff;
    text-decoration: none;
}

/* 활성 탭 스타일 */
.news-tab-item.active .news-tab-link {
    color: #0066cc;
    background-color: #ffffff;
    border-bottom: 3px solid #0066cc;
    font-weight: bold;
}

/* 탭메뉴 콘텐츠 영역 */
.news-tab-content {
    padding: 0;
    background-color: #ffffff;
}

/* 탭메뉴 패널 */
.news-tab-panel {
    display: none;
    padding: 30px;
}

.news-tab-panel.active {
    display: block;
}

/* 게시판 리스트 */
.news-list {
    margin: 0;
    padding: 0;
}

/* 게시판 아이템 */
.news-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.3s ease;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item:hover {
    background-color: #f8f9fa;
}

/* 게시판 날짜 */
.news-date {
    flex-shrink: 0;
    width: 100px;
    font-size: 14px;
    color: #999999;
    font-weight: 400;
}

/* 게시판 제목 */
.news-title {
    flex: 1;
    margin-left: 20px;
}

.news-title a {
    color: #333333;
    text-decoration: none;
    font-size: 16px;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.news-title a:hover {
    color: #0066cc;
    text-decoration: none;
}

/* 더보기 링크 */
.news-more {
    text-align: center;
    padding: 20px 0 0 0;
    border-top: 1px solid #f0f0f0;
    margin-top: 20px;
}

.more-link {
    color: #0066cc;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.more-link:hover {
    color: #004499;
    text-decoration: none;
}

.arrow-right {
    margin-left: 5px;
    font-style: normal;
}

/* 반응형 디자인 */
@media (max-width: 991px) {
    .news-tab-list {
        flex-wrap: wrap;
    }
    
    .news-tab-item {
        flex: 1 1 50%;
        min-width: 200px;
    }
    
    .news-tab-link {
        padding: 15px 10px;
        font-size: 14px;
    }
    
    .news-tab-panel {
        padding: 20px;
    }
    
    .news-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 0;
    }
    
    .news-date {
        width: auto;
        margin-bottom: 5px;
        font-size: 13px;
    }
    
    .news-title {
        margin-left: 0;
    }
    
    .news-title a {
        font-size: 15px;
    }
}

@media (max-width: 767px) {
    .news-tab-container {
        border-radius: 15px;
        margin-bottom: 20px;
    }
    
    .news-tab-item {
        flex: 1 1 100%;
    }
    
    .news-tab-link {
        padding: 12px 8px;
        font-size: 13px;
    }
    
    .news-tab-panel {
        padding: 15px;
    }
    
    .news-item {
        padding: 10px 0;
    }
    
    .news-date {
        font-size: 12px;
    }
    
    .news-title a {
        font-size: 14px;
    }
    
    .more-link {
        font-size: 13px;
    }
}

/* 매우 작은 화면에서의 대응 */
@media (max-width: 480px) {
    .news-tab-container {
        border-radius: 10px;
    }
    
    .news-tab-link {
        padding: 10px 5px;
        font-size: 12px;
    }
    
    .news-tab-panel {
        padding: 12px;
    }
    
    .news-item {
        padding: 8px 0;
    }
    
    .news-date {
        font-size: 11px;
    }
    
    .news-title a {
        font-size: 13px;
    }
    
    .more-link {
        font-size: 12px;
    }
}




