.main-footer {
    text-align: center;
    background: #ddd;
    padding: 10px;
    font-weight: 600;
    font-size: 17px;
}

.footer-main {
    background-size: 270px;
    background-position: 95% 100%;
    padding: 2em 0 0;
}

footer#footer-16 {
    background-size: cover;
    background-position: top left;
}

/* WCAG G18: keep bottom links/copyright off the decorative background image */
.footer-main .sub-object .bar-f {
    /* background-color: #5c2d00; */
    padding: 14px 20px 16px;
    border-radius: 10px;
    margin-top: 4px;
}

.footer-main .sub-object .bar-f .bottom-menu ul li a,
.footer-main .sub-object .bar-f .copy-right_footer p,
.footer-main .sub-object .bar-f .copy-right_footer .footer-mini a {
    color: #ffffff;
}

/* WCAG G18: absolutely positioned link needs its own background */
.footer-main .sub-object .bar-f .copy-right_footer .footer-mini a {
    display: inline-block;
    /* background-color: #5c2d00 !important; */
    color: #ffffff !important;
    padding: 4px 10px;
    border-radius: 4px;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.footer-main .sub-object .bar-f .bottom-menu ul li a:hover,
.footer-main .sub-object .bar-f .bottom-menu ul li a:focus-visible,
.footer-main .sub-object .bar-f .copy-right_footer .footer-mini a:hover,
.footer-main .sub-object .bar-f .copy-right_footer .footer-mini a:focus-visible {
    color: #ffffff;
    opacity: 1;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 767px) {
    .footer-main .sub-object .bar-f {
        padding: 12px 16px 14px;
    }
}

/* WCAG G18: footer contact block off decorative background image */
.footer-main .main-footer .object-sub_2 {
    /* background-color: #5c2d00; */
    padding: 16px 20px;
    border-radius: 10px;
}

.footer-main .main-footer .object-sub_2 h3.head-foot,
.footer-main .main-footer .object-sub_2 .deatail-footer p,
.footer-main .main-footer .object-sub_2 .deatail-footer p a,
.footer-main .main-footer .object-sub_2 .box-address p,
.footer-main .main-footer .object-sub_2 .box-email p,
.footer-main .main-footer .object-sub_2 .box-email-2 p,
.footer-main .main-footer .object-sub_2 .box-email p a,
.footer-main .main-footer .object-sub_2 .box-email-2 p a {
    color: #ffffff !important;
}

@media (max-width: 767px) {
    .footer-main .main-footer .object-sub_2 {
        padding: 14px 16px;
    }
}

/* WCAG G145: "ติดตามเรา" social block off footer background image */
.footer-main .main-footer .object-sub_3 .bg-right_footer,
.footer-main .main-footer .object-sub_3 .social-box_footer {
    /* background-color: #5c2d00; */
    padding: 16px 20px;
    border-radius: 10px;
}

.footer-main .main-footer .object-sub_3 .social-box_footer h3.head-foot {
    color: #ffffff !important;
    background-color: transparent;
    padding: 0;
}