.single main {
  padding-bottom: 60px;
}

/* Nav Tab */
.nav-tab-con {
  background: var(--cs-bg0-darker);
  border-radius: 5px;
}
.nav-tab-con .nav-item {
  position: relative;
  width: 25%;
}

.nav-tab-con .nav-item:before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 1px;
  height: 25px;
  bottom: 0;
  margin: auto;
  background: rgb(255 255 255 / 0.25);
}

.nav-tab-con .nav-item[data-service="AI"] {
  pointer-events: none;
}
.nav-tab-con .nav-item[data-service="AI"]:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: #ffffff47;
  backdrop-filter: blur(5px);
}

.nav-tab-con .nav-item .nav-link {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 50px;
  font-size: 0.9rem;
  color: #fff;
}

.nav-tab-con .nav-item .nav-link:before {
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 4px;
  border-radius: 2px;
  margin: auto;
  background: var(--cs-bg1-vib);
  content: "";
  transition: all 0.4s ease;
  transform: scale(0);
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  background: transparent;
}

.nav-pills .nav-link.active:before,
.nav-pills .show > .nav-link:before {
  transform: scale(1);
}

/****************** Book Top ******************/
.book-section {
  margin-bottom: 15px;
}

.book-cover-con {
  height: 100%;
  padding: 15px 0;
}
.cover-img-wrapper {
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
}
.cover-img-wrapper img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.book-entry-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 15px 0;
}

.book-entry-content .book-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  position: relative;
  gap: 15px;
  border-bottom: 1px dashed rgb(206, 206, 206);
  margin-bottom: 25px;
  z-index: 1;
}

.book-entry-content .book-title {
  font-size: 1.8rem;
  padding-bottom: 5px;
}

.single .read-btn {
  position: relative;
  margin-left: auto;
}
.single .read-btn a {
  padding: 6px 10px;
  color: var(--cs-bg0-dark);
}
.single .read-btn a:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
.single .read-btn,
.single .add-btn {
  position: relative;
  margin-top: auto;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 5px;
  color: var(--cs-bg0-dark);
  background: #fff;
  font-size: 14px;
  text-align: center;
  cursor: pointer;
  border: 1px dashed #bbbbbb;
  transition: all 0.2s ease-in-out;
}
.single .add-btn {
}
.single .read-btn:hover,
.single .add-btn:hover {
  background: var(--cs-bg1-bright);
}
.single .add-btn.added {
  cursor: auto;
}
.single .add-btn.added:hover {
  background: #fff;
}

