.all-resources {
    display: flex;
    flex-wrap: wrap;
}

.comse-single-resource {
    width: 30%;
    margin: 1%;
    border: 1px solid #d8d8d8;
    margin-bottom: 45px !important;
}

.resource-info {
    padding: 19px;
}

.comse-single-resource:nth-child(3n) {
    margin-right: 0;
}

.image-wrap {
    overflow: hidden;
    height: 200px;
}

.image-wrap img {
    width: 100%;
}

.resource-cat {
    display: inline-block;
    margin-right: 30px;
    text-decoration: underline;
    color: #316899;
}
.resource-cat:hover{
    cursor: pointer;
    opacity: .8;
}

.resource-cat.active{
    font-weight:bold;
}

.all-resource-cat-wrap {
    text-align: center;
    margin-bottom: 50px;
}

.resource-info h3 {
    padding-top:10px;
    font-size: 29px;
    color: #316899;
    line-height: 1.2em;
    padding-bottom:10px;
}

p.doc-description {
    line-height: 1.3em;
}

.pdf-icon{
    max-width: 40px;
    margin-top: 15px;
}

@media(max-width:1100px){
    .comse-single-resource:nth-child(3n),
    .comse-single-resource {
        width: 47.25%;
        margin-right: 3%;
    }

    .comse-single-resource:nth-child(2n) {
        margin-right: 0;
    }
}

@media(max-width:768px){
    .comse-single-resource {
        width: 80% !important;
        margin: auto !important;
        margin-bottom: 45px !important;
    }
}

@media(max-width: 500px){
    .comse-single-resource {
        width: 100% !important;
    }
}