/*
Copyright (c) 2018 by onepage (https://codepen.io/onepage-themes/pen/gRRQyo
Accordion Css Modified from Original
*/

* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

body {
    background: #fff;
    color: #6e767c;
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    line-height: 1.3;
    overflow-x: hidden;
}

/* General */
/**
Fixing bootstrap columns for safari
 */
.row:before, .row:after{
 display: inline-block !important;
}


::-moz-selection { /* Code for Firefox */
    color: #fff;
    background-color: #323c4f;
}

::selection {
    color: #fff;
    background-color: #323c4f;
}

.btn, .btn:link, .btn:visited {
  text-decoration: none;
  padding: 10px 60px;
  font-weight: 600;
  display: inline-block;
  position: relative;
  text-transform: capitalize;
  border-radius: 0;
  border: 2px solid #6b9fb7;
}

.btn:hover {
  opacity: .9;
  border: 2px solid transparent;
  background-color: #6b9fb7;
}

.btn-dark {
  background-color: #6b9fb7;
}

.btn-dark.focus, .btn-dark:focus {
  -webkit-box-shadow: none !important;
          box-shadow: none !important;
}

* :focus, .navbar-toggler:focus, .navbar-toggler:hover {
  text-decoration: none;
  outline: 0;
  -webkit-box-shadow: none;
          box-shadow: none;
}

.btn.focus, .btn:focus {
    outline: 0;
    -webkit-box-shadow: none;
            box-shadow: none;
}

hr {
  margin: 0;
}

.section-title {
  font-size: 40px;
  margin-bottom: 10px;
  color: #272c32;
  font-weight: 300;
  text-transform: capitalize;
}

.no-padding {
  padding: 0;
}

p {
  font-size: 17px;
}

p.sub-heading {
  font-size: 28px;
}

#divine, #winning, #about, #renovation, #church, #alone {
  padding: 100px 15px;
}


.flex-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

/* Navigation */

nav {
  -webkit-box-shadow: 2px 2px 5px 0 rgba(173, 173, 173, .2);
          box-shadow: 2px 2px 5px 0 rgba(173, 173, 173, .2);
}

.bg-dark {
  background-color: #f8f8f8 !important;
}

.navbar-dark .navbar-nav .nav-link {
  color: #3d4246;
}

.navbar-dark .navbar-nav .nav-link:hover {
  color: #3d4246;
  opacity: .9;
}

.navbar-dark .navbar-nav .nav-link.active {
  color: #3d4246;
}

.navbar-dark .navbar-nav .nav-link:focus {
  color: #3d4246;
  outline: 0;
}

.navbar-dark .navbar-nav .active>.nav-link, .navbar-dark .navbar-nav .nav-link.active, .navbar-dark .navbar-nav .nav-link.show, .navbar-dark .navbar-nav .show>.nav-link {
  color: #777;
}

.navbar-nav .dropdown-menu {
  left: auto;
  right: 0;
  border: 0;
  border-radius: 0;
  margin-top: 0;
}

.dropdown-item {
    background-color: #f8f8f8;
}

.dropdown-menu.show {
    background-color: #f8f8f8;
}

.dropdown-item.active, .dropdown-item:active {
    background-color: #f8f8f8;
    color: #212529;
}

.dropdown-item:focus, .dropdown-item:hover {
  color: #fff;
  background-color: #6b9fb7;
}

.navbar-brand img {
  height: 40px;
}

.navbar-dark .navbar-toggler {
  color: #323c4f;
  border-color: #323c4f;
  background-color: #323c4f;
}

nav.navbar.navbar-expand-sm.bg-dark.navbar-dark.fixed-top {
  -webkit-box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.18);
          box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.18);
}


.navbar {
    padding: 0 1rem;
}

.navbar-expand-md .navbar-nav .nav-link {
  padding: 10px 15px;
  font-size: 14px;
  font-weight: 600;
  color: #777;
}

li.nav-item {
  line-height: 40px;
}

.buy-now {
  background-color: #6b9fb7;
  color: #fff!important;
}

/* Hero */

