/*
 *  [ HTML & BODY ]
 */
:root,
:after,
:before,
.dark,
.dark :before,
.dark :after {
  /* StyleChanger Values */
  --default-primary-color: 53, 73, 204;
  --default-background-color: 220, 220, 220;

  --color-1: 0, 224, 233;
  --color-2: 203, 47, 47;
  --color-3: 47, 203, 145;
  --color-4: 245, 215, 25;
  --color-5: 186, 0, 245;

  --background-color-1: 15, 16, 19;
  --background-color-2: 6, 13, 19;
  --background-color-3: 0, 3, 10;
}

:root,
:before,
:after {
  --top-navigation-color: 255, 255, 255, .3;
  --main-navigation-color: 255, 255, 255, .1;
  --secondary-navigation-color: 255, 255, 255, 1;
  --nav-item-color: 255, 255, 255, 1;
  --banner-color: 35, 114, 204, .80;
  --second-banner-color: 35, 114, 204, .80;
  --colored-banner-color: 38, 133, 209, .95;
  --colored-second-banner-color: 8, 53, 69, .90;
  --banner-text-color: 255, 255, 255;
  --icon-background-color: 53, 73, 204;
  --icon-color: 255, 255, 255;
  --primary-color: 53, 73, 204;
  --primary-button-color: var(--default-primary-color);
  --primary-button-text-color: 255, 255, 255;
  --button-color: 19, 44, 64;
  --button-text-color: 255, 255, 255;
  --background-color: 220, 220, 220;
  --panel-color: 255, 255, 255;
  --panel-acent-color: 247, 247, 247;
  --news-background-color: 53, 73, 204;
  --news-color: 255, 255, 255, 1;
  --second-news-color: 238, 238, 228;

  --text-color: 0, 0, 0;
  --secondary-text-color: 178, 178, 178;

  --footer-background-color: 255, 255, 255;
  --secondary-footer-color: 201, 201, 217;
  --footer-text-color: 0, 0, 0;
  --second-footer-text-color: 0, 0, 0;
  --footer-link-background: 232, 236, 243;
  --footer-link-text-color: 0, 0, 0;

}

.dark,
.dark :before,
.dark :after {
  --top-navigation-color: 0, 0, 0, .60;
  --main-navigation-color: 17, 18, 26, .60;
  --secondary-navigation-color: 17, 18, 26, .60;
  --nav-item-color: 255, 255, 255, 1;
  --banner-color: 34, 37, 47, .95;
  --second-banner-color: 34, 37, 47, .95;
  --colored-banner-color: 0, 33, 59, .95;
  --colored-second-banner-color: 0, 13, 19, .95;
  --banner-text-color: 255, 255, 255;
  --icon-background-color: 255, 255, 255;
  --icon-color: 20, 21, 25;
  --primary-color: 38, 133, 209;
  --primary-button-color: var(--default-primary-color);
  --primary-button-text-color: 255, 255, 255;
  --button-color: 19, 44, 64;
  --button-text-color: 255, 255, 255;
  --background-color: 20, 21, 25;
  --panel-color: 15, 16, 20;
  --panel-acent-color: 10, 11, 12;
  --news-background-color: 10, 11, 12;
  --news-color: 255, 255, 255, 1;
  --second-news-color: 238, 238, 228;

  --text-color: 255, 255, 255;
  --secondary-text-color: 178, 178, 178;

  --footer-background-color: 28, 29, 38;
  --secondary-footer-color: 20, 20, 28;
  --footer-text-color: 255, 255, 255;
  --second-footer-text-color: 178, 178, 178;
  --footer-link-background: 32, 35, 43;
  --footer-link-text-color: 255, 255, 255;
}

.dark.back1,
.dark.back1 :after,
.dark.back1 :before {
  --background-color: var(--background-color-1);
  --secondary-background-color: 13, 14, 19;
  --panel-color: 18, 18, 24;
}

.dark.back2,
.dark.back2 :after,
.dark.back2 :before {
  --background-color: var(--background-color-2);
  --secondary-background-color: 16, 31, 43;
}

.dark.back3,
.dark.back3 :after,
.dark.back3 :before {
  --background-color: var(--background-color-3);
  --secondary-background-color: 21, 25, 30;
}

.color1 {
  --primary-color: 0, 224, 233;
  --primary-text-color: 0, 224, 233;
  --primary-button-color: 0, 194, 203;
  --shadow: 0, 224, 233;
  --icon-background-color: 255, 255, 255;
  --icon-color: 20, 21, 25;
  --banner-color: 34, 37, 47, .95;
  --second-banner-color: 34, 37, 47, .95;
  --colored-banner-color: 0, 124, 133, .95;
  --colored-second-banner-color: 0, 24, 33, .9;
  --banner-text-color: 255, 255, 255;
}

.dark.color1 {
  --primary-color: 0, 224, 233;
  --primary-text-color: 0, 224, 233;
  ;
  --primary-button-color: 0, 194, 203;
  --shadow: 0, 224, 233;
  --icon-background-color: 255, 255, 255;
  --icon-color: 20, 21, 25;
  --banner-color: 34, 37, 47, .95;
  --second-banner-color: 34, 37, 47, .95;
  --colored-banner-color: 0, 44, 53, .95;
  --colored-second-banner-color: 0, 14, 23, .9;
  --banner-text-color: 255, 255, 255;
}

.color2 {
  --primary-color: 203, 47, 47;
  --primary-text-color: 203, 47, 47;
  --primary-button-color: 203, 47, 47;
  --shadow: 203, 47, 47;
  --icon-background-color: 255, 255, 255;
  --icon-color: 20, 21, 25;
  --banner-color: 34, 37, 47, .95;
  --second-banner-color: 34, 37, 47, .95;
  --colored-banner-color: 75, 22, 15, 0.9;
  --colored-second-banner-color: 155, 80, 70, 0.9;
  --banner-text-color: 255, 255, 255;
}

.dark.color2 {
  --primary-color: 203, 47, 47;
  --primary-text-color: 203, 47, 47;
  --primary-button-color: 203, 47, 47;
  --shadow: 203, 47, 47;
  --icon-background-color: 255, 255, 255;
  --icon-color: 20, 21, 25;
  --banner-color: 34, 37, 47, .95;
  --second-banner-color: 34, 37, 47, .95;
  --colored-banner-color: 33, 1, 1, .95;
  --colored-second-banner-color: 34, 37, 47, .95;
  --banner-text-color: 255, 255, 255;
}

.color3 {
  --primary-color: 47, 203, 145;
  --primary-text-color: 47, 203, 145;
  --primary-button-color: 47, 203, 145;
  --shadow: 47, 203, 145;
  --icon-background-color: 255, 255, 255;
  --icon-color: 20, 21, 25;
  --banner-color: 34, 37, 47, .95;
  --second-banner-color: 34, 37, 47, .95;
  --colored-banner-color: 15, 70, 22, 0.8;
  --colored-second-banner-color: 100, 155, 100, 0.9;
  --banner-text-color: 255, 255, 255;
}

.dark.color3 {
  --primary-color: 47, 203, 145;
  --primary-text-color: 47, 203, 145;
  --primary-button-color: 47, 203, 145;
  --shadow: 47, 203, 145;
  --icon-background-color: 255, 255, 255;
  --icon-color: 20, 21, 25;
  --banner-color: 34, 37, 47, .95;
  --second-banner-color: 34, 37, 47, .95;
  --colored-banner-color: 1, 33, 14, .95;
  --colored-second-banner-color: 34, 37, 47, .95;
  --banner-text-color: 255, 255, 255;
}

.color4 {
  --primary-color: 245, 215, 25;
  --primary-text-color: 245, 215, 25;
  --primary-button-color: 245, 215, 25;
  --shadow: 245, 215, 25;
  --icon-background-color: 255, 255, 255;
  --icon-color: 20, 21, 25;
  --banner-color: 34, 37, 47, .95;
  --second-banner-color: 34, 37, 47, .95;
  --colored-banner-color: 155, 133, 10, .9;
  --colored-second-banner-color: 63, 34, 5, 0.9;
  --banner-text-color: 255, 255, 255;
}

.dark.color4 {
  --primary-color: 245, 215, 25;
  --primary-text-color: 245, 215, 25;
  --primary-button-color: 245, 215, 25;
  --shadow: 245, 215, 25;
  --icon-background-color: 255, 255, 255;
  --icon-color: 20, 21, 25;
  --banner-color: 34, 37, 47, .95;
  --second-banner-color: 34, 37, 47, .95;
  --colored-banner-color: 33, 33, 0, .95;
  --colored-second-banner-color: 34, 37, 47, .95;
  --banner-text-color: 255, 255, 255;
}

