.fa-svg {
  width: auto;
  height: 1em;
  fill: currentColor;
  vertical-align: -0.15em;
}

code {
  padding: 0.2rem 0.4rem;
  font-size: 90%;
  color: #bd4147;
  background-color: #f8f9fa;
  border-radius: 0.25rem;
  font-family: "Roboto";
}

.listhd .item {
  position: relative;
  padding: 10px 0px;
  font-size: 1.5rem;
  font-family: "Roboto";
}

.listhd .item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 35px;
  /* Thụt vào 35px */
  width: calc(100% - 35px + 25px);
  /* trừ đi phần thụt + padding */
  height: 1px;
  background: #80808026;
}

.listhd.noicon .item::before {
  left: 0px;
  width: calc(100% - 0px + 25px);
}

.listhd.listhd-m10 .item::before {
  left: 45px;
  width: calc(100% - 45px + 25px);
}

.listhd.listhd-m15 .item::before {
  left: 50px;
  width: calc(100% - 50px + 25px);
}

/* trên mobile thì width vẫn thế, bắt đầu từ sm thì cho ngắn lại */
@media only screen and (min-width: 768px) {
  .listhd.listhd-sm .item::before {
    width: calc(100% - 35px);
  }

  .listhd.listhd-m10.listhd-sm .item::before {
    width: calc(100% - 45px);
  }

  .listhd.listhd-m15 .item::before {
    width: calc(100% - 50px);
  }
}

.listhd .item .right {
  font-family: "Roboto Condensed";
}

.listhd .item .right .more {
  color: #959595b0;
  margin-left: 8px;
}

.listhd .icon {
  color: white;
  border-radius: 5px;
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
}

.listhd .form-group {
  margin-bottom: 0px;
}

.listhd .icon {
  flex-shrink: 0;
}

.listhd.nofirst .item:first-child::before {
  height: 0px;
}

.card h2 {
  font-size: 20px;
  color: #333;
  font-family: Oswald;
}

.card h2 a {
  color: #0d4f7d;
  font-family: "Roboto Condensed";
}

.card h2 a:hover {
  text-decoration: none;
  cursor: pointer;
}

.card select,
.card input,
.card textarea {
  background: transparent;
  border-color: #187a9747;
}

.invalid-feedback,
.valid-feedback {
  width: 100%;
  color: #dc3545;
}

.valid-feedback {
  color: #198754;
}

.card .form-group.form-group-inline {
  margin-bottom: 0px;
}

select option {
  background: #fff;
}

.card {
  background: rgba(255, 255, 255, 0.25);
  background: -webkit-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.25) 10%,
    rgba(255, 255, 255, 0.25) 100%
  );
  box-shadow: 8px 0 20px 0 rgba(31, 38, 135, 0.37);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 25px;
  margin: 25px 0;
}

.card.card-danger {
  color: #721c24;
  background: rgb(248, 215, 218);
}

.card.card-warning {
  color: #856404;
  background: #fff3cd;
}

.card.card-success {
  color: #155724;
  background: #d4edda;
}

