img.profile_thumb:not(.large) {
    border-radius: 100%;
}

a.modal_trigger_wrap {
    text-decoration: none;
}

/*Compact*/

.bio.compact .team_popup {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bio.compact img {
    width: auto;
    height: 35px;
}

.bio.compact .thumb img {
    margin-right: 10px;
}
.compact .name {
    width: calc(100% - 60px);
    padding-left: 10px;
    color: #004048;
    font-size: 20px;
    font-weight: 600;
}

.modal .name h4 br {
    display: none;
}
/*Full*/
.uael-modal-photo-wrap {
    max-width: 200px;
    margin: auto;
}

.bio.full {
    text-align: center;
}

.bio.full h2 {
    color: #40beb4;
    font-family: brandon-grotesque;
    font-size: 23px;
    margin: 20px auto;
    letter-spacing: 1px;
}

.bio.full h4 {
  font-family: brandon-grotesque;
  color: #323e48;
  font-weight: 400;
  font-size: 19px;
  line-height: 25px;

}

.modal_trigger_wrap {
    cursor: pointer;
}


/*MODAL*/
.modal a.close-modal {
    background-image: url(close.png);
}
.jquery-modal.blocker.current {
    z-index: 109;
    background: rgba(64, 190, 180,0.8);
}

.modal {
    top: 40px;
    max-width: 750px;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
    background: none;
}
.modal.with_child {
    max-width: 1000px;
}

.modal.with_child .inner {
    display: flex;
}

.modal .content {
    padding: 45px;
    background: white;
}

.modal .inner .image {
    min-width: 46%;
    background-size: 100% auto;
    background-position: top center;
    background-repeat:no-repeat;
}

.modal .inner .image img {
    opacity: 0;
    max-width: 100%;
}
/*SCROLL*/
@media all and (min-width: 1051px) {
    .modal.with_child .scroll {
        position: absolute;
        width: auto;
        height: 100%;
        overflow-y: scroll;
        padding: 45px;
    }
    .modal.with_child .content {
        padding: 0;
        width: 100%;
    }
}

/*Break*/
@media all and (max-width: 1050px) {
    .modal .inner {
        flex-direction: column;
    }
    
}

.modal .name h4 {
    font-weight: 400;
    font-style: italic;
}
.modal .name h4 br {
    display: none;
}

.modal .name h2 {
    color: var(--FinBlue);
    letter-spacing: 1px;
}

.modal .toprow {
    display: flex;
    justify-content: space-between;
}

.modal .toprow .social {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 7px;
}
.modal .toprow .social a {
    margin-left: 10px;
}
.modal .toprow .social a img {
    width: 24px;
}

.modal .toprow .social a.twitter img {
    top: 5px;
}

.modal .content .body {
    margin-top: 30px;
    font-size: 20px;
    font-weight: 400;
    color: #323e48;
}

.modal a {
    color: var(--FinBlue);
}
@media all and (max-width: 550px) {
    .modal .content {
        padding: 50px 30px;
    }
     .modal .name h2 {
         font-size: 35px;
     }
 }

 .mobileclose {
    display: none;
}
@media all and (max-width: 768px) {
    .modal {
        width: 100%; 
        top: 0;
        max-width: none;
    }

    .jquery-modal.blocker.current {
        background: white;
        padding: 10px;
    }

    .mobileclose {
        display: block;
    }
    .modal a.close-modal {
        right: -9px;
        top: -9px;
        width: 40px;
        height: 40px;
    }
}