@charset "utf-8";
/* 메뉴 상단 타이틀 박스 */
.group-container {display: flex;justify-content: center;align-items: center; height: auto; flex-direction: column; background-color: none; }
.group-box {background-image: url('../img/title_menu.png');
    /* background-color: #666; */
    color: #fff;font-size: 20px;font-weight: bold;
    padding: 10px 20px;margin-bottom: 0px;border: 1px solid #ddd;border-radius: 10px 10px 0 0;width: 100%; 
    max-width: 240px;height: 100px;display: flex;justify-content: center; align-items: center; text-align: center;
}

/* 사이드 카테고리 그룹메뉴 */
.vertical-menu {
    position: absolute; /* 처음에는 원래 위치 유지 */
    top: 0;
    width: 235px;
    background-color: #f8f9fa;
    padding: 0px;
    transition: top 0.3s ease-in-out;
}
.vertical-menu .board-item {
    cursor: pointer;
    border-bottom: 1px solid #ccc; /* 하단 분리선 */
    background-color: #e9e9e9; 

}

.vertical-menu .board-item .category-menu {
    display: none; /* 처음에는 숨깁니다 */
    padding-left: 20px;
}
/* 2차 */
.vertical-menu .board-item.active .category-menu {display: block; /* 활성화된 항목에서 보이게 */}
.vertical-menu .board-item.active > a {
    background-color: #d4d4d4; 
    color: #991212; 
}

.vertical-menu .board-item > a {
    display: block;
    padding: 10px 10px;
    text-decoration: none;
    color: #333;
    background-color: #e9e9e9; 
}

.vertical-menu .board-item > a:hover {
    background-color:#d4d4d4;
}

/* 2차메뉴 */
.vertical-menu .category-menu a {
    display: block;
    padding: 5px 20px;
    color: #555;
}

.vertical-menu .category-menu a.active {
    position: relative; /* ::after 및 ::before 요소의 위치 설정을 위해 relative로 설정 */
    background-color: rgba(255, 251, 0, 0.2);
    color: rgb(27, 27, 27); /* 클릭된 2차 메뉴 항목의 글자색 */
}

.vertical-menu .category-menu a.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px; /* 밑줄의 두께 */
    /* background-color: #7b69c7; */
    /* box-shadow: 0 -4px #7b69c7; */
}

.vertical-menu .category-menu a.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px; /* 왼쪽 선의 두께 */
    background-color: #d4d4d4; /* 왼쪽 선의 색상 */
    box-shadow: 4px 0 #d4d4d4;
}
.vertical-menu .category-menu a:hover {
    background-color: rgba(240, 240, 240, 0.5);
}

.breadcrumb {
    margin: 0px 0;
    padding: 10px;
    background-color: #faf9f8;
    border-radius: 4px;
}

.breadcrumb a {
    color: #007bff;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}