/*栅格下控制上下左右间距用下面方式*/
[class*="col-"]{
    /*margin这里左右必须0或者不写，上下可以调整*/
    /*上右下左*/
    margin: 0.8rem 0 0 0;
    /*padding有默认值,所以默认有左右宽度*/
    padding: 0 0.5rem 0 0.5rem;
}
/*卡片外部边框效果和阴影效果 为了实现图片不同屏幕的自适应*/
.activity-card{
    /*border: 1px var(--drak) dashed;*/
    background-color:var(--bglight);
    border-radius: 1%;
    text-align: center;
    box-shadow: 0 0 5px var(--main-two);
    border: 1px transparent solid;
    /*下面这个为了放大*/
    overflow: hidden;
    padding-bottom: 3px;
}
.activity-card em{
    margin-bottom: 10px;
}
.activity-card:hover{ background-color:var(--bglight);
    /*box-shadow: 5px 5px var(--drak-light);*/
    box-shadow: 0 0 8px var(--main-two);
    border: 1px var(--main-two) solid;

}
.activity-card-body{
    display: flex;
    justify-content: center;
    padding:2px 5px 8px;
    /*padding-bottom: 5px;*/
    /*margin-top: 5px;*/
}
.activity-card-body span,.activity-card-body header{
    overflow:hidden;
    text-overflow:ellipsis;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    /*一行显示*/
    -webkit-line-clamp:1;
    }
.activity-card-body a{
     overflow:hidden;
     text-overflow:ellipsis;
     display:-webkit-box;
     -webkit-box-orient:vertical;
     /*一行显示*/
     -webkit-line-clamp:1;
    text-decoration: none;
    color: var(--the-main);
 }
/*卡片内部图片效果*/
.activity-img-responsive{
    /*响应式图片开始*/
    display:block;
    width:100%;
    /*固定高度*/
    height:350px;
    /*height: auto;*/
    /*响应式图片结束*/
    /*不要用margin*/
    /*margin: 5px 5px 5px 2px;*/
    /*padding: 0.3rem 0.3rem;*/
    border-radius: 1%;
    cursor: pointer;
    transition: all 0.6s;
}
/*鼠标悬停的效果--实现图片拉近效果*/
.activity-img-responsive:hover{
    /*放大图片*/
    /*scale(1.05,1.05)宽，高缩放 scale(1.2) 高宽都缩放*/
    /*transform:scale(1.01,1.01);*/
    transition: transform .5s;
    opacity: 0.8;
}
/*图片拉近效果 结束*/

.activity-name{
    color:var(--text-dark);
    font-size: 1rem;
    /*margin-left: 1.0rem;*/
    /*text-decoration: none;*/
}
/*报名参加的头像，在活动图片的底部*/
.activity-add-user{
    /*背景色 渐变*/
    /*如果渐变方向是对角线的话，可以用 to top right 这样的多关键字方式来实现*/
    background: linear-gradient(to top, #595959, transparent);
    display: flex;
    justify-content: start;
    align-items: center;
    padding-left: 1rem;
    /*距离相亲活动图片的位置*/
    margin-top: -52px;
    z-index: 2;
    /*overflow: hidden;*/
    position: relative;
}
.activity-add-user em{
    font-style: normal;
    margin-left: 2rem;
    margin-top: 10px;
}
.activity-add-user .activity-number{
color: var(--light-best);
    margin-bottom:10px ;
}
.activity-add-user .activity-progress{
    /*进行中*/
    background: var(--dark-success);
    color: var(--light-best);
    border-radius: 15px;
    padding: 3px 8px;
    /*自动居右*/
    margin-left: auto;
    margin-right: 1rem;
    /*margin-bottom:15px;*/
}
.activity-add-user .activity-progress:hover{
    /*进行中，鼠标悬停*/
    cursor: pointer;
    background: var(--success-two);
}
/*报名结束*/
.activity-add-user .activity-end{
    /*报名结束，活动结束*/
    background: var(--bglight-two);
    color: var(--text-dark);
    border-radius: 15px;
    padding: 3px 8px;
    /*自动居右*/
    margin-left: auto;
    margin-right: 1rem;
    margin-bottom: 13px;

}
.activity-add-user img{
    border-radius: 50%;
    margin-right: -10px;
    width: 45px;
    height: 45px;
    border:2px solid var(--bglight);
    margin-bottom: 8px;
}
.activity-name-free{
    display: inline-block;
    justify-content: center;
    /*.activity-name:hover,*/
    /*鼠标经过，字体变色*/
    color: var(--main-drak);
    cursor: pointer;
}
.activity-name i,.activity-name-free i{
    font-style: normal;
}
.activity-name .activity-address{
    margin-left: 1rem;
}
.activity-name-free{
    border-bottom: 1px solid transparent;
}
.activity-name-free:hover{
    border-bottom: 1px solid var(--the-main);
}
/*媒体查询 开始*/
/*0-480手机*/
/*手机 隐藏右侧用户列表信息 */
@media only screen and (max-width:480px) {
    .activity-add-user img{
        width: 35px;
        height: 35px;
    }
    .activity-img-responsive{
        height: auto;
    }
    .activity-add-user .activity-progress{
        /*进行中*/
        font-size: 0.9rem;
        margin-right: 0.5rem;
        margin-bottom:15px;
    }
    .activity-add-user{
        padding-left: 0.5rem;
    }
    .activity-add-user em{
        margin-left: 1rem;
    }
    .activity-add-user .activity-end {
        /*报名结束，活动结束*/
        /*margin-bottom: 25px;*/
    }
}
/*480-960平板，手机横屏*/
/*手机平板 隐藏右侧用户列表信息 */
@media only screen and (min-width: 480px) and (max-width: 960px) {
    .activity-add-user img{
        width: 35px;
        height: 35px;
    }

}
/*960PC屏幕*/
@media only screen and (min-width:960px) {

}
/*媒体查询 结束*/