.main-footer {
    background: #ffffff;
    border-top: 1px solid #e0e0e2;

    .jump-top-wrapper {
        display: flex;
        justify-content: space-between;
        padding: 35px 0;
    }

    .footer-contact {
        li {
            display: inline-block;
            margin-right: 7px;
        }
    }

    .jump-to-top {
        font-weight: bold;
        color: #a1a3a8;
        padding: 0 20px;
        border: 1px solid #a1a3a8;
        border-radius: $border-radius;
        text-align: center;
        height: 36px;
        cursor: pointer;

        #jump-to-top {
            margin-right: 5px;
            text-align: center;
            vertical-align: middle;
            transform: rotate(-90deg);

            &:before {
                font-family: IRANKala;
                content: "\E0B7\00FE0E";
                color: #a1a3a8;
            }
        }
    }
}

.main-footer {
    .footer-services {
        padding: 20px 0;
        text-align: center;
        border-bottom: 1px solid #CFD8DC;

        img {
            height: auto;
            max-width: 58px;
        }

        span {
            display: block;
        }
    }
}

@media (max-width: 992px) {
    .services, .footer-services, .widget-services {
        .row .col {
            min-width: 150px;
        }
    }
}

.main-footer {
    .footer-menu {
        margin-bottom: 20px;
        padding: 15px;

        .header {
            h3 {
                color: #4A5F73;
                font-size: 16px;
            }
        }

        color: #4B4B4B;
    }
}

.main-footer {
    .newsletter {
        padding-top: 15px;

        p {
            font-size: 15px;
            margin-bottom: 20px;
        }

        form {
            display: flex;
            justify-content: space-between;

            input[type="email"],
            input[type="text"] {
                background: #f0f0f1;
                border: none;
                color: #81858b;
            }

            button,
            input[type=submit] {
                background: #e0e0e2;
                border: 1px solid #e0e0e2;
                border-radius: $border-radius;
                cursor: pointer;
                color: #FFF;
                padding: 5px 15px;
                margin-left: 5px;
            }
        }
    }
}

.main-footer {
    .footer-socials {
        p {
            font-size: 15px;
            margin: 15px 0;
        }

        ul {
            li {
                display: inline-block;
                padding-right: 20px;

                img {
                    max-width: 28px;
                    height: auto;
                }

                .mdi {
                    font-size: 28px;
                    color: #9099A4;
                }

                a:hover .mdi {
                    color: #4a5f73;
                }
            }
        }
    }
}

.main-footer {
    .footer-apps {
        background-color: #3c4b6d;
        padding: 15px;
        border-radius: $border-radius;
        margin: 20px 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        color: #ffffff;
        font-size: 20px;
        font-weight: bold;

        .apps-title {
            position: relative;
            text-indent: 30px;

            &:before {
                content: '';
                display: inline-block;
                position: absolute;
                width: 22px;
                height: 22px;
                background: $danger;
                border-radius: 3px;
                left: 0;
                top: 50%;
                transform: translateY(-50%);
            }
        }

        .footer-app {
            > * {
                margin: 2px;
            }
        }
    }
}

.main-footer {
    .footer-info {
        padding: 15px 0;

        .row {
            .widget {
                background: transparent;
                padding: 0;
                border-radius: 0;
                box-shadow: none;
            }

            .col-12:nth-of-type(1) {
                .textwidget {
                    font-size: 12px;
                    text-align: justify;

                    a {
                        color: #8e8e8e;
                    }
                }

                .showmore-button {
                    color: #8e8e8e;
                    cursor: pointer;
                }
            }

            .col-12:nth-of-type(2) {
                text-align: right;
                display: block;

                a, img {
                    padding: 15px;
                    margin: 5px;
                    max-height: 120px !important;
                    width: auto !important;
                    @media (max-width: 768px) {
                        max-height: 100px !important;
                    }
                }

                a img {
                    padding: 0;
                    background: transparent;
                    margin: 0;
                    max-height: 90px !important;
                    width: auto !important;
                    @media (max-width: 768px) {
                        max-height: 70px !important;
                    }
                }

                .textwidget {
                    > a, > img {
                        border: 1px solid #e5e5ea;
                        border-radius: $border-radius;
                    }
                }
            }
        }
    }
}

.main-footer {
    .footer-partners {
        background: #F4F4F4;

        .inner {
            text-align: center;

            .row {
                display: flex;
                align-items: stretch;
                white-space: nowrap;
                -ms-flex-negative: 0;
                flex-shrink: 0;

                .col {
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    padding-top: 30px;
                    padding-bottom: 30px;
                }

                .col:not(:last-child) {
                    border-right: 1px solid #e0e0e2;
                }
            }
        }
    }
}

.main-footer {
    .footer-copyright {
        text-align: center;

        .inner {
            border-top: 1px solid #e0e0e2;
            padding: 15px 0;
        }
    }
}

@media (max-width: 992px) {
    .main-footer {
        .newsletter {
            padding-top: 0;
        }

        .footer-apps {
            background: transparent;
            display: block;
            color: $font-color;
            font-size: $font-size;
            font-weight: normal;

            .apps-title {
                text-indent: 0;

                &:before {
                    display: none;
                }
            }
        }

        .footer-address {
            margin-top: 20px;
        }

        .footer-info {
            .info-text {
                margin-bottom: 5px;
            }

            .showmore-button {
                margin-bottom: 15px;
                text-align: center;
            }

            .widget_text .widget {
                text-align: center;
            }
        }

        .footer-partners {
            a {
                padding-bottom: 5px;
            }
        }
    }
}