/* ============================================================== 
     # Chapter List
=================================================================== */

.chapter-list .chapter-item {
    background-size: cover !important;
    background-position: center !important;
}

.chapter-list .chapter-item > a {
    display: block;
    padding: 18px 25px;
    font-size: 16px;
    background-size: cover !important;
    background-position: center !important;
    color: #ffffff;
    background: #8A6552;
    position: relative;
    z-index: 1;
    box-shadow: -1px -5px 28px -5px rgb(0 0 0 / 75%);
}

.chapter-list .chapter-item:last-child a {
    margin-bottom: 0;
    border: none;
}

.chapter-list .chapter-item a span {
    display: inline-block;
    position: absolute;
    right: 25px;
    font-weight: 900;
    text-shadow: 0 1px 1px #000;
}

.chapter-list .chapter-item:last-child {
    border: none;
}

.chapter-list .col-lg-12 {
    padding: 0;
}

/* Modal Animation */
.modal.fade{
    opacity:1;
    animation-delay: 10s;
  }

  .modal-dialog.animate__animated.animate__slideOutRight.animated {
      transition: transform 10s ease-out,-webkit-transform 10s ease-out;
  }
  .modal.fade .modal-dialog {
     -webkit-transform: translate(0);
     -moz-transform: translate(0);
     transform: translate(0);
  }

  .chapter-content .modal {
    padding: 0 !important;
}
  .chapter-content .modal-dialog {
    width: 100%;
    max-width: 100%;
    margin: 0;
    /* height: 100%; */
    /* min-height: 100vh; */
    height: auto;
    min-height: auto;
}

.modal-content {
    min-height: auto;
    display: block;
}

.chapter-content .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f1f1f1;
    border: none;
}

.chapter-item .chapter-content .modal-header .btns {
    display: flex;
}

.chapter-item .chapter-content .modal-header .btns > div {
    display: inline-block;
    height: 30px;
    width: 30px;
    line-height: 32px;
    text-align: center;
    background: #8A6552;
    border-radius: 50%;
    margin-left: 5px;
    color: #ffffff;
    z-index: 9;
    cursor: pointer;
}

.modal-footer {
    background: #f1f1f1;
    border: none;
}

/* Chapter Carousel */


.chapter-carousel.owl-carousel .owl-nav .owl-prev, .chapter-carousel.owl-carousel .owl-nav .owl-next {
    margin: 0;
    padding: 0;
    height: 30px;
    width: 30px;
    line-height: 30px;
    border-radius: 50%;
    margin-right: 5px;
    background: #8A6552;
}

.chapter-carousel.owl-carousel .owl-nav {
    position: fixed;
    top: auto;
    right: 20px;
    margin: 0;
    width: auto;
    text-align: right;
    left: auto;
    bottom: 18px;
    z-index: 99999;
}

.chapter-carousel.owl-carousel .owl-nav .owl-prev, 
.chapter-carousel.owl-carousel .owl-nav .owl-next {
    margin: 0;
    padding: 0;
    height: 30px;
    width: 30px;
    line-height: 32px;
    border-radius: 50%;
    margin-left: 5px;
    background: #8A6552;
    text-align: center;
    color: #ffffff;
}

.chapter-item .chapter-content .modal-header {
    text-align: center;
    position: absolute;
    background: transparent;
    padding-bottom: 20px;
    width: 100%;
    bottom: 0;
    padding-left: 20px;
}

.chapter-item .chapter-content .modal-header .slider-counter {
    text-align: center;
    font-weight: 600;
    color: #232323;
    position: absolute;
    left: 50%;
    top: 20px;
    right: auto;
    transform: translateX(-50%);
    width: auto;
    z-index: 9;
}

.chapter-item .chapter-content .modal-header button.close {
    float: left;
    margin: 0;
    padding: 0;
    z-index: 9;
    color: #8A6552;
}

.chapter-item .chapter-content .modal-header button {
    color: #ffffff;
    opacity: 1;
}

.chapter-item .chapter-content .modal-header button i {
    font-weight: 600;
}

.chapter-item .chapter-content .modal-body {
    overflow-y: hidden;
    padding: 0;
    height: auto;
    min-height: auto;
}

.chapter-item .chapter-content .modal {
    height: auto;
}

.chapter-carousel .single-item h2 {
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#575e63), to(#3f4347));
    text-align: center;
    color: #ffffff;
    font-weight: 500;
    padding: 50px 30px;
    margin: 0;
    border-radius: 0 0 30px 30px;
    font-size: 28px;
    line-height: 1.3;
}

.chapter-carousel .content {
    padding: 30px;
    padding-bottom: 70px;
}

.chapter-carousel .single-item.even .content {
    padding: 30px;
    padding-bottom: 30px;
}

.chapter-carousel .content img {
    margin-bottom: 30px;
    border-radius: 7px;
}

.chapter-carousel ul {
    margin: 15px 0;
}

.chapter-carousel ul li {
    line-height: 28px;
    color: #232323;
    font-style: italic;
    font-size: 17px;
    margin-bottom: 15px;
}

.chapter-carousel ul li:last-child {
    margin-bottom: 0;
}

.chapter-carousel .single-item {
    min-height: 100%;
    overflow-y: scroll;
    position: fixed;
    height: 100vh;
    background: #ffffff;
    z-index: 999999;
    position: relative;
}

.chapter-carousel .single-item::after {
    position: fixed;
    left: 0;
    bottom: 0;
    content: "";
    height: 65px;
    width: 100%;
    background: #ffffff;
    z-index: 1;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 20px 0 rgb(0 0 0 / 10%);
    border-radius: 30px 30px 0 0;
}

.chapter-carousel .single-item.even {
    overflow: hidden;
    width: 100%;
    height: 100%;
    min-height: auto;
    border-radius: 30px 30px 0 0;
}

.chapter-carousel .owl-item {
    height: 100%;
    height: 100vh;
    background: #000000;
}

.chapter-carousel .single-item.even h2 {
    height: 100%;
    display: flex;
    align-items: center;
    text-align: center;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    margin-top: -30px;
    background: #8A6552;
    border-radius: 30px 30px 0 0;
}

.chapter-carousel .modal-content {
    background: #8A6552;
}

.chapter-carousel .single-item img {
    margin-top: 30px;
}

.chapter-area .container {
    width: 100%;
    max-width: 100%;
}