body {
  margin: 0;
  background-color: #f3f3f3;
}

/****************************************
* Typography
****************************************/

h1 {
  text-align: center;
}

h3 {
  font-size: 25px;
  color: #34586e;
}

.hidden,
.honey {
  display: none !important;
}

p.style-small {
  margin-top: 1rem;
  font-size: 12px;
}

/****************************************
* Header
****************************************/

header {
  background-color: #34586E;
  padding: .5rem 1rem;
}

header .logo {
  display: block;
  margin: 0 auto;
  width: 200px;
  height: 82px;
}

/****************************************
* Navigation
****************************************/

.navToggle {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: none;
  background-color: transparent;
  width: 30px;
  height: 30px;
}

.navToggle svg {
  fill: #ffffff;
}

nav {
  max-height: 0;
  overflow: hidden;
  transition: all .4s ease-in;
}

nav.on {
  max-height: 100vh;
}

nav ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin: 0;
  padding: 1rem;
  list-style-type: none;
}

nav a,
nav a:hover {
  color: #ffffff;
}

/****************************************
* Billboard
****************************************/

.billboard {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: calc(185px + (400 - 185) * (100vw - 320px) / (1140 - 320));
}

.billboard .content {
  text-align: center;
  color: #ffffff;
}

.billboard .content h1 {
  margin-bottom: 0;
  font-size: calc(50px + (95 - 50) * (100vw - 320px) / (1140 - 320));
  line-height: .8;
}

.billboard .content h2 {
  font-size: calc(16px + (32 - 16) * (100vw - 320px) / (1140 - 320));
  font-weight: lighter;
}

.billboard svg {
  margin: 0 auto;
  max-width: 400px;
}

/****************************************
* Accents
****************************************/

.accent-1 {
  background-color: #ffffff;
}

.accent-2 {
  background-image: url('/images/patterns/hexagonPattern.jpg');
  background-repeat: repeat; 
  background-size: 400px;
  padding: 4rem 2rem 0;  
}

.accent-3 {
  background-color: #cbd7df;
  padding: 1.5rem;;
  border-radius: 20px;
}

.accent-3 h2 {
  font-size: 25px;
  font-weight: 700;
}

/****************************************
* Buttons
****************************************/

.button {
  background-color: #34586E;
  border-radius: 20px;
  padding: .5rem 1rem;
  color: #ffffff;
  font-size: 14px;
}

.button:hover {
  background-color: #2e4d61;
  color: #ffffff;
  text-decoration: none;
}

.viewButton {
  background-color: #34586E;
  border-radius: 20px;
  padding: 1rem 3.5rem;
  color: #ffffff;
  font-size: 14px;    
}

.viewButton:hover {
  background-color: #2e4d61;
  color: #ffffff;
  text-decoration: none;
}

/****************************************
* Devotional synopsis
****************************************/

#errorMessage:empty {
  margin: 0;
}

.card {
  justify-content: space-between;
  border: none;
  border-radius: 20px;
  padding: 1.5rem;
}

.card h2 {
  line-height: 1em;
}

.devotionalSynopsis h2 > a {
  font-size: 25px;
  color: #34586e;
}

.devotionalSynopsis .date {
  margin-bottom: -5px;
  font-size: 12px;
  font-weight: lighter;
}

.devotionalSynopsis .flex-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.devotionalSynopsis img {
  margin-right: 5px;
  width: 15px;
  height: 15px;
}

/****************************************
* Widget Masonry layout
****************************************/

.masonry {
  display: grid;
  grid-template-columns: 1fr;
  /* grid-auto-rows: 0; */
  grid-gap: 15px;
  margin-bottom: 1rem;
}

/* .masonry > div {
  visibility: hidden;
} */

@media (min-width: 768px) {
  .masonry {
    grid-template-columns: repeat(2, 1fr);
  }
}

/****************************************
* Sidebar
****************************************/

.sidebar {
  font-size: 14px;
}

.sidebar p {
  text-align: center;
}

.sidebar a {
  display: block;
  margin: 0 auto;
  width: 110px;
  text-align: center;
}

