/*:root {
  --search-tool-bg-image: url(/assets/images/ui/light-tile.png);
}*/

.tibiastyle *,
.tibiastyle *::before,
.tibiastyle *::after {
  position: relative;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  display: block;
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  background: transparent;
  text-decoration: none;
  font-weight: normal;
  font-style: normal;
}

.tibiastyle script,
.tibiastyle title,
.tibiastyle head {
  display: none;
}

.tibiastyle sup {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  vertical-align: super;
  font-size: 0.5em;
  font-weight: 600;
}

.tibiastyle sub {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  vertical-align: sub;
  font-size: 0.5em;
  font-weight: 600;
}

.tibiastyle b {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  font-weight: 400;
  font-size: 1em;
}

.tibiastyle strong {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  font-weight: 500;
  padding-bottom: 0.25em;
  font-size: 1.1em;
}

.tibiastyle * {
  font-family: Verdana, sans-serif;
  font-weight: 600;
}

.tibiastyle font {
  display: inline;
}

.tibiastyle html {
  height: 100%;
  width: 100%;
}

.body {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  height: 100%;
  width: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  caret-color: transparent;
}

/* -----------------------------*/

/* TOOLS TOOLS TOOLS TOOLS TOOLS TOOLS TOOLS TOOLS */
.tibiastyle .clearBoth::before {
  display: table;
  content: "";
}

.tibiastyle .clearBoth::after {
  display: table;
  content: "";
  clear: both;
}

