﻿*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  position: relative;
  overflow-y: scroll;
  line-height: 1.15;
}

body {
  margin: 0;
  margin-bottom: 30px;
  background: #232323;
  font-family: "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  color: #ddd;
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
  margin-top: 0;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

img {
  vertical-align: middle;
  border-style: none;
}

label {
  margin-bottom: 1rem;
}

#root {
  margin-bottom: 100px;
}

a {
  color: #ffa500;
  text-decoration: none;
}

ul {
  margin-top: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header {
  background: #000;
  border-bottom: 1px solid #444;
  height: 40px;
  left: 0;
  margin-bottom: 10px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
}

@media (min-width: 960px) {
  .header > div {
    width: 960px;
  }
}

.logo {
  display: flex;
  align-items: center;
}

.header img {
  vertical-align: inherit;
  width: 30px;
}

h1 {
  color: #ffa500;
  font-size: 16px;
  padding:5px;
  display: inline-block;
  margin: 0;
}

@media (max-width: 760px) {
  h1 {
    display:none;
  }
}

.nav {
  display: flex;
}

.navButton {
  height: 100%;
  padding: 15px;
  color: #ccc;
  background: transparent;
  border: 0;
}
.navButton.serversNavButton {
  padding: 0;
}

.navButton:hover {
  background: #333;
  text-decoration: none;
}

button.navButton:active, button.navButton:focus {
  text-decoration:none;
  outline: none;
}

.serversMenu img {
  width: 35px;
}

@media (max-width: 760px) {
  .pageContent {
    padding: 10px;
  }
}

.pageContent > div {
  margin-top: 50px;
}

.modernUpsell {
  align-items: center;
  background: #30240f;
  border: 1px solid #76530f;
  border-radius: 4px;
  color: #ddd;
  display: flex;
  gap: 15px;
  margin: 50px auto 10px;
  max-width: 960px;
  padding: 10px 15px;
}

.modernUpsell > div {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.modernUpsell strong {
  color: #ffa500;
}

.modernUpsell span {
  color: #bbb;
  font-size: 12px;
}

.modernUpsellButton {
  background: #d48600;
  border: 0;
  color: #111 !important;
}

.modernUpsellButton:hover {
  background: #ffa500;
  color: #111 !important;
}

.modernUpsellButton .ms-Button-label {
  color: #111 !important;
}

.modernUpsellDismiss {
  background: transparent;
  border: 0;
  color: #aaa;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  padding: 0 2px;
}

.modernUpsellDismiss:hover {
  color: #fff;
}

.modernUpsell + .pageContent > div {
  margin-top: 20px;
}

@media (max-width: 760px) {
  .modernUpsell {
    align-items: flex-start;
    margin: 50px 10px 10px;
  }
}

@media (max-width: 760px) {
  .ms-Pivot .ms-Button {
    margin:0;
    padding:0;
  }
  .ms-Pivot-text {
    font-size: 12px;
  }
}

.extraText {
  font-family: "Georgia";
  color: #fff;
  display: inline-block;
  transform: rotate(-18deg);
  position: relative;
  top: -10px;
}

.signIn {
  margin: auto;
  margin-top: 50px;
  text-align: center;
}

.signIn img {
  height: 40px;
}

.signIn button {
  background: #7289da;
  height: 50px;
  width: 152px;
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.signIn .signInFluxer {
  background: #4641d9;
}

.signIn .signInFluxer:hover {
  background: #333;
}

.signIn .signInFluxer span {
  margin: auto;
}

.signIn .signInFluxer img {
  height: 25px;
}

.avatar {
  margin-right:5px;
  border-radius: 14px;
}

@media (max-width: 760px) {
  .username {
    display:none;
  }
}

.lightMode {
  display: flex;
  align-items: center;
}

.lightMode i {
  padding: 5px;
  padding-top: 0;
}

.lightMode label {
  margin-right: 10px;
}

h2 {
  color: #fff;
  font-size: 16px;
  padding: 5px;
  display: inline-block;
}

h2 span {
  color: #ffa500;
}

h2 a.pin {
  font-size: 17px;
  opacity: .2;
  margin-left: 10px;
}

h2 a.pinned {
  opacity: 1;
}

.serverLogo {
  width: 50px;
  border-radius: 25px;
}

.msPivot > div {
 margin-top: 10px; 
}

.serverSections .ms-Pivot {
  border-bottom: 2px solid #000;
}

.mySections .ms-Pivot {
  border-bottom: 2px solid #000;
}

.myPivot {
  margin-top: 25px;
}

h3 {
  padding-bottom: 10px;
  color: #fff;
  font-size: 18px;
  font-weight: normal;
  border-bottom: 1px solid #da8f25;
  margin-bottom: 15px;
  margin-top: 25px;
}

h4 {
  font-size: 16px;
  border-bottom: 1px dotted;
  margin-top: 40px;
  padding-bottom: 5px;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 25px; /* Vertically center the text there */
  background: #000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  padding: 5px;
  font-size: 13px;
  border-top: 1px solid #444;
}

@media (max-width: 760px) {
  .footer {
    display: block;
  }
}

.footer ul {
  flex-wrap: wrap;
  display: flex;
  align-items: center;
  list-style: none;
}

.footer li {
  border-right: 1px solid #333;
  display: inline-block;
  margin-right: 10px;
  padding-right: 10px;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .footer li {
    margin-right: 5px;
    padding-right: 5px;
    font-size: 12px;
  }
}

.footer li:last-child {
  border-right: 0;
}

.footer span {
  color: #666;
}

.footer a {
  color: #ddd;
}

.footer a:hover {
  color: #999;
  text-decoration: none;
}

.ub-commandBar {
  border-bottom: 1px solid #ccc;
  background: #1c1c1c;
}

.ub-commandBar button, .ub-commandBar .ms-CommandBar {
  background: transparent;
}

.statusText {
  color: #ffa500;
  margin-left: 5px;
}

.myInfo {
  max-width: 300px;
  margin:auto;
  margin-top: 20px;
  list-style: none;
}

.myInfo li {
  text-align: left;
}

.myInfo .label {
  font-weight: bold;
}

.greetingPair {
  display: flex;
}

.dropdownContainer {
  max-width: 300px;
}

.ms-Dropdown-items .ms-Button:focus {
  outline: none;
}

.ms-ChoiceField-wrapper {
  width: 150px;
}

.ms-ChoiceField-innerField {
  padding: 0;
}

.save {
  display: flex;
  justify-content: flex-end;
  margin-top: 40px;
}

.saveCallout > div {
  padding: 20px;
}

.saveCallout .saveHeader {
  margin-bottom: 10px;
  font-size: 16px;
}

.saveConfirm {
  background: #444;
  color: #fff;
}

.error {
  color: #e33;
}
.errorBorder .ms-Dropdown {
  border: 2px solid #e33;
}

.is-valid .ms-TextField-fieldGroup,
.is-valid .ms-TextField-fieldGroup:active,
.is-valid .ms-TextField-fieldGroup:focus,
.is-valid .ms-TextField-fieldGroup::after {
  border:2px solid #090;
}

.adminUsersList {
  margin-bottom: 15px;
}

/* commands page */
.commands {
  margin-top: 15px;
}

/* moderation page */
.commands .ms-Checkbox {
  display: inline-block;
  min-width: 160px;
}

.selfRoleOptions .ms-Checkbox,
.loggingOptions .ms-Checkbox {
  display: inline-block;
  min-width: 240px;
}

.selfRoleOptions, .loggingOptions {
  margin-top: 15px;
}

/* quotes */
.quoteData > div {
  display: flex;
  gap: 150px;
}

.quoteData .ms-Dropdown-container {
  display: flex;
}

.quoteData label {
  margin-right: 5px;
}

.quoteExport > div, .quoteState > div {
  width: 50%;
}

.quoteState {
  margin-top: 50px;
}

.quoteData h4 {
  margin-top: 0;
}

.quoteData button {
  margin-top: 15px;
}

.quoteImportStatus {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 15px;
  overflow-wrap: anywhere;
}

.quoteImportStatus.failed {
  color: #f1707d;
}

.quoteImportStatus progress {
  width: 100%;
}

/* notifications */
.feedPair {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.feedPair > div {
  min-width: 340px;
}

input[readonly] {
  color: #888;
}

.roleCheckbox {
  display: inline-block;
  width: 45%;
  min-width: 230px;
  margin-bottom: 5px;
}

.roleEmoji {
  color: gray;
}

.roleEmoji img {
  width: 27px;
}

/* emoji-mart */
.emoji-mart,
.emoji-mart * {
  box-sizing: border-box;
  line-height: 1.15;
}

.emoji-mart {
  font-size: 16px;
  display: inline-block;
  color: #222427;
  border: 1px solid #d9d9d9;
  border-radius: 5px;
  background: #fff;
}

.emoji-mart .emoji-mart-emoji {
  padding: 6px;
}

.emoji-mart-bar {
  border: 0 solid #d9d9d9;
}
.emoji-mart-bar:first-child {
  border-bottom-width: 1px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}
.emoji-mart-bar:last-child {
  border-top-width: 1px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.emoji-mart-anchors {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 0 6px;
  line-height: 0;
}

.emoji-mart-anchor {
  position: relative;
  display: block;
  flex: 1 1 auto;
  color: #858585;
  text-align: center;
  padding: 12px 4px;
  overflow: hidden;
  transition: color .1s ease-out;
  margin: 0;
  box-shadow: none;
  background: none;
  border: none;
}
.emoji-mart-anchor:focus { outline: 0 }
.emoji-mart-anchor:hover,
.emoji-mart-anchor:focus,
.emoji-mart-anchor-selected {
  color: #464646;
}

.emoji-mart-anchor-selected .emoji-mart-anchor-bar {
  bottom: 0;
}

.emoji-mart-anchor-bar {
  position: absolute;
  bottom: -3px; left: 0;
  width: 100%; height: 3px;
  background-color: #464646;
}

.emoji-mart-anchors i {
  display: inline-block;
  width: 100%;
  max-width: 22px;
}

.emoji-mart-anchors svg,
.emoji-mart-anchors img {
  fill: currentColor;
  height: 18px;
  width: 18px;
}

.emoji-mart-scroll {
  overflow-y: scroll;
  overflow-x: hidden;
  height: 270px;
  padding: 0 6px 6px 6px;
  will-change: transform; /* avoids "repaints on scroll" in mobile Chrome */
}

.emoji-mart-search {
  margin-top: 6px;
  padding: 0 6px;
  position: relative;
}

.emoji-mart-search input {
  font-size: 16px;
  display: block;
  width: 100%;
  padding: 5px 25px 6px 10px;
  border-radius: 5px;
  border: 1px solid #d9d9d9;
  outline: 0;
}

.emoji-mart-search input,
.emoji-mart-search input::-webkit-search-decoration,
.emoji-mart-search input::-webkit-search-cancel-button,
.emoji-mart-search input::-webkit-search-results-button,
.emoji-mart-search input::-webkit-search-results-decoration {
  /* remove webkit/blink styles for <input type="search">
   * via https://stackoverflow.com/a/9422689 */
  -webkit-appearance: none;
}

.emoji-mart-search-icon {
  position: absolute;
  top: 7px;
  right: 11px;
  z-index: 2;
  padding: 2px 5px 1px;
  border: none;
  background: none;
}

.emoji-mart-category .emoji-mart-emoji span {
  z-index: 1;
  position: relative;
  text-align: center;
  cursor: default;
}

.emoji-mart-category .emoji-mart-emoji:hover:before {
  z-index: 0;
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: #f4f4f4;
  border-radius: 100%;
}

.emoji-mart-category-label {
  z-index: 2;
  position: relative;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
}

.emoji-mart-category-label span {
  display: block;
  width: 100%;
  font-weight: 500;
  padding: 5px 6px;
  background-color: #fff;
  background-color: rgba(255, 255, 255, .95);
}

.emoji-mart-category-list {
  margin: 0;
  padding: 0;
}

.emoji-mart-category-list li {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-block;
}

.emoji-mart-emoji {
  position: relative;
  display: inline-block;
  font-size: 0;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  box-shadow: none;
}

.emoji-mart-emoji-native {
  font-family: "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "Apple Color Emoji", "Twemoji Mozilla", "Noto Color Emoji", "Android Emoji";
}

.emoji-mart-no-results {
  font-size: 14px;
  text-align: center;
  padding-top: 70px;
  color: #858585;
}
.emoji-mart-no-results-img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}
.emoji-mart-no-results .emoji-mart-category-label {
  display: none;
}
.emoji-mart-no-results .emoji-mart-no-results-label {
  margin-top: .2em;
}
.emoji-mart-no-results .emoji-mart-emoji:hover:before {
  content: none;
}

.emoji-mart-preview {
  position: relative;
  height: 70px;
}

.emoji-mart-preview-emoji,
.emoji-mart-preview-data,
.emoji-mart-preview-skins {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.emoji-mart-preview-emoji {
  left: 12px;
}

.emoji-mart-preview-data {
  left: 68px; right: 12px;
  word-break: break-all;
}

.emoji-mart-preview-skins {
  right: 30px;
  text-align: right;
}

.emoji-mart-preview-skins.custom {
  right: 10px;
  text-align: right;
}

.emoji-mart-preview-name {
  font-size: 14px;
}

.emoji-mart-preview-shortname {
  font-size: 12px;
  color: #888;
}
.emoji-mart-preview-shortname + .emoji-mart-preview-shortname,
.emoji-mart-preview-shortname + .emoji-mart-preview-emoticon,
.emoji-mart-preview-emoticon + .emoji-mart-preview-emoticon {
  margin-left: .5em;
}

.emoji-mart-preview-emoticon {
  font-size: 11px;
  color: #bbb;
}

.emoji-mart-title span {
  display: inline-block;
  vertical-align: middle;
}

.emoji-mart-title .emoji-mart-emoji {
  padding: 0;
}

.emoji-mart-title-label {
  color: #999A9C;
  font-size: 26px;
  font-weight: 300;
}

.emoji-mart-skin-swatches {
  font-size: 0;
  padding: 2px 0;
  border: 1px solid #d9d9d9;
  border-radius: 12px;
  background-color: #fff;
}

.emoji-mart-skin-swatches.custom {
  font-size: 0;
  border: none;
  background-color: #fff;
}

.emoji-mart-skin-swatches.opened .emoji-mart-skin-swatch {
  width: 16px;
  padding: 0 2px;
}

.emoji-mart-skin-swatches.opened .emoji-mart-skin-swatch.selected:after {
  opacity: .75;
}

.emoji-mart-skin-swatch {
  display: inline-block;
  width: 0;
  vertical-align: middle;
  transition-property: width, padding;
  transition-duration: .125s;
  transition-timing-function: ease-out;
}

.emoji-mart-skin-swatch:nth-child(1) { transition-delay: 0s }
.emoji-mart-skin-swatch:nth-child(2) { transition-delay: .03s }
.emoji-mart-skin-swatch:nth-child(3) { transition-delay: .06s }
.emoji-mart-skin-swatch:nth-child(4) { transition-delay: .09s }
.emoji-mart-skin-swatch:nth-child(5) { transition-delay: .12s }
.emoji-mart-skin-swatch:nth-child(6) { transition-delay: .15s }

.emoji-mart-skin-swatch.selected {
  position: relative;
  width: 16px;
  padding: 0 2px;
}

.emoji-mart-skin-swatch.selected:after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 4px; height: 4px;
  margin: -2px 0 0 -2px;
  background-color: #fff;
  border-radius: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s ease-out;
}

.emoji-mart-skin-swatch.custom {
  display: inline-block;
  width: 0;
  height: 38px;
  overflow: hidden;
  vertical-align: middle;
  transition-property: width, height;
  transition-duration: .125s;
  transition-timing-function: ease-out;
  cursor: default;
}

.emoji-mart-skin-swatch.custom.selected {
  position: relative;
  width: 36px;
  height: 38px;
  padding: 0 2px 0 0;
}

.emoji-mart-skin-swatch.custom.selected:after {
  content: "";
  width: 0;
  height: 0;
}

.emoji-mart-skin-swatches.custom .emoji-mart-skin-swatch.custom:hover {
  background-color: #f4f4f4;
  border-radius: 10%;
}

.emoji-mart-skin-swatches.custom.opened .emoji-mart-skin-swatch.custom {
  width: 36px;
  height: 38px;
  padding: 0 2px 0 0;
}

.emoji-mart-skin-swatches.custom.opened .emoji-mart-skin-swatch.custom.selected:after {
  opacity: .75;
}

.emoji-mart-skin-text.opened {
  display: inline-block;
  vertical-align: middle;
  text-align: left;
  color: #888;
  font-size: 11px;
  padding: 5px 2px;
  width: 95px;
  height: 40px;
  border-radius: 10%;
  background-color: #fff;
}

.emoji-mart-skin {
  display: inline-block;
  width: 100%;
  padding-top: 100%;
  max-width: 12px;
  border-radius: 100%;
}

.emoji-mart-skin-tone-1 { background-color: #ffc93a }
.emoji-mart-skin-tone-2 { background-color: #fadcbc }
.emoji-mart-skin-tone-3 { background-color: #e0bb95 }
.emoji-mart-skin-tone-4 { background-color: #bf8f68 }
.emoji-mart-skin-tone-5 { background-color: #9b643d }
.emoji-mart-skin-tone-6 { background-color: #594539 }

/* For screenreaders only, via https://stackoverflow.com/a/19758620 */
.emoji-mart-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/*
 * Dark mode styles
 */

.emoji-mart-dark {
  color: #fff;
  border-color: #555453;
  background-color: #222;
}

.emoji-mart-dark .emoji-mart-bar {
  border-color: #555453;
}

.emoji-mart-dark .emoji-mart-search input {
  color: #fff;
  border-color: #555453;
  background-color: #2f2f2f;
}

.emoji-mart-dark .emoji-mart-search-icon svg {
  fill: #fff;
}

.emoji-mart-dark .emoji-mart-category .emoji-mart-emoji:hover:before {
  background-color: #444;
}

.emoji-mart-dark .emoji-mart-category-label span {
  background-color: #222;
  color: #fff;
}

.emoji-mart-dark .emoji-mart-skin-swatches {
  border-color: #555453;
  background-color: #222;
}

.emoji-mart-dark .emoji-mart-anchor:hover,
.emoji-mart-dark .emoji-mart-anchor:focus,
.emoji-mart-dark .emoji-mart-anchor-selected {
  color: #bfbfbf;
}
