/* social */


.social a {
    width: 16px;
    height: 16px;
    text-indent: -9999em;
    float: left;
    outline: 0 none;
    margin: -2px 0 2px 3px;
}

.social a.fb {
    background: url(/redipsLibsPlugin/gfx/fb.png) no-repeat;
}

.social a.tw {
    background: url(/redipsLibsPlugin/gfx/tw.png) no-repeat;
}

.social a.bp {
    background: url(/redipsLibsPlugin/gfx/blip.png) no-repeat;
}

.social a.nk {
    background: url(/redipsLibsPlugin/gfx/nk.png) no-repeat;
}

.social a.gg {
    background: url(/redipsLibsPlugin/gfx/gg.png) no-repeat;
}

.social a.google_plus {
    background: url(/redipsLibsPlugin/gfx/g.png) no-repeat;
}

#instagram-viewer .insta-grid ul {
    /*display:grid;*/
    grid-template-columns:repeat(7, 1fr);
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

#instagram-viewer .insta-grid li {
    display: block;
    float: none;
    margin: 0;
    padding: 0;
    min-width: 0;
}

#instagram-viewer .insta-grid a {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: transparent;
}

#instagram-viewer .insta-grid img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border: 0;
}

@supports not (aspect-ratio: 1 / 1) {
    #instagram-viewer .insta-grid a {
        height: 0;
        padding-bottom: 100%;
    }

    #instagram-viewer .insta-grid img {
        position: absolute;
        top: 0;
        left: 0;
    }
}

@media (max-width: 980px) {
    #instagram-viewer .insta-grid ul {
        grid-template-columns:repeat(4, 1fr);
    }
}

@media (max-width: 560px) {
    #instagram-viewer .insta-grid ul {
        grid-template-columns:repeat(2, 1fr);
        gap: 4px;
    }
}
