.newest {
    width: 775px;
    height: 435px;
}

.card {
    flex-direction: unset;
}

.img-inner {
    height: 91px;
	flex-shrink: 0;
}
.img-inner img {
	object-fit: cover!important;
}
.unit-list {
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.06);
}

.card-text, .card-title {
    color: #333 !important;
}

.unit-list:not(:last-child) {
    margin-bottom: 24px;
}

.unit-card-body {
    padding: 10px;
}

.row ul {
    padding: 0 !important;
}

.newest img {
  vertical-align: bottom;
}

.category-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  list-style-type: none;
}

.category-list li {
  flex: 0 1 31%;
}


/* Relatively-positioned the `.overlay-title` container */

.category-list li,
.category-details {
  position: relative;
}

.category {
  position: absolute;
  top: 10%;
  right: 10%;
  background-color: #00ae6f;
  color: #ffffff;
  padding: 0px 10px;
}

.category-details {
  position: relative;
  color: #fff;
}


/* Made the appropriate positioning, display, and background changes to the overlay div. This will do the job. */

.overlay-title {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 2em;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: flex-end;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
  background-size: 100% 50%;
  background-position: 0 100%;
  background-repeat: no-repeat;
  z-index: 999;
}

.overlay-title h3 {
  font-size: 20px;
  font-weight: 700;
}

.overlay-title h5 {
  font-size: 14px;
  font-weight: 200;
}


/* Gave some margin to make the overlay text look good */

.overlay-title h3,
.overlay-title h5 {
  margin: 0 0 1em;
}

.newest, .unit-list {
	cursor: pointer;
}

.modal-mask {
  position: fixed;
  z-index: 9998;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: table;
  transition: opacity 0.3s ease;
}

.modal-wrapper {
  display: table-cell;
  vertical-align: middle;
}

.modal-container {
  width: 50vw;
  margin: 0px auto;
  padding: 10px;
  background-color: #fff;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.33);
  transition: all 0.3s ease;
  font-family: Helvetica, Arial, sans-serif;
}

.modal-header h3 {
  margin-top: 0;
  color: #42b983;
}

.modal-body {
  margin: 20px 0;
}

.modal-default-button {
  float: right;
}

/*
 * The following styles are auto-applied to elements with
 * transition="modal" when their visibility is toggled
 * by Vue.js.
 *
 * You can easily play with the modal transition by editing
 * these styles.
 */

.modal-enter-from,
.modal-leave-to {
  opacity: 0;
}

.modal-enter-active .modal-container,
.modal-leave-active .modal-container {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}
.modal-body iframe {
	height: 510px !important;
}

@media only screen and (max-width: 600px) {
  .modal-container {
  	width: 100vw;
  }
	.modal-body iframe {
	height: 24vh!important;
}
}
.spinner {
  margin: 30px auto;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.308);
  animation: spin 1s linear infinite;
  border-bottom-color: #d30000;
}

@keyframes spin {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(360deg);
  }
}
.form-control {
  color: var(--main-text-color)!important;
}