:root {
  --max-width: 980px;
  --font-family-arvo: serif;
  --font-family-mali: "Mali", cursive;
  --font-family-nunito: "Nunito Sans", sans-serif;
  --font-family-ubuntu: "Ubuntu", sans-serif;
  --bg-body: #f0f2f5;
  --bg-header: #9b0b48;
  --bg-box: #fff;
  --color-text: #2f2f2f;
  --color-text-light: #777;
  --color-text-dark: #121212;
  --color-white: #fff;
  --color-primary: #9f0a49;
  --color-primary-dark: #bf005a;
  --box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.25);
  --box-shadow-light: 0 3px 5px 0 rgba(0, 1, 1, 0.1);
  --opacity-white: rgba(200, 200, 200, 0.35);
  --opacity-white-dark: rgba(200, 200, 200, 0.65);
  --opacity-black: rgba(0, 0, 0, 0.25);
  --opacity-black-dark: rgba(0, 0, 0, 0.5);
}

.dark {
  --bg-body: #161d27;
  --bg-header: #1d2734;
  --bg-box: #1d2734;
  --color-text: #ddd;
  --color-text-light: #9a9c9f;
  --color-text-dark: #fafafa;
  --color-primary: #7397c3;
  --color-primary-dark: #5480b6;
}

/* Untitles */
body {
  font-family: var(--font-family-nunito);
  color: var(--color-text);
  background-color: var(--bg-body);
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: var(--color-primary);
  text-decoration: none;
  transition: all 0.15s ease-in-out;
}
a:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}
svg {
  fill: currentColor;
  }
.icon {
  cursor: pointer;
  display: inline-block;
  transition: all 0.3s linear;
}
.icon:hover {
  background: var(--opacity-black);
}
.container {
  width: 100%;
  max-width: var(--max-width);
}
.dark .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
}

/* fade image in after load */
.lazyload,
.lazyloading {
	opacity: 0;
}
.lazyloaded {
	opacity: 1;
	transition: opacity 200ms;
}

/* Keyframes Animation */
@-webkit-keyframes sleding{0%{opacity:0}20%{opacity:1;bottom:0}50%{opacity:1;bottom:0}80%{opacity:1;bottom:0}100%{opacity:0;bottom:20px;visibility:hidden}}@keyframes sleding{0%{opacity:0}20%{opacity:1;bottom:0}50%{opacity:1;bottom:0}80%{opacity:1;bottom:0}100%{opacity:0;bottom:20px;visibility:hidden}}


/* Float */
.hvr-float {
  display: block;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
.hvr-float:hover, .hvr-float:focus, .hvr-float:active {
  -webkit-transform: translateY(-8px);
  transform: translateY(-8px);
}
/* Wobble Horizontal */
@-webkit-keyframes hvr-wobble-horizontal {
  16.65% {
    -webkit-transform: translateX(8px);
    transform: translateX(8px);
  }
  33.3% {
    -webkit-transform: translateX(-6px);
    transform: translateX(-6px);
  }
  49.95% {
    -webkit-transform: translateX(4px);
    transform: translateX(4px);
  }
  66.6% {
    -webkit-transform: translateX(-2px);
    transform: translateX(-2px);
  }
  83.25% {
    -webkit-transform: translateX(1px);
    transform: translateX(1px);
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}
@keyframes hvr-wobble-horizontal {
  16.65% {
    -webkit-transform: translateX(8px);
    transform: translateX(8px);
  }
  33.3% {
    -webkit-transform: translateX(-6px);
    transform: translateX(-6px);
  }
  49.95% {
    -webkit-transform: translateX(4px);
    transform: translateX(4px);
  }
  66.6% {
    -webkit-transform: translateX(-2px);
    transform: translateX(-2px);
  }
  83.25% {
    -webkit-transform: translateX(1px);
    transform: translateX(1px);
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}
.hvr-wobble-horizontal {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
}
.hvr-wobble-horizontal:hover, .hvr-wobble-horizontal:focus, .hvr-wobble-horizontal:active {
  -webkit-animation-name: hvr-wobble-horizontal;
  animation-name: hvr-wobble-horizontal;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
}

/* Background */
.bg-body {
  background-color: var(--bg-body) !important;
}
.bg-box {
  background-color: var(--bg-box);
}
/* Color */
.color-primary {
  color: var(--color-primary);
}
.color-text {
  color: var(--color-text);
}
.color-text-dark {
  color: var(--color-text-dark);
}
.color-text-light {
  color: var(--color-text-light);
}

/* Font Style */
.font-nunito {
  font-family: var(--font-family-nunito);
}
.font-ubuntu {
  font-family: var(--font-family-ubuntu);
}
.font-size-13 {
  font-size: 13px !important;
}
.font-size-15 {
  font-size: 15px !important;
}
.font-size-16 {
  font-size: 16px !important;
}
.font-size-20 {
  font-size: 20px !important;
}
.font-size-28 {
  font-size: 28px !important;
}
.font-weight-300 {
  font-weight: 300 !important;
}
.font-weight-400 {
  font-weight: 400 !important;
}
.font-weight-500 {
  font-weight: 500 !important;
}
.font-weight-600 {
  font-weight: 600 !important;
}
.font-weight-700 {
  font-weight: 700 !important;
}

/* Cover Image */
.card-cover {
  position: relative;
  overflow: hidden;
  padding-top: 142%;
}
.poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.position-cover {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-body);
  color: #aaa;
}

/* Layout */
#navbar {
  background-color: var(--bg-header);
}
/* darkmode */
.dark .sun {
  display: block !important;
}
.dark .moon {
  display: none !important;
}

/* SideNav */
.sidenav-wrap {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  height: 100%;
  width: 80%;
  max-width: 300px;
  z-index: 9999;
  overflow: auto;
  background-color: var(--bg-body);
  transition: transform 0.3s;
  will-change: transform;
  -webkit-transform: translateX(-103%);
  transform: translateX(-103%);
}
.sidenav-active::after {
  content: "";
  display: block;

  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 9090;

  background-color: rgba(0, 0, 0, 0.5);
}
.sidenav-active .sidenav-wrap {
  -webkit-transform: translateX(0%);
  transform: translateX(0%);
}

/* dropdown item */
.dropdown-item {
  color: var(--color-text-light);
  padding: 0.5rem 1rem;
  font-weight: 600;
  text-decoration: none !important;
}
.dropdown-item:active,
.dark .dropdown-item:hover {
  color: #fafafa;
  background-color: var(--bg-body);
}

/* Widget */
.widget-title {
  font-family: var(--font-family-ubuntu);
  font-weight: 400;
}

/* Slideshow */
#slides {
	position: relative;
  margin: 0;
  list-style-type: none;
  overflow: hidden;
}
#slides > .slide{
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	opacity: 0;
  z-index: 1;
  background: var(--bg-boxed);
  filter: grayscale(10%);
	-webkit-transition: opacity 2s;
	-moz-transition: opacity 2s;
	-o-transition: opacity 2s;
	transition: opacity 2s;
}
#slides > .slide a > .title {
  background: linear-gradient(to left, transparent 20%, var(--opacity-black-dark) 80%);
  color: #fff;
  z-index: 1;
  text-shadow: 2px 1px 3px var(--opacity-black-dark);
}
#slides > .showing{
	opacity: 1;
	z-index: 2;
}


