.subject-kitcards-container {
    display: flex;
    padding-top: 70px;
    padding-bottom: 70px;
    overflow: hidden;
    justify-content: start;
    flex-direction: row;
    flex-wrap: wrap;
}

.btn-pad {
    padding: 11px 22px!important;
}

.subject-card {
    display: block;
    position: relative;
    max-width: 350px!important;
     height: 280px;
    box-shadow: 4px 4px 0 0 rgba(0, 0, 0, 0.16);
    margin-bottom: 30px;
    flex-direction: column;
    overflow: hidden;
}
.no-subject-image.subject-card {   
     height: auto!important;
}

.subject-bgtop {
    display: block;
    height: 15px;
    width: 100%;
}

.subject-title {
    font-family: NotoSans-Bold;
    font-size: 22px;
    line-height: 32px;
    letter-spacing: 0.22px;
    text-align: left;
    width: 100%;
    padding: 18px 15px 18px 20px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    transition: .2s;
    min-height: 85px;
    flex-wrap: wrap;
}

.subject-title span {
    width: calc(100% - 70px);
}

.lessons-info {
    font-family: NotoSans-Bold;
    font-size: 15px;
    line-height: 26px;
    text-align: left;
    width: 100%;
    transition: .2s;
    opacity: 1;
    display: none;
    height: 0;
    padding: 0 15px 0 10px;
    text-transform: none;
}

.subject-img {
    overflow: hidden;
    width: 100%;    
    min-height: 134px;
    max-height: 180px;
    justify-content: center;
    display: flex;
}

.subject-img img {
    width: 100%;
    height: unset;
    object-fit: cover;
    object-position: center;
}

.icon-subject {
    width: 56px;
    margin-right: 10px;
    image-rendering: pixelated;
}
.no-subject-image.subject-card, .no-subject-image .lessons-info, .no-subject-image .subject-title {
    transition: none;
}

@media (max-width: 992px) {
    .subject-img img {
        width: 100%;
        height: auto;
    }
    .subject-kitcards-container {
        display: flex;
        padding-top: 70px;
        padding-bottom: 70px;
        overflow: hidden;
        justify-content: center;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .subject-card {
        max-width: 330px !important;
        padding: 0 !important;
    }
    .lessons-info {
        display: block;
        height: auto;
        padding: 10px 15px 0 10px;
    }

}

@media (min-width: 993px) {
    .subject-card:hover .subject-title {
        margin-bottom: 15px!important;
        transition: .2s;
        position: relative;
    }
    .no-subject-image.subject-card:hover .subject-title {
        margin-bottom: 0px!important;
        position: relative;
    }
    .subject-card:hover .lessons-info {
        padding: 10px 15px 0 10px;
        display: inline-block;
        transition: .2s;
        opacity: 1;
        height: auto;
    }
}

@media (max-width: 767px) {
    .subject-img {
        display: none;
    }
    .subject-card {
        display: flex;
        position: relative;
        max-width: 100%!important;
        height: auto;
        box-shadow: 4px 4px 0 0 rgba(0, 0, 0, 0.16);
        margin-bottom: 30px;
        flex-direction: column;
        padding-right: 0px!important;
        padding-left: 0px!important;
    }
    .lessons-info {
        font-family: NotoSans-Bold;
        font-size: 15px;
        line-height: 26px;
        text-align: left;
        max-width: 100%!important;
        transition: .2s;
        opacity: 1;
        display: none;
        height: auto;
        padding: 10px 15px 0 10px;
        display: block!important;
        opacity: 1!important;
        text-transform: none;
    }
}


/*----HIGH CONTRAST --------*/

@media screen and (-ms-high-contrast: black-on-white) {
    .subject-card {
        border: 1px solid #000;
    }
}

@media screen and (-ms-high-contrast: white-on-black) {
    .subject-card {
        border: 1px solid #fff;
    }
}