.color5 {
  --primary-color: 186, 0, 245;
  --primary-text-color: 186, 0, 245;
  --primary-button-color: 108, 19, 136;
  --shadow: 186, 0, 245;
  --icon-background-color: 255, 255, 255;
  --icon-color: 20, 21, 25;
  --banner-color: 34, 37, 47, .95;
  --second-banner-color: 34, 37, 47, .95;
  --colored-banner-color: 128, 60, 234, 0.85;
  --colored-second-banner-color: 98, 60, 234, 0.85;
  --banner-text-color: 255, 255, 255;
}

.dark.color5 {
  --primary-color: 186, 0, 245;
  --primary-text-color: 186, 0, 245;
  --primary-button-color: 108, 19, 136;
  --shadow: 186, 0, 245;
  --icon-background-color: 255, 255, 255;
  --icon-color: 20, 21, 25;
  --banner-color: 34, 37, 47, .95;
  --second-banner-color: 34, 37, 47, .95;
  --colored-banner-color: 20, 1, 36, .95;
  --colored-second-banner-color: 34, 37, 47, .95;
  --banner-text-color: 255, 255, 255;
}

.header.colored {
  --banner-color: var(--colored-banner-color);
  --second-banner-color: var(--colored-second-banner-color);
}

*:not(i, .far, .fas) {
  font-family: "poppins", sans-serif !important;
}

html,
body {
  background: rgba(var(--background-color));
}

body {
  width: 100vw;
}

body.pushable>.pusher {
  background: rgba(var(--background-color));
}

a,
h1,
h2,
h3,
h4,
h5,
h6,
h7 {
  color: rgba(var(--text-color));
  position: relative;
}

a:hover {
  color: rgba(var(--primary-color), .8);
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
}

::-webkit-scrollbar-thumb {
  background: rgba(var(--primary-color));
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(var(--primary-color), .9);
}

/*
 *  [ NAVIGATION BAR ]
 */

.ui.secondary.menu {
  background: rgba(var(--top-navigation-color));
  padding: 10px;
  margin: 0;
  position: relative;
}

.ui.secondary.menu .toc.item {
  display: none;
}

.ui.secondary.menu .toc.item i {
  margin: 0;
}

.ui.secondary.menu .ui.medium.label {
  padding: .68em 1em .5em .5em;
}

.ui.secondary.menu .ui.medium.label img {
  font-size: 1.09rem;
  margin: -.6em .5em -.6em -.5em;
}

.ui.secondary.inverted.menu .popup .list a.item {
  color: rgba(0, 0, 0, .87) !important;
}

@media only screen and (max-width: 768px) {

  .ui.secondary.menu .menu,
  .ui.secondary.menu .item {
    display: none;
  }

  .ui.secondary.menu .toc.item {
    display: block;
  }
}

.ui.secondary.menu .ui.popup {
  min-width: 200px;
}

.ui.secondary.menu .ui.popup a:not([href]) {
  cursor: default !important;
}

.ui.vertical.inverted.sidebar.menu.left .item .header span.icon {
  float: right;
}

/*
 *  [ HEADER ]
 */

.ui.masthead {
  background: linear-gradient(90deg, rgb(41, 117, 286) 0%, rgb(2, 117, 216) 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-bottom: 20px;
  padding: 4rem 0;
  border-radius: 0;
  color: #fff;
}

.ui.masthead .connect-server {
  background: rgba(255, 255, 255, .2);
  width: fit-content;
  padding: 1rem 1.5rem;
  margin-left: auto;
  border-radius: .4rem;
  text-align: center;
  box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, .1);
}

@media (max-width: 768px) {
  .ui.masthead .ui.grid .ui.row .column>* {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
}

.ui.masthead .connect-server .ui.header {
  margin: 0;
  color: #fff;
}

/*
 *  -[ SEGMENT ]-
 */

.ui.segment {
  background: rgba(var(--panel-color));
  border-radius: .3rem;
  border: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.ui.segment .ui.list .list>.item .header,
.ui.segment .ui.list>.item .header {
  display: inline-block;
}

.ui.secondary.segment.segment.segment.segment.segment:not(.inverted) {
  border-top: none;
}

/*
 *  [ NEWS POST ]
 */

#news-post .badge,
#news-post .ui.label {
  position: absolute;
  margin: 0;
  padding: .75em 1em;
  width: auto;
  top: 0;
  right: 0;
  text-transform: uppercase;
  border-radius: 0 .21428571rem 0 .28571429rem;
}

/*
 *  [ FORUM NODE ]
 */

#forum-node #last-post {
  width: 250px;
}

#forum-node #last-post .avatar {
  margin: 2px 10px 0 0;
}

/*
 *  [ FORUM PAGE ]
 */

#sticky-threads tbody tr td:last-child:not(:first-child),
#normal-threads tbody tr td:last-child:not(:first-child) {
  text-align: right;
}

#sticky-threads tbody tr td:last-child .ui.image.header .image,
#normal-threads tbody tr td:last-child .ui.image.header .image {
  float: right;
  margin-left: 1rem;
  margin-top: .24rem;
}

#sticky-threads .badge,
#sticky-threads .ui.label,
#normal-threads .badge,
#normal-threads .ui.label {
  position: relative;
  top: -1.2px;
  padding: .3rem .5rem;
  font-size: .7rem;
  margin: 0;
  margin-bottom: .1rem;
  margin-right: .2rem;
}

/*
 *  [ TOPIC PAGE ]
 */

#topic-post #post-sidebar .ui.small.image,
#topic-reply #reply-sidebar .ui.small.image {
  width: 120px;
}

#topic-post #post-sidebar h3,
#topic-reply #reply-sidebar h3 {
  margin: 1rem 0;
}

@media (max-width: 768px) {

  #topic-post #post-sidebar .ui.list,
  #topic-reply #reply-sidebar .ui.list {
    display: none;
  }
}

#topic-post #post-meta [class*="res right floated"] {
  margin-top: -5px;
}

@media (max-width: 576px) {
  #topic-post #post-meta {
    text-align: center;
  }

  #topic-post #post-meta [class*="res right floated"] {
    margin-top: 0;
  }
}

@media only screen and (min-width: 768px) {

  #topic-post #post-sidebar,
  #topic-reply #reply-sidebar {
    border-right: solid 1px rgba(0, 0, 0, .1);
    margin-top: -1.5rem;
    margin-bottom: -1.5rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  #topic-post #post-sidebar:before,
  #topic-reply #reply-sidebar:before {
    content: "";
    height: 0;
    border: 8px solid transparent;
    border-right: 8px solid rgba(0, 0, 0, .2);
    position: absolute;
    top: 75px;
    right: 0;
  }

  #topic-post #post-sidebar:after,
  #topic-reply #reply-sidebar:after {
    content: "";
    height: 0;
    border: 8px solid transparent;
    border-right: 8px solid #fff;
    position: absolute;
    top: 75px;
    right: -1px;
  }
}

@media only screen and (max-width: 768px) {

  #topic-post #post-sidebar,
  #topic-reply #reply-sidebar {
    border-bottom: solid 1px rgba(0, 0, 0, .1);
  }
}

#topic-post #post-content #reactions {
  margin-top: 1rem;
  padding: .7em 1.2em .7em 1.2em;
  min-height: 32.5px;
  font-size: .85em;
}

#topic-post #post-content #reactions form {
  display: inline-block;
}

#topic-post #post-content #reactions .icon {
  margin-right: .3em;
}

#topic-post #post-meta {
  margin-right: 1.3em;
}

.inline.fields.labels {
  flex-wrap: wrap;
}

.ui.form .inline.fields.labels .field {
  padding-bottom: 1em;
}

/*
 *  [ ACCOUNT MESSAGES ]
 */

#view-message #message .header {
  font-size: 1.15rem;
  margin-top: 0.01rem;
}

#view-message #message .meta {
  line-height: 0.95rem;
}

@media (max-width: 768px) {
  #messages table thead tr th:first-child {
    width: 100%;
  }

  #messages table thead tr th:not(:first-child),
  #messages table tbody tr td:not(:first-child) {
    display: none;
  }
}

/*
 *  -[ 404 ERROR ]-
 */

#error-403 .ui.container,
#error-404 .ui.container,
#maintenance .ui.container {
  position: relative;
  min-height: 100vh;
}

#error-403 .ui.segment,
#error-404 .ui.segment,
#maintenance .ui.segment {
  position: absolute;
  transform: translate(-50%, -70%);
  top: 50%;
  left: 50%;
  width: 500px;
  text-align: center;
}

/*
 *  [ PROFILE PAGE ]
 */

#profile-header {
  background: #fff;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#profile-header .ui.header {
  margin: 8px 0;
}

#profile-header .ui.label {
  margin: 0;
}

#profile-header .actions {
  position: absolute;
  right: 1rem;
}

#profile-forum .emojione {
  height: 24px;
  width: auto;
}

/*
 *  [ FORUM SEARCH ]
 */