.card.card-mod {
  background: linear-gradient(45deg, #5b34b961, #cd4f4f54);
}

.card.card-danger,
.card.card-warning,
.card.card-success,
.card-mod {
  border: unset;
}

.card.card-mod hr {
  border-top: 1px solid #00000014;
}

.card.card-mod .lds-ellipsis div {
  background-image: linear-gradient(135deg, #6f1ef0 30%, #39dfaa 100%);
}

.card.card-mod .btn-primary,
.card.card-mod .btn-primary:focus {
  background-image: linear-gradient(135deg, #9521ff 30%, #df395f 100%);
}

.card.card-mod .btn-primary:hover {
  background-image: linear-gradient(135deg, #df395f 30%, #9521ff 100%);
}

.card.card-mod select,
.card.card-mod textarea,
.card.card-mod input {
  border-color: #7146a747;
  color: #333;
}

.card.card-mod .form-control[disabled] {
  background: #55555514;
}

.card.card-mod .btn {
  border: unset;
}

.card.card-mod ::placeholder {
  color: #00000058;
}

.card:has(.card_name) {
  margin: 40px 0 25px;
}

.card_name {
  position: absolute;
  top: -30px;
  left: 25px;
  font-family: Oswald;
  font-size: 17px;
  text-shadow: 0 0 6px #000, 0 0 5px #000, 0 0 5px #000;
  color: #fff;
}

@media only screen and (min-width: 540px) {
  .card {
    padding: 25px;
  }
}

.card h2.inline {
  margin-bottom: 0px;
}

.card .alert.alert-bottom {
  margin-bottom: 0px;
}

.label.label-success,
.label.label-warning,
.label.label-danger,
.label.label-info {
  font-family: "Roboto";
  font-size: 1.1rem;
  font-weight: 500;
  padding: 0.3em 0.6em 0.3em;
}

.font-italic {
  font-style: italic;
}

.form-group.form-group-inline {
  margin-bottom: 0px;
}

ul.theloai-thumlist {
  padding-left: 0;
}

table.theloai-thumlist tbody {
  width: 100%;
  display: table;
}

table.theloai-thumlist {
  margin-top: 15px;
  display: block;
}

.theloai-thumlist > li,
.theloai-thumlist tr {
  display: block;
  padding-left: 0;
  margin-bottom: 10px;
}

.theloai-thumlist h2 {
  padding-left: 10px;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

@media (min-width: 1200px) {
  .theloai-thumlist h3 {
    min-height: 45px;
  }
}

.theloai-thumlist p {
  margin-bottom: 4px;
  margin-top: 4px;
}

.theloai-thumlist .thumbnail {
  width: 74px;
  height: 111px;
  float: left;
  box-shadow: 0 2px 8px rgba(1, 3, 3, 0.16);
  position: relative;
}

.theloai-thumlist .thumbnail img {
  width: 74px;
  height: 111px;
}

.theloai-thumlist .rating {
  position: absolute;
  bottom: 0;
  left: 0;
  background: #eac100;
  color: #fff;
  font-size: 13px;
  font-weight: 300;
  padding: 2px 8px;
}

.theloai-thumlist .content {
  overflow: hidden;
  padding-left: 10px;
  font-size: 13px;
}

.theloai-thumlist .text {
  max-height: 135px;
  overflow: hidden;
}

.theloai-thumlist .crop-text-2 {
  height: 36px;
}

.theloai-thumlist h2.crop-text-2 {
  height: 43px;
}

ul.pagination li {
  list-style: none;
  display: inline-flex;
  padding-bottom: 5px;
  margin-right: 3px;
}

.pagination li.active,
.pagination li.disabled {
  pointer-events: none;
  cursor: default;
  text-decoration: none;
}

.pagination li:hover a {
  background: linear-gradient(135deg, #1ebbf0 30%, #39dfaa 100%) !important;
  color: #fff !important;
  border: solid 1px #337ab7 !important;
}

.pagination li.active a {
  background: linear-gradient(135deg, #39dfaa 30%, #1ebbf0 100%) !important;
  color: #fff !important;
  border: solid 1px #337ab7 !important;
}

.pagination li a {
  border: solid 1px #000;
  color: #000;
  padding: 0.7rem 1.2rem;
}

.full-label {
  width: 34px;
  height: 50px;
  position: absolute;
  display: block;
  top: 0;
  left: -7px;
  z-index: 1;
  background: transparent
    url(/wp-content/themes/truyenfull/echo/img/full-label.png) no-repeat;
}

.label-new {
  border: 1px solid #1ebbf0;
  color: #1ebbf0;
}

.label-full {
  border: 1px solid #39dfaa;
  color: #39dfaa;
}

.label-title {
  padding: 0px 3px;
  font-size: 13px;
  vertical-align: bottom;
  margin-left: 5px;
}

.label-new:before {
  content: "New";
}

.label-full:before {
  content: "Full";
}

.tf-flex {
  display: flex;
  align-items: center;
}

.tf-flex.line {
  position: relative;
  background: none;
  box-shadow: none;
}

/*-------------------------------------------------------------------------- | Truyện mới nhất |--------------------------------------------------------------------------*/
.row-heading {
  /* display: flex; align-items: flex-end;*/
  margin-bottom: 10px;
}

.row-heading .form-group {
  margin-bottom: 0px;
  margin-top: -3px;
}

.row-heading .heading {
  padding-top: 0px;
}

.col-line-first {
  height: 39px;
  border-right: 1px dashed #ccc;
  border-bottom: 1px dashed #ccc;
  display: flex;
  align-items: center;
}

#newest .row:last-child .col-line-first,
#newest .row:last-child .col-line-last {
  border-bottom: unset;
}

.col-line-first-margin {
  margin-right: 15px;
}

.col-line-last {
  height: 39px;
  line-height: 39px;
  border-bottom: 1px dashed #ccc;
}

.col-line-last-margin {
  margin-left: 15px;
}

.col-first {
  padding-right: 0px;
}

.col-last {
  padding-left: 0px;
}

h1 {
  margin-bottom: 0px;
}

/*-------------------------------------------------------------------------- | 6 Icon |--------------------------------------------------------------------------*/
@media (min-width: 1024px) {
  .tf_pc_absolute {
    position: absolute;
    width: calc(100% - 30px);
  }
}

/*-------------------------------------------------------------------------- | Notice Follow |--------------------------------------------------------------------------*/
#notice .explanation::after {
  color: #000000;
  top: -30px;
  left: 0;
  background: transparent;
}

#notice .list {
  background: -webkit-linear-gradient(left, #00000087 30%, #000000a1 100%);
}

#notice .more {
  border-top: 1px dashed #aaafb1b3;
  padding: 10px 0px 5px 0px;
}

.explanation {
  border: 10px solid #fff;
  padding: 1rem 1.5rem;
  position: relative;
  background: -webkit-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.25) 10%,
    rgba(255, 255, 255, 0.25) 100%
  );
  box-shadow: 8px 0px 32px 0 rgba(31, 38, 135, 0.37);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: black;
}

.explanation,
.explanation a {
  color: #333 !important;
}

.explanation::after {
  content: "Truyện Theo Dõi Vừa Update";
  color: #fff;
  font-weight: normal;
  top: -25px;
  left: 1rem;
  background: #100e17;
  padding: 0 0.5rem;
  font-size: 16px;
  position: absolute;
  z-index: 1;
}

.explanation::before {
  content: "";
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  border-radius: 8px;
  pointer-events: none;
}

@media (min-width: 320px) {
  .remove_show_follow {
    z-index: 1;
    font-size: 22px;
    cursor: pointer;
    display: block;
    padding: 2px 0px 2px 10px;
  }
}

@media (min-width: 1024px) {
  .remove_show_follow {
    font-size: 18px;
  }

  .remove_show_follow:hover {
    transform: scale(1.1);
  }
}

/*-------------------------------------------------------------------------- | End Notice Follow |--------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------- | Slider |--------------------------------------------------------------------------*/
.slick-slide strong.title a {
  color: #000;
  font-weight: bold;
  text-align: center;
}

.slider-item .premiumItem {
  pointer-events: none;
}

.slider-item .premiumItem img {
  width: 100%;
}

.slider-item.slick-current .premiumItem {
  pointer-events: unset;
}

.slider-premiumItem-img {
  padding-top: 10px;
  display: flex;
}

#story_exclusive-card{
  overflow: hidden;
}

.slick-slider {
  position: relative;
  display: block;
  box-sizing: border-box;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -khtml-user-select: none;
  -ms-touch-action: pan-y;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}

.slider-premiumItem-img .slick-prev {
  left: 15px;
}

.slider-premiumItem-img .slick-arrow {
  width: 40px;
  height: 40px;
}

.slick-prev {
  left: -25px;
}

.slick-prev,
.slick-next {
  font-size: 0;
  line-height: 0;
  position: absolute;
  top: 50%;
  display: block;
  width: 20px;
  height: 20px;
  padding: 0;
  -webkit-transform: translate(0, -50%);
  -ms-transform: translate(0, -50%);
  transform: translate(0, -50%);
  cursor: pointer;
  color: transparent;
  border: none;
  outline: none;
  background: transparent;
}

.slick-slider .slick-track,
.slick-slider .slick-list {
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  -o-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.slick-list {
  position: relative;
  display: block;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.slider-cont .slick-slide,
.slider-cont a {
  outline: 0;
}

.slider-cont .slider-item {
  float: left;
}

.slick-initialized .slick-slide {
  display: block;
}

.premiumItem .img {
  margin: 0 auto;
}

.slick-slide img {
  display: block;
}

.slider-premiumItem-img .slick-next {
  right: 15px;
}

.slider-premiumItem-img .slick-arrow {
  width: 40px;
  height: 40px;
}

.slider-cont .slick-arrow {
  z-index: 5;
  text-align: center;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #ebebeb;
  margin: 3px;
  display: flex !important;
  justify-content: center;
  align-items: center;
  background-image: linear-gradient(135deg, #1ebbf0 30%, #39dfaa 100%);
  border: 1px #1ebbf0 solid;
}

.slick-next {
  right: -25px;
}

.slider-premiumItem-img .slider-item {
  width: 100px;
  padding: 0 15px;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.img img {
  width: 70px;
}

.slider-item {
  opacity: 0.3;
}

.slider-item.slick-current {
  opacity: 1;
}

.slider-cont .slick-arrow .fa {
  font-size: 14px;
  display: inline-block;
  vertical-align: middle;
}

ul.pagination {
  clear: both;
  padding-top: 20px;
}

/* Dots */
.slick-dotted.slick-slider {
  margin-bottom: 30px;
}

.slick-dots {
  position: absolute;
  bottom: -25px;
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  list-style: none;
  text-align: center;
}

.slick-dots li {
  position: relative;
  display: inline-block;
  width: 10px;
  height: 20px;
  margin: 0 5px;
  padding: 0;
  cursor: pointer;
}

.slick-dots li button {
  font-size: 0;
  line-height: 0;
  display: block;
  width: 20px;
  height: 20px;
  padding: 5px;
  cursor: pointer;
  color: transparent;
  border: 0;
  outline: none;
  background: transparent;
}

.slick-dots li button:hover,
.slick-dots li button:focus {
  outline: none;
}

.slick-dots li button:hover:before,
.slick-dots li button:focus:before {
  opacity: 1;
}

.slick-dots li button:before {
  font-family: "slick";
  font-size: 30px;
  line-height: 20px;
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  content: "•";
  text-align: center;
  opacity: 0.25;
  color: black;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.slick-dots li.slick-active button:before {
  opacity: 1;
  background-image: linear-gradient(135deg, #1ebbf0 30%, #39dfaa 100%);
  color: transparent;
  -webkit-background-clip: text;
  text-decoration: none;
}

/*-------------------------------------------------------------------------- | Slider Default |--------------------------------------------------------------------------*/
/* Slider */
.slick-slider {
  position: relative;
  display: block;
  box-sizing: border-box;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -khtml-user-select: none;
  -ms-touch-action: pan-y;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}

.slick-list {
  position: relative;
  display: block;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.slick-list:focus {
  outline: none;
}

.slick-list.dragging {
  cursor: pointer;
  cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list {
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  -o-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.slick-track {
  position: relative;
  top: 0;
  left: 0;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.slick-track:before,
.slick-track:after {
  display: table;
  content: "";
}

.slick-track:after {
  clear: both;
}

.slick-loading .slick-track {
  visibility: hidden;
}

.slick-slide {
  display: none;
  float: left;
  height: 100%;
  min-height: 1px;
}

[dir="rtl"] .slick-slide {
  float: right;
}

.slick-slide img {
  display: block;
}

.slick-slide.slick-loading img {
  display: none;
}

.slick-slide.dragging img {
  pointer-events: none;
}

.slick-initialized .slick-slide {
  display: block;
}

.slick-loading .slick-slide {
  visibility: hidden;
}

.slick-vertical .slick-slide {
  display: block;
  height: auto;
  border: 1px solid transparent;
}

.slick-arrow.slick-hidden {
  display: none;
}

/*-------------------------------------------------------------------------- | Custom |--------------------------------------------------------------------------*/
#slider-premiumItem-img .crop-text-2 {
  font-size: 12px;
  margin-top: 5px;
}

.last-seen-child {
  margin-top: 5px;
}

.news-child {
  margin-top: 5px;
}

.news-child .tf-flex {
  justify-content: space-between;
}

.news-child .tf-flex:last-child .col-line-last {
  border-bottom: unset;
}

.news-child .number-comment {
  margin-left: 10px;
  min-width: 30px;
}

.kk-flex {
  display: flex;
}

/*-------------------------------------------------------------------------- | Home |--------------------------------------------------------------------------*/
.new-message-box {
  background: #e4f8ff;
  padding: 3px 3px 3px 0px;
  margin: 0px 0px 15px 0px;
}

.info-tab {
  background: -webkit-linear-gradient(left, #1ebbf0 30%, #39dfaa 100%);
  float: left;
  width: 40px;
  height: 36px;
  display: inline-block;
  position: relative;
  top: -2px;
}

.info-tab::before {
  font-size: 14px;
  content: "\f0a2";
  font-family: FontAwesome;
  position: absolute;
  color: white;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.info-tab::after {
  content: "";
  border-style: solid;
  border-width: 0px 28px 10px 0px;
  border-color: transparent #20aeae transparent transparent;
  position: absolute;
  top: 100%;
  left: 0;
}

.tip-box-success {
  background: #c4edfa;
  padding: 5px 5px 7px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "Oswald";
  font-size: 16px;
}

.truyen_update {
}

.truyen_update_child {
  margin: 6px 10px 5px 0px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed #c4edfa;
}

.truyen_update_child a {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  margin-right: 15px;
}

.truyen_update_child a i {
  margin-right: 10px;
}

.css_tab_line {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.number-home-icon,
#tab_home_2 .number {
  position: absolute;
  top: -8px;
  right: 0px;
  color: white;
  font-size: 10px;
  padding: 2px 8px;
  background: rgb(0 0 0 / 65%);
  border-radius: 4px;
}

#tab_home_2 .number {
  background: rgb(248 24 24 / 65%);
}

.btn-home-icon {
  position: relative;
  width: 100%;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #c5c5c5;
  border-radius: 5px;
  background: -webkit-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.25) 10%,
    rgba(255, 255, 255, 0.25) 100%
  );
  backdrop-filter: blur(4px);
}

.btn-home-icon.active {
  background: linear-gradient(
    135deg,
    rgb(30, 187, 240) 30%,
    rgb(57, 223, 170) 100%
  );
  color: white;
}

.col-btn-home-icon {
  width: calc((100% - 32px) / 5);
  margin-right: 8px;
  float: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.col-btn-home-icon:last-child {
  margin-right: 0px;
}

.btn-home-icon:hover {
  transform: scale(1.1);
}

.text-home-icon {
  margin-top: 6px;
  font-size: 12px;
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  color: #afafaf;
}

#notice-child {
  padding-top: 40px;
}

#show-layout-home-1 #notice {
  position: relative;
  z-index: 3;
}

#show-layout-home-1 #notice-child {
  position: absolute;
  width: 100%;
}

@keyframes example {
  0% {
    background: linear-gradient(0deg, #39dfaa 30%, #1ebbf0 100%);
  }

  25% {
    background: linear-gradient(90deg, #1ebbf0 30%, #39dfaa 100%);
  }

  50% {
    background: linear-gradient(180deg, #39dfaa 30%, #1ebbf0 100%);
  }

  100% {
    background: linear-gradient(270deg, #1ebbf0 30%, #39dfaa 100%);
  }
}

/*-------------------------------------------------------------------------- | Notify |--------------------------------------------------------------------------*/
#news .col-xs-2.col-lg-3 {
  text-align: right;
}

.notify-date {
  padding: 4px 8px;
  border-radius: 7px;
  margin: 0px 3px 0px 3px;
  font-size: 10px;
  background: #6c757d;
  color: white;
}

.notify-new {
  margin-right: 13px;
  width: 32px;
  height: 21px;
}

/*-------------------------------------------------------------------------- | Đề cử |--------------------------------------------------------------------------*/
#decu2 .item {
  width: calc((100% - 30px) / 4);
  float: left;
  margin-bottom: 10px;
  margin-right: 10px;
  position: relative;
  -webkit-transition: all 0.1s ease-in-out;
  transition: all 0.1s ease-in-out;
}

#decu2 .item:nth-child(4),
#decu2 .item:nth-child(8),
#decu2 .item:nth-child(12) {
  margin-right: 0px;
}

#decu2 .item img {
  width: 100%;
  aspect-ratio: 2 / 3;
}

#decu2 .item:hover {
  -webkit-transform: scale(1.05);
  -ms-transform: scale(1.05);
  transform: scale(1.05);
}

#decu2 {
  margin-top: 10px;
}

#decu2 .title {
  position: absolute;
  bottom: 0;
  left: 0;
  color: white;
  background-color: rgba(0, 0, 0, 0.7);
  width: 100%;
  padding: 3px;
  text-align: center;
  font-size: 12px;
  z-index: 3;
  overflow: hidden;
  white-space: normal;
  text-overflow: ellipsis;
  height: 38px;
}

#decu2 .countdown {
  top: 0px;
  font-size: 10px;
  position: absolute;
  overflow: hidden;
  width: 50px;
  height: 50px;
  text-align: center;
  z-index: 1;
  color: #c3a84f;
}

#decu2 .countdown em {
  font-size: 10px;
  line-height: 10px;
  padding: 21px 0px 5px 0px;
  position: absolute;
  right: -20px;
  bottom: 0px;
  left: 0;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-transform-origin: left bottom;
  transform-origin: left bottom;
  color: inherit;
  background-color: currentColor;
  font-style: normal;
}

#decu2 .countdown::after {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 10px;
  height: 9px;
  content: "\f017";
  font: normal normal normal 14px/1 FontAwesome;
  background-size: 100%;
  color: white;
}

#decu2 .countdown > em::first-line {
  color: #fff;
}

