/*------------------------------------*\
    
    Page Footer CSS

    Page footer...........The main page footer.

\*------------------------------------*/

.page-footer {
    margin-top: auto; /* used to affix footer at bottom of page */
    background: #f5f5f5;
}

.footer-logo a {
    max-width: 165px;
    display: block;
    background: none;
}

.footer-top-logo-col {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.back-to-top a {
    font-size: 16px;
    color: #000000;
    font-weight: 700;
    text-transform: uppercase;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.25) 100%);
    background-position: 0 100%;
    background-repeat: repeat-x;
    background-size: 3px 5px;
    padding-top: 20px;
    position: relative;
    display: block;
    line-height: 1.1em;
}

.back-to-top a:after {
    content: '\e90c';
    font-family: 'Holt-AG' !important;
    position: absolute;
    top: 0;
    left: 50%;
    color: #765E00;
    font-size: 17px;
    font-weight: normal;
    line-height: 1em;
    transform: translate(-50%, 0) rotate(-90deg);
}

.footer-top h3 {
    font-size: 18px;
    color: #765E00;
    font-weight: 700;
    text-transform: uppercase;
}

.footer-address-info a {
    font-size: 16px;
    color: #000;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: none;
    margin-bottom: 8px;
}

.footer-address-info a i {
    color: #7B7B7B;
    font-size: 20px;
    margin-right: 8px;
}

.footer-address {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 18px;
    padding-bottom: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid #F5F5F5;
    width: 100%;
}

.footer-address .btn-secondary {
    background: none;
    border: 2px solid #000;
    padding: 11px 29px 9px 15px;
    font-size: 16px;
}

.footer-top-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
}

.footer-link-col {
    width: max-content;
    min-width: 130px;
}

.footer-link-col ul {
    padding: 0;
    margin: 0;
}

.footer-link-col ul li {
    padding: 0;
    margin: 0;
}

.footer-link-col ul li:before {
    display: none;
}

.footer-link-col ul li a {
    font-weight: 400;
    text-transform: capitalize;
    background: none;
    font-size: 16px;
}

.footer-bottom {
    background-color: #f5f5f5;
    padding: 11px 0;
    margin-top: 75px;
}

.footer-bottom ul {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
}

.footer-bottom ul li {
    margin: 0 11px 3px;
    padding: 0;
    font-size: 14px;
    color :#aeaeae;
    font-weight: 400;
}

.footer-bottom ul li:before {
    display: none;
}

.footer-bottom ul li a {
    font-size: 14px;
    color: #aeaeae;
    font-weight: 400;
    background: none;
}

.footer-top {
    margin-top: 40px;
}

.footer-address .btn-secondary:hover {
    background-color: #FFD3DA;
    color: #000000;
}

.footer-link-col ul li a:hover {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.25) 100%);
    background-position: 0 100%;
    background-repeat: repeat-x;
    background-size: 3px 4px;
    color: #000000;
    display: inline-block;
}

@media(min-width: 768px) {
    .footer-top-logo-col {
        display: block;
        width: unset;
    }

    .footer-address {
        display: block;
        margin-top: 0;
        padding-bottom: 0;
        margin-bottom: 0;
        border-bottom: none;
        width: unset;
        margin-left: 30px;
    }

    .footer-links {
        width: 50%;
        padding-left: 38px;
        flex-direction: row-reverse;
    }

    .footer-logo a {
        max-width: 144px;
    }

    .back-to-top a {
        display: block;
        width: max-content;
        margin: 30px auto 0;
    }

    .footer-top-wrapper {
        justify-content: space-between;
    }

    .footer-address .btn-secondary {
        margin-top: 4px;
    }

    .back-to-top a {
        font-size: 18px;
    }

    .footer-link-col h3 {
        padding-bottom: 6px;
    }

    .footer-link-col ul li a {
        line-height: 1em;
        display: inline-block;
    }

    .footer-link-col ul li {
        margin: 0 0  0;
    }

    .footer-bottom ul li {
        margin: 0 18px 3px;
    }

    .footer-bottom ul {
        margin: 0 -12px;
        width: calc(100% + 24px);
    }

    .footer-bottom {
        padding: 7px 0 5px;
        margin-top: 75px;
    }

    .footer-top {
        margin-top: 50px;
    }

    .footer-address .btn-secondary::before {
        right: 12px;
    }
}


@media(min-width: 1200px) {
    .footer-logo a {
        max-width: 292px;
    }

    .footer-links {
        width: 375px;
        padding-left: 0;
    }

    .footer-address {
        margin-left: 115px;
    }

    .footer-top-wrapper {
        position: relative;
        padding-right: 248px;
    }

    .back-to-top {
        position: absolute;
        right: 0;
        top: 0;
    }

    .back-to-top a {
        margin: 0;
    }

    .footer-address .btn-secondary {
        font-size: 18px;
    }

    .footer-top {
        margin-top: 60px;
    }

    .footer-link-col ul li a {
        width: max-content;
    }

    .footer-address-info a:hover {
        background: transparent;
        color: #765E00;
    }

    .back-to-top a:hover {
        color: #765E00;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.25) 100%);
        background-position: 0 100%;
        background-repeat: repeat-x;
        background-size: 3px 4px;
    }

    .footer-bottom ul li a:hover {
        color: #272727;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.25) 100%);
        background-position: 0 100%;
        background-repeat: repeat-x;
        background-size: 3px 4px;
    }

    .footer-bottom ul li:last-child {
        margin-left: 45px;
    }

    .footer-bottom {
        padding: 9px 0 3px;
    }
}

.page-footer--gray {
    background: #f5f5f5;
}

.page-footer--gray .footer-top {
    margin-top: 0;
    padding-top: 40px;
}

@media (min-width: 768px) {
    .page-footer--gray .footer-top {
        padding-top: 50px;
    }
}

@media (min-width: 1200px) {
    .page-footer--gray .footer-top {
        padding-top: 60px;
    }
}
