/* LANDING PAGE STYLES */

#billboard .view-btns {
  display: block;
  width: 200px;
  margin: 0 auto .5rem;
}

#billboard .view-btns:last-of-type {
  margin-bottom: 0;
}

#sermons6 .back-btn > span {
  padding-right: .25em;
}

@media (min-width:768px) {
  #billboard .view-btns {
    display: inline-block;
    margin: 0 .5rem 0;
    width: 230px;
  }
}

#sermons6 .latest-sermon .fullwidth-vid {
  width: 100%;
  height: auto;
  margin-bottom: 2em;
}

#sermons6 .latest-sermon .fullwidth-vid + .latest-sermon-image { display: none; }

#sermons6 .latest-sermon {
  width: 100%;
  margin-bottom: 3em;
}

@media (min-width: 992px) {
  #sermons6 .latest-sermon {
    margin-bottom: 2em;
  }
}

#sermons6 .latest-sermon .details {
  width: 100%;
  float: none;
  margin-right: 0;
  margin-bottom: 2em;
  outline: none;
}

@media (min-width: 992px) {
  #sermons6 .latest-sermon .details {
    width: 55%;
    float: left;
    margin-right: 5%;
    margin-bottom: 2em;
    outline: none;
  }
}

#sermons6 .latest-sermon .details .speaker-no-headshot {
  display: none;
}

#sermons6 .latest-sermon.no-headshot .details {
  width: 100%;
  float: none;
  margin-bottom: 2em;
}

#sermons6 .latest-sermon.no-headshot .details .speaker-no-headshot {
  display: block;
  font-weight: 700;
  margin-bottom: .25rem;
}

#sermons6 .latest-sermon .details .date,
#sermons6 .latest-sermon .details-full .date {
  margin-bottom: .25rem;
}

#sermons6 .latest-sermon .speaker {
  float: none;
  width: 100%;
}

@media (min-width: 992px) {
  #sermons6 .latest-sermon .speaker {
    float: right;
    width: 40%;
  }
}

#sermons6 .latest-sermon.no-headshot .speaker {
  display: none;
}

#sermons6 .latest-sermon .speaker .headshot {
  width: 100%;
  float: none;
  margin-right: 0;
  margin-top: 1em;
  height: auto;
}

@media (min-width: 992px) {
  #sermons6 .latest-sermon .speaker .headshot {
    width: 45%;
    float: left;
    margin-right: 8%;
    margin-top: .25em;
    height: auto;
  }
}

#sermons6 .latest-sermon .speaker .name {
  display: block;
  /* Matched this to <p> styles on Layouts site */
  font-size: 1.5em;
  line-height: 1.6em;
  margin: .5em 0 1em;
}

@media (min-width: 992px) {
  #sermons6 .latest-sermon .speaker .name {
    /* Matched this to <p> styles on Layouts site */
    font-size: 14px;
    line-height: 1.6em;
    margin: 0 0 1em 0;
  }
}

/* Media Icons */
#sermons6 .media {
  display: block;
  width: 100%;
  margin: .5rem 0 2rem 0;
  padding: 0;
  list-style: none;
  display: -webkit-box;
  display: flex;
  flex-wrap: wrap;
  -webkit-box-align: center;
  align-items: center;
}

#sermons6 .media li {
  padding: 0;
  margin: 0 1.25rem 0 0;
}

#sermons6 .media li:not(.shareit) a {
  display: block;
  font-size: 24px;
  font-family: "Font Awesome 6 Pro";
  display: inline-block;
  font: normal normal normal 14px/1 "Font Awesome 6 Pro";
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 24px;
}

#sermons6 .media li.video a::before {
  content: "\f108";
}

#sermons6 .media li.notes a::before {
  content: "\f15b";
}

#sermons6 .media li.listen a::before {
  content: "\f025";
}

#sermons6 .media li.download a::before {
  content: "\f019";
}

#sermons6 .latest-sermon:after {
  content: '';
  display: block;
  clear: both;
}

