body {
  background: linear-gradient(to bottom, #f05050 0%, #903030 100%);
  background-image: url("licht2-scaled.jpg");
  background-position: center; /* Center the image */
  background-repeat: no-repeat; /* Do not repeat the image */
  background-size: cover; /* Resize the background image to cover the entire container */
  font-family: arial, sans-serif;
  text: black;
}
::-webkit-scrollbar { 
  display: none; 
}
div.event-lightbox {
  background: linear-gradient(to bottom, #f05050 0%, #903030 100%);
  background-image: url("licht2-scaled.jpg");
  background-position: center; /* Center the image */
  background-repeat: no-repeat; /* Do not repeat the image */
  background-size: cover; /* Resize the background image to cover the entire container */
  color: black;
}
div.inner-box {
  margin: 10px;
  border-radius: 5px;
  padding: 20px;
  background: linear-gradient(to bottom, #c0c0c0 0%, #909090 100%);
  text-align: center;
  min-height: 50px;
}
div.inner-box .inner-text {
  text-align: left;
  display: inline-block;
  max-width: 800px;
}
table.main {
  margin: auto;
  width: 1200px;
  height: 100%;
  table-layout: fixed;
}
table.main td {
  background: white;
  border-radius: 5px;
  padding: 10px;
  background: linear-gradient(to bottom, white 0%, #e0e0e0 100%);
}
td#publisher {
  height: 40px;
  vertical-align: middle;
  cursor: pointer;
}
td#title {
  height: 70px;
  font-size: larger;
  font-weight: bold;
}
td#creators {
  width: 500px;
  height: 70px;
  text-overflow: ellipsis;
  overflow: hidden;
}
td#creators:hover {
  text-overflow: inherit;
  overflow: visible;
}
td#creators:after {
  content: '';
  display: block;
  margin-bottom: -10000px;
}
td#creators:hover:after {
  content: '';
  display: block;
  margin-bottom: 0px;
}

tr.misc {
  height: 40px;
  vertical-align: middle;
}
tr.misc td {
  text-align: center;
}
td#text {
  height: 300px;
}
td#variants {
  height: 150px;
}
td#cover {
  width: 500px;
  text-align: center;
  position: relative;
}

td#options {
  width: 200px;
  word-wrap: none;
}

tr {
  vertical-align: top;
}

table.actions {
  height: 100%;
  width: 100%;
}

table.actions td {
  background: #c0c0c0;
}
td.navigation {
  text-align: center;
  font-weight: bold;
  cursor: pointer;
}

td#export {
  text-align: center;
  font-weight: bold;
  cursor: pointer;
}

td#search {
  text-align: center;
}

span#nextsearch, span#prevsearch {
  font-weight: bold;
  cursor: pointer;
}

td.first {
  background: #40a040 !important;
}
td.special-publisher {
  background: #40a040 !important;
}
option.special-publisher {
  background-color: #40a040 !important;
}

div.variant {
  display: block;
  font-weight: bold;
  cursor: pointer;
}

td.select {
  text-align: center;
}
select {
  width: 160px;
}
td.first-publisher {
  font-weight: bold;
}
input[type=checkbox] {
  margin-right: 1ex;
}
td.about, td#curation, td#see-curation, td#note {
  text-align: center;
  font-weight: bold;
  cursor: pointer;
}
a {
  color: black;
  text-decoration: none;
  font-weight: bold;
}
div.close {
  text-align: center;
  display: block:
  width: 100%;
  font-weight: bold;
  padding-top: 40px;
  cursor: pointer;
}
div.close span {
  background: #c0c0c0;
  border: 1px solid black;
  padding: 10px;
  border-radius: 5px;
}

td#logo {
  font-size: small;
  position: relative;
}

#logo img {
  cursor: pointer;
}

#period {
  text-align: left;
}

#logoimg {
  position: absolute;
  bottom: 5px;
  right: 5px;
}

input[type=checkbox] {
  vertical-align: middle;
  position: relative;
  bottom: 1px;
}

td.expandable {
  max-height: 300px;
  text-overflow: ellipsis;
  overflow: hidden;
}

td.expandable:hover {
  text-overflow: inherit;
  overflow: visible;
}

td.expandable:after {
  content: '';
  display: block;
  margin-bottom: -10000px;
}

td.expandable:hover:after {
  content: '';
  display: block;
  margin-bottom: 0px;
}


