.overlay-information {
    position: relative;
    top: -22.75rem;
    height: 22.75rem;
    transition: all 0.2s;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;

    &:hover {
        cursor: pointer;
        background-color: var(--card-overlay-hover-bg-color) !important;

        .overlay-information--centered {
            visibility: visible;
        }
    }

    .overlay-information--centered {
        position: absolute;
        border-radius: 0.9375rem;
        background-color: rgba(0, 0, 0, 0.7);
        border-radius: 3.125rem;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 115;
        visibility: hidden;

        &:hover {
            background-color: var(--primary-color) !important;
            cursor: pointer;
        }

        div {
            width: 3.75rem;
            height: 3.75rem;
            i {
                font-size: 1.6rem;
                line-height: 3.75rem;
                width: 100%;
            }
        }
    }
}

.overlay-information {
    position: absolute;
    top: 0;
    left: 0.75rem;
    width: calc(100% - 1.5rem);
    height: 100%;
    transition: all 0.2s;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;

    &:hover {
        background-color: var(--card-overlay-hover-bg-color);
        cursor: pointer;
    }

    .card-title {
        color: var(--card-overlay-text-color);
    }

    .overlay-information--centered {
        position: absolute;
        border-radius: 0.9375rem;
        background-color: rgba(0, 0, 0, 0.7);
        border-radius: 3.125rem;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 115;

        &:hover {
            background-color: var(--primary-color) !important;
            cursor: pointer;
        }
    }
}

.series {
    .overlay-information--centered {
        div {
            height: 2rem;
            width: 2rem;
            i {
                font-size: 1.4rem;
                line-height: 2rem;
            }
        }
    }
}

::ng-deep .image-container app-image img {
    border-radius: 0.25rem 0.25rem 0 0;
}

.progress {
    border-radius: 0;
}

.progress-banner.series {
    position: relative;
}

::ng-deep .progress-banner.series span {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    top: 50%;
}

.under-image {
    position: relative;

    .continue-from {
        background-color: var(--breadcrumb-bg-color);
        color: white;
        border-bottom-left-radius: 0.3125rem;
        border-bottom-right-radius: 0.3125rem;
        text-align: center;
        position: absolute;
        width: 100%;
        font-size: 0.8rem;
        -webkit-line-clamp: 1;
        font-size: 0.8rem;
        overflow: hidden;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        padding: 0 0.625rem 0 0;
    }
}

@media screen and (max-width: 991px) {
    .overlay-information {
        visibility: hidden;
        .overlay-information--centered {
            visibility: hidden !important;
        }
    }
    .progress-banner {
        display: none;
    }

    .under-image {
        display: none;
    }
}
