body {
    --opacity: 1; 
    padding: 0;
    margin: 0;
    overflow: hidden;
    --table-color: #dddddd;
    --menu-color: #ffffff;
    --button-color: #f3f3f3;
    --button-background: #428bca;
    --button-background2: #337ab7;
    --button-border: #2e6da4;
    --button-backgound2-highlight: #286090;
    --button-border-highlight: #204d74;
    --text-color: black;
    --muted-menu: #eee;
    --link-color: #337ab7;
    --link-highlight-color: #23527c;
    --no-electron-none: none;
    --bs-secondary-color: var(--text-color);
    --chart-color: #cfada5;
    --fill-color: #e7cdc3;
}

.darkBody .darkicon,
.invertedBody .darkicon,
.bluebody .darkicon,
.purplebody .darkicon,
.pinkbody .darkicon {
    filter: invert(1);
}

.invertedBody {
    --table-color: #353535;
    --menu-color: rgb(10, 10, 10);
    --button-color: #0c0c0c;
    color: #eee;
    --button-background: #bd7435;
    --button-background2: #cc8548;
    --button-border: #d1925b;
    --button-backgound2-highlight: #d79f6f;
    --button-border-highlight: #dfb28b;
    --text-color: white;
    --muted-menu: #111111;
    --link-color: #cc8548;
    --link-highlight-color: #dcad83;
    --chart-color: #a07d72;
    --fill-color: #c49c91;
}

.darkBody {
    --menu-color: #222;
    --button-color: #3d3d3d;
    color: #eee;
    --text-color: #eee;
    --table-color: #555;
    --muted-menu: #444;
    --link-color: #78afdf;
    --chart-color: #b08b7a;
    --fill-color: #d0a997;
}

.bluebody {
    --menu-color: #0a0a5e;
    --button-color: #080858;
    color: #eee;
    --text-color: #eee;
    --table-color: #070750;
    --muted-menu: #060644;
    --link-color: #78afdf;
    --chart-color: #6d91e6;
    --fill-color: #92b3f0;
}

.purplebody {
    --menu-color: #510a5e;
    --button-color: #480858;
    color: #eee;
    --text-color: #eee;
    --table-color: #370750;
    --muted-menu: #430644;
    --link-color: #78afdf;
    --chart-color: #c178c8;
    --fill-color: #da9ada;
}

.pinkbody {
    --menu-color: #72126d;
    --button-color: #b40fac;
    color: #eee;
    --text-color: #eee;
    --table-color: #970e90;
    --muted-menu: #a842a3;
    --link-color: #78afdf;
    --chart-color: #db89d8;
    --fill-color: #f1b4ec;
}

a, a:not([href]):not([class]), a:not([href]):not([class]):hover {
    color: var(--link-color);
    cursor: pointer;
    text-decoration: underline;
}

a:focus,
a:hover {
    color: var(--link-highlight-color);
}

div {
    background: var(--menu-color);
}

input {
    background: var(--button-color);
}

.form-control[disabled],
.form-control[readonly],
fieldset[disabled] .form-control {
    background-color: var(--muted-menu);
}

button {
    background: var(--button-background);
    border: none;
    color: white;
    border-radius: 5px;
    padding: 5px;
    line-height: 1;
}
#loggedin > button {
    
    margin: 2px;
}

button:disabled {
    background: gray;

}

#canvas {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.checkbox label {
    margin-right: 10px;
}

form {
    margin-bottom: 0px;
}

.btn-primary {
    color: white;
    background-color: var(--button-background2);
    border-color: var(--button-border);
}

.btn-primary.active,
.btn-primary.focus,
.btn-primary:active,
.btn-primary:focus,
.btn-primary:hover,
.open>.dropdown-toggle.btn-primary {
    background-color: var(--button-backgound2-highlight);
    border-color: var(--button-border-highlight);
}

.btn-play,
.btn-settings,
.btn-spectate {
    display: block;
    padding-bottom: 8px;
}

.btn-play {
    width: 85%;
    float: left;
}

.btn-play-battle {
    background: #ff4c4c;
    border-color: #ff4c4c;
}
.btn-play-battle:hover {
    background: #dd3f3f;
    border-color: #dd3f3f;
}

.btn-smallplay {
    width: 73%;
    float: left;
}

.btn-settings {
    width: 13%;
    float: right;
}

.btn-friends {
    background: rgb(104, 173, 0);
    width: 13%;
    float: right;
    margin-left: 1.5px;
    padding-bottom: 8px;
}

.btn-spectate {
    display: block;
    float: right;
}

