:root {
  /* Row Backgrounds */
  --bg-row-side-albion: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="15"><polygon points="10,1 190,1 200,7.5 190,14 10,14 0,7.5" fill="%232a1a1a" /></svg>');
  --bg-row-side-midgard: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="15"><polygon points="10,1 190,1 200,7.5 190,14 10,14 0,7.5" fill="%231a1e2a" /></svg>');
  --bg-row-side-hibernia: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="15"><polygon points="10,1 190,1 200,7.5 190,14 10,14 0,7.5" fill="%2317251b" /></svg>');
  --bg-row-main-albion: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="1000" height="10"><polygon points="10,1.3 990,1.3 1000,5 990,8.7 10,8.7 0,5" fill="%232a1a1a" /></svg>');
  --bg-row-main-midgard: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="1000" height="10"><polygon points="10,1.3 990,1.3 1000,5 990,8.7 10,8.7 0,5" fill="%231a1e2a" /></svg>');
  --bg-row-main-hibernia: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="1000" height="10"><polygon points="10,1.3 990,1.3 1000,5 990,8.7 10,8.7 0,5" fill="%2317251b" /></svg>');
  --bg-row-main-draw: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="1000" height="10"><polygon points="10,1.3 990,1.3 1000,5 990,8.7 10,8.7 0,5" fill="%23201e1e" /></svg>');
  --bg-row-main-large-albion: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="1000" height="10"><polygon points="10,2.9 990,2.9 1000,5 990,7.1 10,7.1 0,5" fill="%232a1a1a" /></svg>');
  --bg-row-main-large-midgard: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="1000" height="10"><polygon points="10,2.9 990,2.9 1000,5 990,7.1 10,7.1 0,5" fill="%231a1e2a" /></svg>');
  --bg-row-main-large-hibernia: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="1000" height="10"><polygon points="10,2.9 990,2.9 1000,5 990,7.1 10,7.1 0,5" fill="%2317251b" /></svg>');
  --bg-row-main-large-draw: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="1000" height="10"><polygon points="10,2.9 990,2.9 1000,5 990,7.1 10,7.1 0,5" fill="%23201e1e" /></svg>');
  /* LCell Backgrounds */
  --bg-lcell-albion: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="30"><polygon points="10,2 50,2 60,15 50,28 10,28 0,15" fill="%233F2121" /></svg>');
  --bg-lcell-albion-left: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="30"><polygon points="10,2 60,2 60,15 60,28 10,28 0,15" fill="%233F2121" /></svg>');
  --bg-lcell-albion-right: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="30"><polygon points="0,2 56,2 60,15 56,28 0,28 0,15" fill="%233F2121" /></svg>');
  --bg-lcell-midgard-left: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="30"><polygon points="10,2 60,2 60,15 60,28 10,28 0,15" fill="%23232b41" /></svg>');
  --bg-lcell-midgard-right: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="30"><polygon points="0,2 56,2 60,15 56,28 0,28 0,15" fill="%23232b41" /></svg>');
  --bg-lcell-hibernia-left: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="30"><polygon points="10,2 60,2 60,15 60,28 10,28 0,15" fill="%23233b2b" /></svg>');
  --bg-lcell-hibernia-right: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="30"><polygon points="0,2 56,2 60,15 56,28 0,28 0,15" fill="%23233b2b" /></svg>');
  --bg-lcell-draw-left: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="30"><polygon points="10,2 60,2 60,15 60,28 10,28 0,15" fill="%23363333" /></svg>');
  --bg-lcell-draw-right: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="30"><polygon points="0,2 56,2 60,15 56,28 0,28 0,15" fill="%23363333" /></svg>');
  --bg-lcell-midgard: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="30"><polygon points="10,2 50,2 60,15 50,28 10,28 0,15" fill="%23232b41" /></svg>');
  --bg-lcell-hibernia: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="30"><polygon points="10,2 50,2 60,15 50,28 10,28 0,15" fill="%23233b2b" /></svg>');
  --bg-lcell-draw: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="30"><polygon points="10,2 50,2 60,15 50,28 10,28 0,15" fill="%23363333" /></svg>');
  --bg-lcell-name-albion: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="30"><polygon points="10,2 190,2 200,15 190,28 10,28 0,15" fill="%233F2121" /></svg>');
  --bg-lcell-name-midgard: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="30"><polygon points="10,2 190,2 200,15 190,28 10,28 0,15" fill="%23232b41" /></svg>');
  --bg-lcell-name-hibernia: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="30"><polygon points="10,2 190,2 200,15 190,28 10,28 0,15" fill="%23233b2b" /></svg>');
  --bg-lcell-race-icon-albion: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="30"><polygon points="10,2 50,2 60,15 50,28 10,28 0,15" stroke-width="1" stroke="%233F2121" fill="black" /></svg>');
  --bg-lcell-race-icon-midgard: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="30"><polygon points="10,2 50,2 60,15 50,28 10,28 0,15" stroke-width="1" stroke="%23232b41" fill="black" /></svg>');
  --bg-lcell-race-icon-hibernia: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="30"><polygon points="10,2 50,2 60,15 50,28 10,28 0,15" stroke-width="1" stroke="%23233b2b" fill="black" /></svg>');
  color-scheme: dark;
}