@media only screen and (min-width: 540px) {
  #decu2 .item {
    width: calc((100% - 50px) / 6);
  }

  #decu2 .item:nth-child(4),
  #decu2 .item:nth-child(8),
  #decu2 .item:nth-child(12) {
    margin-right: 10px;
  }

  #decu2 .item:nth-child(6),
  #decu2 .item:nth-child(12) {
    margin-right: 0px;
  }
}

/*-------------------------------------------------------------------------- | truyện hot |--------------------------------------------------------------------------*/
.top-3-vinhdanh {
  padding: 0px;
  display: -webkit-flexbox;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-flex-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  margin: auto;
  max-width: 250px;
  text-align: center;
  justify-content: center;
}

.top-3-vinhdanh > li {
  width: 33.333%;
  display: block;
}

.top-3-vinhdanh > li:nth-child(1) {
  -webkit-order: 2;
  -ms-flex-order: 2;
  order: 2;
}

.vinhdanhtop img {
  width: 100%;
}

.top-3-vinhdanh > li:nth-child(1) .vinhdanhtop .khung-vien-rank {
  background-image: url("https://linkjj.com/img/zvd1-min.png");
}

.top-3-vinhdanh > li:nth-child(2) {
  -webkit-order: 1;
  -ms-flex-order: 1;
  order: 1;
}

