.mat_description_content p {
    margin-bottom: 10px;
}

@media (min-width: 1024px) {
    .mat_banner_heading {
        transition: all .3s ease-in-out;
        display: block;
        margin-bottom: 0;
        padding: 0.5em !important;
        min-height: 4rem;
    }

    .mat_banner {
        position: relative;
        overflow: hidden;
        display: flex;
        display: -ms-flexbox;
        flex-direction: column-reverse;
        -ms-flex-direction: column-reverse;
        height: 24.6rem;
        height: 15.375rem;
        max-width: 18.4375rem;
    }

    .mat_banner_img {
        position: relative;
        flex: 0 0 50%;
        -ms-flex: 0 0 50%;
    }

    .mat_banner img {
        display: inline-block;
        width: 100%;
    }

    .mat_banner_text {
        display: block;
        position: absolute;
        bottom: 0;
        z-index: 1;
        width: 100%;
        height: 4rem;
        transition: all .3s ease-in-out;
        flex: 1 1 100%;
        -ms-flex: 1 1 100%;
        padding: 0;
    }

    .mat_banner_description {
        display: block;
        padding: 1em;
        height: 15.375rem;
    }

    .mat_banner:hover .mat_banner_text {
        height: 28.6rem;
        height: 19.375rem;
    }
    .mat_banner:hover .mat_banner_description{
        height: 24.6rem;
        height: 15.375rem;
    }
}


.mat_banner.align_center{
    text-align: center;
}

.mat_banner.align_right{
    text-align: right;
}

.mat_banner i{
    margin-right: .5em;
}

.mat_banner_description a:hover{
    text-decoration: underline;
}

@media (max-width: 1023px){
    .mat_banner{
        display:flex;
        display: -ms-flexbox;
        flex-direction: row-reverse;
        -ms-flex-direction: row-reverse;
        height: auto;
        border: unset !important;
        background-color: #e9eef1 !important;
    }
    .mat_banner_heading{
        background-color: #e9eef1 !important;
        color: #ba3e63 !important;
        font-weight: bold;
        text-align: left !important;

    }
    .mat_banner_description{
        background-color: #e9eef1 !important;
        flex: 1 auto;
        text-align: left !important;
        color: #3a3e41 !important;
    }
    .mat_banner_img {
        position: relative;
        flex: 0 0 50%;
        -ms-flex: 0 0 50%;
    }

    .mat_banner img {
        display: block;
        /*width: 100%;*/
    }
    .mat_banner_text{
        display: flex;
        display: -ms-flexbox;
        flex: 0 0 50%;
        -ms-flex: 0 0 50%;
        flex-direction: column;
        -ms-flex-direction: column;
        padding: 1em;
    }
    .mat_banner_description a{
        color: #3a3e41 !important;
    }
}