body {
  background-color: var(--background-dark);
  margin: 0;
  font-family: Ysabeau;
  color: var(--accent-light);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: inherit
}

h1 {
  padding-top: 1rem;
  padding-bottom: 2rem;
  font-size: 3.75rem;
  line-height: 1;
}

h3 {
	line-height: 1;
	margin: 10px 0;
	font-size: 1.35rem;
}

::selection {
  background: var(--detail-gray);
}

::-moz-selection {
  background: var(--detail-gray);
}

* {
  scrollbar-width: thin;
  scrollbar-color: #2c2c2e #1e1e1e;
}

@font-face {
  font-family: 'Aetherius';
  src: url('/assets/fonts/aetherius.ttf') format('truetype');
  src: url('/assets/fonts/aetherius.woff2') format('woff2');
}

@font-face {
  font-family: 'Imperator';
  src: url('/assets/fonts/imperator-webfont.ttf') format('truetype');
  src: url('/assets/fonts/imperator-webfont.woff2') format('woff2');

}

@font-face {
  font-family: 'Ysabeau';
  src: url('/assets/fonts/ysabeau-office-regular.ttf') format('truetype');
  src: url('/assets/fonts/ysabeau-office-regular.woff2') format('woff2');

}

.font-bold {
  font-weight: 700;
}

.text-accent {
  color: var(--accent-light);
}

.text-accent-fill {
  fill: var(--accent-light);
}

.paddingX {
  padding-left: 1rem;
  padding-right: 1rem;
}

.paddingY {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.paddingYL {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.marginLB {
  margin-bottom: 30px;
}

.marginB {
  margin-bottom: 15px;
}

.marginLT {
  margin-top: 2rem;
}

.marginT {
  margin-top: .5rem;
}

.marginL {
  margin-left: 2rem;
}

.marginL-auto {
  margin-left: auto;
}

.bg-accent {
  background-color: var(--accent-yellow);
}

.hover-yellow:hover {
  color: rgb(234 179 8);
  cursor: pointer;
}

.hover-yellow-svg:hover {
  fill: rgb(234 179 8);
  cursor: pointer;
}

.row-hover-svg:hover {
  filter: brightness(150%);
}

.row-hover-svg .hover-yellow-svg:hover {
  fill: rgb(170, 123, 4);
  cursor: pointer;
}

tr.row-background .hover-yellow:hover {
  filter: brightness(70%);
}

.yellow {
  color: rgb(234 179 8);
}

.contentWrapper {
  width: 1200px;
}

.w-full {
  width: 100%;
}

.w-side {
  width: 30rem;
  position: fixed;
  left: 0;
  padding-left: 250px;
}

.w-main {
  width: calc(100vw - 30rem);
  padding-left: 30rem;
}

#heraldTable.player .w-main table.playerLvl {
  min-width: unset;
}

#heraldTable.player table td {
  min-width: 15%;
}

.w-2 {
  width: 2%;
}

.w-5 {
  width: 5%;
}

.w-10 {
  width: 10%;
}

.w-15 {
  width: 15%;
}

.w-25 {
  width: 25%;
}

.w-20 {
  width: 20%;
}

.w-33 {
  width: 33%;
}

.w-40 {
  width: 40%;
}

.w-49 {
  width: 49%;
}

.w-66 {
  width: 66%;
}

.w-50 {
  width: 50%;
}

.w-75 {
  width: 75%;
}

.w-logo {
  width: 120px;
}

img,
video {
  max-width: 100%;
  height: auto;
}

.titleFont {
  font-family: Aetherius;
  letter-spacing: .01em;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
  transition-duration: .15s;
}

.duration-200 {
  animation-duration: .2s;
  transition-duration: .2s;
}

.bg-orange-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(234 88 12/var(--tw-bg-opacity, 1));
}

.hover\:text-orange-400:hover {
  --tw-text-opacity: 1;
  color: rgb(251 146 60/var(--tw-text-opacity, 1));
}

.hover\:bg-orange-700:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(194 65 12/var(--tw-bg-opacity, 1));
}

.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255/var(--tw-text-opacity, 1));
}

.font-bold {
  font-weight: 700;
}

.py-1 {
  padding-top: .25rem;
  padding-bottom: .25rem;
}

