/*
  mcuserna.me stylesheet
  faav and luckyswede were here :D
    .css-guide {
      body {} - matches element named body;
      .pointer {} - matches any element with class pointer;
      #history {} - matches any element with id history;
    }
*/

/* minecraftia font align for ranks */

@font-face {
  font-family: 'Minecraftia-Align';
  font-weight: normal;
  font-style: normal;
  font-display: swap;
  src: url(../fonts/Minecraftia-Align.woff2) format('woff2');
}


/* html styling */

html {
  overflow-x: hidden !important;
  overflow-y: overlay;
  width: auto !important;
  word-break: break-word !important;
  box-sizing: border-box;
}


/* global body styling */

body {
  overflow: auto;
  font-family: 'Roboto', sans-serif;
  background-color: #F5F5F5;
  padding-right: 0 !important;
  overflow-x: hidden !important;
  width: auto !important;
}


/* navbar fixes */

.navbar-brand {
  font-weight: 500;
  padding-left: 10px;
  padding-right: 1rem;
}

/* light mode for navbar */
.navbar-light {
  background-color: #F5F5F5;
}

/* dark mode for navbar */
.navbar-dark {
  background-color: #121212;
}

/* searchform */

#searchform {
  padding-right: 10px;
}

/* friends button */

button#friendsBtn {
  border-radius: 15px;
}

h1,
h2,
h3,
h4
h5,
h6 {
  line-height: 1 !important;
}

.col-sm-4 {
  flex: 0 !important;
}


/* cape image */

cape {
  padding: 5px;
}

.row {
  overflow-x: hidden !important;
  width: auto !important;
}

.btn-primary.focus,
.btn-primary:focus {
  box-shadow: none;
}


/* buttons */

.btn {
  border: 1px solid transparent !important;
}


/* CSS for list groups (name history & hypixel info) */

.list-group {
  border-radius: .75rem
}

#skinbox,
#userbox,
#capebox {
  padding: 10px;
}

.br-6 {
  border-radius: 6px;
}


/* used for Hypixel info text */

h6 {
  font-weight: 500;
}


/* friends table */

table#modalTable {
  margin-bottom: 0;
  text-align: left;
}


/* friends modal */

.modal {
  height: 100%;
  padding-right: 0 !important;
}


/* cosmetics */

#cosmeticsId {
  display: flex;
  justify-content: center;
}

figure {
  padding-left: 5px;
  margin: 0;
  font-weight: 500;
  padding-right: 5px;
}

/* cape selected */

.selected {
  box-shadow: 0 0 0 2pt #9650af;
}


/* box shadow */

ul#cosmetics.darkbg {
  box-shadow: 2px 4px 6px #0f0f0f;
}

ul#cosmetics {
  box-shadow: 2px 4px 6px #e4e1e1;
}

ul#hyul.darkbg {
  box-shadow: 2px 4px 6px #0f0f0f;
}

ul#hyul {
  box-shadow: 2px 4px 6px #e4e1e1;
}

ul#accinfo.darkbg {
  box-shadow: 2px 4px 6px #0f0f0f;
}

ul#accinfo {
  box-shadow: 2px 4px 6px #e4e1e1;
}

.faceTd {
  padding-right: .6rem !important;
}


/* for skin and cape tester */

.custom-control-label,
#capeinputtester {
  cursor: pointer;
}

.toast {
  background-color: transparent !important;
  z-index: 1;
}

.toast-body {
  border-radius: 0 0 .6em .6em !important
}

.toast-header {
  background: white;
  border-radius: .6em .6em 0 0 !important;
}

.toastAlert {
  position: absolute;
  right: 1.5rem;
  top: -2.5rem;
}

.toastDiv {
  position: relative;
  z-index: 9;
}

.toastDiv {
  position: relative;
  z-index: 9;
}

/* padding-left: 4px */

.pl-4 {
  padding-left: 4px;
}


/* padding-right: 8px */

.pr-8 {
  padding-right: 8px;
}


