/******* social network styles *******/

// social networks styles
.social-network {
    @extend %listreset;
    @include font-size($heading-m-sizes);
    li {
        display: inline-block;
        vertical-align: middle;
        padding: 0;
        margin: 0 0 0.5rem;
        &:last-child {
            margin-right: 0;
            padding-right: 0;
        }
        @include breakpoint-min($screen-medium) {
            padding: 0 2rem 0 0;
        }
    }
    a {
        color: $social-icon-link-color;
        &:hover {
            color: $social-icon-footer-link-hover-color;
        }
        span {
            transition: all .3s linear;
        }
        &:hover .icon-facebook {
            color: $c-facebook;
        }
        &:hover .icon-twitter {
            color: $c-twitter;
        }
        &:hover .icon-google-plus {
            color: $c-google;
        }
        &:hover .icon-pinterest {
            color: $c-pinterest;
        }
        &:hover .icon-dribbble {
            color: $c-dribbble;
        }
    }
    &.social-small {
        font-size: 0.875rem;
        li {
            padding: 0 0.5143rem;
            &:last-child {
                padding-right: 0;
            }
        }
    }
    &.round-icon {
        li {
            @include breakpoint-min($screen-medium) {
                padding: 0 0rem;
            }
            a {
                display: inline-block;
                border: $social-icon-border-color 0.0625rem solid;
                border-radius: 50%;
                line-height: 2.9rem;
                text-align: center;
                width: 2.5rem;
                height: 2.5rem;
                font-size: 1.125rem;
                background: $social-icon-bg-color;
                &:hover {
                    background: $social-icon-bg-hover-color;
                    border-color: $social-icon-border-hover-color;
                }
            }
        }
    }
    &.with-text {
        li {
            padding: 0 0.3rem 0 0;
            &:last-child {
                padding-right: 0;
            }
            @include font-size ($normal-font-sizes);
            a {
                vertical-align: top;
            }
            span {
                margin-right: 0.625rem;
                @include font-size ($heading-s-sizes);
            }
            @include breakpoint-min($screen-extra-large) {
                padding: 0 1.5rem 0 0;
            }
        }
    }
    &.square-icon {
        li {
            @include breakpoint-min($screen-medium) {
                padding: 0 0rem;
            }
            a {
                display: inline-block;
                border: $social-icon-border-color 0.0625rem solid;
                background: $social-icon-bg-color;
                line-height: 2.9rem;
                text-align: center;
                width: 2.5rem;
                height: 2.5rem;
                font-size: 1.125rem;
                &:hover {
                    background: $social-icon-bg-hover-color;
                    border-color: $social-icon-border-hover-color;
                }
            }
        }
    }
    &.shadowed-icon {
        li {
            a {
                box-shadow: 0 2px 8px rgba($social-icon-box-shadow-color, 0.13);
                border: none;
            }
        }
    }
}

// social networks full width styles
a.full-width-icon {
    height: 3.125rem;
    margin: 0;
    border: none;
    line-height: 3.125rem;
    vertical-align: middle;
    position: relative;
    overflow: hidden;
    display: block;
    color: $white;
    background: none;
    .social-icon {
        width: 100%;
        text-align: center;
        position: absolute;
        opacity: 0;
        left: 0;
        top: 3.125rem;
        transition: .2s ease-in-out;
        transition-property: opacity, top;
        @include font-size ($heading-m-sizes);
        line-height: inherit;
    }
    .social-text {
        position: relative;
        top: 0;
        opacity: 1;
        transition: .2s ease-in-out;
        transition-property: opacity, top;
    }
    &.fb {
        background: $c-facebook;
    }
    &.twt {
        background: $c-twitter;
    }
    &.pin {
        background: $c-pinterest;
    }
    &.gp {
        background: $c-google;
    }
    &:hover .social-icon {
        opacity: 1;
        top: 0;
    }
    &:hover .social-text {
        opacity: 0;
        top: 1.875rem;
    }
    @include breakpoint-min($screen-medium) {
        height: 7.5rem;
        line-height: 7.5rem;
    }
}