/* Sermons 6 List */
#sermons6_list {
  display: block;
  margin: 0 0 4em;
  width: 100%;
  position: relative;
  min-height: 183px; /* equivalent of 1 item in the list */
}

#sermons6_list .fail {
  display: block;
  text-align: center;
  margin-top: 2em;
}

#sermons6_list .filtered {
  display: block;
  margin-top: 2em;
  margin-bottom: 1em;
}

#sermons6_list .loader {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  margin-left: -30px;
  margin-top: -30px;
}

#sermons6_list .sermon-list-item {
  display: block;
  margin: 3em 0;
}

@media (min-width: 992px) {
  #sermons6_list .sermon-list-item {
    display: -webkit-box;
    display: flex;
    flex-wrap: nowrap;
    margin: 4em 0;
  }
}

#sermons6_list .sermon-list-item:first-of-type {
  margin-top: 2em;
}

#sermons6_list .sermon-list-item .image-link {
  width: 100%;
  margin-right: 0;
  height: 56.25%;
}

@media (min-width: 992px) {
  #sermons6_list .sermon-list-item .image-link {
    width: 30%;
    margin-right: 3%;
    height: 16.875%;
  }
}

#sermons6_list .sermon-list-item .image-link .thumb {
  width: 100%;
  height: auto;
  margin-bottom: 1em;
  -webkit-backface-visibility: hidden;
}

@media (min-width: 992px) {
  #sermons6_list .sermon-list-item .image-link .thumb {
    width: 100%;
    height: auto;
    margin-bottom: 0;
    -webkit-backface-visibility: hidden;
  }
}

#sermons6_list .sermon-list-item .main-sermon-image + .placeholder-sermon-image {
  display: none;
}

#sermons6_list .sermon-list-item .details {
  margin: 0;
}

#sermons6_list .sermon-list-item .details .date {
  margin-bottom: 0.25em;
}

#sermons6_list .sermon-list-item .details .passage {
  margin-bottom: 0;
}

#sermons6 .load-more {
  display: block;
  text-align: center;
  font-weight: 600;
  font-size: 1.5em;
  position: relative;
  width: 100px;
  margin: auto;
  height: 2em;
  transition: color .25s ease-in-out;
  -moz-transition: color .25s ease-in-out;
  -webkit-transition: color .25s ease-in-out;
  cursor: pointer;
}

#sermons6 .load-more.loading {
  color: transparent;
  background-image: url("../_img/preloader.svg");
  background-repeat: no-repeat;
  background-position: center center;
  width: 40px;
  height: 40px;
  background-size: cover;
}

#sermons6 .load-more:after {
  display: block;
  font-family: "Font Awesome 6 Pro";
  display: inline-block;
  font: normal normal normal 14px/1 "Font Awesome 6 Pro";
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 15px;
  content: "\e902";
  color: #5d7b9d;
  top: 2em;
  margin-left: -7.5px;
  left: 50%;
  position: absolute;
}

#sermons6 .load-more.disable,
#sermons6 .load-more.disable:after {
  cursor: default;
  opacity: .2;
}

#sermons6 .load-more.loading:after {
  display: none;
}

/* SERIES LIST VIEW */
#sermons6_series {
  display: block;
  margin: 0;
  width: 100%;
  position: relative;
  min-height: 160px;
}

@media (min-width: 992px) {
  #sermons6_series {
    display: -webkit-box;
    display: flex;
    min-height: 160px;
    flex-wrap: wrap;
  }
}

#sermons6_series .series-list-item {
  width: 100%;
  margin-right: 0;
  margin-bottom: 3em;
}

@media (min-width: 992px) {
  #sermons6_series .series-list-item {
    width: 31.333333333%;
    margin-right: 3%;
    margin-bottom: 2em;
  }
}

#sermons6_series .series-list-item:nth-child(3n+3) {
  margin-right: 0;
}

#sermons6_series .series-list-item .image-link {
  display: block;
  position: relative;
  overflow: hidden;
  padding-bottom: 56.25%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

