.cd-container {
  width: 90%;
  max-width: 768px;
  margin: 2em auto;
}

.cd-container::after {
  /* clearfix */
  content: '';
  display: table;
  clear: both;
}

@media only screen and (min-width: 1024px) {
  main p {
    font-size: 20px;
    font-size: 1.25rem;
  }
}

.cd-top {
  display: inline-block;
  height: 40px;
  width: 40px;
  position: fixed;
  bottom: 40px;
  right: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  /* image replacement properties */
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  background: rgba(128, 128, 128, 0.9) url("//cdn2.hubspot.net/hubfs/406163/Target-Israel/cd-top-arrow.svg") no-repeat center 50%;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity 0.3s 0s, visibility 0s 0.3s;
  -moz-transition: opacity 0.3s 0s, visibility 0s 0.3s;
  transition: opacity 0.3s 0s, visibility 0s 0.3s;
  z-index: 30;
  cursor: pointer;
}

.cd-top.cd-is-visible, .cd-top.cd-fade-out, .no-touch .cd-top:hover {
  -webkit-transition: opacity 0.3s 0s, visibility 0s 0s;
  -moz-transition: opacity 0.3s 0s, visibility 0s 0s;
  transition: opacity 0.3s 0s, visibility 0s 0s;
}

.cd-top.cd-is-visible {
  /* the button becomes visible */
  visibility: visible;
  opacity: 1;
}

.cd-top.cd-fade-out {
  /* if the user keeps scrolling down, the button is out of focus and becomes less visible */
  opacity: .5;
}

.no-touch .cd-top:hover {
  background-color: #e86256;
  opacity: 1;
}

@media only screen and (min-width: 768px) {
  .cd-top {
    right: 20px;
    bottom: 60px;
  }
}

@media only screen and (min-width: 1024px) {
  .cd-top {
    height: 60px;
    width: 60px;
    right: 30px;
    bottom: 70px;
  }
}

/* Paste this css to your style sheet file or under head tag */
/* This only works with JavaScript,
    if it's not present, don't show loader */
.no-js #loader {
  display: none;
}

.js #loader {
  display: block;
  position: absolute;
  left: 100px;
  top: 0;
}

.se-pre-con {
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background: url(//cdn2.hubspot.net/hubfs/406163/IllustratedBible/ajax-loader.gif) center no-repeat #62be3d;
}

body {
  color: #333333;
}

p, li {
  font-family: 'Open Sans', 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 300;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Open Sans', 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 300;
}

.section-header h1,
.section-cover h2,
.section-interior h2,
.section-buy h2 {
  text-align: center;
  line-height: 1.35em;
}

.section-olderbible h2 {
  line-height: 1.35em;
}

.section-cover p,
.section-interior p {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

.section-interior h2, .section-interior p {
  font-weight: 400;
}

ul {
  padding: 0 18px;
}

.left {
  text-align: left;
}

.right {
  text-align: right;
}

.uppercase {
  text-transform: uppercase;
}

.section-interior,
.section-olderbible {
  color: white;
}

.section-interior .link-buynow a,
.section-olderbible .link-buynow a {
  color: white;
}

.section-footer {
  color: white;
  transition: all 0.3s ease-in-out;
}

.section-header h1 {
  color: white;
  margin-top: 100px;
  font-size: 2.5em;
}

#modalBuy h2 {
  text-align: center;
  margin: 10px auto 30px;
  color: #62be3d;
  font-family: 'Montserrat', 'Helvetica Neue', sans-serif;
  font-weight: bold;
  font-size: 1.75em;
  text-transform: uppercase;
}

.section-buy .buy-wrapper {
    text-align: left;
}

.section-buy .btn-buy {
    font-size: 1.75em;
}

@media screen and (max-width: 480px) {
  p {
    font-size: 0.9em;
  }
  .section-header h1 {
    font-size: 1.65em;
    margin-top: 35px;
  }
  .section-cover h2, .section-interior h2, .section-buy h2, .section-olderbible h2 {
    font-size: 1.35em;
  }
  .left {
    text-align: center;
  }
  .right {
    text-align: center;
  }
}

.modal-backdrop {
  background: white;
}

.modal-backdrop.in {
  opacity: 1;
}

.close-section {
  position: absolute;
  left: 20px;
  top: 20px;
}

#modalVideo .modal-dialog {
  margin: 120px auto 0;
  max-width: 700px;
}

