.italic {
  font-style: italic;
}

.bold {
  font-weight: bold;
}

.center {
  text-align: center;
}

.underline {
  text-decoration: underline;
}

.monospace {
  font-family: monospace;
}

.text-color-ruleset, .color-ruleset {
  color: #006600;
}
.text-color-collection, .color-collection {
  color: #66b266;
}
.text-color-server, .color-server {
  color: #0080ff;
}
.text-color-hub, .color-hub {
  color: #00e6e6;
}
.text-color-version, .color-version {
  color: #9cff00;
}
.text-color-gamemode, .color-gamemode {
  color: #F22613;
}
.text-color-mutator, .color-mutator {
  color: yellow;
}
.text-color-map, .color-map {
  color: #F89406;
}

.sub-text {
  font-size: 14px;
}

.help-text {
  font-size: 13px;
  color: #888;
}

a.help-text {
  text-decoration: underline;
}

.form-error {
  color: red;
}

.icon {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.icon-map {
  background-image: url("/img/icons/map.svg");
  filter: saturate(0%);
}
.icon-mutator {
  background-image: url("/img/badges/mutator.svg");
  filter: invert(100%);
}
.icon-gamemode {
  background-image: url("/img/icons/stopwatch.svg");
}
.icon-server {
  background-image: url("/img/icons/internet.svg");
}
.icon-hub {
  background-image: url("/img/icons/network.svg");
}
.icon-collection {
  background-image: url("/img/badges/collection.svg");
}
.icon-ruleset {
  background-image: url("/img/icons/notebook.svg");
}
.icon-loading {
  background-image: url("/img/UTCC/loading.gif");
}
.icon-settings {
  background-image: url("/img/icons/settings.svg");
}
.icon-info {
  background-image: url("/img/icons/info.svg");
}
.icon-download {
  background-image: url("/img/icons/download.svg");
}
.icon-copy {
  background-image: url("/img/icons/copy.svg");
}
.icon-other {
  background-image: url("/img/icons/crosshair.svg");
}
.icon-user {
  background-image: url("/img/icons/user.svg");
}
.icon-file {
  background-image: url("/img/icons/file.svg");
}
.icon-notification {
  background-image: url("/img/icons/notification.svg");
}
.icon-subscribe {
  background-image: url("/img/icons/subscribe.svg");
}
.icon-unsubscribe {
  background-image: url("/img/icons/unsubscribe.svg");
}
.icon-add-version {
  background-image: url("/img/icons/new_version.svg");
}

html {
  background-image: url("/img/background/bg_opt.jpg");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  height: calc(100% - 50px);
}

body {
  min-width: 703px;
  font-size: 15px;
  margin: 0;
  font-family: "Montserrat", sans-serif;
  min-height: 100%;
  height: 100%;
}

/* csslint ignore:start */
#app {
  padding-top: 56px;
  background-color: rgba(20, 20, 20, 0.4);
  min-height: calc(100% - 56px);
  position: relative;
}

.bg-blur {
  height: 100%;
  width: 100%;
  position: fixed;
  backdrop-filter: blur(6px);
}

#react-root {
  height: 100%;
}

div#body {
  color: #ccc;
  min-height: 100%;
  width: 100%;
  height: 100%;
}

.not-found,
.page-notification {
  border: 1px solid #555;
  padding: 20px;
  background: rgba(20, 20, 20, 0.8);
  min-width: 200px;
  max-width: 50%;
  margin: 30px auto;
  padding: 20px;
}

.search-wrapper input[type=text] {
  padding: 10px 5px;
  text-align: center;
}

input[type=text],
input[type=number],
input[type=password],
input[type=file],
input[type=email],
select,
textarea,
.like-input {
  background: rgba(255, 255, 255, 0.1);
  color: #ddd;
  padding: 5px;
  height: 100%;
  font-size: 14px;
  width: calc(100% - 12px);
  border: 1px solid #777;
  border-radius: 4px;
}
input[type=text]:focus,
input[type=number]:focus,
input[type=password]:focus,
input[type=file]:focus,
input[type=email]:focus,
select:focus,
textarea:focus,
.like-input:focus {
  background-color: white;
  color: black;
}

select {
  width: 100%;
}

textarea {
  font-size: 14px;
  resize: vertical; /*//todo move to where this was applicable, prob panel */
}

input:not([type=submit]) select option .like-input {
  color: black;
  background-color: rgba(255, 255, 255, 0.1);
}

input[type=checkbox] {
  width: initial;
  height: initial;
}

.like-input {
  display: inline-block;
  border-radius: 0;
  border: 1px solid #555;
}

.centered-input {
  width: calc(100% - 12px);
  text-align: center;
}

.btn-black {
  background: transparent;
  border: 1px solid #aaa;
  padding: 5px 15px;
  border-radius: 4px;
  color: #aaa;
  cursor: pointer;
  min-width: 100px;
  margin: 10px auto 0 auto;
  display: block;
}
.btn-black:hover {
  background: rgba(255, 255, 255, 0.1);
}
.btn-black:active {
  color: black;
  background: rgba(255, 255, 255, 0.7);
}

.input-with-counter {
  position: relative;
}
.input-with-counter.hidden span {
  display: none;
}
.input-with-counter input {
  transition: all 0.6s, background-color, color 1ms;
}
.input-with-counter span {
  font-size: 10px;
  position: absolute;
  color: #999;
  min-width: 44px;
  text-align: center;
}
.input-with-counter.text span {
  top: calc(50% - 7px);
  right: 5px;
}
.input-with-counter:not(.hidden).text input {
  width: calc(100% - 12px - 50px);
  padding-right: 55px;
}
.input-with-counter:not(.hidden).text span {
  top: calc(50% - 7px);
  right: 5px;
}
.input-with-counter:not(.hidden).textarea textarea {
  padding-bottom: 20px;
  vertical-align: top;
}
.input-with-counter:not(.hidden).textarea span {
  bottom: 3px;
  left: 14px;
}

.form-notice {
  padding: 10px;
  margin-bottom: 20px;
  color: black;
  border-radius: 5px;
}
.form-notice.form-error {
  border: 4px solid #F22613;
  background: #ffe6e6;
}
.form-notice.form-success {
  border: 4px solid #c3ff68;
  background: #edffd1;
}

.dialog-header {
  font-size: 26px;
  text-align: center;
  border-bottom: 1px solid #777;
  position: relative;
  height: 54px;
  padding: 0 60px;
  line-height: 54px;
}
.dialog-header-close {
  position: absolute;
  right: 0;
  font-family: monospace;
  color: #777;
  font-size: 22px;
  cursor: pointer;
  height: 54px;
  width: 54px;
  text-align: center;
}
.dialog-header-close:hover {
  color: #ddd;
  background-color: #4b4b4b;
}

.dialog-body {
  padding: 40px;
  overflow-y: auto;
  flex-grow: 1;
}
.dialog-body input[type=text] {
  height: initial;
}
.dialog-body label {
  display: inline-block;
  width: 120px;
  height: 41px;
  vertical-align: top;
  line-height: 41px;
}
.dialog-body select,
.dialog-body input:not([type=submit]):not([type=checkbox]),
.dialog-body .like-input {
  margin: 5px 0;
}
.dialog-body .labeled-input select {
  width: calc(100% - 120px);
}
.dialog-body .labeled-input .multi-select {
  width: calc(100% - 2px - 120px);
  display: inline-block;
}
.dialog-body .labeled-input > input:not([type=submit]):not([type=checkbox]):not([type=file]):not(.centered-input),
.dialog-body .labeled-input .like-input {
  text-align: right;
  width: calc(100% - 120px - 2px - 10px);
}
.dialog-body .labeled-input .input-with-counter {
  position: relative;
  display: inline-block;
  width: calc(100% - 120px);
}
.dialog-body .labeled-input .input-with-counter input:not([type=submit]):not([type=checkbox]):not([type=file]):not(.centered-input),
.dialog-body .labeled-input .input-with-counter .like-input {
  text-align: right;
  width: calc(100% - 2px - 10px - 50px);
}
.dialog-body .labeled-input .input-with-counter.hidden input:not([type=submit]):not([type=checkbox]):not([type=file]):not(.centered-input),
.dialog-body .labeled-input .input-with-counter.hidden .like-input {
  width: calc(100% - 12px);
}
.dialog-body .labeled-input.toggle label {
  width: calc(100% - 70px);
}
.dialog-body input[type=checkbox] {
  width: initial;
  height: initial;
}