@media (min-width: 992px) {
  #sermons6_series .series-list-item .image-link:hover .overlay .overlay-inner:before {
    opacity: 1;
    visibility: visible;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@media (min-width: 992px) {
  #sermons6_series .series-list-item .image-link:hover .overlay h3 {
    opacity: 1;
    visibility: visible;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

#sermons6_series .series-list-item .image-link .overlay {
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
}

#sermons6_series .series-list-item .image-link .overlay-inner {
  position: relative;
  display: block;
  padding: 1.5rem 5%;
}

#sermons6_series .series-list-item .image-link .overlay-inner:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 200%;
  left: 0;
  bottom: -100%;
  opacity: 0;
  visibility: hidden;
  transition: .2s all ease-in-out;
  -webkit-transform: translateY(100%);
  transform: translateY(100%);
}

#sermons6_series .series-list-item .image-link .overlay h3 {
  display: none;
  text-align: center;
  margin: 0 !important;
  line-height: 1;
  font-size: 1.5em;
  visibility: hidden;
  opacity: 0;
  position: relative;
  transition: -webkit-transform 0.2s ease-in-out;
  transition: transform 0.2s ease-in-out;
  transition: transform 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;
  -webkit-transform: translateY(110%);
  transform: translateY(110%);
}

@media (min-width: 992px) {
  #sermons6_series .series-list-item .image-link .overlay h3 {
    display: block;
  }
}

#sermons6_series .series-list-item .title-link {
  text-align: center;
  font-size: 1.25em;
  text-transform: uppercase;
  margin: .75em auto .25em;
}

#sermons6_series .series-list-item .date-range {
  font-weight: 600;
  margin-top: 0;
  text-align: center;
  font-size: 1em;
}

/* SERMON DETAIL VIEW */
#sermons6 .sermon-detail {
  width: 100%;
  position: relative;
  margin-bottom: 2rem;
}

#sermons6 .sermon-main-image {
  width: 100%;
  height: auto;
}

#sermons6 #sermon-video-embedded + .sermon-main-image,
#sermons6 .sermon-detail .fullwidth-vid + .sermon-main-image {
  display: none;
}

#sermons6 #sermon-video-embedded,
#sermons6 .sermon-detail .fullwidth-vid {
  width: 100%;
  height: auto;
  margin-bottom: 2em;
  position: relative;
  z-index: 1;
}

@media (max-width: 991.99px) {
  #sermons6 .sermon-detail {
    padding-top: 0 !important;
  }
}

@media (min-width: 992px) {
  #sermons6 #sermon-video-embedded.sticky,
  #sermons6 .sermon-detail .fullwidth-vid.sticky {
    z-index: 100;
    box-shadow: 0 0px 10px 5px rgba(0,0,0,0.18);
  }
}

#sermons6 .sermon-detail .summary {
  width: 100%;
  display: block;
  margin-bottom: 2em;
}

#sermons6 .sermon-detail .details {
  width: 100%;
  float: none;
  margin-right: 0;
  margin-bottom: 0;
}

@media (min-width: 992px) {
  #sermons6 .sermon-detail .details {
    width: 45%;
    float: left;
    margin-right: 5%;
    margin-bottom: 0;
  }
}

#sermons6 .sermon-detail .details .passage {
  margin-bottom: 10px;
}

#sermons6 .sermon-detail .details .speaker-no-member-data {
  display: block;
  font-weight: 700;
  margin-bottom: .25rem;
}

#sermons6 .sermon-detail.has-member-data .details .speaker-no-member-data {
  display: none;
}

#sermons6 .sermon-detail .details .date {
  margin-bottom: .25rem;
}

#sermons6 .sermon-detail .speaker {
  width: 100%;
  float: none;
  margin-bottom: 2em;
  display: block;
  clear: both;
}

@media (min-width: 992px) {
  #sermons6 .sermon-detail .speaker {
    width: 50%;
    padding-top: 0;
    float: left;
    margin-bottom: 2em;
    clear: none;
  }
}

