﻿
.home-video-item {
    position: relative;
    padding: 0 22px;
    padding-bottom: 15px;
    display: flex;
    align-items: center;
    flex-direction: column;
    /* justify-content: center; */
}

    .home-video-item .overlay-video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        opacity: 0;
        transition: all ease .2s;
    }

    .home-video-item:hover .overlay-video {
        opacity: 1;
        z-index: 1;
    }

    .home-video-item .overlay-video iframe {
        width: 100%;
        height: 100%;
    }

    .home-video-item:hover .home-video-title {
        color: var(--default-color-3) !important;
    }

    .home-video-item:hover .home-video-img img {
        transform: scale(1.02);
    }

    .home-video-item span {
        display: none;
    }

    .home-video-item:nth-child(3),
    .home-video-item:nth-child(4) {
        padding-top: 23px;
    }

    .home-video-item.df::before {
        display: none;
    }

    .home-video-item::before {
        content: '';
        position: absolute;
        width: 1px;
        height: 100%;
        border-left: 1px dashed #C2C2C2;
        left: 0;
        bottom: 0;
    }

    .home-video-item:nth-child(3)::after,
    .home-video-item:nth-child(4)::after {
        display: none;
    }

    .home-video-item::after {
        content: '';
        position: absolute;
        width: calc(100% - 44px);
        height: 1px;
        bottom: 0;
        border-bottom: 1px dashed #C2C2C2;
    }

    .home-video-item.df::after {
        display: none;
    }

.home-video-container {
    padding-top: 90px;
    padding-bottom: 72px;
}

.home-video-list {
    display: flex;
    /* align-items: center; */
}

    .home-video-list .left {
        width: 589px;
    }

    .home-video-list .right {
        display: grid;
        grid-auto-rows: minmax(min-content,max-content);
        grid-template-columns: repeat(2,minmax(0,1fr));
        column-gap: 0;
        row-gap: 0;
        flex: 1;
    }

.home-video-img img.fill {
    transition: all ease .3s;
}

.home-video-btn {
    position: absolute;
}

    .home-video-btn img {
    }

.home-video-options {
    margin-top: 11px;
}

    .home-video-options .item {
        display: flex;
        align-items: center;
    }

        .home-video-options .item img {
        }

        .home-video-options .item span {
            color: #4D4D4D;
            font-size: 14px;
            line-height: 138.7%;
            margin-left: 5px;
            display: block;
        }

.home-video-content {
    width: 100%;
}

.home-video-item.df .home-video-title {
    color: var(--default-color-6);
    font-size: 20px;
    line-height: 138.7%;
    -webkit-line-clamp: 2;
    margin-top: 12px;
}

.home-video-title {
    margin: 0;
    color: #4D4D4D;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    line-height: 150%;
    font-family: baiR;
    font-size: 15px;
    margin-top: 9px;
    transition: all ease .3s;
    font-weight: 100;
}

.home-video-item.df .home-video-img {
    height: 420px;
}

.home-video {
    background-image: url(../../../Design/img/home-video-bg.png);
    background-size: cover;
}

    .home-video .grid.wide {
        max-width: 1438px;
    }

    .home-video .p-title {
        font-size: 36px;
        margin-bottom: 45px;
    }

.home-video-img {
    height: 209px;
    border-radius: 5px;
    overflow: hidden;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
/*RS*/
@media(max-width:1023px) {
    .home-video-list {
        flex-direction: column;
        align-items: center;
    }

    .home-video-container {
        padding: 50px 0;
    }

    .home-video-item {
        width: 100%;
        padding: 0 !important;
    }

    .home-video-list .right {
        column-gap: 15px;
        row-gap: 15px;
    }

    .home-video-list .left {
        width: 100%;
        margin-bottom: 20px;
    }

    .home-video-item::before,
    .home-video-item::after {
        display: none;
    }
}

@media(min-width:740px) and (max-width:1023px) {
}

@media(max-width:739px) {
    .home-video-container {
        padding: 30px 0;
    }

    .home-video-item.df .home-video-img {
        height: 220px;
    }
}
