html, body {
  font-family: sans-serif;
  font-size: 1rem;
  height:100%;
}

.ag {
  
}

.annotation-closed {
  /* right: -125% !important; */
  display: none;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.annotation-genius tr:hover {
  cursor: pointer;
  background-color: lightblue;
  color: white;
}

#annotation-sidebar {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 35%;
  color: #222;
  line-height: 1.45;
  background-color: #f5f5f5;
  color: #181818;
  border-left: 5px solid #b2d7fe;
  padding: 20px;
}

#annotation_sidebar_arrow {
  z-index: -1;
  background-color: white;
  width: 15px;
  height: 20px;
}

#annotation_sidebar_arrow svg path{
  fill: #b2d7fe;
}

#map {
  height: 400px;
  margin-top: 10px;
  width: 100%;
  display: none;
}


#toggle {
  float: right;
}

.container {
  width:60%;
  margin:50px;
}

img {
  /*object-fit: none;  Do not scale the image */
  object-position: center; /* Center the image within the element */
  height: 100%;
  width: 100%;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

span.annotation {
  margin-top: 50px;
}

span.original {
  height: 25px;
}

td:nth-child(7), td:nth-child(8), td:nth-child(9), td:nth-child(10), td:nth-child(11), td:nth-child(12), td:nth-child(13), td:nth-child(14), td:nth-child(15), td:nth-child(16), td:nth-child(17), td:nth-child(18) {
  display: none
}

th:nth-child(7), th:nth-child(8), th:nth-child(9), th:nth-child(10), th:nth-child(11), th:nth-child(12), th:nth-child(13), th:nth-child(14), th:nth-child(15), th:nth-child(16), th:nth-child(17), th:nth-child(18) {
  display: none
}

.board {
  display: flex;
  flex-wrap: wrap;
}

.board>* {
  flex: 1 1 200px;
}

.card {
  /* Add shadows to create the "card" effect */
  box-shadow: 0 2px 4px 0 rgba(0,0,0,0.2);
  transition: 0.3s;
  padding: 2px 16px;
  margin: 5px;
  text-align: center;
}

/* On mouse-over, add a deeper shadow */
.card:hover {
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}

@media only screen and (max-width: 600px) {

  html{
    font-size: .6rem;
  }

  label {
    font-size: 1.5rem;
  }

  td:nth-child(5) {
    display: none;
  }

  th:nth-child(5){
    display: none;
  }

  .display-3 {
    font-size: 3.5rem;
  }

  .container {
    width:90%;
    margin:10px;
  }

  .selection {
    font-size:1.5rem;
  }

  #annotation-sidebar {
    width:80%;
  }
}