.px-3 {
  padding-left: .75rem;
  padding-right: .75rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.rounded {
  border-radius: .25rem;
}

.gap-8 {
  gap: 2rem;
}

.gap-5 {
  gap: 5px;
}


.flex {
  display: flex
}

.flex1 {
  flex: 1
}

.flex-row {
  flex-direction: row
}

.flex-col {
  flex-direction: column
}

.flex-col-reverse {
  flex-direction: column-reverse
}

.flex-wrap {
  flex-wrap: wrap
}

.items-start {
  align-items: flex-start
}

.items-end {
  align-items: flex-end
}

.items-center {
  align-items: center
}

.items-stretch {
  align-items: stretch
}

.justify-start {
  justify-content: flex-start
}

.justify-end {
  justify-content: flex-end
}

.justify-center {
  justify-content: center
}

.justify-between {
  justify-content: space-between
}

.centerT {
  text-align: center;
}

.rightT {
  text-align: right;
}

.leftT {
  text-align: left;
}

table {
  font-family: Ysabeau;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 13px;
  padding-bottom: 1rem;
  height: fit-content;
  white-space: nowrap;
}

table tr {
  height: 28px;
  background-size: 100% 100%;
}

table:not(.centerT) th:first-child:not(.centerT),
table:not(.centerT) tr:not(.large):not(.centerT) td:first-child:not(.Lcell):not(.centerT) {
  padding-left: 20px;
}

table:not(.centerT) th:last-child:not(.centerT),
table:not(.centerT) tr:not(.large):not(.centerT) td:last-child:not(.Lcell):not(.centerT) {
  padding-right: 20px;
}

table td {
  padding: 0 5px 2px;
}

.tableLink:hover {
  color: #daa520;
  cursor: pointer;
}

table th {
  font-weight: 300;
  text-align: left;
  padding: 0 5px;
}

table.centerT th {
  text-align: center;
}

tr.large .Lcell {
  font-size: 20px;
}

tr.large {
  height: 60px;
}

.large.realm img {
  height: 25px;
}

.Lcell img {
  padding: 5px 0 0;
}

table th.tableStat {
  width: 10rem;
}

#KillStatsTable .guildName,
#KillStatsTable .className {
  font-size: 12px;
}

#heraldTable.player .w-main table {
  min-width: 525px;
}

th.realmName {
  padding: 0;
}

.realm img {
  padding: 5px 0 0;
}

table td.Lcell {
  font-family: 'Aetherius', sans-serif;
  letter-spacing: 0.05em;
  text-align: center;
  background-size: 100% 100%;
  min-width: 50px;
  padding: 0;
}

.select-items .Midgard {
  background-color: #12141c;
}

.select-items .Hibernia {
  background-color: #121c16;
}

.select-items .Albion {
  background-color: #1d1515;
}

.mid {
  color: var(--mid);
}

.hib {
  color: var(--hib);
}

.alb {
  color: var(--alb);
}

.Lcell.left {
	text-align: right;
  min-width: 35px;
}

.Lcell.right {
  text-align: left;
  padding: 0 15px 0 5px;
}

.race.Lcell {
  --bg-color: #000000;
}

.w-side tr.row-background.Midgard {
  background-image: var(--bg-row-side-midgard);
}

.w-side tr.row-background.Hibernia {
  background-image: var(--bg-row-side-hibernia);
}

.w-side tr.row-background.Albion {
  background-image: var(--bg-row-side-albion);
}

tr.row-background.Midgard {
  background-image: var(--bg-row-main-midgard);
}

tr.row-background.Hibernia {
  background-image: var(--bg-row-main-hibernia);
}

tr.row-background.Albion {
  background-image: var(--bg-row-main-albion);
}

tr.row-background.Draw {
  background-image: var(--bg-row-main-draw);
}

.Albion.Scell {
  background-image: var(--bg-lcell-name-albion);
}

.Midgard.Scell {
  background-image: var(--bg-lcell-name-midgard);
}

.Hibernia.Scell {
  background-image: var(--bg-lcell-name-hibernia);
}

.Draw .Lcell.left {
  background-image: var(--bg-lcell-draw-left);
}

.Draw .Lcell.right {
  background-image: var(--bg-lcell-draw-right);
}

.Albion .Lcell.left {
  background-image: var(--bg-lcell-albion-left);
}

.Albion .Lcell.right {
  background-image: var(--bg-lcell-albion-right);
}

.Midgard .Lcell.left{
  background-image: var(--bg-lcell-midgard-left);
}

.Midgard .Lcell.right{
  background-image: var(--bg-lcell-midgard-right);
}

.Hibernia .Lcell.left {
  background-image: var(--bg-lcell-hibernia-left);
}

.Hibernia .Lcell.right {
  background-image: var(--bg-lcell-hibernia-right);
}