.friend-online-circle {
    background: rgb(94, 255, 0);
    width: 10px;
    height: 10px;
    border-radius: 50%;

}

#adsBottom {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
}

#adsBottomInner {
    margin: 0px auto;
    width: 728px;
    height: 90px;
    border: 5px solid white;
    border-radius: 5px 5px 0px 0px;
    background-color: #FFFFFF;
    box-sizing: content-box;
}

.region-message {
    display: none;
    margin-bottom: 12px;
    margin-left: 6px;
    margin-right: 6px;
    text-align: center;
}

#nick,
#locationKnown #region {
    width: 65%;
    float: left;
}

#locationUnknown #region {
    margin-bottom: 15px;
}

.form-control {
    background-color: var(--menu-color);
    color: var(--text-color);
    display: initial;
    width: auto;
}

#gamemode,
#spectateBtn {
    width: 33%;
    float: right;
}

#helloDialog {
    width: 350px;
    background-color: var(--menu-color);
    margin: 10px auto;
    border-radius: 15px;
    padding: 5px 15px 5px 15px;
    min-height: 600px;
    position: absolute;
    top: 47%;
    left: 50%;
    margin-right: -50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

#bottomad {
    height: 100px;
    width: 738px;
    background-color: transparent;
    margin: 10px auto;
    border-radius: 15px;
    padding: 5px 15px 5px 15px;
    position: absolute;
    bottom: 0px;
    left: 50%;
    margin-right: -50%;
    -webkit-transform: translate(-50%, 0%);
    -ms-transform: translate(-50%, 0%);
    transform: translate(-50%, 0%);
}

#sidead {
    height: 600px;
    width: 170px;
    background-color: transparent;
    margin: 10px auto;
    border-radius: 15px;
    padding: 5px 15px 5px 15px;
    position: absolute;
    right: 10px;
    bottom: 10px;
}

#betweenad {
    height: 250px;
    width: 300px;
    background-color: transparent;
    margin: 10px auto;
    border-radius: 15px;
    padding: 5px 15px 5px 15px;
    position: absolute;
    right: 190px;
    bottom: 10px;
}

#cookieprompt {
    width: 350px;
    background-color: var(--menu-color);
    margin: 10px auto;
    border-radius: 15px;
    padding: 5px 15px 5px 15px;
    position: absolute;
    bottom: 10px;
    right: 10px;

}

#announcementBox {
    width: 350px;
    background-color: var(--menu-color);
    margin: 10px auto;
    border-radius: 15px;
    padding: 5px 15px 5px 15px;
    position: absolute;
    top: 10px;
    left: 50%;
    margin-right: -50%;
    -webkit-transform: translate(-50%, 0%);
    -ms-transform: translate(-50%, 0%);
    transform: translate(-50%, 0%);
}

.chat {
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    position: absolute;
    z-index: 1;
    bottom: 10px;
    background: rgba(0, 0, 0, .2);
    border: 0px;
    outline: none;
    color: #FFF;
    height: 30px;
    text-indent: 12px;
    left: 10px;
    width: 300px;
}

.chat:focus {
    background: rgba(0, 0, 0, .5);
}
#emojiButton {
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    color: #656565;
    font-size: 25px;
    padding: 0px;
    padding-bottom: 5px;
    height: 30px;
    text-indent: 0px;
    left: 310px;
    width: 30px;
}
#emojiPicker {
    border-radius: 5px;
    padding: 3px;
    height: 175px;
    text-indent: 0px;
    left: 135px;
    width: 205px;
    bottom: 40px;
    cursor: pointer;
}
#emojiPicker:focus {
    background: rgba(0, 0, 0, .5);
}
.emoji {
    padding: 3px;
}
.hidden {
    display: none;
}


#a300x250 {
    width: 300px;
    height: 250px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
}

.skinIcon {
    background: #00aeff;
    width: 17px;
    height: 17px;
    padding: 13px;
    border-radius: 30px;
    text-align: center;
    color: white;
    background-size: cover;
}

.selectedSkin {
    border: #0077ff solid;
    border-radius: 3px;
}

.form input {

    display: block;
    width: 100%;
    padding: 8px 16px;
    margin-bottom: 5px;
    border: solid 1px #dcdcdc;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    outline: none;
}

.form input[type=submit] {
    width: 100%;
    background: var(--button-background);
    color: var(--button-color);
}

table {
    border-top: 1px solid #dddddd;
    font-family: arial, sans-serif;
    border-collapse: collapse;
    width: 100%;
}

td,
th {
    text-align: left;
    padding: 8px;
}

