/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

 .directory-widget-wrapper {
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center;
}

.employee-card {
    width: 19%; 
    min-width: 180px; 
    padding: 1.5em 0.2em; 
    text-align: center; 
    box-shadow: 0 2px 3px rgba(10,10,10,0.1); 
    border: 1px solid #DEDEDE; 
    font-family: Roboto; 
    margin: 0 1% 2em 1%;
    page-break-inside: avoid;
}

.employee-card .employee-name {
    font-weight: 300; 
    font-size: 1.2em; 
    margin: 0;
}

#content-wrap p.employee-name {
    margin-bottom: 0 !important;
}

#content-wrap p.employee-phone {
    margin-bottom: 0.2em !important;
}

.employee-card .employee-title {
    font-size: 0.9em; 
    font-weight: 300; 
    margin: 0; 
    color: #555555; 
    line-height: 1.1em; 
    padding-bottom: 0.5em;
}

.employee-card .employee-email, .employee-card .employee-phone, .employee-card .mobile-email-button {
    font-size: 0.8em; 
    line-height: 1.1em;
    margin: 0;
}

.employee-card .employee-website {
    font-size: 0.8em; 
    line-height: 1.1em;
    margin: 0;
    padding-top: 0.7em;
}

.employee-card .mobile-email-button {
    display: none;
    text-decoration: underline;
}

.employee-card .mobile-email-button .elementor-button-icon {
    margin-right: 8px;
}


@media only screen and (max-width: 425px) {
    .employee-card {
        width: 45%; 
        min-width: 0; 
        padding: 1.5em 0.2em; 
        margin: 0 2% 1em 2%;
    }

    .employee-card .employee-name {
        font-size: 1em; 
    }

    #content-wrap .employee-card .employee-title {
        font-size: 0.8em; 
        line-height: 1.1em; 
        padding-bottom: 0.2em;
        margin-bottom: 0.5em!important;
    }

    .employee-card .mobile-email-button {
        display: inline-block;
    }

    .employee-card .employee-email {
        display: none;
    }
  }