#modalBuy .modal-dialog {
  margin: 80px auto 0;
  max-width: 500px;
}

.modal-content {
  border: none;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  -ms-border-radius: 0px;
  border-radius: 0px;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.modal-body {
  padding: 0;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  -ms-border-radius: 0px;
  border-radius: 0px;
}

#modalVideo .btn-wrapper {
  max-width: 450px;
  text-align: center;
  margin: 20px auto;
  display: block;
  position: relative;
}

#modalBuy .modal-backdrop {
  background: #62be3d;
}

#modalBuy .modal-backdrop.in {
  opacity: 1;
}

#modalBuy .btn-wrapper {
  max-width: 250px;
  margin: 0 auto;
}

#modalBuy .modal-content {
  background: #e6e6e6;
  border: 10px solid white;
  background-size: cover;
  padding: 20px;
  -webkit-box-shadow: 10px 10px black;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
}

.narrow {
  max-width: 800px;
}

.section-header {
  postion: relative;
  height: auto;
  z-index: 0;
  background-image: url(//cdn2.hubspot.net/hubfs/406163/IllustratedBible/bg-mobileheader.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.header-links {
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
  float: none;
  overflow: hidden;
}

.video-container {
  position: relative;
  top: 0%;
  left: 0%;
  height: 600px;
  width: 100%;
}

.dark-overlay {
  position: absolute;
  z-index: 0;
  width: 100%;
  height: 600px;
}

video {
  margin-top: 0px !important;
  position: absolute;
  z-index: -1;
  opacity: 1;
  width: 100%;
  min-width: 1075px;
  height: auto;
  pointer-event: none;
  top: 0;
  left: 0;
  display: inline-block;
}


.section-cover {
  postion: relative;
  z-index: 10;
  background: white;
  padding-top: 30px;
  display: block;
}

.section-interior {
  position: relative;
  z-index: 10;
  padding-top: 30px;
  background-color: #62be3d;
  background-image: url(//cdn2.hubspot.net/hubfs/406163/IllustratedBible/bg-green.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.section-buy {
  position: relative;
  z-index: 15;
  background-color: white;
  padding: 30px 0 50px;
}

.section-olderbible {
  padding: 30px 0 40px;
  background: #185394;
}

.section-footer {
  background: #333333;
  padding: 20px 0;
}

@media screen and (max-width: 768px) {
  .section-header {
    height: auto;
    background-image: url(//cdn2.hubspot.net/hubfs/406163/IllustratedBible/bg-mobileheader.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
  }
  .dark-overlay {
    height: auto;
  }
  .video-container {
    position: relative;
    height: auto;
  }
  .section-cover, .section-interior, .section-buy, .section-olderbible {
    padding-top: 5px;
  }
  #modalVideo .modal-dialog,
  #modalBuy .modal-dialog {
    margin: 60px auto 0;
  }
  .modal-content {
    max-width: 95%;
    margin: 0 auto;
  }
  #modalVideo .btn-wrapper {
    max-width: 95%;
  }
  
  body.modal-open {
  position: fixed;
}
  
}

.img-cover {
  max-width: 840px;
  display: block;
  margin: 0 auto;
  float: none;
  clear: both;
}

.img-cover img {
  display: block;
  width: 100%;
  margin: 0 auto;
}

.img-interior {
  max-width: 900px;
  display: block;
  margin: -20px auto 0;
  float: none;
  clear: both;
}

.img-interior img {
  display: block;
  width: 100%;
  margin: 0 auto;
}

.img-angledcover {
  max-width: 500px;
  display: block;
  margin: 0 auto;
}

.img-angledcover img {
  display: block;
  width: 100%;
  margin: 0 auto;
}

.img-olderbible img {
    display: block;
    width: 100%;
    margin: 0 auto;
}

.img-logo {
  width: 44px;
  float: left;
}

@media screen and (max-width: 480px) {
  .img-angledcover {
    max-width: 250px;
  }
  .img-logo {
    float: none;
    margin: 0 auto;
  }
  
  .img-olderbible img {
      width: 60%;
  }
  
}

a {
  text-decoration: none;
}

a:visited, a:hover, a:active, a:focus {
  text-decoration: none;
  outline: none;
}

button.btn-modal {
  color: rgba(51, 51, 51, 0.7);
  display: block;
  background: none;
  border: none;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

button.btn-modal:hover {
  color: #333333;
}

#modalBuy button.btn-modal {
  color: white;
  display: block;
  background: none;
  border: none;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

#modalBuy button.btn-modal:hover {
  color: rgba(255, 255, 255, 0.7);
}

#modalVideo .btn-buy {
  width: 100%;
  text-align: center;
  font-size: 2em;
  padding: 20px 0;
  margin: 0 auto;
  float: none;
}

