/* ORGANISM - PLAYER INDEX */

.team__player-block {
    width: 100%;
    float: left;
    position: relative;
}

/** MOLECULE - PLAYER BLOCK **/

.team__player {
    overflow: hidden;
    position: relative;
}

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

.team__player-inner {
    display: flex;
    align-items: center;
    -ms-transform: skewX(-8deg);
    -webkit-transform: skewX(-8deg);
    transform: skewX(-8deg);
    margin-left: -1rem;
    width: calc(100% + .3rem);
}

.team__player-inner>* {
    -ms-transform: skewX(8deg);
    -webkit-transform: skewX(8deg);
    transform: skewX(8deg);
}

.team__player-headshot {
    width: 80px;
}

.team__player-details {
    width: calc(100% - 80px);
    padding-left: 1.5rem;
}

.team__player-position {
    font-size: 0;
}

.team__player-details--sp_player .team__player-label {
    padding: .2rem .6rem;
    outline: 1px solid #e90052;
    display: inline-block;
    margin: 1px 0 0 1px;
    min-width: 50px;
    text-align: center;
    line-height: 1rem;
    -ms-transform: skewX(-10deg);
    -webkit-transform: skewX(-10deg);
    transform: skewX(-10deg);
}

.team__player-details--sp_player .team__player-label span {
    -ms-transform: skewX(10deg);
    -webkit-transform: skewX(10deg);
    transform: skewX(10deg);
}

.team__player-page {
    display: none;
    width: 100%;
    min-height: 120px;
    padding-top: 1rem;
}

[data-type="staff"] .team__player-page {
    min-height: 100px;
}

.team__player-button {
    display: flex;
    justify-content: center;
}

.team__player-button .button {
    -ms-transform: skewX(0deg);
    -webkit-transform: skewX(0deg);
    transform: skewX(0deg);
}

.team__player--training-partner {
    position: absolute;
    top: 55%;
    width: 100%;
    transform: translateY(-55%);
    text-align: center;
    font-weight: bold;
}

.team__player--training-partner p {
    transform: skewX(8deg);
    margin: .5rem 0;
}

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

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

    .team__player {
        flex: 0 1 49%;
    }
}

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

    .team__player-block:after {
        content: '';
        flex: 0 1 24%;
    }

    .team__player {
        flex: 0 1 23%;
        overflow: visible;
        margin-bottom: 1.5rem;
    }

    .team__player-inner {
        flex-wrap: wrap;
        width: calc(100% - 1rem);
        padding: 0 .7rem 1rem 0;
        overflow: hidden;
    }

    .team__player-block {
        padding: 0 0 0 2.5rem;
    }

    .team__player-headshot,
    .team__player-details {
        width: 100%;
    }

    .team__player-headshot {
        max-height: 210px;
        margin: .6rem 0 0 .6rem;
        width: calc(100% + .7rem);
        overflow: hidden;
        -ms-transform: skewX(0);
        -webkit-transform: skewX(0);
        transform: skewX(0);
    }

    .team__player-headshot figure {
        -ms-transform: skewX(8deg);
        -webkit-transform: skewX(8deg);
        transform: skewX(8deg);
        height: 290px;
    }

    .team__player-headshot img {
        max-width: 130%;
        margin-left: -14%;
        height: 100%;
        width: 130%;
    }

    .team__player-details {
        padding: 1rem .5rem 0 1rem;
        min-height: 120px;
    }

    [data-type="staff"] .team__player-details {
        min-height: 100px;
    }

    .team__player-details h2 {
        text-align: center;
        font-size: 1.1rem;
        line-height: 1.5rem;
    }

    .team__player-details h2 span {
        font-size: 1.4rem;
    }

    .team__player-details--staff p {
        text-align: center;
        font-size: .9rem;
    }

    .team__player-position {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 1.2rem 0 .7rem;
    }

    .team__player-details--player .team__player-label span {
        font-size: .9rem;
    }

}

/* (laptop, 1232px and up) */
@media (min-width: 77em) {

    .team__player-block {
        margin-top: 3rem;
    }

    .team__player-headshot {
        max-height: 290px;
        max-width: 215px;
        margin: 1rem 0 0 1rem;
    }

}


/* ORGANISM - PLAYER PAGE */

.sub-menu__wrapper[data-type="sp_player"] .sub-menu__breadcrumb li:nth-child(2) {
    margin-left: .7rem;
}

