/*********************************
/* Video Card Start
*********************************/
.video__card {
    position: relative;
    .badge {
        position: absolute;
        top: 12px;
        right: 10px;
    }
    .video {
        &__thumb {
            border-radius: 8px;
            position: relative;
            overflow: hidden;

            &::before {
                content: "";
                height: 100%;
                width: 100%;
                background: radial-gradient(circle, rgba(0, 0, 0, .5) 0%, rgba(255,255,255,0) 100%);
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                opacity: 0;
                visibility: hidden;
                transition: var(--transition);
            }
            
            img {
                width: 100%;
                height: 100%;
                display: block;
                border-radius: 8px;
                aspect-ratio: 2.85/4;
                transition: var(--transition);
            }
        }
        &__btn {
            transition: var(--transition);
            transform: translate(-50%, -50%) scale(0);
        }
        &__content {
            background: var(--color-heading2);
            padding: 19px 12px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 15px;
            width: calc(100% - 10px);
            margin: auto;
            position: absolute;
            // bottom: 4px;
            bottom: -30px;
            left: 50%;
            transform: translateX(-50%);
            transition: var(--transition);
            opacity: 0;
            visibility: hidden;

            .title {
                font-family: var(--font-default);
                font-size: 15.28px;
                font-weight: var(--font-medium);
                line-height: 17.9px;
                color: var(--color-white);
                display: block;
                margin-bottom: 8px;
                text-transform: capitalize;
                overflow: hidden;
                text-overflow: ellipsis;
                display: -webkit-box !important;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
            }
        }
        &__meta {
            display: flex;
            gap: 16px;
            margin-bottom: 8px;
            .meta__item {
                font-size: 11.46px;
                font-weight: var(--font-regular);
                line-height: 15.28px;

                &::after {
                    width: 1px;
                }
            }
        }
        &__tag {
            display: flex;
            gap: 6px;
            span {
                font-size: 11.46px;
                line-height: 10.43px;
                padding: 2px 8px;
                border-radius: 3px;
            }
        }
    }
    &:hover {
        .video {
            &__btn {
                transform: translate(-50%, -50%) scale(1.3);
            }
            &__thumb {
                &::before {
                    opacity: 1;
                    visibility: visible;
                }
            }
            &__content {
                bottom: 4px;
                opacity: 1;
                visibility: visible;
            }
        }
    }
}

.video__btn {
    height: 42px;
    width: 42px;
    // border: 1px dashed var(--color-white);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--color-primary);
    font-size: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    cursor: pointer;
    transition: var(--transition);
    
    &::after {
        content: "";
        width: 100%;
        height: 100%;
        border: 2px dashed var(--color-white);
        display: block;
        position: absolute;
        border-radius: 50%;
        
    }
    &:hover {
        &::after {
            animation: rotate 4s linear infinite;
        }
    }
}

/* Rotate animation */
@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}




.action__btn {
    display: flex;
    align-items: center;
    gap: 6px;
    a {
        width: 24.83px;
        height: 24.83px;
        font-size: 13px;
        color: var(--color-white);
        background: rgba(var(--color-white-rgb), 0.06);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: var(--transition);


        &:hover {
            background: var(--color-primary);
            color: var(--color-white);
        }

    }
}

.badge {
    font-family: var(--font-default);
    font-size: 14px;
    font-weight: var(--font-regular);
    line-height: 16.41px;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 3px 9px;
    border-radius: 3px;
    z-index: 1;
}

.text-ellips {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/*********************************
/* Video Card End
*********************************/


/*********************************
/* PopOver Card Start
*********************************/
.custom-popover {
    max-width: 560px;
    width: 100%;
    // height: 316px;
    height: auto;
    border-radius: 8px;
    border: 1px solid var(--color-primary);

    .popover-header {
        display: none;
        border: none;
    }
    
    .popover-body {
        padding: 0;
    }

    &.bs-popover-auto[data-popper-placement^=top]>.popover-arrow::before, .bs-popover-top>.popover-arrow::before {
        border-top-color:  var(--color-primary) !important;
    }
    &.bs-popover-auto[data-popper-placement^=top]>.popover-arrow::after, .bs-popover-top>.popover-arrow::after {
        border-top-color:  var(--color-primary) !important;
    }
    
    &.bs-popover-auto[data-popper-placement^=right]>.popover-arrow::before, .bs-popover-right>.popover-arrow::before {
        border-right-color:  var(--color-primary) !important;
    }
    &.bs-popover-auto[data-popper-placement^=right]>.popover-arrow::after, .bs-popover-right>.popover-arrow::after {
        border-right-color:  var(--color-primary) !important;
    }
    &.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow::before, .bs-popover-bottom>.popover-arrow::before {
        border-bottom-color:  var(--color-primary) !important;
    }
    &.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow::after, .bs-popover-bottom>.popover-arrow::after {
        border-bottom-color:  var(--color-primary) !important;
    }
    
    &.bs-popover-auto[data-popper-placement^=left]>.popover-arrow::before, .bs-popover-left>.popover-arrow::before {
        border-left-color:  var(--color-primary) !important;
    }
    &.bs-popover-auto[data-popper-placement^=left]>.popover-arrow::after, .bs-popover-left>.popover-arrow::after {
        border-left-color:  var(--color-primary) !important;
    }

}
.popOver__card {
    // position: absolute;
    // bottom: 0;
    // left: 200px;
    // z-index: 999;
    
    .popOver__heading {
        padding: 15px 23px;
        background: var(--color-primary);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
        border-radius: 8px 8px 0 0;

        .title {
            font-family: var(--font-roboto);
            font-size: 20px;
            font-weight: var(--font-medium);
            line-height: 22px;
            color: var(--color-white);
            margin-bottom: 0;
        }
        .status {
            font-family: var(--font-default);
            font-size: 16px;
            font-weight: var(--font-regular);
            line-height: 18.75px;
            color: var(--color-white);

        }
    }
    .popOver__video {
        width: 100%;
        // height: 100%;
        height: 250px;
        border-radius: 0 0 8px 8px;
        overflow: hidden;
        
        iframe {
            width: 100%;
            height: 100%;

        }
    }
}
#player {
    .ytp-chrome-top {
        display: none !important;
    }

}


/*********************************
/* PopOver Card End
*********************************/