/* padding-right: 10px */

.pr-10 {
  padding-right: 10px;
}


/* padding-right: 12px */

.pr-12 {
  padding-right: 12px;
}


/* padding-right: 14px */

.pr-14 {
  padding-right: 14px;
}


/* padding-right: 16px */

.pr-16 {
  padding-right: 16px;
}


/* padding-right: 18px */

.pr-18 {
  padding-right: 18px;
}


/* padding-right: 20px */

.pr-20 {
  padding-right: 20px;
}


/* padding-right: 24px */

.pr-24 {
  padding-right: 24px;
}


/* padding-right: 25px */

.pr-25 {
  padding-right: 25px;
}


/* padding-right: 28px */

.pr-28 {
  padding-right: 28px;
}


/* monospace font for code */

code {
  font-family: 'Roboto Mono', monospace;
}

.table td,
.table th {
  padding: .4rem;
  vertical-align: middle;
}

.face-icon {
  image-rendering: pixelated;
  border-radius: 5px;
}


/* padding-bottom: 25px */

.pb-25 {
  padding-bottom: 25px;
}

.dark-header {
  background: #181718 !important;
}


/* to make the titles better*/

h4.title {
  padding: 10px;
}

a.c-black {
  color: black;
}

td {
  border-top: none !important;
}

.p-25 {
  padding: 25px;
}

#Status-hy {
  font-size: 20px !important;
  font-weight: 500;
  float: right;
}

.online {
  color: greenyellow;
}

.offline {
  color: red;
  letter-spacing: .05px;
}

th {
  border-bottom: none !important;
  border-top: none !important;
}

.modal-header {
  border-bottom: none !important;
  text-align: center;
  background: #F5F5F5;
  min-height: fit-content;
}

.disclaimer {
  padding-top: 10px;
  font-size: 14px;
}


/* cool seperator */

hr.seperator {
  margin: 0 !important;
  margin-top: 1rem;
  border: 0;
  border-top: 1px solid rgba(230, 232, 237, .1);
}


/* scroll bar stuff */

::-webkit-scrollbar-corner {
  background: rgba(0, 0, 0, 0);
}


/* width */

.list-group-item::-webkit-scrollbar {
  width: 10px;
}

.mine-opti {
  padding-left: 4px;
  padding-right: 14px;
}


/* Track */

.list-group-item::-webkit-scrollbar-track {
  background-color: #ffffff85;
  border-radius: 10px;
}


/* Handle */

.list-group-item::-webkit-scrollbar-thumb {
  background-color: #e6e6e6;
  border-radius: 10px;
}


/* width */

.darkbg ::-webkit-scrollbar {
  width: 10px;
}


/* Track */

.darkbg ::-webkit-scrollbar-track {
  background-color: rgba(0, 0, 0, 0);
  border-radius: 10px;
}


/* Handle */

.darkbg ::-webkit-scrollbar-thumb {
  background-color: #1f1f1f;
  border-radius: 10px;
}


/* width */

.modal-content::-webkit-scrollbar {
  width: 10px;
}


/* Track */

.modal-content::-webkit-scrollbar-track {
  background-color: #fff;
  border-radius: 10px;
}


/* Handle */

.modal-content::-webkit-scrollbar-thumb {
  background-color: #e6e6e6;
  border-radius: 10px;
}


/* width */

.dark-mode-modal::-webkit-scrollbar {
  width: 10px;
}


/* Track */

.dark-mode-modal::-webkit-scrollbar-track {
  background-color: rgba(0, 0, 0, 0);
  border-radius: 10px;
}


/* Handle */

.dark-mode-modal::-webkit-scrollbar-thumb {
  background-color: #1f1f1f;
  border-radius: 10px;
}


/* modal box */

.modal-content {
  max-height: 480px;
  overflow: overlay;
  scrollbar-color: #e6e6e6 #fff;
}

@supports not (overflow: overlay) {
    .modal-content {
      max-height: 480px;
      overflow: auto !important;
    }
}