.Draw.Lcell.left {
  background-image: var(--bg-lcell-draw-left);
}

.Draw.Lcell.right {
  background-image: var(--bg-lcell-draw-right);
}
.Albion.Lcell.left {
  background-image: var(--bg-lcell-albion-left);
}

.Albion.Lcell.right {
  background-image: var(--bg-lcell-albion-right);
}

.Midgard.Lcell.left{
  background-image: var(--bg-lcell-midgard-left);
}

.Midgard.Lcell.right{
  background-image: var(--bg-lcell-midgard-right);
}

.Hibernia.Lcell.left {
  background-image: var(--bg-lcell-hibernia-left);
}

.Hibernia.Lcell.right {
  background-image: var(--bg-lcell-hibernia-right);
}


.Draw .Lcell {
  background-image: var(--bg-lcell-draw);
}

.Albion .Lcell {
  background-image: var(--bg-lcell-albion);
}

.Midgard .Lcell {
  background-image: var(--bg-lcell-midgard);
}

.Hibernia .Lcell {
  background-image: var(--bg-lcell-hibernia);
}

.Draw.Lcell {
  background-image: var(--bg-lcell-draw);
}

.Albion.Lcell {
  background-image: var(--bg-lcell-albion);
}

.Midgard.Lcell {
  background-image: var(--bg-lcell-midgard);
}

.Hibernia.Lcell {
  background-image: var(--bg-lcell-hibernia);
}


tr.row-background.Midgard.large {
  background-image: var(--bg-row-main-large-midgard);
}

tr.row-background.Hibernia.large {
  background-image: var(--bg-row-main-large-hibernia);
}

tr.row-background.Albion.large {
  background-image: var(--bg-row-main-large-albion);
}

tr.row-background.Draw.large {
  background-image: var(--bg-row-main-large-draw);
}

.Midgard .Name.Lcell {
  background-image: var(--bg-lcell-name-midgard);
}

.Hibernia .Name.Lcell {
  background-image: var(--bg-lcell-name-hibernia);
}

.Albion .Name.Lcell {
  background-image: var(--bg-lcell-name-albion);
}

.Midgard .icon.race.Lcell {
  background-image: var(--bg-lcell-race-icon-midgard);
}

.Hibernia .icon.race.Lcell {
  background-image: var(--bg-lcell-race-icon-hibernia);
}

.Albion .icon.race.Lcell {
  background-image: var(--bg-lcell-race-icon-albion);
}

tr.row-background:hover,
tr:not(.row-background) td.Lcell:hover {
  filter: brightness(150%);
}

#hardcore tr:not(.row-background) .Lcell:hover {
  filter: brightness(100%);
}

.Lcell:hover .hover-yellow:hover {
  filter: brightness(70%);
}

.realm img {
  height: 15px;
  width: auto;
  display: unset;
}

.large .realm img {
  height: 25px;
}

.large .className img {
  padding: 3px 0 0 0;
}

.Lcell.icon img {
  height: 40px;
  width: auto;
}

.icon img {
  height: 20px;
  width: auto;
  min-width: 20px;
}

.hover-yellow:hover img {
  transform: scale(115%);
  filter: brightness(120%);
}

td.icon {
  text-align: right;
  padding: 2px 0 0 0;
}

td.icon.centerT {
  text-align: center;
}


#filters {
  padding-bottom: 5px;
  background-color: var(--background-dark);
  position: sticky;
  z-index: 9;
  top: 72px;
}

th.highlight,
td.highlight {
  background-color: rgba(213, 213, 213, 0.05);
  color: var(--accent-yellow);
}

.Lcell {
  font-size: 17px;
  padding: 0 10px;
}

.duration-200 {
  transition-duration: .2s;
}

.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
  transition-duration: .15s;
}

input[type="text"],
textarea {
  background-color: rgb(0 0 0);
  border: 1px solid rgba(255, 255, 255, 0.2);
  flex: 1;
}

#main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

/* ------------------------------ BT menu rules ------------------------------ */

.headerContentWrapper {
  width: 100%;
  background-color: rgb(12 10 9);
  color: rgb(245 245 244/var(--tw-text-opacity, 1));
  align-items: center;
  display: flex;
  z-index: 10;
  position: relative;
  font-size: 25px;
  border-bottom: 1px solid rgba(41, 37, 36, 0.6);
  width: 100vw;
  position: fixed;
  top: 0px;
  left: 0px;
}

#header {
  position: relative;
  justify-content: center;
  margin: auto;
  max-width: 64rem;
  padding-top: 1.5rem;
  padding-bottom: 1rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.menu .discord {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 0 -4px 0 10px;
}

.menu .discord p {
  display: none;
}

.menu-toggle {
  display: none;
}

.hamburger svg {
  transform-origin: 50% 50%;
  height: 20px;
}

