@charset "utf-8";

/* 좌측-우측한줄메뉴 */
.vertical-menu {
    position: relative;
    top: 0px;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-radius: 8px;
    border-top: 1px solid #e0e0e0;
    overflow: hidden;
}

.vertical-menu .board-item {
    cursor: pointer;
    border-bottom: 1px solid #ccc; /* 하단 분리선 추가 */
}

.vertical-menu .board-item .category-menu {
    display: none; /* 처음에는 숨깁니다 */
    padding-left: 20px;
}

.vertical-menu .board-item.active .category-menu {
    display: block; /* 활성화된 항목에서 보이게 합니다 */
}

.vertical-menu .board-item.active > a {
    background-color: #ffd401; /* 클릭된 게시판 항목의 배경색 */
    color: rgb(27, 27, 27); /* 클릭된 게시판 항목의 글자색 */
}

.vertical-menu .board-item > a {
    display: block;
    padding: 10px 10px;
    text-decoration: none;
    color: #333;
}

.vertical-menu .board-item > a:hover {
    background-color: rgba(240, 240, 240, 0.5);
}

/* 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: #ffd401; */
    /* box-shadow: 0 -4px #ffd401; */
}

.vertical-menu .category-menu a.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px; /* 왼쪽 선의 두께 */
    background-color: #ffd401; /* 왼쪽 선의 색상 */
    box-shadow: 4px 0 #ffd401;
}
.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;
}