.sidebar .aboutLogo {
  display: block;
  margin: 0 auto 1rem;
  background: linear-gradient(to bottom, #34586E, #1c2f3c);
  border: 3px solid #ffffff;
  border-radius: 50%;
  width: 150px;
  height: 150px;
  padding: 1rem;
}

.box {
  margin: 1rem 0;
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: 20px;
  padding: 1.5rem;
  background-color: #f9f9f9;
  overflow: hidden;
}

.box.podcastAd {
  padding: 0;
}

.box.podcastAd .logo {
  padding: 1.5rem;
}

.box.podcastAd .podcastPhone {
  margin-top: 10rem;
  padding: 1rem;
}

.box.podcastAd .podcastPhone > img {
  display: block;
  margin: -12rem auto 0 auto;
  width: 75%;
}

.box.podcastAd .podcastButton {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
}

.box.podcastAd .podcastButton > a {
  margin: 0;
  width: auto;
}

.box.podcastAd .podcastButton svg {
  width: 158px;
  height: 55px;
}

.popular-devotionals .bottom-border {
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}

.popular-devotionals .bottom-border li {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, .1);
  padding: 1rem 0;
}

.popular-devotionals .bottom-border li:first-of-type {
  padding-top: 0;
}

.popular-devotionals .bottom-border li:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.popular-devotionals .bottom-border li:last-of-type a {
  margin-bottom: 0;
}

.popular-devotionals a {
  width: 100%;
  color: #000000;
  text-align: left;
}

.popular-devotionals img {
  width: 15px;
  height: 15px;
}

.popular-devotionals span {
  font-size: 12px;
}

.popular-devotionals .flex-row {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.devotionalTags .tagButton {
  margin: .25rem;
  background-color: #bbd0db;
  border: none;
  border-radius: 5px;
  padding: .5rem;
  font-size: 12px;
  color: #000000;
}

.devotionalTags .tagButton span {
  display: inline-block;
  background-color: #ffffff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  padding: 1px 0;
  font-weight: lighter;
}

.devotionalTags .tagButton:hover,
.devotionalTags .tagButton.active {
  background-color: #9ec0d3;
}

/****************************************
* Podcast Ad
****************************************/

.podcastAd .bottom-border {
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}

.podcastAd .bottom-border li {
  border-bottom: 1px solid rgba(0, 0, 0, .1);
  padding-left: 5px;
}

.podcastAd .bottom-border li:last-of-type {
  border-bottom: none;
}

.podcastAd .bottom-border li:last-of-type a {
  margin-bottom: 0;
}

.podcastAd img {
  width: 100%;
}


/****************************************
* Devotional page
****************************************/

.devoTitleSection {
  padding: 2rem;
  margin-bottom: 0;
  background-color: #fff;
}

.devoTitleSection h2 {
  text-align: center;
}

.devotional h2 {
  font-size: 30px;
  font-weight: 700;
  color: #34586e;
}

.devotional h3 {
  margin-bottom: 1rem;
  font-size: 25px;
  font-weight: 700;
  color: #212529;
}

.devotional .head {
  margin-bottom: 1rem;
}

.devotional .head .date {
  margin-bottom: 0px;
  font-size: 12px;
  text-align: center;
  color: #34586e;
}

.devotional .content > p:first-letter {
  font-size: 25px;
  font-weight: bold;
}

.devotional .content .verse p {
  margin-left: 1rem;
  font-weight: lighter;
}

.devotional .content .verse p:first-of-type {
  margin-bottom: 0;
}

.devotional .footer {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 2rem 0;
  background-color: #cbd7df;
  border-left: 5px solid #2e4d61;
  padding: 1rem;
}

.devotional .footer img {
  margin-right: .5rem;
  width: 50px;
  height: 50px;
}

.devotional .footer p {
  margin-bottom: 0;
}

.devotional .videoContainer {
  position: relative;
  padding-bottom: 56.5%;
}

.devotional .video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.action {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin: 0 0 0 auto;
}

.likeBtn {
  background-color: transparent;
  border: none;
  padding-left: 0;
  color: #000000;
}

.likeBtn img {
  width: 25px;
  height: 25px;
}

.tags {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}

.tag {
  margin-right: .5rem;
  margin-bottom: .5rem;
  background-color: #2e4d61;
  border-radius: 5px;
  padding: .5rem;
  color: #ffffff;
  font-size: 12px;
}

.devoInfo .title {
  display: flex;
  flex-direction: row;
  margin-bottom: 1rem;
  justify-content: center;
  align-items: center;
}

.devoInfo .title h3 {
  margin: 0;
}

.devoInfo .verse p {
  text-align: center;
}

.devoInfo svg {
  margin-right: .5rem;
  width: 25px;
  height: 25px;
  fill: #212529;
  align-items: center;
}

.devoInfo img {
  margin-right: .5rem;
  width: 40px;
  height: 40px;
  fill: #212529;
  align-items: center;
}

.moreDevo {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}

.devoInfo .moreDevo p {
  text-align: center;
}

/****************************************
* Video 
****************************************/

.videoWrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
}

.videoWrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/****************************************
* Accordion
****************************************/

.accordion {
  margin: 1rem auto;
}

.accordion .card-header {
  background-color: #34586e;
  border-radius: 20px;
}

.accordion .card-header:hover {
  background-color: #2e4d61;
}

.accordion svg {
  margin-right: .5rem;
  margin-bottom: .2rem;
  width: 20px;
  height: 20px;
  fill: #edf3f7;
  align-items: center;  
}

.cardBody {
  background-color: #f3f3f3;
}

.cardContainer {
  background-color: #f3f3f3;
  border: none;
}

/****************************************
* Devotional Synopsis
****************************************/

.readDevoButton { 
  text-align: center;
  color: #edf3f7;
  text-decoration: none;
}

.readDevoButton:hover {
  color: #edf3f7;
  text-decoration: none;
}

/****************************************
* Newsletter subscription
****************************************/

.newsletterSubscription h2 {
  margin-bottom: 0;
  font-size: 50px;
  font-weight: 700;
  color: #edf3f7;
}

.newsletterSubscription p {
  margin-bottom: 3rem;
  font-size: 18px;
  color: #edf3f7;
  
}

.newsletterSubscription {
  text-align: center;
  color: #ffffff;
}

.newsletterSubscription .col-md-4 {
  position: relative;
}

.newsletterSubscription img {
  position: absolute;
  bottom: 0;
  left: 45%;
  transform: translateX(-50%);
  max-height: 556px;
}

.newsletterSubscription .devoSubIcon {
  margin-bottom: 1rem;
  position: relative;
  width: 100px;
  left: 0;
  transform: none;
}

.newsletterSubscription form {
  margin: 0 auto 4rem;
  width: 100%;
}

.newsletterSubscription [type="submit"] {
  margin: 0 0 0 auto;
  padding: .75rem 2rem;
  width: 100%;
}

.newsletterSubscription input:not([type="submit"]) {
  border: 1px solid #ffffff;
}

.newsletterSubscription input::placeholder {
  color: #000;
}

label {
  margin-bottom: 4px;
  width: 100%;
  text-align: left;
}

input {
  display: block;
  margin-bottom: 1rem;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: 10px;
  outline: none;
  width: 100%;
  padding: .5rem;
  font-size: 14px;
  -webkit-appearance: none;
}

input::placeholder {
  color: #000;
}

[type="submit"] {
  background-color: #121d22;
  border: none;
  color: #ffffff;
}

[type="submit"]:hover {
  background-color: #10171a;
  color: #ffffff;
}

.form-submitted {
  margin: 0 auto;
  padding: 4rem 2rem;
  text-align: center;
  color: #ffffff;
}

/****************************************
* Search
****************************************/

.searchContainer {
  display: inline-flex;
  position: relative;
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: 20px; 
  background-color: #f9f9f9;
  width: 100%;
}

.searchContainer svg {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  fill: #34586e;
}

