@font-face {
    font-family: 'Josefin';
    src: local('JosefinSans-Light'), url('../fonts/JosefinSans-Light.ttf') format('truetype');
}
/* use this class to attach this font to any element i.e. <p class="fontsforweb_fontid_11020">Text with this font applied</p> */
.fontsforweb_fontid_11020 {
    font-family: 'Josefin' !important;
}
    
.wrap_t{
    margin:0 auto;
    width:100%;
    overflow: hidden;
    display:flex;
    flex-direction:column;
    gap:2.8rem;
}

.mycontainer {
    position: relative;
    width: 300px;
    margin: 0 5%;
    float:left;
}

hr{
    color: black;
    opacity: 0.5;
}

.person-header{
    position: relative;
    top:30px;
    padding:12px 30px;
    font-family: 'Josefin', sans-serif;
    text-transform: uppercase;
    font-size: 40px;
}

.teambg{
    height: 30%;
    overflow: hidden;
    background-attachment: fixed;
    background-size: contain;
    background-image: url('../img/team_bg.png');
}
.person_text-header{
    font-family:"Courier New";
    font-size:40px;
    text-transform: uppercase;
}

#line1,#line2{
    position: relative;
    left:-200px;
    margin-bottom: 10px;
}


#line1 p, #line2 p{
    float: left;
    padding: 0 8px;
    color: white;
    border-radius: 8px;
}

#line1 p{
    background: #85929E;
}

#line2 p{
    background: #34495E;
}

.rowt{
    overflow: hidden;
    margin: 20px;
}
.rowt + .rowt{
    margin: 20px;
}

#over1{
    position: relative;
    opacity: 0;
    top:200px;
    width: 50%;
    margin: 0 auto;
}

.rowt .one,.rowt .two,.rowt .three{
    position: relative;
    top:300px;
    opacity: 0;
}

.topt{
    margin: 0 9%;
}

.wrap-row{
    padding: 5px 5px;
    overflow: hidden;
    margin: 0px 12%;
}

.wrap-row2{
    padding: 5px 5px;
    overflow: hidden;
    margin: 0px 0px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap:2rem;
}

.image {
    display: block;
    width: 100%;
    border:3px solid #ddd;
    padding:5px;
    border-radius:50%;
    height: auto;
}
.team-dv{
    display: none;
}
.divider-t{
    display: block;
    height: 1px;
    margin: 25px 5px;
    position: relative;
    left:-900px; 
    background: rgba(0,0,0,0.5);
    box-shadow: 0px 0.2px 0px black;
}
.overlay3 {
    position: absolute;
    bottom: 0;
    left: 100%;
    right: 0;
    border-radius:50%;
    background-color: transparent;
    overflow: hidden;
    width: 0;
    height:100%;
    opacity: 0;
    transition: .5s ease;
}

.overlay2 {
    position: absolute;
    border-radius:50%;
    bottom: 100%;
    left: 0;
    right: 0;
    opacity: 0;
    background-color: transparent;
    overflow: hidden;
    width: 100%;
    height:0;
    transition: .5s ease;
}

.overlay1 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0;
    border-radius:50%;
    background-color: transparent;
    overflow: hidden;
    width: 0;
    height:100%;
    transition: .5s ease;
}


.mycontainer:hover .overlay1 {
    width:100%;
    opacity:1;
}

.mycontainer:hover .overlay2{
    bottom: 0;
    opacity: 1;
    height: 100%;
}

.mycontainer:hover .overlay3{
    width:100%;
    left: 0;
    opacity: 1;
}

.mycontainer:hover .image{
    border: 3px solid black;
	-webkit-filter:opacity(50%);
    filter: opacity(50%);
}

.text {
    white-space: nowrap; 
    color: black;
    font-size: 30px;
    font-family: 'Open Sans', sans-serif;
    position: absolute;
    overflow: hidden;
    top: 30%;
    left: 53%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}

.designation{
    white-space: nowrap; 
    color: white;
    float: left;
    text-transform: uppercase;
    font-family:"Courier New";
    background: #17202A;
    font-size: 17px;
    padding: 2px 8px;
    position: absolute;
    overflow: hidden;
    border-radius: 4px;
    top: 40%;
    left: 53%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    margin-top:5px;
    margin-bottom:10px;
    text-align:center;
}

.largename{
    top:45%;
}

.social_t{
    position: absolute;
    color: orange;
    width: 50%;
    margin: 0 auto;
    overflow: hidden;
    top: 60%;
    left: 53%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}

.sm_ul{
    display: flex;
    justify-content: center;
}

.social_t li{
    float: left;
    margin: 2px 10px;
}

.fa-facebook-official.team, .fa-instagram.team,.fa-twitter-square.team,.fa-linkedin-square.team,.fa-google-plus-square, .fa-github.team, .fa-envelope-o{
    color:#2B404D;
}