#hero {
  background-image: -webkit-gradient(linear, left top, right bottom, from(rgba(0, 0, 0, .8)), to(rgba(0, 0, 0, .8))), url("../img/hero.jpg");
  background-image: -webkit-linear-gradient(left top, rgba(0, 0, 0, .8), rgba(0, 0, 0, .8)), url("../img/hero.jpg");
  background-image: -o-linear-gradient(left top, rgba(0, 0, 0, .8), rgba(0, 0, 0, .8)), url("../img/hero.jpg");
  background-image: linear-gradient(to right bottom, rgba(0, 0, 0, .8), rgba(0, 0, 0, .8)), url("../img/hero.jpg");
  background-size: cover;
  padding: 150px 15px;
  position: relative;
  background-position: bottom;
  background-repeat: no-repeat;
  height: auto;
  color: #fff;
  margin-top: 60px;
}

#hero h1 {
  margin-bottom: 20px;
  font-size: 54px;
  font-weight: 600;
}

#hero p {
  color: #fff;
  padding-bottom: 20px;
}

#hero img {
  height: 350px;
}

.hero-image {
  text-align: right;
}

/* Tabs */

section::before {
  content: "";
  display: block;
  height: 76px;
  margin: -76px 0 0;
}

#books>nav {
  padding-top: 60px;
  background-color: #272c32;
}

#books>nav a {
  text-decoration: none;
  text-align: center;
  vertical-align: top;
  font-weight: bold;
  color: #fff;
}

#books .link-title {
  background-color: transparent;
  border: 2px solid #fff;
  padding: 10px 18px;
  font-size: 13px;
  text-transform: uppercase;
  margin: 0 auto;
  width: 150px;
  font-weight: 600;
}

#books>nav a:hover,
#books>nav a:focus {
    color: rgba(255,255,255, .9);
}

#books>nav a.is-selected {
  color: #fff;
  font-weight: bold;
}

#books>nav a img {
  height: 190px;
  padding-left: 25px;
  margin-bottom: 30px;
}

#books>nav a h2 {
  font-size: 1em;
  padding: 0 5px 26px;
  text-transform: capitalize;
}

#books>nav a h3 {
  text-transform: capitalize;
  margin: 20px 0;
  font-size: 30px;
  font-weight: 100;
}

/* a.column {
  padding-bottom: 30px;
} */

.tab-container {
  width: 100%;
}

#books>article>section {
  display: none;
  padding: 80px 0;
}

#books>article>section.is-selected {
  display: block;
}

#books>article h2 {
  font-size: 32px;
  font-weight: 400;
  margin: 60px 0 20px;
}

#books img {
  max-width: 100%;
}

#books #watchanywhere h2 {
  font-size: 22px;
  padding-right: 1em;
  margin: 0 0 20px;
}

#books #watchanywhere>div:first-child {
  margin-bottom: 60px;
}

#books #watchanywhere p {
  color: #999;
}

#books #pickprice h2 {
  font-size: 22px;
  display: inline;
  margin: 0 40px 0 0;
}
/* Slick Slider */
.slick-list {
    margin: 0 -27px;
}

.slick-next:before {
    content: url(../img/arrow-right.png);
}

.slick-prev:before {
    content: url(../img/arrow-left.png);
}

.reviewer {
  margin-bottom: 0;
}

.carousel-indicators li {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  cursor: pointer;
  background-color: rgba(44,62,80,0.1);
}

.carousel-indicators li.active {
  background-color: #6b9fb7;
}

.carousel-indicators {
  margin-bottom: -8%;
}

.dedicate {
  color: #272c32;
  text-decoration: underline;
  display: inline-block;
  -webkit-transition: all .3s ease-in-out;
  -o-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
  font-size: 14px;
}

.dedicate:hover {
  color: #6b9fb7;
}

.lity-content #dedication {
  width: 70%;
  margin: 0 auto;
}

#dedication {
    padding: 25px;
}

#dedication h3 {
  color: #272c32;
}

em.types {
    font-size: 13px;
}


/**CMD***/
.review .quote{
  font-weight: 600;
  /* padding: 25px 0; */
  /* text-align: center; */
}

#tabs .cta-container {
  margin-bottom: 15px;
}

.book-cover {
    text-align: center;
}

.tab-container {
  position: relative;
  text-align: center;
  padding-bottom: 60px;
}

.tab-container .is-selected::after {
  position: absolute;
  top: 98%;
  left: 39%;
  content: '';
  width: 0;
  height: 0;
  border-top: solid 40px #272c32;
  border-left: solid 40px transparent;
  border-right: solid 40px transparent;
}

