/* tdp-a11y-relative-font-sizes: converted copy of https://www.theharleystreetdermatologyclinic.co.uk/wp-content/plugins/Zest%20Team%20Member%20Plugin/styles.css */
/*
* 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;
}

.teamlist-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    flex-basis: revert-layer;
}

/* Name And Job Title */
.teamlist-shortcode {
    width: 25%;
    display: inline-block;
    margin: auto;
    float: left;
    padding: 0;
    background-color: white;
    border-radius: 4px 4px 4px 4px;
    box-shadow: 0px 3px 16px 0px rgb(0 0 0 / 0%);
    height: 100%;
    margin-bottom: 30px;
    flex-basis: 260px;
    margin-top: 0;
}

.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: 0.875rem;
    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 img {
    margin-bottom: 25px;
    height: 355px !important;
    object-fit: cover;
    border-radius: 3px !important;
}

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

/* line */

.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: 1rem;
    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 img {
        margin-bottom: 25px !important;
        height: 225px !important;
    }

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

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

    .teamlist-shortcode .pt-team-info p {
        font-size: 0.75rem !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 img {
        min-width: 45vw;
    }
}

@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 img {
        width: 100%;
        height: 210px !important;
    }
}
