.image-box-main {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px
}

.image-box-item {
    max-width: calc(50% - 30px);
    margin: 15px;
    transition: all .4s ease-in-out;
    -webkit-transition: all .4s ease-in-out;
    -ms-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out
}

.image-box-item img {
    width: 100%
}

.image-box-item.text-white h3,.image-box-item.text-white p {
    color: #fff
}

.box-content-group {
    padding: 25px 30px 30px 30px
}

.box-content-group a {
    transition: all .4s ease-in-out;
    -webkit-transition: all .4s ease-in-out
}

.box-content-group .btn {
    margin-bottom: 0
}

.image-box-item.ib-stwo.text-white h3,.image-box-item.ib-stwo.text-white p {
    color: #fff
}

.image-box-item.ib-stwo .box-content-group {
    border: 0
}

.image-box-item.ib-stwo .ib-hover {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat
}

.image-box-item.ib-stwo.text-white .btn:hover {
    background-color: transparent;
    color: rgba(255,255,255,0.8)
}

.image-box-item.ib-stwo .box-content-group,.image-box-item.ib-stwo .box-content-group h3,.image-box-item.ib-stwo .box-content-group p,.image-box-item.ib-stwo .box-content-group .btn {
    transition: all .4s ease-in-out;
    -webkit-transition: all .4s ease-in-out;
    -ms-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out
}

.ib-hover.ib-bg-overlay {
    position: relative
}

.ib-hover.ib-bg-overlay::before {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.6);
    transition: all .4s ease-in-out
}

.image-box-item.ib-styleone>img {
    height: 765px !important;
    object-fit: cover
}

.box-content-group .btn.text_btn {
    font-size: 15px
}

@media only screen and (max-width: 991px) {
    .image-box-item {
        max-width:calc(50% - 30px)
    }
}

@media only screen and (max-width: 767px) {
    .image-box-item {
        max-width:100%
    }
}

.image-box-item {
    background-color: #fff;
    border: 2px solid #eee;
}