@media only screen and (max-width: 760px) {
  /* Style adjustments for small screens. */
  td#cover {
    width: 100%;
    height: 100%;
    text-align: center;
    position: default;
  }
  table.main {
    margin: auto;
    width: 100%;
    height: 100%;
    table-layout: fixed;
  }
  td#publisher {
    height: auto;
  }
  td#title {
    height: auto;
  }
  td#creators {
    width: 100%;
    height: auto;
    text-overflow: initial;
    overflow: initial;
  }
  td#creators:after {
    display: block;
    margin-bottom: auto;
  }
  tr.misc {
    height: 40px;
  }
  td#text {
    height: auto;
    max-height: auto;
    text-overflow: initial;
    overflow: initial;
  }
  td#text:after {
    display: block;
    margin-bottom: auto;
  }
  td#variants {
    height: auto;
  }
  td.navigation {
    vertical-align: middle;
  }
  td#buy-td {
    text-align: center;
    vertical-align: middle;
  }
  td#small-menu {
    text-align: center;
    vertical-align: middle;
  }
  div#menu {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: black;
  }
  table.actions {
    background: linear-gradient(to bottom, #f05050 0%, #903030 100%);
    padding: 10px;
    border: 0px;
  }
  table.actions td {
    text-align: center;
    vertical-align: middle;
    border-radius: 5px;
    background: linear-gradient(to bottom, #c0c0c0 0%, #b0b0b0 100%);
  }
  td#close-menu, td#share, td#curation, td#see-curation {
    font-weight: bold;
  }
  td.about {
    font-weight: bold;
  }
  body {
    margin: 0px;
    background-image: none;
  }
  td#spacer {
    height: 100%;
  }
  div.event-lightbox {
    padding: 0px;
    background: linear-gradient(to bottom, #f05050 0%, #903030 100%);
    background-image: none;
    color: black;
  }
  div.navigation-bar {
    display: none;
    width: 100%;
    position: fixed;
    bottom: 0;
    height: 45px;
  }
  div.navigation-bar div {
    width: 100%;
    position: absolute;
  }
  table.navigation-bar {
    margin: 0 auto;
    height: 40px;
  }
  table.navigation-bar td {
    padding-left: 10px;
    padding-right: 10px;
    border: 1px solid black;
    border-radius: 9px;
    background: linear-gradient(to bottom, #f05050 0%, #903030 100%);
  }
  td#variant-comics {
    padding-bottom: 40px;
  }

}

@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: url(material.ttf) format('truetype');
}

.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
}

i.close-curation {
  font-size: 12px;
  margin-left: 5px;
}

table.curations {
  width: 100%;
  border-collapse: collapse;
  margin: 5px;
}

table.curations th {
  background: #e0e0e0;
  height: 20px;
}

table.curations td {
  height: 40px;
  padding: 10px;
  margin: 2px;
  font-weight: bold;
  background: linear-gradient(to bottom, #c0c0c0 0%, #b0b0b0 100%);
}

table.curations td.count {
  text-align: right;
}

form.curation textarea {
  border-radius: 5px;
  width: 100%;
  font-size: 12px;
  font-family: arial, sans-serif;
  padding: 8px;
}

form.curation input[type=text] {
  font-family: arial, sans-serif;
  font-size: 12px;
  width: 100%;
}

table.curation {
  margin-top: 10px;
  width: 100%;
  background: #e0e0e0;
}

table.curation tr {
  vertical-align: middle;
}

table.curation td {
  background: #b0b0b0;
  padding: 5px;
}

div.curations {
  background: linear-gradient(to bottom, #f05050 0%, #903030 100%);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

div.note {
  background: linear-gradient(to bottom, #f05050 0%, #903030 100%);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  vertical-align: middle;
}

div.note textarea {
  border-radius: 5px;
  width: 100%;
  font-size: 12px;
  font-family: arial, sans-serif;
  padding: 8px;
}

span.curation {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 200px;
  font-size: 10px;
  background: #404040;
  opacity: 0.5;
  border-radius: 5px;
  border: #202020;
  z-axis: 10000;
  padding: 10px;
  color: #e0e0e0;
}

span.match {
  background: yellow;
}

#leftmapdiv {
  background-image: linear-gradient(to right, rgba(120,120,120,0.5), rgba(120,120,120,0));
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  cursor: pointer;
}

#leftmapdiv:hover {
  opacity: 1;
}

#rightmapdiv {
  background-image: linear-gradient(to right, rgba(120,120,120,0), rgba(120,120,120,0.5) 100px, rgba(120,120,120,0.0) 100px);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  cursor: pointer;
}

#rightmapdiv:hover {
  opacity: 1;
}

#closeimg {
  width: 50px;
  height: 50px;
  float: right;
  cursor: pointer;
}
