.common_banner {
  position: relative;
  padding: 260px 0;
  background: url(../images_new/training/training-banner.png) no-repeat center;
  background-size: cover;
}

.common_banner .txt {
  max-width: 600px;
}

.common_banner .txt.sm {
  max-width: 430px;
}

.community-section {
  position: relative;
  background-color: var(--bgColor300);
}

.community-section h2 {
  position: relative;
  display: inline-block;
}

.community-section .teacher_h::after {
  position: absolute;
  right: -88px;
  bottom: -5px;
  background-image: url('../images_new/community/teacher.png');
  background-size: contain;
  width: 80px;
  height: 80px;
  content: '';
  display: block;
  background-repeat: no-repeat;
  background-position: center;
}

.community-section .student_h::after {
  position: absolute;
  right: -88px;
  bottom: 8px;
  background-image: url('../images_new/community/student.png');
  background-size: contain;
  width: 70px;
  height: 70px;
  content: '';
  display: block;
  background-repeat: no-repeat;
}

.community-card {
  position: relative;
  padding: 20px 12px;
  border-radius: 12px;
  background-color: var(--white);
  -webkit-box-shadow: 0px 4px 8px 0px #0000000D;
  box-shadow: 0px 4px 8px 0px #0000000D;
  margin-bottom: 16px;
  -webkit-transition: all 200ms ease;
  transition: all 200ms ease;
  overflow: hidden;
}

.community-card .dwnboxes {
  background: #fff;
  transform: translateY(64px);
  transition: all 0.3s ease-in;
  -webkit-transition: all 0.3s ease-in;
}

.community-card:hover .dwnboxes {
  transform: translateY(0px);
}

.community-card:hover {
  -webkit-box-shadow: 0px 4px 12px 2px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 4px 12px 2px rgba(0, 0, 0, 0.1);
}

.community-card figure {
  margin-bottom: 16px;
}

.community-card figure img {
  width: 148px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  margin: 0 auto;
}

.community-card .tag {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 6px;
  color: var(--violet);
  background: #D2D9FFCC;
  margin-bottom: 10px;
  font-size: 15px;
}

.community-card .hd {
  color: #000;
  display: block;
  margin-bottom: 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.community-card .add-in-lac {
  background: #e8e8e8;
  border-color: #e8e8e8;
  color: #636363;
  padding: 10px 0;
}

.inner-body {
  max-width: 507px;
  margin: 0 auto;
  padding: 20px 0 40px;
}

/* Create Post  */
.create-post {
  position: relative;
  margin-bottom: 40px;
}

.create-post .inner {
  padding: 0 30px;
  border-radius: 24px;
  background-color: var(--purple400);
  color: var(--white);
}

.create-post .text {
  padding: 22px 0px;
}

.create-post figure {
  text-align: right;
  margin-top: -26px;
}

.create-post figure img {
  margin-left: auto;
}

/* Create Post ends */


/* Dsicussion */
.discussion-input {
  position: relative;
  width: 100%;
  padding-left: 24px;
}

.discussion-input textarea {
  width: 100%;
  border: 1px solid rgba(102, 102, 102, 0.349);
  padding: 10px;
  border-radius: 8px;
  font-family: "Poppins", sans-serif;
  font-size: 18px;
}

.discussion-input textarea::-webkit-input-placeholder {
  color: #11111166;
}

.discussion-input textarea:-ms-input-placeholder {
  color: #11111166;
}

.discussion-input textarea::-ms-input-placeholder {
  color: #11111166;
}

.discussion-input textarea::placeholder {
  color: #11111166;
}

.community-section {
  position: relative;
  padding: 40px 0;
}

.discussion-section {
  position: relative;
  padding-bottom: 40px;
}

.discussion-section .comment .bbtn.white {
  -webkit-box-shadow: 0px 2px 4px 0px #00000017;
  box-shadow: 0px 2px 4px 0px #00000017;
}

.discussion-section .right {
  text-align: right;
}

.discussion-input button {
  position: absolute;
  top: auto;
  bottom: 0;
  right: 0;
  border-bottom-right-radius: 8px;
  background-color: var(--cream100);
  padding: 12px;
  border: none;
  z-index: 2;
  transform: none;
  -webkit-transform: none;
}

.discussion-thread .inner_block.post_comment {
  margin-left: 120px;
}

.discussion-thread {
  padding: 32px 0;
}

.discussion-thread:not(:last-child) {
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.2);
}

.discussion-thread .dp {
  border-radius: 50%;
  width: 52px;
  aspect-ratio: 1/1;
}

.make-a-comment {
  padding-left: 24px;
  margin-top: 40px;
}

.vote-btns button {
  opacity: 0.6;
  font-size: 16px;
}

.chat-imgs {
  position: relative;
  margin: 40px -11px;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.chat-imgs figure {
  padding: 0 11px;
  max-width: 287px;
}

.chat-imgs figure img {
  border-radius: 12px;
  aspect-ratio: 1 / 1;
  -o-object-fit: cover;
  object-fit: cover;
}

.report-inner {
  max-width: 610px;
  margin: 0 auto;
  padding: 60px 10px;
}

.lacComment .comment_option {
  top: 30px;
}

/* Discussion ends */


@media screen and (max-width: 1280px) {
  .common_banner {
    padding: 200px 0;
  }

  .community-card figure img {
    width: 120px;
  }

  .community-card .tag {
    font-size: 14px;
  }

  .community-section .student_h::after {
    width: 60px;
    height: 60px;
    right: -68px;
  }
}

@media screen and (max-width: 1024px) {
  .community-card figure img {
    width: 100px;
  }
}


@media screen and (max-width: 992px) {
  .right-top {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .right-top .search-input {
    padding: 10px 0 0;
  }

  .search_wrap {
    margin-left: 0;
    max-width: 100%;
    flex: 0 0 100%;
    width: 100%;
    margin-top: 20px;
  }

  .common_banner {
    padding: 150px 0;
  }

  .community-section .txt_wrap {
    text-align: center;
    max-width: 100%;
    flex: 0 0 100%;
    width: 100%;
  }

  .community-section .teacher_h::after,
  .community-section .student_h::after {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  .save-inner-body {
    padding: 30px 0;
  }

  .chat-imgs figure {
    max-width: 50%;
  }

  .make-a-comment {
    padding-left: 0;
  }

  .discussion-input {
    padding-left: 10px;
  }

  .discussion-input textarea {
    font-size: 14px;
  }

  .report-inner {
    padding: 34px 0px;
  }
}

@media screen and (max-width: 576px) {
  .search-input.lg {
    width: 100%;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .search-input.lg .bbtn {
    margin-left: 0;
    margin-top: 10px;
    width: 100%;
    font-size: 14px;
  }

}