.top-3-vinhdanh > li:nth-child(2) .vinhdanhtop .khung-vien-rank {
  background-image: url("https://linkjj.com/img/zvd2-min.png");
}

.top-3-vinhdanh > li:nth-child(3) {
  -webkit-order: 3;
  -ms-flex-order: 3;
  order: 3;
}

.top-3-vinhdanh > li:nth-child(3) .vinhdanhtop .khung-vien-rank {
  background-image: url("https://linkjj.com/img/zvd3-min.png");
}

.top-3-vinhdanh > li:nth-child(2),
.top-3-vinhdanh > li:nth-child(3) {
  padding-top: 40px;
}

.top-3-vinhdanh > li:nth-child(2) .vinhdanhtop .img,
.top-3-vinhdanh > li:nth-child(3) .vinhdanhtop .img {
  width: 80%;
}

.vinhdanhtop .img {
  display: block;
  position: relative;
  width: 100%;
  margin: 0 auto;
  margin-bottom: 5px;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.vinhdanhtop .img > img {
  display: block;
  width: 100%;
}

.vinhdanhtop .img .khung-vien-rank {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-size: 100% 100%;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
}

.vinhdanhtop .info {
  font-size: 12px;
}

.vinhdanhtop .info .rank-tag {
  color: #fff;
  background-image: linear-gradient(135deg, #1ebbf0 30%, #39dfaa 100%);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  display: inline-block;
  padding: 2px 5px;
  border-radius: 2px;
}

.vinhdanhtop:hover .img {
  transform: scale(1.05);
  -webkit-transform: scale(1.05);
}

.vinhdanh-separator {
  margin: 0 0;
  display: block;
  width: auto;
}

.vinhdanh-separator img {
  width: 100%;
}

ul.star-rank-list {
  margin: 0px;
  padding: 0px;
  margin-top: 10px;
}

.star-rank-list li {
  display: flex;
  border-bottom: 1px solid #eee;
  padding: 2px 0px;
  align-items: center;
}

.star-rank-list > li:last-child {
  border-bottom: unset;
}

.star-rank-list .number {
  width: 60px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #999;
  font-size: 13px;
  text-align: right;
}

.zxt1 {
  position: relative;
  margin-right: 5px;
}

.zxt1 i {
  background: #656565;
  color: transparent;
  -webkit-background-clip: text;
  text-decoration: none;
  font-size: 24px;
}

.zxt2 {
  position: absolute;
  /* top: 0; */
  color: white;
  margin: auto;
  right: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: 12px;
  font-weight: 600;
}

.vinhdanhtop .img .overBox {
  position: absolute;
  bottom: 0;
  left: 0;
  color: white;
  background-color: rgba(0, 0, 0, 0.7);
  width: 100%;
  padding: 3px;
  text-align: center;
  font-size: 12px;
  z-index: 3;
  overflow: hidden;
  white-space: normal;
  text-overflow: ellipsis;
  height: 36px;
}

@media only screen and (min-width: 414px) and (max-width: 768px) {
  #ajax-topdanhvong-show {
    display: flex;
    align-items: center;
  }

  ul.star-rank-list {
    margin-top: 0px;
  }
}

@media only screen and (min-width: 540px) and (max-width: 768px) {
  .top-3-vinhdanh {
    max-width: 300px;
  }
}

@media only screen and (min-width: 1024px) and (max-width: 1200px) {
  ul.star-rank-list li:nth-child(n + 3) {
    display: none;
  }
}

@media (min-width: 1200px) {
  ul.star-rank-list li:nth-child(3) {
    border-bottom: unset;
  }

  ul.star-rank-list li:nth-child(n + 4) {
    display: none;
  }

  .top-3-vinhdanh {
    max-width: 230px;
  }
}

/*-------------------------------------------------------------------------- | top danh vọng |--------------------------------------------------------------------------*/
ul.list-ranking {
  list-style: none;
  padding: 0;
  margin: 0;
}

.book-cover {
  -webkit-transform: perspective(70px) rotateY(-10deg);
  -moz-transform: perspective(70px) rotateY(-10deg);
  transform: perspective(70px) rotateY(-10deg);
}

.book-cover-link {
  position: relative;
  z-index: 10;
  display: inline-block;
  -webkit-transform: translateZ(50px);
  -moz-transform: translateZ(50px);
  transform: translateZ(50px);
  -webkit-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.book-cover img {
  width: 60px;
  height: 90px;
  outline: 1px solid transparent;
}

.book-cover span {
  position: absolute;
  display: none;
  z-index: 1;
  top: 84.1%;
  left: 7px;
  width: 20px;
  height: 10px;
  content: "";
  -webkit-transform: perspective(74px) rotateX(-70deg) rotateY(-5deg);
  -moz-transform: perspective(74px) rotateX(-70deg) rotateY(-5deg);
  -ms-transform: scale(0);
  transform: perspective(74px) rotateX(-70deg) rotateY(-5deg);
  -webkit-box-shadow: 25px 0 5px 5px #adadad;
  -moz-box-shadow: 25px 0 5px 5px #adadad;
  box-shadow: 25px 0 5px 5px #adadad;
}

.book-cover:after {
  position: absolute;
  z-index: 2;
  top: 2%;
  left: 99%;
  width: 10%;
  height: 96%;
  content: " ";
  -webkit-transform: perspective(70px) rotateY(30deg);
  -moz-transform: perspective(70px) rotateY(30deg);
  transform: perspective(70px) rotateY(30deg);
  background-color: #efefef;
  -webkit-box-shadow: inset 0 0 5px #333;
  -moz-box-shadow: inset 0 0 5px #333;
  box-shadow: inset 0 0 5px #333;
}

.list-ranking .item {
  position: relative;
  padding-left: 2.25rem;
}

.list-ranking .item .index {
  font-weight: 600;
  width: 24px;
  height: 32px;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  line-height: 32px;
  text-align: center;
}

.list-ranking .item:first-child .index {
  bottom: auto;
  top: 10px;
}

.item-number {
  margin-left: 10px;
  flex-shrink: 0;
}

.list-ranking .item .media {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
  -moz-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  justify-content: space-between;
}

.text-overflow-1-lines {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
}

.list-ranking .item .media .view {
  padding: 5px 0px;
}

.list-ranking .item .content {
  display: flex;
  border-bottom: 1px solid #187a971c;
  padding: 0.7rem 0rem 0.7rem 0px;
  margin-left: 10px;
}

.list-ranking .item:last-child .content {
  border-bottom: unset;
}

.list-ranking .item .content .thumb {
  padding-right: 1rem;
}

.list-ranking .item .index i {
  background-repeat: no-repeat;
  -webkit-background-size: 100% auto;
  -moz-background-size: 100% auto;
  background-size: 100% auto;
  display: inline-block;
  width: 24px;
  height: 32px;
  margin-right: 10px;
}

.icon-medal-1 {
  background-image: url(https://linkjj.com/img/medal-1.svg);
}

.icon-medal-2 {
  background-image: url(https://linkjj.com/img/medal-2.svg);
}

.icon-medal-3 {
  background-image: url(https://linkjj.com/img/medal-3.svg);
}

.list-ranking.norank .item {
  padding-left: 0rem;
}

.list-ranking.norank .item .index {
  display: none;
}

.list-ranking.norank .item .content {
  margin-left: 0px;
}

/*-------------------------------------------------------------------------- | About |--------------------------------------------------------------------------*/
.dividerHeader {
  display: block;
  text-align: center;
  position: relative;
}

.dividerHeader:before {
  content: "";
  position: absolute;
  width: 100%;
  left: 0;
  top: calc(50% - 1px);
  z-index: -1;
  border-top-width: 5px;
  margin: 0px 0px 20px 0px;
  border-width: 0;
  border-color: #1ebbf0;
  -moz-border-image: -moz-linear-gradient(left, #1ebbf0 30%, #39dfaa 100%);
  -webkit-border-image: -webkit-linear-gradient(
    left,
    #1ebbf0 30%,
    #39dfaa 100%
  );
  border-image: linear-gradient(left, #1ebbf0 30%, #39dfaa 100%);
  border-image-slice: 1;
  height: 2px;
  border-style: solid;
  border-width: 4px;
  border-color: rgba(0, 0, 0, 0.08);
  border-left: none;
  border-right: none;
  border-bottom: none;
  line-height: 9px;
}

.dividerHeader span {
  text-transform: capitalize;
  background-color: #fff;
  padding: 0 1rem;
  font-family: "Oswald";
  font-weight: normal;
  font-size: 20px;
}

#about li {
  margin-right: 0px;
  line-height: 2.2;
  display: flex;
  align-items: center;
  font-size: 14px;
}

#about li::before {
  content: "-";
  background-image: linear-gradient(135deg, #1ebbf0 30%, #39dfaa 100%);
  padding: 6px 4px;
  color: white;
  border-radius: 50%;
  line-height: 0;
  margin-top: -1px;
  margin-right: 5px;
}

#about li ul li::before {
  content: "+";
  padding: 5.5px 2.2px;
}

#about li.unset::before {
  content: unset;
}

#about ul {
  margin: 0px;
  padding: 10px 0px;
  list-style-type: none;
}

#about ul.child {
  margin: 0px;
  padding: 3px 0px 3px 30px;
  list-style-type: none;
}

#wps-double-btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  font-size: 13px;
  border-radius: 0px;
}

#wps-double-btn .wps-btn-left,
#wps-double-btn .wps-btn-right {
  text-decoration: none;
  width: 50%;
  padding: 15px 15px;
  -webkit-box-shadow: none;
  box-shadow: none;
  border-top-left-radius: inherit;
  border-bottom-left-radius: inherit;
  color: #ffffff;
}

