/* Image Hover */
.image-hover {
    display: block;
    max-width: 100%;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.image-hover img {
    max-width: 100%;
    width: 100%;
    display: block;
}

.image-hover.image-hover-overlay:after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    background: rgba(0, 0, 0, 0.35);
    transition: opacity 0.25s ease-in-out;
    z-index: 0;
}

.image-hover.image-hover-overlay:hover:after {
    opacity: 1;
}

.image-hover.image-hover-scale img {
    transition: transform 0.25s ease-in-out;
}

.image-hover.image-hover-scale:hover img {
    transform: scale(1.055);
}

.image-hover .image-hover-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    opacity: 0;
    color: white;
    transition: opacity 0.25s ease-in-out;
    transform: translate(-50%, -50%);
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
}

.image-hover:hover .image-hover-icon {
    opacity: 1;
}

.image-hover.image-bottom-overlay:before {
    position: absolute;
    content: "";
    bottom: 0;
    left: 0;
    right: 0;
    height: 6rem;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}


.hover-effect {
    transition: all 0.25s ease-in-out;
}

.hover-effect:hover {
    transform: translateY(-0.5rem);
}

.bottom-overlay {
    position: relative;
    display: block;
    overflow: hidden;
    display: block;
}

.bottom-overlay .bottom-overlay-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 5rem 1.5rem 1.5rem 1.5rem;
    color: white;
    background: linear-gradient(0deg, rgba(0,0,0, 0.85) 0%, rgba(0,0,0, 0) 100%);
}

.bottom-overlay:hover figure.image-hover-scale img {
    transform: scale(1.055);
}

.bottom-overlay:hover .image-hover-overlay:after {
    opacity: 1;
}

.bottom-overlay:hover .image-hover-icon {
    opacity: 1;
}


.info-card {
    display: block;
    padding: 1.5rem;
    background-color: white;
    color: var(--bs-body-color);
}

.info-card:hover {
    color: var(--bs-body-color);
}

.info-card .card-icon {
    margin-bottom: 1rem;
    color: white;
    display: flex;
    width: 64px;
    height: 64px;
    background: var(--bs-primary);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.info-card .card-title {
    color: var(--bs-emphasis-color);
}

.info-card .card-link {
    color: var(--bs-primary);
    text-transform: uppercase;
    letter-spacing: 0.125rem;
    font-size: 0.875em;
    font-weight: 500;
}

.info-card .card-link:hover {
    color: var(--bs-primary-text-emphasis);
}

.info-card.card-hover:hover,
.info-card.active {
    background-color: var(--bs-primary);
}

.info-card.card-hover:hover .card-icon,
.info-card.active .card-icon {
    background-color: white;
    color: var(--bs-primary);
}

.info-card.card-hover:hover .card-title,
.info-card.card-hover:hover .card-desc,
.info-card.card-hover:hover .card-link,
.info-card.active .card-title,
.info-card.active .card-desc,
.info-card.active .card-link {
    color: white;
}

.tree li {
    list-style-type: none;
    margin: 0.5rem 0;
    position: relative;
}

.tree li::before {
    content: "";
    position: absolute;
    top: -10px;
    left: -20px;
    border-left: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    border-radius: 0 0 0 0px;
    width: 20px;
    height: 25px;
}

.tree li::after {
    position: absolute;
    content: "";
    top: 14px;
    left: -20px;
    border-left: 1px solid #ccc;
    border-top: 1px solid #ccc;
    border-radius: 0px 0 0 0;
    width: 20px;
    height: 100%;
}

.tree li:last-child::after {
    display: none;
}

.tree li:last-child:before {
    border-radius: 0 0 0 5px;
}

ul.tree>li:first-child::before {
    display: none;
}

ul.tree>li:first-child::after {
    border-radius: 5px 0 0 0;
}

.tree li a {
    border: 1px #ccc solid;
    border-radius: 5px;
    padding: 2px 5px;
}