.dialog-buttons {
  height: 50px;
}
.dialog-buttons .dialog-button {
  width: 50%;
  height: calc(100% - 1px);
  border: 0;
  cursor: pointer;
  background-color: transparent;
  transition: all 0.5s ease;
  transition: width 0.01s ease;
  font-weight: bold;
  font-size: 16px;
}
.dialog-buttons .dialog-button:hover {
  transition: all 0.5s ease;
  color: black;
}
.dialog-buttons .dialog-button.left {
  border-right: 1px solid #999;
}
.dialog-buttons .dialog-button:disabled {
  border-color: #666;
  color: #666;
  cursor: initial;
}
.dialog-buttons .dialog-button:disabled:hover {
  background: transparent;
}
.dialog-buttons .dialog-button-success {
  border-top: 1px solid #c3ff68;
  color: #c3ff68;
}
.dialog-buttons .dialog-button-success:hover {
  background-color: #c3ff68;
}
.dialog-buttons .dialog-button-err {
  border-top: 1px solid #F22613;
  color: #F22613;
}
.dialog-buttons .dialog-button-err:hover {
  background-color: #F22613;
}
.dialog-buttons .dialog-button-generic {
  border-top: 1px solid #2684d6;
  color: #2684d6;
}
.dialog-buttons .dialog-button-generic:hover {
  background-color: #2684d6;
}
.dialog-buttons .dialog-button-warn {
  border-top: 1px solid #F89406;
  color: #F89406;
}
.dialog-buttons .dialog-button-warn:hover {
  background-color: #F89406;
}
.dialog-buttons .dialog-button-default {
  border-top: 1px solid #ddd;
  color: #ddd;
}
.dialog-buttons .dialog-button-default:hover {
  background-color: #ddd;
}
.dialog-buttons .dialog-button.single-button {
  width: 100%;
  border-right: 0;
}

.ReactModal__Overlay {
  background-color: rgba(0, 0, 0, 0.7) !important;
  margin: 0 auto;
  z-index: 9;
}

.dialog {
  min-height: 235px;
}
.dialog .dialog-body {
  min-height: 75px;
}

.dialog {
  position: absolute;
  margin: 0 auto;
  color: #ddd;
  background: rgb(54, 54, 54);
  outline: none;
  z-index: 10;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  max-height: calc(100% - 100px);
}
.dialog .modal-form-error {
  color: #333;
  border: 1px solid red;
  background: #ff6666;
  height: 24px;
  margin: 5px 0;
  text-align: center;
  line-height: 24px;
  font-weight: bold;
}

.nav-menu,
.nav-form {
  overflow: hidden;
  z-index: 10;
  color: white;
  text-shadow: none;
  display: none;
  position: relative;
  background: rgba(60, 60, 60, 0.97);
}
.nav-menu.right,
.nav-form.right {
  float: right;
}

.nav-menu .menu-link:hover {
  background-color: rgba(34, 34, 34, 0.9);
}

.nav-form {
  padding: 12px 16px;
}
.nav-form div {
  margin-top: 5px;
}
.nav-form input[type=checkbox] {
  width: initial;
  height: initial;
  float: right;
}
.nav-form input[type=password],
.nav-form input[type=text] {
  font-size: 13px;
}
.nav-form input[type=password]:focus,
.nav-form input[type=text]:focus {
  background: white;
  color: black;
}

.nav-link.open .nav-menu,
.nav-link.open .nav-form {
  display: block;
}

.menu-link {
  padding: 0 15px;
}

.nav-item.account .nav-menu {
  min-width: 100%;
}
.nav-item.account .nav-menu .menu-link.patreon-link {
  padding: 0;
}
.nav-item.account .nav-menu .menu-link.patreon-link a {
  padding: 0;
  height: 43px;
  background: #F96854;
}
.nav-item.account .nav-menu .menu-link.patreon-link a img {
  max-width: 100%;
  max-height: 100%;
}

.nav-menu .menu-link.nav-item.patron {
  padding: 0;
  background-color: #F96854;
}
.nav-menu .menu-link.nav-item.patron a {
  height: 50px;
  color: white;
  background-color: #F96854;
}
.nav-menu .menu-link.nav-item.patron img {
  height: 50px;
  float: left;
  margin-left: 15px;
}
.nav-menu .menu-link.nav-item.patron div {
  font-size: 16px;
  float: left;
  line-height: 50px;
}

.nav-item {
  transition: 0.3s;
  cursor: pointer;
  text-align: center;
}
.nav-item > a {
  color: white;
  display: block;
}
.nav-item.open {
  background-color: rgba(60, 60, 60, 0.97);
}
.nav-item.open > a, .nav-item:hover > a {
  color: white;
}

.nav-item:hover,
.nav-logo:hover {
  background-color: rgba(60, 60, 60, 0.97);
}

.menu-link {
  line-height: 54px;
}

.account.patron > a {
  color: #F96854;
}

.nav-link {
  line-height: 56px;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  float: left;
  font-weight: 800;
  min-width: 90px;
}
.nav-link:hover {
  background-color: rgba(60, 60, 60, 0.97);
}
.nav-link.open {
  transition: 0.3s;
  min-width: 120px;
}
.nav-link-login {
  border-color: #c1ff62;
}
.nav-link-login.open, .nav-link-login:hover {
  background-color: #c1ff62;
}
.nav-link-login.open > a, .nav-link-login:hover > a {
  color: black;
}
.nav-link-account {
  max-width: 130px;
}
.nav-link-account a {
  padding-left: 5px;
  padding-right: 5px;
}

div.nav .sidebar {
  float: right;
  display: none;
}
div.nav .sidebar .nav-logo {
  border: 0;
  width: calc(100% - 10px);
  border-bottom: 1px solid #333;
}
div.nav .sidebar .nav-logo img {
  margin-left: auto;
  margin-right: auto;
  display: block;
}
div.nav .sidebar .nav-link {
  max-width: 100%;
}
@media (min-width: 681px) {
  div.nav .sidebar .nav-logo {
    display: none;
  }
}
div.nav .sidebar .sidebar-content-menu {
  overflow-x: hidden;
  height: calc(100% - 56px);
}
@media (max-width: 1035px) {
  div.nav .sidebar {
    display: block;
  }
}
div.nav .sidebar .sidebar-toggle {
  background-image: url("/img/menu.png");
  height: 56px;
  width: 56px;
  display: block;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
}
div.nav .sidebar-content {
  transition: all 0.7s;
  width: 300px;
  height: 100%;
  position: fixed;
  top: 0;
  display: block;
  overflow: auto;
  right: -300px;
  background: rgba(34, 34, 34, 0.9);
  z-index: 1;
}
div.nav .sidebar-content .nav-right {
  float: none;
}
div.nav .sidebar-content .nav-right .nav-link {
  border-left: 0;
}
div.nav .sidebar-content .nav-link {
  width: 100%;
  border: 0;
}
div.nav .sidebar-content .nav-link .nav-menu,
div.nav .sidebar-content .nav-link .nav-form {
  border-left: 0;
  border-right: 0;
}
div.nav .sidebar-content .nav-form {
  width: calc(100% - 32px);
}
div.nav .sidebar-content .nav-menu {
  width: 100%;
}
div.nav .sidebar.open .sidebar-content {
  right: 0;
}

