.squad-team-wrap {
    margin: 0 auto;
    width: 80%;
}

.player-onloan,
.player-disable {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 2;
}


.player-onloan {
    background-color: var(--opacity60);
    color: var(--white);
    font-size: 0.75em;
    font-weight: bold;
    text-align: right;
    line-height: 25px;
    padding-right: 5px;
}

.player-wrap {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
}

.player-card {
    width: 100%;
    margin: 0 4px 32px;
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
    position: relative;
    display: block;
}

@media screen and (min-width: 450px) {
    .player-card {
        width: calc(50% - 8px);
    }
}

@media screen and (min-width: 760px) {
    .player-card {
        width: calc(33.33% - 8px);
    }
}

@media screen and (min-width: 1440px) {
    .player-card {
        width: calc(20% - 8px);
    }
}





.player-card-img {
    position: relative;
    height: 0;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: top;
    padding-bottom: 108%;
}

.player-link {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-decoration: none;
    width: 100%;
    height: 100%;
}

.player-link:hover .player-shirt {
    background-color: var(--purple);
}

.player-details {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    width: 100%;
}


.player-shirt {
    padding: 8px 8px 2px;
    width: 60px;
    height: auto;
    padding: 8px;
    position: absolute;
    top: 4px;
    left: 2px;
    line-height: 1;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    background-color: #212121;
    transition: background-color .3s, color .3s;
    text-align: center;
}

.player-shirt.main{
    background-color: var(--purple);
}

.player-shirt.nav{
background-color: var(--purple);
    position: relative;
    float: left;
    width: auto;
    top: unset;
    left: unset;
    margin-right: 10px;
    font-size: 25px;
}

.feature-heading h3 {
    margin: 0;
    padding: 0;
}

.player-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    min-height: 60px;
    padding: 8px 60px 0 10px;
    margin: 0;
    text-align: left;
    background: #fff;
    z-index: 1;
    color: #212121;
    font-weight: 700;
}

.player-pos {
    font-size: 0.8em;
    margin-top: 5px;

}

.player-pos.member {
    height: 85px;
    line-height: 25px;
    margin-left: 10px;
}

.player-flag {
    background-size: cover;
    background-position: 50%;
    background-repeat: no-repeat;
    height: 30px;
    width: 50px;
    margin: 0;
    position: absolute;
    z-index: 10;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    border: solid 1px var(--lightblue);
}

.player-image {
    height: 50vh;
    width: 25vw;
    position: absolute;
    top: 150px;
    right: 50%;
    background-position: top;
    background-size: cover;
    background-repeat: no-repeat;

}

@media screen {

    .player_data {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: flex-start;
        height: auto;
        min-height: 500px;
        width: 90%;
        margin: 0 auto;
        margin-top: 50px;
        margin-bottom: 100px;
    }

    .player_data_main,
    .player_data_side {
        width: 100%;
    }


    @media screen and (min-width:1440px) {

        .player_data {
            flex-direction: row;
        }
    }





    .data_season,
    .data_row {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-items: flex-start;
        align-content: flex-start;
    }

    .data_season {
        background-color: var(--lightgrey);
    }

    .data {
        margin: 0 auto;
        text-align: left;
        width: 100%;
        padding-left: 1%;
    }

    .data .stat-name {
        color: var(--darkblue);
        font-size: 1.1em;
        height: 30px;
        line-height: 30px;
        width: 100%;
    }

    .data .stat-value {
        font-size: 3em;
    }

    .data_row {
        margin-top: 25px;
    }

    .data_row_card {
        background-color: var(--white);
        height: auto;
        width: 96%;
        margin-right: 1%;
        margin-left: 1%;
        min-height: 250px;
        padding-left: 15px;
    }

    .data_row_card.autoheight {
        min-height: auto;
    }

    .data_row_card_head {
        font-weight: 700;
        height: 50px;
        line-height: 50px;

    }

    .data_row_card_line {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        margin-bottom: 15px;
    }

    .data_row_icon {
        display: block;
        width: 10%;
        margin: 0 8px 0 0;
        background-size: contain;
        background-position: 50% 50%;
        background-repeat: no-repeat;
    }

    .data_row .stat-name {
        width: 70%;
        font-size: 0.8em;
    }

    .data_row .stat-name.card {
        width: 100%;
        padding-left: 20px;
    }

    .data_row .stat_card {
        width: 30%;
        height: 80px;
        background-color: var(--red);
        border-radius: 5px;

    }

    .data_row .stat_card.yellow {
        background-color: var(--yellow);
    }

    .data_row .stat-value {
        font-weight: 700;
        width: 20%;
        text-align: right;
        font-size: 15px;
        padding-right: 15px;
    }

    .data_row .stat-value.card {
        text-align: left;
        font-size: 2.5em;
        width: 100%;
        font-weight: normal;
        padding-top: 10px;
    }

    .data_row .stat-value.sponsor {
        text-align: left;
        font-size: 0.9em;
        width: 100%;
        font-weight: 700;
        padding-top: 10px;
        text-transform: capitalize;
        height: 80px;
    }

    .player-bio {
        width: 90%;
        margin: 1%;
        font-size: 0.85em;
        text-align: justify;
    }

    .player-bio-head {
        font-weight: 700;
    }

    .player-bio-full {
        display: none;
    }

    .player-bio-full.current {
        display: block;
    }


}