* {
margin: 0;
}

.sidenav {
  width: 200px;
  height: 100%;
  position: fixed;
  overflow-y: scroll;
  overflow-x: hidden;
  scrollbar-width: none;
   -ms-overflow-style: none;
  z-index: 1;
  top: 0px;
  left: 0px;
  background: #38271e;
  padding: 8px 0;
  text-align: center;
  font-family: sans-serif;
  color: #fff;
  box-shadow: 5px 1px 10px black;
}

#showSideBar {
  visibility: hidden;
  position: fixed;
  height: 40px;
  width: 60px;
  top: 20px;
  left: 20px;
  padding-bottom: 5px;

}

#showSideBar .sbtn {
  text-align: center;
  border-radius: 15px;
  min-width: 110px;
  height: 30px;
  font-size: 1.0em;
  z-index: 10;
}

a {
color: #fff;
text-decoration: underline dotted;
}

.sidenav::-webkit-scrollbar { 
  display: none; 
}

#topPage {
  margin-top: 20px;
  text-align: center;
}

h2 {
  font-family: 'Aclonica';
  margin-bottom: 20px;
}

#header {
  margin-top: -8px;
  background: url(img/ui/banner.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top;
  height: 100px;
}

.divSeason {
  margin-top: -30px;
  margin-bottom: -20px;
  text-align: left;
  display: none;
  font-family: 'Aclonica';
  text-shadow: 1px 1px 1px #ccc;
  color: #382720;
  font-size: 16px;
}

.main h3 {
  background: #38271e;
  background: -moz-radial-gradient(bottom, #38271e 0%, rgba(0,0,0,0) 35%);
  background: -webkit-radial-gradient(bottom, #38271e 0%, rgba(0,0,0,0) 35%);
  background: radial-gradient(ellipse at bottom, #38271e 0%, rgba(0,0,0,0) 35%);
  text-align: center;
  font-family: 'Aclonica';
  font-size: 18px;
  text-shadow: 1px 1px 1px #ccc;
  color: #180700;
  padding-bottom: 5px;
  margin-bottom: 5px;
}

h4 {
  text-align: center;
  font-family: 'Aclonica';
  color: #cca;
  font-size: 16px;
  margin-left: 30px;
  margin-right: 30px;
  margin-top: 10px;
  padding-bottom: 2px;
  border-bottom: 1px solid #ddb;
}

.main h4 {
  text-align: left;
  font-family: 'Aclonica';
  color: #112;
  font-size: 16px;
  margin-left: 30px;
  margin-right: 30px;
  padding-bottom: 2px;
  border-bottom: 0px solid #ddb;
}

.extraInfo {
  margin-left: 5px;
  margin-right: 5px;
  font-size: 12px;
  margin-bottom: 10px;
  padding-bottom: 20px;
}

#previewImg {
  position: relative;
  top: 0;
  left: 0;
  background-image: url(img/ui/preview.png);
  background-size: 100% 100%;
  height: 200px;
}

#previewBorder {
  position: relative;
  top: 0px;
  left: 0px;
}

#previewAvatar {
  position: absolute;
  top: 40px;
  left: 60px;
  transform: scale(0.8);
}

#previewTitle {
  font-family: sans-serif;
  font-weight: 500;
  text-shadow: -0.5px -0.5px black, 0.5px 0.5px black, -0.5px 0.5px black, 0.5px -0.5px black;
}

#previewBoard {
  outline: 6px ridge;
  outline-color: rgba(0,0,0,0);
  outline-offset: -4px;
  height: 0px;
  max-height: 25%;
  transition: padding-top 1.4s, outline-color 1.2s;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  background-size: cover;
  background-color: #38271e;
}

.main {
margin-left: 210px;
margin-right: 0px;
}

body {
  background-color: #a28d6d;
  font-family: sans-serif;
}

.filterDiv {
  display: none;
  cursor: pointer;
}

.category {
  margin-top: 20px;

}

#avatars, #borders, #coins, #titles {
  text-align: justified;
}

#avatars .filterDiv, #coins .filterDiv {
  color: #000;
  text-shadow: none;
  width: 80px;
  text-align: justified;
  margin: 1px;
}

#avatars .filterDiv:hover img, #coins .filterDiv:hover img {
  filter: drop-shadow(0px 0px 20px #09D59B);
    -webkit-filter: drop-shadow(0px 0px 20px #09D59B);
  transform: scale(1.10);
}

#coins .filterDiv:hover img {
  cursor: help;
}

.filterDiv img {
  transition-duration: 0.2s;
}

