
html {
    background: var(--background-color);
    font-family: var(--font-family);
    color: var(--font-color);
    font-size: 11px;
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    overflow-anchor: none;
}

* html, body {
    height: 100%;
}

img {
    border: 0px;
}

footer, header, menu, nav, section {
    display: block;
}

a {
    font-size: 13px;
    text-decoration: none;
    outline: none;
    font-family: var(--hyperlink-font-family);
}

a:link {
    color: var(--hyperlink-color);
}

a:visited {
    color: var(--hyperlink-color);
}

a:active {
    color: var(--hyperlink-color);
}

a:hover {
    color: var(--hyperlink-hover-color);
}

a:hover img {
    border: 0px;
    text-decoration: none;
    outline: none;
}

footer a:link, footer a:visited, footer a:active, footer a:hover,
.msg0 a:link, .msg0 a:visited, .msg0 a:active, .msg0 a:hover,
.msg1 a:link, .msg1 a:visited, .msg1 a:active, .msg1 a:hover {
    color: #000;
}

.neutral a:link, .neutral a:visited, .neutral a:active, .neutral a:hover,
.success a:link, .success a:visited, .success a:active, .success a:hover,
.error a:link, .error a:visited, .error a:active, .error a:hover {
    color: #000;
    text-decoration: underline;
}

input, button {
    border: var(--input-border);
    color: var(--input-font-color);
    background: var(--input-background);
    border-radius: 6px;
}

input:disabled {
    opacity: 0.5;
    filter: alpha(opacity=50);
}

select, textarea, input[type="text"], input[type="password"], input[type="code"], input[type="number"] {
    font-family: var(--font-family);
    border: var(--input-border);
    color: var(--input-text-font-color);
    border-radius: 6px;
    background: var(--input-text-background);
    resize: none;
}

input:hover, button:hover {
    cursor: pointer;
}

input[type="submit"]:hover, input[type="button"]:hover, button:hover {
    background: var(--menu-active-gradient);
    color: var(--menu-active-gradient-color);
}

input[type="submit"], input[type="button"], button {
    padding: 5px 20px;
}

option[value] {
    background: var(--input-text-background);
    color: var(--input-text-font-color);
}

optgroup {
    padding: 2px;
}

.hue-highlight {
    filter: var(--hue-highlight-filter)
}

.vmid {
    vertical-align: middle;
}

.pagination {
    display: inline;
}

main .innertext {
    text-align: left;
    margin: 0 50px 0 50px
}

main .centertext {
    text-align: center;
}

main .content_box {
    display: block;
    margin: 0 auto;
    padding: 10px;
    height: auto;
    width: 600px;
    min-width: 600px;
    max-width: 982px;
    text-align: center;
    border: var(--content-border);
    background: var(--announcements-background);
    box-sizing: border-box;
    border-radius: 6px;
}


div#optionspage {
    background: var(--options-page-background);
    padding-top: 5px;
    padding-bottom: 5px;
    width: 800px;
    height: auto;
    position: relative;
    display: inline-block;
    border: var(--content-border);
    box-sizing: border-box;
    border-radius: 6px;
}

div.tab-container {
    position: relative;
    width: 800px;
    margin: 0 auto;
    margin-top: 10px;
    padding: 0;
}

div.tab-container > div.tab {
    float: left;
    padding: 5px 0;
    width: 150px;
    margin-left: 5px;
    border: var(--content-border);
    border-bottom: 0px;
    box-sizing: border-box;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    background: var(--menu-gradient); 
    color: var(--menu-gradient-color);
    font-family: var(--hyperlink-font-family);
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
}

div.tab-container > div.active-tab {
    background: var(--menu-active-gradient); 
    color: var(--menu-active-gradient-color);
    text-shadow: 0 1px 1px #000;
}

div.tab-container > div.tab:first-child {
    margin-left: 14px;
}

div.optionspage {
    background: var(--options-page-background);
    padding-top: 5px;
    padding-bottom: 5px;
    width: 800px;
    height: auto;
    position: relative;
    display: inline-block;
    border: var(--content-border);
    box-sizing: border-box;
    border-radius: 6px;
}

#annoucementNotice {
    display: block;
    margin: 5px auto;
    padding: 3px;
    text-align: center;
    border: var(--content-border);
    background: var(--announcements-background);
    border-radius: 6px;
}

.speedrun_timer_container {
    font-size: 24px;
    margin-top: 2px;
    margin-bottom: 1px;
    margin-left: 0px;
    margin-right: 8px;
    border: 1px solid black;
    background: var(--announcements-background);
    border-radius: 6px;
    text-align: center;
}

