

section.school .grid-link {
    border: 1px #dbdbdb solid; 
    background-color: #f7f7f7;
}

section.school .grid-outer {
    padding: 4px 4px 8px;
    float: left;
    
}

section.school .grid-thumb {
    width: 100%;
    position: relative;
    /* background: #03004c;
    padding: 35px 20px; */
}
section.school .caption {
    padding: 24px 15px;
        text-align: center;

}
section.school .caption .grid-title {
    font-size: 16px;
    color: #000;
    font-weight: 400;
    margin: 3px;
    line-height: 26px;
}
section.school .caption h4 {
    font-size: 14px;
    color: #000;
    
    font-weight: 600;
    padding: 12px 0 15px;
    display: inline-block;
    position: relative;
}
section.school .caption h4:before {
    position: absolute;
    content: "";
    width: 100%;
    height: 1px;
    margin-top: 15px;
    background-color: #000;
}
section.school .caption p {
    font-size: 13px;
    color: #000;
    font-weight: 400;
    line-height: 20px;

}
@media screen and (max-width:991px) {
    section.school .caption {
    padding: 20px 15px 8px;
        text-align: center;

}
section.school .caption .grid-title {
    font-size: 13px;
    color: #000;
    font-weight: 400;
    margin: 3px;
    line-height: 23px;
}
section.school .caption h4 {
    font-size: 12px;
    color: #000;
    
    font-weight: 600;
    padding: 4px 0 4px;
    display: inline-block;
    position: relative;
}
section.school .caption h4:before {
    position: absolute;
    content: "";
    width: 100%;
    height: 1px;
    margin-top: 15px;
    background-color: #000;
}
section.school .caption p {
    font-size: 12px;
    color: #000;
    font-weight: 400;
    line-height: 20px;

}
}
@media screen and (min-width:992px) {
    .grid-outer {
        width: 25%;
    }
    .grid-outer:nth-child(4n+1) {
        clear: left;
    }
}

@media screen and (max-width:991px) and (min-width:768px) {
    .grid-outer {
        width: 33.33%;
    }
    .grid-outer:nth-child(3n+1) {
        clear: left;
    }
}

@media screen and (max-width:767px) and (min-width:481px) {
    .grid-outer {
        width: 50%;
    }
    .grid-outer:nth-child(2n+1) {
        clear: left;
    }
}

@media screen and (max-width:480px) {
    .grid-outer {
        width: 100%;
        display: block;
    }
    .grid-outer:first-child {
        clear: none;
    }
    .grid-thumb {
        width: 50%;
        padding: 28.12% 0 0 0;
        float: left;
    }
    .grid-title {
        width: 50%;
        float: left;
        text-align: left;
        padding: 10px 20px 20px 10px;
        font-size: 12px;
        margin: 0;
    }
}