.nav-notification-container {
  width: 80px;
  height: 56px;
  float: right;
  position: relative;
}
.nav-notification-container.hasNew .nav-notification-toggle {
  background-color: red;
  animation: fadeinout 4s linear forwards;
  animation-iteration-count: infinite;
}
@keyframes fadeinout {
  0%, 100% {
    background-color: transparent;
  }
  50% {
    background-color: #666666;
  }
}
.nav-notification-container.open .nav-notification-list {
  display: block;
}
.nav-notification-container .nav-notification-list {
  display: none;
  background: rgba(60, 60, 60, 0.97);
  width: 450px;
  position: absolute;
  right: 0;
}
.nav-notification-container .nav-notification-list .sub-notification {
  overflow: hidden;
  padding: 10px 15px;
  color: #ddd;
  border-left: 6px solid;
  border-right: 6px solid;
}
.nav-notification-container .nav-notification-list .sub-notification.personal {
  border-color: #39294c;
  background-color: #1c1426;
}
.nav-notification-container .nav-notification-list .sub-notification.personal.unread {
  background-color: #261b33;
  border-color: #9068be;
}
.nav-notification-container .nav-notification-list .sub-notification.platform {
  border-color: #003737;
  background-color: #001b1b;
}
.nav-notification-container .nav-notification-list .sub-notification.platform.unread {
  border-color: #008B8B;
  background-color: #002424;
}
.nav-notification-container .nav-notification-list .sub-notification .sub-notification-info {
  margin-bottom: 5px;
  width: calc(100% - 200px);
  display: inline-block;
}
.nav-notification-container .nav-notification-list .sub-notification .sub-notification-badges {
  width: 200px;
  display: inline-block;
  float: right;
}
.nav-notification-container .nav-notification-list .sub-notification .sub-notification-timestamp {
  color: #777;
  font-style: italic;
  font-size: 14px;
}
.nav-notification-container .nav-notification-list .sub-notification .badge {
  float: right;
  margin-bottom: 3px;
  min-width: 100px;
}
.nav-notification-container .nav-notification-list .sub-notification .badge.badge-version .badge-left {
  width: calc(100% - 16px);
  text-align: right;
}
.nav-notification-container .nav-notification-list .nav-notification-list-inner {
  overflow-y: auto;
}
.nav-notification-container .nav-notification-list .nav-notification-list-empty {
  color: #ddd;
  text-align: center;
  padding: 20px;
}
.nav-notification-container .nav-notification-list .nav-notification-list-link {
  text-align: center;
  display: inline-block;
  color: #aaaaaa;
  cursor: pointer;
  padding: 10px;
  width: calc(50% - 20px);
}
.nav-notification-container .nav-notification-list .nav-notification-list-link:hover {
  color: #dddddd;
  background: rgba(34, 34, 34, 0.9);
  border-color: #ccc;
}
.nav-notification-container .nav-notification-toggle {
  cursor: pointer;
  width: 100%;
  height: 100%;
  display: block;
  background-image: url("/img/bell.png");
  background-position: center;
  background-repeat: no-repeat;
}
.nav-notification-container .nav-notification-toggle .nav-notification-toggle-count {
  width: 18px;
  height: 18px;
  background: cornflowerblue;
  border-radius: 10px;
  text-align: center;
  font-weight: bold;
  margin-top: 34px;
  margin-left: 31px;
  position: absolute;
  font-size: 14px;
  line-height: 19px;
}

.sidebar .nav-search.wide {
  width: 100%;
  height: initial;
}

.nav-search {
  float: left;
  width: 80px;
  height: 100%;
  transition: width 1s ease-out;
}
.nav-search .nav-search-toggle {
  width: 80px;
  height: 100%;
  color: white;
  text-align: center;
  border-right: 0;
  background-image: url("/img/search.png");
  background-repeat: no-repeat;
  background-position-x: 24px;
  background-position-y: 6px;
  display: inline-block;
  cursor: pointer;
  background-size: 36%;
}
.nav-search .nav-search-toggle div {
  font-size: 13px;
  margin-top: 37px;
}
.nav-search input[type=text] {
  text-align: center;
  padding: 14px 0;
  height: 28px;
  vertical-align: top;
  width: calc(100% - 88px - 20px);
  border: 0;
  border-radius: 0 4px 4px 0;
  transition: padding 1s;
  background: rgba(120, 120, 120, 0.5);
}
.nav-search input[type=text]:focus {
  background: #d7d7d7;
}
.nav-search .nav-search-content {
  background-color: rgba(60, 60, 60, 0.97);
  width: 100%;
  border-top: 0;
  display: none;
  color: #ddd;
  border-radius: 0 0 4px 4px;
}
.nav-search .nav-search-content-info {
  font-style: italic;
  padding: 16px;
  text-align: center;
  font-size: 14px;
  color: #999;
}
.nav-search .nav-search-content-result {
  padding-top: 5px;
  background: rgba(255, 255, 255, 0.03);
}
.nav-search .nav-search-content-items {
  max-height: 260px;
  overflow-y: auto;
}
.nav-search .nav-search-content-count {
  color: #aaa;
  font-size: 13px;
  text-align: center;
  margin-bottom: 2px;
  padding: 0 20px;
}
.nav-search .nav-search-content-count .search-list-arrow {
  width: 18px;
  height: 14px;
  display: inline-block;
  vertical-align: top;
}
.nav-search .nav-search-content-count .search-list-arrow.down {
  background: url("/img/list-arrow-down.png") no-repeat;
  margin-top: -1px;
  margin-left: 10px;
}
.nav-search .nav-search-content-count .search-list-arrow.up {
  background: url("/img/list-arrow-up.png") no-repeat;
}
.nav-search .nav-search-item {
  cursor: pointer;
  display: block;
  color: white;
  transition: 0.3s;
}
.nav-search .nav-search-item-text {
  padding: 14px 14px 14px 0;
  display: inline-block;
  vertical-align: top;
  width: calc(100% - 10px - 14px - 10px - 20px);
}
.nav-search .nav-search-item-bullet {
  display: inline-block;
  border-radius: 0 10px 10px 0;
  margin: 1px 10px 1px 0;
  vertical-align: middle;
  height: 47px;
  width: 10px;
}
.nav-search .nav-search-item:hover, .nav-search .nav-search-item.focus {
  background-color: rgba(34, 34, 34, 0.9);
}
.nav-search .nav-search-item.gamemode {
  border-color: #F22613;
}
.nav-search .nav-search-item.gamemode .nav-search-item-bullet {
  background-color: #F22613;
}
.nav-search .nav-search-item.map {
  border-color: #F89406;
}
.nav-search .nav-search-item.map .nav-search-item-bullet {
  background-color: #F89406;
}
.nav-search .nav-search-item.mutator {
  border-color: yellow;
}
.nav-search .nav-search-item.mutator .nav-search-item-bullet {
  background-color: yellow;
}
.nav-search .nav-search-item.other {
  border-color: #751aff;
}
.nav-search .nav-search-item.other .nav-search-item-bullet {
  background-color: #751aff;
}
.nav-search .nav-search-item.ruleset {
  border-color: #006600;
}
.nav-search .nav-search-item.ruleset .nav-search-item-bullet {
  background-color: #006600;
}
.nav-search .nav-search-item.collection {
  border-color: #66b266;
}
.nav-search .nav-search-item.collection .nav-search-item-bullet {
  background-color: #66b266;
}
.nav-search .nav-search-item.server {
  border-color: #0080ff;
}
.nav-search .nav-search-item.server .nav-search-item-bullet {
  background-color: #0080ff;
}
.nav-search .nav-search-item.hub {
  border-color: #00e6e6;
}
.nav-search .nav-search-item.hub .nav-search-item-bullet {
  background-color: #00e6e6;
}
.nav-search.wide {
  width: 264px;
}
.nav-search.wide input[type=text] {
  padding: 14px;
}
.nav-search.wide.open .nav-search-content {
  display: block;
}

.nav {
  transition: 1s;
  background-color: rgba(20, 20, 20, 0.5);
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9;
  width: 100%;
  height: 56px;
}
.nav.scrolled {
  background-color: rgba(34, 34, 34, 0.9);
  transition: 1s;
}
.nav .nav-logo {
  float: left;
}
.nav .nav-logo.unrealpugs {
  padding: 0 7px 0 5px;
}
.nav .nav-logo.unrealpugs img {
  margin: 5px 0 1px;
  height: 46px;
}
.nav .nav-logo.utcc {
  height: 56px;
  width: 85px;
}
.nav .nav-logo.utcc img {
  height: 100%;
  margin-left: -6px;
}
@media (max-width: 1035px) {
  .nav .nav-wide {
    display: none;
  }
}
@media (max-width: 680px) {
  .nav .nav-logo.wide {
    display: none;
  }
}
.nav .nav-right {
  float: right;
}
.nav .nav-right .open {
  width: 180px;
}

.dialog.modal-add {
  width: 600px;
  max-width: 600px;
}
.dialog.modal-add .dialog-body {
  overflow-y: initial;
}
.dialog.modal-add label {
  float: left;
}
.dialog.modal-add .labeled-input label {
  float: none;
}
.dialog.modal-add .labeled-input .multi-select {
  width: 100%;
}
.dialog.modal-add .extra-fields {
  margin-top: 10px;
}
.dialog.modal-add .oh {
  overflow: hidden;
}
.dialog.modal-add .content-gametypes-edit {
  text-align: right;
  width: calc(100% - 120px);
  display: inline-block;
}
.dialog.modal-add .content-gametypes-edit label {
  width: initial;
}
.dialog.modal-add .modal-form-error {
  display: inline-block;
  width: 100%;
}
.dialog.modal-add .type-buttons {
  width: calc(100% - 120px);
  display: table;
  table-layout: fixed;
  float: right;
}
.dialog.modal-add .type-buttons .add-dialog-add-type-btn {
  text-align: center;
  cursor: pointer;
  background-color: #444;
  line-height: 39px;
  display: table-cell;
  font-family: monospace;
  font-size: 14px;
}
.dialog.modal-add .type-buttons .add-dialog-add-type-btn:hover {
  background-color: #555;
}
.dialog.modal-add .type-buttons .add-dialog-add-type-btn.selected {
  background-color: #ccc;
  color: black;
}
.dialog.modal-add .type-buttons .add-dialog-add-type-btn.add-type {
  width: 33%;
}
.dialog.modal-add .type-buttons .add-dialog-add-type-btn.content-type {
  width: 33%;
}
.dialog.modal-add .gametype-select {
  display: inline-block;
  width: 100%;
}
.dialog.modal-add .gametype-select label {
  line-height: initial;
  padding-top: 14px;
}
.dialog.modal-add div#content-admin-options {
  margin-top: 20px;
}

