/* Footer */

.et-db footer #et-boc .et-l .et_pb_section,
footer .et_pb_section {
    background: var(--background-dark);
    padding: 40px 0 50px 0;
}

.et-db footer #et-boc .et-l .et_pb_section .et_pb_row,
footer .et_pb_section .et_pb_row {
    padding: 0;
}

footer a,
.et-db footer #et-boc .et-l a {
    color: var(--body);
    transition: 0.3s ease all;
}

footer a:hover,
#menu-footernav li a:hover {
    color: var(--primary);
    transition: 0.3s ease all;
}

footer .et_pb_column:nth-of-type(1) p {
    text-align: left;
}

.et-db footer #et-boc .et-l .et_pb_social_media_follow li a.icon,
footer .et_pb_social_media_follow li a.icon {
    background-color: unset !important;
    border: 1px solid var(--primary);
    border-radius: 100%;
}

footer .et_pb_column:not(:nth-of-type(1)) {
    padding-top: 40px;
}

footer .et_pb_column:not(:nth-of-type(1)) .et_pb_text:first-child {
    margin-bottom: 10px;
    text-transform: uppercase;
}

#menu-footernav {
    list-style: none;
    text-align: center;
    font-size: 18px;
    line-height: 28px;
}

#menu-footernav li {
    margin-right: 0;
    text-align: left;
}

#menu-footernav li:last-of-type {
    margin-right: 0;
}

#menu-footernav li a,
.et-db #et-boc .et-l #menu-footernav li a {
    color: var(--body);
}

#copyright div.et_pb_text_inner {
    text-align: center;
}

@media only screen and (max-width: 980px) {

    footer .et_pb_column:not(:nth-of-type(1)) {
        padding: 0;
    }

    footer .et_pb_section {
        padding: 50px 0;
    }

    footer .et_pb_column:not(:nth-last-of-type(1)) {
        margin-bottom: 40px !important;
    }

    footer .et_pb_column:first-child .et_pb_image,
    .et-db footer #et-boc .et-l .et_pb_column:first-child .et_pb_image {
        max-width: 60%;
        margin: 0 auto 30px auto;
    }

    footer .et_pb_column:first-child .et_pb_text:nth-of-type(2) {
        margin-bottom: 20px;
    }

    footer .et_pb_column:nth-of-type(2) .et_pb_text:nth-of-type(2) p:not(:last-child) {
        padding-bottom: 15px;
    }

    footer .et_pb_column:not(:nth-of-type(1)) .et_pb_text:first-child {
        margin-bottom: 5px;
    }

    footer p,
    footer .et_pb_column:nth-of-type(1) p {
        text-align: center;
    }

    footer ul.et_pb_social_media_follow {
        text-align: center;
    }

    footer .et_pb_social_media_follow li {
        margin-bottom: 0;
    }

    footer #menu-footernav li {
        text-align: center;
    }

}

@media only screen and (min-width: 768px) and (max-width: 980px) {

    footer .et_pb_column:nth-of-type(2) {
        display: flex;
        justify-content: center;
        flex-direction: column;
    }

}