/* ORGANISM - TEAM INDEX */

.team__index {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.staff__body {
    width: 100%;
    float: left;
}

/** MOLECULE - TEAM BOX **/

.team__index-box {
    flex: 0 1 47%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 1px solid #828282;
    overflow: hidden;
}

.team__index-link {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.team__index-box img {
    max-height: 45px;
    position: relative;
    z-index: 5;
}

.team__index-box .logo--landscape {
    max-height: 40px;
}

/* (landscape phones for a 320 - 480px) */ 
@media (min-width: 30em) {
    
    .team__index-box {
        flex: 0 1 31%;
        max-width: 31%;
        margin-bottom: 1.5rem;
    }
    
}

/* (landscape phones for a 360 - 640px) */ 
@media (min-width: 40em) {

    .team__index-box img {
        max-height: 60px;
    }
    
    .team__index-box .logo--landscape {
        max-height: 55px;
    }
}

/* (landscape tablet, 1000px and up) */ 
@media (min-width: 62.5em) {
    
    .team__index-box {
        flex: 0 1 23%;
        max-width: 23%;
    }
    
    .team__index-box img {
        max-height: 70px;
    }
    
    .team__index-box .logo--landscape {
        max-height: 60px;
    }
    
    .team__index:after {
        content: '';
        flex: 0 1 48.5%;
        max-width: 48.5%;
    }
       
}

/* ORGANISM - TEAM PAGE */

.team__header {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

.team__header:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5);
    z-index: 2;
}

.team__header > * {
    position: relative;
    z-index: 5
}

.team__name {
    flex: 0 1 100%;
    text-align: center;
}

.team__logo img {
    max-height: 80px;
}

.team__body {
    width: 100%;
    float: left;
    z-index: 10;
}

.team__body a:hover {
    color: #fff;
}

/* (tablet, 768px and up) */ 
@media (min-width: 48em) {

    .team__name h1 {
        font-size: 1.1rem;
        line-height: 1.5rem;
    }

}

/* (landscape tablet, 1000px and up) */ 
@media (min-width: 62.5em) {

    .team__header {
        padding: 5rem 0;
    }
    
    .team__logo img {
        max-height: 100px;
    }

}

/** MOLECULE - TEAM TABBED NAV **/

.tab-navigation--teams .tab {
    position: relative;
    padding: 0;
    margin: 0 1rem;
    color: #fff;
    font-size: .95rem;
}

.tab-navigation--teams .tab:after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 0;
    width: 0;
    height: 3px;
    background: #e90052;
    transition: .5s;
    -webkit-transition: .5s;
    -moz-transition: .5s;
}

.tab-navigation--teams .tab-nav-active:after,
.tab-navigation--teams .tab:hover:after {
    width: 100%;
}

.team__information {
    border-bottom: 1px solid #646464;
}

/* (landscape tablet, 1000px and up) */ 
@media (min-width: 62.5em) {
   
   .tab-navigation--teams {
       display: none;
   }
   
   .team__information {
       padding: 3rem 0 2rem;
    }
    
}

/** MOLECULE - TEAM PROFILE **/

.team__profile .team__profile-row:last-of-type,
.team__profile .player__profile-row:last-of-type {
    margin-bottom: 0;
}

.team__profile .team__profile-row[data-count] span:after,
.team__profile .player__profile-row[data-count] span:after {
    content: ',';
    padding-right: .3rem;
}

.team__profile .team__profile-row[data-count] span:last-of-type:after,
.team__profile .player__profile-row[data-count] span:last-of-type:after {
    content: none;
}

[data-tab-content="team-infomation"] h3 {
    display: none;
}

/* (tablet, 768px and up) */ 
@media (min-width: 48em) {
    
    .team__profile {
        display: flex;
        padding-top: 1.8rem;
    }
    
    .player__biog .team__profile {
        flex-wrap: wrap;
    }
    
    .team__profile-row,
    .player__profile-row {
        flex: 0 1 33.333%;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        align-content: flex-start;
        position: relative;
    }
        
    .team__profile-row:after,
    .player__profile-row:after {
        content: '';
        position: absolute;
        right: 1rem;
        top: 0;
        width: 1px;
        height: 100%;
        background: #646464;
        -ms-transform: skewX(-8deg);
        -webkit-transform: skewX(-8deg);
        transform: skewX(-8deg);
    }
    
    .team__profile-row:last-of-type:after,
    .player__profile-row:nth-child(3):after,
    .player__profile-row:last-of-type:after {
        display: none;
    }
    
    .team__profile .player__profile-row:nth-child(4) {
        flex: 0 1 100%;
        border-top: 1px solid #646464;
        padding-top: 1rem;
    }
    
    .team__profile-row span,
    .player__profile-row .player__profile-value {
        text-align: center;
    }
    
    .team__profile-row h4,
    .player__profile-row h4 {
        flex: 0 1 100%;
        text-align: center;
    }
    
}

/* (landscape tablet, 1000px and up) */ 
@media (min-width: 62.5em) {
    
    [data-tab-content="team-infomation"] {
        display: flex;
    }
    
    [data-tab-content="team-infomation"] .data-tab {
        display: block;
    }
 
    [data-tab-content="team-infomation"] [data-content="profile"] {
        order: 2;
        width: 375px;
    }
    
    [data-tab-content="team-infomation"] [data-content="biog"] {
        order: 1;
        width: calc(100% - 375px);
        padding-right: 3rem;
    }
    
    [data-tab-content="team-infomation"] h3 {
        display: inline-block;
        font-size: 1.6rem;
        line-height: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .team__profile {
        flex-wrap: wrap;
        padding: 1.5rem;
        margin-top: 1rem;;
    }
    
    .team__profile-row,
    .player__profile-row {
        flex: 0 1 100%;
        max-width: 100%;
        justify-content: flex-start;
    }
    
    .team__profile .player__profile-row:nth-child(4) {
        border: 0;
        padding: 0;
    }
    
    .team__profile-row:after,
    .player__profile-row:after {
        display: none;
    }
    
    .team__profile-row h4,
    .player__profile-row h4 {
        text-align: left;
    }
    
    .team__profile-row span,
    .player__profile-row .player__profile-value {
        text-align: left;
    }
    
    .player__profile-row .player__profile-value {
        flex: 0 1 100%;
        max-width: 100%;
    }
    
}

/** MOLECULE - TEAM STATS NAVIGATION **/

.team__statistics .tab-navigation--stats {
    display: flex;
    justify-content: center;
}

.tab-navigation--stats .tab {
    width: 33.33%;
    float: left;
    max-width: 150px;
    padding: .3rem 0 .5rem;
    background: #414141;
    color: #fff;
    text-align: center;
}

.tab-navigation--stats .tab > span {
    font-size: .95rem;
}

/* (landscape tablet, 1000px and up) */ 
@media (min-width: 62.5em) {
    
    .team__statistics .tab-navigation--stats {
        justify-content: flex-start;
    }

    .team__statistics {
        margin-top: 3rem;
    }

}