.dropbtn {
  background-color: transparent;
  font-size: 16px;
  border: 0;
  cursor: pointer;
}

/* The container <div> - needed to position the dropdown content */
.dropdown-menu {
  position: relative;
  display: inline-block;
}
.dropdown-menu.right .dropdown-menu-content {
  right: 0;
}
.dropdown-menu-content {
  display: none;
  position: absolute;
  min-width: 160px;
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
  z-index: 1;
  border-radius: 3px;
  background-color: #212528;
  border: 1px solid #999;
}
.dropdown-menu-content button {
  background: transparent;
  border: 0;
}
.dropdown-menu-content a,
.dropdown-menu-content button {
  cursor: pointer;
  color: #999;
  text-decoration: none;
  display: block;
}
.dropdown-menu-content a:not(.object), .dropdown-menu-content a.object > *,
.dropdown-menu-content button:not(.object),
.dropdown-menu-content button.object > * {
  padding: 12px 16px;
}
.dropdown-menu-content a.no-padding,
.dropdown-menu-content button.no-padding {
  padding: 0;
}
.dropdown-menu-content a:hover, .dropdown-menu-content button:hover, .dropdown-menu-content .object *:hover {
  color: #ddd;
  background-color: #373a3d;
}
.dropdown-menu.on-hover:hover .dropdown-menu-content, .dropdown-menu.active .dropdown-menu-content {
  display: block;
}

.x-tool {
  width: 40px;
  height: 20px;
  text-align: center;
  line-height: 20px;
  position: absolute;
  right: 0;
  top: calc(50% - 10px);
  font-family: monospace;
  cursor: pointer;
}
.x-tool:hover {
  color: red;
}

.multi-select {
  cursor: pointer;
  min-height: 40px;
  position: relative;
}
.multi-select .input {
  color: white;
  word-wrap: break-word;
  height: 19px;
  flex-grow: 1;
  padding: 10px;
}
.multi-select .input:empty::before {
  content: attr(placeholder);
  display: block; /* For Firefox */
  color: #777;
}
.multi-select .input:focus {
  outline: 0;
}
.multi-select .multi-select-selected-option {
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.multi-select .multi-select-selected-option.multi-option {
  padding: 0;
  border: 1px solid grey;
  margin: 8px 0 2px 8px;
  display: block;
  font-family: Roboto, "Open Sans", Arial;
  font-size: 14px;
  height: 20px;
  line-height: 20px;
}
.multi-select .multi-select-selected-option.multi-option .texxt {
  float: left;
  padding: 1px 5px;
}
.multi-select .multi-select-selected-option.multi-option .cross {
  float: right;
  border-left: 1px solid;
  height: 100%;
  padding: 0 4px;
  cursor: pointer;
}
.multi-select .multi-select-selected-option.multi-option .cross:hover {
  background: #5d5e61;
}

#child {
  height: 100%;
  width: calc(100% - 20px);
  display: flex;
  flex-grow: 1;
  flex-wrap: wrap;
}

.multi-select-menu {
  left: 0;
  top: 100%;
  position: absolute;
  /* margin-top: 40px; */
  width: 100%;
  padding: 0;
  display: none;
  overflow: auto;
  max-height: 200px;
  z-index: 9;
  border: 1px solid #777;
  background-color: #313436;
  color: #ddd;
  border-radius: 3px;
}
.multi-select-menu .multi-select-option {
  padding: 10px;
  background: #313436;
  color: #ddd;
  cursor: pointer;
}
.multi-select-menu .multi-select-option.disabled, .multi-select-menu .multi-select-option.empty {
  cursor: default;
}
.multi-select-menu .multi-select-option.disabled:hover, .multi-select-menu .multi-select-option.empty:hover {
  background: transparent;
}
.multi-select-menu .multi-select-option.disabled {
  color: #777;
}
.multi-select-menu .multi-select-option:hover, .multi-select-menu .multi-select-option.selected {
  background: #5d5e61;
}

.multi-select.open .multi-select-menu {
  display: block;
}

.badge {
  border: 1px solid #ccc;
  border-radius: 4px;
  display: inline-block;
  line-height: 25px;
}
.badge .wrapper, .badge .right-wrapper, .badge .left-wrapper {
  display: flex;
}
.badge .left-wrapper {
  height: auto;
}
.badge .right-wrapper {
  flex: 1;
}
.badge .badge-right-text {
  padding: 0 8px;
  border-radius: 0 3px 3px 0;
  flex: 1;
  overflow: hidden;
}
.badge .badge-left {
  padding: 0 8px;
  border-radius: 3px 0 0 3px;
}
.badge .badge-left,
.badge .badge-left:hover,
.badge .badge-right-text,
.badge .badge-right-text:hover {
  -webkit-transition: all 200ms linear;
  -moz-transition: all 200ms linear;
  -o-transition: all 200ms linear;
  transition: all 200ms linear;
}
.badge .dropdown-menu {
  display: flex;
  border-radius: 0 3px 3px 0;
  text-align: center;
  width: 26px;
}
.badge .dropdown-menu .dropdown-menu-arrow {
  cursor: pointer;
  background: url(/img/arrow-down.png) center no-repeat;
  padding: 0;
  width: 26px;
  height: 25px;
  display: block;
}
.badge .dropdown-menu .dropdown-menu-toggle {
  border-radius: 0 3px 3px 0;
}
.badge .dropdown-menu .dropdown-menu-content {
  min-width: 180px;
  max-width: 300px;
  top: 100%;
}
.badge .dropdown-menu .dropdown-menu-content a,
.badge .dropdown-menu .dropdown-menu-content button {
  padding: 8px 12px;
  font-size: 14px;
  display: block;
}
.badge .dropdown-menu .dropdown-menu-content a.no-padding,
.badge .dropdown-menu .dropdown-menu-content button.no-padding {
  padding: 0;
}
.badge .dropdown-menu .dropdown-menu-content a.no-padding .copy-to-clipboard,
.badge .dropdown-menu .dropdown-menu-content button.no-padding .copy-to-clipboard {
  padding: 10px 12px;
}

.badge-map .badgeLeftText,
.badge-map .badge-left,
.badge-mutator .badgeLeftText,
.badge-mutator .badge-left,
.badge-gamemode .badgeLeftText,
.badge-gamemode .badge-left,
.badge-other .badgeLeftText,
.badge-other .badge-left {
  width: 32px;
}
.badge-map .badge-right,
.badge-mutator .badge-right,
.badge-gamemode .badge-right,
.badge-other .badge-right {
  color: white;
}
.badge-map .badge-right-text,
.badge-mutator .badge-right-text,
.badge-gamemode .badge-right-text,
.badge-other .badge-right-text {
  word-break: break-all;
}
.badge-map .badgeRight,
.badge-mutator .badgeRight,
.badge-gamemode .badgeRight,
.badge-other .badgeRight {
  color: white;
}
.badge-map .badgeRightText,
.badge-mutator .badgeRightText,
.badge-gamemode .badgeRightText,
.badge-other .badgeRightText {
  word-break: break-all;
}
.badge-map .badge-right-text,
.badge-mutator .badge-right-text,
.badge-gamemode .badge-right-text,
.badge-other .badge-right-text {
  color: white;
}
.badge-map .badgeRightText,
.badge-mutator .badgeRightText,
.badge-gamemode .badgeRightText,
.badge-other .badgeRightText {
  color: white;
}
.badge-map .badgeRightText:hover,
.badge-map .badge-right-text:hover,
.badge-mutator .badgeRightText:hover,
.badge-mutator .badge-right-text:hover,
.badge-gamemode .badgeRightText:hover,
.badge-gamemode .badge-right-text:hover,
.badge-other .badgeRightText:hover,
.badge-other .badge-right-text:hover {
  color: black;
}
.badge-map .badge-left,
.badge-mutator .badge-left,
.badge-gamemode .badge-left,
.badge-other .badge-left {
  color: black;
  text-align: center;
  font-family: monospace;
  font-weight: bold;
  font-size: 14px;
}
.badge-map.in-collection .badge-side,
.badge-mutator.in-collection .badge-side,
.badge-gamemode.in-collection .badge-side,
.badge-other.in-collection .badge-side {
  border-radius: 0;
  padding: 0 4px 0 6px;
}

