#desktop-navbar {
    display: none;
}

/****** Team Nav ******/

.collapsable-menu-wrapper {
    display: block;
}

.secondary-nav {
    height: 75px;
}

.secondary-nav-inner {
    width: 100%;
}

.team-nav-center {
    width: 90%;
    margin: auto;
}

.team-nav-link {
    cursor: pointer;
    color: #546d8c;
}

.team-h1 {
    font-size: 1.25em;
}

@media (min-width: 768px) {
    .secondary-nav {
        height: 100px;
    }
    
    .team-h1 {
        font-size: 1.8em;
    }

}

/****** team top ******/
#team-top {
    z-index: -1;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-repeat: no-repeat;
    text-align: center;
    padding-bottom: 20%;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.team-small {
    width: 100%;
    max-width: 1100px;
}

.team-top-content p {
    max-width: 950px;
    margin: 25px auto;
    line-height: 3;
}

.team-top-content {
    width: 80%;
    margin: auto;
}

@media (min-width: 768px) {
    #team-top {
        align-items: flex-start;
    }
}
/****** team wrapper ******/

.team-wrapper {
    position: relative;
    z-index: 0;
    background: #141414;
}

.team-member {
    position: relative;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    min-height: 100vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    -ms-transition: all 1.5s ease-in-out;
    transition: all 1.5s ease;
    margin-bottom: 10vh;
    padding-top: 10%;
    margin-top: 15%;
}

@media(min-height: 768px) {
  .team-member {
      margin-top: 0;
          padding-bottom: 20%;
  }
}

#team-shipley {
    z-index: 1;
}
#team-hinton {
    z-index: 2;
}
#team-friedkin {
    z-index: 3;
}

.team-background-img {
    width: 100%;
}

.team-member-inside {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    z-index: 0;
}

.team-member-top {
    z-index: 1;
    text-align: center;
    position: relative;
}

.team-h2 {
    font-size: 1.5em;
}

.team-more {
    cursor: pointer;
    color: #4e698e;
    z-index: 1;
}

.team-bio-wrapper {
    display: none;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    margin-top: 22%;
}

 .bio-fade {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: rgb(20,20,20);
    background: radial-gradient(circle, rgba(20,20,20,1) 0%, rgba(20,20,20,0.8) 43%, rgba(20,20,20,0.7) 66%);
} 

.bio-text-wrapper {
    overflow-y: auto;
    overflow-x: hidden;
    height: 100%;
    max-height: 70vh;
}

.team-bio-content{
    width: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    height: 100%;
}

.team-bio-content p {
    line-height: 1.75;
}

@media (min-width: 768px) {
    
    .team-member {
        padding-bottom: 0; 
    }
    
    
    .team-member-inside {
        display: flex;
        align-items: center;
    }
    
    .team-more {
        z-index: 0;
    }
    
    .team-member-top {
        padding: 10% 0% 10%;
        text-align: center;
        position: absolute;
        top: -31px;
        width: 100%;
        margin-left: 0;
        z-index: 1;
        background: transparent;
        background-image: radial-gradient(farthest-side at 46% 46%, rgba(20,20,20,1) 0%, rgba(20,20,20,0) 80%);
    }
    
    .team-h2 {
        font-size: 2em;
        line-height: 1;
        margin: 0;
    }
    
    .team-member-top p {
        background-image: radial-gradient(circle at 10%, rgba(20,20,20,1) 0%, rgba(20,20,20,0) 30%);
        font-size: 1.2em;
        line-height: 1;
        margin: 2px 0 5px;
    }
    
    .bio-fade {
        background: rgb(20,20,20);
        background: radial-gradient(circle, rgba(20,20,20,0.9) 0%, rgba(20,20,20,0.8) 43%, rgba(20,20,20,0.7) 66%);
        top: -220px;
    }
    
    .team-bio-wrapper {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        display: none;
        align-items: center;
        margin-top: 22%;
    }
    
    .team-bio-content {
        padding-top: 0%;
        width: 55%;
        max-width: 950px;
        margin: 0 auto;
        z-index: 0;
        height: auto;
        overflow-y: hidden;
    }
}

/*  IE Fix */
 #desktop-navbar {
    display: none;
} 

#collapsable-menu {
    display: block;
}
