.site-footer {
    position: relative;
    overflow: hidden;

    &.footer_dark {
        background: #0b163f;

        .description {
            color: #fff;
        }

        .logo-dark {
            display: none;
        }
    }

    .widget {
        position: relative;
        z-index: 2;
        padding: 0;
    }

    .widget {
        ul.footer-social-link {
            margin-top: 15px;

            li {
                display: inline-block;

                &:not(:last-child) {
                    margin-right: 7px;
                }

                a {
                    border: 2px solid rgba(255, 255, 255, 0.2);
                    height: 44px;
                    width: 44px;
                    line-height: 41px;
                    border-radius: 6px;
                    color: #fff;
                    text-align: center;
                    font-size: 15px;

                    &:hover {
                        background-color: #fff;
                        border-color: #fff;
                        color: $color__theme;
                    }
                }
            }
        }
    }

    .footer-wrapper {
        padding: 107px 0 70px;
    }

    .site-info {
        border-top: 1px solid rgba(237, 237, 237, 0.05);
        position: relative;
        z-index: 22;

        .site-info-inner {
            padding: 35px 0;
            justify-content: space-between;

            @media(max-width: 768px) {
                display: block !important;
                text-align: center;
                padding: 20px 0;

                .copyright {
                    margin-bottom: 10px;
                }
            }
        }

        .copyright {
            padding: 27px 0;
            text-align: center;

            @media(max-width: 767px) {
                padding: 15px 0;
            }

            p {
                margin: 0;
                color: #999aa8;
                font-size: 16px;

                a {
                    color: rgba(255,255,255,0.9);

                    &:hover {
                        color: $color__theme;
                    }
                }
            }
        }
    }

    &.footer_light {
        .logo-light {
            display: none;
        }

        .site-info {
            border-top: 1px solid rgba(0, 0, 0, 0.05);
            .copyright p {
                color: #65676d;

                a {
                    color: $color__heading;

                    &:hover {
                        color: $color__theme;
                    }
                }
            }
        }

        .widget {
            .widget-title,
            h1, h2, h3, h4, h5, h6 {
                color: $color__heading;
            }

            ul {
                li {
                    a {
                        color: rgba(87,87,87,0.8);

                        &:hover {
                            color: $color__theme;
                        }
                    }
                }
            }
        }

        .widget-newsletter {

            input#newsletter-form-email {
                background-color: transparent;
                border: 2px solid rgba(0,0,0,0.12);
            }

            .newsletter-submit {
                box-shadow: 0 11px 18px -8px rgba(23, 92, 255, 0.60);

                &:hover {
                    background-color: $color__theme;
                    border-color: $color__theme;
                    box-shadow: none;
                }
            }
        }


        .footer-social-link {
            li {
                a {
                    border-color: rgba(0, 0, 0, 0.12);;
                    color: #65676d;

                    &:hover {
                        background-color: $color__theme;
                        border-color: $color__theme;
                        color: #fff;
                    }
                }
            }
        }

    }
}

.widget-newsletter {

    .form-result {
        margin: 10px 0 0;
    }

    .form-control {
        margin-bottom: 0 !important;
        height: 50px;
        padding: 0 15px !important;
    }

    .newsletter-submit {
        margin-left: 10px;
        border-radius: 6px;
        padding: 10px 25px;
        min-width: 120px;

        i {
            display: none;
        }

        &:hover {
            border-color: rgba(255,255,255,0.5);
            color: #fff;
        }
    }
}

.footer-social-link {
    margin: 0;
    padding: 0;
    list-style: none;

    li {
        display: inline-block;

        &:not(:last-child) {
            margin-right: 5px;
        }

        a {
            height: 35px;
            width: 35px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: rgba(255,255,255,0.7);
            border: 2px solid rgba(255,255,255,0.302);
            border-radius: 6px;
            font-size: 14px;

            i {
                margin-right: 0;
            }

            &:hover {
                background-color: #fff;
                border-color: #fff;
                color: $color__theme;
            }
        }
    }
}

.footer-social-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;


    @media(max-width: 767px) {
        display: block;
        text-align: center;

        .footer-social-wrapper {
            margin-bottom: 20px;
        }

        .copyright {
            padding: 15px 0 5px;
        }
    }
}

.wp-widget-block-newsletter {
    max-width: 400px;
}

.single-post,
.blog,
.archive,
.search-results,
.single-quiety_job,
.single-quiety_support,
.single-product,
.woocommerce-checkout,
.single-portfolio {
    .footer_light {
        background-color: #F8F9FA;
    }
}