#instafeed,
.instagram_gallery {
    position: relative;
    width: 100%;
    float: left;
}

.instagram_gallery .instagram-item:nth-child(4n+3),
.instagram_gallery .instagram-item:nth-child(4n+2),
.instagram_gallery .instagram-item:nth-child(4n+1),
.content_noteotzyvy .itemotzyvy:nth-child(3n+2),
.content_noteotzyvy .itemotzyvy:nth-child(3n+1),
.content_noteproject .itemproject:nth-child(4n+3),
.content_noteproject .itemproject:nth-child(4n+2),
.content_noteproject .itemproject:nth-child(4n+1) {
    margin-right: 15px;
}

.instagram_gallery .instagram-item:nth-child(4n+4),
.instagram_gallery .instagram-item:nth-child(4n+3),
.instagram_gallery .instagram-item:nth-child(4n+2),
.content_noteotzyvy .itemotzyvy:nth-child(3n+3),
.content_noteotzyvy .itemotzyvy:nth-child(3n+2),
.content_noteproject .itemproject:nth-child(4n+3),
.content_noteproject .itemproject:nth-child(4n+2),
.content_noteproject .itemproject:nth-child(4n+4) {
    margin-left: 15px;
}


.notefixed .instagram {
    position: relative;
    float: left;
    width: 100%;
}

.instagram_gallery .instagram-item {
    width: -o-calc(25% - 90px/4);
    width: -moz-calc(25% - 90px/4);
    width: -ms-calc(25% - 90px/4);
    width: -webkit-calc(25% - 90px/4);
    width: calc(25% - 90px/4);
    position: relative;
    float: left;
    margin-bottom: 30px;
}

.instagram_gallery .instagram-item a {
    position: relative;
    width: 100%;
    float: left;
    overflow: hidden;
    -webkit-transition: all 1.5s ease-in-out;
    -moz-transition: all 1.5s ease-out;
    -o-transition: all 1.5s ease-out;
    transition: all 1.5s ease-in-out;
}

.instagram_gallery .instagram-item .instagram-title {
position: absolute;
    bottom: 0;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.77);
    left: 0;
    right: 0;
    height: 40px;
    overflow: hidden;
    color: #553600;
        -webkit-transition: all 1.5s ease-in-out;
    -moz-transition: all 1.5s ease-out;
    -o-transition: all 1.5s ease-out;
    transition: all 1.5s ease-in-out;
        font-size: 14px;
}

.instagram_gallery .instagram-item a img {
    width: 100% !important;
}

.instagram_gallery .instagram-item a:before {
    position: absolute;
    content: '';
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.42);
    -webkit-transition: all 1.5s ease-in-out;
    -moz-transition: all 1.5s ease-out;
    -o-transition: all 1.5s ease-out;
    transition: all 1.5s ease-in-out;
    opacity: 0;
}

.instagram_gallery .instagram-item:hover a:before {
    opacity: 1;
}

.instagram_gallery .instagram-item:hover .instagram-title {
    background-color: unset;
    margin-bottom: 120px;
    color: #ffffff;
}
