body {
  background-color: #3f4243;
}

.tag-badge--link {
  background-color: #eda933;
  border-radius: 5px;
  padding:3px;
}
.tag-badge--other {
  background-color: #d9dddf;
  border-radius: 5px;
  padding:3px;
}
.tag-badge--model {
  background-color: #8ad1e7;
  border-radius: 5px;
  padding:3px;
}

.tagbar {
  bottom: -5px;
  position:absolute;
  height:30px;
  display:block;
  width:100%;
}
.tagbar-top {
  top: 55px;
  padding-left:5px;
  position:absolute;
  height:50px;
  display:block;
}
.tagbar a, .tagbar a:visited, .tagbar-top a, .tagbar-top a:visited {
  color:#444;
}
.tagbar a:hover, .tagbar-top a:hover {
  color: #2b575e;
}

.sidebar {
  height: 100%; /* Full-height: remove this if you want "auto" height */
  width: 160px; /* Set the width of the sidebar */
  position: fixed; /* Fixed Sidebar (stay in place on scroll) */
  z-index: 1; /* Stay on top */
  top: 0; /* Stay at the top */
  left: 0;
  background-color: #111; /* Black */
  overflow-x: hidden; /* Disable horizontal scroll */
  padding-top: 20px;
}

.categories a {
  padding: 3px 4px 4px 16px;
  text-decoration: none;
  font-size: 16px;
  color: white;
  display: block;
}

.categories a:hover {
  color: #f1f1f1;
  background-color:#3f4243;
}

.sidebar h1 {
  font-size:18px;
  font-weight:bold;
  color: white;
  padding-left:16px;
  display:inline;
}

a.tag:hover {
  background-color: #ffffff;
  color:black;
}
.tagsize-0 {
  font-size:9px;
  color: #b2a2a2;
}
.tagsize-1 {
  font-size:10px;
  color: #b2a2a2;
}
.tagsize-2 {
  font-size:11px;
  color: #b2a2a2;
}
.tagsize-3 {
  font-size:12px;
  color: #b2a2a2;
}
.tagsize-4 {
  font-size:13px;
  color: #c6aaaa;
  font-weight:bold;
}
.tagsize-5 {
  font-size:14px;
  color: #c6aa8d;
}
.tagsize-6 {
  font-size:16px;
  color: #e2aa8d;
  font-weight:bold;
}
.tagsize-7 {
  font-size:18px;
  color: #e28d71;
}
.tagsize-8 {
  font-size:20px;
  color: #e28d55;
  font-weight:bold;
}
.tagsize-9 {
  font-size:22px;
  color: #ff711c;
}
.tagsize-10 {
  font-size:24px;
  color: #ff5a00;
  font-weight:bold;
}

.topbar {
  padding-left:160px;
}

.center {
  text-align:center;
}
/* grid */
.grid-container {
  display: inline-grid;
  grid-template-columns: auto auto auto auto auto auto;
  padding: 10px;
  margin-left: 160px;
}

.grid-item {
  width: 250px;
  padding: 0px;
  font-size: 14px;
  text-align: center;
  position: relative;
  margin-bottom:20px;
  background-color:rgba(255,255,255,0.1);
  margin:2px;
  margin-bottom:20px;
  padding-bottom:20px;
}

.page-selector {
  right:10px;
  top:10px;
  display: block;
  position:absolute;
  clear:both;
  text-align:right;
  font-size:14px;
  color:rgba(255,255,255,0.7);
}
.page-selector a {
  color:white;
  text-decoration:none;
  font-weight:bold;
}

.taglist {
  color:white;
  font-size:10px;
  overflow-y:scroll;
  height:200px;
  padding:10px;
}

.taglist::-webkit-scrollbar {
    width: 1em;
}
 
.taglist::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}
 
.taglist::-webkit-scrollbar-thumb {
  background-color: darkgrey;
  outline: 1px solid slategrey;
}

.logo {
 padding-left:10px;
 padding-top:10px;
}
/*
.thumbnail {
  padding-bottom:3px;
  max-width:200px !important;
  max-height:200px !important;
  width:200px;
  padding:1px;
}
.thumbnail:hover {
  padding:0px;
  border:1px solid white;
}
*/
/*  donate */
.d {
  font-size:10px;
  color:white;
  padding-left:5px;
}
@media only screen and (max-width: 600px) {
  .grid-container {
    display: inline-grid;
    grid-template-columns: auto;
    padding: 5px;
  }
  .grid-item {
    padding: 5px;
    font-size: 11px;
    text-align: center;
  }
  .tag-badge--other {
    border-radius: 3px;
    padding:2px;
  }
  .tag-badge--model {
    border-radius: 3px;
    padding:2px;
  }
  .tagbar {
    padding-top:4px;
  }
  .topbar {
    padding-left:0;
  }
  .sidebar {
    position:relative;
    width:100%;
  }
  .grid-container {
    margin-left: 0px;
  }
}
@media only screen and (min-width: 600px){
  .grid-container {
    display: inline-grid;
    grid-template-columns: auto auto;
  }
}
@media only screen and (min-width: 800px){
  .grid-container {
    display: inline-grid;
    grid-template-columns: auto auto auto;
    padding: 10px;
  }
}
@media only screen and (min-width: 900px) {
  .grid-container {
    display: inline-grid;
    grid-template-columns: auto auto auto auto;
    padding: 10px;
  }
@media only screen and (min-width: 1000px) {
  .grid-container {
    display: inline-grid;
    grid-template-columns: auto auto auto auto auto;
    padding: 10px;
  }
@media only screen and (min-width: 1200px) {
  .grid-container {
    display: inline-grid;
    grid-template-columns: auto auto auto auto auto auto;
    padding: 10px;
  }
@media only screen and (min-width: 1500px) {
  .grid-container {
    display: inline-grid;
    grid-template-columns: auto auto auto auto auto auto auto;
    padding: 10px;
  }

}
