﻿footer{
    width: 100%;
    display: block;
    position: relative;
    font-size: 0;
    background-color: #f2f2f2;
}
.footer-box{
    width: 1280px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    box-sizing: border-box;
    padding-top: 50px;
    padding-bottom: 40px;
}
.footer-logo-box{
    display: inline-block;
    vertical-align: top;
    margin-right: 100px;
}


.footer-info-box{
    width: 460px;
    max-width: 100%;
    display: inline-block;
    vertical-align: top;
}
.footer-info{
    display: block;
    margin-bottom: 20px;
}
.footer-info span{
    font-size: 12px;
    color: #fff;
    text-align: center;
    background-color: #ed1b24;
    border-radius: 5px;
    width: 30px;
    line-height: 18px;
    display: inline-block;
    vertical-align: top;
}
.footer-info span.footer-info-fax{
    font-family: 'Anton';
    letter-spacing: 1px;
}
.footer-info p{
    font-size: 14px;
    color: #555;
    letter-spacing: 1px;
    display: inline-block;
    vertical-align: top;
    width: calc(100% - 30px);
    box-sizing: border-box;
    padding-left: 10px;
    font-family: MyCustomFont;
    transition: all .3s linear;
}

@font-face {
    font-family: MyCustomFont;
    src: local("微軟正黑體");
    unicode-range: U+4E00-9FFF;
}
@font-face {
    font-family: MyCustomFont;
    src: local(Roboto);
    unicode-range: U+00-024F;
}


.footer-menu-box{
    width: 405px;
    display: inline-block;
    vertical-align: top;
}
.footer-menu-title{
    font-size: 14px;
    color: #000;
    font-weight: bold;
    letter-spacing: 1px;
    display: inline-block;
    box-sizing: border-box;
    text-align: center;
    width: 80px;
    margin-bottom: 18px;
    margin-right: 10px;
}
.footer-menu{
    font-size: 14px;
    color: #555;
    letter-spacing: 1px;
    display: block;
    width: 100%;
    margin-top: 15px;
    text-align: center;
    line-height: 26px;
    transition: all .3s linear; 
}
.footer-menu:nth-child(1){
    margin-top: 0;
}
.footer-menu.footer-login{
    background-color: #ed1b24;
    border-radius: 5px;
    color: #fff;
}
.footer-menu-all-box{
    width: 80px;
    display: inline-block;
    vertical-align: top;
    margin-right: 10px;
}

.footer-follow-box{
    width: 110px;
    display: inline-block;
    vertical-align: middle;
}
.footer-follow-title{
    font-size: 14px;
    color: #000;
    font-weight: bold;
    letter-spacing: 1px;
    display: block;
    box-sizing: border-box;
    margin-bottom: 18px;
}
.footer-follow{
    font-size: 20px;
    display: block;
    color: #555;
    line-height: 26px;
}
.footer-follow a{
    transition: all .3s linear;
}
.footer-follow i{
    margin-right: 15px;
}
.footer-top-box{
    width: 45px;
    display: inline-block;
    vertical-align: top;
    text-align: center;
    opacity: 0;
    transform: scale(1.1);
    position: fixed;
    z-index: 998;
    bottom: 80px;
    right: 40px;
    transition: all .3s linear;
}
.footer-top-box.open{
    opacity: 1;
}
.footer-top-arrow-box{
    width: 100%;
    height: 45px;
    border-radius: 50%;
    border: 2px solid #555;
    display: inline-block;
    overflow: hidden;
    box-sizing: border-box;
    transition: all .3s linear;
    background-color: #f2f2f2;
}
.footer-top-arrow{
    width: 2px;
    height: 27px;
    display: inline-block;
    background-color: #555;
    margin-top: 18px;
    position: relative;
    transition: all .3s linear;
}
.footer-top-arrow:before{
    content: '';
    width: 7px;
    height: 2px;
    position: absolute;
    top: 0;
    right: 2px;
    background-color: #555;
    transform-origin: 100% 50%;
    transform: rotateZ(-45deg);
    transition: all .3s linear;
}
.footer-top-arrow:after{
    content: '';
    width: 7px;
    height: 2px;
    position: absolute;
    top: 0;
    left: 2px;
    background-color: #555;
    transform-origin: 0% 50%;
    transform: rotateZ(45deg);
    transition: all .3s linear;
}
.footer-web{
    font-size: 12px;
    font-family: 'Roboto';
    color: #888;
    font-weight: 300;
    line-height: 46px;
    border-top: 1px solid #d1d1d1;
    text-align: center;
    letter-spacing: 1px;
}
.activity-color-g{
    background-color: #12b037;
    color: #fff;
}
.activity-color-y{
    background-color: #f5bc00;
    color: #fff;
}
.activity-color-r{
    background-color: #ee1a26;
    color: #fff;
}