.hamburger .line {
  transition: transform 0.3s ease-in-out, opacity 0.2s ease-in-out;
  transform-origin: 50% 50%;
}

.menu-toggle:checked+.hamburger .top {
  transform: translateY(10px) rotate(45deg) translateX(-8px);
}

.menu-toggle:checked+.hamburger .middle {
  opacity: 0;
  transform: rotate(90deg);
}

.menu-toggle:checked+.hamburger .bottom {
  transform: translateY(-10px) rotate(-45deg) translateX(-8px);
}


.bannert {
  margin-right: 1.5rem;
  margin-top: -15px;
  height: 2.25rem;
}

.bannert img {
  height: 2.25rem;
  width: auto;
}

.discord {
  color: rgb(214 211 209);
}

.discord:hover {
  color: rgb(88 101 242);
}

.discord svg {
  width: 1.25rem;
  height: 1.25rem;
}

.menuDivider {
  margin-right: 1.5rem;
  height: 1.5rem;
  width: 1px;
  background-color: rgb(255 255 255/.2);
}

.menu {
  font-family: Aetherius;
  letter-spacing: .01em;
  gap: 1.25rem;
  font-size: 18px;
  color: rgb(214 211 209);
}

.menu a {
  letter-spacing: .025em;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, filter, box-shadow;
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
  transition-duration: .15s;
}

.menu .menuLink:hover {
  color: rgb(251 191 36);
}


.titleButton {
  border-radius: .25rem;
  background-image: linear-gradient(to right, #d97706, #b45309);
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  padding-top: .375rem;
  padding-bottom: .375rem;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14px;
  line-height: 20px;
  text-transform: uppercase;
  color: rgb(255 255 255);
  box-shadow: 0 0 #0000, 0 0 #0000, 0 4px 6px -1px rgb(0 0 0/0.1), 0 2px 4px -2px rgb(0 0 0/0.1);
  font-family: Aetherius;
}

.titleButton:hover {
  filter: brightness(1.1);
  box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(217, 119, 6, 0.3) 0px 4px 6px -1px, rgba(217, 119, 6, 0.3) 0px 2px 4px -2px;
}

/* ------------------------------ BT menu rules end ------------------------------ */

#content {
  padding-top: 70px;
}

#options {
  width: 240px;
  margin-right: 1rem;
  height: 100vh;
  overflow: auto;
  position: fixed;
  margin-top: 0;
  background-color: var(--background-dark);
  padding-top: 20px;
  z-index: 400;
  top: 0;
  border-right: 2px solid var(--background-light);
}

#search {
  padding: 10px 15px;
  border: 1px solid var(--detail-gray);
  border-radius: 5px;
  margin: 0 5px;
  background-color: var(--background-light);
  color: var(--accent-light);
  outline: 0;
  flex: 1 1 auto;
  height: 20px;
}

#mainWrap {
  padding-left: 250px;
  width: calc(99vw - 250px);
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
}

.pageTitle {
  font-weight: 500;
  font-size: 25px;
  line-height: 30px;
  margin: 0 auto;
  padding: 11px 15px;
}

#filters .subMenuItem {
  flex: 1;
  position: relative;
}

.rp-history-dropdown {
  background-color: var(--background-lighter);
  padding: 10px 15px;
  height: 20px;
  display: block;
  cursor: pointer;
  list-style: none;
  border-radius: 10px;
  width: 220px;
}

.rp-history-dropdown .accordion-content {
	margin: 15px 0 0 0!important;
  width: 250px;
}

.rp-history-dropdown .accordion-link {
	padding: 2px 10px 0 15px;
}

.rp-history-dropdown .accordion-content,
#filters details .accordion-content {
  position: absolute;
  background-color: var(--background-lighter);
  margin-top: 5px;
  left: 0;
  right: 0;
  z-index: 6;
  overflow: auto;
  max-height: calc(100vh - 145px);
}

#statsTable tr:first-child {
  position: sticky;
  top: 137px;
  background-color: var(--background-dark);
  z-index: 1; 
}

.noFilters #statsTable tr:first-child {
  top: 72px;
}

#members tr:first-child {
  position: sticky;
  top: 5px;
  background-color: var(--background-dark);
  z-index: 1;
}

#announcement {
  display: flex;
  flex-direction: column;
  GAp: 10px;
  margin: 15px 10px;
}

.announcement {
  flex: 1;
  padding: 10px 15px;
  border-radius: 10px;
  background-color: rgb(0 0 0);
}

.announcement.neutral {
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.announcement.notice {
  border: 1px solid #eab1076d;
  color: var(--accent-yellow);
}

.announcement.warning {
  border: 1px solid #ea070777;
  color: #ea0707;
}

#footer {
  gap: 4rem;
  margin: 1rem 2rem 1rem;
  display: flex;
  align-items: center;
  justify-content: end;
}