#forum-search-result h3.ui.header {
  margin-top: 0;
  margin-bottom: 1rem;
}

/*
 *  [ SERVER PAGE ]
 */

[id*="server"] #server-players a:not(:last-child) {
  margin-right: .3rem;
}

/*
 *  [ WIDGETS ]
 */

[id*="widget"] .item .content {
  width: calc(100% - 40px) !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

[id*="widget"] .item .content * {
  overflow: hidden;
  text-overflow: ellipsis;
}

[id*="widget"] .item .description {
  width: calc(100% - 120px) !important;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

[id*="widget"] .item .description * {
  overflow: hidden;
}

#widget-online-users .ui.image.label {
  margin-bottom: .5rem;
}

#widget-online-staff .ui.list .item {
  display: flex;
  align-items: center;
}

#widget-online-staff .ui.list .item .content .badge {
  margin-left: .35rem;
}

/*
 *  -[ FOOTER ]-
 */


.ui.footer.segment {
  margin: 1rem 0 -.5rem 0;
  padding: 3em 0;
}

@media only screen and (max-width: 768px) {
  .ui.footer.segment {
    text-align: center;
  }
}

/*
 *  [ TABLE ]
 */

@media (max-width: 576px) {
  .ui.table.res thead tr th:first-child {
    width: 100%;
  }

  .ui.table.res thead tr th:not(:first-child),
  .ui.table.res tbody tr td:not(:first-child) {
    display: none;
  }
}

@media (max-width: 992px) {

  .ui.table.res thead tr th:first-child,
  .ui.table.res thead tr th:last-child {
    width: 50%;
  }

  .ui.table.res thead tr th:not(:first-child):not(:last-child),
  .ui.table.res tbody tr td:not(:first-child):not(:last-child) {
    display: none;
  }
}

/*
 *  -[ GRID ]-
 */

.ui.grid+.grid {
  margin-top: 0.3rem;
}

.ui.row+.row {
  padding-top: 0.3rem;
}

.ui.padded.grid:not(.vertically):not(.horizontally) {
  margin: 0 -1rem 0 -1rem !important;
}

@media only screen and (max-width: 768px) {
  .ui.padded.grid:not(.vertically):not(.horizontally) {
    margin: 0 !important;
  }
}

/*
 *  [ LINK LIST ]
 */

.ui.link.list.list .item a:not(.ui):hover,
.ui.link.list.list a.item:hover {
  background: none;
}

.ui.link.list.list .ui.divider {
  margin: 0.5rem 0;
}

/*
 *  [ USES POPUP ]
 */

#user-popup .header {
  text-align: center;
}

#user-popup .header .ui.header {
  padding: .5rem 0;
}

#user-popup .header .ui.image {
  margin: auto;
}

/*
 *  [ TOASTR ]
 */

#toast-container {
  font-family: Lato, 'Helvetica Neue', Arial, Helvetica, sans-serif;
  width: 100%;
}

#toast-container .toast-close-button {
  color: #000;
  opacity: .4;
}

#toast-container .toast-close-button:hover,
#toast-container .toast-close-button:focus {
  color: #000;
  opacity: .6;
}

#toast-container .toast {
  padding: 1rem 1.5rem;
  background: #fff;
  color: rgba(0, 0, 0, .68);
  -webkit-box-shadow: 0 1px 3px 0 #bababb, 0 0 1px 1px #bababb;
  box-shadow: 0 1px 3px 0 #bababb, 0 0 1px 1px #bababb;
  border: none;
  border-radius: .28571429rem;
  cursor: default;
  opacity: 1;
  transition: .5s all ease;
}

#toast-container .toast-success {
  border-bottom: solid 2px #30B245;
}

#toast-container .toast-success .toast-progress {
  background: #30B245;
}

#toast-container .toast-error {
  border-bottom: solid 2px #CE1D28;
}

#toast-container .toast-error .toast-progress {
  background: #CE1D28;
}

#toast-container .toast-warning {
  border-bottom: solid 2px #EE6A1C;
}

#toast-container .toast-warning .toast-progress {
  background: #EE6A1C;
}

#toast-container .toast-info {
  border-bottom: solid 2px #367DC4;
}

#toast-container .toast-info .toast-progress {
  background: #367DC4;
}

#toast-container .toast:hover {
  -webkit-box-shadow: 0 1px 3px 0 #bababb, 0 0 1px 1px #bababb;
  box-shadow: 0 1px 3px 0 #bababb, 0 0 1px 1px #bababb;
  cursor: default;
}

@media (max-width: 576px) {
  #toast-container .toast {
    width: calc(100% - 24px);
  }
}

/*
 *  [ SPOILER ]
 */

#tinymce .spoiler,
.spoiler {
  color: rgba(0, 0, 0, .87);
  border-radius: .28571429rem;
  -webkit-box-shadow: 0 0 0 1px rgba(34, 36, 38, .22) inset, 0 0 0 0 transparent;
  box-shadow: 0 0 0 1px rgba(34, 36, 38, .22) inset, 0 0 0 0 transparent;
  border: none;
}

#tinymce .spoiler-toggle,
.spoiler-toggle {
  color: rgba(0, 0, 0, .87);
}

#tinymce .spoiler-text,
.spoiler-text {
  color: rgba(0, 0, 0, .87);
}

/*
 *  [ MESSAGE ]
 */

.ui.message>.close.icon {
  right: .8em;
}

/*
 *  [ UPDATE MESSAGE ]
 */

#update-message {
  margin-bottom: 1rem;
}

#update-message>a {
  color: inherit;
  transition: all .2s ease;
}

#update-message>a:hover {
  filter: contrast(2);
}

#update-message>a>.icon {
  margin-right: .5em;
}

#update-message>a>.icon:not(.close) {
  display: block;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  width: auto;
  line-height: 1;
  vertical-align: middle;
  font-size: 3em;
  opacity: .8;
}

/*
 *  [ PAGINATION ]
 */

.ui.mini.pagination.menu .item:first-child,
.ui.mini.pagination.menu .item:last-child {
  padding-top: .5rem;
}

/*
 *  -[ ALIGNMENTS ]-
 */

[class*="left aligned"] {
  text-align: left;
}

[class*="center aligned"] {
  text-align: center;
}

[class*="right aligned"] {
  text-align: right;
}

/*
 *  [ FLOATS ]
 */

[class*="left floated"],
[class*="res left floated"] {
  float: left;
}

[class*="right floated"],
[class*="res right floated"] {
  float: right;
}

[class*="right floated"]+.ui.segment,
[class*="res right floated"]+.ui.segment {
  margin-top: 1rem;
}

@media only screen and (max-width: 576px) {

  [class*="res right floated"],
  [class*="res left floated"] {
    margin-top: 1rem;
    float: none;
  }

  [class*="res right floated"] .button:not(.mini),
  [class*="res left floated"] .button:not(.mini) {
    width: 100%;
    text-align: center;
  }

  [class*="res right floated"] .button:not(:first-child),
  [class*="res left floated"] .button:not(:first-child) {
    margin-top: 0.5rem;
  }
}

/*
 *  [ DISPLAY ]
 */

[display="block"] {
  display: block !important;
}

[display="inline"] {
  display: inline !important;
}

[display="inline block"] {
  display: inline-block !important;
}

/*
 *  [ VISIBILITY ]
 */

@media only screen and (max-width: 576px) {

  [class*="mobile hidden"],
  [class*="tablet only"]:not(.mobile),
  [class*="computer only"]:not(.mobile),
  [class*="large screen only"]:not(.mobile),
  [class*="widescreen only"]:not(.mobile),
  [class*="or lower hidden"] {
    display: none !important;
  }
}

@media only screen and (min-width: 576px) and (max-width: 768px) {

  [class*="mobile only"]:not(.tablet),
  [class*="tablet hidden"],
  [class*="computer only"]:not(.tablet),
  [class*="large screen only"]:not(.tablet),
  [class*="widescreen only"]:not(.tablet),
  [class*="or lower hidden"]:not(.mobile) {
    display: none !important;
  }
}

@media only screen and (min-width: 768px) and (max-width: 992px) {

  [class*="mobile only"]:not(.computer),
  [class*="tablet only"]:not(.computer),
  [class*="computer hidden"],
  [class*="large screen only"]:not(.computer),
  [class*="widescreen only"]:not(.computer),
  [class*="or lower hidden"]:not(.tablet):not(.mobile) {
    display: none !important;
  }
}

@media only screen and (min-width: 992px) and (max-width: 1280px) {

  [class*="mobile only"]:not([class*="large screen"]),
  [class*="tablet only"]:not([class*="large screen"]),
  [class*="computer only"]:not([class*="large screen"]),
  [class*="large screen hidden"],
  [class*="widescreen only"]:not([class*="large screen"]),
  [class*="or lower hidden"]:not(.computer):not(.tablet):not(.mobile) {
    display: none !important;
  }
}