#cardbacks .filterDiv img:hover {
  filter: drop-shadow(0px 0px 10px #09D59B);
    -webkit-filter: drop-shadow(0px 0px 10px #09D59B);
  cursor: help;
  transform: scale(1.05);
}

#leaderskins .filterDiv img:hover {
   filter: drop-shadow(2px -5px 16px #09D59B);
      -webkit-filter: drop-shadow(2px -5px 16px #09D59B);
  cursor: help;
}

#accessories .filterDiv img:hover {
   filter: drop-shadow(2px -5px 16px #09D59B);
      -webkit-filter: drop-shadow(2px -5px 16px #09D59B);
  cursor: help;
}

#gameboards img {
  border-radius: 25% 10px;
  transform: scale(0.95);
  filter: grayscale(40%);
  transition-duration: 0.1s;
}

#gameboards img:hover {
  transform: scale(1);
  filter: grayscale(0%);
  filter: drop-shadow(5px 5px 6px #09D59B); 
   -webkit-filter: drop-shadow(5px 5px 6px #09D59B);
}

#borders .filterDiv {
  color: #000;
  text-shadow: none;
  width: 100px;
  height: 100px;
  text-align: justified;
  margin: -2px;
}

#borders .filterDiv:hover {
  background: url('img/ui/border_hover.png') center no-repeat;
  background-size: 120px;
}

#titles .filterDiv {
  height: 35px;
  width: 200px;
  color: #eee;
  text-align: center;
  background-image: url("img/ui/title.png");
  background-repeat: no-repeat;
  text-transform: uppercase;
  padding-top: 8px;
  font-size: 14px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
  user-select: none;
}

#titles .filterDiv:hover {
  background-image: url("img/ui/title.png");
  background-position: -200px 0px;
}

.filterDiv .description {
  visibility: hidden;
  display: block;
  width: 80%;
  line-height: 18px;
  color: #000;
  text-transform: none;
  font-size: large;
  background-color: #a28d6d;
  border: 2px solid black;
  text-align: center;
  border-radius: 4px;
  padding: 5px 0;
  position: fixed;
  z-index: 1;
  bottom: 10px;
  left: 10%;
}

.filterDiv .description i {
  font-size: 14px;
}

.filterDiv:hover .description {
  visibility: visible;
}

.Monsters {
  background-image: url("img/avatars/48030.jpg");
  background-repeat: no-repeat;
  background-blend-mode: screen;
  background-size: contain;
}
.Nilfgaard {
  background-image: url("img/avatars/48031.jpg");
  background-repeat: no-repeat;
  background-blend-mode: screen;
  background-size: contain;
}
.Northern.Realms {
  background-image: url("img/avatars/48032.jpg");
  background-repeat: no-repeat;
  background-blend-mode: screen;
  background-size: contain;
}
.Scoia\'tael {
  background-image: url("img/avatars/48033.jpg");
  background-repeat: no-repeat;
  background-blend-mode: screen;
  background-size: contain;
}
.Skellige {
  background-image: url("img/avatars/48034.jpg");
  background-repeat: no-repeat;
  background-blend-mode: screen;
  background-size: contain;
}
.Syndicate {
  background-image: url("img/avatars/48077.jpg");
  background-repeat: no-repeat;
  background-blend-mode: screen;
  background-size: contain;
}

.show {
  display: inline-block;
}

.showBlock {
  display: block;
}

.container {
  margin-top: 20px;
  overflow: hidden;
}

/* Style the buttons */
#myBtnContainer {
  text-align: center;
  margin-top: 10px;
}

#extraButtons {
  margin-top: 10px;
}

.toggleFilter {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 40px;
  margin-right: 4px;
  margin-left: 4px;
  margin-top: 10px;
}

input[type=checkbox] {
  opacity: 0;
  width: 0;
  height: 0;
}

.cbbgpic {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.3;
  background-image: url("img/ui/filters.png");
  background-size: cover;
    -webkit-transition: .2s;
  transition: .2s;
}

input:checked+.cbbgpic {
  opacity: 1.0;
}

#filtAvatars {
  background-position: 0px;
}

#filtBorders {
  background-position: -40px;
}
#filtTitles {
  background-position: -80px;
}
#filtBacks {
  background-position: -120px;
}
#filtSkins {
  background-position: -160px;
}
#filtBoards {
  background-position: -200px;
}
#filtCoins {
  background-position: -280px;
}
#filtAccess {
  background-position: -240px;
}

.btn {
  border: none;
  outline: none;
  width: 48%;
  height: 25px;
  font-size: 1.0em;
  padding: 5px 5px;
  margin-left: 0.5%;
  margin-right: 0.5%;
  margin-bottom: 4px;
  background-color: #cca;
  cursor: pointer;
}

.btn:hover {
  background-color: #0cf1a9;
}

.sbtn {
  border: none;
  outline: none;
  width: 80%;
  max-width: 800px;
  height: 25px;
  font-size: 1.0em;
  padding: 5px 5px;
  margin-left: 0.5%;
  margin-right: 0.5%;
  margin-bottom: 4px;
  background-color: #cca;
  cursor: pointer;
}

.sbtn:hover {
  background-color: #0cf1a9;
}

.btn.active, .sbtn.active {
  background-color: #38271e;
  color: #0cf1a9;
  outline: 1px solid #0cf1a9;
}

.rndBtn {
  height: 24px;
  width: 24px;
  border-radius: 12px;
  border: none;
  background-color: #cca;
    -webkit-box-shadow: 0px 0px 10px 2px #000000; 
  box-shadow: 0px 0px 10px 2px #000000;
}