/*
 * Single Series
 */
.detail {
  min-width: 262px;
  max-width: 100%;
}
.detail > .cover {
  text-align: center;
}
.detail > .cover > img {
  width: 100%;
  max-width: 225px;
}
.detail > .cover > .status {
  background: var(--color-primary);
  color: #fafafa;
  padding: 0.8rem;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.025rem;
}
.info {
  margin: 0;
  font-size: 15px;
}
.info > li {
  margin-bottom: 1.25rem;
}
.info > li > span {
  font-size: 16px;
  font-weight: 700;
  display: block;
}

.genre > li > a {
  padding: 5px 10px;
  display: inline-block;
  font-size: 13px;
  background: var(--bg-body);
  text-decoration: none;
  font-weight: 600;
  color: var(--color-text-light);
  border-radius: 3px;
  margin-right: 5px;
  margin-bottom: 7px;
  transition: all 0.15s ease-in-out;
}
.genre > li > a:hover {
  color: var(--color-primary);
}
.sinopsis {
  line-height: 24px;
  font-size: 15px;
}
.sinopsis p {
  margin-bottom: 1.25rem;
}
.latest-chapter {
  font-family: var(--font-family-ubuntu);
  font-size: 17px;
  border-top: 1px dashed var(--opacity-white-dark);
  border-bottom: 1px dashed var(--opacity-white-dark);
}
.latest-chapter > .item-title {
  font-weight: 700;
}
.latest-chapter > .item-date {
  font-size: 13px;
  color: var(--color-text-light);
}
/* tab konten */
.tabkonten .nav-tabs .nav-link.active {
  color: var(--color-text);
  border-color: var(--opacity-white);
  font-weight: 600;
  background-color: var(--bg-body);
}
.tabkonten .nav-tabs .nav-link {
  color: var(--color-text-light);
  padding: 0.55rem 1.1rem;
}
.tabkonten .nav-tabs .nav-link:hover {
  border-color: var(--opacity-white);
}
.dark .tabkonten .nav-tabs,
.dark .tabkonten .nav-tabs .nav-link.active {
  border-color: var(--bg-body);
  background-color: var(--opacity-black);
  border-radius: 5px;
}

/* Chapter List */
.chapter-list {
  max-height: 285px;
  overflow-y: auto;
}
.chapter-list > .chapter-list-item {
  margin: 10px 3px;
}
.chapter-list > .chapter-list-item > a {
  display: block;
  padding: 0.65rem 0.95rem;
  text-decoration: none;
  color: var(--color-text);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
  border-radius: 3px;
}
.chapter-list > .chapter-list-item > a:hover {
  color: var(--color-primary-dark);
  font-weight: 600;
  padding-left: 1.5rem;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.175) !important;
}