@media only screen and (min-width: 1280px) {

  [class*="mobile only"]:not([class*="widescreen"]),
  [class*="tablet only"]:not([class*="widescreen"]),
  [class*="computer only"]:not([class*="widescreen"]),
  [class*="large screen only"]:not([class*="widescreen"]),
  [class*="widescreen hidden"],
  [class*="widescreen or lower hidden"] {
    display: none !important;
  }
}

/*
 *  [ USER BADGES ]
 */

.badge {
  display: inline-block;
  line-height: 1;
  vertical-align: baseline;
  margin: 0 .14285714em;
  background-color: #e8e8e8;
  background-image: none;
  padding: .5833em .833em;
  color: rgba(0, 0, 0, .6);
  text-transform: none;
  font-size: .85714286rem;
  font-weight: 700;
  border: 0 solid transparent;
  border-radius: .28571429rem;
  -webkit-transition: background .1s ease;
  transition: background .1s ease;
}

a.badge:hover,
a.badge:focus {
  text-decoration: none;
}

.badge:empty {
  display: none;
}

.badge-primary {
  color: #fff;
  background-color: #007bff;
}

a.badge-primary:hover,
a.badge-primary:focus {
  color: #fff;
  background-color: #0062cc;
}

.badge-secondary {
  color: #fff;
  background-color: #6c757d;
}

a.badge-secondary:hover,
a.badge-secondary:focus {
  color: #fff;
  background-color: #545b62;
}

.badge-success {
  color: #fff;
  background-color: #28a745;
}

a.badge-success:hover,
a.badge-success:focus {
  color: #fff;
  background-color: #1e7e34;
}

.badge-info {
  color: #fff;
  background-color: #17a2b8;
}

a.badge-info:hover,
a.badge-info:focus {
  color: #fff;
  background-color: #117a8b;
}

.badge-warning {
  color: #212529;
  background-color: #ffc107;
}

a.badge-warning:hover,
a.badge-warning:focus {
  color: #212529;
  background-color: #d39e00;
}

.badge-danger {
  color: #fff;
  background-color: #dc3545;
}

a.badge-danger:hover,
a.badge-danger:focus {
  color: #fff;
  background-color: #bd2130;
}

.badge-light {
  color: #212529;
  background-color: #f8f9fa;
}

a.badge-light:hover,
a.badge-light:focus {
  color: #212529;
  background-color: #dae0e5;
}

.badge-dark {
  color: #fff;
  background-color: #343a40;
}

a.badge-dark:hover,
a.badge-dark:focus {
  color: #fff;
  background-color: #1d2124;
}

/*
 *  [ OTHER ]
 */

select {
  font-family: Lato, 'Helvetica Neue', Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
  padding: 10px !important;
}

.ui.popup {
  z-index: 99999;
  text-align: left;
}

.ui.popup .ui.header {
  margin: 0;
}

.ui.message {
  margin: 0.5em 0;
}

.tox-tinymce {
  min-height: 300px;
}

.forum_post {
  word-wrap: break-word;
}

.forum_post img {
  overflow: auto;
  max-width: 100%;
  height: auto;
}

img.emojione {
  height: 24px;
  width: 24px;
}

.ui.icon.message.announcement i {
  padding-right: 20px;
}

.ui.checkbox .box:before,
.ui.checkbox label:before {
  margin-top: 4px;
}

.ui.checkbox input:checked~.box:after,
.ui.checkbox input:checked~label:after {
  margin-top: 4px;
}

.ui.header .topic.title .label,
.ui.header .topic.title .badge {
  margin-top: -4px;
  vertical-align: middle;
}

/*
 * [Custom]
 */

.primar {
  color: rgba(var(--primary-color));
  font-weight: 800;
}

.ui.labeled.icon.button {
  background: rgb(var(--panel-acent-color));
}

#wrapper {
  background: rgba(var(--background-color));
}

#wrapper>.ui.container {
  margin-top: -50px;
}

#wrapper>.header {
  min-height: 55vh;
  max-height: calc(60vh + 150px);
  background-size: cover;
  position: relative;
}

.banner-bar {
  height: 50vh;
  padding-top: 5vh;
}

.header .container.flex {
  display: flex;
  position: relative;
  z-index: 1;
  align-items: center;
  justify-content: center;
  justify-items: center;
  gap: 3em;
}

.ui.secondary.menu.mainNav {
  background: rgba(var(--main-navigation-color));
  padding: 1.2em;
  z-index: 99;
}

#navbar .right.menu a {
  color: rgba(var(--nav-item-color));
  margin-left: 2em;
  font-size: clamp(10px, .7vw, 15px);
  font-weight: 500;
  background: none;
}

#navbar .right.menu .ui.small.icon.button {
  margin-left: 0;
}

#nav>.ui.container {
  width: 100% !important;
  max-width: 100% !important;
  display: flex;

  justify-content: center;
  align-items: center;
}

.nav-center-wrapper {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: clamp(1.8rem, 3.5vw, 3.5rem);
  flex-wrap: wrap;
}

.nav-center-wrapper .item {
  margin: 0 !important;
  padding: 0.6em 1.2em !important;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-size: clamp(14px, 1vw, 17px);
  font-weight: 600;
  letter-spacing: 0.3px;
  border-radius: 8px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-center-wrapper .item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
  color: rgba(var(--primary-color)) !important;
}

.nav-center-wrapper .item.active {
  color: rgba(var(--primary-color)) !important;
  background: rgba(var(--primary-color), 0.12);
}

.ui.secondary.menu #nav .item,
.ui.secondary.menu .nav-mid .item,
.ui.secondary.menu .nav-right .item,
.ui.secondary.menu .nav-left .item {
  margin: 0 !important;
  padding: 0;
}


.ui.secondary.menu .active.item:hover,
.ui.secondary.menu .dropdown.item:hover,
.ui.secondary.menu .link.item:hover,
.ui.secondary.menu a.item:hover {
  color: rgba(var(--primary-color));
}

body.dark .ui.secondary.menu .right.menu .item {
  color: rgba(var(--text-color));
}

.dropdown .menu.transition {
  position: absolute;
  width: fit-content;
  right: 0;
  left: -50%;
}

d #navbar .right.menu .icon.button {
  margin-left: 0.4em;
}

.ui.secondary.menu .ui.medium.label img {
  border-radius: 0.2rem;
}

.ui.secondary.menu .item {
  color: rgba(var(--nav-item-color));
  font-weight: 600;
  font-size: clamp(15px, 1vw, 25px);
  margin: 0 2em 0 0;
  padding: 0;
}

.ui.secondary.menu .active.item {
  color: rgba(var(--nav-item-color));
}

#navbar .item {
  color: rgba(var(--nav-item-color));
  font-size: clamp(10px, .7vw, 15px);
  font-weight: 500;
}

#navbar .item i {
  margin-right: 0.4em;
}

.header .ui.secondary.menu a.item:hover,
.ui.secondary.menu a.item.active:hover,
body.dark .header .ui.secondary.menu .item:not(.active):hover {
  color: rgba(var(--primary-color));
  background: transparent;
}

.ui.secondary.menu .nav-mid .item {
  background-color: rgba(var(--primary-button-color));
  padding: 0.5em 1.5em;
  margin-right: 0;
}

.header .ui.secondary.menu .nav-mid .item:hover {
  background-color: rgba(var(--primary-button-color), .8);
  color: rgba(var(--nav-item-color));
}

.header .ui.secondary.menu .right.menu .item {
  background-color: rgba(var(--primary-button-color));
  padding: 0.5em 1.5em;
  margin-right: 0;
}

.ui.secondary.menu .right.menu .item:hover {
  background-color: rgba(var(--primary-button-color), .8);
  color: rgba(var(--nav-item-color));
}

#navbar .right.menu .ui.list .item {
  color: rgba(var(--text-color));
  margin-left: 0;
  padding-left: 0;
}

.secondNav {
  width: calc(300px + 100vw);
  height: 250px;
  margin-left: -150px;
  margin-top: -90px;
  border-radius: 100% 100% 0 0;
  background: rgba(var(--secondary-navigation-color));
  position: relative;
  display: flex;
  justify-content: center;
}

.secondNav:after {
  content: '';
  width: calc(300px + 100vw);
  border-radius: 100% 100% 0 0;
  height: 200px;
  position: absolute;
  left: 0;
  top: 125px;
  background-color: rgba(var(--background-color));
}

.secondNavBar {
  height: 125px;
  display: flex;
  align-items: center;
  gap: clamp(1em, 1.5vw, 3em);
}

.secondNav .item {
  font-weight: 500;
  font-size: clamp(12px, .9vw, 20px);
  padding: 0;
  color: rgba(var(--text-color));
}