.chatWindow {
    display: inline-block;
    position: relative;
    width: 190px;
    padding: 0;
}

.msg1, .msg0 {
    color: var(--chaterpie-message-color);
    text-align: left;
    margin-bottom: 3px;
    padding: 2px;
    border: 1px solid black;
    word-wrap: break-word;
}

.msg0 {
    background: var(--chaterpie-message-a-background);
}

.msg1 {
    background: var(--chaterpie-message-b-background);
}

.chaterpie-user-info {
    text-align: center;
    min-height: 95%;
}

.chaterpie-user-info .user-content {
    padding: 5px;
    text-align: left;
}

textarea.chatbox {
    max-height: 150px;
    margin: 0 auto;
    margin-top: 2px;
    width: 170px;
}

.msg0 .userSprite, .msg1 .userSprite {
    float: left;
    width: 40px;
    height: 32px;
    text-align: center;
}

.msg0 .userLink, .msg1 .userLink {
    font-weight: bold;
    margin-top: 30px;
}

.msg0 img, .msg1 img {
    vertical-align: middle;
}

.msg0 a, .msg1 a {
    word-wrap: break-word;
}

.msg0 .time, .msg1 .time {
    float: right;
    vertical-align: middle;
    font-size: 10px;
    font-style: italic;
}

#messageChatbox {
    box-sizing: border-box;
    max-height: 94px;
    min-height: 26px;
    overflow-x: hidden;
    overflow-y: hidden;
}

.emoticon {
    padding: 0;
    margin: 0;
    vertical-align: middle;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.highlight {
    color: var(--chaterpie-highlight-color);
    font-weight: bold;
}

.rank-admin { color: var(--rank-color-admin); }
.rank-developer { color: var(--rank-color-developer); }
.rank-super-mod { color: var(--rank-color-super-mod); }
.rank-mod { color: var(--rank-color-mod); }
.rank-chat-mod { color: var(--rank-color-chat-mod); }
.rank-trial-mod { color: var(--rank-color-trial-mod); }
.rank-artist { color: var(--rank-color-artist); }
.rank-scyther { color: var(--rank-color-scyther); }
.rank-donator { color: var(--rank-color-donator); }
.rank-champion { color: var(--rank-color-champion); }
.rank-member { color: var(--rank-color-member); }
.rank-banned { text-decoration: line-through; }

.pokemon-selection {
    border-radius: 50%;
    background: var(--pokemon-selection-background);
    box-shadow: 0px 0px 1px 2px rgba(0, 0, 0, 0.46);
}

.pokemon-selection-hover:hover {
    border-radius: 50%;
    background: var(--pokemon-selection-background);
    box-shadow: 0px 0px 1px 2px rgba(0, 0, 0, 0.46);
}

.success, .error, .neutral {
    border-radius: 6px;
    width: 550px;
    padding: 5px;
    margin: 0 auto;
    border: var(--content-border);
}

.success {
    background: var(--success-background);
}

.neutral {
    background: var(--neutral-background);
}

.error {
    background: var(--error-background);
}

.error_text {
    color: var(--error-text-color);
}

.neutral_text {
    color: var(--neutral-text-color);
}

.success_text {
    color: var(--success-text-color);
}

#inner {
    display: table;
    margin: 0 auto;
}

.wraptocenter {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    width: 100px;
    height: 100px;
}

.wraptocenter * {
    vertical-align: middle;
}

div.pbar, div.expbar {
    margin: 0px auto;
    background: var(--bar-background);
    border: 2px solid black;
    border-radius: 6px;
    height: 5px;
    text-align: left;
}

.pbar span {
    position: absolute;
    height: 5px;
    border-radius: 6px;
    background: var(--percent-bar-background);
}

.expbar span {
    position: absolute;
    height: 5px;
    border-radius: 6px;
    background: var(--exp-bar-background);
}

.master-title-icon {
    display: inline-flex;
    justify-content: center;
    width: 40px;
    height: 32px;
}

.tooltipster-theme {
    background: var(--tooltip-background);
    border: var(--tooltip-border);
    box-sizing: border-box;
    border-radius: 6px;
}

.tooltipster-theme .tooltipster-content {
    font-size: 14px;
    line-height: 16px;
    padding: 8px 10px;
}

.scrollSig {
    display: inline-block;
    position: relative;
    width: 880px;
    padding: 0;
    max-height: 300px;
    overflow: hidden;
}

