/* Navigation */

.wp-pagenavi {
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(2rem);
}

.wp-pagenavi a, .wp-pagenavi span {
    border: 1px solid #e1e1e1;
    padding: 4px 10px;
    color: inherit;
    transition: all 300ms ease;
}

.wp-pagenavi a:hover, .wp-pagenavi span.current {
    border-color: #000;
    background-color: #000;
    color: white;
}

/* Flip Book */

.df-popup-thumb .df-book-wrapper {
    height: 270px;
}

.df-popup-thumb .df-book-cover {
    height: 100%;
}

.df-popup-thumb img {
    height: 80% !important;
    object-fit: cover;
}

.df-popup-thumb .df-book-title {
    bottom: 0 !important;
    opacity: 1 !important;
}

/* Sitemap */

.sitemap-groups {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;
    max-width: 1500px;
    margin: auto;
    gap: 2%;
}

.sitemap-group-item:nth-child(odd) {
    background-color: #f5f5f5 !important;
}

.sitemap-group {
    min-width: 49%;
    border: 1px solid #ededed;
    border-bottom-width: 3px;
    margin-bottom: 2rem;
    max-height: 400px;
    overflow-y: auto;
}

.sitemap-group-title {
    padding: 1rem;
    background-color: #d1d1d1;
    font-size: 22px;
}

.sitemap-group-items {
    padding: 0;
}

.sitemap-group-item {
    padding: .5rem 1rem;
    transition: all 300ms ease;
}

.sitemap-group-item:hover {
    background-color: #dfdfdf !important;
}

.sitemap-group-item h3 {
    font-size: 18px;
    line-height: 22px;
    font-weight: normal;
    padding: 0;
}