.ui.card,
.ui.cards>.card {
  background: rgba(var(--panel-color));
  border: none;
  box-shadow: none;
  border-radius: 10px;
}

.ui.card>:first-child,
.ui.cards>.card>:first-child {
  border-radius: 10px !important;
}

.ui.attached.segment {
  border: none;
}

#news-post>.header {
  padding: 2em 2.5em;
  background-color: rgba(var(--news-background-color));
  display: flex;
  justify-content: space-between;
}

#news-post>.header>div>div {
  margin-top: 10px;
}

#news-post>.header>.date {
  text-align: center;
}

#news-post>.header>div>.day {
  font-size: clamp(10px, 1.5vw, 25px);
  color: rgba(var(--news-color));
  font-weight: 900;
  margin-top: 5px;
}

#news-post>.header>div>.month {
  font-size: clamp(10px, .8vw, 15px);
  color: rgba(var(--news-color));
  margin-top: 5px;
}

#news-post>.header a {
  color: rgba(var(--news-color));
  font-size: clamp(15px, 1.1vw, 22px);
  font-weight: 600;
}

#news-post>.header .ui.popup a {
  font-size: unset;
}

#news-post>.header .headerInfo {
  font-size: clamp(10px, .8vw, 15px);
  margin-right: 0.5em;
  color: rgba(var(--second-news-color));
}

#news-post>.content {
  padding: 1.5em 2.5em;
  border-top: none !important;
}

#news-post>.extra.content {
  padding-top: 0;
}

.ui.card>.content>.description,
.ui.cards>.card>.content>.description {
  color: rgba(var(--text-color));
}

.ui.button {
  background: rgba(var(--button-color));
  color: rgba(var(--button-text-color));
  padding: 1em 2em;
  position: relative;
}

.ui.button:hover {
  background: rgba(var(--button-color), .8);
  color: rgba(var(--button-text-color));
}

.ui.breadcrumb a.section {
  color: rgba(var(--text-color));
  position: relative;
}

.ui.mini.menu {
  position: relative;
}

.ui.flowing.popup {
  max-width: 300px;
}

/* Banner */

.container.logo {
  width: clamp(400px, 30%, 800px);
  text-align: center;
}

.container.logo img {
  max-width: 100%;
  max-height: 33vh;
  text-align: center;
  animation: logo 6s ease, 4s floating 6s infinite ease;
  position: relative;
}

@keyframes logo {
  0% {
    transform: scale(1, 1) translateY(-60vh);
  }

  40% {
    transform: scale(1.05, .95) translateY(0);
  }

  67% {
    transform: scale(1, 1) translateY(-5vh);
  }

  94% {
    transform: scale(1, 1) translateY(0);
  }

  100% {
    transform: scale(1, 1) translateY(0);
  }
}

@keyframes floating {
  0% {
    transform: translateY(0vh);
  }

  50% {
    transform: translateY(-5vh);
  }

  100% {
    transform: translateY(0vh);
  }
}

.discord,
.server {
  display: flex;
  align-content: center;
  justify-content: center;
  justify-items: center;
  gap: 1em;
  cursor: pointer;
  color: rgba(var(--banner-text-color));
}

.discord:hover,
.server:hover {
  color: rgba(var(--banner-text-color), .9);
}

.discordIcon,
.serverIcon {
  padding: 1em;
  background-color: rgba(var(--icon-background-color));
  border-radius: 1rem;
}

.discordIcon {
  padding: 1em 0.8em;
}

.discordIcon>i,
.serverIcon>i {
  font-size: clamp(20px, 2vw, 50px);
  color: rgba(var(--icon-color));
}

.discordIcon>i {
  font-size: clamp(18px, 1.8vw, 45px);
}

.discordText,
.serverText {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.membersText,
.playersText {
  font-size: clamp(8px, .8vw, 14px);
}

.serverText {
  align-items: flex-end;
}

.ipCopy {
  font-size: clamp(10px, .85vw, 20px);
  font-weight: 600 !important;
}

/* Forums */

#forum-header .header a {
  color: rgba(var(--news-color));
  font-size: clamp(15px, 1.1vw, 22px);
  font-weight: 600;
}

#forum-header {
  padding: 2em 2.5em;
  background-color: rgba(var(--news-background-color));
  display: flex;
  justify-content: space-between;
}

#forum-index #forum-header:nth-child(n+2) {
  margin-top: 3em;
}

#forum-node {
  margin: 0.6em 0;
}

#forum-node .header {
  color: rgba(var(--text-color));
  font-size: clamp(15px, 1.1vw, 22px);
  font-weight: 500;
  display: inline-block;
  margin-bottom: .4em;
}

#forum-node .six.wide {
  text-align: right;
}

#forum-node .six.wide .header {
  color: rgba(var(--text-color));
  font-size: clamp(12px, 1vw, 18px);
  font-weight: 400;
}

#forum-node .description {
  color: rgba(var(--secondary-text-color));
  font-weight: 300;
}

#forum-node .nine.wide span i {
  margin-right: 0.3em;
}

#forum-node .nine.wide span {
  margin-right: .6em;
}

#normal-threads thead th,
#subforums-table thead th {
  background: rgba(var(--panel-acent-color));
  border-radius: 0.3rem;
  border: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  padding: 1.5em;
  overflow: visible;
}

#normal-threads tbody td,
#subforums-table tbody td {
  background: rgba(var(--panel-color));
  border-radius: 0.3rem;
  border: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  padding: 1.5em;
  overflow: visible;
}

.ui.header {
  position: relative;
}

#topic-post {
  box-shadow: none;
  border: none;
}

#post-sidebar .badge {
  display: block;
  margin: 0.7em 0;
  border-radius: 0.3rem;
  padding: 0.8em;
}

#profile-forum .post {
  margin: 3em 0;
  padding: 1em;
  box-shadow: 0 0 0 1px rgba(var(--text-color), .1);
  border-radius: 0.3rem;
}

/* Login/register */

#login,
#register {
  padding: 3em 1.5em;
}

/* profile page */

/*#page-profile .pusher #wrapper > .ui.container {
    background-color: rgba(var(--panel-color));
    border-radius: .3rem;
}*/

.ui.attached:not(.message)+.ui.attached.segment:not(.top) {
  border-top: none;
  background-color: rgba(var(--panel-acent-color));
  border: none;
  padding: 2em 2em;
}

.ui.tabular.menu .active.item {
  background-color: rgba(var(--panel-acent-color));
}

/* Modules */
/* Infractions */

#infractions {
  position: relative;
}

#infractions thead th {
  background: rgba(var(--news-background-color));
  color: rgba(var(--news-color));
  font-size: clamp(12px, .8vw, 20px);
  font-weight: 600;
  padding: 1.5em 0 1.5em 2em;
}

#infractions tr {
  border: none;
  box-shadow: none;
  border-radius: .3rem;
}

#infractions tr:nth-child(even) {
  background: rgba(var(--background-color));
}

#infractions tr td {
  color: rgba(var(--text-color));
  font-size: clamp(8px, .7vw, 16px);
  font-weight: 500;
  padding: 1.5em 0 1.5em 2em;
}

/* Vote */

#vote .ui.grid {
  margin: 0;
}

#vote .ui.grid .ui.button {
  margin-bottom: 1em;
}

/* Forms */

#forms .ui.segment {
  padding: 3em 2em;
}

#forms .dropdown .menu {
  left: 0;
}

/* Resources */

#resourcesList {
  padding: 1em 2em;
}

.ui.padded.resourceList {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  border-radius: .2rem;
  margin: 2em 0;
}

.resourceInfo .ui.image.header {
  font-size: clamp(15px, .9vw, 20px);
  margin: 0.3em 0 0 0;
}

.resourceItem {
  margin: 0.2em;
  padding: .5em 2em;
  min-width: 280px;
  max-width: 330px;
  flex: 1 1 315px;
  display: block;
  border-width: 0;
  background: rgba(var(--panel-acent-color));
  border-radius: 0.4rem;
}

.resourceImage {
  text-align: center;
  padding: 0.1em;
  border-radius: 0.4rem;
}

.resourceImage img.ui.medium.rounded.image {
  max-height: clamp(100px, 7vw, 150px);
  width: unset;
  aspect-ratio: 1;
  display: inline-block;
}

.resourceDetails {
  display: flex;
  justify-content: space-between;
  font-size: clamp(8px, .8vw, 12px);
  opacity: .8;
  margin-top: 1em;
  color: rgba(var(--text-color));
}

.resourceSub {
  font-size: clamp(8px, .8vw, 12px);
  color: rgba(var(--text-color), .6);
  font-weight: 400;
  line-height: 1;
}

.resourceInfo .content {
  font-size: clamp(6px, .6vw, 13px);
  font-weight: 300;
  margin-top: 1em;
  color: rgba(var(--text-color));
}

.headerCategory {
  margin-top: 0.5em;
}

