﻿
.view {
    position: relative;
    float: left;
    margin: 21px;
}

.portfolio_descr {
    color: white;
    padding: 5px;
    text-align: center;
}

.view .mask h2 {
    line-height: 1.5em;
}

.view .mask {
    width: 100%;
    height: 100%;
    position: absolute;
    overflow: hidden;
    top: 0;
    left: 0;
    opacity: 0;
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    -ms-transition: all 0.2s linear;
    transition: all 0.2s linear;
    -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
}

.view .mask:hover {
    opacity: 0.8;
    background: #fcaf17;
}
