﻿/* ######################## */
/*         FOOTER           */
/* ######################## */

/* Footer layout */
#footer {
    box-sizing: border-box;
    color: #666;
    font-size: .9em;
    background-color: #fff;
    padding: 0 20px 20px;
}

/* Mobile Styles */
@media only screen and (max-width: 600px) {

    #footer {
        background-color: #555;
        color: #fff;
        text-align: center;
        line-height: 2em;
        padding: 0;
    }

    .footer-1,
    .footer-2,
    .footer-3,
    .footer-4,
    .footer-5,
    .footer-6,
    .footer-7 {
        width: 100%;
    }

    .footer_signup1,
    .footer_signup2,
    .footer_signup3 {
        width: 100%;
    }

    .footer_signup1 {
        height: 50px;
        margin-left: 2px;
    }

    .footer_signup2 {
        height: 70px;
        margin-left: 4px;
    }

    #footer h3 {
        color: #fff;
        font-size: 24px;
    }

    #footer a {
        font-weight: 400;
        color: #fff;
        text-decoration: none
    }

    #footer b {
        color: #fff;
    }

    .footeraddress {
        color: #fff;
    }

    .footer-6 {
        display: none;
    }

    .footer_why {
        background-color: #555;
        color: #fff;
    }

    .social {
        margin-bottom: 30px;
    }

    .footer-1 {
        order: 7;
    }

    .footer-2 {
        order: 2;
    }

    .footer-3 {
        order: 4;
    }

    .footer-4 {
        order: 5;
    }

    .footer-5 {
        order: 6;
    }

    .footer-6 {
        order: 7;
    }

    .footer-7 {
        order: 3;
    }

    .footer_signup {
        font-size: 1.4em;
        text-align: center;
    }
}

/* Tablet Styles */
@media only screen and (min-width: 601px) and (max-width: 960px) {

    .footer_tp {
        display: none;
    }

    .footer-1,
    .footer-2,
    .footer-3,
    .footer-4,
    .footer-5,
    .footer-6 {
        width: 33.3%;
    }

    .footer_signup1,
    .footer_signup2,
    .footer_signup3 {
        width: 33.3%;
    }

    #footer a {
        text-decoration: none;
        color: #999;
        font-weight: 400
    }

    #footer b {
        color: #777
    }

    .footeraddress {
        color: #999;
    }

    .footer_why {
        background-color: #ffedd5;
        color: #333;
        padding: 0 10px 0 5px;
        margin-right: 10px;
        border: 1px solid #ddd;
    }

    .social {
        display: none;
    }

    .footer-1 {
        order: 1;
    }

    .footer-2 {
        order: 2;
    }

    .footer-3 {
        order: 3;
    }

    .footer-4 {
        order: 4;
    }

    .footer-5 {
        order: 5;
    }

    .footer-6 {
        order: 6;
    }

    .footer-7 {
        display: none;
    }

    .footer_signup {
        font-size: 1.6em;
    }
}

/* Desktop Styles */
@media only screen and (min-width: 961px) {

    .footer_tp {
        display: none;
    }

    .footer-1,
    .footer-2,
    .footer-3,
    .footer-4,
    .footer-5,
    .footer-6 {
        width: 16.6%;
    }

    .footer_signup1,
    .footer_signup2,
    .footer_signup3 {
        width: 33.3%;
    }

    #footer a {
        text-decoration: none;
        color: #999;
        font-weight: 400
    }

    #footer b {
        color: #777
    }

    .footeraddress {
        color: #999;
    }

    .footer_why {
        background-color: #ffedd5;
        color: #333;
        padding: 0 10px 0 5px;
        margin-right: 10px;
        border: 1px solid #ddd;
    }

    .social {
        display: none;
    }

    .footer-1 {
        order: 1;
    }

    .footer-2 {
        order: 2;
    }

    .footer-3 {
        order: 3;
    }

    .footer-4 {
        order: 4;
    }

    .footer-5 {
        order: 5;
    }

    .footer-6 {
        order: 6;
    }

    .footer-7 {
        display: none;
    }

    .footer_signup {
        font-size: 1.6em;
    }
}

.footer_tp {
    color: #000;
    background-color: #fff;
    padding-top: 10px;
    padding-bottom: 15px;
}

/* Newsletter sign up bar */
.footer_signup {
    background-color: #fff;
    color: #777;
    font-weight: bold;
    padding: 20px 0 20px 0;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    margin-bottom: 30px;
}

.footer_signup_flex {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.subscribe_image {
    margin-right: 8px;
    vertical-align: middle;
}

#footer .footer_signup input {
    width: 95%;
    height: 40px;
}

#footer .footer_signup a {
    color: #fff;
    font-weight: bold;
}

.subscribeButton {
    margin-left: 5px;
    background-color: #64A70B;
    color: #fff;
    text-align: center;
    text-decoration: none;
    padding: 10px 30px 10px 32px;
    font-size: 18px;
}


/* Main footer */
.footer_flex {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
}

.footer-1, .footer-2, .footer-3, .footer-4, .footer-5, .footer-6, .footer-7 {
    font-size: 1.1em;
    margin-bottom: 20px;
}

#footer h3 {
    padding-top: 10px;
}

#footer a:hover {
    text-decoration: underline
}

#footer ul {
    margin: 0
}

#footer ul li {
    text-indent: 0;
    list-style: none
}

.footer_why li {
    padding-bottom: 15px
}

.footeraddress {
    white-space: pre-line;
    padding-bottom: 5px;
    line-height: 18px;
}

.footer_copyright {
    text-align: center;
}

.social_text {
    margin-left: 1px
}

.social_image {
    vertical-align: middle;
    margin-left: 6px
}

@media only screen and (min-width: 601px) {
    .footer_highlight {
        color: #ff0000;
        font-weight:bold;
    }
}

@media only screen and (max-width: 600px) {
    .footer_highlight {
        color: #ffffff;
        font-weight: bold;
    }
}