.epf-footer,
.epf-footer * {
    box-sizing: border-box;
}

.et-l--footer .epf-footer.et_pb_section {
    padding: 56px 0 45px;
    background: #fffdf0;
    color: #173e39;
    border-top: 1px solid #c8d8d0;
}

.et-l--footer .epf-footer .et_pb_row {
    width: calc(100% - 96px) !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0;
}

.epf-footer .epf-footer-main {
    display: grid;
    grid-template-columns: minmax(0, 230px) repeat(3, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 24px;
    align-items: stretch;
}

.epf-footer .epf-footer-main::after {
    display: none;
}

.epf-footer .epf-footer-main > .et_pb_column {
    width: auto !important;
    margin: 0 !important;
    min-width: 0;
}

.epf-footer-main > .et_pb_column:not(:first-child) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 12px 24px;
    background: #e3f2f0;
    border: 1px solid #c8d8d0;
    border-top: 3px solid #a8c0b9;
}

.epf-footer-main > .et_pb_column:nth-child(3) {
    background: #f6fdff;
    border-top-color: #36b5cd;
}

.epf-footer-main > .et_pb_column:first-child {
    padding: 12px 0;
}

.et-l--footer .epf-footer .et_pb_module {
    margin-bottom: 0;
}

.et-l--footer .epf-footer .et_pb_text {
    color: inherit;
    font-size: 16px;
    line-height: 1.7;
}

.epf-footer-main > .et_pb_column:first-child .et_pb_text {
    max-width: 285px;
}

.epf-footer-brand {
    max-width: 170px;
}

.epf-footer-logo-image {
    display: block;
    width: 100%;
    height: auto;
}

.epf-footer h2,
.epf-footer h3,
.epf-footer p {
    margin: 0;
    padding: 0;
    color: inherit;
}

.epf-footer h2,
.epf-footer h3 {
    font-weight: 700;
}

.epf-footer h2 {
    margin-bottom: 18px;
    font-size: 38px;
    line-height: 1.05;
    text-transform: uppercase;
}

.epf-footer h2 span {
    display: inline-block;
    color: #087bb5;
}

.epf-footer h3,
.epf-footer .epf-footer-links h2 {
    margin-bottom: 18px;
    font-size: 27px;
    line-height: 1.2;
    text-transform: none;
}

.epf-footer p + p {
    margin-top: 16px;
}

