

.portalscontainer {
    display: block;
    clear: both;
    width: 960px;
    max-width: 100%;
    margin: 0 auto;
}

.portals {}

.portalitem {
    display: block;
	float:left;
    width: 16.45%;
    border: 1px #ccc solid;
    min-height: 120px;
    padding-top: 20px;
    vertical-align: top;white-space: nowrap;
}

/* portalitem typography*/

.portalitem p{padding: 0;
             overflow-wrap:break-word;

}

    .portalitem {
        text-align: center;
        color: #2c5c8c;
        font-size: 16px;
    }

.portalitem a {
    color: #2c5c8c;
    text-decoration: none;
}

    .portalitem a:hover,
    .portalitem a em:hover {
        text-decoration: none;
        color: #a17d0a
    }

/* portalitem font awesome*/

.portalitem em {
    text-align: center;
    color: #2c5c8c;
    font-size: 36px;
    display: block;
    clear: both;
    padding-bottom: 15px;
}

.portalitem img {
    max-width: 100%;
}

.slidetime {
    margin-top: 10px
}



@media screen and (max-width: 960px) {
    .portals {
        margin-top: 20px;

    }
    .portalitem {
        display: inline-block;
        width: 24.5%;
        border: 1px #ccc solid;
        
    }.slidetime img, #banner, #slider {
        height: auto !important
    }
    
    .maincon {
        padding: 2%;
        width: 96%;
    }
    .bannermask {
        display: none;
    }
    #slider,
    .bannerright {
        width: 100%
    }
    .bannerleft,
    .tab,
    .featureorange,
    .featureteal,
    .featuregreen,
    .featureblue,
    .featurered {
        display: none !important
    }
}

@media screen and (max-width: 800px) {
    .portalitem {
        display: inline-block;
        width: 32.5%;
        border: 1px #ccc solid;
    }
}

@media screen and (max-width: 600px) {
    .portalitem {
        display: inline-block;
        width: 49%;
        border: 1px #ccc solid;
    }
}

@media screen and (max-width: 400px) {
    .portalitem {
        display: inline-block;
        width: 99%;
        border: 1px #ccc solid;
    }
}