body {
    font-family: 'Microsoft YaHei', sans-serif;
}

/*轮播图*/
#banner .container{
    width: 100%
}
#banner .floating-title{
    position:absolute;
    z-index: 2;
    top: 50%;
    left: 40%;
    color: whitesmoke;
    transform: translate(-50%, -50%);
    font-size: 50px;
    /*font-size: 4em;*/
    text-shadow: 6px 6px 6px rgba(0, 0, 0, 1);
}
#banner .col-md-12{
    padding: 0;
}
#banner .carousel-inner{
    text-align: center;
    width: 100%;
}
#banner .carousel-inner img{
    opacity: 0.7;
    width: 100%;
    height: 700px; /* 自动调整图片的高度，保持原始比例 */
    object-fit: cover; /* 调整图片在指定尺寸内的填充方式，可以根据需要选择其他值（如 contain 等）*/
}

#banner .carousel-indicators li{
    cursor: copy;
    border-radius: 3px;
    opacity: 75%;
    margin: 5px;
}

/*read more*/
#text-content {
    overflow: hidden;
    max-height: 110px;
    transition: max-height 0.3s ease;
}

#long-text.expanded #text-content {
    max-height: none;
}

button{
    text-align: center;
    margin: 20px auto;
}

/*box*/
#box {
    padding: 80px 0;
    text-align: center;
    border-bottom:solid silver 1px ;
}

#box .col-md-3 {
    padding: 15px;
}

#box .col-md-3:hover {
    background: #f1f1f1;
    box-shadow: 1px 1px 4px #ccc;
}

#box a {
    color: #212121;
    text-decoration: none;
}

#box img {
    margin: 0 auto;
}

#box h3 {
    font-weight: bold;
}
/*sign-up*/
#sign-up{
    padding: 40px 60px;
    background-color: #00796b;
    text-align: center;
}
#sign-up a{
    width: 160px;
    height: 50px;
    margin: 30px 20px ;
}

/*p-words*/
#p-words{
    padding: 10px 0 20px 0;
    margin-bottom: 50px;
}
#p-words .col-md-12 p{
    font-size: 18px;
}
#p-words span{
    font-size: 18px;
    font-weight: bolder;
    color: orangered;
    margin-right: 5px;
}
#p-words .item p{
    display: inline;
}
#p-words .item div{
    margin-bottom: 10px;
}
#p-words .col-md-12{
    padding: 70px 10px;
}
#p-words h1{
    font-weight: bold;
}
#p-words p{
    font-size: 15px;
    margin: 20px auto;
}
.announcement, .conference, .seminars{
    margin: 100px auto;
}
.btn-warning{
    font-weight: bolder;
    background-color: darkorange;
    padding: 10px 20px;
}

#p-words #announcements .event{
    padding: 15px 10px;
}
#p-words #announcements .time{
    font-size: 20px;
    font-weight: bolder;
    color: steelblue;
}
#p-words #announcements .title{
    font-size: 16px;
    padding-left: 10px;
    font-weight: bolder;
    height: 80px;
    overflow: hidden;
}
.col-md-3 {
    padding: 0;
}

#p-words .event{
    cursor: pointer;
    width: 90%;
    background-color: #f7f7f7;
    border-radius: 5px;
    padding: 10px 5px 10px 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    transition: transform 0.3s;
}
#p-words .event:hover {
    transform: scale(1.05);
}

#p-words .event img{
    width: 100%;
}
#p-words .row h1{
    text-align: center;
    margin: 0 0 50px 0;
}
.row .event{
    text-align: left;
}
.eventCard{
    margin-bottom: 30px;
}
.event .title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-left: 10px;
    /*height: 60px;*/
    /*overflow: hidden;*/
}

.event .time {
    margin-top: 10px;
    margin-left: 10px;
    font-size: 14px;
    color: #777;
    margin-bottom: 10px;
}
.event .location {
    margin-top: 10px;
    margin-left: 10px;
    font-size: 14px;
    margin-bottom: 10px;
}
.event .speaker {
    margin-top: 10px;
    margin-left: 10px;
    font-size: 14px;
    margin-bottom: 10px;
}
.event a{
    margin-left: 10px;

}
/*页脚*/
#contact {
    color: #ffffff;
}

.filter { /*页脚背景*/
    width: 100%;
    height: 100%;
    background: rgba(33, 33, 33, 1);
    padding: 90px 0 20px 0;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

#contact h2 {
    font-weight: bold;
    margin-bottom: 25px;
    margin-top: 0;
}

#contact p {
    line-height: 25px;
    margin-bottom: 20px;
}

#contact .form-control {
    border: none;
    border-radius: 25px;
    height: 30px;
    margin-bottom: 20px;
}

#contact .col-md-2 a {
    color: white;
}

#contact textarea.form-control {
    height: auto;
}

#contact input[type="submit"] {
    background: #40d2b1;
    color: #ffffff;
    font-weight: bold;
    transition: all 0.3s;
}

#contact input[type="submit"]:hover {
    background: rgb(44, 142, 120);
}

#contact .col-md-4 h2 {
    text-align: center;
}

.foot_info{
    padding: 0 0 0 0;
}

.foot_info .info {
    text-align: right;
}

.foot_info .info span {
    line-height: 50px;
    margin-right: 10px;
    color: white;
}

.foot_info span:hover {
    color: rgb(44, 142, 120);
}

.link_icon{
    padding: 0 0 0 0;
}

.link_icon span { /*四个图标*/
    font-size: 30px;
    margin-right: 15px;
    color: gray;
}

.link_icon span:hover {
    color: rgb(44, 142, 120);
}

/*最底部Copyright*/
#footer {
    border-top: 2px solid gray;
    width: 100%;
    height: 50px;
    background: rgba(33, 33, 33, 1);
}

#footer span {
    font-size: 12px;
    color: white;
    text-align: center;
    line-height: 50px;
}

/*消除a标签下划线*/
#contact a, .info a, .link_icon a {
    text-decoration: none;
}
.text-center{
    margin-top: 30px;
}