 #footer {
    background-color: #666;
    padding: 0 100px;
}

.footer-top-section {
    border-bottom: none;
}
#footer h3, #footer h2 {
    font-size: 20px;
    margin-bottom: 24px;
}

.footer-middle-section {
    padding: 30px 0 40px;
    z-index: 100;   
}

.footer-row-inner.footer-logo img {
    width: 100%;
    max-height: 63px;
}

.footer-links-box {
    display: inline-flex;
    flex-wrap: wrap;
    width: 100%;
}
.footer-links {
    width: 20%;
    flex-grow: 1;
}
.footer-links ul li {
    margin-bottom: 16px;
}
.footer-links ul li:last-child {
    margin-bottom: 0;
}
.footer-links ul li a {
    line-height: 140%;
}
.footer-links ul li a,
#footer a:not([href]):not([tabindex]) {
    color:#fff;
    font-weight: 100;
    padding: 0;
}
.footer-links .footer-menu li.footer-menu-item > a:hover {
    color:#E1B9FF;
}
.footer-links ul li a span:before,
.footer-links ul li a:hover span:before {    
    opacity: 0;
}
.footer-menu li.footer-menu-item > a {
    color: #fff;
    /* font-weight: 500; */
}

.footer-rows-container {
    margin-top: 40px;
    border-bottom: 1px solid #fff;
    height: 120px;
}

.footer-social-links li {
    padding: 0 10px;
}
.footer-social-links li a {
    opacity: 1;
    padding: 0;
}


#footer .footer-goto .social-box p,
#footer .footer-goto .sticker-box h3  {   
    font-size: 20px;
    font-weight: 400;
    line-height: 140%;
    margin-top: 24px;
    color: #fff;
}
#footer .footer-goto .social-box p {
    max-width: 450px;
}
#footer .footer-goto .sticker-box a {
    display: flex;
    align-items: start;
    margin-top: 30px;
}
#footer .footer-goto .sticker-box a:hover h3,
.footer-links ul li a:hover span,
#footer a:not([href]):not([tabindex]):hover {
    color: #E1B9FF;
}
.sticker-box a img {
    min-width: 65px;
    margin-right: 15px;
}
.sticker-box p {
    font-size: 12px;
    color: #fff;
}
/* 數位名片、服務說明：點擊展開子選單，子選單插入版面、下方選單下推（非彈窗） */
.footer-menu > a {
    cursor: pointer;
}
.footer-menu > a > i {
    position: absolute;
    transition: ease-in-out all 0.3s;
    top: 3px;
}
.footer-menu.is-open > a > i {
    transform: rotate(180deg);
}
.footer-menu-dropdown {
    display: none;
    position: static;
    top: auto;
    left: auto;
    width: 100%;
    margin: 0;
    padding: 15px 0 0 15px !important;
    background: transparent;
    border: none;
    border-radius: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
}
.footer-menu-dropdown:after {
    display: none;
}
.footer-menu.is-open .footer-menu-dropdown {
    display: block;
}
.footer-menu-dropdown.two-items {
    top: auto;
}


.copyright, .copyright span, .copyright a {
    font-size: 16px;
    color: #fff;
    position: relative;
}
.copyright a::before {
    content: "|";
    padding: 0 6px;    
}
.copyright a:last-child:after {
    content: "|";
    padding: 0 6px;    
}
.break-word {
    display: none;
}


.footer-bottom-section ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    text-align: left;
}
.footer-bottom-section ul li {
    padding: 0 5px;
}
.footer-bottom-section a {
    min-width: 35px;
}

#backtotop {
    bottom: 45px;
}

body #backtotop a {
    background: #1a1a1a;
}

/* 英文字級調整 */

#footer .enlang .footer-goto .social-box p {
    font-size: 18px;
    line-height: 160%;
}
.enlang .footer-links ul li a {
    font-size: 13px;
}

/* RWD 1441 ========================================================================== */

@media (max-width:1441px) { 
    
}

/* RWD 1366 ========================================================================== */

@media (max-width:1366px)  {

    .footer-middle-section .col-md-3 {        
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }
    .footer-links {
        margin-bottom: 30px;
    } 
    .footer-links {
        margin-left: 5px;
        margin-right: 5px;
    }     

}

/* RWD 1199 ========================================================================== */

@media (max-width:1199px) {
}

/* RWD 1099 ========================================================================== */

@media (max-width:1099px) { 

    .footer-links ul li a {
        font-size: 14px;
    }    
    
}

/* RWD 992 ========================================================================== */

@media (max-width:992px) {   
    #footer h3 {
        margin-top: 0px;
    }
    .footer-links {
        margin-top: 30px;
    }
    .footer-links ul li a {
        font-size: 15px;
    }
   .footer-middle-section .col-md-3 {
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
    } 
    
     
}

/* RWD 767 ========================================================================== */

@media (max-width: 767px){ 
    #footer {        
        padding: 0 30px;
    }
    .footer-row-inner.footer-logo img {
        width: auto;
    }
    .footer-middle-section .col-md-3 {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* RWD 640 ========================================================================== */

@media (max-width: 640px) {
}

/* RWD 575 ========================================================================== */

@media (max-width: 575px) {
    .footer-links-box {
        margin-bottom: 30px;
    }
    .footer-links {       
        width: 45%;
        margin-bottom: 0;
    }    
}

/* RWD 480 ========================================================================== */

@media (max-width: 480px) {
    /* #footer .footer-goto .social-box p, #footer .footer-goto .sticker-box h3 {
        font-size: 16px;
        line-height: 160%;
    } */
    #footer h3, #footer h2 {
        font-size: 18px;
    }   
    .copyright, .copyright span, .copyright a {
        font-size: 15px;   
        text-align: center;    
    }
    #footer .enlang .footer-goto .social-box p {
        font-size: 15px;
    }
    .break-word {
        display: flex;
    }

}

/* RWD 400 ========================================================================== */

@media (max-width: 400px) {    
    
    .copyright, .copyright span, .copyright a {
        font-size: 13px;    
    }
}