a.link-video {
  float: none;
  text-align: center;
  color: white;
    width: 200px;
    margin: 0 auto;
    display: block;
    border: 1px solid white;
    padding: 10px 10px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    border-radius: 4px;
      font-family: 'Montserrat', 'Helvetica Neue', sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 1.5em;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

a.link-video:hover {
  -ms-transform: translate(5px, 0px);
  -webkit-transform: translate(5px, 0px);
  transform: translate(5px, 0px);
  text-decoration: none;
}

a.link-explore {
  float: right;
  color: white;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

a.link-explore:hover {
  -ms-transform: translate(5px, 0px);
  -webkit-transform: translate(5px, 0px);
  transform: translate(5px, 0px);
  text-decoration: none;
}

.link-learnmore {
  text-align: center;
  margin-top: 230px;
}

.link-learnmore a {
  display: inline-block;
  color: white;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.link-learnmore a:hover {
  -ms-transform: translate(0px, 5px);
  -webkit-transform: translate(0px, 5px);
  transform: translate(0px, 5px);
  text-decoration: none;
}

.link-buynow {
  text-align: center;
}

.link-buynow a {
  display: inline-block;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.link-buynow a:hover {
  -ms-transform: translate(0px, 5px);
  -webkit-transform: translate(0px, 5px);
  transform: translate(0px, 5px);
  text-decoration: none;
}

.buy-wrapper {
    text-align: center;
}

a.btn-buy {
  display: inline-block;
  background: #ff9933;
  padding: 8px 22px;
  margin: 10px auto;
  color: white;
  -webkit-font-smoothing: antialiased;
  font-family: 'Montserrat', 'Helvetica Neue', sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  transition: all 0.3s ease-in-out;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  border-radius: 4px;
}

a.btn-buy:visited {
  text-decoration: none;
}

a.btn-buy:hover {
  text-decoration: none;
  background: #ff8000;
}

a.btn-buy:active {
  background: #ffb366;
}

a.btn-buy:focus {
  outline: none;
  text-decoration: none;
}

.buy-cta {
  width: 100%;
  max-width: 300px;
  display: block;
  margin-top: 5px;
}

.buy-cta img {
  display: block;
  width: 100%;
  opacity: 0.7;
}

.buy-cta img:hover {
    opacity: 0.9;
}

.buy-cta-white {
  width: 130px;
  display: block;
  float: left;
  margin-right: 10px;
  margin-bottom: 10px;
}

.buy-cta-white img {
  display: block;
  width: 100%;
  opacity: 0.7;
}

.buy-cta-white img:hover {
    opacity: 0.9;
}

.section-footer a {
  color: white;
  text-decoration: none;
}

.section-footer a:hover {
  color: rgba(255, 255, 255, 0.6);
}

@media screen and (max-width: 480px) {
  .link-learnmore {
    margin-top: 50px;
  }
  a.link-video, a.link-explore {
    float: none;
    text-align: center;
    width: 200px;
    margin: 0 auto 15px;
    display: block;
    border: 1px solid white;
    padding: 5px 10px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    border-radius: 4px;
  }
  .buy-cta {
    width: 200px;
    margin-left: auto;
    margin-right: auto;
  }
  .buy-cta-white {
    width: 135px;
  }
  .hidden-phone {
    display: none;
  }
    #modalVideo .btn-buy {
    font-size: 1.65em;
  }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
    video {
        display: none;
        position: relative;
    }
    
    .video-container {
        position: relative;
    }
    
    .section-header {
        height: auto;
        background-image: url(//cdn2.hubspot.net/hubfs/406163/IllustratedBible/bg-mobileheader.png);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
    }
}

.video-fix {
    height: 600px;
}