.tibiastyle .userSelectLock {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.tibiastyle .flexRow {
  display: flex;
  flex-direction: row;
}

/* */
.tibiastyle .fullHeight {
  height: 100%;
}

.tibiastyle .fullWidth {
  width: 100%;
}

.tibiastyle .halfHeight {
  height: 50%;
}

.tibiastyle .halfWidth {
  width: 50%;
}

/* */
.tibiastyle .spaceAround5M {
  margin: 0.5rem;
}

.tibiastyle .spaceAround10M {
  margin: 1rem;
}

.tibiastyle .spaceAround5P {
  padding: 0.5rem;
}

.tibiastyle .spaceAround10P {
  padding: 1rem;
}

/* */
.tibiastyle .leftSpace5M {
  margin-left: 0.5rem;
}

.tibiastyle .leftSpace10M {
  margin-left: 1rem;
}

.tibiastyle .topSpace5M {
  margin-top: 0.5rem;
}

.tibiastyle .topSpace10M {
  margin-top: 1rem;
}

.tibiastyle .rightSpace5M {
  margin-right: 0.5rem;
}

.tibiastyle .rightSpace10M {
  margin-right: 1rem;
}

.tibiastyle .bottomSpace5M {
  margin-bottom: 0.5rem;
}

.tibiastyle .bottomSpace10M {
  margin-bottom: 1rem;
}

/* */
.tibiastyle .leftSpace5P {
  padding-left: 0.5rem;
}

.tibiastyle .leftSpace10P {
  padding-left: 1rem;
}

.tibiastyle .topSpace5P {
  padding-top: 0.5rem;
}

.tibiastyle .topSpace10P {
  padding-top: 1rem;
}

.tibiastyle .rightSpace5P {
  padding-right: 0.5rem;
}

.tibiastyle .rightSpace10P {
  padding-right: 1rem;
}

.tibiastyle .bottomSpace5P {
  padding-bottom: 0.5rem;
}

.tibiastyle .bottomSpace10P {
  padding-bottom: 1rem;
}

.tibiastyle .horizontalBar {
  border-top: 0.1rem solid rgb(37, 37, 37);
  border-left: 0.1rem solid rgb(37, 37, 37);
  border-bottom: 0.1rem solid rgb(113, 113, 113);
  border-right: 0.1rem solid rgb(113, 113, 113);
}

/* */
@media (min-width: 1300px) {
  .tibiastyle .appearsDesktop {
    display: none !important;
  }
}

@media (min-width: 901px) {
  .tibiastyle .appearsMobile {
    display: none !important;
  }
}

@media (max-width: 900px) {
  .tibiastyle .disappearsMobile {
    display: none;
  }
}

/* TIBIA_STYLE TIBIA_STYLE TIBIA_STYLE TIBIA_STYLE  */
.tibiastyle .tibiaStyleBorderHigh1 {
  border-top: 0.1rem solid rgb(113, 113, 113);
  border-left: 0.1rem solid rgb(113, 113, 113);
  border-bottom: 0.1rem solid rgb(37, 37, 37);
  border-right: 0.1rem solid rgb(37, 37, 37);
}

.tibiastyle .tibiaStyleBorderDeep1 {
  border-top: 0.1rem solid rgb(37, 37, 37);
  border-left: 0.1rem solid rgb(37, 37, 37);
  border-bottom: 0.1rem solid rgb(113, 113, 113);
  border-right: 0.1rem solid rgb(113, 113, 113);
}

.tibiastyle .tibiaStyleBorderHigh2 {
  border-top: 0.2rem solid rgb(113, 113, 113);
  border-left: 0.2rem solid rgb(113, 113, 113);
  border-bottom: 0.2rem solid rgb(37, 37, 37);
  border-right: 0.2rem solid rgb(37, 37, 37);
}

.tibiastyle .tibiaStyleBorderDeep2 {
  border-top: 0.2rem solid rgb(37, 37, 37);
  border-left: 0.2rem solid rgb(37, 37, 37);
  border-bottom: 0.2rem solid rgb(113, 113, 113);
  border-right: 0.2rem solid rgb(113, 113, 113);
}

/* */

.tibiastyle .tibiaStyleBorderBottom {
  border-bottom: 0.2rem solid rgb(37, 37, 37);
}

.tibiastyle .tibiaStyleBackgroundLight {
  /*background-image: var(--search-tool-bg-image);*/
  background-image: var(--search-tool-bg-image)
}

.tibiastyle .tibiaStyleBackgroundDark {
  background-image: url(/assets/images/ui/dark-tile.png);
}

/* TOOLS TOOLS TOOLS TOOLS TOOLS TOOLS TOOLS TOOLS */

.tibiastyle .navContainer {
  width: 100%;
}

.tibiastyle .navContainer ul {
  float: right;
}

.tibiastyle .navContainer ul li {
  float: left;
  padding: 0.5rem;
}

.tibiastyle .navContainer ul li a {
  color: #c5c5c5;
  font-size: 1.2rem;
  text-align: center;
  padding: 1.2rem;
  padding-left: 1.2rem;
  font-family: Verdana, sans-serif;
  font-weight: 900;
  line-height: 1.2rem;
  box-shadow: 0.1rem 0.1rem 0 0 rgb(113, 113, 113) inset,
    -0.1rem -0.1rem 0 0 rgb(37, 37, 37) inset;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.tibiastyle .navContainer ul li a:hover {
  cursor: pointer;
  box-shadow: 0.1rem 0.1rem 0 0 rgba(37, 37, 37) inset, -0.1rem -0.1rem 0 0 rgb(113, 113, 113) inset;
  background-color: rgba(0, 0, 0, 0.25);
}

/* -----------------------------*/



.tibiastyle .footerContainer {
  position: fixed;
  z-index: 1;
  bottom: 0;
  width: fit-content;
  margin-bottom: 1rem;
  height: 5.6rem;
  left: 50%;
  margin-left: -12.65rem;
}

.tibiastyle .footerContainer ul {
  margin: auto;
  width: fit-content;
  padding: 0.5rem;
}

.tibiastyle .footerContainer ul li {
  float: left;
  padding: 0.5rem;
}

.tibiastyle .footerContainer ul li a {
  color: #c5c5c5;
  font-size: 1.2rem;
  text-align: center;
  padding: 1.2rem;
  padding-left: 1.2rem;
  font-family: Verdana, sans-serif;
  font-weight: 900;
  line-height: 1.2rem;
  box-shadow: 0.1rem 0.1rem 0 0 rgb(113, 113, 113) inset,
    -0.1rem -0.1rem 0 0 rgb(37, 37, 37) inset;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}



/* Tibia UI Tibia UI Tibia UI Tibia UI Tibia UI Tibia UI Tibia UI Tibia UI Tibia UI Tibia UI Tibia UI Tibia UI Tibia UI Tibia UI */
.tibiastyle .tibiaStyleTitleBarType1 {
  background-image: var(--search-tool-bg-image);
  text-align: center;
  color: #909090;
  font-size: 1.2rem;
  padding: 0.6rem;
  font-family: Verdana, sans-serif;
  font-weight: 900;
  line-height: 1.2rem;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* -----------------------------*/
.tibiastyle .npcBoxContainer {
  width: 100%;
  padding: 1rem;
}

@media (max-width: 900px) {
  .tibiastyle .npcBoxContainer {
    width: 100%;
    padding: 0rem;
  }
}

.tibiastyle .npcBoxContent {
  display: flex;
  flex-direction: row;
  width: 100%;
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-top: 0.1rem solid #717171;
  border-bottom: 0.1rem solid #252525;
}

.tibiastyle .npcBoxContent:first-child {
  padding-top: 0;
  border-top: none;
}

.tibiastyle .npcBoxContent:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.tibiastyle .npcBoxContent div:last-child {
  width: calc(100% - 64px);
  padding-left: 1rem;
  line-height: 1.3rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04rem;
}

.tibiastyle .npcBoxContent div:first-child {
  height: 64px;
  width: 64px;
  background-position: center;
  background-repeat: no-repeat;
  image-rendering: crisp-edges;
  background-size: 100%;
  box-shadow: 0.1rem 0.1rem 0 0 rgba(37, 37, 37, 0.0) inset, -0.1rem -0.1rem 0 0 rgba(113, 113, 113, 0.0) inset;
  background-color: rgba(0, 0, 0, 0.0);
  transition: 0.1s;
}

.tibiastyle .npcBoxContent div:first-child:hover {
  cursor: pointer;
  box-shadow: 0.1rem 0.1rem 0 0 rgba(37, 37, 37) inset, -0.1rem -0.1rem 0 0 rgb(113, 113, 113) inset;
  background-color: rgba(0, 0, 0, 0.25);
}

.tibiastyle .npcBoxContent div a {
  color: #9f9ffe;

}
.tibiastyle .npcBoxContent div a:hover {
  color: #9f9ffe;
}

.tibiastyle .npcBoxContent div p {
  padding-left: 1rem;
  text-indent: -1rem;
  color: #5ff7f7;
  padding-bottom: 0.5rem;
  line-height: 1.2rem;
  font-size: 1rem;
}

.tibiastyle .npcBoxContent div p:last-child {
  padding-bottom: 0;
}

.tibiastyle .npcBoxContent div p a {
  color: #1f9ffe;
  display: inline;
}

.tibiastyle .npcBoxContent div p a:hover {
  color: #1f9ffe;
}

.tibiastyle .playerDialogueColor {
  color: #9f9ffe;
}

.tibiastyle .npcDialogueColor {
  color: #5ff7f7;
}

.tibiastyle .npcTargetColor {
  color: #1f9ffe;
  display: inline;
}

.tibiastyle .npcDialogueFormat {
  padding-left: 1rem;
  text-indent: -1rem;
}

/* --- optimize --- */


/* --- optimize --- */

.tibiastyle .tibiaStyleInputType1 {
  width: 100%;
  background-color: #363636;
  color: #f4f4f4;
  font-size: 1.2rem;
  padding: 0.6rem;
  padding-left: 1.2rem;
  font-family: Verdana, sans-serif;
  font-weight: 900;
  line-height: 1.2rem;
  box-shadow: 0.1rem 0.1rem 0 0 rgb(37, 37, 37) inset,
    -0.1rem -0.1rem 0 0 rgb(113, 113, 113) inset;
  caret-color: #f4f4f4;
}

.tibiastyle .tibiaStyleInputType1::placeholder {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.tibiastyle .tibiaStyleParagraph {
  color: #c0c0c0;
  font-size: 1.1rem;
  line-height: 1.3rem;
  margin-bottom: 0.5rem;
}

.tibiastyle .npcNameColor {
  color: #00c000;
  text-shadow: 0.1em 0.1em 0.08em #000, -0.1em -0.1em 0.08em #000,
    0.1em -0.1em 0.08em #000, -0.1em 0.1em 0.08em #000, -0.1em 0 0.08em #000,
    0.1em 0 0.08em #000;
}

.tibiastyle .npcInformationContainer {}

.tibiastyle .npcAppearance {
  height: 64px;
  width: 64px;
  background-position: center;
  background-repeat: no-repeat;
  margin: auto;
  background-size: 75%;
}

.tibiastyle .npcName {
  width: 100%;
  text-align: center;
  font-size: 1rem;
  line-height: 1.2rem;
}

.tibiastyle .npcMonologues {
  width: 100%;
}

.tibiastyle .npcMonologueFormat {
  text-align: center;
  line-height: 1.6rem;
}

.tibiastyle .npcMonologueColor {
  color: #f0f000;
  text-shadow: 0.1em 0.1em 0.08em #000, -0.1em -0.1em 0.08em #000,
    0.1em -0.1em 0.08em #000, -0.1em 0.1em 0.08em #000, -0.1em 0 0.08em #000,
    0.1em 0 0.08em #000;
  padding-bottom: 0.5rem;
}

.tibiastyle .npcMonologueColor:last-child {
  padding-bottom: 0;
}

.tibiastyle .npcInformation {}

.tibiastyle .npcLocation {}

.tibiastyle .npcQuests {}

.tibiastyle .tibiaStyleButtonType1 {
  color: #c5c5c5;
  font-size: 1.2rem;
  text-align: center;
  padding: 0.6rem;
  padding-left: 1.2rem;
  font-family: Verdana, sans-serif;
  font-weight: 900;
  line-height: 1.2rem;
  box-shadow: 0.1rem 0.1rem 0 0 rgb(113, 113, 113) inset,
    -0.1rem -0.1rem 0 0 rgb(37, 37, 37) inset;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.tibiastyle .tibiaStyleButtonType1:hover {
  cursor: pointer;
  box-shadow: 0.1rem 0.1rem 0 0 rgb(37, 37, 37) inset,
    -0.1rem -0.1rem 0 0 rgb(113, 113, 113) inset;
  background-image: var(--search-tool-bg-image);
}



.tibiastyle .tibiaStyleButtonType2 {
  box-shadow: 0.1rem 0.1rem 0 0 rgb(113, 113, 113) inset,
    -0.1rem -0.1rem 0 0 rgb(37, 37, 37) inset;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.tibiastyle .tibiaStyleButtonType2:hover {
  cursor: pointer;
  box-shadow: 0.1rem 0.1rem 0 0 rgb(37, 37, 37) inset,
    -0.1rem -0.1rem 0 0 rgb(113, 113, 113) inset;
  background-image: var(--search-tool-bg-image);
}



.tibiastyle .tibiaStyleTable {
  display: table;
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  border-bottom: 0.1rem solid rgb(113, 113, 113);
  border-right: 0.1rem solid rgb(113, 113, 113);
  border-top: 0.1rem solid rgb(37, 37, 37);
  border-left: 0.1rem solid rgb(37, 37, 37);
}


.tibiastyle .tibiaStyleTbody {
  display: table-row-group;
  vertical-align: middle;
  border-color: inherit;
  width: 100%;
}

.tibiastyle .tibiaStyleTr {
  display: table-row;
  vertical-align: inherit;
  border-color: inherit;
  width: 100%;
  background-color: #484848;
}

.tibiastyle .tibiaStyleTr:nth-child(even) {
  display: table-row;
  vertical-align: inherit;
  border-color: inherit;
  width: 100%;
  background-color: #414141;
}

.tibiastyle .tibiaStyleTd {
  display: table-cell;
  vertical-align: inherit;
  color: #c5c5c5;
  font-size: 1em;
  padding: 0.6rem;
  font-family: Verdana, sans-serif;
  font-weight: 900;
  line-height: 1.2rem;
  border-left: 0.1rem solid rgb(113, 113, 113);
}

.tibiastyle .tibiaStyleTd:first-child {
  border-left: none;
  border-right: 0.1rem solid rgb(37, 37, 37);
}

.tibiastyle {
  padding-top: 80px;
}

/* responsive responsive responsive responsive responsive responsive responsive responsive responsive responsive responsive */
/* -----------------------------*/

.tibiastyle .mainContainer {
  width: 100%;
}

.tibiastyle .mainContainer .basicContainer {
  width: 100%;
  height: 100%;
}

.tibiastyle .mainContainer .basicContainer .responsiveContainer {
  margin: auto;
  height: 100%;
}

.tibiastyle .mainContainer .basicContainer .responsiveContainer .contentsContainer {
  width: 100%;
  height: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
}

.tibiastyle .mainContainer .basicContainer .responsiveContainer .mainBoxContainer {
  width: 100%;
  height: 100%;
}

.tibiastyle .windowBox {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.tibiastyle .windowContent {
  height: 100%;
}

.tibiastyle .scrollWindow {
  width: 100%; /* Full viewport width */
  position: inherit;
  max-width: 100vw;
  overflow-y: auto; /* Allow vertical scrolling */
  box-sizing: border-box; /* Include padding and border in the element's size */
}

@media (max-width: 900px) {
  .tibiastyle .scrollWindow {
    width: 100%; /* Full viewport width */
    position: inherit;
    height: calc(100vh - 107px); /* Dynamically calculate height to fill the space below the 100.78px top bar */
    max-width: 100%;
    overflow-y: auto; /* Allow vertical scrolling */
    overflow-x: hidden;
    box-sizing: border-box; /* Includes padding and border in the element's size */
  }
}

.tibiastyle .scrollWindowContent {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  position: relative;
  overflow-x: auto; 
}

/* Ensuring .responsiveContainer adapts to content while maintaining a maximum width */
.tibiastyle .mainContainer .basicContainer .responsiveContainer {
  max-width: 1200px; 
  width: 100%;
  box-sizing: border-box; 
  overflow-x: auto; /* Adds horizontal scroll if content overflows */
}

/* Responsive settings for smaller screens */
@media (max-width: 1200px) {
  .tibiastyle .mainContainer .basicContainer .responsiveContainer {
    width: 100%; /* Ensures container uses full width */
  }
}

/* Adjust navigation and content layout for better responsiveness */
@media (min-width: 900px) {
  .tibiastyle .navContainer {
    width: 100%;
    margin: auto;
  }

}

.tibiastyle .multiColumnContent {
  -moz-column-width: 25rem; /* Firefox */
  -webkit-column-width: 25rem; /* Safari and Chrome */
  column-width: 25rem;

  -moz-column-gap: 1rem; /* Firefox */
  -webkit-column-gap: 1rem; /* Safari and Chrome */
  column-gap: 1rem;

  width: 100%;
  max-width: 100%; /* Ensuring the container doesn't exceed the width of its parent */
  margin: 0 auto; /* Centering the container */

}

.tibiastyle .bookBoxContent {
  flex: 0 1 auto; /* flex-grow, flex-shrink, flex-basis */
  max-width: 100%;
  break-inside: avoid-column; 
  margin-bottom: 1rem; 
  box-sizing: border-box;
}

@media (min-width: 1300px) and (max-width: 1700px) {
  .tibiastyle .bookBoxContent {
    flex: 0 1 calc(50% - 1rem); /* Adjust for 2 items per row, considering the gap */
  }
}

@media (min-width: 1701px) and (max-width: 2100px) {
  .tibiastyle .bookBoxContent {
    flex: 0 1 calc(33.333% - 1rem); /* Keeps 3 items per row for screens between 1601px and 2000px */
  }
}

@media (min-width: 2101px) and (max-width: 2500px) {
  .tibiastyle .bookBoxContent {
    flex: 0 1 calc(25% - 1rem); /* Adjusts for 4 items per row for screens wider than 2000px */
  }
}

@media (min-width: 2501px) {
  .tibiastyle .bookBoxContent {
    flex: 0 1 calc(20% - 1rem); /* Adjusts for 5 items per row for screens wider than 2400px */
  }
}

.tibiastyle br {
  display: block; /* Ensure it's treated as a block element */
  margin: 0.3em 0; /* Add vertical spacing */
}

.tibiastyle .mainInterfaceLayout {
  display: grid;
  grid-template-areas: "element1 element3" "element2 element3";
  grid-template-columns: 500px 1fr;
  grid-template-rows: auto 1fr;
  grid-gap: 1rem;
  padding: 1.6rem 0.9rem;
  width: 100%; /* Ensures width is responsive */
  max-width: 100vw; /* Prevents horizontal overflow */
  height: 90vh; /* Uses viewport height to control size */
  margin: auto;
  box-sizing: border-box;
  overflow-y: auto; /* Allows vertical scrolling */
}


@media (max-width: 768px) {
  .tibiastyle .element1,
  .tibiastyle .element2 {
    min-width: 400px; /* Prevents the elements from becoming too small */
    width: 100%; /* Ensures they take up available space */
  }
}

/* Mobile and smaller devices adjustments */
@media (max-width: 900px) {
  .tibiastyle body {
    width: 100%;
    background-size: auto;
    background-position: center;
    background-repeat: repeat;
    background-attachment: fixed;
  }

  .tibiastyle .navContainer ul li {
    width: 100%;
    padding: 0.5rem;
  }

  .tibiastyle .mainInterfaceLayout {
    grid-template-areas: "element1" "element2" "element3";
    grid-template-columns: 100%; 
    grid-template-rows: auto; 
    padding: 0;
    grid-gap: 0;
  }

  

  .tibiastyle .mainContainer .basicContainer .responsiveContainer .contentsContainer {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .tibiastyle .navContainer ul {
    width: 100%;
  }
}




.tibiastyle .mainInterfaceLayout .interfaceItem {}

.tibiastyle .mainInterfaceLayout .interfaceItem:nth-child(1) {
  grid-area: element1;
  align-self: start;
  /*align-self: start;*/
}

.tibiastyle .mainInterfaceLayout .interfaceItem:nth-child(2) {
  grid-area: element2;
  align-self: start;
}

.tibiastyle .mainInterfaceLayout .interfaceItem:nth-child(3) {
  grid-area: element3;
}

@media (max-width: 900px) {
  .tibiastyle .mainInterfaceLayout .interfaceItem:nth-child(3) {}

  .tibiastyle .navContainer {
    width: 100%;
  }

  .tibiastyle .mainInterfaceLayout {
    width:100%;
    height: 100%;
  }

  .tibiastyle .navContainer ul li a {
    color: #c5c5c5;
    font-size: 1.2rem;
    text-align: center;
    padding: 1.2rem;
    padding-left: 1.2rem;
    font-family: Verdana, sans-serif;
    font-weight: 900;
    line-height: 1.2rem;
    box-shadow: 0.1rem 0.1rem 0 0 rgb(113, 113, 113) inset,
      -0.1rem -0.1rem 0 0 rgb(37, 37, 37) inset;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }
}

/* ---------------------------- */
.tibiastyle .tibiaStyleCheckBoxContainer {
  height: 1.8rem;
  padding: 0.3rem;
  padding-left: 2.3rem;
  margin-bottom: 0.5rem;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  color: #c0c0c0;
  font-size: 1.2rem;
  line-height: 1.2rem;
}

.tibiastyle .tibiaStyleCheckBoxContainer .tibiaStyleCheckBoxInput {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.tibiastyle .tibiaStyleCheckBox {
  position: absolute;
  top: 0;
  left: 0;
  height: 1.8rem;
  width: 1.8rem;
  background-color: #363636;
  box-shadow: 0.1rem 0.1rem 0 0 rgb(37, 37, 37) inset,
    -0.1rem -0.1rem 0 0 rgb(113, 113, 113) inset;
}

.tibiastyle .tibiaStyleCheckBox:hover {
  cursor: pointer;
}

.tibiastyle .tibiaStyleCheckBoxContainer:hover .tibiaStyleCheckBoxInput~.tibiaStyleCheckBox {
  /*background-color: rgb(113, 113, 113);*/
}

.tibiastyle .tibiaStyleCheckBoxContainer .tibiaStyleCheckBoxInput:checked~.tibiaStyleCheckBox {}

.tibiastyle .tibiaStyleCheckBox:after {
  content: "";
  position: absolute;
  display: none;
}

.tibiastyle .tibiaStyleCheckBoxContainer .tibiaStyleCheckBoxInput:checked~.tibiaStyleCheckBox:after {
  display: block;
}

.tibiastyle .tibiaStyleCheckBoxContainer .tibiaStyleCheckBox:after {
  left: 0.6rem;
  top: 0.1rem;
  width: 0.6rem;
  height: 1.2rem;
  border: solid #c0c0c0;
  border-width: 0 0.2rem 0.2rem 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

/* -------------------- */
.tibiastyle .tibiaStyleRadioContainer {
  height: 1.8rem;
  padding: 0.3rem;
  padding-left: 2.3rem;
  margin-bottom: 0.5rem;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  color: #c0c0c0;
  font-size: 1.2rem;
  line-height: 1.2rem;
}

.tibiastyle .tibiaStyleRadioContainer:last-child {
  margin-bottom: 0;
}

.tibiastyle .tibiaStyleRadioContainer .tibiaStyleRadioInput {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.tibiastyle .tibiaStyleRadio {
  position: absolute;
  top: 0;
  left: 0;
  height: 1.8rem;
  width: 1.8rem;
  background-color: #363636;
  box-shadow: 0.1rem 0.1rem 0 0 rgb(37, 37, 37) inset,
    -0.1rem -0.1rem 0 0 rgb(113, 113, 113) inset;
  border-radius: 0.9rem;
}

.tibiastyle .tibiaStyleRadio:hover {
  cursor: pointer;
}

.tibiastyle .tibiaStyleRadioContainer:hover .tibiaStyleRadioInput~.tibiaStyleRadio {
  /*background-color: rgb(113, 113, 113);*/
}

.tibiastyle .tibiaStyleRadioContainer .tibiaStyleRadioInput:checked~.tibiaStyleRadio {}

.tibiastyle .tibiaStyleRadio:after {
  content: "";
  position: absolute;
  display: none;
}

.tibiastyle .tibiaStyleRadioContainer .tibiaStyleRadioInput:checked~.tibiaStyleRadio:after {
  display: block;
}

.tibiastyle .tibiaStyleRadioContainer .tibiaStyleRadio:after {
  left: 0.5rem;
  top: 0.5rem;
  width: 0.8rem;
  height: 0.8rem;
  background-color: #c0c0c0;
  border-radius: 0.4rem;
}

.tibiastyle .tibiaStyleSelect {
  box-shadow: 0.1rem 0.1rem 0 0 rgb(113, 113, 113) inset,
    -0.1rem -0.1rem 0 0 rgb(37, 37, 37) inset;
  cursor: pointer;
  width: 100%;
  color: #c5c5c5;
  font-size: 1.2rem;
  padding-left: 0.6rem;
  font-family: Verdana, sans-serif;
  font-weight: 900;
  line-height: 1.2rem;
  height: 2.4rem;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.tibiastyle .tibiaStyleSelect * {
  color: #c5c5c5;
  background-color: #484848;
  font-size: 1.2rem;
}

.tibiastyle .tabContainer {
  display: grid;
  grid-template-rows: auto 1fr;
}

@media (max-width: 900px) { 
  .tibiastyle .tabContainer {
    background-color: rgb(49, 47, 47); 
  }
}

.tibiastyle .tab .tabName {
  padding-left: 0.6rem;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
  padding-right: 0.6rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 10rem;
}

.tibiastyle .tab .closeTab {
  background-image: url(/assets/images/ui/close.svg);
  background-size: contain;
  width: 1.8rem;
  height: 1.8rem;
  margin: 0.3rem;
}

.tibiastyle .tabContent .tabWindow {
  display: none;
}

.tibiastyle .tabContent .active {
  display: block;
}

.tibiastyle .windowTabsContent {
  min-height: 2.6rem;
  width: 100%;
  padding-left: 2.4rem;
  flex-wrap: wrap-reverse;
  display: flex;
}

.tibiastyle .windowTabsContent .tab {
  color: #c0c0c0;
  display: flex;
  flex-wrap: wrap;
  font-size: 1.2rem;
  line-height: 1.2rem;
  border-top: 0.2rem solid #757675;
  border-left: 0.2rem solid #757675;
  border-right: 0.2rem solid rgb(37, 37, 37);
  text-shadow:
    -0.1rem -0.1rem 0 #000,
    0.1rem -0.1rem 0 #000,
    -0.1rem 0.1rem 0 #000,
    0.1rem 0.1rem 0 #000,
    -0.1rem -0.1rem 0.1rem #000,
    0.1rem -0.1rem 0.1rem #000,
    -0.1rem 0.1rem 0.1rem #000,
    0.1rem 0.1rem 0.1rem #000;
  background-image: var(--search-tool-bg-image);
}

.tibiastyle .windowTabsContent .tab:hover {
  cursor: pointer;
  color: #ffffff;
}

.tibiastyle .windowTabsContent .active {
  background-image: var(--search-tool-bg-image);
  color: #ffffff;
}

.tibiastyle .windowTabsContent .active::after {
  z-index: 1;
  position: absolute;
  content: "";
  width: 100%;
  height: 0.4rem;
  left: 0;
  top: calc(100% - 0.1rem);
  background-image: var(--search-tool-bg-image);
}

.tibiastyle .communities {
  position: fixed;
  left: 0;
  top: 50%;
  margin-top: -10rem;
}

.tibiastyle .communitiesButton {
  cursor: pointer;
  height: 6rem;
  width: 6rem;
  background-image: var(--search-tool-bg-image);
  box-shadow: 0.1rem 0.1rem 0 0 rgb(113, 113, 113) inset, -0.1rem -0.1rem 0 0 rgb(37, 37, 37) inset;
  margin-bottom: 1rem;
}

.tibiastyle .reddit {
  height: 6rem;
  width: 6rem;
  background-image: url(../img/reddit.svg);
  background-size: contain;
}

.tibiastyle .discord {
  height: 6rem;
  width: 6rem;
  background-image: url(../img/discord.svg);
  background-size: contain;
}

.tibiastyle .github {
  height: 6rem;
  width: 6rem;
  background-image: url(../img/github.svg);
  background-size: contain;
}


/* ---------------------------------------------- */

.tibiastyle .allNpcBox {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  height: auto;
}

.tibiastyle .npcBox {
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex-basis: 20%;
  min-width: 11rem;
  padding: 0.5rem;
}

.tibiastyle .npcBox:hover {
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.25);
  box-shadow: 0.1rem 0.1rem 0 0 rgba(37, 37, 37) inset, -0.1rem -0.1rem 0 0 rgb(113, 113, 113) inset;
}


/* -------------------------------- */




.tibiastyle .tibiaStyleTextLight {
  color: #c0c0c0;
  font-size: 1.1rem;
  line-height: 1.3rem;
  letter-spacing: 0.04rem;
}

.tibiastyle .bookImage {
  min-height: 64px;
  min-width: 64px;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0.1rem 0.1rem 0 0 rgba(37, 37, 37, 0.0) inset, -0.1rem -0.1rem 0 0 rgba(113, 113, 113, 0.0) inset;
  background-color: rgba(0, 0, 0, 0.0);
  transition: 0.1s;
  image-rendering: pixelated;
}

.tibiastyle .bookName {
  display: flex;
  align-items: center;
  justify-content: left;
}

.tibiastyle .bookText {

  background-color: #333333;
}

.tibiastyle .bookText p {
  display: block; 
  margin-bottom: 0.5em;
  color: #c0c0c0;
  font-size: 1rem;
  line-height: 1.3rem;
  letter-spacing: 0.04rem;
  font-family: Verdana, sans-serif;
  font-weight: 600;
  word-wrap: break-word;
  
  /* Vendor prefixes for browser compatibility */
  -webkit-margin-before: 0.3em;
  -webkit-margin-after: 0.3em;
  -moz-margin-before: 0.3em;
  -moz-margin-after: 0.3em;
  -ms-margin-before: 0.3em;
  -ms-margin-after: 0.3em;
}

.tibiastyle .bookText a,
.tibiastyle .bookText a:hover {
  color: #ff9854;
  display: inline;
}

.tibiastyle .bookHeader {

}

.tibiastyle .bookHeader:hover {
  text-decoration: underline;
  color: white;
  cursor: pointer;
}