/* sidebar menu */
.subMenuItem {
  margin: 15px 10px 5px;
  padding: 0;
}

#options .subMenuItem:last-child {
  margin-bottom: 2rem;
}

.emblemSvg {
  max-width: 200px;
  min-height: 100px;
  max-height: calc(100vh - 550px);
}

.emblem-icon {
  width: 16px;
  height: 24px;
  min-height: 24px;
  margin-right: 5px;
  vertical-align: middle;
  display: inline-block;
}

.social img {
  padding-left: 90px;
}

.subMenuHeader {
  padding: 10px 15px;
  height: 20px;
  display: block;
  cursor: pointer;
  list-style: none;
  border-radius: 10px;
}

summary.subMenuHeader {
  background-color: var(--background-lighter);
  color: var(--accent-light);
}

input:focus {
  outline: none;
  box-shadow: none;
  border: 1px solid var(--detail-gray);
}

summary.subMenuHeader:hover {
  background-color: var(--detail-gray);
}

input[type="text"].subMenuHeader:hover {
  border: 1px solid var(--accent-light);
  ;
}

input[type="text"].subMenuHeader {
  color: var(--accent-light);
}

details summary::marker {
  display: none;
}

details summary::after {
  content: "";
  top: 5px;
  float: right;
  border: 10px solid transparent;
  border-color: var(--detail-gray) transparent transparent transparent;
  position: relative;
}

details[open] summary::after {
  border-color: transparent transparent var(--detail-gray) transparent;
  top: -5px;
}

details .accordion-content {
  padding: 5px 0 10px 0;
  border-radius: 10px;
}

.accordion-content>.realmGroup {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.accordion-link {
  padding: 2px 10px 0 25px;
  font-size: 14px;
}

summary.selection {
  display: flex;
  justify-content: space-between;
  white-space: nowrap;
  gap: 5px;
}

summary.selection .icon,
.accordion-link .icon {
  height: 18px;
  vertical-align: middle;
}

summary.selection .icon {
  margin-top: 2px;
}

summary.selection .subItem:nth-child(2) {
  margin-left: auto;
}

.accordion-link .icon {
  margin: -4px 0 0 auto;
}

form.subMenuItem {
  display: flex;
}

details {
  max-height: 1000px;
}

.accordion-link a {
  width: 100%;
  display: block;
}

.accordion-link:hover {
  color: rgb(234 179 8);
  cursor: pointer;
  border-radius: 10px;
}

#options .accordion-link:hover {
  background-color: #22211f;
}

#filters .accordion-link:hover {
  background-color: #313030;
}

.radio-link.subMenuHeader {
  padding: 10px 5px;
}

.radio-link {
  font-size: 14px;
  flex: 1;
  text-align: center;
}

.radio-group,
.check-group {
  display: flex;
  background-color: rgb(0 0 0);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}

.radio-link.checked {
  background-color: var(--background-light);
  color: var(--accent-light);
}

.check-group {
  flex: .3 !important;
}

.check-group .checked {
  color: rgb(234 179 8);
}

/* ----------------------------------------------- menu toggle ----------------------------------------------- */
.menu-toggle {
  display: none;
}

.hamburger {
  cursor: pointer;
  padding: 2px;
  display: none;
  color: rgb(231 229 228);
}

.sidebar-toggle {
  display: none;
}

.sidebar-hamburger {
  display: none;
  font-size: 20px;
  color: var(--accent-light);
  border: none;
  cursor: pointer;
  z-index: 500;
  height: fit-content;
  position: fixed;
  top: 23px;
  padding: 10px 10px 15px;
}

.sidebar-toggle:checked~.sidebar-hamburger {
  left: 239px;
}

/* ----------------------------------------------- announcement ----------------------------------------------- */

#announcement~#heraldTable .w-side {
  position: relative;
  padding-left: 0;
}

#announcement~#heraldTable .w-main {
  padding-left: 0;
}

/* ----------------------------------------------- charts ----------------------------------------------- */

.chart {
  background-color: var(--background-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  flex: 1;
}

.chartContainer {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.chartBackground {
  background-color: var(--background-light);
  border-radius: 10px;
}

.chart .text-accent {
  text-align: right;
}

.chartWrapper {
	height: 300px;
	margin: 10px;
}

#rpHistoryChart {
	width: 100% !important;
	height: 100% !important;
	background-color: var(--background-light);
	border-radius: 10px;
	padding: 20px;
}

#rpHistoryPlaceholder {
  position: absolute;
  inset: 0;
  display: none;
  /* hidden by default */
  align-items: center;
  justify-content: center;
  color: #a8a29e;
  /* stone-400 */
  font-size: 1.1rem;
}

