/* ===== Footer Section ===== */

footer {
    background-color: #282828;
    margin: 0;
    padding: 0;
    display: block;
}

footer::after {
    content: '';
    display: block;
    height: 0;
    clear: both;
}

html, body {
    margin: 0 !important;
    padding: 0 !important;
}

.ct-sn-footer {
    color: #ccc;
    min-height: 100px;
    background-color: #282828 !important;
}

.ct-container {
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding: 25px 20px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: nowrap;
}

/* Brand logo block */
.brand-logo {
    padding: 0 20px 0 0;
    text-align: left;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-shrink: 0;
}

.brand-logo img {
    width: 150px;
    height: 43px;
    filter: brightness(0) invert(1);
}

/* Footer link groups */
#footerPages {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    flex: 1 1 auto;
}

.footer-collapse {
    margin-left: 0 !important;
}

.ct-footer-link-group {
    height: 200px;
    border-bottom: 1px solid #6d717773 !important;
}

.ct-footer-link-group.footer-menu-web {
    flex: 1 1 0;
    padding: 0 15px;
}

.ct-footer-header {
    height: 35px;
    line-height: 35px;
    font-weight: 400;
    margin: 0;
    display: flex !important;
}

.ct-footer-header a {
    color: #ccc;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
}

.ct-footer-links {
    list-style: none;
    margin: 0;
    padding: 0 0 !important;
}

.ct-footer-link {
    text-decoration: inherit;
    line-height: 1.6;
    cursor: pointer;
    margin-bottom: 16px;
    text-transform: capitalize;
    color: #6d7177 !important;
    font-size: 14px;
    display: block;
}

.ct-footer-link:hover {
    color: #ccc !important;
    text-decoration: underline;
}

/* Social links */
.ct-md-footer-utils {
    display: block !important;
    padding: 0;
    flex-shrink: 0;
    margin-left: 20px;
    overflow: hidden;
}

.ct-md-social-links {
    margin: 5px 0;
    padding: 10px 0;
    font-size: 1.375em;
    height: 45px;
    list-style: none;
}

.ct-social-item {
    display: inline-block;
    float: left;
    width: 40px !important;
    height: 30px !important;
}

.ct-social-item a {
    display: block;
    color: #fff;
    text-align: center;
    font-size: 1.125em;
    text-decoration: none;
    width: 24px !important;
}

.ct-social-item a:hover {
    color: #ccc;
}

.ct-social-item svg {
    fill: #fff;
}

.bottom-link-classic-site {
    clear: both;
    padding-top: 10px;
}

.ct-cp-copy {
    display: block;
    cursor: default;
    font-size: 14px !important;
    position: relative !important;
    color: #6d7177 !important;
}

/* Responsive */
@media (max-width: 991px) {
    .ct-container {
        max-width: unset !important;
        padding: 25px 20px !important;
        flex-direction: column;
    }

    .brand-logo {
        justify-content: center;
        padding: 0 0 20px 0;
    }

    #footerPages {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 20px 0;
    }

    .ct-footer-link-group.footer-menu-web {
        flex: 1 1 50%;
        max-width: 50%;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .ct-footer-link-group {
        height: auto !important;
        border: unset !important;
    }

    .ct-footer-link {
        font-size: 14px !important;
        margin-bottom: 12px;
        word-break: break-word;
    }

    .ct-md-footer-utils {
        margin-left: 0;
        margin-top: 20px;
        width: 100%;
    }

    .ct-md-social-links {
        display: flex;
        justify-content: center;
        float: none;
    }

    .ct-social-item {
        width: 29px !important;
        height: 25px !important;
        float: none;
    }

    .ct-social-item a {
        width: 18px !important;
    }

    .bottom-link-classic-site {
        text-align: center;
    }
}

@media (max-width: 575px) {
    .ct-container {
        padding: 20px 15px !important;
    }

    #footerPages {
        gap: 15px 0;
    }

    .ct-footer-link-group.footer-menu-web {
        flex: 1 1 100%;
        max-width: 100%;
        padding: 0;
    }

    .ct-footer-header {
        height: auto;
        line-height: 1.4;
        padding-bottom: 8px;
    }

    .ct-footer-link {
        font-size: 13px !important;
        margin-bottom: 10px;
        line-height: 1.5;
    }

    .ct-md-social-links {
        padding: 5px 0;
    }

    .ct-social-item a {
        width: 20px !important;
    }
}