.rndBtn:hover {
  background-color: #0cf1a9;
  cursor: pointer;
}

.dlcb {
  background-image: url("img/ui/icons.png");
  background-position: bottom;
  background-size: 24px 72px;
  position: relative;
  bottom: 15px;
  right: 24px;
  margin-right: -24px;
  margin-bottom: -20px;
}

#download {
  margin-right: 60%;
  background-image: url("img/ui/icons.png");
  background-position: bottom;
  background-size: 24px 72px;
}

#randomize {
  background-image: url("img/ui/icons.png");
  background-position: center;
  background-size: 24px 72px;
}

#searchBox {
  height: 20px;
  width: 60%;
  padding-left: 24px;
  padding-right: 24px;
  background: url("img/ui/icons.png") no-repeat;
  background-position: 0px -2px;
  background-size: 24px 72px;
  background-blend-mode: overlay;
  margin-top: 2px;
  border: none;
  outline: none;
  background-color: #cca;
      -webkit-transition: background-color .6s;
  transition: background-color .6s;
}

#emptysb {
  width: 10%;
  height: 22px;
  position: relative;
  top: 0px;
  margin-left: 1px;
  background-color: #cca;
  border: none;
  text-indent: -2px;
  color: #38271e;
}

#emptysb:hover {
  background-color: #0cf1a9;
  cursor: pointer;
}

#emptysb:active {
  color: #0cf1a9;
  background-color: #38271e;
  outline: 1px solid #0cf1a9;
  text-indent: -3px;
}

#searchBox:hover {
  outline: 1px solid #0cf1a9;
  background-blend-mode: initial;
}

#searchBox:focus {
  outline: 1px solid #0cf1a9;
  color: #cca;
  background-color: #38271e;
  background-blend-mode: initial;
}

#footer {
  background-color: #555;
  background: -moz-linear-gradient(top, #111 0%, #555 20%);
  background: -webkit-linear-gradient(top, #333 0%, #555 20%);
  background: linear-gradient(to bottom, #111 0%, #555 20%);
  color: #eee;
  width: 99%;
  margin-top: 30px;
  padding-top: 20px;
  padding-bottom: 10px;
  padding-right: 1%;
  font-size: 0.8em;
  overflow-x: hidden;
  position: relative;
  text-align: right;
}

#footer a {
  cursor: alias;
}

#twitter {
  width: 32px;
  height: 32px;
	background-image: url("../img/social.png");
	background-repeat: no-repeat;
	background-size: 16px 64px;
}
#discord {
  width: 32px;
  height: 32px;
	background-image: url("../img/social.png");
	background-repeat: no-repeat;
	background-size: 16px 64px;
  background-position-y: -32px;
}
#reddit {
  width: 32px;
  height: 32px;
	background-image: url("../img/social.png");
	background-repeat: no-repeat;
	background-size: 16px 64px;
  background-position-y: -16px;
}

#reddit:hover ~ author:before {
  content: "/u/";
}
#twitter:hover ~ author:before {
  content: "@";
}
#discord:hover ~ author:after {
  content: "#2816";
}

#footer button {
  color: rgba(0,0,0,0);
  background-color: rgba(0,0,0,0);
  border: none;
  margin-right: 10px;
  margin-bottom: 10px;
}

#footer:after {
  content:" ";
  position: fixed;
  left: 0;
  right: 0;
  height: 2000px;
  background-color: #555;
}

#totaloverlay {
  visibility: hidden;
  position:fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 2;
  background: rgba(0,0,0,0.7);
}


#changelogs,#donate {
  display: none;
  position: fixed;
  width: 75%;
  margin-left: 12%;
  margin-top: 4%;
  text-align: center;
  background: #48372e;
  z-index: 10;
  font-family: sans-serif;
  color: #cca;
  padding-bottom: 20px;
  max-height: 80%;
  overflow-y: auto;
}

#donate {
  background-image: url("img/ui/beggar.png");
  background-repeat: no-repeat;
  background-position: bottom left;
  background-blend-mode: lighten;
}

#changelogtext {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

#changelogtext ul, #changelogtext p {
  margin-top: 20px;
  margin-bottom: 20px;
}

#changelogtext,#donatetext h4 {
  padding-top: 10px;
}

#donatetext {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

#donatetext p,#donatetext button {
  margin-top: 20px;
}

.description>details {
  visibility: hidden;
  display: none;
}

summary {
display: block;
font-size: 20px;
text-align: center;
color: #ddb;
background: #38271e;
background: -moz-linear-gradient(left, rgba(0,0,0,0) 20%, #38271e 45%, #38271e 55%, rgba(0,0,0,0) 80%);
background: -webkit-linear-gradient(left, rgba(0,0,0,0) 20%, #38271e 45%, #38271e 55%, rgba(0,0,0,0) 80%);
background: linear-gradient(to right, rgba(0,0,0,0) 20%, #38271e 45%, #38271e 55%, rgba(0,0,0,0) 80%);
cursor: pointer;
}

#Canvas {
  visibility: hidden;
  display: none;
}