#wps-double-btn .wps-btn-right {
  text-align: right;
  background: -webkit-linear-gradient(135deg, #1ebbf0 30%, #39dfaa 100%);
}

#wps-double-btn .wps-btn-left {
  text-align: left;
  background: -webkit-linear-gradient(135deg, #39dfaa 10%, #1ebbf0 100%);
}

#wps-double-btn .wps-btn-left:hover,
#wps-double-btn .wps-btn-right:hover {
  -webkit-box-shadow: inset 0 0 100px 100px rgb(255 255 255 / 10%);
  box-shadow: inset 0 0 100px 100px rgb(255 255 255 / 10%);
}

#wps-double-btn > span {
  width: 45px;
  height: 45px;
  line-height: 45px;
  border-radius: 50%;
  background: #fff;
  color: #444;
  text-transform: uppercase;
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
  -webkit-box-shadow: 0 0 0 6px rgb(255 255 255 / 20%);
  box-shadow: 0 0 0 6px rgb(255 255 255 / 20%);
}

#newest {
  margin-top: -5px;
}

.list-ranking .item:first-child .media {
  padding-top: 0px;
}

#btv_de_cu .list-ranking .item {
  padding-left: 0px;
}

#btv_de_cu .list-ranking .item .content {
  padding: 0.7rem 0px 0.7rem 0px;
}

