.icon-shuaxin {
    display: block;
    -webkit-animation: icon-shuaxin 0.2s infinite linear;
    animation: icon-shuaxin 0.2s infinite linear;
}
@-webkit-keyframes icon-shuaxin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}
@keyframes icon-shuaxin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}
.material-card {
    position: relative;
    height: 0;
    padding-bottom: 75%;
    margin-bottom: 6.6em;
}
.material-card h2 {
    position: absolute;
    top: calc(100% - 16px);
    left: 0;
    height: 85px;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 20px;
    color: #fff;
    margin: 0;
    z-index: 10;
    transition: all 0.3s;
}
.material-card h2 a{
    color: #fff;
}
.material-card h2 span {
    display: block;
    font-size: 20px;
}
.material-card h2 strong {
    font-weight: 100;
    display: block;
    font-size: 16px;
    line-height: 1;
}
.material-card h2:before,
.material-card h2:after {
    content: ' ';
    position: absolute;
    left: 0;
    top: -16px;
    width: 0;
    border: 8px solid;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}
.material-card h2:after {
    top: auto;
    bottom: 0;
}

.material-card.mc-active h2 {
    top: 0;
    padding: 10px 16px 10px 90px;
}
.material-card.mc-active h2:before {
    top: 0;
}
.material-card.mc-active h2:after {
    bottom: -16px;
}
.material-card .mc-content {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 16px;
    left: 16px;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}
.material-card .mc-btn-action {
    position: absolute;
    right: 16px;
    top: 15px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    border: 5px solid;
    width: 54px;
    height: 54px;
    line-height: 44px;
    text-align: center;
    color: #fff;
    cursor: pointer;
    z-index: 20;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}
.material-card.mc-active .mc-btn-action {
    top: 62px;
}

.material-card .mc-description {
    position: absolute;
    top: 0;
    width: 100%;
    height: calc(100% - 90px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5% 5% 0;
    left: 0;
    overflow: hidden;
    opacity: 0;
    filter: alpha(opacity=0);
    -webkit-transition: all 1.2s;
    -moz-transition: all 1.2s;
    -ms-transition: all 1.2s;
    -o-transition: all 1.2s;
    transition: all 1.2s;
    z-index: -1;

}
.mc-description p{
    line-height: 2;
    text-align: justify;
}
.mc-description p img{
    width: 80%;
    margin: 0 auto;
}

.material-card .mc-footer {
    height: 0;
    overflow: hidden;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}
.material-card .mc-footer h4 {
    position: absolute;
    top: 200px;
    left: 30px;
    padding: 0;
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    -webkit-transition: all 1.4s;
    -moz-transition: all 1.4s;
    -ms-transition: all 1.4s;
    -o-transition: all 1.4s;
    transition: all 1.4s;
}

.material-card .img-container {
    overflow: hidden;
    position: absolute;
    background: #fff;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}
.material-card.mc-active .img-container {
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    left: 0;
    top: 12px;
    width: 60px;
    height: 60px;
    z-index: 20;
    padding: 0;
}
.material-card .img-container img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.material-card.mc-active .mc-content {
    padding-top: 5.6em;
}

.material-card .x-mask {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: -2;
    top: 89px;
    background: #eee;
}
.material-card .x-mask img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .2;
    filter: blur(5px);
}
.material-card.mc-active .x-mask {
    opacity: 1;
    z-index: 1;
}

.material-card.mc-active .mc-description {
    top: 90px;
    opacity: 1;
    filter: alpha(opacity=100);
    z-index: 2;

}

.material-card.mc-active .mc-footer {
    overflow: visible;
    position: absolute;
    width: calc(100% - 16px);
    top: calc(100% - 16px);
    left: 16px;
    right: 0;
    height: 90px;

}
.material-card.mc-active .mc-footer a {
    top: 0;
    background: var(--web-color);
}
.material-card.mc-active .mc-footer h4 {
    top: -32px;
}
.material-card.Red h2 {
    background: var(--web-color);

}
.material-card.Red h2:after {
    border-top-color: var(--web-color);
    border-right-color: var(--web-color);
    border-bottom-color: transparent;
    border-left-color: transparent;
}
.material-card.Red h2:before {
    border-top-color: transparent;
    border-right-color: #e98c8c;
    border-bottom-color: #e98c8c;
    border-left-color: transparent;
}
.material-card.Red.mc-active h2:before {
    border-top-color: transparent;
    border-right-color: var(--web-color);
    border-bottom-color: var(--web-color);
    border-left-color: transparent;
}
.material-card.Red.mc-active h2:after {
    border-top-color: #e98c8c;
    border-right-color: #e98c8c;
    border-bottom-color: transparent;
    border-left-color: transparent;
}
.material-card.Red .mc-btn-action {
    background-color: var(--web-color);
}
.material-card.Red .mc-btn-action:hover {
    background-color: #B71C1C;
}
.material-card.Red .mc-footer h4 {
    color: #B71C1C;
}
.material-card.Red .mc-footer{
    text-align: center;
}
.material-card.Red.mc-active .mc-content {
    background-color: #f5f5f5;
}
.material-card.Red.mc-active .mc-footer {
    position: absolute;
    z-index: 2;
}
.material-card.Red.mc-active .mc-btn-action {
    border-color: #FFEBEE;
}

@media (max-width:992px) {
    .material-card{
        height: auto;
        padding: 0;
        margin-bottom: 10px;
    }
    .mc-btn-action,
    .material-card .x-mask,
    .material-card.Red h2:before,
    .material-card h2 strong{
        display: none;
    }
    .material-card .mc-content{
        position: relative;
        left: 0;
        bottom: auto;
    }
    .material-card .img-container{
        position: relative;

    }
    .material-card h2{
        height: auto;
        padding: 10px;
        position: relative;
    }
    .material-card h2 span{
        font-weight: normal;
        font-size: 16px;
    }
}