.card-unit {
  display: flex !important;
  border-radius: 0.625rem;
  overflow: hidden;
  box-shadow: 0.1875rem 0.1875rem 0.5rem rgba(0, 0, 0, 0.25);
  margin: 1rem;
  min-height: 50vh;
  position: relative;
}
.caption-other-units{
  position: absolute;
  height: 100%;
  border-radius: 0.625rem !important;
  bottom: 0;
  background: rgba(0,0,0,.75);
}

.caption-other-units > div{
  width: 60%;
  padding: 1rem;
  height: 100%;
}

.card-unit-lesson {
  border-radius: 0.625rem;
  /* box-shadow: 0.1875rem 0.1875rem 0.5rem rgba(0, 0, 0, 0.25); */
  position: relative;
  padding: 0;
  max-height: 50vh;
  overflow-y: auto;
  overflow-x: hidden;
}

.card-unit-lesson > ul > li{
  transition: all .2s;
  padding: 1rem;
  border-radius: 0.625rem;
  margin-bottom: 5px;
  background: var(--site-primary);
  color: white;
}

.card-unit-lesson > ul > li:hover{
  transform: translateX(10px);
}

.card-unit-lesson > ul > li .icons{
  margin-top: .5rem;
}

.card-unit .card-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3rem;
}

.card-unit-loading {
  height: 28rem;
  margin: 2rem 14rem 2rem 14rem;
  border-radius: 0.625rem;
}

.card-unit .separator {
  height: 2px;
  background: var(--site-secondary);
}

.card-unit .card-img {
  overflow: hidden;
  height: auto;
  padding: 0;
}

.card-unit  .preloader-img {
  height: 100%;
  width: 100%;
}

.card-unit .card-img img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.card-unit .card-title,
.card-unit .card-details {
  padding: 1rem;
}

.card-unit .card-details {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-unit .card-info .card-details > p {
  color: #000;
  margin-bottom: 0;
}
.card-unit .card-details #progress {
  margin-top: 3rem;
}