tr:nth-child(even) {
    background-color: var(--table-color);
}

tr td:nth-child(1) {
    width: 120px;

}
/*
#clanInfoUsers {
    width: auto;
}*/
#clanInfoUsers tr td:nth-child(1) {
    width: auto;
}
#clanInfoUsers tr td:nth-child(2) {
    width: auto;
    text-align: center;
}
#clanInfoUsers tr td:nth-child(3) {
    text-align: right;
    width: auto;
}

.bi-trash-fill:hover {
    cursor: pointer;
}

.easterEventQuestDiv {
    overflow:scroll;
    height: 369px;
}

#notification {
    position:fixed;
    top:50px;
    width:400px;
    left: 5px;

    background: transparent;

    z-index:600;
    font-weight:normal;
    font-size:14px;
    font-weight:bold;
    padding:5px;
}
#notification p {
    background: var(--menu-color);
    position: relative;
    padding: 1px;
    border-radius: 5px;
    border: 1px solid #aaa;
    margin-bottom: 0.1rem;

}
#notification span.dismiss {
    position: absolute;
    right: 0;
    top: 0;
    width: 20px;
    height: 20px;

    padding:0 5px;
    cursor:pointer;
    margin-right:10px;
    font-weight:bold
}
#notification a {
    text-decoration:none;
}

#top3 {
}

#top3 tr td:nth-child(1) {
    width: auto;
}

.roundText {

    text-shadow: 2px 0 var(--menu-color), -2px 0 var(--menu-color), 0 2px var(--menu-color), 0 -2px var(--menu-color),
        1px 1px var(--menu-color), -1px -1px var(--menu-color), 1px -1px var(--menu-color), -1px 1px var(--menu-color);
}

#xpProgress {
    text-align: center;
    background-color: black;
    border-radius: 5px;
    padding: 3px;
    padding-right: 20px;
    margin-left: 10px;
    height: 27px;
    position: absolute;
    left: 0;
    right: 0;
    height: 33px;
    top:0;
}


.progress {
    position: relative;
    top: -0px;
    padding-bottom: 30px;
    height: 50px;
    overflow: visible;
    background: transparent;
    box-shadow: none;
    -webkit-box-shadow: none;
}

.progressStar {
    position: relative;
    width: 60px;
    left: 299px;
    z-index: 1;

    display: flex;
    justify-content: center;
    align-items: center;
    background: none;
}

.progressStar b {
    position: relative;
    left: -41px;
}

.progress b:nth-child(1) {
    font-size: large;
    position: relative;
    z-index: 2;
}

.progress img {
    width: 60px;
    height: 60px;
    position: relative;
    right: 5px;
}

#xpProgress>div {
    background: url("/img/progress.jpg");
    background-size: contain;
    width: 0%;
    /* Adjust with JavaScript */
    height: 20px;
    border-radius: 2px;
    transition: width 1.5s ease-in-out;
    position: relative;
    top: -25px;
    height: 23px;
    left: 2px;
}

#community {
    overflow: auto;
    height: 530px;
}

#shop > table tr th:nth-child(2) {
    width: 60px;
}
#shop > table tr th:nth-child(3) {
    width: 40px;
}

.battleWindow {
    background-color: var(--table-color);
    padding: 8px;
    margin: 7px;
    border-radius: 10px;
    border: #777 solid 2px;
    flex-basis: 48%;
    height: 48%;
}

.battleWindowTitle {
    padding: 5px;
    background: #00000018;
    border-radius: 5px;
}

.battleWindowContent {
    position: relative;
    padding: 5px;
    background: #00000008;
    border-radius: 5px;
    margin-top: 5px;
    height: 88%;
    overflow: scroll;
}

#battleStartButton {
    position: absolute;
    bottom: 0;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    padding: 6px;
    border: none;
    border-radius: 5px;
    background: #d9534f;
    color: white;
}

.ffaMode {
    border: none;
    border-radius: 5px;
    height: 30px;
    margin-inline: 5px;
    color: var(--text-color);
    background-color: initial;
    border: #86b7fe solid 2px;
    outline: 0;
    box-shadow: 0 0 0 .15rem rgba(13,110,253,.25);
    
    min-width: 50px;
}

.selectedFFAMode {
    border: #0077ff solid 2px;
}

#ffaModes, #battleModes {
    /*margin: auto;
padding-left: 18px;
width: 84%;*/
    margin-top: 10px;
    margin-bottom: 7px;
    display: flex;
    justify-content: center;
}

