/*** Share Button ***/
  /*.view-modal, .popup {
    position: absolute;
    left: 50%;
  }*/
  .staff-share {
    position: absolute;
    left: 50%;
  }

.view-modal {
    /*top: 10%;
    left: 90%;*/
    font-weight: bold;
    /*transform: translate(-50%, -50%);*/
    outline: none;
    cursor: pointer;
    transition: background 0.1s linear, border-color 0.1s linear, color 0.1s linear;
    color: white;
    padding: .5rem 1rem;
    font-size: 15px;
    font-weight: 600;
    background: #ffb81c;
    /*border: 1px solid #966D15;
    box-shadow: 0px 2px 2px #7E5C14;*/
    border-radius: 4px;
    margin-top: 0.2rem;
    margin-bottom: 0.64rem;
  }
 
  .view-modal:hover {
    background: #003b5c;
  }
  .staff-share{
    background: rgb(255, 254, 254);
    padding: 25px;
    border-radius: 15px;
    top: 10%;
    max-width: 380px;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0px 10px 15px rgba(0,0,0,0.1);
    transform: translate(-50%, -50%) scale(1.2);
    transition: top 0s 0.2s ease-in-out,
                opacity 0.2s 0s ease-in-out,
                transform 0.2s 0s ease-in-out;
  }
  .staff-share.show{
    position: fixed;
    top: 50%;
    left: 50%;
    opacity: 1;
    pointer-events: auto;
    transform:translate(-50%, -50%) scale(1);
    transition: top 0s 0s ease-in-out,
                opacity 0.2s 0s ease-in-out,
                transform 0.2s 0s ease-in-out;
  
  }
  .staff-share :is(.share-modal-header, .staff-share-icons, .staff-share-field){
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .staff-share .share-modal-header {
    padding-bottom: 15px;
    border-bottom: 1px solid #ebedf9;
  }
  .share-modal-header span{
    font-size: 21px;
    font-weight: 600;
  }
  div.staff-share-icons {
    margin-left: 0!important;
    padding: 0 2rem;
  }
  .share-modal-header .close, .staff-share-icons a{
    display: flex;
    align-items: center;
    border-radius: 50%;
    justify-content: center;
    transition: all 0.3s ease-in-out;
  } 
  .share-modal-header .close{
    color: #878787
    font-size: 17px;
    background: #f3f3f3;
    height: 33px;
    width: 33px;
    cursor: pointer;
  }
  .share-modal-header .close:hover{
    background: #ebedf9;
  }
  .staff-share .content{
    margin: 20px 0;
  }
  .staff-share .staff-share-icons{
    margin: 15px 0 20px 0;
  }
  .staff-share-content {
    padding-top: 1rem;
  }
  .staff-share-content p{
    font-size: 16px;
  }
  .staff-share-content .staff-share-icons a{
    height: 50px;
    width: 50px;
    font-size: 20px;
    text-decoration: none;
    border: 1px solid transparent;
  }
  .staff-share-icons a i{
    transition: transform 0.3s ease-in-out;
  }
  .staff-share-icons a:nth-child(1){
    color: #1877F2;
    border-color: #b7d4fb;
  }
  .staff-share-icons a:nth-child(1):hover{
    background: #1877F2;
  }
  .staff-share-icons a:nth-child(2){
    color: #46C1F6;
    border-color: #b6e7fc;
  }
  .staff-share-icons a:nth-child(2):hover{
    background: #46C1F6;
  }
  /*.staff-share-icons a:nth-child(3){
    color: #e1306c;
    border-color: #f5bccf;
  }
  .staff-share-icons a:nth-child(3):hover{
    background: #e1306c;
  }
  .staff-share-icons a:nth-child(4){
    color: #25D366;
    border-color: #bef4d2;
  }
  .staff-share-icons a:nth-child(4):hover{
    background: #25D366;
  }*/
  .staff-share-icons a:nth-child(3){
    color: #0088cc;
    border-color: #b3e6ff;
  }
  .staff-share-icons a:nth-child(3):hover{
    background: #0088cc;
  }
  .staff-share-icons a:hover{
    color: #fff;
    border-color: transparent;
  }
  .staff-share-icons a:hover i{
    transform: scale(1.2);
  }
  .staff-share-content .staff-share-field{
    margin: 12px 0 -5px 0;
    height: 45px;
    border-radius: 4px;
    padding: 0 5px;
    border: 1px solid #757171;
  }
  .staff-share-field.active{
    border-color: #7d2ae8;
  }
  .staff-share-field i{
    width: 50px;
    font-size: 18px;
    text-align: center;
  }
  .staff-share-field.active i{
    color: #7d2ae8;
  }
  .staff-share-field input{
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    font-size: 15px;
    background-color: white!important;
    margin: 0!important;
  }
  .staff-share-field button{
    color: #fff;
    padding: 5px 18px;
    margin: 0!important;
    /*background: #7d2ae8;*/
  }

/*** Staff Banner ***/
.staff-profile {
    font-family: 'Open Sans';
    color: #444444;
}

.staff-profile h1 {
    font-family: 'Open Sans';
}

.staff-profile h2{
    font-family: 'Open Sans';
    color: #193A59;
    font-size: 28px;
    font-weight: 700;
}

.staff-profile h3 {
    font-family: 'Open Sans';
}

.staff-profile h4 {
    font-family: 'Open Sans';
    font-size: 16px;
    color: #193A59;
    font-weight: 700;
}

.staff-profile-banner {
    background: #193A59;
    height: auto;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    margin-top: .5rem;
    color: #ffffff;
    padding: 3rem;
}

.staff-profile-content {
    display: flex;
    max-width: 75rem;
    margin: 0 auto;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    align-self: center;

}

.staff-profile-role h2 {
    font-size: 24px;
    color: white;
    font-weight: 300;
}

.staff-profile-name h1 {
    color: #ffffff;
    font-family: 'Open Sans';
    font-size: 56px;
}

.staff-profile-school h3 {
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 0;
    padding-top: 1rem;
    color: white;
}

.staff-profile-school h3:before {
    content: url(/media/wits-university-style-assets/search-icons/icons8-visit.png);
    padding-right: 8px;
}

.staff-profile-img {
    max-width: 200px;
    border-radius: 50%;
}

.staff-profile-accordion-head {
    cursor: pointer;
}

.staff-profile-accordion-body {
    display: none;
    overflow: hidden;
}

.accordion-arrow:before {
    content: url(/media/wits-university-style-assets/search-icons/upload201.png);
    padding-right: 16px;
}

@media screen and (max-width:750px) {
    .staff-profile-content {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-start;
    }
    .staff-profile-hero-left {
        order: 2;
    }
    .staff-profile-hero-right {
        order: 1;
        padding: 1rem 0 1.5rem 0;
    }
    .staff-profile-banner {
        padding: 2rem 1.5rem;
    }
    .staff-profile-role p {
        font-size: 20px;
    }
    .staff-profile-name h1 {
        font-size: 40px;
    }
    .staff-profile-school p {
        font-size: 16px;
    }
}

/*** Staff Main ***/
.staff-profile-main {
    max-width: 75rem;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
    margin-bottom: 3rem;
    min-height: 80vh;
}

/*** No Bio ***/
@media screen and (max-width:750px) {
  .no-bio {
    justify-content: normal!important;
  }
  .no-bio .staff-profile-main-left .staff-profile-info {
    padding-right: 2rem;
  }
}

@media screen and (min-width:401px) {
  .no-bio .staff-profile-main-left {
    flex-basis: 100%;
    display: inline-flex;
    flex-wrap: wrap;
    padding: 32px;
    min-height:100%;
  }
  .no-bio .staff-profile-main-left .staff-profile-info {
    flex-basis: 50%;
  }
  .no-bio .staff-profile-main-right {
    flex-basis: 25%;
  }
}

@media screen and (min-width:751px) {
  .no-bio .staff-profile-main-right {
    padding-left: 2rem;
  }
  .no-bio .staff-profile-main-left .staff-profile-info {
    padding-right: 4rem;
  }
}

@media screen and (max-width:551px) {
  .no-bio .staff-profile-main-left {
    display: initial;
  }
}

@media screen and (min-width:550px) {
    .no-bio .staff-profile-main-left {
      align-content: flex-start;
  }
}

.staff-profile-main-left {
    flex-basis: 30%;
    padding: 16px 24px;
    /*margin: 16px 0 32px 0;*/
    background: rgba(25, 58, 89, 0.03);
    border-radius: 8px;
    border: 1px solid rgb(199 199 199 / 50%);
    min-height: 530px;
    height: 100%;
}

.staff-profile-main-right {
    flex-basis: 65%;
}

.staff-profile-info {
    margin: 1rem 0 2rem 0;
}

.staff-position:before {
    content: url(/media/wits-university-style-assets/search-icons/position.png);
    padding-right: 8px;
    vertical-align: middle;
}

.staff-links:before {
    content: url(/media/wits-university-style-assets/search-icons/Mask-group-1.png);
    padding-right: 8px;
    vertical-align: middle;
}

.staff-email:before {
    content: url(/media/wits-university-style-assets/search-icons/Mask-group-2.png);
    padding-right: 8px;
    vertical-align: middle;
}

.staff-phone:before {
    content: url(/media/wits-university-style-assets/search-icons/Mask-group.png);
    padding-right: 8px;
    vertical-align: middle;
}

.staff-id:before {
    content: url(/media/wits-university-style-assets/search-icons/Group-2.png);
    padding-right: 8px;
    vertical-align: middle;
}

.staff-qualifications:before {
    content: url(/media/wits-university-style-assets/search-icons/Mask-group-4.png);
    padding-right: 8px;
    vertical-align: middle;
}

.staff-research:before {
    content: url(/media/wits-university-style-assets/search-icons/Mask-group-5.png);
    padding-right: 8px;
    vertical-align: middle;
}

.staff-profile-biography-button {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    align-self: center;
}

.staff-profile-biography-button a {
    color: white;
    padding: .5rem 1rem;
    font-size: 15px;
    font-weight: 600;
    background: #E2AC34;
    border: 1px solid #CB9827;
    box-shadow: 0px 2px 2px #A37A20;
    border-radius: 4px;
}

.staff-profile-info a p {
    color: #3072B0;
    text-decoration: underline;
}

.staff-profile-info p {
    padding: 0;
    margin: 4px 0;
}

.staff-profile-info h3 {
    padding-top: 8px;
}

@media screen and (max-width:400px) {
    .staff-profile-biography-button {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        align-self: center;
    }
    .staff-profile-biography-button .apply {
        margin: 1rem 0;
    }
}

@media screen and (min-width:751px) and (max-width:1199px) {
    .staff-profile-main {
        margin-left: 2rem;
        margin-right: 2rem;
    }
}

@media screen and (max-width:750px) {
    .staff-profile-main {
        flex-direction: column;
        max-width: 90%;
        justify-content: space-between;
    }
    .staff-profile-main-left {
        order: 1;
    }
    .staff-profile-main-right {
        order: 2;
    }
    .staff-profile-main-right {
        margin-top:1.5rem;
    }
}

@media screen and (min-width:750px) {
    .staff-share.show {
      top: 30rem;
    }
  }











