/* references carousel */

.carousel-container > .row > * + * {
    margin-top: 30px;
}

#references-carousel {
    margin: 0 40px;
    padding-bottom: 50px;
}

#references-carousel .tab {
    background: #fff;
    font-size: smaller;
    padding: 20px 20px 25px 20px;
    margin: 0 15px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    width: calc(100% - 30px) !important;
}

#references-carousel .slick-slide {
    height: auto;
}

#references-carousel :is(.tab, .slick-slide div) {
    height: 100%;
}

#references-carousel .slick-track {
    display: flex;
    margin: 10px 0 15px 0;
}

/* dots */

#references-carousel .slick-dots {
    text-align: center;
    display: block;
    line-height: 0;
    margin: 0;
}

#references-carousel .slick-dots li {
    display: inline-block;
}

#references-carousel .slick-dots button {
    font-size: 0;
    background: transparent;
    border: none;
    position: relative;
    width: 24px;
    height: 24px;
}

#references-carousel .slick-dots button::after {
    content: "";
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-top: -5px;
    margin-left: -5px;
    background: #2a2a2a;
    opacity: 0.5;
    border-radius: 50%;
    width: 10px;
    height: 10px;
    transition: opacity 300ms linear;
}

#references-carousel .slick-dots button:is(:hover, :focus)::after,
#references-carousel .slick-dots .slick-active button::after {
    opacity: 1;
}

/* arrows */

#references-carousel .slick-arrow {
    position: absolute;
    top: calc(50% - 70px);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    background: #2a2a2a url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='24' viewBox='0 -960 960 960' width='24'%3E%3Cpath d='m517.847-480-184-184L376-706.153 602.153-480 376-253.847 333.847-296l184-184Z' fill='%23fff' /%3E%3C/svg%3E") 8px center / 28px auto no-repeat;
    transition: background-color 300ms linear;
}

#references-carousel .slick-arrow:is(:hover, :focus) {
    background-color: #026788;
}

#references-carousel .slick-arrow.slick-prev {
    left: -40px;
    transform: scaleX(-1);
}

#references-carousel .slick-arrow.slick-next {
    right: -40px;
}

/* more nav below references */

hr.large-margin {
    margin-bottom: 30px;
    height: 1px;
}

#more-nav ul {
    margin: 20px 0 50px 0;
    float: none;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

#more-nav ul::before,
#more-nav ul::after {
    display: none;
}

#more-nav ul li {
    flex-grow: 1;
}

#more-nav ul li a {
    flex-grow: 1;
    text-align: center;
    font-weight: 700;
    color: #20979c;
    border: 2px solid #20979c;
    display: block;
    padding: 13px 16px;
    border-radius: 15px;
    transition: 200ms linear color, 200ms linear background-color;
}

#more-nav ul li[class*="toplevel"]:is(:hover, :focus-within)>a,
#more-nav ul li[class*="toplevel"]>a:is(:hover, :focus),
#more-nav ul li[class*="toplevel"][class*="_over"]>a,
#more-nav ul li[class*="toplevel"][class*="_over"]>a:is(:hover, :focus) {
    color: #fff;
    background: #20979c;
}