* {
  scrollbar-color: grey transparent;
  scroll-behavior: smooth;
}

body {
  margin-left: 30px;
  margin-right: 30px;
  font-family: "Lato";
  font-size: 15px;
}

table {
  border-spacing: 0;
  border-collapse: separate;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  border: solid black 1px;
  min-width: 370px;
  --border: 1px solid black;
  border: var(--border);
  overflow: hidden;
  border-left: none;
  box-shadow: 2px 2px #000000;
}

table.track {
  border-spacing: unset;
  border-collapse: unset;
  border-top-right-radius: unset;
  border-bottom-right-radius: unset;
  border: unset;
  min-width: 200px;
  border: unset;
  overflow: unset;
  border-left: unset;
  box-shadow: unset;
}

table.comments {
  border-spacing: unset;
  border-collapse: unset;
  border-top-right-radius: unset;
  border-bottom-right-radius: unset;
  border: 0px;
  min-width: unset;
  overflow: unset;
  border-left: unset;
  box-shadow: unset;
}

table.comments td {
  background-color: #ffffff;
  font-size: 80%;
  vertical-align: top;
}
table.comments tr:nth-child(even) {background-color: #ffffff}

table tr: not(:last-child),
table th: not(:last-child),
table td: not(:last-child) {
  border-left: none;
  border-right: 1px solid black;
  border-bottom: 1px solid black;
  box-shadow: 0 0 0 1px black;
}

table.rounded-corners th:not(:last-child),
table.rounded-corners td:not(:last-child) {
  border-right: var(--border);
  border-left: none;
}

th {
  /* background-color: grey; */
  border-top: none;
  text-align: left;
  border-left: none;
  color: #bf40bf;
}

td:first-child, th:first-child {
  border-left: none;
}

tr:nth-child(even) {background-color: #f2f2f2}

td.header {
  font-size: 70%;
  text-decoration-line: underline;
}

img.portrait {
  z-index: auto;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

img.gallery {
  z-index: auto;
  display: block;
  margin-left: 3px;
  margin-right: auto;
  margin-bottom: 3px;
  border-top-right-radius: 8px;
  border-top-left-radius: 8px;
  border-bottom-right-radius: 8px;
  border-bottom-left-radius: 8px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

table.gallery {
  border-spacing: unset;
  border-collapse: unset;
  border-top-right-radius: unset;
  border-bottom-right-radius: unset;
  border: unset;
  min-width: unset;
  border: unset;
  overflow: unset;
  border-left: unset;
  box-shadow: unset;
  margin-left: auto;
  margin-right: auto;
}

.verticalLine {
  border-left: thick solid #ff0000;
}

.empty1 { grid-area: empty1; }
.empty2 { grid-area: empty2; }
.empty3 { grid-area: empty3; }
.empty4 { grid-area: empty4; }
.empty5 { grid-area: empty5; }
.empty6 { grid-area: empty6; }
.empty7 { grid-area: empty7; }
.empty8 { grid-area: empty8; }
.empty9 { grid-area: empty9; }
.empty10 { grid-area: empty10; }
.empty11 { grid-area: empty11; }
.empty12 { grid-area: empty12; }
.mod1 { grid-area: mod1; }
.mod2 { grid-area: mod2; }
.mod3 { grid-area: mod3; }
.mod4 { grid-area: mod4; }
.mod5 { grid-area: mod5; }
.mod6 { grid-area: mod6; }

.grid-container {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid template rows: 1fr 1fr 1fr 1fr 1fr 1fr;
	grid-template-areas:
	'empty1 empty2 mod1'
	'empty3 empty4 mod2'
	'empty5 empty6 mod3'
	'empty7 empty8 mod4'
	'empty9 empty10 mod5'
	'empty11 empty12 mod6';
	gap: 2px;
	padding: 2px;
	background-color: #bf40bf;
	max-width: 100px;
}

.stun-container {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid template rows: 1fr 1fr 1fr 1fr 1fr 1fr;
	grid-template-areas:
	'empty1 empty2 mod1'
	'empty3 empty4 mod2'
	'empty5 empty6 mod3'
	'empty7 empty8 mod4';
	gap: 2px;
	padding: 2px;
	background-color: #bf40bf;
	max-width: 100px;
}

.grid-container > div {
	text-align: right;
	padding: 8px 1;
	background-color: #ffffff;
}

.stun-container > div {
	text-align: right;
	padding: 8px 1;
	background-color: #ffffff;
}


/* Create a popup class to show larger images */
.popup  {
        position: relative;
        float: left;
        /* padding: 5px; */
        /*z-index: 9999;*/
}

.popup:hover {
        background-color: #e9e9e2;
        /*z-index: 9999;*/
        /* color: #335500; */
        text-decoration: none;
}

.popup span { /*CSS for enlarged image*/
        position: fixed;
        background-color: #e5e5e5;
        padding: 5px;
        /*left: -1000px;*/
        border: 1px solid #666;
        visibility: hidden;
        color: black;
        text-decoration: none;
        /* box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75); */
}

.popup span img { /*CSS for enlarged image*/
        border-width: 0px;
        /*padding: 2px;*/
        max-width: calc(100vw - 300px);
        max-height: calc(100vh - 200px);
}

.popup:hover span { /*CSS for enlarged image on hover*/
        visibility: visible;
        z-index: 9999;
        /*width: 200px;*/
        top: 100px; /* use IF IE6 style to correct IE6 positions of larger image relative to thumb */
        left: 200px;/*position where enlarged image should offset horizontally */
}



h1.shadow {
    color: #bf40bf;
    text-shadow: 2px 4px 4px grey;
}

.hexes {
    color: #bf40bf;
    font-size: 20px;
}


details {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    border: solid black 1px;
    border-left: none;
    box-shadow: 2px 2px #000000;
    background-color: #f2f2f2;
    transition: 0.2s background linear;
}

details:hover {
    background-color: #bebebe;
}

details > summary { transition: color 1s; margin: 0; }
details[open] > summary { color: #bf40bf; }

summary h3 {
    display: inline;
    font-size: 1em;
    color: #bf40bf;
}

summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 5px 15px 5px 0px;
    border-radius: 5px;
    font-weight: bold;
    color: #bf40bf;
}

details[open] > summary {
    border-bottom: 2px solid #fff9f1;
    border-radius: 8px 8px 0 0;
}

details[open] > summary::after {
    transform: rotate(-180deg);
}

summary:after {
  content: '';
  width: 0;
  height: 0;
  border-top: 10px solid #15171b;
  border-inline: 7px solid transparent;
  transition: 0.2s;
}

article > *:first-child {margin: 0;}
article > * + * {margin: 0.75em 0 0 0;}
article {padding: 5px; margin: 0;}

.prevent-select {
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none;     /* IE 10 and IE 11 */
  user-select: none;         /* Standard syntax */
}


input { accent-color: #bf40bf; }

