.footer {
    background-color: map-get($color-primary, 600);
    display: table-row;
    height: 1px;

    &.footer-simple {
        background-color: #fff;
    }

    .widget {
        margin-bottom: 0;

        h2 {
            border-bottom: 1px solid rgba(white, .20);
            color: #fff;
            font-size: 13px;
            font-weight: 600;
            line-height: 1;
            margin: 0 -30px 15px 0;
            padding-bottom: 20px;
            text-transform: uppercase;

            @media (max-width: $screen-xs-max) {
                margin-top: 20px;
            }
        }

        &:last-child {
            h2 {
                margin-right: 0;
            }
        }

        .sharing-buttons {
            li {
                margin-right: 10px;
            }
        }
    }

    #wp-calendar caption {
        color: map-get($color-primary, 50);
    }

    #wp-calendar td {
        color: map-get($color-primary, 50);
    }

    #wp-calendar th {
        background-color: map-get($color-primary, 800);
        color: map-get($color-primary, 50);
    }

    hr {
        border: 0;
        margin: 20px 0;
        width: 100%;
    }
}

.footer-bottom {
    .tagcloud a {
        background-color: #fff;
        color: map-get($grey, 700);
    }
}

.tagcloud {
    @extend .post-meta-tags;

    a {
        margin: 0 3px 3px 0;
    }
}

.footer-simple .widget h2 {
    border-bottom: 1px solid rgba(black, .05);
    color: map-get($grey, 800);
}

.footer {
    .nav-pills {
        li {
            margin: 0;

            &:first-child {
                a {
                    padding-left: 0;
                }
            }

            a {
                color: map-get($color-primary, 200);
                font-weight: 500;
                text-transform: uppercase;
                transition: color .15s linear;

                &:hover {
                    background-color: transparent;
                    color: #fff;
                }

                &:active, &:focus {
                    background-color: transparent;
                }
            }

            @media (max-width: $screen-xs-max) {
                float: none;

                a {
                    padding-left: 0;
                    padding-right: 0;
                }
            }
        }
    }

    .menu {
        list-style: none;

        li {
            margin: 0;

            a {
                border-bottom: 1px solid transparent;
                display: inline-block;
                color: #fff;
                padding: 6px 0;
                transition: all .15s linear;

                .footer-simple & {
                    color: map-get($grey, 700);
                }

                &:hover {
                    background-color: transparent;
                    border-bottom: 1px solid #fff;
                    color: #fff;

                    .footer-simple & {
                        border-bottom: 1px solid map-get($grey, 200);
                        color: map-get($grey, 800);
                    }
                }
            }
        }
    }
}

.footer-top-inner {
    border-bottom: 1px solid rgba(white, .20);
    padding: 25px 0;

    .footer-simple & {
        border-bottom: 1px solid rgba(black, .05);
    }
}

.footer-bottom {
    color: #fff;
    padding: 25px 0;

    .footer-simple & {
        color: map-get($grey, 800);
    }

    a {
        color: #fff;

        .footer-simple & {
            color: map-get($color-secondary, 400);
        }
    }
}

.footer-bottom-left {
    float: left;

    @media (max-width: $screen-xs-max) {
        float: none;
    }
}

.footer-bottom-right {
    float: right;

    @media (max-width: $screen-xs-max) {
        border-top: 1px solid rgba(#fff, .20);
        float: none;
        margin-top: 30px;
        padding-top: 30px;

        .footer-simple & {
            border-top-color: map-get($grey, 100);
        }
    }
}

.footer-bar {
    background-color: map-get($color-primary, 700);
    color: #fff;
    padding-bottom: 7px;
    padding-top: 7px;

    .scroll-top {
        color: #fff;
        cursor: pointer;
        font-size: 40px;
    }
}
