﻿.videos_block1 {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    background: #fff;
    padding: 10px;
    border: 1px solid #c8c8c8;
    box-shadow: 1px 1px 1px rgba(0,0,0,.1);
    transition: box-shadow .25s !important
}

    .videos_block1:hover {
        box-shadow: 1px 1px 10px rgba(0,0,0,.3)
    }

    .videos_block1 .image_container {
        width: 100%;
        padding: 30%;
        background-size: cover;
        background-position: center center;
        border-radius: 3px;
        display: flex;
        justify-content: center;
        align-items: center
    }

        .videos_block1 .image_container i {
            font-size: 26px;
            color: white;
            width: 55px;
            height: 55px;
            text-align: center;
            line-height: 52px;
            border-radius: 50%;
            transition: transform .25s ease,background .25s ease;
            padding: 2px 0 0 4px
        }

    .videos_block1:hover .image_container i {
        background: #fff;
        transform: scale(1.2)
    }

    .videos_block1 .content_container h2 {
        width: 100%;
        margin: 10px 0 0 0;
        padding: 0;
        font-size: 13px;
        font-weight: bold
    }

    .videos_block1:hover .content_container h2 {
        color: #27718d
    }

    .videos_block1 .content_container small {
        width: 100%;
        font-size: 11px;
        color: #909090
    }

.image_block1 {
    display: block;
    width: 100%;
    height: 100%;
    direction: ltr;
    position: relative;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 1px 1px 3px rgba(0,0,0,.25)
}

    .image_block1 .image_container {
        width: 100%;
        padding: 40%;
        background-size: cover;
        background-position: top center;
        transition: transform .5s ease
    }

    .image_block1:hover .image_container {
        transform: scale(1.2)
    }

    .image_block1 .overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        background: rgba(0,0,0,.5);
        padding: 10px;
        opacity: 0;
        transition: .5s;
        color: white
    }

    .image_block1:hover .overlay {
        opacity: 1
    }

    .image_block1 .overlay i {
        color: white;
        font-size: 40px
    }

.video_block1 .image_container {
    width: 100%;
    position: relative;
    margin-bottom: 10px;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 1px 1px 3px rgba(0,0,0,.25)
}

    .video_block1 .image_container .image {
        width: 100%;
        padding-top: 70%;
        background-size: cover;
        background-position: center center
    }

        .video_block1 .image_container .image .overlay {
            display: flex;
            align-items: center;
            justify-content: center;
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: transparent;
            transition: background .25s
        }

            .video_block1 .image_container .image .overlay .glyphicon-play {
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 26px;
                background: rgba(255,255,255,.5);
                color: #fff;
                border: 4px solid #fff;
                border-radius: 50%;
                width: 55px;
                height: 55px;
                transition: transform .25s
            }

.video_block1:hover .image_container .image .overlay {
    background: rgba(0,0,0,.35)
}

    .video_block1:hover .image_container .image .overlay .glyphicon-play {
        transform: scale(1.15)
    }
