/* Remove excessive margin off header bottom */
.header {
    margin-bottom: 20px !important;
}

#player-header {
    width: 100%;
}

div.search {
    display: flex;
    align-items: center;
    height: 40px;
    width: 75%;
    background: var(--sub-bg);
    border: none;
    border-radius: 10px;
    color: var(--textcolor);
}

input.search {
    height: 100%;
    width: 100%;
    background: none;
    border: none;
    font-size: large;
    color: var(--textcolor);
    outline-width: 0;
}

select.time-select {
    display: flex;
    align-items: center;
    border-radius: 10px;
    height: 40px;
    background: var(--sub-bg);
    border: none;
    font-size: large;
    color: var(--textcolor);
    outline-width: 0;
    text-align: center;
}


div.player-content {
    width: 100%;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    background-color: var(--sub-bg);
    border-radius: 10px;
    white-space: nowrap;
    contain: layout;
}

table tr {
    text-align: center;
}

table tr th {
    padding: 10px;
}

table tr td {
    padding: 10px;
}

table tr:nth-child(even) {
    background-color: var(--ter-bg);
}

table td div {
    height: 2rem;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    border-radius: 10px;
    margin: 8px 0;
    padding: 0 8px;
}

div.members {
    background-color: #ffc92987;
}

div.weight {
    background-color: #863CE7;
}

div.lily_weight {
    background-color: #1a823d;
}

div.elite_weight {
    background-color: #199f86;
}

div.skyblock_xp {
    background-color: #c453d9ad;
}

div.skills {
    background-color: #209ceead;
}

div.slayers {
    background-color: #e74c3cc7;
}

div.catacombs {
    background-color: #2ecc71b5;
}

div.networth {
    background-color: #cb8010c7;
}

div.player-stats {
    margin-top: 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

div.playerstat-container {
    height: 2rem;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    border-radius: 10px;
    background-color: #3c3e42;
    margin: 10px 5px 0 5px;
}

div.playerstat-container div.label {
    color: var(--textcolor);
    margin: 0 10px 0 10px;
    padding-left: 0;
}

div.playerstat-container div.value {
    display: flex;
    height: 100%;
    text-align: center;
    align-items: center;
    border-radius: 0 10px 10px 0;
    padding: 0 10px 0 10px;
}


div.charts {
    width: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
}

div.chart-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(480px, 45%));
    grid-gap: 20px;
    justify-content: center;
    width: 100%;
}

div.chart-title {
    margin-top: 10px;
    font-size: larger;
}

div.chart-item {
    width: 100%;
    display: flex;
    align-items: center;
    border-radius: 10px;
    background-color: var(--sub-bg);
    flex-direction: column;
    margin: auto;
}

div.chart {
    width: 90%;
    margin: 10px;
}

a.page-btn {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-off {
    border: solid #393999 !important;
    background-color: transparent !important;
    opacity: 1;
}

.btn-off:hover {
    transition: 0.2s;
    background-color: #3939996c !important;
    border: solid #2f2f99;
}

.btn-on {
    border: solid #393999 !important;
    background-color: #393999 !important;
    opacity: 1;
}

.btn-on:hover {
    transition: 0.2s;
    background-color: #2f2f99 !important;
}


td:has(ins.adsbygoogle[data-ad-status="unfilled"]) {
    display: none !important;
}

td a {
    color: var(--textcolor) !important;
}