#btv_de_cu .list-ranking .item:first-child .media {
  justify-content: unset;
  padding-top: 0px;
}

#btv_de_cu .list-ranking .item:first-child .media .thumb {
  justify-content: unset;
  padding-top: 0px;
}

#btv_de_cu .list-ranking .item:first-child .media .info {
  margin-left: 10px;
}

#btv_de_cu .list-ranking .item .media .view {
  max-height: 46px;
  margin-bottom: 4px;
}

#new_hot {
}

/*-------------------------------------------------------------------------- | BTV Đề Cử |--------------------------------------------------------------------------*/
.overBox {
  position: absolute;
  bottom: 0;
  left: 0;
  color: #eac100;
  background-color: rgba(0, 0, 0, 0.7);
  width: 100%;
  text-align: center;
  padding: 2px;
  font-size: 12px;
}

#slider-premiumItem-img2 .premiumItem .img {
  position: relative;
  margin-bottom: 10px;
}

#slider-premiumItem-img2 .title {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  text-align: center;
  font-size: 12px;
}

.lb-item {
  position: absolute;
  left: 0;
  color: #fff;
  text-transform: uppercase;
  background-image: linear-gradient(135deg, #1ebbf0 30%, #39dfaa 100%);
  text-align: center;
  line-height: 20px;
  margin-left: -8px;
  font-size: 8px;
  padding: 2px 10px;
  top: 5px;
}

.lb-item:after {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 8px 8px 0;
  border-color: transparent #39dfaa transparent transparent;
  position: absolute;
  top: 100%;
  left: 0;
}

@media (min-width: 992px) {
  #slider-premiumItem-img2 .img img {
    width: 140px;
  }

  #slider-premiumItem-img2 .slick-slide img {
    text-align: center;
    margin: auto;
  }

  #slider-premiumItem-img2 .premiumItem .img {
    margin: 0 auto;
    margin-bottom: 10px;
    display: block;
    text-align: center;
    width: 140px;
    max-width: 100%;
  }

  #slider-premiumItem-img2 .title {
    -webkit-line-clamp: 1;
    font-size: 14px;
  }

  .lb-item {
    top: 10px;
    padding: 4px 10px;
    font-size: 12px;
  }

  .overBox {
    padding: 5px;
    font-weight: 14px;
  }
}

/*-------------------------------------------------------------------------- | layout bxh truyện |--------------------------------------------------------------------------*/

.navbar-inverse {
  border-radius: unset;
}
.heading .heading-full {
  display: block;
}

.card h2 {
  font-size: 20px;
  color: #0d4f7d;
  color: #333;
  font-family: "Oswald";
}

.card h2 a {
  color: #0d4f7d;
  font-family: "Roboto Condensed";
}

.card h2 a:hover {
  text-decoration: none;
  cursor: pointer;
}

.card select {
  background: #ffffff00;
  border-color: #187a9747;
}

select option {
  background: white;
}

.card {
  background: rgba(255, 255, 255, 0.25);
  background: -webkit-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.25) 10%,
    rgba(255, 255, 255, 0.25) 100%
  );
  box-shadow: 8px 0px 20px 0 rgba(31, 38, 135, 0.37);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 25px 25px;
  margin: 25px 0;
}

/* .card2 { background: #fff; -webkit-box-shadow: 0 9px 68px 0 rgba(62, 57, 107, .2); box-shadow: 0 9px 68px 0 rgba(62, 57, 107, .2); border-radius: 10px; } */
.card:has(.card_name) {
  margin: 40px 0 25px 0px;
}

.card_name {
  position: absolute;
  top: -30px;
  left: 25px;
  font-family: "Oswald";
  font-size: 17px;
  text-shadow: 0 0 6px #000000, 0 0 5px #000000, 0 0 5px #000000;
  color: white;
}

.footer {
  margin-top: 0px;
}

.navbar {
  margin-bottom: 0px;
  border: unset;
}

.navbar-inverse {
  background: #272e36;
  background: #1d222d;
  border-color: unset;
}

#news h2 {
  color: #c3c3c3;
  font-family: "Oswald";
  font-size: 20px;
  margin-bottom: 0px;
}

#news .line {
  height: 32px;
  line-height: 32px;
  border-bottom: 1px dashed #cccccc47;
  margin: 0px;
}

#truyenhdlayout1 .layout_bottom .card {
  min-height: 383px;
}

#truyenhdlayout1 div.container.main {
  padding-top: 15px;
}

/** -- style 1 -- **/
/** -- style 2 -- **/
#truyenhdlayout1 {
  position: relative;
  /* overflow: hidden; */
}

#truyenhdlayout1 .bg {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: -1;
}