.epf-footer .epf-footer-links ul {
    display: grid;
    gap: 4px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.et-l--footer .epf-footer a {
    color: inherit;
    text-decoration: none;
    font-size: 14px;
}

.et-l--footer .epf-footer-links a,
.et-l--footer .epf-footer-social a.icon {
    text-transform: uppercase;
}

.et-l--footer .epf-footer-links a:before {
    font-family: 'ETmodules';
    content: "\5c";
    padding-right: 5px;
    position: relative;
    top: 1.2px;
}

footer.et-l--footer .epf-footer-bottom a {
    text-transform: none;
    font-size: 13px;
    font-weight: 400;
}

.et-l--footer .epf-footer a[aria-current="page"] {
    font-weight: 700;
}

.et-l--footer .epf-footer a:hover {
    color: #087bb5;
    text-decoration: none;
}

.epf-footer a:focus-visible {
    outline: 3px solid #36b5cd;
    outline-offset: 5px;
}

.et-l--footer .epf-footer .et_pb_social_media_follow {
    padding: 0;
    margin: 4px 0 0;
}

.et-l--footer .epf-footer .et_pb_social_media_follow a.icon {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent !important;
    line-height: 1.4;
    white-space: nowrap;
}

.et-l--footer .epf-footer .et_pb_social_media_follow a.icon::before {
    width: 8px;
    height: 13px;
    margin: 0 7px 0 0;
    padding: 0;
    color: #087bb5;
    line-height: 13px;
    font-size: 13px;
}

.et-l--footer .epf-footer .et_pb_social_media_follow_network_name {
    display: inline !important;
    font-size: 13px;
    line-height: 1.4;
    text-decoration: none;
    white-space: nowrap;
}

.epf-footer-social .et_pb_social_media_follow_network_name::after {
    content: " on Facebook";
}

.et-l--footer .epf-footer .et_pb_social_media_follow a.icon:hover {
    background: transparent !important;
    text-decoration: none;
}

.et-l--footer .epf-footer.epf-footer-bottom {
    padding: 8px 0;
    background: #e3f2f0;
    color: #173e39;
    border-top: 1px solid #c8d8d0;
}

.et-l--footer .epf-footer-bottom .et_pb_text {
    font-size: 11px;
    text-align: left;
}

.epf-footer-legal .et_pb_text_inner {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px 6px;
}

.epf-footer-bottom .epf-footer-legal.et_pb_text {
    padding-left: 100px !important;
}

.epf-footer-legal .et_pb_text_inner > p:first-child {
    padding-left: 140px;
}

.epf-footer .epf-footer-credit {
    margin: 0 0 0 auto !important;
    font-size: 12px;
    text-align: right;
    transform: translateX(36px);
}

.et-l--footer .epf-footer .epf-footer-credit a {
    display: inline-flex;
    align-items: baseline;
    color: #173e39;
    text-decoration: none;
    font-size: 11px;
    white-space: nowrap;
}

.epf-footer-credit .epf-credit-brand {
    margin-left: .3em;
    color: #173e39;
    font-size: 9px;
    letter-spacing: .5px;
}

.epf-footer-credit .epf-credit-detail {
    display: inline-block;
    max-width: 0;
    overflow: hidden;
    vertical-align: bottom;
    transition: max-width .3s ease;
}

.epf-footer-credit a:hover .epf-credit-detail,
.epf-footer-credit a:focus .epf-credit-detail {
    max-width: 180px;
}

@media (prefers-reduced-motion: reduce) {
    .epf-footer-credit .epf-credit-detail {
        transition: none;
    }
}

@media (min-width: 981px) and (max-width: 1024px) and (orientation: portrait) {
    .epf-footer .epf-footer-main {
        grid-template-columns: minmax(0, 1fr);
    }

    .epf-footer-main > .et_pb_column:first-child,
    .epf-footer-main > .et_pb_column:nth-child(n + 3) {
        display: none !important;
    }

    .epf-footer-main > .et_pb_column:nth-child(2) {
        grid-column: 1 / -1;
        justify-self: stretch;
        width: 100% !important;
        max-width: none;
    }
}

@media (max-width: 980px) {
    .epf-footer-bottom .epf-footer-legal.et_pb_text {
        padding-left: 110px !important;
    }

    footer.et-l--footer .epf-footer-bottom a,
    footer.et-l--footer .epf-footer .epf-footer-credit a {
        font-size: 10px;
    }

    .epf-footer .epf-footer-credit {
        transform: translateX(16px);
    }

    .epf-footer-legal .et_pb_text_inner > p:first-child {
        padding-left: 180px;
    }

    .et-l--footer .epf-footer .et_pb_row {
        width: calc(100% - 56px) !important;
    }

    .epf-footer .epf-footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 24px;
        row-gap: 24px;
    }

    .epf-footer-main > .et_pb_column:first-child,
    .epf-footer-main > .et_pb_column:nth-child(n + 3) {
        display: none !important;
    }

    .epf-footer-main > .et_pb_column:nth-child(2) {
        grid-column: 1 / -1;
        justify-self: stretch;
        width: 100% !important;
        max-width: none;
        padding: 16px 20px;
    }

    .epf-footer-main > .et_pb_column:first-child {
        grid-column: 1 / -1;
        justify-self: center;
        width: 180px !important;
        padding: 0;
    }

    .epf-footer-brand {
        max-width: 170px;
    }

    .epf-footer-main > .et_pb_column:last-child {
        grid-column: 1 / -1;
    }

}

@media (max-width: 600px) {
    .epf-footer-legal .et_pb_text_inner > p:first-child {
        padding-left: 0;
    }

    .epf-footer-legal .et_pb_text_inner {
        display: block;
        text-align: center;
    }

    .epf-footer-legal .et_pb_text_inner > p:first-child {
        width: 100%;
        text-align: center;
    }

    .epf-footer .epf-footer-credit {
        width: 100%;
        font-size: 10px;
        margin: 0 auto !important;
        text-align: center;
        transform: none;
    }

    .epf-footer-credit .epf-credit-brand {
        font-size: 9px;
    }

    .et-l--footer .epf-footer .et_pb_row {
        width: calc(100% - 36px) !important;
    }

    .et-l--footer .epf-footer.et_pb_section {
        padding: 48px 0;
    }

    .et-l--footer .epf-footer .epf-footer-main {
        width: calc(100% - 12px) !important;
        grid-template-columns: minmax(0, 1fr);
        row-gap: 20px;
    }

    .epf-footer-main > .et_pb_column:first-child {
        grid-column: auto;
        justify-self: center;
        width: 150px !important;
        padding: 0;
    }

    .epf-footer-brand {
        max-width: 150px;
    }

    .epf-footer-main > .et_pb_column:last-child {
        grid-column: auto;
    }

    .epf-footer-main > .et_pb_column:not(:first-child) {
        padding: 12px 16px;
    }

    .et-l--footer .epf-footer.epf-footer-bottom {
        padding: 8px 0;
    }
}

@media (max-width: 767px) {
    .et-l--footer .epf-footer.et_pb_section {
        padding: 14px 0;
    }

    .et-l--footer .epf-footer a {
        font-size: 13px;
    }

    .epf-footer-bottom .epf-footer-legal.et_pb_text {
        text-align: right;
        line-height: 1.4;
    }

    .epf-footer-bottom .epf-footer-legal.et_pb_text .et_pb_text_inner,
    .epf-footer-bottom .epf-footer-legal.et_pb_text .epf-footer-credit {
        text-align: right;
    }
}
