#my-team-treatments{
    -webkit-transition:all .8s ease-in-out;

}



.container-1{
    margin-top: -111px;
  }

  
  .team-viewall{
    color: #fff;
    font-weight: bold;
    font-size: 17px;
  }

  .team-viewall:hover{
    color: #d4cdcd;
    -webkit-transition:all .2s ease-in-out;
  }

.flex{
    display: flex;
    justify-content: space-evenly;
    align-itmes: center;
}

.inner{
    max-width: 1440px;
    margin:  0 auto;
}

/* our team */

.team-wrap img{
    width: 100%;
}

.container-123
{
   width: 100%;
   height: 100vh;
   text-align: center;
   justify-content: center;
   align-items: center;
}

/* main start  */
.team-wrap{
    width: 383px;
    margin-top: 120px;
}

/* main end  */

.team-img{
    -webkit-transition:all .2s ease-in-out;
    overflow: hidden;
    /* height:; */
    width: 100%;
}

.team-member, .team-img{
    position: relative;
    overflow: hidden;
}

.team-title{
    margin: 30px 0 7px;
    font-size: 20px;
}

.overlay{
    background-color: rgba(8, 8, 8, 0.7);
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    -webkit-transition:all .2s ease-in-out;
}

.team-details{
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 0;
    padding: 5%;
    overflow: hidden;
    width: 100%;
    z-index: 2;
    -webkit-transition:all .2s ease-in-out;   
}

.team-details{
    position: absolute;
    top: 198px;
}

.team-details h2{
    color: #fff;
    font-size: 61px;
    font-family: 'PT Serif', serif;
}


.treatment-list a{
    color: #fff;
    text-decoration: none;
    padding-top: 16px;
}

.treatment-list a:hover{
  color: #d4cdcd;
    /* font-weight: bold; */
-webkit-transition:all 0.2s ease-in-out ;
}

.team-img:hover .team-details{
    opacity: 1;
    margin-top: -80px;
}

.team-img:hover .overlay{
    opacity: 1;
}

.team-img:hover .img-my-team1{     
    display: none;
}


.team-img .img-my-team2{
    display: none;
}
.team-img:hover .img-my-team2{
    display: block;
}
.socials a{
    display: inline-block;
    width: 37px;
    height: 37px;
    background-color: transparent;
}

.socials span{
    line-height: 37px;
    color: #616161;
    font-size: 14px;
    width: 37px;
    height: 37px;
    border-radius: 50%;
    text-align: center;
    -webkit-transition: all 0.2s linear;
}

.team-details .socials span{
    color: #fff;
    margin-top: 30px;
    font-size: 20px;
}

.socials a:hover span{
    color: rgb(17,13,13);
    background-color: #fff;

}



.team-img .a{
    display: none;
}


/* ------------ */

/* @media only screen and (max-width:768px) {
    .main-box{
        display: flex;
        align-items: center;
        flex-direction: column;
    }

    .team-wrap{
        width: 100%;
        margin-top: -5px;
    }


} */






/* my starts */

@media only screen and (max-width:1230px) {
    .team-wrap{
        width: 338px;
    }

    .team-details{
        position: absolute;
        top: 172px;
    }
}

@media only screen and (max-width:1100px) {
    .team-wrap{
        width: 312px;
    }
}

@media only screen and (max-width:1003px) {
    .team-wrap{
        width: 288px;
    }
}

@media only screen and (max-width:940px) {
    .team-wrap{
        width: 256px;
    }

    .team-details{
        position: absolute;
        top: 117px;
    }
}


/* my ends here  */





@media only screen and (max-width:823px) {
    .main-box{
        display: flex;
        align-items: center;
        flex-direction: column;
    }

    .team-wrap{
        width: 100%;
        margin-top: -5px;
    }



/* my st  */

    .overlay{
        display: none;
    }

    .team-img .a{
        display: block;
    }

    .container-1{
        margin-top: 0;
      }
    

/* my end  */


}
