#footer {
    position: relative;
    flex: 0 0 auto;
    width: 100%;
    min-height: 100px;
    color: #10161A;
    font-size: 14px;
    margin-top: 25px;
}

#secondaryFooter {
    position: relative;
    flex: 0 0 auto;
    color: #0000009d;
    border-top: 1px solid rgba(0,0,0,0.05);
    background-color: rgba(255,255,255,0.1);
    font-size: 12px;
}

.secondaryFooterContent span {
    display: block;
    float: left;
}

#secondaryFooter a {
    color: #0000009d;
}

.footerMoreLink {
    color: #738694 !important;
}

#backToTop {
    display: none;
    position: absolute;
    padding-left: 20px;
    padding-right: 20px;
    height: 100%;
    top: 0px;
    right: 0px;
    float: right;
    cursor: pointer;
    color: #738694;
    background-color: #CED9E0;
    background-position: center center;
    display: flex;
    justify-content: center;
    align-items:center;
}

#backToTop:hover {
    color: #394B59;
    background-color: #BFCCD6;
}

#backToTop span {
    margin-right: 5px;
}

.primaryFooterContent {
    color: white;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 40px;
    padding-bottom: 80px;
    padding-left: 10px;
    padding-right: 10px;
}

.secondaryFooterContent {
    padding: 15px;
    padding-left: 20px;
    padding-right: 20px;
}

.footerSection {
    margin-left: 15px;
    margin-right: 15px;
    flex: 1 1 0;

    font-size: 14px;
    font-weight: 300;
}

.footerSection a {
    color: white;
}

.footerSection h1 {
    margin: 0px;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 5px;
}

.copyright {
    margin-top: 10px;
    color: #8A9BA8;
}

#footer ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

/* Mobile */
@media screen and (max-width: 599px) {
    .primaryFooterContent {
        flex-wrap: wrap;
    }

    .footerSection {
        margin-bottom: 20px;
        flex: 1 1 auto;
        max-width: 40%;
        min-width: 100px;
    }
}