.fa-linkedin-square.team:hover{ 
    color: #0077B5;
    transform: scale(1.25);
}
.fa-google-plus-square:hover{
    color:#dd4b39 ;
    transform: scale(1.25);
}

.fa-envelope-o.team:hover{
    transform:scale(1.25);
}

.fa-envelope-o:hover{
    transform:scale(1.25);
}



.person{
	position:relative;
	overflow:hidden;
	height:auto;
    margin: 0 auto;
	margin-left:0%;
}

@media (min-width: 1500px){
    .mycontainer{
        margin: 0 3rem;
  }
}


@media (max-width: 1150px){
    .social_t{
        width: 60%;
    }
    .social_t li{
        margin: 2px 7px;
    }
    .designation{
        margin-top: 10px;
    }
    .mycontainer{
        width: 250px;
        margin: 0 3%;
    }
    .topt{
        margin: 0 30px;
    }
}

@media (max-width: 1024px){
    .social_t{
        width: 70%;left:63%;
    }
    .social_t li{
        margin: 2px 7px;
    } 
    .mycontainer{
        width: 200px;
        margin: 0 3%;
    }
    .topt{
        margin: 0 5%;
    }
    .sect{
        margin: 0 5%;
    }
    .wrap-row2{}
    .wrap-row{}
    .wrap_t{
        padding: 1%;
    }
    .text{
        font-size: 21px;
        font-weight: bold;
    }
    .designation{
        font-size: 13px;
    }
}

@media (max-width: 925px){
    .topt{
        margin: 0 6%;
    }
    .sect{
        margin: 0 3%;
    }
    .wrap-row{
        margin: 0 150px;
    }
}

@media (max-width: 850px){
    .mycontainer{
        width: 35%;
        margin-bottom: 20px;
        margin-left: 15%;
        float: none;
    }
    .wrap-row2{
        margin: 0;
    }
    .wrap-row{
        margin: 0;
    }
    .teambg{
      height: 20%;
    }
    .divider-t{
        left:0;
    }
    #teamicon{
        width: 250px;
        height: 120px;
    }
    .person-header{
        font-size: 30px;
        top: 15px;
    }
    .team-dv{
        display: block;
    }
    .overlay1{
        width: 100%;
        opacity: 1;
        border-radius: 0;
        left :250px;
        overflow: visible;
        opacity: 100%;
    }
    .overlay2{
        bottom: 0;
        opacity: 1;
        overflow: visible;
        border-radius: 0;
        height: 100%;
        left :250px;
        opacity: 100%;
    }
    .mycontainer:hover .image{
        -webkit-filter:opacity(100%);
        filter: opacity(100%);
    }
    .rowt{
        margin: 0;
    }
    .rowt +.rowt{
        margin: 0;
    }
    .mycontainer:hover .overlay3{
        left:250px;
    }
    .overlay3{
        width:100%;
        overflow: visible;
        border-radius: 0;
        left: 250px;
        opacity: 1
    }
    .text{
        color:#392D25;
        font-size: 30px;
        font-weight: normal;
    }
    .designation{
        margin-top: 15px;
        font-size: 18px
    }
    .social_t{
        margin-top: 10px;
    }
}


@media (max-width: 640px){
    .ccc.last{
        margin-bottom: -25px;
    }
    .designation{
        position: relative;
        left: 57%;
        margin-top: 5%;
    }  
    .person-header{
        width: 95%;
    }
    .overlay1,.overlay2,.overlay3{
        border-radius: 0;
        left: 200px;
    }
    .mycontainer:hover .overlay3{
        left: 200px;
    }
    .social_t{
        top:70%;
        width: 95%;
    }
    .largename{
      top: 50%;
    }
}

@media (max-width: 500px){
    .person-header{
        font-size: 30px;
        top: 15px;
    }
    #teamicon{
        width: 200px;
        height: 100px;
    }
    .overlay3, .overlay2, .overlay1{
        left:190px;
    }
    .mycontainer:hover .overlay3{
        left:190px;
    }
    .designation{
        left: 55%;
    }
    .mycontainer{
        width: 40%;
        margin-left: 0;
    }
}


@media (max-width: 380px){
    .wrap-row,.wrap-row2,.topt,.sect{
        margin: 0;
    }
    .mycontainer{
        margin-left: 0;
    }
    .overlay3, .overlay2, .overlay1{
        left:170px;
    }
    .mycontainer:hover .overlay3{
        left:170px;
    }
    .text{
        font-size: 20px;
    }
    .designation{
        font-size: 12px;
    }
    .social_t{
        left: 55%;
    }
    .social_t li{
        margin: 2px 4px;
    }
}

@media (max-width: 300px){
    .ccc.last{
        margin-bottom: 0px;
    }
    .overlay3, .overlay2, .overlay1{
        left:140px;
    }
}