.searchBox {
  margin: 0;
  padding: .5rem .5rem .5rem 2.5rem;
  background-color: transparent;
  outline: none;
  border: none;
  -webkit-appearance: none;
}

/****************************************
* Checkmark
****************************************/

.checkmarkCircle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke: #427c73;
  fill: none;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: block;
  stroke-width: 2;
  stroke: #fff;
  stroke-miterlimit: 10;
  margin: auto;
  box-shadow: inset 0px 0px 0px #427c73;
  animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}

.checkmarkCheck {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes scale {
  0%, 100% {
    transform: none;
  }
  50% {
    transform: scale3d(1.1, 1.1, 1);
  }
}

@keyframes fill {
  100% {
    box-shadow: inset 0px 0px 0px 60px #427c73;
  }
}

/****************************************
* Bible reading plan
****************************************/

.readingPlan {
  flex-direction: column;
  border-radius: 20px;
  background-color: #7daa4b;
  padding: 1rem;
}

.readingPlan img {
  display: block;
  margin: 0 auto;
  width: 80px;
}

.readingPlan p,
.readingPlan h3 {
  text-align: center;
  color: #ffffff;
  margin-bottom: .50rem;
}

.readingPlan h3 {
  margin: .25rem 0;
  font-weight: 700;
}

.readingPlan .date {
  display: inline-block;
  margin-top: .5rem;
  border-radius: 20px;
  background-color: #ffffff;
  padding: .25rem 1rem;
  color: #7daa4b;
}

@media(min-width: 992px) {
  .readingPlan.flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem
  }
  
  .readingPlan.flex img {
    margin: 0;
  }
  
  .readingPlan.flex p {
    margin-bottom: 0;
  }
}

/****************************************
* Reading plan ribbon
****************************************/

.readingPlanRibbon {
  padding: 2rem;
}

.readingPlanRibbon h1 {
  font-weight: 700;
  color: #7daa4b;
}

.readingPlanRibbon h2 {
  font-weight: 200;
  font-size: 20px;
  color: #34586E;
}

.readingPlanRibbon h1,
.readingPlanRibbon h2 {
  text-align: center;
}

.readingPlanGrid,
.readingPlanGrid .cards {
  display: grid;
  grid-gap: 1rem;
}

.readingPlanGrid .card + .card {
  margin-top: 1rem;
}

@media(min-width: 576px) {
  .readingPlanGrid .cards {
    grid-template-columns: 1fr 1fr;
  }
}

@media(min-width: 992px) {
  .readingPlanGrid {
    grid-template-columns: 350px 1fr;
  }

  .readingPlanGrid > div:first-of-type {
    position: relative;
  }

  .readingPlanGrid .cards {
    grid-template-columns: 1fr;
    position: sticky;
    top: 1rem;
  }
}

/****************************************
* Reading Schedule
****************************************/

.readingSchedule {
  text-align: center;
}

.readingSchedule h2 {
  font-weight: 700;
  color: #7daa4b;
}

.readingSchedule h2 + p {
  margin: 0;
  color: #34586E;
}

.readingSchedule hr {
  border-top: 4px solid #7daa4b;
}

.readingSchedule .reference {
  display: flex;
  justify-content: center;
}

.readingSchedule .reference p {
  font-weight: 700;
  color: #34586E;
}

.readingSchedule p:last-of-type {
  margin: 0;
}

/****************************************
* Footer
****************************************/

footer .affiliation {
  padding: 1rem;
  align-items: center;
  background-color: #4b5052;
}

footer .affiliation p,
footer .affiliation a {
  margin: 0;
  color: #ffffff;
  font-size: 12px;
  text-align: center;
}

footer .affiliation a:hover {
  color: #efefef;
}

footer .affiliation a + a {
  margin-left: 1.5rem;
}

footer .affiliation svg {
  width: 20px;
  height: 20px;
  fill: #edf3f7;
}

footer .affiliation svg:hover {
  fill: #121d22;
}

footer .affiliation .social {
  margin: 1rem auto;
  display: flex;
  justify-content: center;
}