﻿footer {
    background-image: url(../image/footer-back.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 6.1rem;
    overflow: hidden;
}

.footer_box {
    width: 15rem;
    margin: .8rem auto .6rem;
}

.footer_nav {
    display: flex;
    justify-content: space-between;
    padding-bottom: .36rem;
    border-bottom: .01rem solid rgba(255, 255, 255, .4);
}

.nav_item {
    display: flex;
    flex-direction: column;
}

.nav_item p {
    font-size: 0.18rem;
    font-family: Microsoft YaHei, Microsoft YaHei;
    font-weight: bold;
    color: #FFFFFF;
    margin-bottom: .27rem;
}

.nav_item a {
    font-size: 0.16rem;
    font-family: Microsoft YaHei, Microsoft YaHei;
    font-weight: 400;
    color: #BBD8F9;
    margin-bottom: .2rem;
}

.footer_content {
    width: 100%;
    margin: .35rem auto .6rem;
    display: flex;
}

.footer_content_left {
    width: 9.66rem;
    display: flex;
    justify-content: space-between;
    margin-right: 1.84rem;
}

.footer_content_item {
    display: flex;
    flex-direction: column;
}

.footer_content_item img {
    width: .3rem;
    height: .3rem;
    margin-bottom: .17rem;
}

.footer_content_tit {
    font-size: 0.16rem;
    font-family: Microsoft YaHei, Microsoft YaHei;
    font-weight: 400;
    color: #FFFFFF;
    opacity: .5;
    margin-bottom: .1rem;
}

.footer_content_txt {
    font-size: 0.16rem;
    font-family: Microsoft YaHei, Microsoft YaHei;
    font-weight: 400;
    color: #FFFFFF;
}

.footer_content_right {
    display: flex;
    justify-content: space-between;
    width: 3.5rem;
}

.code_box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.code_box img {
    width: .9rem;
    height: .9rem;
    margin-bottom: .18rem;
}

.code_box p {
    font-size: 0.12rem;
    font-family: Microsoft YaHei, Microsoft YaHei;
    font-weight: 400;
    color: #FFFFFF;
}

.footer_bottom {
    width: 100%;
    height: 0.6rem;
    background: #002A64;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer_bottom a {
    font-size: 0.14rem;
    font-family: Microsoft YaHei, Microsoft YaHei;
    font-weight: 400;
    color: #FFFFFF;
    opacity: .5;
}

.friend_link {
    margin-right: .3rem;
}

.side_box{
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 50%;
    right: .1rem;
    transform: translateY(-50%);
    z-index: 1000;
    transition: all .3s;
}

.side_item{
    width: 0.6rem;
    height: 0.6rem;
    background: #004098;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: .1rem;
    margin: .05rem 0;
    cursor: pointer;
    position: relative;
}

.side_item p {
    background: #004098;
    font-size: 0.16rem;
    font-family: Microsoft YaHei, Microsoft YaHei;
    font-weight: 400;
    color: #FFFFFF;
    position: absolute;
    right: -400%;
    opacity: 0;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.1rem;
    padding: .1rem .15rem;
    box-sizing: border-box;
    min-height: .6rem;
}

.side_item:hover p{
     right: 100%;
     opacity: 1;
     transition: all .3s;
     z-index: -1;
     min-width: 250%;
}



.side_item img{
    width: auto;
    height: auto;
}


@media only screen and (max-width:1024px){
    .side_item img{
        max-width: 50%;
    }
    .side_item p img{
        max-width: 100%;
    }
    footer{
        height: auto;
    }
    .footer_nav{
        display: none;
    }
    .footer_box{
        width: 100%;
        margin: 0;
    }
    .footer_content{
        margin: 0;
        padding: 15px;
        flex-direction: column;
        box-sizing: border-box;
    }
    .footer_content_left{
        width: 100%;
        flex-direction: column;
        margin: 0;
        margin-bottom: 15px;
    }
    .footer_content_item img{
        width: 30px;
        height: 30px;
    }
    .footer_content_tit,
    .footer_content_txt,
    .code_box p{
        font-size: 12px;
    }
    .code_box img{
        width: 90px;
        height: 90px;
    }
    .footer_content_right{
        width: 100%;
        justify-content: space-between;
    }
    .footer_bottom {
        padding: 10px 15px;
        box-sizing: border-box;
        flex-direction: column;
        height: auto;
    }
    .footer_bottom a{
        font-size: 12px;
        text-align: center;
    }
    .side_item:hover p{
        font-size: 12px;
    }
}