.book-top .response-message-con {
  position: absolute;
  right: 0;
  top: 100%;
  width: 200px;
  padding: 10px 5px;
  border-radius: 5px;
  text-align: center;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s ease-in-out;
}
.book-top .response-message-con.message {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.book-meta {
  margin-bottom: 15px;
}
.book-meta ul {
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.book-meta ul li {
  list-style-type: none;
  display: inline-block;
  padding-right: 40px;
  margin-right: 30px;
  border-right: 1px solid #eaeaea;
  vertical-align: top;
}
.book-meta ul li:last-child {
  margin-right: 0;
  padding-right: 0;
  border-right: 0;
}
.book-meta ul li p {
  font-size: 0.9rem;
  line-height: 0.9rem;
  margin-bottom: 0;
}
.book-meta ul li h4 {
  color: var(--cs-bg0-dark);
  font-size: 1rem;
  line-height: 2rem;
}
.text-right {
  text-align: right !important;
}
.book-meta .subject-add-btn span {
  min-height: 70px;
  min-width: 70px;
  display: inline-block;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -ms-border-radius: 50%;
  background: #273c66;
  color: #fff;
  line-height: 70px;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
}

.book-entry-content .book-meta-extra {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.book-entry-content .book-meta-extra li > * {
  vertical-align: middle;
}

.book-entry-content .subject-intro {
  padding-top: 20px;
  margin-top: auto;
}
.book-entry-content .subject-intro p {
  margin-bottom: 0.3rem;
}

.book-entry-content .subject-link {
  margin-top: 10px;
}
.book-entry-content .subject-link a {
  text-decoration: underline !important;
  color: var(--cs-bg0-dark);
}

/**************** Book Overview *****************/
.book-overview-con {
  color: #3d403f;
}

/**************** Book Content *****************/
.book-content-con.active {
  display: flex;
}
.book-content-con .table-title {
  text-align: center;
  text-decoration: underline;
  color: var(--cs-bg0-dark);
}
.book-content-con table {
  width: 100%;
  table-layout: fixed;
}
.book-content-con table tr {
  height: 40px;
}
.book-content-con table tr:nth-child(even) {
  background-color: #ecf8f7;
}
.book-content-con table tr:hover {
  background-color: var(--cs-bg0);
}
.book-content-con table th {
  padding: 0 10px;
  border-bottom: 1px solid var(--cs-bg0-darker);
}
.book-content-con table td {
  padding: 0 10px;
  color: #3d403f;
}

@media (max-width: 991px) {
  .book-cover-con {
    width: 400px;
    aspect-ratio: 1/1;
    max-width: 90%;
    margin: 0 auto;
  }
  .book-entry-content {
    border-radius: 16px;
    border: 1px dashed #dedede;
    padding: 40px;
  }
}
@media (max-width: 460px) {
  .book-entry-content {
    border-radius: 16px;
    border: 1px dashed #dedede;
    padding: 15px;
  }
}

/*********** Left Sidebar *************/

.avatar {
  border-radius: 100%;
  display: block;
  height: calc(2.25 * 1rem);
  min-height: inherit;
  width: calc(2.25 * 1rem);
}
.media-body {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.subject-entry-content .header-meta {
  padding: 0;
  margin-bottom: 20px;
}
.subject-entry-content .header-meta li {
  display: inline-block;
  margin-right: 35px;
  list-style: none;
  font-size: 14px;
}
.subject-entry-content .header-meta li:last-child {
  margin-right: 0;
}
.xs-ratting-content {
  display: inline-block;
}
.subject-entry-content .header-meta li i.tsicon-students {
  font-size: 18px;
}
.subject-entry-content .header-meta li i {
  margin-right: 6px;
  vertical-align: middle;
}
.tsicon-students:before {
  content: "\e96a";
}
.subject-entry-content .header-meta li:last-child {
  margin-right: 0;
}
.tsicon-tslanguage:before {
  content: "\e974";
}
.subject-entry-content .feature-image {
  margin-bottom: 40px;
}
.subject-tabs-content ul.nav {
  background: #273c66;
  border-radius: 6px;
  -webkit-border-radius: 6px;
  -ms-border-radius: 6px;
  margin-bottom: 40px;
}
.nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}
.subject-tabs-content ul.nav li {
  text-align: center;
  position: relative;
}
.subject-tabs-content ul.nav li:before {
  position: absolute;
  right: 0;
  top: 0;
  width: 1px;
  height: 25px;
  bottom: 0;
  margin: auto;
  background: rgb(255 255 255 / 0.25);
  content: "";
}
.subject-tabs-content ul.nav li a {
  color: #fff;
  font-size: 17px;
  letter-spacing: -0.17px;
  line-height: 65px;
  display: block;
}
.subject-tabs-content ul.nav li a.active:before,
.subject-tabs-content ul.nav li a:hover:before {
  -webkit-transform: scale(1);
  transform: scale(1);
}

.subject-tabs-content .curriculum-content .curriculmn-title {
  font-size: 20px;
  font-weight: 500;
  color: #333;
  letter-spacing: -0.2px;
  margin-bottom: 20px;
  display: inline-block;
}
.subject-tabs-content
  .curriculum-content
  .curriculmn-title[aria-expanded="true"]:after {
  content: "\f0d7";
}
.collapse.show {
  display: block;
}

.collapse {
  display: none;
}
.subject-tabs-content .curriculum-content .curricolumn-list {
  margin-bottom: 25px;
}
.subject-tabs-content .curriculum-content .curricolumn-list li {
  display: block;
  width: 100%;
  position: relative;
  margin-bottom: 10px;
  list-style: none;
}
.subject-tabs-content .curriculum-content .curricolumn-list li a {
  font-size: 16px;
  color: #333;
  line-height: 26px;
}
.subject-tabs-content
  .curriculum-content
  .curricolumn-list
  li
  .curricolumn-duration {
  float: right;
}

.subject-sidebar .subject-single-info {
  border-radius: 15px;
  -webkit-border-radius: 15px;
  -ms-border-radius: 15px;
}

.subject-sidebar .subject-widget {
  -webkit-box-shadow: 0 30px 50px 0 rgb(51 51 51 / 0.08);
  box-shadow: 0 30px 50px 0 rgb(51 51 51 / 0.08);
  border: 1px dashed #dedede;
  padding: 40px;
  margin-bottom: 50px;
  border-radius: 16px;
  -webkit-border-radius: 16px;
  -ms-border-radius: 16px;
}
.subject-sidebar .subject-single-info .subject-preview-video {
  display: none;
  -webkit-transform: translateY(-75px);
  transform: translateY(-75px);
  border-radius: 16px;
  -webkit-border-radius: 16px;
  -ms-border-radius: 16px;
  margin-bottom: -40px;
}

.embed-responsive {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
}
.embed-responsive-16by9::before {
  padding-top: 56.25%;
}

.embed-responsive::before {
  display: block;
  content: "";
}
.embed-responsive .embed-responsive-item,
.embed-responsive embed,
.embed-responsive iframe,
.embed-responsive object,
.embed-responsive video {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.subject-sidebar .user-records ul {
  padding: 0;
}
.subject-sidebar .user-records ul li {
  list-style: none;
  font-size: 14px;
  line-height: 48px;
  color: #555;
  display: block;
  border-bottom: 1px solid #f2f2f9;
  clear: both;
  overflow: hidden;
}
.subject-sidebar .user-records ul li i {
  color: #0eb582;
  margin-right: 6px;
}
.subject-sidebar .user-records ul li span {
  float: right;
}

.subject-sidebar .subject-widget {
  -webkit-box-shadow: 0 30px 50px 0 rgb(51 51 51 / 0.08);
  box-shadow: 0 30px 50px 0 rgb(51 51 51 / 0.08);
  border: 1px dashed #dedede;
  padding: 40px;
  margin-bottom: 50px;
  border-radius: 16px;
  -webkit-border-radius: 16px;
  -ms-border-radius: 16px;
}
.widget-title {
  font-size: 20px;
  line-height: 26px;
}
.subject-sidebar .subject {
  position: relative;
  margin: -10px;
  padding: 10px;
}

@media (max-width: 460px) {
  .subject-sidebar .subject-widget {
    padding: 15px;
  }
}
