﻿.left{float: left;}
.right{float: right;}
.clear::after{content: "";display: block; clear: both;}


/* 以下是正文中的通用部分 */
.container{
    margin: 0 auto;
    width: 90vw;
    text-align: center;
}
.container h3{
    display: inline-block;
    font-size: 1.8em;
    font-weight: 500;
    color: green;
    position: relative;
    margin-top: 2em;
    margin-bottom: 2em;
}
.container h3::before{
    content: "";
    display: block;
    border-bottom: 1px solid black;
    width: 51px;
    position: absolute;
    top: 49%;
    left: -70px;
}
.container h3::after{
    content: "";
    display: block;
    border-bottom: 1px solid black;
    width: 51px;
    position: absolute;
    top: 49%;
    right: -70px;
}
.contentCon{
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items:flex-start;
}
.contentCon .content{
    color: #737373;
    width: 28vw;  /* 宽度为28%,使一行有三个 */
    padding: 0 1vw; /* 这个padding主要是用来控制左右的间距 */
}

.content .title{
    height: 3em;
    line-height: 3em;
    margin-bottom: 1em;
}
.content .title img{
    width: 3em;
    height: 3em;
}
.content .title h5{
    font-size: 1.5em;
    margin: 0px;
    margin-left: 1em;
}
.content .title a:hover{
    color: green;
    text-decoration: underline;
}

.content p{
    margin: 0px;
    line-height: 2.4em;
    text-align: left;
    font-size: 1.2em;
}

.content p a{
    background-color: rgba(73, 73,73, 0.3);
}
.content p a:hover{
    background-color: green;
    color: white;
}


/*以下为aboutus部分*/
#aboutUs-contentCon{
    width: 90vw;
    height: 21vw;/* 通过图片的原始长宽比计算出来的高度，由于没有先载入图片，所以要先确认高度 */
    position: relative;
    overflow: hidden;

}
#aboutUs-contentCon .imgCon{
    position: absolute;
    width: 180vw;/*  一个是30vw，这个值需要更具实际情况来变化 */
    font-size: 0px;
    left: 0px;
    transition: all 1s;
}
#aboutUs-contentCon .imgCon img{
    width: 28vw;
    margin: 0 1vw;
}

#aboutUs-contentCon #leftBn, #rightBn{
    position: absolute;
    width: 30px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    color: #fff;
    background-color: rgba(120,117,118,0.4);
    cursor: pointer;
    top: calc(50% - 30px); /* 使用了计算公式 */
}
#aboutUs-contentCon #leftBn{
    left: 1vw;
}
#aboutUs-contentCon #rightBn{
    right: 1vw;
}

/*以上为aboutus部分*/

@media (max-width:768px){
    .contentCon{
        flex-flow: column nowrap;

    }
    .contentCon .content{
        width: 100%;
        margin-bottom: 3em;
    }

    /* 以下是aboutus */

    #aboutUs-contentCon{
        height: 32.25vw;
    }

    #aboutUs-contentCon .imgCon{
        width: 270vw;

    }
    #aboutUs-contentCon .imgCon img{
        width: 43vw;
    } 


    #aboutUs-contentCon #leftBn, #rightBn{
        width: 20px;
        height: 40px;
        line-height: 40px;
        top: calc(50% - 20px);
    }

}
/* 以上是正文中的通用部分 */
#contactUs .small-font-size{
    font-size: 1em;
}