.wave1 {
  position: absolute;
  width: 100%;
  top: 0;
  height: 231px;
  clip-path: url(#wave1);
  transform-origin: left;
  background: linear-gradient(180deg, #538e97 -18.72%, #272e36 37.6%);
  z-index: -2;
  transform: scale(1.5) scaleY(-1);
}

.wave1child {
  position: absolute;
  background-image: url(/wp-content/themes/truyenfull/echo/img/wavehead.jpg);
  z-index: -2;
  width: 100%;
  height: 200px;
  background-size: contain;
  opacity: 0.3;
}

#truyenhdlayout1 .layout_top {
  position: relative;
  z-index: 2;
}

#truyenhdlayout1 .layout_bottom {
  position: relative;
  z-index: 0;
}

#truyenhdlayout1 .layout_top,
#truyenhdlayout1 .layout_top a {
  color: #b9b9b9;
}

#truyenhdlayout1 .svg1 {
  position: absolute;
  bottom: 0;
  display: none;
}

#truyenhdlayout1 .svg2 {
  position: absolute;
  bottom: 0px;
  height: 1000px;
  z-index: 1;
  display: none;
}

.btn-dangtruyen {
  width: 100%;
  height: 50px;
  display: inline-block;
  font-weight: 400;
  text-align: center;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-color: transparent;
  border: unset;
  padding: 0.375rem 0.75rem;
  border-radius: 5px;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  box-shadow: 0 2px 8px 0.56px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  color: white !important;
}

.btn-dangtruyen i {
  margin-right: 8px;
}

.btn-dangtruyen span {
  font-family: "Roboto Condensed";
}

.dangtruyen-title {
  font-size: 18px;
  font-weight: 500;
}

.position-relative {
  position: relative !important;
}

.button-writer__arrow {
  position: absolute;
  top: 30px;
  right: 20px;
  z-index: 2;
}

.button-writer__arrow img {
  width: 30px;
}

#userads {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}
#userads .item {
  width: calc((100% - 50px) / 6);
  min-width: 75px;
  position: relative;
  -webkit-transition: all 0.1s ease-in-out;
  transition: all 0.1s ease-in-out;
}

#userads .item a{
  display: block;
}

#userads {
  margin-top: 5px;
}

#userads .item:nth-child(6n) {
  margin-right: 0px;
}

#userads .item:nth-child(n + 7) {
  margin-bottom: 0px;
}

#userads .item img {
  width: 100%;
  aspect-ratio: 2 / 3;
  border-top-right-radius: 15px;
}

#userads .item:hover {
  -webkit-transform: scale(1.2);
  -ms-transform: scale(1.2);
  transform: scale(1.2);
}

#userads .title {
  position: absolute;
  bottom: 0;
  left: 0;
  color: white;
  background-color: rgba(0, 0, 0, 0.7);
  width: 100%;
  padding: 3px;
  text-align: center;
  font-size: 12px;
  z-index: 3;
  overflow: hidden;
  white-space: normal;
  text-overflow: ellipsis;
  height: 38px;
}

#userads .countdown {
  top: 0px;
  font-size: 10px;
  position: absolute;
  overflow: hidden;
  width: 50px;
  height: 50px;
  text-align: center;
  z-index: 1;
  color: #4f93c3;
}

#userads .countdown em {
  font-size: 10px;
  line-height: 10px;
  padding: 21px 0px 5px 0px;
  position: absolute;
  right: -20px;
  bottom: 0px;
  left: 0;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-transform-origin: left bottom;
  transform-origin: left bottom;
  color: inherit;
  background-color: currentColor;
  font-style: normal;
}

#userads .countdown::after {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 10px;
  height: 9px;
  content: "\f017";
  font: normal normal normal 14px/1 FontAwesome;
  background-size: 100%;
  color: white;
}

#userads .countdown > em::first-line {
  color: #fff;
}

@media (max-width: 992px) {
  #truyenhdlayout1 .layout_bottom .card {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .card:has(#userads) {
    padding: 16px;
  }

  #userads {
    gap: 16px;
    justify-content: space-between;
  }

  #userads .item {
    min-width: calc((100% - 32px) / 3);
  }
}

#filter,
#filter #rank,
#filter #update {
  position: relative;
}

#filter .tags span {
  padding: 7px 10px;
  border-radius: 5px;
  margin-bottom: 10px;
  display: inline-block;
  cursor: pointer;
  font-size: 1.34rem;
  font-weight: 500;
  font-family: "Roboto", sans-serif;
  background: rgba(0, 0, 0, 0.05);
  color: rgb(14 14 14 / 88%);
}

#filter .tags span.active {
  background-image: linear-gradient(135deg, #1ebbf0 30%, #39dfaa 100%);
  color: white;
}

#filter .tags.tags1 {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0;
  margin: 0;
  white-space: nowrap;
  text-align: left;
  position: relative;
}

#filter .cl1::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  /* Hoặc right: 0; nếu muốn viền ở bên phải */
  width: 1px;
  height: 100%;
  background-color: #187a971c;
}

#filter .cl1 {
  position: relative;
  /* Đảm bảo phần tử con có thể chứa pseudo-element */
}

#filter #rank .loading,
#filter #update .loading {
  position: absolute;
  top: 45%;
  left: 55%;
  transform: translate(-50%, -50%);
}

#filter .loading svg {
  width: 100px;
}

#filter .cl1 div {
  width: 100%;
  padding: 10px 20px;
  cursor: pointer;
}

#filter .cl1 div.active {
  border-top-left-radius: 15px;
  border-bottom-right-radius: 15px;
  font-weight: bold;
}

#filter #rank .cl2 svg {
  width: 100px;
}

#filter .cl2 .item {
  display: inline-block;
  width: calc((100% - 80px) / 9);
  float: left;
  margin-bottom: 10px;
  margin-right: 10px;
  position: relative;
  -webkit-transition: all 0.1s ease-in-out;
  transition: all 0.1s ease-in-out;
  position: relative;
}

#filter .cl2 .item:nth-child(9) {
  margin-right: 0px;
}

#filter .cl2 .item .item1 img {
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: 5px;
}

#filter .cl2 .item .item1 {
  margin-left: 5px;
  margin-top: 5px;
}

#filter .cl2 .item:hover {
  transform: scale(1.1);
}

#filter .cl2 .item .item1 a {
  position: relative;
  display: block;
}

#filter .cl2 .item .item1 .text {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  color: white;
  text-align: center;
  z-index: 1;
}

#filter .cl2 .item .item1 .text div {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  font-size: 12px;
  margin: 5px;
}

#filter .cl2 .item .item1 .bg {
  position: absolute;
  background-image: linear-gradient(
    180deg,
    rgb(255 255 255 / 0%) 30%,
    rgb(0 0 0) 100%
  );
  width: 100%;
  height: 100%;
  bottom: 0;
}

