/* bgg.css */

body {
    font-family: proxima-nova, Arial, sans-serif;
    font-weight: 400;
}

.nothumbnails td:hover {
    background-color: #ddd;
}

div.parent {
    /*margin: 0rem;*/
    /*padding: 0rem 0rem;*/
}

div.child {
    display: inline-block;
    padding: 2px 0px;
    vertical-align: middle;
}

div.child.fortrade {
    height: 50px;
    /*filter: brightness(70%);*/
    opacity: 0.7;
    position: relative;
    overflow: hidden;
}

.fortrade:before, .fortrade:after {
    position: absolute;
    content: '';
    background: red;
    display: block;
    width: 90%;
    height: 8px;
    opacity: 0.6;

    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}

.fortrade:after {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.top-links {
    display: flex;
}

.child-links {
    flex: 1;
    margin-bottom: 5px;
    font-size: 13px;
}

.child-links:last-child {
    text-align: right;
}

#left_title {
    margin-bottom: 5px;
    display: compact;
}

#right_title {
    margin-bottom: 5px;
    text-align: right;
    font-size: 13px;
}

#game {
    border-collapse: collapse;
    width: 100%;
    padding: 10px;
}

#game td, th {
    font-size: 13px;
    border: 1px solid #004497;
    padding: 8px;
}

#game img {
    border: 2px solid white;
}

#game img.preordered {
    border: 2px dotted green;
}

#game img:hover {
    border: 2px solid #004497;
}

#game a:link {
    text-decoration: none;
    color: #004497;
}

#game a:visited {
    text-decoration: none;
    color: #0080CC;
}

#game .group {
    font-weight: 700;
    font-size: 17px;
}

#game .quantity {
    font-weight: 700;
    font-size: 17px;
    color: crimson;
    display: none;
}

#top100 {
    /*border: 1px solid #004497;*/
    border: 0px;
    border-collapse: collapse;
    padding: 10px;
    margin-left: auto;
    margin-right: auto;
}

#top100 th {
    font-size: 13px;
    border: 0px;
    padding: 2px;
    vertical-align: middle;
    text-align: center;
}

#top100 td {
    border: 0px;
    /*border: 1px solid #004497;*/
    font-size: 13px;
    padding: 1px;
    text-align: center;
}

#top100 img {
    border: 2px solid white;
}

#top100 img.preordered {
    border: 2px dotted green;
}

#top100 img.not_owned {
    filter: brightness(70%);
    /*filter: grayscale(100%);*/
    opacity: 0.3;
}

#top100 img:hover {
    border: 2px solid #004497;
}

#rank {
    border-collapse: collapse;
    border-width: 1;
    padding: 10px;
    /*margin-left: auto;*/
    /*margin-right: auto;*/
}

#rank th {
    border: 0px;
    /*border: 1px solid #004497;*/
    font-size: 13px;
    padding: 2px;
    vertical-align: middle;
    text-align: center;
}

#rank td {
    /*border: 0px;*/
    border: 1px solid #004497;
    font-size: 13px;
    padding: 2px;
    text-align: left;
}

#rank img {
    border: 2px solid white;
}

#rank img.preordered {
    border: 2px dotted green;
}

#rank img:hover {
    border: 2px solid #004497;
}

#rank a:link {
    text-decoration: none;
    color: #004497;
}

#rank a:visited {
    text-decoration: none;
    color: #0080CC;
}

#rank .quantity {
    /*font-weight: 700;*/
    font-size: 13px;
    color: crimson;
    display: none;
}

.alert {
  position: relative;
  top: 10;
  left: 0;
  width: auto;
  height: auto;
  padding: 10px;
  margin: 10px;
  line-height: 1.8;
  border-radius: 5px;
  cursor: hand;
  cursor: pointer;
  font-family: sans-serif;
  font-weight: 400;
}

.alertCheckbox {
  display: none;
}

:checked + .alert {
  display: none;
}

.alertText {
  display: table;
  margin: 0 auto;
  text-align: center;
  font-size: 16px;
}

.alertClose {
  float: right;
  padding-top: 5px;
  font-size: 10px;
}

.clear {
  clear: both;
}

.debug {
  background-color: #EEE;
  border: 1px solid #DDD;
  color: #999;
}

.success {
  background-color: #EFE;
  border: 1px solid #DED;
  color: #9A9;
}

.info {
  background-color: #EFF;
  border: 1px solid #DEE;
  color: #9AA;
}

.warning {
  background-color: #FDF7DF;
  border: 1px solid #FEEC6F;
  color: #C9971C;
}

.error {
  background-color: #FEE;
  border: 1px solid #EDD;
  color: #A66;
}

.BGGprovided {
    visibility: hidden;
    position: absolute;
    top: -9999px;
}

.BGGheader {
    visibility: hidden;
    position: absolute;
    top: -9999px;
}

.visible {
    visibility: visible;
    position: static;
}

#bgglinks a {
    color: darkblue;
    font-family: monospace, monospace;
    text-decoration: none;
}

#bgglinks th {
    all: unset;
    font-family: monospace, monospace;
    font-weight: bold;
    color: darkblue;
    text-align: left;
}
