/* BLogroll */
//Mixins and Variables
.absolute-centered {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
}

.anima (@anima) {
  -webkit-transition: all @anima ease-in-out;
    -moz-transition: all @anima ease-in-out;
    transition: all @anima ease-in-out;
}

.background-cover, .bg-cover {
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}


//CSS
.elpug-blogroll-carousel {
    margin-bottom: 20px;
    .elpug-blog-item { 
        background: #f4f4f4;
        border-radius: 10px;
        .primary-btn {

        }    
        .elpug-blog-content {
            padding: 25px;
        }
        .elpug-heading {
            font-weight: bold;
            margin-bottom: 15px;
            text-transform: uppercase;
            margin-bottom: 10px;
            line-height: 1.1;
        }
        p {
            font-weight: normal;
            font-size: 13px;
            font-style: italic;
        }
        .elpug-blog-item-img {
            position: relative;
            margin-bottom: 0px;
            img {
                width: 100%;
            }
            &:before {
                content: "";
                position: absolute;
                left: 0;
                top: 0;
                width: 100%;
                height: 100%;
                display: block;
                opacity: 0;
                background: #000;
                .anima(0.3s);
            }
            &:after {
                content: "";
                background: url(../img/ico-plus-white.png) no-repeat center center;
                width: 94px;
                height: 86px;
                display: block;
                .anima(0.3s);
                .absolute-centered;
                opacity: 0;           
            }
            &:hover:before {
                opacity: 0.5;
            }
            &:hover:after {
                opacity: 1;
                .anima(0.3s);
            }
        }
    }

    .elpug-blog-item-img {
        display: block;
        width: 100%;
        height: 250px;    
        background-image: url(../img/icon_blog.png);
        background-repeat: no-repeat;    
        background-position: center center;
        background-color: #ddd;
    }

    .elpug-blog-item-img-cover {
        .bg-cover;
    }
    .post-element {
        margin-bottom: 0;
        background-color: transparent;        
    }
}
