﻿#team .main-banner-slong{
    color: #FFF;
}
.team-block{
    width: 1200px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    font-size: 0;
    padding: 40px 0;
    padding-top: 80px;
}

.team-list{
    width: 280px;
    max-width: 100%;
    display: inline-block;
    vertical-align: top;
    position: relative;
    margin-right: 26px;
    margin-bottom: 20px;
}
.team-box .team-list:nth-child(4n+4){
    margin-right: 0px;
}

.team-list-img{
    width: 100%;
    height: 344px;
    display: block;
    position: relative;
    overflow: hidden;
}
.team-list-img span{
    width: 100%;
    height: 100%;
    transition: all .3s linear;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: block;
}
.team-list-info-box{
    width: 95%;
    max-width: 100%;
    display: block;
    position: relative;
    top: -20px;
    margin: 0 auto;
    background-color: #FFF;
    padding: 10px;
    box-shadow: rgba(0, 0, 0, 0.7) 0px 1px 9px;
    box-sizing: border-box;
}
.team-list-title{
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 1px;
    display: block;
    text-align: center;
   
}
.team-list-title span{
    font-size: 20px;
    padding-left: 20px;
    display: inline-block;
}

.team-list-class{
    font-size: 22px;
    font-weight: bold;
    color: #008cd6;
    display: block;
    text-align: center;
    letter-spacing: 1px;
     padding-bottom: 10px;
}

.team-list-p{
    font-size: 14px;
    letter-spacing: 2px;
    text-align: justify;
    line-height: 1.6;
    max-height: 0px;
    overflow: auto;
    overflow:hidden;overflow-y:auto;
    -webkit-overflow-scrolling: touch;
}
.team-list-p{

    transition: all .3s linear;
}


.team-class-list-box{
    width: 100%;
    display: block;
    box-sizing: border-box;
}
.team-class-list-box li:last-child{
    margin-right: 0;
}
.team-class-list{
    display: inline-block;
    vertical-align: top;
    padding-bottom: 20px;
    margin-right: 20px;

}

.team-class-icon{
    width: 20px;
    height: 19px;
    display: inline-block;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-image: url('../img/front/team_icon.png');
    vertical-align: middle;
    margin-right: 5px;
}
.team-class{
    font-size: 20px;
    display: inline-block;
    vertical-align: middle;
    transition: all .5s ease;
}
.team-box{
    padding-top: 30px;
}
.staute-class {
    width: 100%;
    height: 40px;
    line-height: 40px;
    display: none;
    border: 1px solid #252532;
    padding-left: 10px;
    box-sizing: border-box;
    position: relative;
    font-size: 18px;
    color: #333333;
    letter-spacing: 2px;
    cursor: context-menu;
}
.staute-class:before {
    content: 'normal';
    width: 1px;
    height: 100%;
    display: block;
    position: absolute;
    background-color: #252532;
    top: 0;
    right: 40px;
    font-size: 0;
}
.staute-class:after {
    content: 'normal';
    font-size: 0;
    width: 0px;
    height: 0px;
    margin: 0 auto;
    border-right: 10px solid transparent;
    border-top: 10px solid #008cd6;
    border-left: 10px solid transparent;
    display: block;
    position: absolute;
    bottom: 12px;
    right: 10px;
}
#team-page .host-list-info{
    width: 100%;
    float: initial;
}


.team-list-info-pdf-link{
    width: 50px;
    height: 50px;
    display: block;
    position: absolute;
    right: 0;
    top: -30px;
    background-color: #FFF;
    z-index: 2;
    border-radius: 50%;
    border: 2px solid #008cd6;
    box-sizing: border-box;
    text-align: center;
    line-height: 46px;
    font-size: 24px;
    cursor: pointer;
    transition: all .5s ease;
}
.team-list-info-pdf-link i{
    color: #008cd6;
    transition: all .5s ease;
}
.fancybox-table2{
    display: none;
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999999;
    background-color: rgba(0,0,0,0.8);

}
.fancybox-table2.active{
    display:         flex;
    display: -webkit-flex;
          align-items: center;
    -webkit-align-items: center;
          justify-content: center;
    -webkit-justify-content: center;
}


.fancybox2-block{
    width: 100%;
    display: block;
    max-width: 100%;
    padding: 0 50px;
    box-sizing: border-box;
    overflow: auto;
    position: relative;
    z-index: 3;
}

.pic-list{
    height: 100vh;
}
.pic-list-img{
    width: 100%;
    height: 100%;
    display: block;
}
.pics-block .slick-next:before,
.pics-block .slick-prev:before{
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 55px;
    opacity: 1;
}
.pics-block .slick-next:before{
    content: '\f0da';
}
.pics-block .slick-prev:before{
    content: '\f0d9';
}
@media only screen and (min-width: 1000px){
    .team-list{
        opacity: 0;
    }
    .team-list-p.p-active{
        max-height: 130px;
    }
    .team-list.active{
        animation: fade .8s linear 0s 1 forwards;
    }
    .team-class-list:hover .team-class,
    .team-class-list.active .team-class{
        color: #008cd6;
        font-weight: bold;
    }
    .team-list-info-pdf-link:hover{
        background-color: #008cd6;
   
    }
    .team-list-info-pdf-link:hover i{
        color: #FFF;
    }
}
@media only screen and (max-width: 1200px){
    .team-block{
        width: 1000px;
    }
    .team-list{
        width: 230px;
    }
    .team-list-img{
        height: 282px;
    }
}

@media only screen and (max-width: 1000px){

    .team-class-list-box{
        display: none;
    }
    .team-class {
        font-size: 16px;
    }
    .team-class-list a{
        display: block;
    }
    .team-class-list{
        display: block;
        margin-right: 0;
        padding: 7px 10px;
        box-sizing: border-box;
        border-bottom: 1px solid #252532; 
    }
    .team-class-list:last-child{
        border-bottom: 0;
    }
    .team-class-list-box{
        border: 1px solid #252532; 
        border-top: 0;
    }



    .staute-class{
        display: block;
    }
    .team-block{
        width:750px; 
    }
    .team-box .team-list:nth-child(4n+4){
        margin: 0;
        margin-bottom: 20px;
    }
    .team-box .team-list:nth-child(even){
        margin-right: 0;
    }
    .team-list{
        width: 349px;
    }
    .team-list-img{
        height: 429px;
    }
    .team-list-info-box{

    }
    .team-list-p{
        max-height: inherit;
    }
   
}
@media only screen and (max-width: 750px){
    .team-block{
        width: 550px;
    }
    .team-list {
        width: 262px;
    }
    .team-list-img{
        height: 322px;
    }
}
@media only screen and (max-width: 550px){
   
    .team-block{
        width: 300px;
        padding-top: 40px;
    }
    .team-class {
        font-size: 16px;
    }
    .team-class-list{
        margin-right: 10px;
        padding-bottom: 10px;
    }
    .team-list{
        width: 100%;
    }
    .team-list-img{
        height: 405px;
    }
    .pics-block .slick-next:before, .pics-block .slick-prev:before {
        font-size: 30px;
    }
}