::-webkit-scrollbar-track
{

  // border color does not support transparent on scrollbar
  // border-color: transparent;
  background-color: #ebf1f4;
}

::-webkit-scrollbar
{
  width: 7px;
  background-color: #dfe6e9;
}

::-webkit-scrollbar-thumb
{
  background-color: #0275d8;
  border-radius: 10px;
}

.groups {
  list-style-type: none;
  margin-top: 0.3em;
}

.overlay {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 3;
  top: 0;
  left: 0;
  background-color: white;
  overflow-x: hidden;
  overflow-y: hidden;
  transition: 0.5s;
}

.overlay-content {
  position: relative;
  display: block;
  top: 2%;
  width: 65%;
  height: 75%;
  max-height: 75%;
  margin: 0 auto;
  text-align: justify;
  overflow-x: hidden;

  -webkit-box-shadow: 10px 10px 5px 0px rgba(171,166,171,1);
  -moz-box-shadow: 10px 10px 5px 0px rgba(171,166,171,1);
  box-shadow: 10px 10px 5px 0px rgba(171,166,171,1);

  border: 2px ridge #0275d8;
}

.overlay-content br {
  display: none;
}

.overlay-content #text-panel {
  padding-top: 0;
}

.overlay a {
  padding: 8px;
  padding-top: 0;
  text-decoration: none;
  font-size: 36px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.overlay a:hover, .overlay a:focus {
  color: #f1f1f1;
}

.overlay .closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
}

#overlay-text-title {
  margin-top: 6%;
  width: 75%;
  display: inline-block;
}

@media screen and (max-height: 450px) {
  .overlay a {font-size: 20px}
  .overlay .closebtn {
  font-size: 40px;
  top: 15px;
  right: 35px;
  }
}

#fullscreen-button {
  font-size: 20px;
  cursor: pointer;
  z-index: 2;
  position: relative;
  float: right;
  color: #333;
}

#fullscreen-button:hover {
  color: #0275d8;
}

#overlayCloseButton {
  color: #818181;
  margin-top: 20px;
}

#overlayCloseButton:hover {
  color: #0275d8;
}

.selectionBox-inOverlay {
  margin-top: 70px;
  position: absolute;
  z-index: 2;
  display: inline-block;
}

.modalSelector {
  overflow-y: auto;
  max-height: 297px;
  list-style: none;
}