﻿.oc-sam-footer {
    position: relative;
    height: 6.40rem;
    background-color: #2C63A0;
    padding: 0.7rem 2.45rem 0;
}

.oc-sam-footer .main-content {
    display: flex;
    justify-content: space-between;
}

.oc-sam-footer a {
    color: #FFFFFF;
}

/* about us */
.oc-sam-footer .about-us {
    width: 4rem;
}

.oc-sam-footer .about-us .logo {
    display: flex;
    width: 80%;
}

.oc-sam-footer .about-us .logo img {
    width: 100%;
}

.oc-sam-footer .about-us .text {
    font-family: 'Roboto';
    color: #FFFFFF;
    font-weight: 400;
    font-size: 0.16rem;
    line-height: 0.30rem;
    margin-top: 0.58rem;
    overflow: hidden;
    /*将对象作为弹性伸缩盒子模型显示*/
    display: -webkit-box;
    /*设置子元素排列方式*/
    -webkit-box-orient: vertical;
    /*设置显示的行数，多出的部分会显示为...*/
    -webkit-line-clamp: 11;

}

.oc-sam-footer .social-search-wrapper {
    display: flex;
    justify-content: space-between;

}

.oc-sam-footer .social-search-wrapper .social-media {
    margin-top: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.oc-sam-footer .social-search-wrapper .social-media a {
    display: flex;
    width: 0.24rem;
    height: 0.24rem;
}
/* 选中最后一个a */
/* .oc-sam-footer .social-search-wrapper .social-media a:last-child {
    width: 0.32rem;
    height: 0.32rem;
} */
.oc-sam-footer .social-search-wrapper .social-media a img {
    width: 100%;
    height: 100%;
}

.oc-sam-footer .social-search-wrapper .footer-search {
    display: flex;
    position: relative;
}

.oc-sam-footer .social-search-wrapper .footer-search input {
    border: 1px solid #FFFFFF;
    border-radius: 0.3rem;
    width: 2.9rem;
    height: 0.36rem;
    margin-right: 0.15rem;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 0.14rem;
    padding: 0 0.15rem;
}
.oc-sam-footer .social-search-wrapper .footer-search input::placeholder {
    color: #FFF;
}

.oc-sam-footer .social-search-wrapper .footer-search input:focus {
    background-color: #fff;
    color: #000000;
}

.oc-sam-footer .social-search-wrapper .footer-search .search-icon {
    cursor: pointer;
}

.oc-sam-footer .social-search-wrapper .footer-search input:focus+.search-icon path {
    stroke: #000
}

.oc-sam-footer .social-search-wrapper .footer-search .search-icon {
    width: 0.16rem;
    height: 0.16rem;
    position: absolute;
    right: 0.29rem;
    top: 0.1rem;
}

/* contract us */
.oc-sam-footer .contact-us {
    /* width: 3.80rem; */
}

.oc-sam-footer .contact-us .title {
    font-family: 'Anton';
    font-weight: 400;
    font-size: 0.40rem;
    line-height: 1;
    text-transform: capitalize;
    letter-spacing: 0.03em;
    color: #FFFFFF;
}

.oc-sam-footer .contact-us .content {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 0.16rem;
    color: #FFFFFF;
    margin-top: 0.7rem;
}

.oc-sam-footer .contact-us .content>div {
    height: 0.7rem;
    /* border-top: 0.5px solid #FFFFFF; */
    line-height: 0.7rem;
}
.oc-sam-footer .contact-us .content .sam-line {
    height: 1px;
    background-color: #fff;
    transform: scaleY(0.5);
    transform-origin: 50% 100%;
}

.oc-sam-footer .contact-us .content>div:last-child {
    /* border-bottom: 0.5px solid #FFFFFF; */
}

.oc-sam-footer .news {
    width: 3.2rem;
}


.oc-sam-footer .news .title {
    font-family: 'Anton';
    font-style: normal;
    line-height: 1;
    font-weight: 400;
    font-size: 0.40rem;
    letter-spacing: 0.03em;
    text-transform: capitalize;
    color: #FFFFFF;
}

.oc-sam-footer .news .content {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 0.16rem;
    letter-spacing: 0.03em;
    line-height: 0.3rem;
    text-transform: capitalize;
    color: #FFFFFF;
    margin-top: 0.58rem;
}

.oc-sam-footer .news .content a {
    overflow: hidden;
    /*将对象作为弹性伸缩盒子模型显示*/
    display: -webkit-box;
    /*设置子元素排列方式*/
    -webkit-box-orient: vertical;
    /*设置显示的行数，多出的部分会显示为...*/
    -webkit-line-clamp: 2;
    margin-bottom: 0.1rem;
}

.oc-sam-footer .copy-right {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 0.16rem;
    color: #FFFFFF;
    position: absolute;
    bottom: 0.35rem;
    left: 50%;
    transform: translateX(-50%);
}

.oc-sam-footer .oc-sam-footer-icon{
    display: flex;
    justify-content: space-between;
    width: 2.2rem;
    height: 0.32rem;
    margin-top: -0.8rem;
}
.oc-sam-footer .oc-sam-footer-icon a img{
    width:0.2392rem;
    height: 0.2366rem;
}
/* 移动端样式 */
@media screen and (max-width: 1025px) {
    .oc-sam-footer {
        padding: 0.9rem 0.34rem;
        margin-top: 0;
    }
    .oc-sam-footer .main-content {
        flex-direction: column;
        align-items: center;
    }
    .oc-sam-footer .about-us {
        width: 4.44rem;
    }
    .oc-sam-footer .about-us .logo {
        width: 100%;
    }
    .oc-sam-footer .about-us .text {
        display: none;
    }

    .oc-sam-footer .news {
        display: none;
    }

    .oc-sam-footer .contact-us .title {
        display: none;
    }

    .oc-sam-footer .social-search-wrapper .footer-search {
        display: none;
    }

    .oc-sam-footer .social-search-wrapper {
        justify-content: center;
    }

    .oc-sam-footer .contact-us {
        width: 100%;
        text-align: center;
    }
    .oc-sam-footer .contact-us .content>div {
        height: 0.8rem;
        line-height: 0.8rem;
    }

    .oc-sam-footer .copy-right {
        width: 100%;
        position: relative;
        left: 0;
        bottom: 0;
        transform: none;
        margin-top: 0.5rem;
        text-align: center;
        line-height: 0.3rem;
        font-size: 0.24rem;
    }

    .oc-sam-footer .social-search-wrapper .social-media {
        gap: 0.4rem;
    }

    .oc-sam-footer .social-search-wrapper .social-media a {
        width: 0.42rem;
        height: 0.42rem;
    }
    /* .oc-sam-footer .social-search-wrapper .social-media a:last-child {
        width: 0.54rem;
        height: 0.54rem;
    } */
    .oc-sam-footer .contact-us .content {
        font-size: 0.26rem;
        line-height: 0.3rem;
    }
    .oc-sam-footer .oc-sam-footer-iconsvg{
        display: flex;
        justify-content: center;
    }
    .oc-sam-footer .oc-sam-footer-icon {
        width: 4rem;
        height: 0.32rem;
        margin-top: -0.5rem;
        margin-bottom: 0.67rem;
    }
    .oc-sam-footer .oc-sam-footer-icon a svg{
        width: 0.42rem;
        height: 0.41rem;
    }
}
