body{
    position: relative;
    display: flex;
    flex-direction: column;
}

body > .container:not(.menu-toggle) {
    flex: 1 auto;
}

#footer{
    background-color: #3F3F3E;
    padding: 2rem 0;
    overflow: hidden;
    display: block;
    height: auto;
}

#footer .footerWrapper{
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: auto;
    height: 100%;
    z-index: 10;
}

#footer .topFooterContainer,
#footer .middleFooterContainer,
#footer .rightFooterContainer {
    flex-grow: 0;
    flex-shrink: 0;
    color: white;
    margin-bottom: 1.5rem;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 300;
    align-self: baseline;
}

#footer .leftFooterContainer {
    display: flex;
    flex-direction: column;
    text-transform: uppercase;
    font-size: 30px;
    font-weight: bold;
    letter-spacing: 1.5px;
    line-height: 3.5rem;
}

#footer .leftFooterContainer .leftFooterImg img {
    height: 2.5rem;
    width: auto;
}

#footer .leftFooterContainer,
#footer .middleFooterContainer,
#footer .rightFooterContainer{
    flex-basis: 25%;
}

#footer .middleFooterContainer,
#footer .rightFooterContainer {
    font-size: 14px;
    line-height: 2rem;
    vertical-align: middle;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}

#footer .middleFooterContainer a,
#footer .rightFooterContainer a {
    color: #FFFFFF;
    text-decoration: none;
}

/*#footer .rightFooterContainer a i {*/
/*    margin-right: 0.5rem;*/
/*}*/

/*#footer .rightFooterContainer a:first-child {*/
/*    margin: .5rem 0;*/
/*}*/


#footer .middleFooterContainer a:hover,
#footer .rightFooterContainer a:hover {
    color: #e83c4a;
    text-decoration: none;
}

#footer .social {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    margin: 15px 0;
}

#footer .social li {
    width: 22px;
    height: 22px;
    margin-right: 8px;
}

#footer .social li img {
    width: 22px;
    height: 22px;
}

#footer .social svg {
    fill: #fff;
}

@media only screen and (max-width: 992px) {
    #footer .leftFooterContainer {
        text-align: center;
    }

    #footer .social {
        justify-content: center;
    }

    #footer .rightFooterContainer {
        flex-direction: column;
    }
}


@media only screen and (max-width: 768px) {
    body {
        margin-bottom: 0 !important;
    }

    #footer {
        position: static !important;
    }

    #footer .footerWrapper {
        margin: 0 auto;
        width: 80%;
    }
    #footer .middleFooterContainer,
    #footer .rightFooterContainer{
        flex-basis: 50%;
        align-content: center;
        flex-direction: column;
    }

    #footer .leftFooterContainer {
        flex-basis: 100%;
        margin-bottom: 2rem;
    }
}