.columns {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.column {
  display: block;
  -ms-flex-preferred-size: 0;
      flex-basis: 0;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  -ms-flex-negative: 1;
      flex-shrink: 1;
}

.columns.flex-wrap {
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.column.is-25 {
  -webkit-box-flex: 0;
      -ms-flex: none;
          flex: none;
  width: 25%;
}

.column.is-narrow {
  -webkit-box-flex: 0;
      -ms-flex: none;
          flex: none;
}

.dedication p:not(:last-child) {
  margin-bottom: 16px;
}

/* Renovation */

/* Divine Design */

#divine .content {
  text-align: left;
}

#divine img, #alone img, #renovation img {
  height: 530px;
}

/* Alone at the top */

#alone {}

/* Winning the War Against the Flesh: God’s Design for Healing and Wholeness */
#option1 h3 span,
#alone span,
#option2 h3 span,
#divine span,
#option3 h3 span,
#winning span,
#renovation span {
  display: block;
  font-size: 24px;
}

/* About */

#about {
  background-color: #f1f1f1;
  height: auto;
}

#about a {
  color: #272c32;
}

#about a:hover {
  text-decoration: none;
}

.author-img {
  /* background-image: linear-gradient(to right bottom, rgba(0, 0, 0, .4), rgba(0, 0, 0, .4)), url(../img/dwight.jpg);
  background-repeat: no-repeat;
  width: 100%;
  height: 424px;
  background-size: contain; */
}

#about .content-inner {

}

/* Divider */
#divider {
  background-color: #272c32;
  text-align: center;
  padding: 50px 30px 65px
}

#divider a.buy-btn {
  color: #fff;
  border: 2px solid #fff;
  background-color: #272c32;
}

#divider h3 {
  color: #fff;
}

#divider a.myBTN.border-btn:hover {
  background-color: transparent
}

/* Dedication */
.wrap {
  position: relative;
  width: 100%;
  padding: 30px 30px 0;
  max-width: 800px;
  top: 25%;
  left: 50%;
  -webkit-transform: translateX(-50%);
          -ms-transform: translateX(-50%);
      transform: translateX(-50%);
}

.accordion {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
}

.accordion__item {
  display: block;
  width: 100%;
  margin-bottom: 20px;
}
.accordion__item:last-child {
  margin-bottom: 0;
}

.accordion__title {
  display: block;
  position: relative;
  font-size: 18px;
  text-align: center;
  text-transform: uppercase;
  padding: 20px;
  font-weight: 700;
  color: #fff;
  border: 1px solid #eee;
  overflow: hidden;
  -webkit-transition: background-color .2s;
  -o-transition: background-color .2s;
  transition: background-color .2s;
  background-color: #272c32;
}
.accordion__title:hover {
  opacity: .8;
  background-color: #272c32;
  color: #fff;
    text-decoration: none;
}
.accordion__title.active {
  background: #272c32;
}
.accordion__title.active .x7 {
  -webkit-transform: rotate(-90deg);
          -ms-transform: rotate(-90deg);
      transform: rotate(-90deg);
}
.accordion__title.active .x7 .btop {
  width: 67%;
  top: 2px;
  -webkit-transform: translateY(-50%) rotate(-45deg);
          -ms-transform: translateY(-50%) rotate(-45deg);
      transform: translateY(-50%) rotate(-45deg);
  -webkit-transform-origin: 50% 50%;
          -ms-transform-origin: 50% 50%;
      transform-origin: 50% 50%;
}
.accordion__title.active .x7 .bmid {
  opacity: 0;
}
.accordion__title.active .x7 .bbot {
  width: 67%;
  bottom: 2px;
  -webkit-transform: translateY(50%) rotate(45deg);
          -ms-transform: translateY(50%) rotate(45deg);
      transform: translateY(50%) rotate(45deg);
  -webkit-transform-origin: 50% 50%;
          -ms-transform-origin: 50% 50%;
      transform-origin: 50% 50%;
}

.accordion__content {
  display: none;
  position: relative;
  overflow: hidden;
  border: 1px solid #eee;
  border-top: none;
  line-height: 1.5;
  padding: 20px 15px;
  background-color: #fff;
  font-size: .875em;
}

.accordion__content p {
  margin-bottom: 0;
}

.accordion__content h5 {
  margin-top: 10px;
  margin-bottom: 0;
  font-weight: 600;
  font-style: italic;
}

