/*
---------------------------------------------
Footer Style
---------------------------------------------
*/

footer {
    height: 300px;
    margin-top: -300px;
}

@media (max-height: 850px) {
    footer {
        margin-top: -200px;
    }
}

@media (max-height: 750px) {
    footer {
        margin-top: -100px;
    }
}

@media (max-height: 650px) {
    footer {
        margin-top: 0;
    }
}


footer .section-heading {
    margin-bottom: 45px;
}

footer .section-heading h4 {
    line-height: 45px;
    color: #000000;
    margin-left: 13%;
    margin-right: 13%;
    text-align: center;
}

.footer-widget-description {
    width: 350px;
    text-align: justify;
}

.footer-widget-partners {
    width: 220px;
}

.footer-widget .logo img {
    height: 3rem;
    margin-bottom: 0.6rem;
}

.footer-widget h4 {
    font-size: 20px;
    color: #000000;
    font-weight: 700;
    margin-bottom: 30px;
}

.footer-widget p {
    margin-bottom: 15px;
}

.footer-widget p,
.footer-widget p a {
    color: #000000;
}

.footer-widget ul {
    margin-left: 1.5rem;
}

.footer-widget ul li {
    margin-bottom: 10px;
}

.footer-widget ul li:last-child {
    margin-bottom: 0;
}

.footer-widget ul li a {
    font-size: 15px;
    color: #000000;
    transition: all .3s;
}

.footer-widget a:hover {
    opacity: 0.75;
}

.footer-widget img {
    padding-bottom: 0.5rem;
}

footer .copyright-text {
    text-align: center;
    color: #ffffff;
}

footer p a {
    color: #fff;
    transition: all .5s;
}

footer p a:hover {
    opacity: 0.75;
    color: #fff;
}

.footer-details {
    max-width: 1320px;
    display: flex;

}

footer .row {
    justify-content: center;
    margin-left: 0;
    margin-right: 0;
    height: 250px;
}


footer .footer-legal {
    background-color: #2b569d;
    color: white;
    height: 50px;
}

footer .legal-element {
    width: 33.33%;
    padding: 0 2rem;
    text-align: center;
    align-self: center;
}

footer .legal-element:first-child {
    text-align: left;

}
footer .legal-element:last-child {
    text-align: right;
}

footer .legal-element img {
    height: 1rem;
}

footer .legal-element a {
    color: white;
    opacity: 0.3;
    transition: all .3s;
}

footer .legal-element a:hover {
    opacity: 0.75;
}


footer .row>*>div {
    padding-right: 1rem;
    padding-left: 1rem;
    display: flex;
    justify-content: center;
}

footer .row>*>div:first-child {
    justify-content: left;
}

footer .row>*>div:last-child {
    display: flex;
    justify-content: flex-end;
}

.footer-details {
    justify-content: space-between;
}

@media (max-width: 1400px) {
    .footer-details {
        max-width: 1140px;
    }
}

@media (max-width: 1200px) {
    .footer-details {
        max-width: 960px;
    }
}