/* Change Autocomplete background */

.input-dark:-webkit-autofill,
.input-dark:-webkit-autofill:hover,
.input-dark:-webkit-autofill:focus,
.input-dark:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px #282628 inset !important;
  -webkit-text-fill-color: white !important;
  border: 1px solid #7b7b7b;
}


/* style for alert */

.alertstyle {
  margin: auto;
  width: 80%;
  border: none;
  word-break: break-word;
}


/* padding-left: 10px */

.pl10 {
  padding-left: 10px;
}


/* padding-left: 5px */

.pl5 {
  padding-left: 5px;
}

/* cursor pointer on info button on cdate */

#cdate text {
  cursor: pointer;
}

/* form input */

.input-search {
  border-radius: 1rem 0rem 0rem 1rem !important;
  margin-right: 0 !important;
}


/* focus form input */

.input-search:focus {
  box-shadow: none;
}


/* focus form control */

.form-control:focus {
  box-shadow: none !important;
}


/* form btn */

.btn-search {
  border-radius: 0rem 1rem 1rem 0rem !important;
  height: 37.5px !important;
  width: 37.5px !important;
}

#userbox {
  min-width: 360px;
  height: 100%;
}

#capebox {
  min-width: 350px;
  max-width: 0;
}


/* better timestamp spacing */

#hypixelbox {
  min-width: 360px;
  padding-bottom: 2em;
  right: 1em;
}

select#capeinputtester {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIwLjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCA0LjkgMTAiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQuOSAxMDsiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLnN0MHtmaWxsOiM0NDQ0NDQ7fQo8L3N0eWxlPgo8dGl0bGU+YXJyb3dzPC90aXRsZT4KPHBvbHlnb24gY2xhc3M9InN0MCIgcG9pbnRzPSIxLjQsNC43IDIuNSwzLjIgMy41LDQuNyAiLz4KPHBvbHlnb24gY2xhc3M9InN0MCIgcG9pbnRzPSIzLjUsNS4zIDIuNSw2LjggMS40LDUuMyAiLz4KPC9zdmc+Cg==) no-repeat;
  background-position: calc(100% - 10px) center;
  background-repeat: no-repeat;
}


/* margin-top: 3px */

.mt-3 {
  margin-top: 3px;
}

.nodec:hover {
  text-decoration: none;
}

.list-group,
input[type="search"] {
  border-radius: 1rem;
}


/* width: 100% */

.w100 {
  width: 100%
}


/* font-size: 16px */

.fs-16 {
  font-size: 16px !important;
}

.list-group-item {
  border: none;
  background-color: white;
}

#popoveruuid:focus {
  outline: none;
}

#popoveruuid-phd:focus {
  outline: none;
}

#popoveruuidbtn:focus {
  outline: none;
}

#popoveruuid-btn-phd:focus {
  outline: none;
}

.text-white#popoveruuidbtn:hover {
  color: #d4d4d6 !important
}

.text-white#popoveruuid-btn-phd:hover {
  color: #d4d4d6 !important
}


/* name history list styling (NOT THE BOX ITSELF!) */

#name_history {
  scrollbar-color: #e6e6e6 #fff;
  white-space: break-spaces;
  text-align: left;
  max-height: 305px;
  overflow: auto;
}


/* actual box for name history */

#history-table {
  white-space: break-spaces;
}

/* title for name history */

.historytitle {
  text-align: left;
  margin-top: -5px;
  font-weight: 600;
  font-size: 1.1em;
  padding-top: .5rem;
  padding-bottom: .5rem;
  margin-bottom: -20px;
}

/* css for skin buttons */

.skin-buttons {
  border-radius: 10px;
  margin: 2px;
}


/* for hypixel info */

#FirstLogin-hy,
#LastLogin-hy,
#LastLogout-hy {
  font-size: 15px;
  float: right;
  text-overflow: ellipsis; 
  max-width: 200px; 
  white-space: nowrap;
}


