.content-page {
  background-color: #f1f1f5;
}

.content-left {
  padding: 0;
  background-color: #ffff !important;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
}

.photo-over{
  width: 100%;
  height: 100%;
  position: absolute;
  bottom: 0;
  right: 0;
  transition: 0.25s ease-in-out;
  cursor: pointer;
}

.photo-over:hover{
  background-color: #43597173;
}

/* Content-left */
.last-homework .sp_navtab .nav-tabs {
  font-size: 1.3rem !important;
}

.last-homework .sp_navtab .nav-tabs li {
  text-align: center;
  flex: 1;
}

.last-homework .sp_navtab .nav-tabs > li > a {
  padding: 1rem;
}

.warning {
  box-shadow: 0 0 0 2px rgba(255, 203, 0, 0.78);
  border: 4px solid #f5f5f5;
}

.success {
  box-shadow: 0 0 0 2px rgba(7, 177, 0, 0.39);
  border: 4px solid #f5f5f5;
}

.danger {
  box-shadow: 0 0 0 2px #ff000061;
  border: 4px solid #f5f5f5;
}

.persons-box img.danger {
  box-shadow: 0 0 0 2px #ff000061;
  border: 4px solid #f5f5f5;
}

.persons-box img.warning {
  box-shadow: 0 0 0 2px rgba(255, 203, 0, 0.78);
  border: 4px solid #f5f5f5;
}

.persons-box img.success {
  box-shadow: 0 0 0 2px rgba(7, 177, 0, 0.39);
  border: 4px solid #f5f5f5;
}

.last-homework-search input {
  padding: 0.5rem 1rem;
  border: 2px solid var(--bordergray);
  border-radius: var(--border-li);
  transition: .25s ease-in-out;
}

.last-homework-search input:focus {
  outline: none;
  border: 2px solid #334155;

}

.last-homework-search a {
  left: 1rem;
  color: #334155;
}

.last-homework-search {
  width: calc(100% - 2rem);
  margin: auto;
}

.persons-box {
  flex-wrap: wrap;
  justify-content: space-around;
}

.persons-box .contain {
  margin: 0.5rem;
  /* width: calc((100% / 4) - 2rem); */
  display: none;
  position: relative;
}

.bg-color-grass-green {
  background-color: #009933;
  color: white;
}

.bg-color-spring-green {
  background-color: lime;
  color: white;
}

.bg-color-dark-yellow {
  background-color: #ffe700;
  color: black;
}

.bg-color-light-orange {
  background-color: #ff6600 !important;
  color: white !important;
}

.bg-color-red {
  background-color: red;
  color: white;
}

.persons-box .contain.d-block {
  display: block;
}


