.image-boxes {
    position: relative;
    margin-bottom: 112px;
}

@media only screen and (min-width: 770px) {
    .image-boxes {
		width: 100vw;
		left: 50%;
		right: 50%;
		margin-left: -50vw;
		margin-right: -50vw;
		}
}

.image-boxes__items {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-flow: row wrap;
            flex-flow: row wrap;
}
.image-boxes-wrap {
    padding: 20px;
    height: 325px;
    position: relative;
    overflow: hidden;
    width: 100%;
}
@media only screen and (min-width: 590px) {
    .image-boxes-wrap {
        width: 50%;
    }
}
@media only screen and (min-width: 1200px) {
    .image-boxes-wrap {
        width: 25%;
    }
}
.image-boxes-wrap .bg-img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    z-index: -1;
}
.image-boxes-wrap .bg-img img {
    min-width: 100%;
    max-width: unset;
}
.image-boxes-wrap:hover .bg-img {
    -webkit-filter: grayscale(100%);
            filter: grayscale(100%);
}
.image-boxes-wrap .image-boxes-item {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    padding: 35px;
    -webkit-transition: all .45s ease;
    -o-transition: all .45s ease;
    transition: all .45s ease;
    -webkit-transform: translateY(65px);
        -ms-transform: translateY(65px);
            transform: translateY(65px);
}
.image-boxes-wrap:hover .image-boxes-item {
    -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
            transform: translateY(0);
}
.image-boxes-item .item-box .image-boxes-title {
    font-weight: 700;
    font-size: 36px;
}
.image-boxes-item .item-box .image-boxes-title:not(:last-child) {
    margin-bottom: 13px;
}
.image-boxes-item .image-boxes-title {
    position: relative;
    padding-bottom: 7px;
}
.image-boxes-item .image-boxes-title:not(:last-child) {
    margin-bottom: 20px;
}
.image-boxes-item .image-boxes-title a {
    color: #fff;
    border-bottom: none;
    font-weight: 700;
    text-decoration: none;
}
.image-boxes-item .image-boxes-title:after {
    content: '';
    position: absolute;
    top: 100%;
    height: 3px;
    width: 50px;
    background: #cac6c7;
    left: 0;
}
.image-boxes-wrap .image-boxes-item p {
    color: #c9c9c9;
}
.image-boxes-item p:not(:last-child) {
    margin-bottom: 18px;
}
.image-boxes-btn {
    padding: 7px 30px;
    display: inline-block;
    font-size: 13px;
    text-transform: uppercase;
    background: 0 0;
    color: #565656;
    white-space: nowrap;
    text-align: center;
    line-height: 24px;
    letter-spacing: .5px;
    border-radius: 3px;
}
.image-boxes-btn:not(.btn-small) {
    border: 2px solid #8f8e8c;
}
.image-boxes-btn:hover {
    border-color: #565656;
}
[class*=btn]:not(.btn-small).btn-style-3 {
    color: #8f8e8c;
    border-color: #c9c9c9;
}
[class*=btn]:not(.btn-small).btn-style-3:hover {
    border-color: #8f8e8c;
}
.image-boxes-wrap .image-boxes-item .image-boxes-btn {
    opacity: 0;
    visibility: hidden;
    color: #fff;
}
.image-boxes-wrap:hover .image-boxes-item .image-boxes-btn {
    opacity: 1;
    visibility: visible;
}
.image-boxes-wrap .image-boxes-item .image-boxes-btn:hover {
    border-color: #fff;
    text-decoration: none;
}
.image-boxes-wrap:hover:after {
    opacity: .7;
    visibility: visible;
}
.image-boxes-wrap:after {
    content: '';
    z-index: -1;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #a3172f;
    background: -webkit-gradient(linear,left top, left bottom,color-stop(0, #a3172f),to(#ef2245));
    background: -o-linear-gradient(top,#a3172f 0,#ef2245 100%);
    background: linear-gradient(to bottom,#a3172f 0,#ef2245 100%);
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all .4s ease;
    -o-transition: all .4s ease;
    transition: all .4s ease;
}
a.image-boxes-btn.btn-style-3 {
    -webkit-transition: all .4s ease;
    -o-transition: all .4s ease;
    transition: all .4s ease;
}

.image-boxes .modulelinks {
    padding-left: 30px;
}

.image-boxes-wrap .ModuleEditLink {
    color: #fff;
}