/* ----------------------------------------------- war map ----------------------------------------------- */

.highlight-hover {
  filter: brightness(150%);
  transition: all 0.2s ease-in-out;
}

.highlight-selected {
  transition: all 0.2s ease-in-out;
  filter: drop-shadow(0 0 2px rgb(172, 130, 6)) brightness(150%)!important;
  color: rgb(172, 130, 6);
}

.keep-hover,
.keep .keepIcon:hover {
  /* filter: drop-shadow(0px 0px 2px rgba(0, 0, 0, 1)); */
  transition: all 0.2s ease-in-out;
}

.rvrKeeps {
  padding: 10px 10px 50px;
  gap: 3rem;
  justify-content: space-evenly;
  flex-wrap: wrap;
}

.keepStats {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: start;
  align-content: flex-start;
  flex: 1 1 55%;
}

.moreStats {
  flex: 1 1 40%;
}

.keepStatsContainer {
  display: flex;
  flex-direction: row;
  justify-content: start;
  width: 100%;
}

.keepStatsContainer #heraldTable,
.dfTable {
  width: 100%;
}

.keepStatsContainer .keeps {
  width: 100%;
}

.pageTitle.realm img {
  height: 50px;
}


.pageTitle.realm {
	font-size: 25px;
	line-height: 30px;
	padding: 25px 10px 10px;
  margin: 0;
  width: 50px;
}

#statsTable {
  width: 100%;
}

.warMap svg {
  max-height: 100%;
  max-width: 100%;
}

.warMap {
  height: calc(100vh - 250px);
  flex: 1 1 40%;
  flex-direction: column;
  justify-content: start;
}

.relicHibernia {
  fill: rgb(166, 255, 166);
  stroke: rgb(166, 255, 166);
}

.relicMidgard {
  fill: rgb(180, 219, 255);
  stroke: rgb(180, 219, 255);
}

.relicAlbion {
  fill: rgb(255, 205, 205);
  stroke: rgb(255, 205, 205);
}

.warMap .keep {
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}

.warMap .portal,
.warMap .keep,
.warMap .relic {
  filter: drop-shadow(0px 0px 3px rgba(0, 0, 0, 1));
}

/* ----------------------------------------------- group fight ----------------------------------------------- */

.fight {
  padding-bottom: 2rem;
}

.fight.sides {
  padding-top: 30px;
}

.fight .fightStat td,
.fight .fightStat .Lcell {
  width: 20%;
}

.fight .groupSide table:not(:last-child) {
  margin-bottom: 15px;
}

.Scell {
  background-size: 100% 21px;
  background-repeat: no-repeat;
  background-position-y: 3px;
}

.large .Scell {
  background-size: 100% 30px;
  background-repeat: no-repeat;
  background-position-y: 15px;
}

/* ----------------------------------------------- race ----------------------------------------------- */

.class-card {
	min-width: 320px;
	background: rgba(0,0,0,0.4);
	padding: 10px;
	border-radius: 5px;
	border: 1px solid rgba(255,255,255,0.1);
  flex: 0 calc(20% - 26px);
}

.realm-section {
	border: 1px solid rgba(255,255,255,0.05);
	background: var(--background-light);
	padding: 1rem;
	border-radius: 10px;
}

/* ----------------------------------------------- media ----------------------------------------------- */

@media (max-width:2100px) {
  .keepStats {
    flex: 1 1 40%;
  }
  
    table {
	font-size: 12px;
  }

  table tr {
  	height: 23px;
  }

  .Lcell {
  	font-size: 14px;
  }

  .pageTitle {
  	font-size: 25px;
  	line-height: 20px;
  }
  .class-card {
    flex: 0 calc(25% - 26px);
  }
}

@media (max-width:1800px) {
  .sidebar-hamburger {
    display: block;
  }

  .sidebar {
    display: none;
  }

  .sidebar-toggle:checked~.sidebar {
    display: flex;
  }

  #mainWrap {
    padding-left: 0;
    width: 100vw;
  }

  #filters {
    position: sticky;
    left: 0;
  }

  .sidebar-hamburger {
    background-color: var(--background-dark);
    border: 2px solid var(--background-light);
    border-radius: 0 10px 10px 0;
    border-left: 0;
  }

  .w-side {
    padding-left: 0;
  }

  .player#heraldTable,
  .guild#heraldTable {
    overflow-x: unset;
  }

  .w-side {
    overflow: auto;
    height: calc(100vh - 140px);
  }

  .accordion-content>.realmGroup {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .class-card {
    flex: 0 calc(33% - 23px);
  }
}