/*
 * Page Chapter
 */
/* menu bottom */
.menu-bottom > * {
  color: var(--color-text);
  cursor: pointer;
  padding: .5rem;
}
.menu-bottom > *:hover {
  color: var(--color-text-light);
  text-decoration: none;
}
.menu-bottom svg {
  font-size: 24px;
}
.menu-bottom > .nextprev {
  opacity: .5;
  color: var(--color-text-light);
  cursor: default;
}

/* konten Blog */
.konten > p {
  line-height: 27px;
  font-size: 15px;
  margin-bottom: 1.25rem;
}

/* text Chapter */
.text-chapter {
  line-height: 180%;
  font-size: 15px;
}
.text-chapter img {
  display: block;
  margin: 0 auto;
}
.text-chapter p {
  padding-top: .5rem;
}

/* Style Reading */
.options-style {
  font-size: 13px;
  transition: all .3s ease-in-out;
}
.options-style #reset {color: var(--color-white);font-size: 14px;font-family: var(--font-family-ubuntu);background: var(--bs-danger);}
.options-style .btn {
  border: 0;
  background: transparent;
  color: var(--color-text);
  height: 45px;
  border-radius: 3px;
}
.options-style .btn:hover {
  background: var(--opacity-white);
}
.options-style .btn.btn-size {
  font-size: 19px;
  background: var(--opacity-white);
}
@media (max-width: 782px) {
  .options-style { max-width: 98%;left: 1%;right: 1%;margin-top: 1%;}
}

/* no Boxed  */
.no-boxed .post-chapter, .no-boxed #boxez{
  background:none !important;
  box-shadow:none !important;
  border:none;
} 
#boxez {
  border: 2px solid var(--opacity-black);
  background: var(--bg-body);
}

/* Chapter Menu */
.sideRight {
  right: 0;
  left: auto;
  -webkit-transform: translateX(103%);
  transform: translateX(103%);
  background-color: var(--bg-box);
}
.sideRight > .cover {
  text-align: center;
  max-width: 175px;
}
.sideRight > .cover > .meta-desc {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.25rem;
}
.sideRight > .cover > .meta-desc > .entry-title > a {
  color: var(--color-text);
}
.sideRight > .cover > .meta-desc > .daftar-isi {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-text-light);
}
.sideRight > .chapterlist li.active {
  color: var(--color-primary);
  border-left: 4px solid var(--color-primary) !important;
  -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.125);
  box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.125);
}
.sideRight > .chapterlist li {
  border-top: 1px solid var(--bg-body);
  font-weight: 600;
  font-size: 15px;
}
.sideRight > .chapterlist li:hover {
  background: var(--bg-body);
  border-left: 4px solid var(--color-text);
  transition: all 0.1s linear;
}
.sideRight > .chapterlist li a {
  border-left: 4px solid transparent;
  color: currentColor;
  text-decoration: none;
}
.sideRight > .chapterlist li,
.chapterlist li a {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

/* Share Box */
.shared > a {
  margin: .25rem;
  padding: .5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  background: var(--bg-body);
  border-radius: 3px;
}
.shared > a > svg {
  font-size: 20px;
  margin-right: 3px;
}
.bg-tw{background:#55ACEF !important}
.bg-tw:hover{background:#509fdc !important}
.bg-wa{background:#58C042 !important}
.bg-wa:hover{background:#4ba937 !important}
.bg-fb{background:#3B5999 !important}
.bg-fb:hover{background:#324c84 !important}
.shared-box > a {
  font-size: 13px;
  text-align: center;
}
.shared-box > a > svg {
  font-size: 24px;
}
.shareNotif span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  font-size: 90%;
  display: block;
  width: 200px;
  margin: 0 auto 50px;
  padding: 15px 10px;
  border-radius: 3px;
  background-color: rgba(0, 0, 0, 0.8);
  color: #fefefe;
  line-height: 20px;
  text-align: center;
  opacity: 0;
  -webkit-transition: all .1s ease-in-out;
  transition: all .1s ease-in-out;
  -webkit-animation: sleding 1.5s ease forwards;
  animation: sleding 1.5s ease forwards;
}

/**
  * Responsive 
  */
@media (min-width: 576px) {
  /* Section Novel */
  .detail > .cover > img {
    max-width: 250px;
  }
  .sinopsis {
    line-height: 28px;
    font-size: 16px;
  }

  /* Konten Blog */
  .konten > p{
    line-height: 32px;
    font-size: 17px;
    margin-bottom: 1.5rem;
  }
  /* text chapter */
  .text-chapter {
    font-size: 17px;
  }

  .menu-bottom {
    width: 100%;
    max-width: 380px;
    border-radius: 50rem !important;
  }
}
