

section.school .grid-link {
    border: 1px #d1d1d1 solid; 
    
    
    background-color: #f7f7f7;
}

section.school .grid-outer {
    padding: 4px 6px 8px;
    float: left;
    
    
}

section.school .grid-thumb {
    padding-top: 0px;
    padding-bottom: 0px;
    width: 100%;
    position: relative;
    background-color: #fff;
    border-bottom: 1px #e9e9e9 solid;
}
section.school .caption {
    padding: 24px 15px;
        text-align: center;
    min-height: 210px;

}
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: 4px 0 4px;
    line-height: 23px;

}

section.school .caption p {
    font-size: 13px;
    color: #000;
    font-weight: 400;
    line-height: 20px;

}
@media screen and (max-width:991px) {
    section.school .grid-thumb {
    padding-top: 25px;
    padding-bottom: 25px;
    background-color: #fff;
    border-bottom: 1px #e9e9e9 solid;
}
section.school .caption {
    padding: 24px 15px;
        text-align: center;
    min-height: auto;

}
    section.school .grid-link {
    border: 1px #ddd solid; 
    min-height: auto;
}

    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;
}

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;
    }
}