/* creation date */

#cdate {
  float: right;
  font-size: 1.1em;
}


/* account type badge */

#accbadge {
  float: right;
}

.cspan {
  float: left;
  font-weight: 600;
  font-size: 1.1em;
}


/* for hypixel info */

.hypixelspan {
  float: left;
  font-size: 1em;
  font-weight: 600;
}


/* Hypixel rank */

#Rank-hy {
  float: right;
  font-size: 1.1em;
  padding-top: 6px;
  line-height: 1;
  font-weight: 500;
}


/* Hypixel rank style */

.rankstyle {
  padding-top: 12px !important;
  margin-bottom: 0 !important;
  font-family: 'Minecraftia-Align' !important;
  font-size: 16px !important;
}


/* Hypixel title */

.hypixeltitle {
  float: left;
  font-size: 1.25em;
  font-weight: 600;
}


/* add cursor pointer */

.pointer {
  cursor: pointer;
}

#labyHref,
#optiHref,
#mineHref {
  padding: 5px;
}

/* better image rendering for capes! */

#minecraft,
#optifine,
#labymod {
  image-rendering: pixelated;
}

#minecraft:focus-visible,
#optifine:focus-visible,
#labymod:focus-visible {
  box-shadow: 0 0 0 2pt #9650af;
  outline: none;
}

/* pointer events none */

.peNone {
  pointer-events: none;
}

/* better image rendering for LabyMod bandanas */

#labymod-bandana {
  image-rendering: pixelated;
}

/*for spinner border */

.spinner-border {
  width: 3rem;
  height: 3rem;
}

/* for loader spinner */

.loader {
  height: 100%;
  align-items: center;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: -1;
  pointer-events: none;
  background-color: #F5F5F5;
  color: black;
}

/* to make the icon upside down */

.upside-down {
  -webkit-transform:rotate(-180deg);
  -moz-transform:rotate(-180deg);
  -o-transform:rotate(-180deg);
  transform:rotate(-180deg);
  ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";
  filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
}


/* dimensions and cursor settings for the skin viewer canvas */

#skin_container {
  margin-right: 1.35rem;
  margin-left: 1.35rem;
  outline: none;
  cursor: move;
}


/* this is only used for the search icon for some reason */

.flex-center {
  display: flex;
  justify-content: center
}


/* search icon too */

.wh-35 {
  width: 35px;
  height: 35px
}

.container {
  overflow-x: hidden !important;
  width: auto !important;
  max-width: unset !important;
}


/* global dark mode settings */

.dark-mode {
  background-color: #121212 !important;
  color: white !important;
}


/* rounded the light/dark mode button a bit better */

#darkmodebtn,
#livebutton {
  border-radius: 15px;
  box-shadow: 0px 0px 15px #007bff;
  overflow: show;
}

.darkbg#darkmodebtn,
.darkbg#livebutton {
  box-shadow: 0px 0px 15px #1f1f1f;
}

.darkbg#darkmodebtn:hover,
.darkbg#livebutton:hover {
  box-shadow: 0px 0px 15px #1f1f1f;
}


/* skin test submit btn */

#submit {
  border-radius: 15px;
}


/* input for skin tester */

#skininputtester,
#capeinputtester,
#opticapestealuser,
#ofcapetop,
#ofcapebottom,
#ofbannertop,
#ofbannerbottom,
#oftext,
#ofshadow,
#optibanner {
  border-radius: 1rem;
}


/* dark mode for modal */

.dark-mode-modal {
  scrollbar-color: #1f1f1f rgba(0, 0, 0, 0);
  background-color: #121212;
  color: white;
}


/* dark mode close btn for modal */

.dark-close {
  color: white;
  text-shadow: none;
}

.dark-close:hover {
  color: #a99d9d;
}

.dark-close:focus {
  outline: none;
}


/* input dark mode */

.input-dark {
  background-color: #282628 !important;
  border: 0;
  border-radius: 15px;
  color: white !important;
}


