* {
  box-sizing: border-box;
  font-family: Open Sans;
}

.pagewrapper {
  max-width: 1920px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 20px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#top-space {
  height: auto;
  padding-top: 15px;
  padding-bottom: 25px;
  padding-left: 25px;
}

/* Vector graphics */
svg {
  overflow: hidden;
  vertical-align: middle;
  margin-bottom: 5px;
  margin-right: 5px;
}

.myBar {
  height: 25px;
  background-color: lightblue;
}

.row {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: auto;
  margin-left: auto;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  float: left;
  min-width: 10rem;
  padding: 0.5rem 0;
  margin: 0.125rem 0 0;
  font-size: 1rem;
  color: #212529;
  text-align: left;
  list-style: none;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0.25rem;
}

.dropdown-menu.show {
  display: block;
  background-color: rgb(255, 255, 255);
  width: max-content;
  min-width: 408px;
  padding-top: 15px;
  padding-right: 25px;
  padding-bottom: 30px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.dropdown-item {
  display: block;
  width: 100%;
  padding: 0.25rem 1.5rem;
  padding-top: 0.35rem;
  padding-right: 1.5rem;
  padding-bottom: 0.3rem;
  padding-left: 1.5rem;
  clear: both;
  font-weight: 400;
  color: #212529;
  text-align: inherit;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
}

.flex-item-left,
.flex-item-right {
  flex: 50%;
}

@media (max-width: 800px) {
  .flex-container {
    flex-direction: column;
  }
}

.dropdown-divider {
  height: 0;
  margin: 0.5rem 0;
  margin-top: 20px;
  margin-bottom: 20px;
  overflow: hidden;
  border-top: 1px solid #e9ecef;
}

.col-md-6 {
  position: relative;
  float: left;
  width: max-content;
  max-width: 100%;
}

.spawn-submenu {
  padding-left: 25px;
  color: darkgray;
  padding-top: 10px;
}

.search-container {
  padding-top: 15px;
  padding-left: 25px;
}

.form-group {
  padding-top: 15px;
}

.headline {
  float: left;
  padding-left: 25px;
  padding-bottom: 15px;
  padding-top: 15px;
  color: #737373;
}

.col-sm-3 {
  margin-bottom: 25px;
}

.footer {
  width: 100%;
  min-height: 64px;
  max-height: fit-content;
  display: flex;
  flex-direction: row;
  justify-content: center;
  background-color: #343a40;
  text-align: center;
}

.div-footer {
  width: auto;
  margin-top: 45px;
  padding-right: 50px;
  color: white;
  float: left;
}

.container-fluid {
  color: #737373;
}

.dot {
  height: 10px;
  width: 10px;
  background-color: #b3b3b3;
  border-radius: 50%;
  float: left;
  margin-right: 15px;
  margin-top: 7px;
}

.nav-item {
  padding-right: 50px;
}

.logo-footer {
  width: 256px;
  height: auto;
}

.logo-container {
  float: left;
}

a {
  color: #b3b3b3;
}

a:hover {
  color: #d8d8d8;
}

.card {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  text-align: center;
}

.card-title {
  padding-bottom: 15px;
}

.card-text {
  text-align: left;
}

.modal-title {
  padding-top: 5px;
}

#university,
#repository,
#file-format,
#status,
#difficulty {
  color: darkgray;
}

::placeholder {
  color: darkgray;
}

/* Star rating */
// The following classes are used to style a five star rating system.
// This probably should not be in navbar.scss, but in a file for search results.
// Currently, rating is not implemented.
.rate {
  float: right;
  height: auto;
  padding: 0 10px;
  padding-top: 12px;
}

.rate:not(:checked) > input {
  position: absolute;
  top: -9999px;
}

.rate:not(:checked) > label {
  float: right;
  width: 1em;
  overflow: hidden;
  white-space: nowrap;
  cursor: pointer;
  font-size: 18px;
  color: #ccc;
}

.rate:not(:checked) > label:before {
  content: '★ ';
}

.rate > input:checked ~ label {
  color: #ffc700;
}

.rate:not(:checked) > label:hover,
.rate:not(:checked) > label:hover ~ label {
  color: #deb217;
}

.rate > input:checked + label:hover,
.rate > input:checked + label:hover ~ label,
.rate > input:checked ~ label:hover,
.rate > input:checked ~ label:hover ~ label,
.rate > label:hover ~ input:checked ~ label {
  color: #c59b08;
}