#resources textarea#editor {
  min-height: 40vh;
}

#resources .menu.transition {
  left: 0;
}

#resources td {
  padding: 1em 0;
}

#resources .ui.table {
  border: none;
}

#resources .flex>.ui.image.header>.content {
  align-items: flex-start;
}

#resources .ui.row {
  background-color: rgba(var(--panel-color));
  border-radius: 0.3rem;
}

.ui.padded.table td.icon-table {
  width: 60%;
  border-radius: .3rem;
}

.ui.padded.table td.icon-table>div {
  max-height: 75px;
  display: inline-block;
  position: relative;
  margin-right: 2em;
}

td.icon-table .ui.medium.image {
  max-height: 75px;
  width: auto;
  display: inline-block;
}

.flex>.ui.image.header>.content>.sub.header {
  align-self: flex-start;
}

.flex>.ui.image.header>.content {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  height: 75px;
  justify-content: space-between;
  align-items: flex-end;
}

.flex>.ui.header>.content>div>a {
  font-size: clamp(10px, .9vw, 17px);
}

div#resources {
  padding: 3em;
}

#resources .ui.breadcrumb {
  margin-bottom: 1em;
  width: 100%;
}

.ui.aligned.segment {
  background-color: rgba(var(--panel-acent-color));
}

#resources .ui.tabular.menu {
  margin-bottom: 0;
  background-color: rgba(var(--panel-acent-color));
  border: none;
}

#resources .forum_post {
  padding: 2em 1.42857143em;
}

#resources .header span {
  font-weight: 300;
  font-size: clamp(12px, .8vw, 20px);
}

#resources .ui.tabular.menu .item,
#resources .ui.tabular.menu .active.item {
  color: rgba(var(--text-color), .8);
  border: none;
}

#resources .ui.ten.wide.column .description img.ui.rounded.centered.image {
  max-width: 60px;
  vertical-align: middle;
}

#resources .ui.ten.wide.column .description .content {
  vertical-align: middle;
}

#resourceTitle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em;
  margin-bottom: 1em;
}

#resourceTitle .column {
  width: fit-content;
  display: inline-block;
}

#resources .ui.tabular.menu .active.item {
  background: rgba(var(--panel-color));
}

#otherResources {
  padding: 1.3em;
  font-size: clamp(10px, .9rem, 15px);
  font-weight: 600;
  line-height: 1.2;
  background: rgba(var(--button-color));
  display: block;
  color: rgb(var(--button-text-color));
  text-align: center;
  border-radius: 0.2rem;
}

.review {
  margin-top: 2em;
}

.review-avatar img.ui.rounded.centered.image {
  width: clamp(30px, 5vw, 100px);
  height: unset;
  aspect-ratio: 1;
}

.review .ui.container {
  gap: 1em;
}

.review-stars a {
  font-size: 1.1rem;
  font-weight: 500;
}

.review-date {
  color: rgba(var(--secondary-text-color));
  font-weight: 300;
  margin-bottom: .5em;
}

.reviewHeader {
  text-align: center;
  position: relative;
}

.reviewHeader::before {
  display: inherit !important;
  content: '' !important;
  position: absolute !important;
  top: calc(50% + 1px) !important;
  width: 7% !important;
  left: 34%;
  height: 2px !important;
  background-color: rgba(var(--primary-color), .2) !important;
}

.reviewHeader::after {
  display: inherit !important;
  content: '' !important;
  position: absolute !important;
  top: calc(50% + 1px) !important;
  width: 7% !important;
  right: 34%;
  height: 2px !important;
  background-color: rgba(var(--primary-color), .2) !important;
}

#resources .ui.mini.pagination.menu {
  margin: 0 2em 2em;
}

.releasesContainer {
  margin: 2em;
  padding: 2em;
  background: rgba(var(--panel-acent-color));
}

.versionsContainer {
  margin: 2em;
}

#resources .releasesContainer .forum_post {
  padding: 0;
}

#resources .ui.padded.table>thead>tr>th {
  padding: 1em 0;
}

#resources .ui.padded.table>thead>tr>th:first-child,
#resources .ui.padded.table>tbody>tr>td:first-child {
  padding: 1em 0 1em 1em;
}

.reviewContainer .ui.segment.menu {
  background: transparent;
  padding: 0;
  margin: 0;
}

.reviewContainer {
  background: rgba(var(--panel-acent-color));
  margin: 2em;
  padding: 1em;
}

.reviewContainer .review-avatar img.ui.rounded.centered.image {
  width: clamp(30px, 3vw, 60px);
}

/* Members */

#page-members .sixteen.wide.column .ui.secondary.menu .item {
  background: rgba(var(--primary-color), .8);
  padding: 0.5em 1em;
  margin: 0.2em;
}


/* Widgets */

.ui.card>.content>.header,
.ui.cards>.card>.content>.header {
  font-size: clamp(15px, .9vw, 22px);
  margin-top: 0.3em;
}

.ui.list .list>.item [class*="right floated"],
.ui.list>.item [class*="right floated"] {
  width: fit-content !important;
}

.ui.list .item .content a {
  color: rgba(var(--text-color));
  font-weight: 700;
}

img.ui.mini.image {
  border-radius: 0.3rem;
}

.widget .ui.relaxed.list,
.widget .ui.list {
  background-color: rgba(var(--panel-acent-color));
  padding: 1em;
  border-radius: 0.3rem;
}

.widget .ui.relaxed.list a,
.widget .ui.list a {
  color: rgba(var(--text-color));
}

.ui.card.widget>.extra,
.ui.cards.widget>.card>.extra {
  background: rgba(var(--panel-acent-color));
  color: rgba(var(--secondary-text-color));
  border-radius: 0.3rem !important;
  border: none !important;
  padding: 1em;
}

#widget-online-staff .ui.list .item .content .badge {
  background-color: transparent;
  color: rgba(var(--secondary-text-color));
  display: block;
  margin: 0.3em 0 0 0;
  padding: 0;
  font-weight: 500;
}

/* Profile */

#widget-profile {
  display: flex;
  align-content: center;
  justify-content: space-between;
  margin-bottom: .3em;
}

#widget-profile .header {
  font-size: clamp(15px, .9vw, 22px);
  margin: 0.4em 0;
}

#profile .ui.tiny.icon.button {
  background: rgb(var(--button-color));
  color: rgb(var(--button-text-color));
  margin: 0.4em 0;
}

#page-profile .column>.ui.segment {
  padding: 0;
  background: rgb(var(--panel-acent-color));
}

#page-profile .ui.tabular.menu .active.item {
  background: rgb(var(--panel-color));
  border: none;
}

#page-profile .ui.attached:not(.message)+.ui.attached.segment:not(.top) {
  background: rgb(var(--panel-color));
}

#page-profile .ui.attached.tabular.menu {
  border: none;
}

#profile-feed textarea {
  background: rgb(var(--panel-acent-color));
  box-shadow: inset 0px 3px 5px rgba(var(--text-color), .15);
}

#profile-forum .container.flex {
  display: flex;
  align-items: flex-start;
  justify-content: left;
  gap: 1em;
  margin-top: 2em;
}

.small.sub.header {
  display: inline-block;
  font-size: .8rem;
  color: rgba(var(--text-color), .6);
}

#profile-forum .content {
  margin-bottom: 1em;
}

.latestPost {
  padding: 1em;
  background: rgba(var(--panel-acent-color));
  flex: 1 1 100%;
}

#profile-friends .ui.column {
  flex: 0 1 clamp(100px, 20%, 200px);
  margin: 0;
  padding: 0;
  background-color: rgb(var(--panel-acent-color));
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

#profile-friends img.ui.mini.circular.image {
  margin-top: 2em;
  width: 50%;
}

/* Suggestions */

#suggestions .ui.ten.wide.tablet.twelve.wide.computer.column {
  padding: 1em 1.5em;
  background: rgb(var(--panel-color));
}

#suggestions .ui.ten.wide.column .ui.segment {
  background: rgba(var(--panel-acent-color));
}

#suggestions p {
  margin: 1em 0 2em;
  color: rgba(var(--text-color), .8);
}

#suggestions span {
  color: rgba(var(--text-color));
}

#suggestions .widget {
  color: rgba(var(--text-color));
}

#suggestions .ui.header .sub.header {
  padding: 0.5em 0;
}

i.search.icon {
  color: rgba(var(--text-color), .8);
}

.ui.form select {
  background: rgba(var(--panel-acent-color));
  color: rgba(var(--text-color), .5);
}

.ui.form .field .menu {
  position: absolute;
  left: 0;
}

#groupflex {
  flex-wrap: wrap;
}

/* Cookies */

.cc-color-override--613581420.cc-revoke {
  color: rgba(255, 255, 255, .6) !important;
}

.cc-floating .cc-message {
  color: rgba(255, 255, 255, .6);
}