#filter #update .cl2 .item:nth-child(2n + 1) .item1 img {
  clip-path: polygon(
    94.239% 100%,
    5.761% 100%,
    5.761% 100%,
    4.826% 99.95%,
    3.94% 99.803%,
    3.113% 99.569%,
    2.358% 99.256%,
    1.687% 98.87%,
    1.111% 98.421%,
    0.643% 97.915%,
    0.294% 97.362%,
    0.075% 96.768%,
    0px 96.142%,
    0px 3.858%,
    0px 3.858%,
    0.087% 3.185%,
    0.338% 2.552%,
    0.737% 1.968%,
    1.269% 1.442%,
    1.92% 0.984%,
    2.672% 0.602%,
    3.512% 0.306%,
    4.423% 0.105%,
    5.391% 0.008%,
    6.4% 0.024%,
    94.879% 6.625%,
    94.879% 6.625%,
    95.731% 6.732%,
    96.532% 6.919%,
    97.272% 7.178%,
    97.942% 7.503%,
    98.533% 7.887%,
    99.038% 8.323%,
    99.445% 8.805%,
    99.747% 9.326%,
    99.935% 9.88%,
    100% 10.459%,
    100% 96.142%,
    100% 96.142%,
    99.925% 96.768%,
    99.706% 97.362%,
    99.357% 97.915%,
    98.889% 98.421%,
    98.313% 98.87%,
    97.642% 99.256%,
    96.887% 99.569%,
    96.06% 99.803%,
    95.174% 99.95%,
    94.239% 100%
  );
}

#filter #update .cl2 .item:nth-child(2n) .item1 img {
  clip-path: polygon(
    5.761% 100%,
    94.239% 100%,
    94.239% 100%,
    95.174% 99.95%,
    96.06% 99.803%,
    96.887% 99.569%,
    97.642% 99.256%,
    98.313% 98.87%,
    98.889% 98.421%,
    99.357% 97.915%,
    99.706% 97.362%,
    99.925% 96.768%,
    100% 96.142%,
    100% 3.858%,
    100% 3.858%,
    99.913% 3.185%,
    99.662% 2.552%,
    99.263% 1.968%,
    98.731% 1.442%,
    98.08% 0.984%,
    97.328% 0.602%,
    96.488% 0.306%,
    95.577% 0.105%,
    94.609% 0.008%,
    93.6% 0.024%,
    5.121% 6.625%,
    5.121% 6.625%,
    4.269% 6.732%,
    3.468% 6.919%,
    2.728% 7.178%,
    2.058% 7.503%,
    1.467% 7.887%,
    0.962% 8.323%,
    0.555% 8.805%,
    0.253% 9.326%,
    0.065% 9.88%,
    0px 10.459%,
    0px 96.142%,
    0px 96.142%,
    0.075% 96.768%,
    0.294% 97.362%,
    0.643% 97.915%,
    1.111% 98.421%,
    1.687% 98.87%,
    2.358% 99.256%,
    3.113% 99.569%,
    3.94% 99.803%,
    4.826% 99.95%,
    5.761% 100%
  );
}

#filter #rank .cl2 .item .item1 img,
#filter #rank .cl2 .item .item1 .bg {
  border-radius: 5px;
}

#filter .cl2 .item .item3 {
  position: absolute;
  top: 0;
  left: 0;
  font-weight: bold;
  font-size: 16px;
  background: black;
  color: white;
  width: 25px;
  height: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 3px;
}

#filter .cl2 .item .item2 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  margin-top: 10px;
  margin-left: 5px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  font-family: "Roboto", sans-serif;
}

#filter .full-label {
  top: unset;
  bottom: 20px;
  background-size: 30px 44px;
  left: -6px;
}

/* CSS cho nút đăng truyện bị vô hiệu hóa */
.btn-dangtruyen-disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background-color: #6c757d !important;
  border-color: #6c757d !important;
}

.btn-dangtruyen-disabled:hover {
  background-color: #5a6268 !important;
  border-color: #545b62 !important;
  transform: none;
}

.dangtruyen-title.text-muted {
  color: #6c757d !important;
}

.svg3 {
            position: absolute;
            top: 50%;
            bottom: 50%;
            z-index: -1;
            transform: translate(-50%, -50%);
        }
#sliderbanner_sp{
display: none;
}


        @media screen and (max-width: 991px) {
            #show-layout-home-1 .notice_tab_home_3 #notice-child{
                position: relative;
            }

            #show-layout-home-1 .notice_tab_home_1 #notice-child{
                position: relative;
            }

            #sliderbanner{
                margin: 40px 0 20px;
display: none;
            }

#sliderbanner_sp{
display:block;
}

#sliderbanner_sp .sliderbanner-item img{
height: auto;
}
        }

.sliderbanner-item img {
                            -webkit-background-size: cover;
                            -moz-background-size: cover;
                            -o-background-size: cover;
                            background-size: cover;
                            width: 100%;
                            height: 196px;
                            object-fit: cover;
                            border-radius: 5px;
                        }

                        .slider-cont.slider-cont-sliderbanner .slick-prev.slick-arrow {
                            left: 5px;
                        }

                        .slider-cont.slider-cont-sliderbanner .slick-next.slick-arrow {
                            right: 5px;
                        }


/* Loading animation */
#recommended-stories-container {
  position: relative;
  min-height: 500px; /* Đảm bảo đủ không gian cho loading */
}

.loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid #ff6b6b;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

#recommended-stories-container.loading {
  position: relative;
}

#recommended-stories-container.loading:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 999;
}

#recommended-stories-container.loading:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50px;
  height: 50px;
  margin: -25px 0 0 -25px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #ff6b6b;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  z-index: 1000;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Disable hover effects during loading */
#recommended-stories-container.loading .recommend__item {
  pointer-events: none;
  opacity: 0.7;
}

/* Pagination styles */
.pagination-wrapper {
  margin: 20px 0;
}

.pagination {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pagination .page-item {
  margin: 0 5px;
}

.pagination .page-link {
  display: block;
  padding: 8px 16px;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  color: #007bff;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.pagination .page-link:hover {
  background: #e9ecef;
  border-color: #dee2e6;
}

.pagination .page-item.active .page-link {
  background: #007bff;
  border-color: #007bff;
  color: white;
}

.pagination .page-item.disabled .page-link {
  color: #6c757d;
  pointer-events: none;
  background-color: #fff;
  border-color: #dee2e6;
}

/* Responsive styles */
@media (max-width: 767px) {
  .pagination .page-item {
    margin: 0 2px;
  }

  .pagination .page-link {
    padding: 6px 12px;
    font-size: 14px;
  }
}