#sermons6 .sermon-detail .speaker .headshot {
  float: none;
  margin-right: 0;
  width: 100%;
  margin-bottom: 1em;
}

@media (min-width: 992px) {
  #sermons6 .sermon-detail .speaker .headshot {
    float: left;
    margin-right: 2em;
    width: 50%;
    margin-bottom: 0;
  }
}

#sermons6 .latest-sermon .speaker .position,
#sermons6 .sermon-detail .speaker .position {
  margin-bottom: .25em;
}


#sermons6 .latest-sermon .speaker .social {
  display: block;
  margin: 0 0 2em;
  padding: 0;
}

#sermons6 .sermon-detail .speaker .social {
  display: block;
  margin: 0;
  padding: 0;
}

#sermons6 .sermon-detail .speaker .social li,
#sermons6 .latest-sermon .speaker .social li {
  display: inline-block;
  margin-right: 1em;
  vertical-align: top;
  padding-top: 1px;
}

#sermons6 .sermon-detail .speaker .social li.website,
#sermons6 .latest-sermon .speaker .social li.website {
  padding-top: 0;
}

@media (min-width: 992px) {
  #sermons6 .sermon-detail .speaker .social li,
  #sermons6 .latest-sermon .speaker .social li {
    display: inline-block;
    margin-right: .75em;
    vertical-align: top;
  }
}

#sermons6 .sermon-detail .speaker .social li a,
#sermons6 .latest-sermon .speaker .social li a {
  font-size: 20px;
}

@media (min-width: 992px) {
  #sermons6 .sermon-detail .speaker .social li a,
  #sermons6 .latest-sermon .speaker .social li a {
    font-size: 18px;
  }
}

/* This website/world icon needs a boost in size, to match up better */
#sermons6 .sermon-detail:after {
  display: block;
  width: 100%;
  clear: both;
  content: " ";
}

@media (min-width: 992px) {
  #sermons6 .latest-sermon .speaker .headshot {
    margin-bottom: 1em;
  }
  #sermons6 .latest-sermon .speaker .name {
    font-size: 24px;
    line-height: 1.6;
    margin-bottom: .25em;
    margin-top: 0px;
  }
  #sermons6 .latest-sermon .speaker .position {
    margin-bottom: 5px;
  }
}

#sermons6 .sermon-detail .detail .media {
  margin-bottom: 0;
}

/* Sermon Notes Section */
#sermons6 .sermon-notes {
  width: 100%;
  display: block;
  padding: 0;
  margin: 4em 0;
  box-sizing: border-box;
  border-style: solid;
  border-width: 2px;
}

#sermons6 .sermon-notes .header {
  padding: 3em 2em;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 992px) {
  #sermons6 .sermon-notes .header {
    padding: 4em;
  }
}

#sermons6 .sermon-notes .header h3 {
  margin-bottom: 1em;
}

#sermons6 .sermon-notes .header p {
  margin-bottom: 0;
}

#sermons6 .sermon-notes .form-area {
  min-height: 200px;
  padding: 3em 2em;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 992px) {
  #sermons6 .sermon-notes .form-area {
    min-height: 400px;
    padding: 4em;
  }
}

#sermons6 .sermon-notes #sermon-notes-form > fieldset {
  max-width: 100%;
}

#sermons6 .sermon-notes #sermon-notes-form textarea,
#sermons6 .sermon-notes #notes .pnoteText {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 2em;
  padding: .75em 1em;
  font-size: 14px;
  border: none;
  outline: none;
}

#sermons6 .sermon-notes #sermon-notes-form #notes-email {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 2em;
  padding: .75em 1em;
  font-size: 14px;
  border: none;
  outline: none;
}

#sermons6 .sermon-notes #sermon-notes-form .standard-notes-btn {
  display: block;
  width: 100%;
  margin: .5rem 0;
}

@media (min-width:768px) {
  #sermons6 .sermon-notes #sermon-notes-form .standard-notes-btn {
    display: inline-block;
    width: 200px;
    margin: 0 .5rem 0 0;
  }
}

