.class-wrapper .main-content {
  width: 100%;
  max-width: 1325px;
  padding: 40px;
  padding-bottom: 40px;
  margin: 0 auto;
}

/* live-open-classes */

.live-open-classes-video {
  display: flex;
  margin-top: 50px;
  max-width: 1325px;
  width: 100%;
  background: url("../img/loader-color.webp") center center no-repeat;
}

.loc-video {
  width: 100%;
  min-width: calc(100% - 370px);
  aspect-ratio: 16 / 9;
}

.loc-chat {
  min-width: 370px;
  min-height: 607px;
}

.live-open-classes-header {
  display: flex;
  max-width: 1325px;
  width: 100%;
}

.loc-header {
  margin-top: 40px;
  margin-right: 20px;
  width: 71%;
}

.class-wrapper .small-info {
  min-width: 370px;
}

.class-wrapper .loc-certificacion {
  display: flex;
  background-color: var(--light-grey);
  border: 1px solid var(--black);
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  padding: 35px;
}

.class-wrapper .loc-certificacion img {
  margin-right: 20px;
}

.class-wrapper .loc-certificacion > div {
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
}

.class-wrapper .loc-certificacion h3 {
  font-weight: 500;
}

.class-wrapper .loc-certificacion a {
  text-align: center;
  width: 100%;
  margin-top: 20px;
  text-transform: uppercase;
  font-size: 12px;
  color: #000;
  text-decoration: underline;
}

.class-wrapper .socials {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

.class-wrapper .socials a {
  margin-left: 10px;
}

.class-wrapper .loc-header span {
  font-size: 14px;
}

.class-wrapper .loc-header p {
  margin-top: 30px;
}

.class-wrapper .oct-content ul {
  display: flex;
  flex-wrap: wrap;
}

.class-wrapper .oct-card {
  display: flex;
  width: 100%;
  max-width: 376px;
}

.class-wrapper .oct-card .teacher-title {
  font-size: 12px;
}

.class-wrapper .oct-card .teacher-name {
  font-size: 14px;
}

.class-wrapper .dh-logos {
  margin-top: 40px;
  margin-bottom: 20px;
  max-width: none;
}

.class-wrapper .dh-logos ul {
  display: flex;
  flex-flow: row wrap;
  width: 100%;
  list-style: none;
}

.class-wrapper .dh-logos li {
  display: flex;
  flex-flow: column;
  margin-right: 75px;
}

.class-wrapper .dh-logos li span {
  margin-top: 0;
  font-size: 12px;
}

.class-wrapper .dh-logos li img {
  margin: auto;
  margin-left: 0;
  margin-top: 15px;
}

.class-wrapper .banner {
  width: 100%;
}

.class-wrapper .banner .content {
  width: 100%;
  height: 100%;
  min-height: 350px;
  display: flex;
  position: relative;
  overflow: hidden;
  animation: animatedBg 30s ease infinite;
}

.class-wrapper .banner .content::after {
  content: "";
  display: block;
  width: 100%;
  height: 5px;
  position: absolute;
  bottom: 0;
  background: linear-gradient(
    90deg,
    rgba(160, 101, 254, 1) 0%,
    rgba(158, 102, 252, 1) 41%,
    rgba(151, 107, 247, 1) 56%,
    rgba(139, 115, 237, 1) 66%,
    rgba(100, 142, 206, 1) 82%,
    rgba(73, 161, 185, 1) 88%,
    rgba(41, 183, 159, 1) 94%,
    rgba(0, 212, 127, 1) 100%
  );
}

.class-wrapper .banner.themes .content {
  padding-bottom: 30px;
  background-image: none;
}

.class-wrapper banner.themes.sustainability .content {
  background-color: #2feda2;
}

.class-wrapper .banner.themes.education .content {
  background-color: #66e1ff;
}

.class-wrapper .banner.themes.creativity .content {
  background-color: #bca1f5;
}

.class-wrapper .banner.themes.welfare .content {
  background-color: #ff78e1;
}

.class-wrapper .banner .content img {
  width: 100%;
}

.class-wrapper .banner .info {
  position: absolute;
  top: 0;
  bottom: 0;
  margin-top: auto;
  display: flex;
  flex-flow: column;
  justify-content: center;
  color: #fff;
  width: 1255px;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  padding-left: 135px;
}

.class-wrapper .banner .info p {
  color: #fff;
}

/* upcoming-open-classes */
.class-wrapper .uoc-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.class-wrapper .uoc-jcarousel-control img:hover {
  transform: scale(1.05);
}

.class-wrapper .uoc-jcarousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 1325px;
}