.latestDonates {
    width: 700px;
    height: 282px;
    scale: 0.4;
    position: absolute;
    top: -84px;
    left: -207px;
}

#rationalIDLoginButton {
    width: 320px;
    height: 56px;
    background-size: contain;
    background-image: url("/img/loginUsingRationalIDSmall.png");
}


.titlebar {
    user-select: none;
    -webkit-user-select: none;
    -webkit-app-region: drag;
    height: 32px;
    color: white;
    font-size: medium;
    background: #0000004f;
    padding: 7px;
    position: relative;
    z-index: 990;
}
h2 {
    
    margin-top: 20px;
    margin-bottom: 10px;
}


#loadingWebsite {
    width: 100vw;
    height: 100vh;
    background-size: 100%;
    background-position: 0 50%;
    position: absolute;
}

.normalLoading {
    background: url("/img/loading.jpeg");
}

.darkLoading {
    background: url("/img/loading_dontburnmyeyes.jpeg");
}

.adminTools {
    position: absolute;
    z-index: 2;
    height: 210px;
    width: 235px;
    right: 50px;
    bottom: 50px;
    border: var(--text-color) solid 1px;
    border-radius: 10px;
    overflow: hidden;
}

.adminToolsTop {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 50px;
    background: #ffffff22;
    padding: 15px;
    border-bottom: var(--text-color) solid 1px;
}

.adminToolsTop button {
    position: absolute;
    right: 15px;
}

.adminToolsContent {
    position: absolute;
    left: 0;
    right: 0;
    top: 50px;
    bottom: 0;
    background: white;
}

.adminCommand {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 30px;
    padding: 5px;
    cursor: pointer;
}

.adminCommand:hover {
    color: red;
}

.closedAdminTools {
    height: 50px;
}

.leadBut {
    position: absolute;
    z-index: 2;
    right: 230px;
    top: 42px;
    height: 150px;
    width: 250px;
    border: var(--text-color) solid 1px;
    border-radius: 10px;
    overflow: hidden;
}

.leadCommand {
    position: absolute;
    height: 30px;
    padding: 5px;
    cursor: pointer;
    transition: color 0.1s;
}

.leadCommand:hover {
    color: red;
}
.tab {
    padding: 8px 16px;
    margin-bottom: 15px;
}
.tab.active {
    border: 1px solid #ccc;
    border-radius: 5px 5px 0 0;
    border-bottom: none;
    font-weight: bold;
}

#globalChat {
    position: absolute;
    right: 50px;
    bottom: 120px;
    z-index: 1000;
    line-height: 1;
    border-radius: 10px;
}
#globalChat > button {
    height: 35px;
    min-width: 35px;
    font-size: 15px;
    overflow: hidden;
    transition: width 500ms;
    padding-inline: 10px;
}
.globalChatMenu {
    
    height: 500px;
    width: 305px;
    border-radius: 10px;
    padding: 10px;
}
#globalChatMessages > input {
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
    position: absolute;
    z-index: 1;
    bottom: 10px;
    background: rgba(0, 0, 0, .2);
    border: 0px;
    outline: none;
    color: #FFF;
    height: 30px;
    text-indent: 12px;
    left: 10px;
    width: 215px;
}

#globalChatMessages > input:focus {
    background: rgba(0, 0, 0, .5);
}

#globalChatMessages > table {
    overflow: scroll;
    display: block;
    height: 320px;
}

#battleMatches {
    overflow: scroll;
    height: 500px;
}

.clanimg {
    
    width: 35px;
    height: 35px;
    border-radius: 50%;
    margin-right: 10px;
}

.bHistory {
    height: 40px;
    position: relative;
    width: 320px;
    display: flex;
    align-items: center;
}
.bHistoryBig {
    height: 60px;
    
}
.bHistory div {
    background: transparent;
}
.bHistory > div:nth-child(1) {
    position: absolute;
    left: 0px;
    right: 200px;
    font-weight: 600;
}
.bHistory > div:nth-child(2) {
    position: absolute;
    left: 110px;
    right: 130px;
    text-align: center;
    font-weight: 600;
    font-size: 25px;
}
.bHistory > div:nth-child(3) {
    position: absolute;
    left: 200px;
    right: 320px;
    text-align: right;
    font-weight: 600;
}
.bHistoryWin {
    background: #00ff0026;
    
}
.bHistoryLost {
    background: #ff000026;
    
}


#userMenuSkinPreview {
    width: 128px;
    height: 128px;
    background: #00aeff;

    border-radius: 50%;
    margin-block: 5px;
    
}
#skinSelectMenu {
    margin-block: 5px;
}