@media only screen and (max-width: 1280px){
    .footer-box{
        width: 1200px;
    }
    .footer-follow-box{
        width: 100px;
    }
    .footer-menu-box{
        width: 390px;
    }
    .footer-info-box{
        width: 420px;
    }
}
@media only screen and (max-width: 1200px){
    .footer-box{
        width: 1000px;
    }
    .footer-logo-box{
        margin-right: 20px;
    }
    .footer-info-box{
        width: 370px;
        box-sizing: border-box;
        padding-right: 20px;
    }
    .footer-follow-box{
        width: 90px;
    }
    .footer-menu-box{
        width: 330px;
    }
    .footer-menu-all-box,
    .footer-menu-title{
        width: 70px;
    }
}
@media only screen and (max-width: 1000px){
    .footer-box{
        width: 750px;
        position: relative;
    }
    .footer-menu-box{
        display: none;
    }
    .footer-follow a:nth-child(2)>i{
        margin-right: 0;
    }
    .footer-follow-box{
        width: initial;
    }
    .footer-info-box{
        width: 528px;
    }
}
@media only screen and (max-width: 750px){
    .footer-box{
        width: 550px;
        padding: 30px 0;
    }
    .footer-logo-box{
        margin-right: 0;
        text-align: center;
        display: block;
        margin-bottom: 20px;
    }
    .footer-follow-title{
        margin-bottom: 0;
    }
    .footer-info-box{
        width: 490px;
    }
}
@media only screen and (max-width: 550px){
    .footer-box{
        width: 400px;
        padding: 15px 0;
    }
    .footer-web{
        line-height: inherit;
        padding: 5px 10px;
        box-sizing: border-box;
    }
    .footer-web span{
        display: block;
    }
    .footer-info span{
        vertical-align: top;
    }
    .footer-info-box{
        width: 320px;
        margin-right: 20px;
        padding-right: 0;
    }
    .footer-follow-box{
        width: 60px;
    }
    .footer-logo{
        display: inline-block;
        width: 100px;
    }
    .footer-info p{
        font-size: 12px;
    }
    .footer-info{
        margin-bottom: 10px;
    }
    .footer-top-box{
        right: 20px;
        bottom: 60px;
    }
}
@media only screen and (max-width: 400px){
    .footer-box{
        width: 300px;
    }
    .footer-web span{
        display: inline-block;
    }
    .footer-info-box{
        width: 230px;
        margin-right: 10px;
    }
    .footer-follow-box{
        width: 60px;
    }
}






/*--------hover--------*/
.footer-info:hover p{
    color: #ed1b24;
}
.footer-menu:hover{
    color: #ed1b24;
}
.footer-menu.footer-login:hover{
    background-color: #80bd3e;
    color: #fff;
}
.footer-follow a:hover{
    color: #ed1b24;
}
.footer-top-arrow-box:hover{
    border-color: #ed1b24;
}
.footer-top-arrow-box:hover .footer-top-arrow{
    background-color: #ed1b24;
    margin-top: 0;
}
.footer-top-arrow-box:hover .footer-top-arrow:before{
    background-color: #ed1b24;
}
.footer-top-arrow-box:hover .footer-top-arrow:after{
    background-color: #ed1b24;
}