﻿/* PN-2255: site footer, matching the attomdata.com global footer (Views/Shared/_AttomFooter.cshtml).
   Values are the reference page's computed styles. Every rule is scoped to .attom-site-footer, and
   .attom-footer.attom-site-footer outranks the old .attom-footer rules in Attom.css, which the
   account layouts still use. */

.attom-footer.attom-site-footer {
    background-color: #272727;
    color: #a2a2a2;
    font-family: 'Open Sans', Arial, sans-serif;
    font-weight: 500;
    padding: 0;
}

    .attom-footer.attom-site-footer a {
        color: #a2a2a2;
        font-size: inherit;
        line-height: inherit;
        text-decoration: none;
    }

        .attom-footer.attom-site-footer a:hover,
        .attom-footer.attom-site-footer a:focus {
            color: #ee4036;
            text-decoration: none;
        }

    .attom-site-footer ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }

.attom-site-footer .asf-container {
    width: 90%;
    max-width: 1196px;
    margin: 0 auto;
    padding: 0;
}

.attom-site-footer .asf-widgets {
    padding: 20px 0;
}

    .attom-site-footer .asf-widgets::after,
    .attom-site-footer .asf-bottom .asf-container::after {
        content: "";
        display: table;
        clear: both;
    }

.attom-site-footer .asf-col {
    float: left;
    width: 20%;
    padding: 20px 0 20px 24px;
    font-size: 16px;
    line-height: 16px;
}

.attom-site-footer .asf-col-brand {
    padding: 20px 0;
    margin-bottom: 5.5%;
}

/* Brand column */
.attom-site-footer .asf-logo {
    max-width: 80%;
    height: auto;
    padding: 6px 0 27px;
    vertical-align: baseline;
}

.attom-site-footer .asf-info {
    margin: 0;
    padding: 0 15px 0 0;
    color: #ddd;
    font-size: 14px;
    line-height: 1.55em;
}

    .attom-footer.attom-site-footer .asf-info a,
    .attom-footer.attom-site-footer .asf-info a:hover {
        color: #ee4036;
    }

.attom-site-footer .asf-social {
    display: block;
    width: 197px;
    height: 32px;
    margin: 15px 0 0;
}

    .attom-site-footer .asf-social li {
        float: left;
        width: 32px;
        height: 32px;
        margin: 0 9px 6px 0;
    }

        .attom-site-footer .asf-social li:last-child {
            margin-right: 0;
        }

    .attom-site-footer .asf-social a {
        display: block;
        width: 32px;
        height: 32px;
        background: url(../../pn-images/footer/social-sprite.jpg) no-repeat;
    }

    .attom-site-footer .asf-social .asf-icon-facebook { background-position: 0 0; }
    .attom-site-footer .asf-social .asf-icon-facebook:hover { background-position: 0 -32px; }
    .attom-site-footer .asf-social .asf-icon-x { background-position: -33px 0; }
    .attom-site-footer .asf-social .asf-icon-x:hover { background-position: -33px -32px; }
    .attom-site-footer .asf-social .asf-icon-linkedin { background-position: -65px 0; }
    .attom-site-footer .asf-social .asf-icon-linkedin:hover { background-position: -65px -32px; }
    .attom-site-footer .asf-social .asf-icon-instagram { background-position: -97px 0; }
    .attom-site-footer .asf-social .asf-icon-instagram:hover { background-position: -97px -32px; }
    .attom-site-footer .asf-social .asf-icon-youtube { background-position: -130px 0; }
    .attom-site-footer .asf-social .asf-icon-youtube:hover { background-position: -130px -32px; }

.attom-site-footer .asf-bbb {
    display: block;
    margin: 20px 0 0 30px;
}

    .attom-site-footer .asf-bbb img {
        max-width: 100%;
        vertical-align: baseline;
    }

.attom-site-footer .asf-nexus {
    display: flex;
    align-items: flex-start;
    width: 100%;
    max-width: 300px;
    margin: 20px auto;
    padding-top: 20px;
    border-top: 1px solid #a2a2a2;
}

    .attom-site-footer .asf-nexus::before {
        content: "";
        flex: 0 0 auto;
        width: 35px;
        height: 35px;
        margin-right: 10px;
        background: url(../../pn-images/footer/icon-nexus.svg) no-repeat 0 0;
        background-size: contain;
    }

.attom-site-footer .asf-nexus-text {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
}

.attom-site-footer .asf-nexus-title {
    display: block;
    margin-bottom: 5px;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    line-height: 16px;
}

.attom-site-footer .asf-nexus-text a:hover .asf-nexus-title {
    color: #ee4036;
}

.attom-site-footer .asf-nexus-desc {
    color: #a2a2a2;
    font-size: 14px;
    line-height: 1.35em;
    text-align: left;
}

/* Link columns */
.attom-site-footer .asf-menu li {
    margin-bottom: 6px;
    line-height: 1.55em;
}

/* The reference sets no gap under these two headings. */
.attom-site-footer .asf-menu .asf-head-tight {
    margin-bottom: 0;
}

.attom-site-footer .asf-menu .asf-gap {
    margin-top: 20px;
}

.attom-site-footer .asf-title,
.attom-footer.attom-site-footer .asf-strong a {
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
}

.attom-site-footer .asf-title {
    display: inline-block;
    padding-bottom: 5px;
}

.attom-site-footer .asf-menu .asf-strong-first {
    margin-top: 35px;
}

/* Bottom bar */
.attom-site-footer .asf-bottom {
    background-color: #181818;
    padding: 15px 0;
}

.attom-site-footer .asf-bottom-info {
    float: left;
    color: #a2a2a2;
    font-size: 14px;
    line-height: 1.55em;
    text-align: left;
}

    .attom-footer.attom-site-footer .asf-bottom-info a {
        font-weight: 400;
    }

/* Same breakpoints as the reference */
@media all and (max-width: 980px) {
    .attom-site-footer .asf-col {
        width: 46.25%;
        min-height: 350px;
        margin: 0;
    }

        .attom-site-footer .asf-col:nth-child(2n+1) {
            margin-right: 7.5%;
        }

    .attom-site-footer .asf-col-brand {
        float: none;
        clear: both;
        width: 100%;
        min-height: 0;
        margin: 0;
        text-align: center;
    }

        .attom-site-footer .asf-col.asf-col-brand {
            margin-right: 0;
        }

    .attom-site-footer .asf-social {
        margin: 15px auto 45px;
    }

    .attom-site-footer .asf-bottom-info {
        float: none;
    }
}

@media all and (max-width: 767px) {
    .attom-site-footer .asf-col {
        padding: 10px 0 10px 24px;
    }

        .attom-site-footer .asf-col:nth-child(2n+1) {
            margin-right: 0;
        }

    .attom-site-footer .asf-col-brand {
        padding: 10px 0;
    }
}

@media all and (max-width: 524px) {
    .attom-site-footer .asf-col {
        width: 100%;
        min-height: 0;
    }
}