/*** ATOM - PLAYER SELECT **/

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

.player__select label {
    display: none;
}

.player__select select {
    float: none;
    width: 275px;
    padding: 0;
    margin: 0 auto;
    font-size: .9rem;
    text-transform: none;
}

.player__select select option {
    color: #000;
}

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

    .player__select {
        position: absolute;
        top: 0;
        right: 1rem;
        width: calc(30% + -3rem);
        padding: 0;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        text-align: left;
    }

    .player__select label {
        display: block;
        padding: 0 .25rem;
    }

    .player__select select {
        background: transparent url(assets/img/dropdown-bg.png) 100% center / 13px 8px no-repeat;
        padding: 0 1.2rem 0 0;
        text-align: right;
    }

}

/* (laptop, 1232px and up) */
@media (min-width: 77em) {

    .player__select {
        width: calc(30% + -1rem);
        flex-wrap: nowrap;
        top: -12px;
    }

    .player__select select {
        width: 210px;
    }

}

/* (laptop, 1500px and up) */
@media (min-width: 93.750em) {

    .player__select {
        right: -5.5rem;
    }

}

/** MOLECULE - PLAYER DETAILS **/

.sub-menu__wrapper[data-type="sp_official"] .sub-menu__breadcrumb-inner li:last-of-type {
    padding-left: .5rem;
}

.player__top,
.player__biog {
    position: relative;
    width: 100%;
    float: left;
}

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

.player__biog--staff {
    padding-bottom: 3rem;
}

.player__headshot {
    max-width: 270px;
    margin: 0 auto;
}

.player__details .team__profile {
    display: none;
}

.player__details {
    width: calc(100% - .5rem);
    margin-left: -1rem;
    padding-left: 2.5rem;
    -ms-transform: skewX(-10deg);
    -webkit-transform: skewX(-10deg);
    transform: skewX(-10deg);
}

.player__details>* {
    max-width: calc(270px - 1.1rem);
    margin: 0 auto;
    -ms-transform: skewX(10deg);
    -webkit-transform: skewX(10deg);
    transform: skewX(10deg);
}

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

    .player {
        background: transparent;
        margin-top: 0;
    }

    .sub-menu__wrapper[data-type="sp_player"],
    .sub-menu__wrapper[data-type="sp_official"],
    .player__header {
        background: #e90052;
        width: 100%;
        float: left;
    }

    .player__header {
        position: relative;
        padding-bottom: 0;
    }

    .sub-menu__wrapper[data-type="sp_player"] .sub-menu__main,
    .sub-menu__wrapper[data-type="sp_official"] .sub-menu__main {
        position: relative;
    }

    .sub-menu__wrapper[data-type="sp_player"] .sub-menu__breadcrumb li::after,
    .sub-menu__wrapper[data-type="sp_official"] .sub-menu__breadcrumb li::after {
        background: #373737;
    }

    .player__top {
        display: flex;
        align-items: center;
        position: relative;
        z-index: 5;
        padding: 1rem 1rem 1rem 5rem;
        width: calc(70% + 4rem);
        margin-left: -4rem;
        background: #fff;
        -ms-transform: skewX(-8deg);
        -webkit-transform: skewX(-8deg);
        transform: skewX(-8deg);
    }

    .player__top:before {
        content: '';
        position: absolute;
        left: -98%;
        top: 0;
        width: 100%;
        height: 100%;
        background: #fff;
    }

    .player__top>* {
        background: transparent;
        -ms-transform: skewX(8deg);
        -webkit-transform: skewX(8deg);
        transform: skewX(8deg);
    }

    .player__headshot {
        margin: 0;
    }

    .player__details {
        width: calc(100% - 270px);
        padding: 0 0 0 2.5rem;
    }

    .player__details>* {
        margin: 0;
        -ms-transform: skewX(0deg);
        -webkit-transform: skewX(0deg);
        transform: skewX(0deg);
    }

    .player__details h1,
    .player__details h1 span {
        color: #373737;
        position: relative;
        display: inline-block;
        font-size: 1.55rem;
        line-height: 1.95rem;
        margin-top: 0;
    }

    .player__details h1::after {
        content: '';
        position: absolute;
        left: calc(100% + 1.5rem);
        top: 50%;
        transform: translate(0, -50%);
        width: 60px;
        height: 4px;
        background: #e90052;
    }

    .player__details .team__profile {
        display: block;
        max-width: 100%;
        padding: .5rem 0;
        background: transparent;
        color: #373737;
    }

}

