/*
* Plugin Name: Zest Team Member Plugin
* Plugin URI: https://tdp.zestdev.com
* Description: Making Team Member section
* Version: 0.1
* Author: Zest digital
* Author URI: https://www.zestdigital.co
*/

/* updated CSS for team memebers */
  

.pt-member-name {
  min-height: 70px;
}

.pt-team-social {
  display: none;
}

/* Name And Job Title */

.teamlist-shortcode .pt-team-info {
  border-radius: 3px;
  background: var(--white-color);
  padding: 20px 15px;
  margin: -8% 4%;
  text-align: center;
  position: relative;
  transform: translateY(-30px);
  -moz-transform: translate(-30px);
  -webkit-transform: translate(-30px);
  -o-transform: translate(-30px);
  -ms-transform: translate(-30px);
  transform: translateY(-30px);
  transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  -webkit-transition: all 0.5s ease-in-out;
  cursor: pointer;
  -webkit-box-shadow: 0px 0px 30px 0 rgba(0, 20, 9, 0.1);
  -moz-box-shadow: 0px 0px 30px 0 rgba(0, 20, 9, 0.1);
  box-shadow: 0px 0px 30px 0 rgba(0, 20, 9, 0.1);
}

.teamlist-shortcode .pt-team-info p {
    color: var(--e-global-color-primary);
    font-size: 14px;
    line-height: 15px;
    font-weight: 400 !important;
    display: inline-block;
    width: 100%;
    text-transform: uppercase;
    margin: auto !important;
    min-height: 23px;
}

.teamlist-shortcode .pt-team-info h3 {
  color: var(--e-global-color-primary);
  font-family: var(--e-global-typography-b0f1cae-font-family), Sans-serif;  
  font-weight: 300 !important;
  margin-bottom: 7px !important;
  height: 44px;
}

.pt-team-box.pt-style-1 .pt-team-img img {
  height: 380px;
  object-fit: cover;
}

.teamlist-shortcode {
  width: 24.6% !important;
  display: inline-flex !important;
  margin: auto;
}

.teamlist-shortcode img {
  margin-bottom: 25px;
  height: 355px !important;
  object-fit: cover;
  border-radius: 3px !important;
}

.teamlist-shortcode .pt-team-info h3 {
  font-size: 25px !important;
  line-height: 22px !important;
}


/* line */

.teamlist-shortcode:nth-child(3n) {
  margin-right: 0px;
}

.teamlist-shortcode h3 {
  font-family: var(--e-global-typography-b0f1cae-font-family), Sans-serif;
  font-size: var(--e-global-typography-b0f1cae-font-size);
  font-weight: var(--e-global-typography-b0f1cae-font-weight);
  line-height: var(--e-global-typography-b0f1cae-line-height);
  letter-spacing: var(--e-global-typography-b0f1cae-letter-spacing);
  word-spacing: var(--e-global-typography-b0f1cae-word-spacing);
  color: var(--e-global-color-primary);
}

.teamlist-shortcode p {
  color: var(--e-global-color-primary);
  font-family: var(--e-global-typography-text-font-family), Sans-serif;
  font-size: 16px;
  font-weight: var(--e-global-typography-text-font-weight);
  line-height: var(--e-global-typography-text-line-height);
  letter-spacing: var(--e-global-typography-text-letter-spacing);
  word-spacing: var(--e-global-typography-text-word-spacing);
}

.teamlist-shortcode a:hover {
  opacity: 0.6;
}

@media only screen and (max-width: 1199px) {
  .teamlist-shortcode {
    width: 23.8% !important;
    display: inline-flex;
    margin: auto;
  }

  .teamlist-shortcode img {
    margin-bottom: 25px !important;
    height: 225px !important;
  }
.teamlist-shortcode .pt-team-info {
}

  .teamlist-shortcode .pt-team-info h3 {
    font-size: 22px !important;
    line-height: 22px !important;
    min-height: 44px;
  }
}

@media only screen and (max-width: 840px) {
  .teamlist-shortcode {
    width: 49% !important;
    margin-bottom: 15px;
  }

  .teamlist-shortcode img {
    margin-bottom: 3% !important;
    height: 345px !important;
    
  }

  .teamlist-shortcode .pt-team-info p {
    font-size: 12px !important;
  }
}

@media (max-width: 839px) {
  .pagelist-shortcode:nth-child(3n) {
    margin-right: 0px;
  }
  .pagelist-shortcode:nth-child(2n) {
    margin-right: 0px;
  }
  .pagelist-shortcode img {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .teamlist-shortcode {
    width: 49.4% !important;
    padding-bottom: 0px;
    float: none;
    margin: 0px;
    margin-bottom: 3%;
  }
  .teamlist-shortcode:nth-child(3n) {
    margin-right: 0px;
  }
  .teamlist-shortcode img {
    min-width: 45vw;
  }
.teamlist-shortcode:nth-child(1n) {
    padding-right: 0px;
  }
}

@media only screen and (max-width: 580px) {
  .pt-team-box.pt-style-1 .pt-team-img img {
    height: 190px !important;
  }

  .teamlist-shortcode img {
    margin-bottom: 3% !important;
    height: 250px !important;
  }

  .pt-member-name {
    min-height: 90px;
  }
}

@media (max-width: 480px) {
  .teamlist-shortcode {
    width: 49.4% !important;
    padding-bottom: 0px;
    float: none;
    margin: 0px;
    margin-bottom: 0px;
  }
  .teamlist-shortcode:nth-child(1n) {
    padding-right: 0px;
  }
  .teamlist-shortcode img {
    width: 100%;
    height: 210px !important;
  }
}

@media (max-width: 390px) {
  .teamlist-shortcode {
    width: 48.4% !important;
    padding-bottom: 0px;
    float: none;
    margin: 0px;
    margin-bottom: 0px;
  }