.img-rate {
  border-radius: 50%;
  padding: 0.5rem;
  font-size: 1.2rem;
  border: 1px solid white;
  line-height: 1rem;
  margin-top: 1rem;
  position: absolute;
  bottom: -8px;
  left: -2px;
  width: 2.3rem;
  height: 2.3rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.test2 li a {
  padding: 10px 12px !important;
}

.img-header {
  color: white;
}

.img-footer {
  color: white;
  bottom: 1rem;
}

/*.img-details {*/
/*  flex-direction: column;*/
/*}*/

.category-name h4 a {
  color: white;
}

.profile img {
  width: 4.3rem;
}

.profile-name {
  font-size: 1.6rem;
}

.content-right-middle-header h4,
.content-right-middle-middle h4 {
  display: inline-block;
}

.content-right-middle-middle {
  text-align: justify;
}

.content-text {
  line-height: 3.2rem;
}

.profile-img {
  background-color: #f5f5f5;
  width: 3.5rem !important;
}

.tags i {
  font-size: 1.7rem;
}

.homework-profile-img{
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}



/* Comment */

.comment-box .comment {
  background-color: #e4e4e4;
  height: auto;
  border-top-right-radius: 3.5rem;
  border: 1.5px solid #b9b9b9;
}

.comment-box .comment img {
  width: 5rem;
  height: 5rem;
}

.comment-content-header span {
  color: #b5b5b5;
  font-size: 1.25rem;
}

.comment-box .reply {
  background-color: #e4e4e4;
  border-radius: 5rem;
  padding: 0.5rem;
  margin-right: 0.5rem;
  border: none;
  display: flex;
  border: 1.5px solid #b9b9b9;
  justify-content: center;
}

.comment-box .info {
  background-color: transparent;
  padding: 0.5rem;
  margin-right: 0.5rem;
  border: none;
  display: flex;
}

.comment .likecom {
  background-color: #5cb85c;
  border-radius: 5rem;
  padding: 0.5rem;
  border: none;
  display: flex;
}

.comment .dislike {
  background-color: #d9534f;
  border-radius: 5rem;
  padding: 0.5rem;
  margin-right: 0.5rem;
  border: none;
  display: flex;
}

.comment-details {
  bottom: -5px;
}

.comment-details span {
  margin-right: 0.5rem;
}


@media (max-width: 400px) {
  .img-details {
    font-size: 1rem !important;
  }

  .Hourglass {
    width: 3rem !important;
  }
}

@media (max-width: 480px) {

  .multimedia-video-content {
    flex-direction: column !important;
  }

  .multimedia-video-caption,
  .multimedia-video-content video {
    width: 100% !important;
  }

  .multimedia-video-caption p {
    font-size: 1.3rem;
  }

  .like {
    right: calc(50% - 22px);
    padding: 1.4rem;
  }

  .img-footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .rating-css input + label {
    font-size: 1.4rem !important;
  }
}

@media (max-width: 576px) {
  .img-details {
    font-size: 1.2rem;
  }

  .profile img {
    width: 3.5rem;
  }

  .profile span a {
    font-size: 1.2rem !important;
  }
}

@media (max-width: 768px) {
  .hh {
    width: calc(50% - 1.5rem);
  }

  .content-left {
    height: auto;
  }
}

/* photo-gallery */

.photo-gallery {
  color: #313437;
}

.photo-gallery p {
  color: #7d8285;
}

.photo-gallery h2 {
  font-weight: bold;
  margin-bottom: 40px;
  padding-top: 40px;
  color: inherit;
}

@media (max-width: 767px) {
  .photo-gallery h2 {
    margin-bottom: 25px;
    padding-top: 25px;
    font-size: 24px;
  }
}

.photo-gallery .intro {
  font-size: 16px;
  max-width: 500px;
  margin: 0 auto 40px;
}

.photo-gallery .intro p {
  margin-bottom: 0;
}

.homework-answer-content .photo-gallery .photos {
  display: grid;
}

.img-fluid {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.lightboxOverlay {
  background-color: #f5f5f5 !important;
}

.lb-number {
  display: none !important;
}

.timer-icon {
  bottom: -36px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ffff;
  border-radius: 50%;
  padding: 1.5rem;
  z-index: 11;
}

.Hourglass {
  width: 6rem;
}

.timer {
  bottom: -8.5rem;
  left: 50%;
  transform: translate(-50%);
}

.timer ul {
  text-align: center;
  flex-direction: row-reverse;
}

.timer ul li {
  display: flex;
  flex-direction: column;
}

.scale-out {
  transform: scale(0.9);
  filter: opacity(0);
}

.scale-in {
  transform: scale(1);
  filter: opacity(1);
}

.scale-in,
.scale-out {
  transition: all 0.5s;
}

.person-box .h3 {
  border-right: 1px solid red;
}

.sort-list {
  font-size: 2rem;
  gap: 2rem;
}

.person-box {
  width: calc((100% / 4) - 1rem);
  display: none;
}

.person-box.show {
  display: flex !important;
}

.person-tile .contain {
  display: none;
}

.person-row {
  width: 100% !important;
  justify-content: space-between;
}

.person-row a {
  width: calc((100% / 4) - 2rem);
}

.person-row .contain {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: calc(100% / 4 * 3);
}

.person-flex {
  display: flex;
  justify-content: space-between;
}

.person-box {
  padding: 1rem 0;
}

.fa-cloud-download {
  font-size: 1.7rem;
}



.homework-answer-img .img {
  width: calc((100% / 4) - 2rem);
}

.img-btn {
  bottom: 0;
  right: 0;
  width: 100%;
}

.img-btn a {
  width: calc(100% / 3);
  text-align: center;
  padding: 0.5rem;
}

.homework-answer-header .dropdown-menu {
  width: auto !important;
  position: absolute;
}

/*.homework-answer-profile {*/
/*  right: 50%;*/
/*  top: 1rem;*/
/*  transform: translateX(50%);*/
/*}*/

.homework-answer-header {
  height: 12rem;
}

.homework-answer-header .homework-answer-profile .homework-profile-img {
  width: 10rem;
}

.content-report {
  border: 1px solid var(--bordergray);
  border-radius: var(--border-sm);
}


/* star-rate */
.rating-css {
  width: 100%;
  direction: ltr;
}

.rating-css div {
  color: #ffe400;
  font-size: 30px;
  font-family: sans-serif;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  padding: 20px 0;
}

.rating-css input {
  display: none;
}

.rating-css input + label {
  font-size: 2rem;
  text-shadow: 1px 1px 0 #ffe400;
  cursor: pointer;
}

.rating-css input:checked + label ~ label {
  color: #838383;
}

.rating-css label:active {
  transform: scale(0.8);
  transition: 0.3s ease;
}

.input-post {
  height: 10rem;
}


/* circle chart */

.flex-wrapper {
  display: flex;
  flex-flow: row nowrap;
  justify-content: end;
}

.single-chart {
  width: 5rem;
  justify-content: space-around;
}

.circular-chart {
  display: block;
  max-width: 80%;
  max-height: 250px;
}

.circle-bg {
  fill: none;
  stroke: #eee;
  stroke-width: 4.8;
}

.circle {
  fill: none;
  stroke-width: 3.8;
  stroke-linecap: round;
  animation: progress 1s ease-out forwards;
}

@keyframes progress {
  0% {
    stroke-dasharray: 0 100;
  }
}

.circular-chart.green .circle {
  stroke: #4cc790;
}

.percentage {
  fill: #666;
  font-size: 1em;
  text-anchor: middle;
}

/* Send-page */

.btn-post button {
  transition: all 0.2s ease;
}

.btn-post button {
  outline: none !important;
}

.file-upload {
  margin: 0 auto;
}

.file-upload-btn {
  margin: 0;
  color: #fff;
  background: #858585;
  border: none;
  border-radius: 4px;
  outline: none;
}

.file-upload-btn:hover {
  background: #707070;
  color: #ffffff;
  transition: all 0.2s ease;
  cursor: pointer;
}

.file-upload-btn:active {
  border: 0;
  transition: all 0.2s ease;
}

.file-upload-content {
  display: none;
  text-align: center;
}

.file-upload-input {
  position: absolute;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  outline: none;
  opacity: 0;
  cursor: pointer;
}

.image-upload-wrap {
  margin-top: 20px;
  border: 4px dashed #afadad;
  position: relative;
}

/* .image-dropping,
  .image-upload-wrap:hover {
    background-color: #1FB264;
    border: 4px dashed #ffffff;
  } */

.image-title-wrap {
  padding: 0 15px 15px 15px;
  color: #222;
}

.drag-text {
  text-align: center;
}

.drag-text h3 {
  font-weight: 100;
  text-transform: uppercase;
  padding: 60px 0;
}

.file-upload-image {
  max-height: 200px;
  max-width: 200px;
  margin: auto;
  padding: 20px;
}

.remove-image {
  width: 200px;
  margin: 0;
  color: #fff;
  background: #cd4535;
  border: none;
  padding: 10px;
  border-radius: 4px;
  border-bottom: 4px solid #b02818;
  transition: all 0.2s ease;
  outline: none;
  text-transform: uppercase;
  font-weight: 700;
}

.remove-image:hover {
  background: #c13b2a;
  color: #ffffff;
  transition: all 0.2s ease;
  cursor: pointer;
}

.remove-image:active {
  border: 0;
  transition: all 0.2s ease;
}


@media only screen and (max-width: 992px) {
  html .content {
    display: flex;
    flex-direction: column-reverse !important;
  }
}

/*  */




/* star */

input.workbook-rating { display: none; }

label.workbook-rating {
  /* float: left; */
  cursor: pointer;
  vertical-align : middle !important;
  padding-right : 6px;
  font-size: 40px;
  color: grey;
  transition: all .2s;
}

label.workbook-rating:first-of-type {
  padding-right : 0px;
}

input.workbook-rating:checked ~ label.workbook-rating:before {
  font-weight	: 900 !important;
  color: #FD4;
  transition: all .25s;
}


input.workbook-rating:hover ~ label.workbook-rating:before {
  color: #FD4;
  transition: all .25s;
}


input.star-1:checked ~ label.workbook-rating:before { color: red; }
input.star-2:checked ~ label.workbook-rating:before { color: #F62; }
input.star-3:checked ~ label.workbook-rating:before { color: #ff8d22; }
input.star-4:checked ~ label.workbook-rating:before { color: #ffbf22; }
input.star-5:checked ~ label.workbook-rating:before { color: #ffd022; }

input.star-1:hover ~ label.workbook-rating:before { color: red !important; }
input.star-2:hover ~ label.workbook-rating:before { color: #F62 !important; }
input.star-3:hover ~ label.workbook-rating:before { color: #ff8d22 !important; }
input.star-4:hover ~ label.workbook-rating:before { color: #ffbf22 !important; }
input.star-5:hover ~ label.workbook-rating:before { color: #ffd022 !important; }

label.workbook-rating:hover { transform: rotate(-15deg) scale(1.3); }

label.workbook-rating:before {
  content		: "\f005";
  font-weight	: 300;
  font-family	: FA;
}