/* (laptop, 1232px and up) */
@media (min-width: 77em) {

    .player__header>* {
        position: relative;
    }

    .player__top {
        width: calc(65% + 4rem);
        padding: 2.5rem 1rem 2.5rem 4rem;
    }

    .player__details {
        padding: 0 1rem 0 4.5rem;
    }

    .player__details h1,
    .player__details h1 span {
        font-size: 2.375rem;
        line-height: 2.735rem;
    }

}

/* (laptop, 1500px and up) */
@media (min-width: 93.750em) {

    .sub-menu__wrapper[data-type="sp_player"],
    .sub-menu__wrapper[data-type="sp_official"] {
        width: 100%;
    }

    .sub-menu__wrapper[data-type="sp_player"] .sub-menu__main,
    .sub-menu__wrapper[data-type="sp_official"] .sub-menu__main {
        width: 1400px;
        margin: 0 auto;
        float: none;
        position: relative;
        display: block;
    }

}

/** MOLECULE - PLAYER PROFILE **/

.player__profile-row {
    display: flex;
    align-items: flex-start;
}

.player__profile-row>* {
    flex: 0 1 50%;
}

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

    .player__biog .team__profile {
        display: none;
    }

    .player__biog {
        margin-top: -2rem;
        padding: 4rem 1rem 2rem;
    }

    .player__biog--staff {
        padding: 4rem 1rem 7rem;
    }

    .player__biog h2 {
        font-size: 1.6rem;
        line-height: 2rem;
        margin-bottom: 1.5rem;
    }

}

/** MOLECULE - PLAYER STATISTICS **/

.player__statistics {
    width: 100%;
    float: left;
    position: relative;
}

.player__statistics:before {
    content: '';
    position: absolute;
    top: 0;
    left: 1rem;
    width: calc(100% - 2rem);
    height: 1px;
    background: #646464;
}

.player__statistics .tab-navigation--stats {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

    .player__statistics {
        padding: 3rem 1rem 8rem;
    }

    .player__statistics .tab-navigation--stats {
        justify-content: flex-start;
        padding: 0 0 2rem;
    }

}

/* (laptop, 1232px and up) */
@media (min-width: 77em) {

    .player__statistics:before {
        width: 1200px;
        left: 50%;
        transform: translate(-50%, 0);
    }

}

/** MOLECULE - STATS TABLE **/

.player__statistics .sp-table-caption {
    display: none;
}

.sp-table-wrapper {
    width: 100%;
    min-height: .01%;
    overflow-x: auto;
    overflow-y: hidden;
    -ms-overflow-style: -ms-autohiding-scrollbar;
}

.player__statistics table {
    border: 0;
    background: #fff;
}

.player__statistics table>thead>tr>th {
    background: #262626;
    color: #fff;
    border-top: 0;
    text-align: center;
}

.player__statistics table td {
    font-weight: 700;
    font-size: .85rem;
    border: 1px solid #e0e0e0;
    min-width: 50px;
    text-align: center;
}

.player__statistics table .data-team {
    min-width: 180px;
    text-align: left;
}

.player__statistics table .data-team a {
    color: #373737;
}

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

    .player__statistics .sp-table-wrapper {
        overflow: hidden;
    }

}

/** MOLECULE - PLAYER TWITTER **/

.player__social-username {
    display: flex;
    align-items: center;
    position: relative;
}

.player__social-link {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.player__social-username figure {
    overflow: hidden;
    border-radius: 100%;
    width: 40px;
    height: 40px;
}

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

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

    .player__social-box {
        flex: 0 1 49%;
    }

}

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

    .player__social-box {
        flex: 0 1 24%;
    }

}

/* ORGANISM - PLAYER STATISTICS */

.sp-player-list .data-name .player-photo {
    width: 30px;
    height: 30px;
    display: inline-block;
    margin: 0 .5rem 0 0;
    border-radius: 100%;
    overflow: hidden;
}

.sp-player-list .data-name.has-photo a {
    display: flex;
    align-items: center;
}

.sp-player-list .data-name .player-flag {
    margin-right: .5rem;
}

.sp-player-list td,
.sp-player-list th {
    text-align: center;
}

.sp-player-list .data-name {
    text-align: left;
}