.class-wrapper .uoc-ul {
  width: 100%;
  position: relative;
  list-style: none;
  margin-top: 30px;
  display: flex;
  flex-direction: row;
}

.class-wrapper .uoc-li {
  margin-right: calc((100% - (384px * 3)) / 2);
  display: flex;
  flex-flow: column;
  margin-bottom: 50px;
}

.class-wrapper .uoc-li .featured-card {
  margin-top: 0;
  margin-bottom: 60px;
}

/* previous-open-classes */
.class-wrapper .openclass-prev {
  background-color: var(--light-grey);
  width: 100%;
  max-width: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 0;
}

.class-wrapper .poc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1325px;
  padding: 0 40px;
}

.class-wrapper .openclass-prev .main-info {
  width: 100%;
  max-width: 1350px;
  padding: 0 40px;
}

.class-wrapper .poc-jcarousel-control img:hover {
  transform: scale(1.05);
}

.class-wrapper .openclass-card {
  margin: 30px 0;
  margin-bottom: 0;
  max-width: 385px;
  position: relative;
  display: flex;
  flex-flow: column;
}

.class-wrapper .openclass-img {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  display: flex;
  padding: 20px;
  position: relative;
  min-width: 384px;
  min-height: 216px;
}

.class-wrapper .openclass-content {
  box-sizing: border-box;
  height: 100%;
  /*max-height: 350px;*/
  padding-top: 40px;
  margin-top: -20px;
  flex: 1;
}

.class-wrapper .openclass-content > h3,
.class-wrapper .openclass-content > a > h3 {
  font-size: 22px;
  color: var(--black);
  margin-bottom: 16px;
}

.class-wrapper .openclass-content p.p-primary {
  font-size: 18px;
  font-weight: 500;
}

.class-wrapper .openclass-content p {
  font-size: 16px;
}

.class-wrapper .poc-jcarousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 1325px;
}

.class-wrapper .poc-ul {
  width: 100%;
  position: relative;
  list-style: none;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {
  .class-wrapper .poc-ul {
    grid-template-columns: repeat(1, 1fr);
  }
}
/* .class-wrapper .poc-li {
  margin-right: calc((100% - (384px * 3)) / 2);
  margin-top: 30px;
  display: grid;
  grid-template-rows: 1fr 1fr;
} */

.class-wrapper .poc-li .openclass-card {
  margin-top: 0;
  margin-bottom: 50px;
}

.class-wrapper .poc-li .openclass-img {
  display: flex;
  justify-content: center;
}

.class-wrapper .poc-li .openclass-content p:first-of-type {
  margin-bottom: 10px;
}

.class-wrapper .poc-img-modal {
  cursor: default;
}

.class-wrapper .poc-li .openclass-img a {
  cursor: pointer;
  display: flex;
}

.class-wrapper .poc-li .classvideo-btn {
  cursor: pointer;
  width: 100%;
}

.class-wrapper .oct-content {
  width: 100%;
  max-width: 900px;
  margin-top: 20px;
}

.class-wrapper .oct-content ul {
  list-style: none;
}

.class-wrapper .oct-content li {
  min-width: 400px;
}

.class-wrapper .oct-content .oct-card {
  margin-top: 20px;
}

.class-wrapper .oct-content .oct-card > div:not(.teacher-photo) {
  padding-top: 0;
  display: flex;
  flex-flow: column;
}

.class-wrapper .oct-content .oct-card > div:not(.teacher-photo) p {
  margin-top: 5px;
}

.class-wrapper .oct-content .oct-card > div:not(.teacher-photo) a {
  margin-top: auto;
}

.class-wrapper .oct-card .teacher-photo {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 8px;
  height: 113px;
  width: 100%;
  min-width: 110px;
  margin-right: 14px;
}

.class-wrapper .oct-card .teacher-social img {
  margin-top: 10px;
  width: 24px;
}
.class-live {
  padding-bottom: 50px;
}
