.section-ourwork .item {
    text-align:center;
    float:left;
    margin:.5%;
    position:relative;
    width: 19%;
    height: 217px;
    overflow: hidden;
}

.section-ourwork .item-hover,
.section-ourwork .item-hover .mask,
.section-ourwork .item-img,
.section-ourwork .item-info {
    width: 100%;
    height: 217px;
}

.section-ourwork .item-hover,
.section-ourwork .item-hover .mask,
.section-ourwork .item-img {
    position:absolute;
    top:0;
    left:0;
}

.section-ourwork .item-type-line .item-hover {
    z-index:100;
    -webkit-transition: all 300ms ease-out;
    -moz-transition: all 300ms ease-out;
    -o-transition: all 300ms ease-out;
    transition: all 300ms ease-out;
    opacity:0;
    display:block;
    text-decoration:none;
    text-align:center;
}

.section-ourwork .item-type-line .item-hover .item-info {
    color:#ffffff;
    display:table-cell;
    vertical-align:middle;
    position:relative;
    z-index:5;
    padding-left: 10px;
    padding-right: 10px;
}

.section-ourwork .item-type-line .item-info .headline p {
    font-size:16px;
    font-family: OpenSansBold, UbuntuBold, sans-serif;
    text-transform: uppercase;
    text-align: left;
    margin-top: 3px;
    margin-bottom: 12px;
    padding-left: 25px;
    min-width: 196px;
    font-weight: 100 !important;
}

.section-ourwork .icon-title {
    background: url(../images/icon-title.png) no-repeat;
    background-position-y: 3px;
    background-position-x: 0;
}

.section-ourwork .icon-arrow {
    background: url(../images/icon-arrow.png) no-repeat;
    background-position-y: 3px;
    background-position-x: 0;
}

.section-ourwork .icon-rubl {
    background: url(../images/icon-rubl.png) no-repeat;
    background-position-y: 3px;
    background-position-x: 0;
}

.section-ourwork .item-type-line .item-info .line {
    height:2px;
    width:0%;
    margin:3px auto;
    background-color:#ffffff;
    -webkit-transition: all 500ms ease-out;
    -moz-transition: all 500ms ease-out;
    -o-transition: all 500ms ease-out;
    transition: all 500ms ease-out;

}

.section-ourwork .item-type-line .item-info .more a {
    font-size:16px;
    font-family: OpenSansBold, UbuntuBold, sans-serif;
    color: #fff;
    text-transform: uppercase;
}

.section-ourwork .item-type-line .item-info .more a:focus {
    color: #fff;
}

.section-ourwork .item-type-line .item-info .more a:hover {
    color: rgba(255, 255, 255, 0.6);
}

.section-ourwork .item-type-line .item-hover .mask {
    background-color:rgba(78, 45, 7, 0.8);
    z-index:0;
}

.section-ourwork .item-type-line .item-hover:hover .line {
    width:100px;
}

.section-ourwork .item-type-line .item-hover:hover {
    opacity:1;
}

.section-ourwork .item-img {
    background-color: #bf9b72;
    z-index:0;
}

.section-ourwork .item-img img {
    width: 100%;
}

@media (max-width: 1199px) {
    .section-ourwork .item {
        width: 24%;
    }
}

@media (max-width: 992px) {
    .section-ourwork .item {
        width: 32%;
    }
}

@media (max-width: 767px) {
    .section-ourwork .item {
        width: 100%;
        max-width: 400px;
        height: auto;
        float: none;
        margin: 0 auto 10px;
    }
    .section-ourwork .item-img {
        position: relative;
        height: auto;
    }
    .section-ourwork .item-hover,
    .section-ourwork .item-hover .mask,
    .section-ourwork .item-img,
    .section-ourwork .item-info {
        height: 100%;
    }

    .section-ourwork .item-type-line .item-hover .item-info {
        display: none;
        height: auto;
        margin-top: 25%;
        margin-top: calc(50% - 67px);
    }

    .section-ourwork .item-type-line .item-hover:hover .item-info {
        display: block;
    }
}