.oppetoo-nav {
  display: flex;
  align-items: center;
  height: 32px;
  margin-left: 5px;
}

.oppetoo .paevik-row,
.paevik-yritused-row.paevik-row,
.paevik-tahtajad-row.paevik-row {
  grid-template-columns: 1fr;
  display: grid;
  gap: 3px;
  background-color: #fff;
  padding: 15px 16px;
  margin-bottom: 12px;
  border-radius: .5rem;
  align-items: center;
  justify-content: space-between;
  position: relative;
  border: .115em solid #e8e8e8 !important;
}

.paevik-tahtajad-row.paevik-row {
  background-color: #E0F3FF;
}

h3.oppetoo-pealkiri {
  margin: 20px 0px 5px 0px;
  font-size: 1.4em;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.oppetoo-tunnid-pealkiri {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

h3.oppetoo-tunnid-pealkiri:before,
h3.oppetoo-yritused-pealkiri:before,
h3.oppetoo-tahtajad-pealkiri:before {
  content: url("ikoonid/tunnid.svg");
  margin: 0;
  vertical-align: middle;
  margin-right: 5px;
  background-color: #FBEDB1;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: .3em;
  margin-left: 5px;
}

h3.oppetoo-yritused-pealkiri:before {
  content: url("ikoonid/uritused.svg");
}

h3.oppetoo-tahtajad-pealkiri:before {
  content: url("ikoonid/tahtajad.svg");
}

.oppetoo-nav-date {
  margin-left: 10px;
  margin-right: 10px;
  font-size: 1.1rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-top: 5px;
}

.oppetoo-nav-date:before {
  content: url("ikoonid/calendar.svg");
  margin: 0;
  margin-right: 5px;
  transform: scale(0.9);
}

.oppetoo-tunnid-nimetus,
.oppetoo-tunnid-aeg,
.oppetoo-tunnid-asukoht {
  margin-right: 50px;
}

.oppetoo-tunnid-aeg,
.oppetoo-yritused-aeg {
  display: inline-flex;
  align-items: center;
  color: #666;
  font-size: 0.9em;
}

.oppetoo-tunnid-nimetus,
.oppetoo-yritused-nimetus,
.oppetoo-tahtajad-nimetus {
  font-size: 1.1rem;
  margin-bottom: 5px;
  font-weight: 500;
}

.oppetoo-tahtajad-nimetus {
  margin-bottom: 0px;
}

.oppetoo-tahtajad-sisu {
  white-space: pre-line;
}

.oppetoo-tunnid-asukoht,
.oppetoo-yritused-asukoht {
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  margin-top: -5px;
}

.oppetoo-tunnid-aeg:before,
.oppetoo-yritused-aeg:before {
  content: url("ikoonid/calendar_clock.svg");
  margin: 0;
  vertical-align: middle;
  margin-right: 5px;
  opacity: .5;
}

.oppetoo-tunnid-asukoht:before,
.oppetoo-yritused-asukoht:before {
  content: url("ikoonid/location.svg");
  margin: 0;
  vertical-align: middle;
  margin-right: 5px;
  opacity: .5;
}

.oppetoo-tunnid-kohal-puudu:before,
.oppetoo-tunnid-kohal-kohal:before {
  content: url("ikoonid/puudus.svg");
  margin: 0;
  width: 24px;
  height: 24px;
}

.oppetoo-tunnid-kohal-kohal:before {
  content: url("ikoonid/kohal.svg");
}

.oppetoo-tunnid-kohal-puudu {
  position: relative;
  background-color: #FEE8E7;
}

.oppetoo-tunnid-kohal-kohal {
  position: relative;
  background-color: #E6F5E7;
}

.oppetoo-tunnid-kohal-puudu:after,
.oppetoo-tunnid-kohal-kohal:after {
  content: "";
  position: absolute;
  opacity: 0;
  visibility: hidden;
}

.oppetoo-tunnid-kohal-puudu:hover:after,
.oppetoo-tunnid-kohal-kohal:hover:after {
  content: "Puudumine";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #000;
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 1;
  visibility: visible;
  z-index: 100;
  font-size: .85em;
}

.oppetoo-tunnid-kohal-kohal:hover:after {
  content: "Kohal";
}

.oppetoo-tunnid-kohal {
  position: absolute;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 767.98px) {
  .oppetoo-nav {
    justify-content: center;
    margin-left: 0px;
  }
}
