/* width */
::-webkit-scrollbar {
  width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

* {
  scrollbar-width: thin;
  scrollbar-color: #888 #f1f1f1;
  font-family: Arial, sans-serif;
}

body {
  overflow-y: scroll;
}

.navright {
  width: 50%;
  float: right;
  text-align: right;
}
.navleft {
  width: 50%;
  float: left;
  text-align: left;
}
#modeButton {
  margin: 0 15px;
}

.light-mode {
  background-color: #ffffff;
  color: #000000;
}

html.dark body {
  background-color: #000000;
  color: #ffffff;
}

button {
  background-color: #4682b4;
  border: none;
  border-radius: 12px;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
}

.release-notes {
  margin: 0 auto;
  width: 95%;
  border-top: 1px solid #ccc;
  position: relative;
  max-height: 40px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s;
}
.release-notes:hover, .release-notes.expand {
  background-color: #eeeeee;
}
html.dark .release-notes:hover, html.dark .release-notes.expand {
  background-color: #333333;
}

.release-notes.expand {
  max-height: 95vh;
  animation-name: release-notes-enable-scroll;
  animation-delay: 0.3s;
  animation-duration: 0.1s;
  animation-fill-mode: forwards;
}
@keyframes release-notes-enable-scroll {
  0% {
  }
  100% {
  overflow-y: auto;
}
}

.release-title {
  font-size: 14px;
  height: 30px;
  display: flex;
  align-items: center;
  padding-right: 110px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-top: 10px;
}
.tag {
  height: 40px;
  line-height: 40px;
  width: 120px;
  padding-left: 5px;
  flex-shrink: 0;
  padding-left: 10px;
  margin-left: 20px;
  font-size: 10px;
}
.tag:before {
  position: absolute;
  content: "";
  width: 20px;
  height: 20px;
  border-radius: 10px;
  top: 10px;
  left: 5px;
}
.tag:after {
  position: absolute;
  top: 0px;
  left: 30px;
  height: 40px;
  line-height: 40px;
}
.tag.new-feature:before {
  background-color: #00ff00;
}
.tag.new-feature:after {
  content: "New Feature";
}
.tag.feature-enhancement:before {
  background-color: #0000ff;
}
.tag.feature-enhancement:after {
  content: "Feature Enhancement";
}
.tag.fix:before {
  background-color: #ff0000;
}
.tag.fix:after {
  content: "Fix";
}
.version {
  font-style: italic;
  position: absolute;
  top: 0px;
  left: 150px;
  font-size: 10px;
  line-height: 15px;
  height: 15px;
}

.date {
  position: absolute;
  top: 0;
  right: 5px;
  font-size: 12px;
  line-height: 40px;
}

.description {
  margin: 10px;
  text-align: justify;
  margin-left: 150px;
  font-size: 14px;
}
section {
  margin: 10px;
  margin-left: 150px;
}
#rel-notes-end {
  border-top: 1px solid #ccc;
  width: 95%;
  margin: 0 auto;
}
h1 {
  text-align: center;
}
.centerlogo {
  display: block;
  margin: auto;
  position: relative;
  text-align: center;
  padding-left: 10%;
  padding-right: 10%;
}
.search-bar {
  width: calc(100% - 60px);
  height: 90px;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  background-color: #cccc;
  padding: 10px;
  margin: 20px;
}
#filter {
  flex: 1;
  display: flex;
}
#tag-filter,
#section-filter,
#date-filter,
#search-filter {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 10px;
}
#tag-filter select,
#section-filter select,
#date-filter input[type="date"],
#search-filter input {
  width: 100%;
  padding: 3px;
}
#reset-filter {
  align-self: center;
  background-color: #315a7d;
  border: none;
  border-radius: 10px;
  color: white;
  text-align: center;
  display: flex;
  font-weight: bold;
  cursor: pointer;
  position: relative;
  flex-direction: column;
}
img {
  max-width: 100%;
}
#myImg {
  border: 1px solid grey;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
  vertical-align: top;
  margin: 5px;
  height: 150px;
  display: inline-block;
}

#myImg.myVideos video {
  width: 100%;
  height: 100%;
}

#myImg.myVideos {
  position: relative;
}