.badge-map {
  border-color: #F89406;
}
.badge-map .badgeLeftText,
.badge-map .badge-left,
.badge-map .dropdown-menu,
.badge-map .dropdownMenu,
.badge-map .badge-side,
.badge-map .badgeSide {
  background-color: #F89406;
}
.badge-map .badgeRightText:hover,
.badge-map .badge-right-text:hover {
  background-color: #ffebcc;
}
.badge-map.multi-gamemode-2 .badge-right-text {
  min-width: 67px;
}
.badge-map.multi-gamemode-3 .badge-right-text {
  min-width: 133px;
}
.badge-map.multi-gamemode-4 .badge-right-text {
  min-width: 180px;
}
.badge-map.multi-gamemode-5 .badge-right-text {
  min-width: 225px;
}
.badge-map.multi-gamemode {
  border: 0;
  border-radius: 0;
}
.badge-map.multi-gamemode .wrapper {
  display: block;
}
.badge-map.multi-gamemode .badge-left {
  margin-left: -1px;
  width: 100%;
  padding: 0;
  background: none;
  line-height: 20px;
}
.badge-map.multi-gamemode .dropdown-menu {
  background-color: #F89406;
}
.badge-map.multi-gamemode .badge-right-text {
  border: 1px solid #F89406;
  border-radius: 0 4px 4px 4px;
  word-break: break-all;
  height: 24px;
}
.badge-map.multi-gamemode .map-gametype {
  background-color: #F89406;
  display: inline-block;
  width: 38px;
  padding: 0 4px;
  border-radius: 4px 4px 0 0;
  margin-left: 1px;
  float: left;
}
.badge-map.multi-gamemode .map-gametype.bunnytrack {
  background-color: #D30766;
}
.badge-map.multi-gamemode .map-gametype.bombing_run {
  background-color: #0069a9;
}

.map-bt {
  border-color: #D30766;
}
.map-bt .badgeLeftText,
.map-bt .badge-left,
.map-bt .dropdown-menu,
.map-bt .dropdownMenu,
.map-bt .badge-side,
.map-bt .badgeSide {
  background-color: #D30766;
}
.map-bt .badgeRightText:hover,
.map-bt .badge-right-text:hover {
  background-color: #FFA2D0;
}

.map-br {
  border-color: #0069a9;
}
.map-br .badgeLeftText,
.map-br .badge-left,
.map-br .dropdown-menu,
.map-br .dropdownMenu,
.map-br .badge-side,
.map-br .badgeSide {
  background-color: #0069a9;
}
.map-br .badgeRightText:hover,
.map-br .badge-right-text:hover {
  background-color: #99c3dc;
}

.badge-mutator {
  border-color: yellow;
}
.badge-mutator .badgeLeftText,
.badge-mutator .badge-left,
.badge-mutator .dropdown-menu,
.badge-mutator .dropdownMenu,
.badge-mutator .badge-side,
.badge-mutator .badgeSide {
  background-color: yellow;
}
.badge-mutator .badgeRightText:hover,
.badge-mutator .badge-right-text:hover {
  background-color: #ffffb3;
}

.badge-gamemode {
  border-color: #F22613;
}
.badge-gamemode .badgeLeftText,
.badge-gamemode .badge-left,
.badge-gamemode .dropdown-menu,
.badge-gamemode .dropdownMenu,
.badge-gamemode .badge-side,
.badge-gamemode .badgeSide {
  background-color: #F22613;
}
.badge-gamemode .badgeRightText:hover,
.badge-gamemode .badge-right-text:hover {
  background-color: #ffe6e6;
}

.badge-other {
  border-color: #751aff;
}
.badge-other .badgeLeftText,
.badge-other .badge-left,
.badge-other .dropdown-menu,
.badge-other .dropdownMenu,
.badge-other .badge-side,
.badge-other .badgeSide {
  background-color: #751aff;
}
.badge-other .badgeRightText:hover,
.badge-other .badge-right-text:hover {
  background-color: #f6e6ff;
}
.badge-other .badge-right-text {
  color: white;
}
.badge-other .badgeRightText {
  color: white;
}
.badge-other .badgeRightText:hover,
.badge-other .badge-right-text:hover {
  color: black;
}

.badge-hub,
.badge-server {
  word-break: break-all;
}
.badge-hub .badgeLeftText,
.badge-hub .badge-left,
.badge-server .badgeLeftText,
.badge-server .badge-left {
  width: 16px;
}
.badge-hub .badge-right,
.badge-server .badge-right {
  color: white;
}
.badge-hub .badge-right-text,
.badge-server .badge-right-text {
  word-break: break-all;
}
.badge-hub .badgeRight,
.badge-server .badgeRight {
  color: white;
}
.badge-hub .badgeRightText,
.badge-server .badgeRightText {
  word-break: break-all;
}
.badge-hub .badge-right-text,
.badge-server .badge-right-text {
  color: white;
}
.badge-hub .badgeRightText,
.badge-server .badgeRightText {
  color: white;
}
.badge-hub .badgeRightText:hover,
.badge-hub .badge-right-text:hover,
.badge-server .badgeRightText:hover,
.badge-server .badge-right-text:hover {
  color: black;
}
.badge-hub .left-wrapper,
.badge-server .left-wrapper {
  height: auto;
}
.badge-hub .badge-left,
.badge-server .badge-left {
  background: no-repeat center;
  background-size: contain;
}

.badge-hub {
  border-color: #00e6e6;
}
.badge-hub .badgeLeftText,
.badge-hub .badge-left,
.badge-hub .dropdown-menu,
.badge-hub .dropdownMenu,
.badge-hub .badge-side,
.badge-hub .badgeSide {
  background-color: #00e6e6;
}
.badge-hub .badgeRightText:hover,
.badge-hub .badge-right-text:hover {
  background-color: #99f5f5;
}
.badge-hub .badge-left {
  background-image: url("/img/hub.png");
}

.badge-server {
  border-color: #0080ff;
}
.badge-server .badgeLeftText,
.badge-server .badge-left,
.badge-server .dropdown-menu,
.badge-server .dropdownMenu,
.badge-server .badge-side,
.badge-server .badgeSide {
  background-color: #0080ff;
}
.badge-server .badgeRightText:hover,
.badge-server .badge-right-text:hover {
  background-color: #b2d8ff;
}
.badge-server .badge-left {
  background-image: url("/img/server-white.png");
}

.badge-version {
  border-color: #ccc;
}
.badge-version .dropdown-menu-toggle {
  background: #ccc;
}
.badge-version .badge-right-text {
  background: #ccc;
}
.badge-version.selected .badge-left, .badge-version .badge-left:hover {
  background-color: #eee;
}
.badge-version .badge-right-text {
  border-radius: 0 3px 3px 0;
  color: black;
}
.badge-version .badge-left {
  flex: 1;
  color: white;
  cursor: pointer;
}
.badge-version.selected .badge-left, .badge-version .badge-left:hover {
  color: black;
}
.badge-version.latest {
  border-color: #9cff00;
}
.badge-version.latest .dropdown-menu-toggle {
  background: #9cff00;
}
.badge-version.latest .badge-right-text {
  background: #9cff00;
}
.badge-version.latest.selected .badge-left, .badge-version.latest .badge-left:hover {
  background-color: #edffd1;
}
.badge-version.broken {
  border-color: #F22613;
}
.badge-version.broken .dropdown-menu-toggle {
  background: #F22613;
}
.badge-version.broken .badge-right-text {
  background: #F22613;
}
.badge-version.broken.selected .badge-left, .badge-version.broken .badge-left:hover {
  background-color: #ffe6e6;
}
.badge-version.badge-single .badge-left {
  border-radius: 3px;
}
.badge-version.latest .badge-right-text, .badge-version.broken .badge-right-text {
  font-family: monospace;
  font-size: 14px;
  font-weight: bold;
}

.badge-ruleset {
  border-color: #006600;
}
.badge-ruleset .badgeLeftText,
.badge-ruleset .badge-left,
.badge-ruleset .dropdown-menu,
.badge-ruleset .dropdownMenu,
.badge-ruleset .badge-side,
.badge-ruleset .badgeSide {
  background-color: #006600;
}
.badge-ruleset .badgeRightText:hover,
.badge-ruleset .badge-right-text:hover {
  background-color: #7fbf7f;
}
.badge-ruleset .badge-right-text {
  color: white;
}
.badge-ruleset .badgeRightText {
  color: white;
}
.badge-ruleset .badgeRightText:hover,
.badge-ruleset .badge-right-text:hover {
  color: black;
}
.badge-ruleset .badgeLeftText,
.badge-ruleset .badge-left {
  width: 22px;
}
.badge-ruleset .badge-right {
  color: white;
}
.badge-ruleset .badge-right-text {
  word-break: break-all;
}
.badge-ruleset .badgeRight {
  color: white;
}
.badge-ruleset .badgeRightText {
  word-break: break-all;
}
.badge-ruleset.private .badge-side {
  background: #006600;
  padding: 0 4px 0 6px;
}

