.diploma-card .desc {
  line-height: 18px;
  font-size: 14px;
  height: 52px;
  overflow: hidden;
}

.diploma-card .diploma-price-tag p {
  background-color: #b90202 !important;
  padding: 3px 10px !important;
  border-radius: 5px;
}
.diploma-btn-cart
{
    background: #1cb34a;
    padding: 13px;
    color: #fff;
    outline: none;
    transition:all 0.2s;
}
.diploma-btn-cart:hover
{
  color: #fff;
  background-color:#117241;
}

.diploma-card .diploma-title {
  padding-bottom: 8px;
  font-weight: 600;
}

.diploma-banner-section {
  position: relative;
  height: 300px;
}

.diploma-banner-section img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.diploma-banner-section::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #0000008c;
}

.diploma-banner-section .text {
  position: absolute;
  right: 30px;
  left: 60px;
  bottom: 40px;
  z-index: 10;
}

.diploma-banner-section .text h1 {
  color: #ffffff;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 18px;
  max-width: 500px;
}

.diploma-banner-section .text h2 {
  color: #cacaca;
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  max-height: 88px;
  overflow: hidden;
  opacity: 0.85;
  border-radius: 5px;
  box-sizing: border-box;
}

@media screen and (max-width: 575px) {
  .diploma-banner-section .text {
    left: 25px;
  }
}

.diploma-card .diploma-btn,
.diploma-btn {
  display: block;
  text-align: center;
  padding: 10px;
  background-color: #c82727;
  color: #ffffff;
}

.diploma-card .diploma-btn.enrolled,
.diploma-btn.enrolled {
  background-color: #366fb6;
}

/* Single Diploma */

.single-diploma-banner-section {
  position: relative;
  height: 300px;
}

.single-diploma-banner-section img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.single-diploma-banner-section::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #0000008c;
}

.single-diploma-banner-section .text {
  position: absolute;
  right: 30px;
  left: 60px;
  bottom: 40px;
  z-index: 10;
}

.single-diploma-banner-section .text h1 {
  color: #ffffff;
  font-size: 26px;
  font-weight: 700;
  max-width: 500px;
}

@media screen and (max-width: 575px) {
  .diploma-banner-section .text {
    left: 25px;
  }
}

.single-diploma-banner-section .fa-star {
  color: #fab624;
}

.diploma-details {
  margin-top: 80px;
  margin-bottom: 30px;
}

.diploma-details .image img {
  width: 100%;
  height: 400px;
  -o-object-fit: cover;
  object-fit: cover;
  box-shadow: 0 0 5px #999999;
  border-radius: 5px;
}

.text-main {
  color: #3467b1;
}