#sermons6 .sermon-notes #sermon-notes-form #loader-box {
  /* This element will replace #notes-submit, during ajax process */
  display: none;
  width: 100%;
  height: 36px;
  margin: .5rem 0;
  background-image: url("/_assets/img/loaders/preloader.svg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  vertical-align: top;
  box-sizing: border-box;
}

#sermons6 .sermon-notes #sermon-notes-form #loader-box.active {
  display: block;
}

@media (min-width:768px) {
  #sermons6 .sermon-notes #sermon-notes-form #loader-box {
    width: 200px;
    margin: 0 .5rem 0 0;
  }
  #sermons6 .sermon-notes #sermon-notes-form #loader-box.active {
    display: inline-block;
  }
}

#sermons6 .sermon-notes #sermon-notes-form #notes-submit.disable,
#sermons6 .sermon-notes #sermon-notes-form #notes-download.disable {
  display: none;
}

#sermons6 #sermons6-modal-msg {
  visibility: hidden;
  width: 85vw;
  max-width: 300px;
  -webkit-transform: translateY(-50%) translateX(-50%);
  transform: translateY(-50%) translateX(-50%);
  position: fixed;
  top: 50%;
  left: 50%;
  padding: 1.5em 2em;
  z-index: 9999;
  box-sizing: border-box;
  border-radius: 2px;
  transition: all .35s ease-in-out;
  -moz-transition: all .35s ease-in-out;
  -webkit-transition: all .35s ease-in-out;
  opacity: 0.0;
}

#sermons6 #sermons6-modal-msg.active {
  visibility: visible;
  opacity: 1.0;
}

#sermons6 #sermons6-modal-msg p {
  margin: 0 auto;
  text-align: center;
  display: block;
  padding: 0;
}

/* Featured Sermons */

#sermons6 .feat-widget-heading {
  margin-top: 3rem;
  margin-bottom: -2.5rem;
}

@media (min-width:992px) {
  #sermons6 .feat-widget-heading {
    margin-bottom: -3rem;
  }
}

#sermons6 .widget.sermons-carousel {
  margin: 0;
}

#sermons6 .widget.sermons-carousel .slick-list {
  margin: 0 -10px;
}

.sermons-carousel article {
  margin: 0 10px;
}

.sermons-carousel article a .image {
  position: relative;
}

.sermons-carousel article a .image:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  transition: .2s all ease-in-out;
  z-index: 100;
}

/* Animation */
@-webkit-keyframes shimmy {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  25% {
    -webkit-transform: rotate(0.7deg);
            transform: rotate(0.7deg);
  }
  75% {
    -webkit-transform: rotate(-0.65deg);
            transform: rotate(-0.65deg);
  }
  100% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
}
@keyframes shimmy {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  25% {
    -webkit-transform: rotate(0.7deg);
            transform: rotate(0.7deg);
  }
  75% {
    -webkit-transform: rotate(-0.65deg);
            transform: rotate(-0.65deg);
  }
  100% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
}

@-webkit-keyframes bobble {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  25% {
    -webkit-transform: scale(0.93);
            transform: scale(0.93);
  }
  70% {
    -webkit-transform: scale(1.07);
            transform: scale(1.07);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}

@keyframes bobble {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  25% {
    -webkit-transform: scale(0.93);
            transform: scale(0.93);
  }
  70% {
    -webkit-transform: scale(1.07);
            transform: scale(1.07);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}

#sermons6 .sermon-notes #notes p {
  line-height: 35px;
}

#sermons6 .sermon-notes #notes .blank {
  line-height: 19px;
}

#sermons6 .sermon-notes #notes .blank.wrong-answer {
  color: #710a0a;
}

#sermons6 .sermon-notes #notes .pnoteText {
  height: 100px !important;
}

#sermons6 .sermon-notes #notes .blank {
  border-bottom: 1px solid #252525;
}

.sermon-loading {
  text-align: center;
  padding: 4em 0;
  padding-top: 0;
}
.sermon-loading img {
  width: 60px;
}