.always-visible.ps-container>.ps-scrollbar-x-rail, .always-visible.ps-container>.ps-scrollbar-y-rail {
    opacity: 0.6;
}

table.design {
    text-align: center;
    margin: 0 auto;
    background: var(--table-main-background);
    width: 100%;
    border: var(--table-main-border);
    border-radius: 10px;
}

table.design th {
    padding: 4px 10px;
}

table.design thead {
    color: var(--table-header-color);
    font-weight: bold;
}

.CBG1 {
    background: var(--table-row-a-background);
}

.CBG2 {
    background: var(--table-row-b-background);
}

table.design tbody tr:first-child>td:first-child {
    border-top-left-radius: 10px;
}

table.design tbody tr:first-child>td:last-child {
    border-top-right-radius: 10px
}

table.design tbody tr:last-child>td:first-child {
    border-bottom-left-radius: 10px;
}

table.design tbody tr:last-child>td:last-child {
    border-bottom-right-radius: 10px;
}

.bl, .tl, .br, .tr, .btl, .btr, .btlr {
    border-bottom: 0px;
}

.bl, .btl, .btlr {
    border-bottom-left-radius: 10px;
}

.br, .btr, .btlr {
    border-bottom-right-radius: 10px
}

.tl, .btl, .btlr {
    border-top-left-radius: 10px;
}

.tr, .btr, .btlr {
    border-top-right-radius: 10px
}

.bubble {
    background: var(--message-bubble-left-background);
    border: solid 1px rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    box-shadow: inset 0 5px 5px rgba(255, 255, 255, 0.4), 0 1px 3px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    clear: both;
    float: left;
    margin-bottom: 20px;
    padding: 8px 30px;
    position: relative;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);
    width: auto;
    max-width: 100%;
    word-wrap: break-word;
    text-align: left;
}

.bubble:before, .bubble:after {
    border-radius: 20px / 10px;
    content: '';
    display: block;
    position: absolute;
}

.bubble:before {
    border: 10px solid transparent;
    border-bottom-color: rgba(0, 0, 0, 0.5);
    bottom: 0;
    left: -7px;
    z-index: -2;
}

.bubble:after {
    border: 8px solid transparent;
    border-bottom-color: var(--message-bubble-left-arrow);
    bottom: 1px;
    left: -5px;
}

.bubble-right {
    background: var(--message-bubble-right-background);
    float: right;
    text-align: right;
}

.bubble-right:before {
    border-bottom-color: rgba(0, 0, 0, 0.5);
    border-radius: 20px / 10px;
    left: auto;
    right: -7px;
}

.bubble-right:after {
    border-radius: 20px / 10px;
    border-bottom-color: var(--message-bubble-right-arrow);
    left: auto;
    right: -5px;
}

.large-button {
    height: 40px;
    padding: 0px 20px;
    text-align: center;
}

.x-close-link {
    color: red !important;
    font-size: 32px !important;
    text-decoration: none !important;
    filter: drop-shadow(3px 3px 1px black);
}

.highlight-gradient {
    background: var(--highlight-animation-gradient);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: highlightgradient 4s linear infinite;
}

.highlight-rainbow-gradient {
    background: var(--highlight-rainbow-animation-gradient);
    background-size: 1800% 1800%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: rainbow 8s linear infinite;
}

@keyframes highlightgradient {
    0% {
        background-position: 0%;
    }
    50% {
        background-position: 200%;
    }
    100% {
        background-position: 0%;
    }
}
@keyframes rainbow { 
    0%{background-position:0% 82%}
    50%{background-position:100% 19%}
    100%{background-position:0% 82%}
}

.ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rank-admin {
    color: var(--rank-color-admin) !important;
}

.rank-developer {
    color: var(--rank-color-developer) !important;
}

.rank-super-mod {
    color: var(--rank-color-super-mod) !important;
}

.rank-mod {
    color: var(--rank-color-mod) !important;
}

.rank-artist {
    color: var(--rank-color-artist) !important;
}

.rank-trial-mod {
    color: var(--rank-color-trial-mod) !important;
}

.rank-chat-mod {
    color: var(--rank-color-chat-mod) !important;
}

.rank-scyther {
    color: var(--rank-color-scyther) !important;
}

.rank-donator {
    color: var(--rank-color-donator) !important;
}

.rank-champion {
    color: var(--rank-color-champion) !important;
}

.rank-member {
    color: var(--rank-color-member) !important;
}