/* focus input dark mode */

.input-dark:focus {
  background-color: #282628;
  border: 0;
  border-radius: 15px;
  color: white !important;
}


/* placeholder input dark mode */

.input-dark::placeholder {
  color: white !important;
}


/* for button and stuff */

.darkbg {
  background-color: #1f1f1f;
  border: none;
}


/* dark mode btn hover effect */

.darkbg.btn:hover {
  background-color: #282628!important;
}


/* dark mode btn active effect */

.darkbg.btn:active {
  background-color: #282628!important;
  box-shadow: none !important;
}


/* dark mode btn focus effect */

.darkbg.btn:focus {
  background-color: #282628!important;
  box-shadow: none !important;
}


/* list darkmode */

.list-dm {
  scrollbar-color: #1f1f1f rgba(0, 0, 0, 0) !important;
  background-color: #181718;
  border: none;
}


/* centers forms for skin/cape tester */

.skinforminline {
  margin: 0 auto;
  width: 220px;
  padding-bottom: .5rem;
}


/* centers stuff */

.center {
  text-align: center;
  justify-content: center;
}

form.example input[type=text] {
  padding: 3px;
  font-size: 17px;
  border: 1px solid grey;
  float: left;
  width: 80%;
  background: #f1f1f1;
}

form.example button {
  float: left;
  width: 20%;
  padding: 3px;
  background: #2196F3;
  color: white;
  font-size: 24px;
  border: 1px solid grey;
  border-left: none;
  cursor: pointer;
}

form.example button:hover {
  background: #0b7dda;
}

form.example::after {
  content: "";
  clear: both;
  display: table;
}

input {
  color: black !important;
}

.darkbtn {
  background-color: #121212;
  color: white;
}

code.darkbtn {
  background-color: transparent;
}

.badge {
  color: #ffffff;
  font-size: 1.1em;
}

.bg-primary {
  background-color: #49a1e9!important;
}

.bg-success {
  background-color: #61c54b!important;
}

.bg-danger {
  background-color: #ef323d!important;
}


/* cool emojis */

.emoji {
  width: 42px;
  padding-bottom: 6px;
}

/* order stats title */

.stat-title {
  font-size: 1.25rem;
}

/* order stats number */

.stat-number {
  font-size: clamp(1rem, 18vw, 5rem);
  background: #fff;
  border-radius: 1rem;
  padding: 0 0.5rem 0 0.5rem;
  border: 1px solid #ced4da;
}

/* dark order stats number */

.dark-number {
  background: #282628;
  border: 1px solid #282628;
}

/* order stat groups */

.order-stat {
  padding: .5rem;
}

/* order stat settings styling */

.stat-settings {
  position: fixed;
  display: block;
  bottom: 10;
  right: 10;
}

/* adds money sign to USD sale amount */
#sale_day_usd .odometer-inside:before {
    content: "$";
    vertical-align: bottom;
}

/* makes searchbar change size depending on screen width */

@media only screen and (max-width: 1115px) and (min-width: 1075px){
  #searchbar {
    width: 16vw;
  }
}

@media only screen and (max-width: 1075px) and (min-width: 1025px){
  #searchbar {
    width: 12vw;
  }
}

@media only screen and (max-width: 1025px) and (min-width: 991px){
  #searchbar {
    width: 10vw;
  }
}

/* hypixel social media */

.socials {
  padding: .5rem;
}

.social {
  font-size: 2.25rem;
  padding: 0 8px 0 5px;
  color: #49a1e9;
}

.fa-twitter-square.social,
.fa-h-square.social {
  vertical-align: text-bottom;
  margin-bottom: .5px;
}

.social:hover {
  color: #4396f0;
  text-decoration: none;
  text-shadow: 0px 0px 2px #4396f0;
}

discord {
  cursor: pointer;
}

discord:focus {
  outline: none;
}

.banner {
  text-align: center;
  background-color: #ea4c4c;
  color: white;
}