.bmenu {
  width: 26px;
  height: 16px;
  display: block;
  position: absolute;
  right: 15px;
  top: 23px;
}

.btop, .bmid, .bbot {
  right: 0;
  width: 100%;
  height: 2px;
  position: absolute;
  background-color: #fff;
  border-radius: 1px;
}

.btop {
  width: 40%;
}

.bmid {
  width: 60%;
}

.bbot {
  width: 80%;
}

.x7 {
  -webkit-transition: -webkit-transform .3s ease-out;
  transition: -webkit-transform .3s ease-out;
  -o-transition: transform .3s ease-out;
  transition: transform .3s ease-out;
  transition: transform .3s ease-out, -webkit-transform .3s ease-out;
  -webkit-transform-origin: 60% 75%;
          -ms-transform-origin: 60% 75%;
      transform-origin: 60% 75%;
}
.x7 .btop {
  top: 0;
  -webkit-transition: width .3s, top .0s, -webkit-transform .3s;
  transition: width .3s, top .0s, -webkit-transform .3s;
  -o-transition: width .3s, transform .3s, top .0s;
  transition: width .3s, transform .3s, top .0s;
  transition: width .3s, transform .3s, top .0s, -webkit-transform .3s;
  -webkit-transition-timing-function: ease-out;
          -o-transition-timing-function: ease-out;
     transition-timing-function: ease-out;
}
.x7 .bmid {
  top: calc(50% - 1px);
  -webkit-transform-origin: 100% 50%;
          -ms-transform-origin: 100% 50%;
      transform-origin: 100% 50%;
  -webkit-transition: opacity .1s;
  -o-transition: opacity .1s;
  transition: opacity .1s;
  -webkit-transition-timing-function: ease-out;
          -o-transition-timing-function: ease-out;
     transition-timing-function: ease-out;
}
.x7 .bbot {
  bottom: 0;
  -webkit-transition: width .3s, bottom .0s, -webkit-transform .3s;
  transition: width .3s, bottom .0s, -webkit-transform .3s;
  -o-transition: width .3s, transform .3s, bottom .0s;
  transition: width .3s, transform .3s, bottom .0s;
  transition: width .3s, transform .3s, bottom .0s, -webkit-transform .3s;
  -webkit-transition-timing-function: ease-out;
          -o-transition-timing-function: ease-out;
     transition-timing-function: ease-out;
}

 #accordion .card {
  border-radius: 0;
}

#accordion .card:not(:last-of-type){
margin-bottom: 20px;
}

#accordion .btn-link {
    font-weight: 700;
    font-size: 18px;
    color: #000;
    text-decoration: none;
    width: 100%;
    padding: 14px 16px;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    border-radius: 0;
    text-transform: uppercase;
}

#accordion .card-header {
  text-align: center;
  padding: 0;
  border-bottom: 0;
  -webkit-box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.1);
box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.1);
}

#accordion .card-body {
    text-align: center;
}

#accordion .btn-link:hover {
  color: #fff;
  background-color: #000;
}



/* Footer */

footer {
  padding: 40px 15px;
  background-color: #fff;
}


.lity-content h6 {
  font-size: 20px;
  text-align: center;
}

/* Modals */

.modal-image {
  text-align: center;
  padding: 20px;
}

.modal-image img {
  height: 350px;
}

.buy-option {
  text-align: center;
  padding: 0 15px 20px;
}

/* Media Queries */

/* Hero */

@media (nin-width: 1280px) {
  #hero p {
    width: 75%;
  }
}

@media (max-width:1199px) {
  #hero h1 {
    font-size: 40px;
    margin-bottom: 20px;
  }
  #hero img {
    height: 300px;
  }
  #divine img, #alone img, #renovation img {
    height: 405px;
  }

  #divider h3 {
    font-size: 30px;
  }

  #divider {
    padding: 30px 15px;
  }
  /* .author-img {
    background-image: linear-gradient(to right bottom, rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/dwight-med.jpg);
    background-size: cover;
    height: 750px;
    background-position: bottom;
  } */
}

@media (min-width: 992px) {
  .large-hide {
    display: none;
  }
}