.badge-other {
  border-color: #751aff;
  font-size: 13px;
}
.badge-other .badgeLeftText,
.badge-other .badge-left,
.badge-other .dropdown-menu,
.badge-other .dropdownMenu,
.badge-other .badge-side,
.badge-other .badgeSide {
  background-color: #751aff;
}
.badge-other .badgeRightText:hover,
.badge-other .badge-right-text:hover {
  background-color: #f6e6ff;
}
.badge-other .badge-right-text {
  color: white;
}
.badge-other .badgeRightText {
  color: white;
}
.badge-other .badgeRightText:hover,
.badge-other .badge-right-text:hover {
  color: black;
}
.badge-other .badgeLeftText,
.badge-other .badge-left {
  width: 47px;
}
.badge-other .badge-right {
  color: white;
}
.badge-other .badge-right-text {
  word-break: break-all;
}
.badge-other .badgeRight {
  color: white;
}
.badge-other .badgeRightText {
  word-break: break-all;
}
.badge-other.private .badge-right-text {
  border-radius: 0;
}
.badge-other.private .badge-side {
  border-radius: 0 12px 12px 0;
  background: #751aff;
  width: 20px;
  float: right;
  text-align: center;
}

.container {
  padding: 0;
  margin: 0 auto;
  max-width: 1400px;
  width: calc(100% - 80px);
}

a {
  color: skyblue;
  text-decoration: none;
}
a:hover {
  color: #aaa;
}

h3 {
  text-align: center;
  border-bottom: 1px solid #555;
  padding-bottom: 10px;
}
h3 a {
  color: #ccc;
}

input[type=text]:disabled,
input[type=file]:disabled {
  background: rgba(205, 205, 205, 0.03);
  cursor: not-allowed;
}

img.loading-spinner {
  max-width: 200px;
  max-height: 200px;
  margin: 0 auto;
  display: block;
}

a.fixed-anchor {
  display: block;
  position: relative;
  top: -64px;
  visibility: hidden;
}

.panel-body .fixed-anchor {
  top: -120px;
}

.dropbtn {
  background-color: transparent;
  font-size: 16px;
  border: 0;
  cursor: pointer;
}

/* The container <div> - needed to position the dropdown content */
.dropdown-menu {
  position: relative;
  display: inline-block;
}
.dropdown-menu.right .dropdown-menu-content {
  right: 0;
}
.dropdown-menu-content {
  display: none;
  position: absolute;
  min-width: 160px;
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
  z-index: 1;
  border-radius: 3px;
  background-color: #212528;
  border: 1px solid #999;
}
.dropdown-menu-content button {
  background: transparent;
  border: 0;
}
.dropdown-menu-content a,
.dropdown-menu-content button {
  cursor: pointer;
  color: #999;
  text-decoration: none;
  display: block;
}
.dropdown-menu-content a:not(.object), .dropdown-menu-content a.object > *,
.dropdown-menu-content button:not(.object),
.dropdown-menu-content button.object > * {
  padding: 12px 16px;
}
.dropdown-menu-content a.no-padding,
.dropdown-menu-content button.no-padding {
  padding: 0;
}
.dropdown-menu-content a:hover, .dropdown-menu-content button:hover, .dropdown-menu-content .object *:hover {
  color: #ddd;
  background-color: #373a3d;
}
.dropdown-menu.on-hover:hover .dropdown-menu-content, .dropdown-menu.active .dropdown-menu-content {
  display: block;
}

.panel.editable .panel-body {
  background-color: rgba(50, 50, 50, 0.8);
}

.panel-body {
  background-color: rgba(40, 40, 40, 0.7);
  padding: 8px 16px;
  border-top: 0;
  margin-top: 0;
  flex: 1;
}
.panel-body-table {
  width: 100%;
  border: 0;
}
.panel-body-table tr {
  border-bottom: 1px solid #aaa;
}
.panel-body-table tr td {
  border: 0;
  border-bottom: 1px solid #444;
  padding: 10px 0;
}
.panel-body-table tr td.table-info-key {
  width: 110px;
  vertical-align: text-top;
}
.panel-body-table tr td.table-info-value {
  text-align: right;
  word-break: break-all;
}
.panel-body-table tr td.table-info-value .help-text {
  margin: 3px 0;
}
.panel-body-table tr.description td.table-info-value {
  max-height: 200px;
  overflow: auto;
  display: block;
  border-bottom: 0;
  padding-right: 5px;
}

.panel {
  margin: 10px 20px;
  vertical-align: top;
  display: inline-block;
}
@media (min-width: 0) {
  .panel {
    width: calc(100% - 42px);
  }
}
@media (min-width: 720px) {
  .panel {
    width: calc(50% - 2px - 40px);
  }
}
@media (min-width: 1200px) {
  .panel {
    width: calc(33% - 2px - 37px);
  }
}
.panel table {
  border-collapse: collapse;
}

div.editable tr.badge-edit input {
  height: 40px;
}
div.editable tr.badge-edit select {
  height: 50px;
}
div.editable tr.editable-value .input-with-counter {
  height: 100%;
}
div.editable tr.editable-value .input-with-counter.textarea textarea {
  height: calc(100% - 32px);
}
div.editable tr.editable-value .input-with-counter.text input[type=text] {
  height: calc(100% - 10px);
}
div.editable tr.editable-value td.table-info-value {
  padding: 0;
  height: 20px;
}
div.editable tr.editable-value td.table-info-value select {
  width: 100%;
}
div.editable tr.editable-value td.table-info-value textarea {
  padding: 12px 5px;
  margin-bottom: -4px;
  font-size: 14px;
  resize: vertical;
}
div.editable tr.editable-value td.table-info-value .input-with-counter textarea {
  padding-bottom: 20px;
}
div.editable tr.editable-value td.table-info-value input:not([type=checkbox]),
div.editable tr.editable-value td.table-info-value select,
div.editable tr.editable-value td.table-info-value textarea {
  border-bottom: 0;
  border-top: 0;
  text-align: right;
}
div.editable tr.editable-value td.table-info-value .multi-select {
  border-top: 0;
  border-bottom: 0;
  height: 100%;
}