@media (max-width: 1380px) {
  #heraldTable {
    display: block;
    overflow-x: auto;
  }

  .w-side {
    width: 100%;
    position: sticky;
    height: auto;
  }

  .w-main {
    width: 100vw;
    padding-left: 0;
    overflow: auto;
  }

  #members tr:first-child {
    top: 0px;
  }

  #statsTable tr:first-child,
  .noFilters #statsTable tr:first-child  {
    top: 0px;
  }

  .emblemSvg {
    height: auto;
  }

  .fight .w-50 {
    width: 100%;
  }

  .fight .vs,
  .fight .groupSide {
    width: 100%;
  }

  .fight .groupSide {
    padding-top: 1rem;
  }
  .fight .fightStat td {
    width: 13.3%;
  }

  .fight .fightStat .Lcell {
    width: 30%;
  }

  .fight {
    padding-bottom: 1rem;
  }

  .fight.sides {
    padding-top: 0px;
  }  
  
  .w-sides {
    width: 100vw;
    padding-left: 0;
    overflow: auto;
  }

  .keepStats {
    flex: 1 1 100%;
  }

  .warMap {
  	height: unset;
  }

}

@media (max-width: 1180px) {
  #header .w-logo {
    margin-left: 35px;
  }
}

  @media (max-width: 1100px) {
    .hamburger {
      display: flex;
    }

    #header {
      flex-wrap: wrap;
      padding-top: .5rem;
      padding-bottom: .5rem;
      padding-left: 1rem;
      padding-right: 1rem;
      justify-content: space-between;
      height: 40px;
    }

    .menu>div {
      margin: 0.5rem 1rem;
    }

    .menu>div:last-child {
      border-bottom: none;
    }

    .sidebar-hamburger {
      top: 50px;
    }

    .menu-toggle:checked~.menu {
      display: flex !important;
    }

    .bannert img {
      height: 28px;
    }

    .accordion-content>.realmGroup {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
    }

    .menu {
      display: none !important;
      flex-direction: column;
      letter-spacing: .01em;
      font-size: 1.125rem;
      line-height: 1.75rem;
      padding: 1.5rem;
      gap: .25rem;
      align-items: center;
      padding-top: 28px;
      z-index: 40;
      inset: 0;
      position: fixed;
      top: 44px;
      backdrop-filter: blur(12px);
      width: calc(100vw - 3rem);
    }

    .menu a {
      text-align: center;
      padding-top: .625rem;
      padding-bottom: .625rem;
      border-bottom: 1px solid rgb(41 37 36/.6);
      width: 100%;
      letter-spacing: .01em;
    }

    .menu .discord {
      border-bottom: none;
      margin: 0;
      margin-top: 0px;
      gap: .5rem;
      margin-top: 1rem;
      padding: 0;
      color: rgb(168 162 158);
    }

    .menu .discord svg {
      width: 1.5rem;
      height: 1.5rem;
    }

    .menu a.titleButton {
      order: -1;
      padding: .75rem 0;
      letter-spacing: .1em;
      font-size: 1rem;
      line-height: 1.5rem;
      margin-top: .25rem;
      margin-bottom: .25rem;
    }

    .menu .discord p {
      display: block;
      margin: 0;
    }

    .headerContentWrapper {
      height: 55px;
    }

    .menuDivider {
      display: none;
    }

    .bannert {
      margin: 0;
      margin-top: 0;
      height: 28px;
    }

    #filters {
      top: 55px;
    }

    #content {
      padding-top: 60px;
    }

    /* #mainWrap {
	  height: calc(100vh - 55px);
    } */
    #filters {
      top: 56px;
    }

    #filters details .accordion-content {
      grid-template-columns: repeat(2, 1fr);
    }

    #heraldTable.player .w-main table.playerLvl {
      min-width: 525px;
    }

    .playerLvlContainer .w-25,
    .playerLvlContainer .w-75 {
      width: 100%;
    }

    .playerLvlContainer {
      flex-direction: column;
    }
  .class-card {
    flex: 1;
  }

  }



@media (max-width: 600px) {
  #filters {
    flex-direction: column;
  }

  .player #statsTable tr:first-child {
    top: 188px;
  }

  .keepStatsContainer {
  	flex-direction: column;
  }
}

/* ----------------------------------------------- variables ----------------------------------------------- */

:root {
  --accent-color: rgb(57, 55, 44);
  --accent-yellow: rgb(234, 179, 8);
  --accent-light: rgb(232 220 209);
  --background-dark: #181312;
  --background-light: #1c1716;
  --background-lighter: #36302f;
  --detail-gray: rgb(83, 78, 78);
  --hexagon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="30"><polygon points="10,0 90,0 100,15 90,30 10,30 0,15" fill="%2339372c" /></svg>');
  --mid: #2b48b9;
  --hib: #17963b;
  --alb: #da2929;  
  --Midgard: 49, 72, 121;
  --Hibernia: 43, 97, 58;
  --Albion: 114, 50, 50;  
}