﻿footer {
    display: block;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    padding: 20px;
}

    footer .wrap-footer {
        width: 100%;
        max-width: 1188px;
        margin: 0 auto;
    }

        footer .wrap-footer h3 {
            font-family: open-sans;
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 40px;
            color: #217fc2;
        }

    /* --- NAV FOOTER --- */
    footer .nav-footer {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: justify;
        -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }

    /* --- SOCIALS --- */
    footer .socials {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: end;
        -webkit-justify-content: flex-end;
        -ms-flex-pack: end;
        justify-content: flex-end;
    }

        footer .socials p {
            font-size: 14px;
            line-height: 1.4em;
            margin-right: 15px;
            color: #666;
        }

    /* --- SOCIAL LINKS --- */
    footer .social-links {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
    }

        footer .social-links li:not(:last-child) {
            margin-right: 25px;
        }

        footer .social-links a {
            position: relative;
            display: block;
            width: 27px;
            height: 27px;
            -webkit-transition: .3s;
            -o-transition: .3s;
            transition: .3s;
            -webkit-border-radius: 50%;
            border-radius: 50%;
            background: #e3e3e3;
        }

            footer .social-links a:hover {
                background: #cacaca;
            }

            footer .social-links a:after {
                position: absolute;
                top: 0;
                left: 0;
                display: block;
                -webkit-box-sizing: border-box;
                box-sizing: border-box;
                width: 27px;
                height: 27px;
                content: ' ';
                background-repeat: no-repeat;
                background-position: center;
                z-index:50;
            }

            /* Ícones sociais */
            footer .social-links a[data-social='fabebook']:after {
                background-image: url(../img/social/icon-face.svg);
                background-size: 30%;
            }

            footer .social-links a[data-social='twitter']:after {
                background-image: url(../img/social/icon-twitter.svg);
                background-size: 60%;
            }

            footer .social-links a[data-social='youtube']:after {
                background-image: url(../img/social/icon-youtube.svg);
                background-size: 55%;
            }

            footer .social-links a[data-social='instagram']:after {
                background-image: url(../img/social/icon-instagram.svg);
                background-size: 50%;
            }

    /* --- LINKS MODAL --- */
    footer .links-modal {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
    }

        footer .links-modal li {
            margin-right: 50px;
        }

            footer .links-modal li a {
                font-size: 14px;
                -webkit-transition: .3s;
                -o-transition: .3s;
                transition: .3s;
                color: #666;
            }

                footer .links-modal li a:hover {
                    color: #999;
                }

    /* --- COPYRIGHT --- */
    footer .copyright {
        padding: 10px 0;
        text-align: center;
        border-top: 1px solid #e3e3e3;
    }

        footer .copyright p {
            font-size: 14px;
            margin: 15px 0;
            color: #666;
        }

        footer .copyright img {
            vertical-align: middle;
        }

        footer .copyright p span {
            font-size: 1em;
            white-space: nowrap;
        }

section#buscar-pintor footer {
    display:none;
}

.wrap-header--menus footer {
    display: none;
}

/* --- RESPONSIVO --- */
@media (max-width: 767px) {

    footer {
        box-shadow: 0px -10px 10px -10px rgb(50 50 50 / 75%) !important;
        padding: 0 20px 70px 20px;
    }

        .wrap-header--menus-saibamais.active-menu,
        footer.active-menu,
        footer.active-ordenar,
        footer.active-filtro,
        section#buscar-pintor footer {
            display: none;
        }

        footer .socials {
            -webkit-box-pack: start;
            -webkit-justify-content: flex-start;
            -ms-flex-pack: start;
            justify-content: flex-start;
        }

        footer .nav-footer {
            flex-direction: column;
            -webkit-box-align: start;
            -webkit-align-items: flex-start;
            -ms-flex-align: start;
            align-items: flex-start;
            -webkit-box-orient: vertical;
            -webkit-box-direction: normal;
            -webkit-flex-direction: column;
            -ms-flex-direction: column;
        }

            footer .nav-footer .socials {
                width: 100%;
                padding: 10px 0;
                border-top: 1px solid #e3e3e3;
            }

                footer .nav-footer .socials p {
                    margin: 15px 15px 15px 0;
                }

        footer .links-modal {
            flex-direction: column;
            padding: 25px 0;
            -webkit-box-align: start;
            -webkit-align-items: flex-start;
            -ms-flex-align: start;
            align-items: flex-start;
            -webkit-box-orient: vertical;
            -webkit-box-direction: normal;
            -webkit-flex-direction: column;
            -ms-flex-direction: column;
        }

            footer .links-modal li:not(:last-child) {
                margin-bottom: 25px;
            }

            footer .links-modal li a {
                font-size: 16px;
            }

        footer .copyright p {
            font-size: 12px;
        }

    .wrap-header--menus footer {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        padding: 20px;
    }

        .wrap-header--menus footer > .wrap > .nav {
            border-top: none;
        }
}