.cc-color-override--613581420 .cc-highlight .cc-btn:first-child {
  color: rgba(255, 255, 255, .8) !important;
  border: 1px solid rgba(255, 255, 255, .8) !important;
}

.cc-color-override--613581420 .cc-btn {
  color: rgba(var(--primary-color)) !important;
  border: 1px solid rgba(var(--primary-color)) !important;
}

/* Footer */

.jtgraphics-footer {
  background: rgba(var(--footer-background-color));
  margin: 4em 0 0 0;
  padding: 4em 0;
}

.jtgraphics-footer>.ui.container,
.copyrightDiv>.ui.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 3em;
  color: rgba(var(--footer-text-color));
}

.jtgraphics-footer>.ui.container>div {
  flex: 1 1 300px;
}

.jtgraphics-footer h1 {
  color: rgba(var(--footer-text-color));
}

.footerLinks a {
  display: block;
  padding: 1em;
  margin-bottom: 1em;
  color: rgba(var(--footer-link-text-color));
  background-color: rgba(var(--footer-link-background));
  border-radius: 0.3rem;
}

.footerLinks a:after {
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  display: block;
  content: '';
  border-bottom: solid 3px rgb(var(--primary-color));
  transform: scaleX(0);
  transition: transform .5s ease-in-out;
}

.footerLinks a:hover:after {
  transform: scaleX(1);
  transform-origin: 0% 50%;

}

.footerLogo {
  max-height: 250px;
  text-align: center;
}

.footerLogo img {
  max-height: 100%;
  max-width: 100%;
  opacity: .5;
}

.footerLogo img:hover {
  opacity: 1;
  transition: .6s;
}

.footerInfo p {
  color: rgba(var(--second-footer-text-color));
  padding-bottom: 1em;
}

.footerInfo {
  text-align: right;
}

.footerInfo a {
  background-color: rgba(var(--primary-button-color));
  padding: 0.4em 1.8em;
  margin-right: 0;
  color: rgba(var(--nav-item-color));
  font-weight: 600;
  border-radius: 0.3rem;
  font-size: clamp(15px, 1vw, 22px);
}

.copyrightDiv {
  background-color: rgba(var(--secondary-footer-color));
  padding: 2em 0;
}

.ui.container.terms {
  margin-bottom: 10px;
}

.ui.container.terms .item {
  color: rgba(var(--second-footer-text-color));
  margin-right: 2em;
  font-size: clamp(8px, .7vw, 12px);
}

/* Stylechanger */

.styleChange {
  float: left;
  color: rgb(var(--text-color));
  width: calc((1/3) * 100%);
  text-align: center;
}

.styleChange p {
  width: fit-content;
  margin: 0 auto;
  padding: 5px 20px;
  border: 1px solid rgb(var(--text-color));
  border-radius: .7em;
  cursor: pointer;
  line-height: 1.2;
  font-size: calc(8px + .3vw);
}

.popup {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  overflow-y: scroll;
  -ms-overflow-style: none;
  scrollbar-width: none;
  position: fixed;
  top: 10vh;
  left: 15vw;
  width: 69vw;
  height: fit-content;
  max-height: 80vh;
  border-radius: 1em;
  padding: 0px;
  text-align: center;
  z-index: 1;
  background-color: rgb(var(--background-color));
  color: rgb(var(--text-color));
  -webkit-box-shadow: 0px 1px 4px rgba(0, 0, 0, .4);
  box-shadow: 0px 1px 4px rgba(0, 0, 0, .4);
}

.popupHeader {
  display: inline-block;
  width: 100%;
  text-align: left;
  padding: 2em 2em;
  background-color: rgb(var(--secondary-background-color));

}

.popupSwitch {
  display: inline-block;
  width: 100%;
  text-align: left;
  margin: 0 2em;
  padding: 2em 0;
}

.popupBackground {
  display: none;
}

.dark .popupBackground,
.popupText {
  display: inline-block;
  width: 100%;
  text-align: left;
  margin: 0 2em;
  padding: 2em 0;
  border-top: 1px solid rgba(var(--secondary-text-color), .6);
}


.color {
  height: 50px;
  width: 50px;
  margin: 0 20px 0 0;
  border-radius: 50%;
  display: inline-block;
}

.color:hover {
  -webkit-transform: scale(1.05, 1.05);
  -ms-transform: scale(1.05, 1.05);
  transform: scale(1.05, 1.05);
  cursor: pointer;
}


.backgroundColor {
  height: 150px;
  width: 250px;
  margin: 0 20px 20px 0;
  display: inline-block;
  border-radius: 1em;
  border: .5px solid #FFF;
}

.backgroundColor h2 {
  display: inline-block;
  bottom: 0;
  left: 0;
  margin: 100px 0 0 1em;
}

.backgroundColor:hover {
  -webkit-transform: scale(1.05, 1.05);
  -ms-transform: scale(1.05, 1.05);
  transform: scale(1.05, 1.05);
  cursor: pointer;
}


.popupSwitch h2 {
  display: inline-block;
  margin: 0;
}

.popup::-webkit-scrollbar {
  display: none;
}

.blocker {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  content: ' ';
  background: rgba(0, 0, 0, .5);
}

.blocker a {
  display: inline-block;
  border: none;
  background-color: rgb(var(--background-color));
  border-radius: 50%;
  margin: 20px 40px;
  float: right;
  padding: 10px 12px;
}

.blocker a:hover {
  cursor: pointer;
}

.blocker a i {
  padding: 10px;
  font-size: 20px;
  color: #909090;
}

#styleChange {
  display: none;
}

#styleChange.show {
  display: block;
}

input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  margin-right: 10px;
  margin-bottom: -8px;
}

input[type="checkbox"]:focus {
  outline: 0;
}

.toggle {
  height: 32px;
  width: 52px;
  border-radius: 16px;
  display: inline-block;
  position: relative;
  margin: 0;
  border: 2px solid #474755;
  background: rgba(var(--text-color), .1);
  transition: all .2s ease;
}

.toggle:after {
  content: '';
  position: absolute;
  top: 2px;
  left: 22px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 1px 2px rgba(44, 44, 44, .2);
  transition: all .2s cubic-bezier(.5, .1, .75, 1.35);
}

.dark .toggle {
  border-color: rgb(var(--primary-text-color));

}

.toggle:after {
  transform: translatex(0px);

}

.dark .toggle:after {
  transform: translatex(-20px);

}

/* Particles */
canvas {
  display: block;
  vertical-align: bottom;
}

/* ---- particles.js container ---- */
#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
}

/*
 *  [ DARK MODE ]
 */
body.dark,
body.dark.pushable>.pusher,
body.dark .ui.pointing.dropdown>.menu:after {
  background: rgba(var(--background-color));
}

body.dark .ui.secondary.menu:not(.inverted) {
  background: rgba(var(--top-navigation-color));
  color: rgba(var(--text-color));
}

body.dark .ui.secondary.menu.mainNav:not(.inverted) {
  background: rgba(var(--main-navigation-color));
}

body.dark .ui.secondary.menu .item.active {
  color: #fff;
}

body.dark .ui.top.attached.menu:not(.inverted) {
  background: #282828;
  border: 1px solid #282828;
}

body.dark .ui.top.attached.menu:not(.inverted) .item {
  color: #fff;
}

body.dark .tox.tox-tinymce {
  background: rgba(var(--panel-acent-color));
}

body.dark .tox .tox-mbtn {
  color: rgb(var(--text-color));
}

body.dark .tox .tox-menubar,
body.dark .tox .tox-toolbar-overlord,
body.dark .tox .tox-toolbar,
body.dark .tox .tox-toolbar__overflow,
body.dark .tox .tox-toolbar__primary {
  background-color: rgb(var(--panel-acent-color));
}

body.dark .ui.form input:not(.button) {
  background-color: rgba(var(--panel-acent-color)) !important;
}

body.dark .ui.modal {
  background-color: #303030;
  border: none;
}

body.dark .ui.modal>.content {
  background-color: #303030;
  border: 1px solid rgba(0, 0, 0, 0.125);
  color: #fff;
  -webkit-box-shadow: none;
  box-shadow: none;
}

