.mxm-post-grid-posts{
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.mxm-post-grid-posts > div {
    flex: 0 0 33.33%;
    padding: 0 10px 20px 10px;
    display: flex;
    align-items: stretch;
}

.mxm-post-grid-single-box-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column
}

.mxm-post-grid-image-wrapper{
    display: flex;
    left: 0%;
    top: 0;
    bottom: 0;
    height: 435px;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 0 0px 34px 20px;
    overflow: hidden;
    position: relative;
}
.mxm-post-grid-image-wrapper .content{
    background: rgba(0, 0, 0, 0.4);
    bottom: -100%;
    color: #fff;
    height: 100%;
    left: 0%;
    padding: 20px;
    text-align: left;
    position: absolute;
    transition: bottom 0.5s ease;
    width: 100%;
    padding-bottom: 50px;
}
.mxm-post-grid-image-wrapper .content p{
    color: white;
    position: absolute;
    bottom: 40px;
}
.mxm-post-grid-image-wrapper .content h4{
    color: white;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}
.mxm-post-grid-image-wrapper:hover .content{
    bottom: 0%;
}
.mxm-post-grid-image-wrapper h4{
    align-self: flex-end;
    width: 100%;
    display: block;
    color: #fff;
    text-shadow: 1px 1px #000;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}
.mxm-post-grid-content-wrapper{
    padding: 30px 25px;
    background: #F1F1F1;
    font-family: Work Sans;
    font-style: normal;
    font-weight: normal;
    font-size: 21px;
    /*max-height: 290px;*/
    /*min-height: 290px;*/
    flex: 1;
}

.mxm-post-grid-content-wrapper h4,
.mxm-post-grid-content-wrapper h4 a {
    color: #000;
    margin-top: 0;
    font-size: 29px;
    line-height: 35px;
}
.mxm-post-grid-meta {
    flex-direction: column;
    font-size: 16px;
    margin-top: 20px;
}

.mxm-post-grid-button-wrapper {
    margin-top: 80px;
    margin-bottom: 30px;
    position: relative;
}
.mxm-post-grid-button {
    display: block;
    max-width: 275px;
    border: 1px solid #fff;
    padding: 16px 4px;
    text-align: center;
    color: #fff;
    transition: all 0.3s;
}

.mxm-post-grid-button:hover {
    color: #fff;
}

.mxm-post-grid-search {
    margin-bottom: 60px;
}

.mxm-post-grid-search-box {
    max-width: 430px;
    width: 100%;
    position: relative;
    padding-right: 70px;
    background: #fff;
}
.mxm-post-grid-searchbar-button {
    position: absolute;
    top: 5px;
    right: 20px;
}
.mxm-post-grid-search-box input {
    box-shadow: none;
    border: none;
}

.mxm-post-grid-loading-gif {
    width: 16px;
    height: 16px;
    position: absolute;
    right: 10px;
    top: 10px;
    display: none;
}

.mxm-post-grid-categories {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 45px;
}

.mxm-post-grid-category {
    margin-right: 20px;
    margin-bottom: 20px;
}

.mxm-post-grid-category a {
    display: block;
    text-align: center;
    padding: 10px 25px;
    border: 1px solid;
    transition: all 0.3s;
    border-color: #FFD945;
    color: #FFD945;
}

.mxm-post-grid-category a.active,
.mxm-post-grid-category a:hover {
    background: #fff;
    color: #373737 !important;
    border-color: #fff !important;
}

.mxm-lds-ripple {
    display: none;
    width: 80px;
    height: 80px;
    position: absolute;
    top: -78px;
    margin: auto;
    left: 0;
    right: 0;
}
.mxm-lds-ripple div {
    position: absolute;
    border: 4px solid #fff;
    opacity: 1;
    border-radius: 50%;
    animation: mxm-lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
.mxm-lds-ripple div:nth-child(2) {
    animation-delay: -0.5s;
}
@keyframes mxm-lds-ripple {
    0% {
        top: 36px;
        left: 36px;
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        top: 0px;
        left: 0px;
        width: 72px;
        height: 72px;
        opacity: 0;
    }
}

@media all and (max-width: 1440px) {
    .mxm-post-grid-posts > div {
        flex: 0 0 50%;
    }
}

@media all and (max-width: 767px) {
    .mxm-post-grid-posts > div {
        flex: 0 0 100%;
    }

    .mxm-lds-ripple{
        top: -85px;
    }

    .mxm-post-grid-button {
        margin: auto;
    }
}