#myImg.myVideos:after{
  position: absolute;
  content: '';
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  margin-left: -15px;
  margin-top: -15px;
  background-color: white;
  border-radius: 30px;
  background-image: url( "data:image/svg+xml,%3Csvg%20class%3D%22svg-icon%22%20style%3D%22width%3A%20100em%3B%20height%3A%20100em%3Bvertical-align%3A%20middle%3Bfill%3A%20currentColor%3Boverflow%3A%20hidden%3B%22%20viewBox%3D%220%200%201024%201024%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M512%20960A448%20448%200%201%200%20512%2064a448%20448%200%200%200%200%20896z%20m0%2064A512%20512%200%201%201%20512%200a512%20512%200%200%201%200%201024z%22%20fill%3D%22%23333333%22%20%2F%3E%3Cpath%20d%3D%22M448%20422.656v217.088L621.632%20531.2%20448%20422.656z%20m14.336%20283.584A51.2%2051.2%200%200%201%20384%20662.848V399.552a51.2%2051.2%200%200%201%2078.336-43.392l210.56%20131.648a51.2%2051.2%200%200%201%200%2086.784l-210.56%20131.648z%22%20fill%3D%22%23333333%22%20%2F%3E%3C%2Fsvg%3E" );
  pointer-events: none;
}

html.dark .release-notes > section:after {
  filter: invert(1);
}

.release-notes > section:after {
  position: absolute;
  content: '';
  top: 10px;
  right: 70px;
  width: 20px;
  height: 20px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 122.88 91.27'><defs><style>.cls-1{fill-rule:evenodd;}</style></defs><path class='cls-1' d='M87.29,16.88A11.35,11.35,0,1,1,75.94,28.23,11.35,11.35,0,0,1,87.29,16.88Zm27.33,74.39H8.26a8.27,8.27,0,0,1-5.83-2.44h0A8.24,8.24,0,0,1,0,83V8.26A8.26,8.26,0,0,1,2.42,2.42h0A8.26,8.26,0,0,1,8.26,0H114.62a8.26,8.26,0,0,1,5.83,2.43h0a8.26,8.26,0,0,1,2.42,5.84V83a8.24,8.24,0,0,1-2.42,5.83h0a8.27,8.27,0,0,1-5.83,2.44Zm-7.35-9.43L87.6,50.46a4.52,4.52,0,0,0-7.65,0L70.66,65.39,80.77,81.84H76.62l-27.57-44c-2.54-3.39-6.61-3.13-8.88,0l-27,44H9.42V9.42h104V81.84Z'/></svg>") no-repeat center;
}
#myImg:hover {
  opacity: 0.7;
}

.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 1;
  /* Sit on top */
  padding-top: 100px;
  /* Location of the box */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.9);
  /* Black w/ opacity */
}

.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

.modal-content,
#caption {
  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

@media only screen and (max-width: 700px) {
  .modal-content {
    width: 100%;
  }
}

/* The Footer Modal (background) */
.modal2 {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
  -webkit-animation-name: fadeIn; /* Fade in the background */
  -webkit-animation-duration: 0.4s;
  animation-name: fadeIn;
  animation-duration: 0.4s;
}

/* Modal Content */
.modal-content2 {
  position: fixed;
  bottom: 0;
  width: 100%;
  -webkit-animation-name: slideIn;
  -webkit-animation-duration: 0.4s;
  animation-name: slideIn;
  animation-duration: 0.4s;
}

/* The Close Button */
.close2 {
  color: white;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close2:hover,
.close2:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.modal-header2 {
  padding: 2px 16px;
  background-color: #4682b4;
  color: white;
  text-align: center;
}

.modal-body2 {
  padding: 2px 16px;
  text-align: center;
  background-color: #ffffff;
}
html.dark .modal-body2 {
  background-color: #000000;
}
.modal-footer2 {
  padding: 2px 16px;
  background-color: #4682b4;
  color: white;
  text-align: center;
}

#poweredByButton {
  background-color: #4682b4;
  border: none;
  color: white;
  text-align: center;
  text-decoration: none;
  font-size: 12px;
  cursor: pointer;
  border-radius: 10px;
  display: block;
  font-weight: bold;
  position: fixed;
  z-index: 1;
  right: 10px;
  bottom: 10px;
}

#returnToTopButton {
  background-color: lightgray;
  border: none;
  color: white;
  text-align: center;
  text-decoration: none;
  font-size: 12px;
  cursor: pointer;
  border-radius: 12px;
  position: fixed;
  z-index: 1;
  left: 10px;
  bottom: 10px;
  padding: 10px;
}

/* Add Animation */
@-webkit-keyframes slideIn {
  from {
    bottom: -300px;
    opacity: 0;
  }
  to {
    bottom: 0;
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    bottom: -300px;
    opacity: 0;
  }
  to {
    bottom: 0;
    opacity: 1;
  }
}

@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