.panel .panel-seperator {
  height: 3px;
  background: #aaa;
}
.panel.map .panel-seperator {
  background: #F89406;
}
.panel.other .panel-seperator {
  background: #751aff;
}
.panel.mutator .panel-seperator {
  background: yellow;
}
.panel.gamemode .panel-seperator {
  background: #F22613;
}
.panel.ruleset .panel-seperator {
  background: #006600;
}
.panel.collection .panel-seperator {
  background: #66b266;
}
.panel.server .panel-seperator {
  background: #0080ff;
}
.panel.hub .panel-seperator {
  background: #00e6e6;
}
.panel.hubs-servers .panel-seperator {
  background: -webkit-linear-gradient(left, #00e6e6 0%, #0080ff 100%);
}
.panel.collections-rulesets .panel-seperator {
  background: -webkit-linear-gradient(left, #66b266 0%, #006600 100%);
}

.badge {
  border: 1px solid #ccc;
  border-radius: 4px;
  display: inline-block;
  line-height: 25px;
}
.badge .wrapper, .badge .right-wrapper, .badge .left-wrapper {
  display: flex;
}
.badge .left-wrapper {
  height: auto;
}
.badge .right-wrapper {
  flex: 1;
}
.badge .badge-right-text {
  padding: 0 8px;
  border-radius: 0 3px 3px 0;
  flex: 1;
  overflow: hidden;
}
.badge .badge-left {
  padding: 0 8px;
  border-radius: 3px 0 0 3px;
}
.badge .badge-left,
.badge .badge-left:hover,
.badge .badge-right-text,
.badge .badge-right-text:hover {
  -webkit-transition: all 200ms linear;
  -moz-transition: all 200ms linear;
  -o-transition: all 200ms linear;
  transition: all 200ms linear;
}
.badge .dropdown-menu {
  display: flex;
  border-radius: 0 3px 3px 0;
  text-align: center;
  width: 26px;
}
.badge .dropdown-menu .dropdown-menu-arrow {
  cursor: pointer;
  background: url(/img/arrow-down.png) center no-repeat;
  padding: 0;
  width: 26px;
  height: 25px;
  display: block;
}
.badge .dropdown-menu .dropdown-menu-toggle {
  border-radius: 0 3px 3px 0;
}
.badge .dropdown-menu .dropdown-menu-content {
  min-width: 180px;
  max-width: 300px;
  top: 100%;
}
.badge .dropdown-menu .dropdown-menu-content a,
.badge .dropdown-menu .dropdown-menu-content button {
  padding: 8px 12px;
  font-size: 14px;
  display: block;
}
.badge .dropdown-menu .dropdown-menu-content a.no-padding,
.badge .dropdown-menu .dropdown-menu-content button.no-padding {
  padding: 0;
}
.badge .dropdown-menu .dropdown-menu-content a.no-padding .copy-to-clipboard,
.badge .dropdown-menu .dropdown-menu-content button.no-padding .copy-to-clipboard {
  padding: 10px 12px;
}

.badge-map .badgeLeftText,
.badge-map .badge-left,
.badge-mutator .badgeLeftText,
.badge-mutator .badge-left,
.badge-gamemode .badgeLeftText,
.badge-gamemode .badge-left,
.badge-other .badgeLeftText,
.badge-other .badge-left {
  width: 32px;
}
.badge-map .badge-right,
.badge-mutator .badge-right,
.badge-gamemode .badge-right,
.badge-other .badge-right {
  color: white;
}
.badge-map .badge-right-text,
.badge-mutator .badge-right-text,
.badge-gamemode .badge-right-text,
.badge-other .badge-right-text {
  word-break: break-all;
}
.badge-map .badgeRight,
.badge-mutator .badgeRight,
.badge-gamemode .badgeRight,
.badge-other .badgeRight {
  color: white;
}
.badge-map .badgeRightText,
.badge-mutator .badgeRightText,
.badge-gamemode .badgeRightText,
.badge-other .badgeRightText {
  word-break: break-all;
}
.badge-map .badge-right-text,
.badge-mutator .badge-right-text,
.badge-gamemode .badge-right-text,
.badge-other .badge-right-text {
  color: white;
}
.badge-map .badgeRightText,
.badge-mutator .badgeRightText,
.badge-gamemode .badgeRightText,
.badge-other .badgeRightText {
  color: white;
}
.badge-map .badgeRightText:hover,
.badge-map .badge-right-text:hover,
.badge-mutator .badgeRightText:hover,
.badge-mutator .badge-right-text:hover,
.badge-gamemode .badgeRightText:hover,
.badge-gamemode .badge-right-text:hover,
.badge-other .badgeRightText:hover,
.badge-other .badge-right-text:hover {
  color: black;
}
.badge-map .badge-left,
.badge-mutator .badge-left,
.badge-gamemode .badge-left,
.badge-other .badge-left {
  color: black;
  text-align: center;
  font-family: monospace;
  font-weight: bold;
  font-size: 14px;
}
.badge-map.in-collection .badge-side,
.badge-mutator.in-collection .badge-side,
.badge-gamemode.in-collection .badge-side,
.badge-other.in-collection .badge-side {
  border-radius: 0;
  padding: 0 4px 0 6px;
}

.badge-map {
  border-color: #F89406;
}
.badge-map .badgeLeftText,
.badge-map .badge-left,
.badge-map .dropdown-menu,
.badge-map .dropdownMenu,
.badge-map .badge-side,
.badge-map .badgeSide {
  background-color: #F89406;
}
.badge-map .badgeRightText:hover,
.badge-map .badge-right-text:hover {
  background-color: #ffebcc;
}
.badge-map.multi-gamemode-2 .badge-right-text {
  min-width: 67px;
}
.badge-map.multi-gamemode-3 .badge-right-text {
  min-width: 133px;
}
.badge-map.multi-gamemode-4 .badge-right-text {
  min-width: 180px;
}
.badge-map.multi-gamemode-5 .badge-right-text {
  min-width: 225px;
}
.badge-map.multi-gamemode {
  border: 0;
  border-radius: 0;
}
.badge-map.multi-gamemode .wrapper {
  display: block;
}
.badge-map.multi-gamemode .badge-left {
  margin-left: -1px;
  width: 100%;
  padding: 0;
  background: none;
  line-height: 20px;
}
.badge-map.multi-gamemode .dropdown-menu {
  background-color: #F89406;
}
.badge-map.multi-gamemode .badge-right-text {
  border: 1px solid #F89406;
  border-radius: 0 4px 4px 4px;
  word-break: break-all;
  height: 24px;
}
.badge-map.multi-gamemode .map-gametype {
  background-color: #F89406;
  display: inline-block;
  width: 38px;
  padding: 0 4px;
  border-radius: 4px 4px 0 0;
  margin-left: 1px;
  float: left;
}
.badge-map.multi-gamemode .map-gametype.bunnytrack {
  background-color: #D30766;
}
.badge-map.multi-gamemode .map-gametype.bombing_run {
  background-color: #0069a9;
}

.map-bt {
  border-color: #D30766;
}
.map-bt .badgeLeftText,
.map-bt .badge-left,
.map-bt .dropdown-menu,
.map-bt .dropdownMenu,
.map-bt .badge-side,
.map-bt .badgeSide {
  background-color: #D30766;
}
.map-bt .badgeRightText:hover,
.map-bt .badge-right-text:hover {
  background-color: #FFA2D0;
}

.map-br {
  border-color: #0069a9;
}
.map-br .badgeLeftText,
.map-br .badge-left,
.map-br .dropdown-menu,
.map-br .dropdownMenu,
.map-br .badge-side,
.map-br .badgeSide {
  background-color: #0069a9;
}
.map-br .badgeRightText:hover,
.map-br .badge-right-text:hover {
  background-color: #99c3dc;
}

.badge-mutator {
  border-color: yellow;
}
.badge-mutator .badgeLeftText,
.badge-mutator .badge-left,
.badge-mutator .dropdown-menu,
.badge-mutator .dropdownMenu,
.badge-mutator .badge-side,
.badge-mutator .badgeSide {
  background-color: yellow;
}
.badge-mutator .badgeRightText:hover,
.badge-mutator .badge-right-text:hover {
  background-color: #ffffb3;
}

.badge-gamemode {
  border-color: #F22613;
}
.badge-gamemode .badgeLeftText,
.badge-gamemode .badge-left,
.badge-gamemode .dropdown-menu,
.badge-gamemode .dropdownMenu,
.badge-gamemode .badge-side,
.badge-gamemode .badgeSide {
  background-color: #F22613;
}
.badge-gamemode .badgeRightText:hover,
.badge-gamemode .badge-right-text:hover {
  background-color: #ffe6e6;
}

.badge-other {
  border-color: #751aff;
}
.badge-other .badgeLeftText,
.badge-other .badge-left,
.badge-other .dropdown-menu,
.badge-other .dropdownMenu,
.badge-other .badge-side,
.badge-other .badgeSide {
  background-color: #751aff;
}
.badge-other .badgeRightText:hover,
.badge-other .badge-right-text:hover {
  background-color: #f6e6ff;
}
.badge-other .badge-right-text {
  color: white;
}
.badge-other .badgeRightText {
  color: white;
}
.badge-other .badgeRightText:hover,
.badge-other .badge-right-text:hover {
  color: black;
}

.badge-hub,
.badge-server {
  word-break: break-all;
}
.badge-hub .badgeLeftText,
.badge-hub .badge-left,
.badge-server .badgeLeftText,
.badge-server .badge-left {
  width: 16px;
}
.badge-hub .badge-right,
.badge-server .badge-right {
  color: white;
}
.badge-hub .badge-right-text,
.badge-server .badge-right-text {
  word-break: break-all;
}
.badge-hub .badgeRight,
.badge-server .badgeRight {
  color: white;
}
.badge-hub .badgeRightText,
.badge-server .badgeRightText {
  word-break: break-all;
}
.badge-hub .badge-right-text,
.badge-server .badge-right-text {
  color: white;
}
.badge-hub .badgeRightText,
.badge-server .badgeRightText {
  color: white;
}
.badge-hub .badgeRightText:hover,
.badge-hub .badge-right-text:hover,
.badge-server .badgeRightText:hover,
.badge-server .badge-right-text:hover {
  color: black;
}
.badge-hub .left-wrapper,
.badge-server .left-wrapper {
  height: auto;
}
.badge-hub .badge-left,
.badge-server .badge-left {
  background: no-repeat center;
  background-size: contain;
}

.badge-hub {
  border-color: #00e6e6;
}
.badge-hub .badgeLeftText,
.badge-hub .badge-left,
.badge-hub .dropdown-menu,
.badge-hub .dropdownMenu,
.badge-hub .badge-side,
.badge-hub .badgeSide {
  background-color: #00e6e6;
}
.badge-hub .badgeRightText:hover,
.badge-hub .badge-right-text:hover {
  background-color: #99f5f5;
}
.badge-hub .badge-left {
  background-image: url("/img/hub.png");
}

.badge-server {
  border-color: #0080ff;
}
.badge-server .badgeLeftText,
.badge-server .badge-left,
.badge-server .dropdown-menu,
.badge-server .dropdownMenu,
.badge-server .badge-side,
.badge-server .badgeSide {
  background-color: #0080ff;
}
.badge-server .badgeRightText:hover,
.badge-server .badge-right-text:hover {
  background-color: #b2d8ff;
}
.badge-server .badge-left {
  background-image: url("/img/server-white.png");
}

.badge-version {
  border-color: #ccc;
}
.badge-version .dropdown-menu-toggle {
  background: #ccc;
}
.badge-version .badge-right-text {
  background: #ccc;
}
.badge-version.selected .badge-left, .badge-version .badge-left:hover {
  background-color: #eee;
}
.badge-version .badge-right-text {
  border-radius: 0 3px 3px 0;
  color: black;
}
.badge-version .badge-left {
  flex: 1;
  color: white;
  cursor: pointer;
}
.badge-version.selected .badge-left, .badge-version .badge-left:hover {
  color: black;
}
.badge-version.latest {
  border-color: #9cff00;
}
.badge-version.latest .dropdown-menu-toggle {
  background: #9cff00;
}
.badge-version.latest .badge-right-text {
  background: #9cff00;
}
.badge-version.latest.selected .badge-left, .badge-version.latest .badge-left:hover {
  background-color: #edffd1;
}
.badge-version.broken {
  border-color: #F22613;
}
.badge-version.broken .dropdown-menu-toggle {
  background: #F22613;
}
.badge-version.broken .badge-right-text {
  background: #F22613;
}
.badge-version.broken.selected .badge-left, .badge-version.broken .badge-left:hover {
  background-color: #ffe6e6;
}
.badge-version.badge-single .badge-left {
  border-radius: 3px;
}
.badge-version.latest .badge-right-text, .badge-version.broken .badge-right-text {
  font-family: monospace;
  font-size: 14px;
  font-weight: bold;
}

.badge-ruleset {
  border-color: #006600;
}
.badge-ruleset .badgeLeftText,
.badge-ruleset .badge-left,
.badge-ruleset .dropdown-menu,
.badge-ruleset .dropdownMenu,
.badge-ruleset .badge-side,
.badge-ruleset .badgeSide {
  background-color: #006600;
}
.badge-ruleset .badgeRightText:hover,
.badge-ruleset .badge-right-text:hover {
  background-color: #7fbf7f;
}
.badge-ruleset .badge-right-text {
  color: white;
}
.badge-ruleset .badgeRightText {
  color: white;
}
.badge-ruleset .badgeRightText:hover,
.badge-ruleset .badge-right-text:hover {
  color: black;
}
.badge-ruleset .badgeLeftText,
.badge-ruleset .badge-left {
  width: 22px;
}
.badge-ruleset .badge-right {
  color: white;
}
.badge-ruleset .badge-right-text {
  word-break: break-all;
}
.badge-ruleset .badgeRight {
  color: white;
}
.badge-ruleset .badgeRightText {
  word-break: break-all;
}
.badge-ruleset.private .badge-side {
  background: #006600;
  padding: 0 4px 0 6px;
}

.badge-other {
  border-color: #751aff;
  font-size: 13px;
}
.badge-other .badgeLeftText,
.badge-other .badge-left,
.badge-other .dropdown-menu,
.badge-other .dropdownMenu,
.badge-other .badge-side,
.badge-other .badgeSide {
  background-color: #751aff;
}
.badge-other .badgeRightText:hover,
.badge-other .badge-right-text:hover {
  background-color: #f6e6ff;
}
.badge-other .badge-right-text {
  color: white;
}
.badge-other .badgeRightText {
  color: white;
}
.badge-other .badgeRightText:hover,
.badge-other .badge-right-text:hover {
  color: black;
}
.badge-other .badgeLeftText,
.badge-other .badge-left {
  width: 47px;
}
.badge-other .badge-right {
  color: white;
}
.badge-other .badge-right-text {
  word-break: break-all;
}
.badge-other .badgeRight {
  color: white;
}
.badge-other .badgeRightText {
  word-break: break-all;
}
.badge-other.private .badge-right-text {
  border-radius: 0;
}
.badge-other.private .badge-side {
  border-radius: 0 12px 12px 0;
  background: #751aff;
  width: 20px;
  float: right;
  text-align: center;
}

.panel {
  width: calc(50% - 40px);
}
.panel table {
  width: 100%;
}
.panel table .badge {
  width: inherit;
}
.panel .list-item {
  margin: 5px 0;
}
.panel-list .panel-body {
  padding: 1px 0;
}
.panel-list .panel-body .inner-list {
  margin: 20px;
  margin-top: 28px;
  max-height: 500px;
  overflow-y: auto;
}
.panel-list .panel-body .help-text {
  text-align: center;
}
.panel-list .badge {
  width: calc(100% - 5px);
}
.panel-list .badge.multi-gamemode .badge-right {
  width: 100%;
}
.panel-list.scrollable .panel-body .inner-list {
  width: 100%;
}
.panel-list.scrollable .list-item {
  width: calc(100% - 20px);
}
.panel-list.scrollable.scroll-bottom .inner-list {
  margin-bottom: 28px !important;
}
.panel-list.scrollable.scroll-top .inner-list {
  margin-top: 28px !important;
}
@media (min-width: 950px) {
  .panel-list.multi-line .list-item {
    margin-right: 10px;
    display: inline-block;
    width: calc(50% - 10px);
  }
  .panel-list.multi-line.scrollable .list-item {
    margin-right: 10px;
    display: inline-block;
    width: calc(50% - 30px);
  }
}
@media (min-width: 1200px) {
  .panel-list.multi-line .list-item {
    width: calc(33% - 10px);
  }
  .panel-list.multi-line.scrollable .list-item {
    width: calc(33% - 30px);
  }
}

.scrollable .inner-list {
  margin-bottom: 10px !important;
  margin-top: 10px !important;
}

.fade {
  font-family: "Courier New", Courier, monospace;
  display: none;
  width: 80%;
  margin: 0 auto;
  text-align: center;
  background-color: #ffebcc;
  color: black;
}
.fade-top {
  border-radius: 0 0 10px 10px;
  margin-bottom: 10px;
}
.fade-bottom {
  border-bottom: 0;
  margin-top: 10px;
  border-radius: 10px 10px 0 0;
}

.sidebar .nav-search.wide {
  width: 100%;
  height: initial;
}

.search-box {
  float: left;
  width: 100%;
  transition: width 1s ease-out;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid #555;
  position: relative;
}
.search-box input[type=text] {
  text-align: center;
  padding: 8px 0;
  height: 20px;
  vertical-align: top;
  width: 100%;
  background: transparent;
  border: 0;
  transition: padding 1s;
}
.search-box input[type=text]:focus {
  background: #d7d7d7;
}

.panel .panel-header {
  padding-left: 30px;
  text-align: left;
}
.panel .panel-header .dropdown-menu-content {
  width: 180px;
}
.panel .inner-list {
  margin-top: 10px;
  flex: 1;
}
.panel .inner-list .badge {
  margin: 5px 0;
  width: 100%;
}
.panel .inner-list .badge.multi-gamemode .badge-right {
  width: 100%;
}
.panel .edit-tools {
  margin-bottom: 10px;
}
.panel .content-toggle {
  cursor: pointer;
}

.convert-collection-dialog {
  min-width: 500px;
  max-width: 600px;
}

div.editable textarea {
  margin-top: 10px;
  height: initial;
  min-height: 65px;
}
div.editable .panel-header input[type=text] {
  text-align: center;
  width: calc(100% - 25px);
}
div.editable .search-box {
  margin-top: 10px;
}
div.editable .search-box .search-box-content-items {
  max-height: initial;
}

.panel-body {
  min-height: 70px;
  max-height: 300px;
  overflow: auto;
}
.panel-body .count-container {
  display: inline-block;
  width: 300px;
  vertical-align: top;
}
.panel-body .count-container .type-count {
  display: inline-block;
  margin-left: 5px;
  margin-top: 5px;
}

.panel.open .panel-body {
  max-height: 432px;
}

.search-box-content {
  position: initial;
}