/* Remove author card */
div.page-author-card {
	display: none;
}

/* Remove shortcuts card */
div.page-shortcuts-card {
	display: none;
}

/* Remove tags card */
div.page-tags-card {
	display: none;
}

/* Remove header & fix content overview */
div.page-header-section {
	display: none;
}
.page-col-sd {
    margin-top: 0px;
    align-self: flex-start;
    position: sticky;
    top: 112px;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    -ms-overflow-style: none;
}

/* Links */
.contents a {
    text-decoration: none
}
.contents a:link,
.contents a:visited {
    text-decoration: none
}
.contents a:active,
.contents a:hover {
    outline: 0
}
#root .contents li > a,
#root .contents p > a,
#root .contents td > a,
#root .contents .news-box h1 > a:not(.toc-anchor){
    display: inline-block;
    position: relative;
    line-height: 1.8;
}
#root .contents li > a {
    line-height: inherit;
}
#root .contents li > a:after,
#root .contents p > a:after,
#root .contents td > a:after,
#root .contents .news-box h1 > a:after{
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #90CAF9;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}
#root .contents li > a:after {
    bottom: -6px;
}
#root .contents li > a:hover:after,
#root .contents p > a:hover:after,
#root .contents td > a:hover:after,
#root .contents .news-box h1 > a:hover:after{
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Summaries */
summary {
    list-style: none
}
summary a:first-child {
    display: inline
}
summary a:nth-child(2) {
    display: none
}
details[open] summary a:first-child {
    display: none
}
details[open] summary a:nth-child(2) {
    display: inline
}

/* Tabbed content */
.contents .tab-header {
    overflow: hidden;
    display: flex;
    gap: 5px;
    flex-wrap: wrap
}
.contents .tab-header button,
a.button {
    border: none;
    outline: 0;
    cursor: pointer;
    background-color: #292929;
    padding: 10px 15px;
    float: left;
    display: flex;
    align-items: center;
    gap: 10px
}
.contents .tab-header button p,
a.button p {
    margin: 0;
    padding: 0;
    font-size: 14px
}
.contents .tab-header button:hover,
a.button:hover {
    background-color: #363636
}
.contents .tab-header button.active,
a.button.active {
    background-color: #444
}
.contents .tab-header button img,
a.button img {
    max-width: 20px
}
.contents .tab-content {
    display: none
}

/* Minecraft Colors */
.mc-d-red {
    color: #a00
}
.mc-red {
    color: #f55
}
.mc-blue {
    color: #55f
}
.mc-d-blue {
    color: #00a
}
.mc-aqua {
    color: #5ff
}
.mc-d-aqua {
    color: #0aa
}
.mc-d-green {
    color: #0a0
}
.mc-green {
    color: #5f5
}
.mc-l-purple {
    color: #f5f
}
.mc-d-purple {
    color: #a0a
}
.mc-gray {
    color: #aaa
}
.mc-d-gray {
    color: #555
}
.mc-gold {
    color: #fa0
}
.mc-yellow {
    color: #ff5
}
.mc-white {
    color: #fff
}
.mc-black {
    color: #000
}
