/* Footer: same palette of the system navbar (variables in common.css) */
.system-footer {
    background-color: var(--system-nav-bg);
    border-top: 1px solid var(--system-nav-border);
    color: rgba(255, 255, 255, 0.72);
    font-size: 15px;
}

/* Bootstrap grid of the website footer (.container, .row, .col-*, .gy-*) */
.system-footer-container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .system-footer-container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .system-footer-container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .system-footer-container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .system-footer-container {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .system-footer-container {
        max-width: 1320px;
    }
}

.system-footer-row {
    --system-footer-gutter-x: 30px;
    --system-footer-gutter-y: 0px;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-1 * var(--system-footer-gutter-y));
    margin-right: calc(-0.5 * var(--system-footer-gutter-x));
    margin-left: calc(-0.5 * var(--system-footer-gutter-x));
}

.system-footer-row > * {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: calc(var(--system-footer-gutter-x) * 0.5);
    padding-left: calc(var(--system-footer-gutter-x) * 0.5);
    margin-top: var(--system-footer-gutter-y);
}

/* .gy-10 .gy-lg-0 */
.system-footer-row-main {
    --system-footer-gutter-y: 50px;
}

/* .gy-8 */
.system-footer-row-columns {
    --system-footer-gutter-y: 40px;
}

@media (min-width: 768px) {
    .system-footer-col-md-4 {
        flex: 0 0 auto;
        width: 33.33333333%;
    }
}

@media (min-width: 992px) {
    .system-footer-row-main {
        --system-footer-gutter-y: 0px;
    }

    .system-footer-col-lg-4 {
        flex: 0 0 auto;
        width: 33.33333333%;
    }

    .system-footer-col-lg-8 {
        flex: 0 0 auto;
        width: 66.66666667%;
    }
}

.system-footer-main {
    padding-top: 80px;
    padding-bottom: 72px;
}

/* Logo column */
.system-footer-brand {
    max-width: 320px;
}

.system-footer-logo {
    display: inline-block;
    margin-bottom: 20px;
}

.system-footer-logo img {
    height: 44px;
    width: auto;
}

.system-footer-description {
    margin-bottom: 28px;
    line-height: 1.6;
}

.system-footer-title {
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.system-footer-title-spaced {
    margin-top: 36px;
}

.system-footer address,
.system-footer p {
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.6;
}

.system-footer address {
    max-width: 220px;
}

.system-footer .system-footer-small {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.56);
}

/* Link lists */
.system-footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.system-footer-list li + li {
    margin-top: 12px;
}

.system-footer-list a,
.system-footer-status,
.system-footer-legal a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    transition: color 0.2s;
}

.system-footer-list a:hover,
.system-footer-list a:focus,
.system-footer-status:hover,
.system-footer-legal a:hover,
.system-footer-legal a:focus {
    color: var(--system-nav-accent);
}

.system-footer-list i {
    font-size: 14px;
}

/* Social icons */
.system-footer-social {
    display: flex;
    gap: 10px;
}

.system-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--system-nav-hover-bg);
    color: #ffffff;
    font-size: 18px;
    text-decoration: none;
    transition: color 0.2s, background-color 0.2s;
}

.system-footer-social a:hover,
.system-footer-social a:focus {
    background-color: #ffffff;
    color: var(--system-nav-bg);
}

/* Web services status */
.system-footer-status {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 0;
}

.system-footer-status-badge {
    height: 20px;
    border-radius: 4px;
}

/* Copyright and legal pages bar */
.system-footer-bottom {
    border-top: 1px solid var(--system-nav-border);
    padding: 24px 0;
    font-size: 14px;
}

.system-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 24px;
}

.system-footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.56);
}

.system-footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 28px;
}

.system-footer-legal a {
    color: rgba(255, 255, 255, 0.56);
}

@media (max-width: 767.98px) {
    .system-footer-main {
        padding-top: 56px;
        padding-bottom: 48px;
    }

    .system-footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}