@media (max-width: 991px) {
  .flex-container {
    display: initial;
}
  #hero {
    padding: 80px 15px;
  }
  #hero, #tabs, #about {
    text-align: center;
  }
  #hero h1 {
    font-size: 40px;
  }
  .hero-image {
    text-align: center;
    margin-bottom: 50px;
  }
  #books img {
    margin-bottom: 30px;
    padding-left: 60px;
  }

  #books>nav a h3 {
    margin: 0 0 20px;
    font-size: 26px;
  }
  .tab-container {
    padding-bottom: 40px;
  }
  /* .author-img {
    height: 615px;
  } */
  .medium-hide {
    display: none;
  }
  #winning img, #church img {
    margin-bottom: 30px;
  }
  .tab-container .is-selected::after {
    left: 29%;
  }

  #about img {
    height: 250px;
    margin-bottom: 20px;
  }
  #about .content-inner {
    padding-top: 0;
}

  #divider h3 {
    font-size: 25px;
  }
  /* #books>nav a {
    height: 90px;
  } */

    .wrap {
      padding-top: 10px;
    }
}

@media (max-width:768px) {
  li.nav-item {
    line-height: 20px;
  }
}

@media (max-width:768px) {
  #hero .content {
    width: 100%;
  }
  #books .columns.container {
    max-width: 100%;
  }
  .tab-container .is-selected::after {
    left: 28%;
  }
  /* .author-img {
    height: 515px;
  } */
}

@media (min-width:621px) {
  /* .tab-container h2 {
    display: none;
  } */
  .mobile-nav {
    display: none;
  }
  #mobile-books {
    display: none;
  }
}

@media (max-width:620px) {
  .lity-content #dedication {
    width: 90%;
  }

  .section-title {
    font-size: 30px;
  }

  #books .columns.container {
    display: none;
  }
  .book-cover {
    text-align: center;
    margin-bottom: 30px;
  }
  /* .author-img {
    height: 345px;
  } */
  #books {
    display: none;
  }
  /* Mobile Dropdown (Books) */
  #mobile-books {
    text-align: center;
    padding-bottom: 50px;
  }
  #mobile-books img {
    height: 300px;
    padding-left: 25px;
  }
  #mobile-books h3 {
    margin-top: 60px;
  }
  #mobile-books .book-cover {
    margin-bottom: 0;
  }
  #mobile-books #tabs .review {
    padding: 0;
  }

  #mobile-books .cta-container {
    margin-bottom: 20px;
  }
  select {
    padding: 10px;
    margin-bottom: 20px;
    text-transform: capitalize;
  }
  .btn, .btn:link, .btn:visited {
    display: block;
    margin-bottom: 15px;
  }

  .accordion__content h3 {
    margin-top: 0!important;
    font-size: 22px;
    font-weight: 600;
  }

  .accordion__title {
    font-size: 13px;
  }

  .bmenu {
    top: 20px;
  }
}

@media (max-width:450px) {
  #divine, #winning, #about, #renovation, #church, #alone, #option1, #option2, #option3 {
    padding: 40px 15px;
    text-align: center;
  }

  #option1 h3 span,
  #alone span,
  #option2 h3 span,
  #divine span,
  #option3 h3 span,
  #winning span,
  #renovation span {
    font-size: 18px;
  }

  #divider h3 {
    font-size: 22px;
  }

  p {
    font-size: 16px;
  }
  #hero img {
    height: 200px;
  }
  #hero p {
    font-size: 17px;
  }
  #hero h1 {
    font-size: 25px;
  }
  .btn, .btn:link, .btn:visited {
    margin-bottom: 15px;
    display: block;
  }
  .lity-container {
    margin: 0 30px;
  }
  .lity-content .modal-image {
    padding: 20px 0;
  }
  #hero .cta-container .btn {
    display: block;
    width: 92%;
    margin: 0 auto;
  }

  .lity-content #dedication {
    width: 90%;
  }

  #dedication h3 {
    font-size: 21px;
  }

  #hero {
    margin-top: 50px;
  }
  .modal-image img {
    height: 291px;
  }
  #mobile-books .section-title {
    font-size: 27px;
  }

  #mobile-books h3 {
    margin-top: 60px;
}

#mobile-books h3.section-title {
  margin-top: 30px;
}

  .wrap {
    padding: 0;
  }

}

@media (max-width:400px) {
  .accordion__title {
      text-align: left;
  }

}

@media (max-width:330px) {
  select#selectMe {
    width: 233px;
  }

  .accordion__title {
      text-align: left;
      font-size: 12px;
  }
}