body.dark .ui.modal>.actions,
body.dark .ui.modal>.header {
  color: rgba(255, 255, 255, 0.6);
  background-color: #444;
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

body.dark .ui.popup,
body.dark .ui.secondary.menu .ui.popup,
body.dark .ui.menu .dropdown.item .menu,
body.dark .ui.dropdown .menu {
  background-color: #222;
  border: 1px solid #444;
  color: rgba(255, 255, 255, 0.6);
  min-width: 200px;
}

body.dark .ui.default.button,
body.dark .ui.mini.icon.button,
body.dark .ui.top.right.attached.label {
  background-color: #282828;
  color: rgba(255, 255, 255, 0.6);
}

body.dark .ui.button.red {
  background-color: #db2828;
  color: #fff;
}

body.dark .ui.image.label,
body.dark .ui.selection.dropdown {
  background-color: #282828;
  color: #fff;
}

body.dark .ui.selection.dropdown .ui.label {
  background-color: #303030;
  color: #fff;
}

body.dark .ui.form .ui.selection.dropdown input:not(.button) {
  background-color: #282828 !important;
}

body.dark .ui.form .field .ui.selection.active.dropdown .menu {
  border: 1px solid #282828;
}

body.dark .ui.form .field .ui.dropdown .menu .item {
  background-color: #282828;
  border-top: 1px solid #303030;
  color: #fff;
}

body.dark .ui.card,
body.dark .ui.segment,
body.dark .ui.vertical.menu {
  background-color: rgba(var(--panel-color));
  -webkit-box-shadow: none;
  box-shadow: none;
}

body.dark .ui.segment#profile-header {
  border: none;
}

body.dark .ui.attached.tabular.menu {
  border-bottom: none;
}

body.dark .ui.attached.tabular.menu .item.active {
  background-color: #303030;
  border-color: transparent;
}

body.dark .ui.card .content.header {
  background-color: #444;
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

body.dark .ui.card>.content>.description,
body.dark .ui.cards>.card>.content>.description,
body.dark .ui.card>.content>.description .list .right.floated,
body.dark .ui.card>.content>.header a,
body.dark .ui.segment a,
body.dark .ui.checkbox label,
body.dark .ui.checkbox+label,
body.dark .ui.list .list>.item .description,
body.dark .ui.list>.item .description,
body.dark .ui.vertical.menu .item.active,
body.dark .ui.vertical.menu .item:hover,
body.dark #user-popup .description,
body.dark .ui.search.dropdown.active>input.search,
body.dark .ui.search.selection.dropdown>input.search,
body.dark .ui.selection.dropdown .menu>.message,
body.dark .ui.attached.tabular.menu .item.active,
body.dark .ui.threaded.comments .comment .text {
  color: #fff;
}

body.dark .ui.card .meta,
.ui.cards>.card .meta,
body.dark .ui.header,
body.dark .ui.header .sub.header,
body.dark .ui.card>.content>.header,
body.dark .ui.cards>.card>.content>.header,
body.dark .ui.secondary.menu .item:not(.active),
body.dark .ui.card>.content>.description .list .item .text,
body.dark .ui.card>.extra,
body.dark .ui.cards>.card>.extra,
body.dark .ui.pointing.dropdown>.menu>.header,
body.dark .ui.dropdown .menu>.item,
body.dark .ui.breadcrumb .icon.divider,
body.dark .ui.vertical.menu .item,
body.dark .ui.segment,
body.dark .ui.form .field>label,
body.dark .ui.list .list>.item .header,
body.dark .ui.list>.item .header,
body.dark .ui.attached.tabular.menu .item,
body.dark .ui.comments .comment .metadata,
body.dark .ui.comments .comment .actions a,
body.dark .ui.card>.extra a:not(.ui),
body.dark .ui.cards>.card>.extra a:not(.ui),
body.dark .ui.relaxed.list .item .content,
body.dark .ui.horizontal.divider {
  color: rgba(var(--text-color));
}

.ui.secondary.menu a.item:hover,
.ui.secondary.menu .nav-mid a.item.active:hover,
body.dark .ui.secondary.menu .nav-mid .item:not(.active):hover {
  background-color: rgba(var(--primary-button-color), .8);
  color: rgba(var(--text-color, .8));
}

body.dark .ui.secondary.inverted.menu .popup .list a.item,
body.dark .ui.pointing.dropdown>.menu>.item {
  color: rgba(255, 255, 255, 0.6) !important;
}

body.dark .ui.menu .ui.dropdown .menu>.item:hover,
body.dark .ui.menu .ui.dropdown .menu>.item.active,
body.dark .ui.list>.item a.header {
  color: #fff !important;
}

body.dark .ui.top.left.popup:before {
  background: #222;
  -webkit-box-shadow: 1px 1px 0 0 #444;
  box-shadow: 1px 1px 0 0 #444;
}

body.dark .ui.right.center.popup:before {
  background: #222;
  -webkit-box-shadow: -1px 1px 0 0 #444;
  box-shadow: -1px 1px 0 0 #444;
}

body.dark .ui.left.center.popup:before {
  background: #222;
  -webkit-box-shadow: 1px -1px 0 0 #444;
  box-shadow: 1px -1px 0 0 #444;
}

body.dark .ui.bottom.left.popup:before {
  background: #222;
  -webkit-box-shadow: 1px 1px 0 0 #222;
  box-shadow: 1px 1px 0 0 #222;
}

body.dark .ui.form textarea {
  background-color: rgb(var(--panel-acent-color));
  border: 2px solid #282828;
  color: rgba(var(--text-color), .5);
}

body.dark .ui.form input:not([type]),
body.dark .ui.form input[type=date],
body.dark .ui.form input[type=datetime-local],
body.dark .ui.form input[type=email],
body.dark .ui.form input[type=file],
body.dark .ui.form input[type=number],
body.dark .ui.form input[type=password],
body.dark .ui.form input[type=search],
body.dark .ui.form input[type=tel],
body.dark .ui.form input[type=text],
body.dark .ui.form input[type=time],
body.dark .ui.form input[type=url] {
  color: rgba(var(--text-color));
}

body.dark .ui.mini.info.message {
  background-color: #282828;
  box-shadow: 0 0 0 1px #282828 inset, 0 0 0 0 transparent;
  -webkit-box-shadow: 0 0 0 1px #282828 inset, 0 0 0 0 transparent;
}

body.dark .ui.pagination {
  background-color: #303030;
}

body.dark .ui.pagination.menu .item {
  color: #fff;
}

body.dark .ui.pagination.menu .item.active {
  background-color: #282828;
}

body.dark .ui.pagination .disabled.item {
  background-color: rgba(0, 0, 0, .05) !important;
  color: rgba(255, 255, 255, 0.6) !important;
}

body.dark .ui.table {
  background: rgba(var(--panel-color));
  color: rgba(255, 255, 255, 0.6);
}

body.dark .ui.table thead th {
  background-color: #282828;
  color: rgba(255, 255, 255, 0.6);
}

body.dark .ui.top.attached.header {
  background-color: #282828;
  border-color: #282828;
  color: rgba(255, 255, 255, 0.6);
}

body.dark .ui.table a {
  color: #fff;
}

body.dark .ui.selectable.table tbody tr:hover,
body.dark .ui.table tbody tr td.selectable:hover {
  color: rgba(255, 255, 255, 0.6) !important;
}

@media only screen and (min-width: 768px) {

  body.dark #topic-post #post-sidebar:after,
  #topic-reply #reply-sidebar:after {
    border-right: none;
  }
}

body.dark .forum_post {
  color: #fff;
}

body.dark .tox .tox-toolbar {
  background-color: #222;
}

body.dark .tox .tox-tbtn {
  color: #fff;
}

body.dark .tox .tox-tbtn:hover,
body.dark .tox .tox-tbtn--enabled,
body.dark .tox .tox-split-button:focus,
body.dark .tox .tox-edit-area__iframe {
  background: rgb(var(--panel-acent-color));
  box-shadow: inset 0px 0px 8px rgba(var(--text-color), .1);
  border: 1px solid rgba(var(--text-color), .3);
  color: #fff;
}

body.dark .tox .tox-tbtn svg {
  fill: #fff;
}

body.dark .tox .tox-statusbar {
  background-color: rgba(var(--panel-acent-color));
  color: rgba(var(--text-color), .8) !important;
}

.tox .tox-statusbar a,
.tox .tox-statusbar__path-item,
.tox .tox-statusbar__wordcount {
  color: rgba(var(--text-color), .8) !important;
}

body.dark .ui.cards>.green.card,
body.dark .ui.green.card,
body.dark .ui.green.cards>.card {
  -webkit-box-shadow: 0 0 0 1px #d4d4d5, 0 5px 0 0 #178f2b, 0 1px 3px 0 #d4d4d5;
  box-shadow: 0 0 0 1px #d4d4d5, 0 5px 0 0 #178f2b, 0 1px 3px 0 #d4d4d5;
}

body.dark .ui.cards>.red.card,
body.dark .ui.red.card,
body.dark .ui.red.cards>.card {
  -webkit-box-shadow: 0 0 0 1px #d4d4d5, 0 5px 0 0 #db2828, 0 1px 3px 0 #d4d4d5;
  box-shadow: 0 0 0 1px #d4d4d5, 0 5px 0 0 #db2828, 0 1px 3px 0 #d4d4d5;
}

@media only screen and (max-width:874px) {

  .discord,
  .server {
    display: none;
  }
}