/* Typography */
h1 {color: #FFF; font-size: 25px;}
h2 {color: #111; font-size: 22px;}
h3 {color: #A9A9A9; font-size: 15px;}
h4 {font-family: "Minecraftia"; font-size: 22px;}
h5 {color: #111; font-size: 17px;}
h6 {color: #111; font-size: 20px;}
p {font-family: "Maven Pro", sans-serif; font-size: 18px; color: #1F1F1F;}
* {margin: 0; padding: 0;}

/* Core Classes */
body {
    font-family: "Maven Pro", sans-serif;
    font-size: 18px;
    color: #1F1F1F;
    background-color: #111111;
}

input {
    font-family: "Maven Pro", sans-serif;
    font-size: 18px;
}

.noSelect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

.hidden {
    display: none !important;
}

.shown {
    display: block;
}

.inline {
    display: inline;
}

.left {
    text-align: left;
}

.center {
    text-align: center;
}

.right {
    text-align: right;
}

.unavailable {
    cursor: not-allowed;
}

.pointer {
    cursor: pointer;
}

a:visited {
    color: #0200EC;
}

.noTextDecoration {
    text-decoration: none;
}

.bold {
    font-weight: bold;
}

.regularFlex {
    display: flex;
}

.wrappedFlex {
    display: flex;
    flex-wrap: wrap;
}

.evenFlex {
    flex: 1;
}

.doubleFlex {
    flex: 2 !important;
}

.shadow {
    margin: 12px 0px 0px 12px;
    border-radius: 15px;
    box-shadow: 4px 4px 6px rgba(0,0,0,0.25);
    transition: box-shadow 0.2s;
}

.shadow:hover {
    box-shadow: 4px 4px 8px rgba(0,0,0,0.5);
}

p img {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

li i, a i {
    font-size: 17px;
}

h2 i {
    font-size: 17px;
}

.hoverOpacity {
    transition: opacity 0.2s;
}

.hoverOpacity:hover {
    opacity: 0.6;
}

/* Minecraft Colors */
.darkBlue {color: #0000AA;} .darkBlueBackground {background-color: #0000AA !important;}
.darkGreen {color: #00AA00;} .darkGreenBackground {background-color: #00AA00 !important;}
.darkAqua {color: #00AAAA;} .darkAquaBackground {background-color: #00AAAA !important;}
.darkRed {color: #AA0000;} .darkRedBackground {background-color: #AA0000 !important;}
.darkPurple {color: #AA00AA;} .darkPurpleBackground {background-color: #AA00AA !important;}
.gold {color: #FFAA00;} .goldBackground {background-color: #FFAA00 !important;}
.gray {color: #AAAAAA;} .grayBackground {background-color: #AAAAAA !important;}
.darkGray {color: #555555;} .darkGrayBackground {background-color: #555555 !important;}
.blue {color: #5555FF;} .blueBackground {background-color: #5555FF !important;}
.green {color: #55FF55;} .greenBackground {background-color: #55FF55 !important;}
.aqua {color: #55FFFF;} .aquaBackground {background-color: #55FFFF !important;}
.red {color: #FF5555;} .redBackground {background-color: #FF5555 !important;}
.lightPurple {color: #FF55FF;} .lightPurpleBackground {background-color: #FF55FF !important;}
.yellow {color: #FFFF55;} .yellowBackground {background-color: #FFFF55 !important;}
.white {color: #FFFFFF;} .whiteBackground {background-color: #FFFFFF !important;}
.black {color: #000000;} .blackBackground {background-color: #000000 !important;}

/* Misc Colors */
.orange {color: #F58C1B;}
.emojiColor {color: #FFCD4C;}
.brown {color: #CD7F32;} .brownBackground {background-color: #CD7F32;}

/* Prestiges */
.bigPrestige {
    font-family: 'Minecraftia';
    font-size: 22px;
    font-weight: bold;
    text-shadow: 1px 1px #777;
}

.smallPrestige {
    font-family: 'Minecraftia';
    font-size: 14px;
    font-weight: normal;
    text-shadow: 1px 1px #777;
}

.noShadow {
    text-shadow: none;
}

/* Patreon */
#customEmoji {
    margin-top: 9px;
}

.emojiTooltip {
    display:inline-block;
    position:relative;
    text-align:left;
    height: 37px;
}

.emojiTooltip .right {
    top:50%;
    width: 171px;
    left:100%;
    margin-left:14px;
    line-height: 40px;
    transform:translate(0, -50%);
    padding:0px 16px;
    color:#FFFFFF;
    background-color: rgba(0, 0, 0, 0.6);
    font-weight:normal;
    font-size:14px;
    border-radius:8px;
    position:absolute;
    z-index:2;
    box-sizing:border-box;
    box-shadow:0 1px 8px rgba(0,0,0,0.5);
    visibility:hidden;
    opacity:0;
    transition: 0.2s;
}

.emojiTooltip .right i {
    position:absolute;
    top:50%;
    right:100%;
    margin-top:-12px;
    width:12px;
    height:24px;
    overflow:hidden;
    color:rgba(0, 0, 0, 0.6);
}

.emojiTooltip .right i::after {
    content:'';
    position:absolute;
    width:12px;
    height:12px;
    left:0;
    top:50%;
    transform:translate(50%,-50%) rotate(-45deg);
    background-color:rgba(0, 0, 0, 0.6);
    box-shadow:0 1px 8px rgba(0,0,0,0.5);
}

.emojiTooltip:hover .right {
    visibility:visible;
    opacity:1;
}

/**** tooltip ****************************/
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .itemText {
    visibility: hidden;
    width: 260px;
    background-color: rgba(0, 0, 0, 0.9);
    color: #FFFFFF;
    text-align: center;
    border-radius: 6px;
    padding: 10px;
    position: absolute;
    z-index: 2;
    left: 110%;
    opacity: 0;
    transition: 0.2s;
    font-weight: normal;
    line-height: 100%;
}

.tooltip .itemText::after {
    content: "";
    position: absolute;
    top: 8px;
    right: 100%;
    border-width: 5px;
    border-style: solid;
    border-color: transparent rgba(0, 0, 0, 0.9) transparent transparent;
}

.tooltip:hover .itemText {
    visibility: visible;
    opacity: 1;
}

.tooltipMainText {
    font-size: 18px;
}

.tooltipSubText {
    color: #AAAAAA;
    font-size: 14px;
    line-height: 60%;
}

/**** progress bar ****************************/
.bar {
    border-radius: 15px;
    height: 30px;
    line-height: 30px;
    overflow: hidden;
    background-color: #5555FF;
    width: 100%;
}

.barCurrent {
    border-radius: 15px;
    height: 30px;
    line-height: 30px;
    overflow:hidden;
    background-color: #00AAAA;
    overflow: visible;
}

.barText {
    font-weight: bold;
    margin-left: 15px;
    z-index: 3;
    white-space: nowrap;
}

.barGap {
    margin-top: 16px;
}

.barContainer {
    width: 100%;
}

/**** placeHolder ****************************/
.placeHolder {
    border: 3px solid;
    padding: 10px;
    border-radius: 15px;
    margin-right: 10px;
    margin-bottom: 10px;
}

.placeHolder:last-child {
    margin-bottom: 0px;
}

/**** search ****************************/
.search {
  width: 100%;
  position: relative;
  display: flex;
  margin-left: auto;
  margin-right: 15px;
  margin-top: 25px;
}

.searchTerm {
  width: 100%;
  border: 3px solid #292929;
  border-right: none;
  border-radius: 10px 0 0 10px;
  padding: 4px 12px 6px 12px;
  height: 25px;
  outline: none;
  font-size: 16px;
}

.searchTerm:focus{
  color: #000000;
}

.searchButton {
  width: 50px;
  height: 41px;
  border: 1px solid #292929;
  background: #292929;
  text-align: center;
  color: #fff;
  border-radius: 0 10px 10px 0;
  cursor: pointer;
  font-size: 14px;
}

.searchParent {
  display: inline-block;
  vertical-align: middle;
}

.searchParentHighlight{
  transform: scale(1.2);
  transition: 0.1s;
}

.searchParent:hover .searchParentHighlight {
  transform: scale(1.35);
}

/**** inventory ****************************/
.inventoryContainer {
  width: 100%;
  height: 100%;
  display: flex;
}

.inventory {
  width: 252px;
  background: #c6c6c6;
  border-radius: 3px;
  box-shadow: 5px 5px 0px #555555, inset 4px 4px 0px #fefefe;
  padding-top: 5px;
  padding-left: 5px;
  margin-bottom: 10px;
}

.slotContainer {
    margin: 10px 10px;
    display: flex;
    flex-wrap: wrap;
}

.number {
  font-family: 'VT323', monospace;
  font-size: 24px;
  color: #fefefe;
  position: relative;
  text-shadow: #333 1px 2px 1px;
  top: -16px;
  right: -8px;
  cursor: default;
}

.slot {
    width: 32px;
    height: 32px;
    padding-right: 1px;
    padding-bottom: 1px;
    display: flex;
    justify-content: center;
    background: #8b8b8b;
    box-shadow: inset 1.5px 1.5px 0px rgba(55, 55, 55, 0.8),
    inset -2px -2px 0px #ffffff;
}

.breweryPotion .slot {
    padding-right: 3px;
    padding-bottom: 3px;
}

.invisible {
  visibility: hidden;
}

.slot {
  position: relative;
  display: inline-block;
}

.slot .itemText {
  visibility: hidden;
  background: rgb(10, 10, 10, 0.95);
  color: #fff;
  max-width: auto;
  border-radius: 3px;
  border: 2px solid #0000AA;
  box-shadow: inset 5px #555555;
  padding: 3px 5px;
  font-family: "Minecraftia";
  font-size: 14px;
  white-space: nowrap;

  /* Position the tooltip */
  position: absolute;
  z-index: 1;
  top: -5px;
  left: 105%;
}

.slot:hover .itemText {
  visibility: visible;
  pointer-events: none;
}

.item {
    cursor:pointer;
}

.item img {
    width: 32px;
    height: 32px;
}

.itemLocked {
    background-color: rgba(170, 00, 00, 0.3);
}

/**** mainElement ****************************/
#main {
    padding-top: 80px;
    margin-left: 178px;
    margin-right: 12px;
    max-width: 1080px;
}

.mainElement {
    background-color: #fff;
    border-radius: 15px;
    background: rgba(256, 256, 256, 0.8);
    transition: border-radius 0.2s;
}

.mainElementTransparent {
    background: rgb(36, 36, 36, 0.5) !important;
}

.mainText {
    padding: 16px;
}

/**** mainHeader ****************************/
.mainHeader {
    border-radius: 15px 15px 0px 0px;
    padding: 12px 16px 12px 16px;
    line-height: 37px;
    position: relative;
}

#playerContainer {
    margin-right: 60px;
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

#onlineContainer {
    display:block;
    width: 60px;
    position: absolute;
    top: 10px;
    right: 10px;
}

#onlineDot {
    display: inline-block;
    height: 10px;
    width: 10px;
    background-color: #FF5555;
    border-radius: 50%;
}

#onlineHead {
    display:block;
    position: absolute;
    height: 40px;
    top: 0px;
    right: 0px;
    width: 40px;
    border-radius: 5px;
}

#onlineDetailsContainer {
    display: flex;
    max-height: 0px;
    overflow: hidden;
    flex-wrap: wrap;
    transition-property: max-height 0.2s;
    background: rgb(41, 41, 41, 0.85);
}

#onlineDetails {
    padding: 8px 16px 10px 16px;
    display: flex;
    flex-wrap: wrap;
    margin-top: -20px;
    width: 100%;
}

.block {
    min-width: 200px;
    flex: 25%;
}

/**** navGames ****************************/
.navGames {
    display: flex;
    height: 73px;
}

.navGame {
    flex: 1;
    z-index: 0;
    line-height: 61px;
    border-radius: 15px;
    display: flex;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    background-blend-mode: multiply;
    transition: border-radius 0.2s, margin-bottom 0.2s, box-shadow 0.2s;
}

.navGame::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: inherit;
  transition: inherit;
  overflow: hidden;
}

.navGame:last-child {
    margin-right: 0px;
}

.navGameName {
    left: 16px;
    position: absolute;
    flex: 2;
    color: #FFFFFF;
    font-size: 25px;
    font-weight: bold;
}

.navGameIcon {
    right: 16px;
    position: absolute;
    flex: 1;
    width: 40px;
    height: 40px;
    margin-top: 11px;
}

.navGameSelected {
    margin-bottom: -12px;
    border-radius: 15px 15px 0px 0px;
    box-shadow: 4px -2px 6px rgba(0,0,0,0.25) !important;
}

.navGameSelectedTarget {
    margin-top: 12px !important;
}

.navGameSelectedTargetLeft {
    border-radius: 0px 15px 15px 15px;
}

.navGameSelectedTargetRight {
    border-radius: 15px 0px 15px 15px;
}

/**** navTabs ****************************/
.navTabContainer {
    transition: 0.3s;
    padding: 16px;
    display: none;
}

.navTab {
    display: none;
}

.navTabSelected {
    display: block !important;
}

.navTabBar {
    background-color: #2A3142;
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    border-radius: 15px 15px 0px 0px;
}

.navTabBarThin {
    background-color: #2A3142;
    padding: 2px;
    border-radius: 10px;
}

.navTabButton {
    font-size: 18px;
    background: none;
    cursor: pointer;
    color: #FFFFFF;
    padding: 5px 10px;
    border: none;
    margin: 5px;
    font-family: "Maven Pro", sans-serif;
    width: auto;
    border-radius: 10px;
    transition: background-color 0.2s, color 0.2s, font-weight 0.2s;
}

.navTabButton:hover {
    color: #FFFFFF80;
}

/*table */
.table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid;
}

.table th {
    color: #fff;
    padding: 8px;
    font-size: 18px;
    text-align: left;
    background-color: #2A3142;
}

.table tr {
    background-color: #fff;
}

.table td {
    padding: 8px;
    font-size: 16px;
    border: 1px solid;
}

.tableButton {
    font-size: 18px;
    cursor: pointer;
    color: white;
    padding: 5px 10px;
    border: none;
    font-family: "Maven Pro", sans-serif;
    width: auto;
    border-radius: 10px;
    margin-bottom: 15px;
    height: 30px;
    transition: background-color 0.2s;
}

.tableButton:hover {
    background-color: #444;
}

.tableButtons {
    display: none;
}

/**** media Queries ****************************/
@media only screen and (max-width: 560px) {
    .hideOnMobile, .navGameName {display: none;}
    .navGameIcon {
        position: absolute;
        right: 50%;
        margin-right: -20px;
        left: 50%;
        margin-left: -20px;
    }
    .emojiTooltip .right {display: none;}
    .tableButtons {display: block;}
}
@media only screen and (min-width: 561px) and (max-width: 1030px) {
    .navGameIcon {display: none;}
}
@media only screen and (min-width: 1030px) {

}
