/*
Theme Name: HTML5 Blank Child
Theme URI: http://html5blank.com
Template: html5blank-stable
Description: HTML5 Blank WordPress Theme
Version: 1.4.3
Author: Darin Haener
Author URI: http://toddmotto.com
Tags: Blank, HTML5, CSS3

License: MIT
License URI: http://opensource.org/licenses/mit-license.php
*/

html,
body {
  width: 100%;
  font-family: 'Lato', sans-serif !important;
}

/* Typography */
h1 {
  font-size: 40px;
}

h2 {
  font-size: 30px;
}

h3 {
  font-size: 26px;
}

small {
  font-size: 15px;
}

p {
  --x-height-multiplier: 0.375;
  --baseline-multiplier: 0.17;
  font-family: medium-content-serif-font, Georgia, Cambria, 'Times New Roman',
    Times, serif;
  letter-spacing: 0.01rem;
  font-weight: 400;
  font-style: normal;
  font-size: 22px;
  line-height: 1.58;
  letter-spacing: -0.003em;
  margin-bottom: 1em;
}

a {
  color: #0921ea !important;
}

a:hover {
  text-decoration: underline !important;
}

li {
  font-size: 14px;
}

table {
  font-size: 18px;
}

table td {
  padding: 3px 8px;
}

/* Buttons */
.button {
  padding: 5px 10px;
  background-color: #c1151b;
  color: #fff;
  text-transform: uppercase;
  display: inline-block;
  font-size: 1.3em;
  font-weight: 700;
}

/* Fonts */
.lato {
  font-family: 'Lato', sans-serif;
}

.vibes {
  font-family: 'Great Vibes', cursive;
}

.grace {
  font-family: 'Covered By Your Grace', cursive;
}

.josefin {
  font-family: 'Josefin Sans', sans-serif;
}

/* WP Overrides */
.more-link {
  padding: 5px 10px;
  background-color: #c1151b;
  color: #fff !important;
  text-transform: uppercase;
  font-size: 1em;
  font-weight: 700;
  margin-top: 20px;
  display: block;
  width: 175px;
}

.more-link > span {
  color: #fff;
}

/* Main Section */
.main-section {
  margin-top: 50px;
}

.youtube-embed {
  overflow: hidden;
}

.page-title {
  height: 250px;
  text-align: center;
  background-image: url('./images/home-carousel/sanctuary.jpg');
  background-position: center;
  background-size: cover;
  position: relative;
}

.page-title .title-overlay {
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.7);
}

.page-title h2 {
  font-size: 5em;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-80%);
  text-transform: uppercase;
}

.page-content {
  font-size: 1.3em;
  font-weight: 400;
  padding: 25px;
  min-height: 390px;
}

/* Articles */
article.page-content {
  color: #000;
  width: 80%;
  padding: 50px;
  display: inline-block;
}

article.page-content .date {
  display: block;
  font-weight: 400;
  font-size: 1.1em;
  margin-bottom: 10px;
}

article.page-content .author {
  display: block;
  font-weight: 400;
  font-size: 1.2em;
  margin-bottom: 10px;
}

article.page-content .comments {
  display: block;
}

article.page-content .article-content {
  padding: 0 100px;
}

.recent-sermons {
  background-color: #f3f3f3;
  padding: 15px;
  width: 20%;
  display: inline-block;
  margin-right: -3px;
  vertical-align: top;
}

.recent-sermons > h3 {
  text-transform: uppercase;
  font-size: 1.4em;
  font-weight: 400;
  padding-bottom: 8px;
  border-bottom: solid 1px #dcdcdc;
}

.recent-sermons > ul {
  list-style-type: none;
  padding-left: 10px;
}

.recent-sermons ul > li {
  margin-bottom: 10px;
}

.recent-sermons ul li a {
  display: block;
  font-weight: 400;
  font-size: 1.3em;
}

.recent-sermons ul li span {
  display: block;
  font-weight: 300;
  padding-left: 8px;
  font-size: 1.1em;
}

/* Footer */
.footer {
  margin-left: 0;
}

.footer .block {
  width: 100%;
  text-align: center;
  text-transform: uppercase;
  font-size: 1.8em;
  font-weight: 400;
  display: inline-block;
  height: 100px;
  color: #fff !important;
  line-height: 100px;
  float: left;
}

.footer .block:hover {
  text-decoration: none !important;
  cursor: pointer;
}

.footer .history {
  background-color: rgba(33, 67, 138, 1);
}

.footer .contact {
  background-color: rgba(94, 171, 69, 1);
}

.footer .make-a-difference {
  background-color: rgba(213, 48, 111, 1);
}

.footer .theme {
  background-color: rgba(112, 112, 112, 1);
}

.footer .map {
  background-color: rgba(224, 79, 62, 1);
}

/* Carousels */
.main-carousel {
  position: relative;
}

.main-carousel img {
  width: 100%;
  height: 500px !important;
}

.carousel-popover {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 10px 15px;
  background-color: rgba(0, 0, 0, 0.92);
  width: 300px;
}

.carousel-popover > .popover-header {
  text-transform: uppercase;
  font-size: 1.6em;
  font-weight: 400;
  color: #fff;
}

.carousel-popover > .popover-content {
  font-size: 1.4em;
  color: #fff;
  padding: 0;
  margin-bottom: 15px;
}

.carousel-popover a {
  color: #fff !important;
}

.carousel-control.right {
  width: 30px !important;
}

.carousel-control.left,
.carousel-control.right {
  width: 30px !important;
}

.glyphicon-chevron-left:before {
  background: rgba(0, 0, 0, 0.8);
  padding: 5px 2px 5px 5px;
  margin-left: -5px;
}

.glyphicon-chevron-right:before {
  background: rgba(0, 0, 0, 0.8);
  padding: 5px 5px 5px 2px;
}

/* Main Styles */
.main-section {
}

/* Home Page */
.highlighted-sermon {
  text-align: center;
  background-color: #000;
  color: #fff;
  padding: 15px 0;
}

.highlighted-sermon h4 {
  text-transform: uppercase;
  font-size: 1.6em;
  font-weight: 400;
  margin: 0 0 5px 0;
}

.highlighted-sermon span {
  display: block;
  text-transform: uppercase;
  font-weight: 400;
  margin: 0 0 10px 0;
}

.highlighted-sermon h3 {
  font-family: 'Great Vibes', cursive;
  font-size: 3em;
  margin: 5px 0 0 0;
}

.recent-sermon-block {
  width: 100%;
  background-image: url('./images/video-wallpaper.jpg');
  background-position: center;
  background-size: cover;
}

.video-container {
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.recent-sermon-block > .latest-sermon {
  background-size: cover;
  position: relative;
  color: #fff;
  padding: 0 !important;
  height: 100%;
  min-height: 400px;
}

.recent-sermon-block > .latest-sermon a {
  color: #fff !important;
}

.recent-sermon-block > .latest-sermon > .recent-sermon-background {
  background-color: rgba(66, 45, 112, 0.9);
  width: 100%;
  height: 100%;
  min-height: 400px;
  display: inline-block;
  vertical-align: top;
  padding: 30px;
}

.recent-sermon-block > .latest-sermon h3 {
  text-transform: uppercase;
  font-size: 2.5em;
}

.recent-sermon-block > .latest-sermon p {
  font-size: 1.9em;
  padding-top: 15px;
}

.recent-sermon-block > .video-preview-holder {
  padding: 0;
  background-color: rgba(210, 152, 45, 0.65);
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.recent-sermon-block > .video-preview-holder > .video-preview {
  padding: 0;
  display: flex;
  align-items: center;
  height: 400px;
  position: relative;
}

.recent-sermon-block > .video-preview-holder > .video-preview > .video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(210, 152, 45, 0.65);
  z-index: 999;
}

.recent-sermon-block
  > .video-preview-holder
  > .video-preview
  > .video-overlay.hide {
  display: none;
}

.recent-sermon-block
  > .video-preview-holder
  > .video-preview
  > .video-overlay:hover {
  cursor: pointer;
}

.recent-sermon-block
  > .video-preview-holder
  > .video-preview
  > .reverend-overlay {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 250px;
  z-index: 9999;
}

.recent-sermon-block > .video-preview-holder > .video-preview > .text-overlay {
  position: absolute;
  z-index: 9999;
  font-size: 23px;
  color: #FFFFFF;
  font-weight: bold;
  left: 255px;
  top: 151px;
  text-shadow: 1px 1px 3px #000;
}

.recent-sermon-block > .video-preview-holder > .video-preview > .text-overlay:hover {
  cursor: pointer;
}

.recent-sermon-block
  > .video-preview-holder
  > .video-preview
  > .reverend-overlay.hide {
  display: none;
}

.recent-sermon-block
  > .video-preview-holder
  > .video-preview
  > .reverend-overlay:hover {
  cursor: pointer;
}

.cta-links {
}

.cta-links > div {
  min-height: 175px;
  background-size: cover;
}

.cta-links .book-bg {
  background-image: url('./images/book.jpg');
}

.cta-links .ipod-bg {
  background-image: url('./images/ipod.jpg');
}

.cta-links .calendar-bg {
  background-image: url('./images/calendar.jpg');
}

.overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.overlay.blue {
  background-color: rgba(0, 178, 238, 0.95);
}

.overlay.red {
  background-color: rgba(171, 47, 71, 0.95);
}

.overlay.green {
  background-color: rgba(0, 117, 93, 0.95);
}

.overlay.white {
  background-color: rgba(255, 255, 255, 0.75);
}

.no-gutter {
  padding-left: 0;
  padding-right: 0;
}

.cta-links .overlay-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  color: #fff;
  text-align: center;
}

.cta-links .overlay-title h3 {
  font-size: 2em;
  text-transform: uppercase;
}

.cta-links .overlay-title i {
  font-size: 4em;
}

.event-carousel {
  height: 314px;
}

.event-carousel-image {
  background-image: url('./images/home-page-banner.jpg');
  background-size: cover;
  height: 300px;
}

.spirit-school {
  position: relative;
  background-size: cover;
  min-height: 300px;
}

.spirit-school .ss-bg {
  width: 100%;
}

.spirit-school-text {
  color: #333;
  width: 100%;
  padding: 25px 50px;
  background-color: rgba(255, 255, 255, 0.75);
  min-height: 300px;
}

.spirit-school-text h3 {
  text-transform: uppercase;
  font-size: 2.8em;
}

.spirit-school-text p {
  font-size: 1.8em;
  font-weight: 400;
  text-align: left;
}

.spirit-school-text a {
  color: #fff !important;
}

.spirit-school-text a:hover {
  text-decoration: none !important;
}

@media (min-width: 813px) {
  .main-section {
    margin-left: 200px;
    margin-top: -1px;
  }

  .recent-sermon-block > .latest-sermon h3 {
    text-transform: uppercase;
    font-size: 2.2em;
  }

  .recent-sermon-block > .latest-sermon p {
    padding-top: 25px;
    font-size: 1.7em;
  }

  .recent-sermon-block > .video-preview {
    height: 400px;
    padding: 0;
  }

  .footer {
    margin-left: 200px;
  }

  .footer > .block {
    width: 100%;
    font-size: 1.8em;
  }

  .spirit-school {
    width: 100%;
  }

  .spirit-school .ss-bg {
    width: 100%;
    max-height: 333px;
  }

  .spirit-school-text {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
  }

  .spirit-school-text h3 {
    font-size: 3em;
  }

  .spirit-school-text p {
    font-size: 1.7em;
  }

  .carousel-popover {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 15px 20px;
    background-color: rgba(0, 0, 0, 0.92);
    width: 350px;
  }

  .carousel-popover > .popover-header {
    text-transform: uppercase;
    font-size: 1.8em;
    font-weight: 400;
    color: #fff;
  }

  .carousel-popover > .popover-content {
    font-size: 1.4em;
    color: #fff;
    padding: 0;
    margin-bottom: 15px;
  }

  .recent-sermon-block > .video-preview > .reverend-overlay {
    display: block;
  }
}

@media (min-width: 992px) {
  .recent-sermon-block > .latest-sermon h3 {
    text-transform: uppercase;
    font-size: 2.2em;
  }

  .recent-sermon-block > .latest-sermon p {
    padding-top: 25px;
    font-size: 1.5em;
  }

  .recent-sermon-block > .video-preview {
    height: 400px;
    padding: 0;
  }

  .footer {
    margin-left: 200px;
  }

  .footer > .block {
    width: 20%;
    font-size: 1.4em;
  }

  .spirit-school-text {
  }

  .spirit-school-text h3 {
    font-size: 3em;
  }

  .spirit-school-text p {
    font-size: 1.7em;
  }

  .carousel-popover {
    right: 150px;
    padding: 10px 15px 20px;
    width: 350px;
    left: none;
    transform: none;
  }
}

@media (min-width: 1200px) {
  .recent-sermon-block > .latest-sermon h3 {
    text-transform: uppercase;
    font-size: 2.2em;
  }

  .recent-sermon-block > .latest-sermon p {
    padding-top: 25px;
    font-size: 1.7em;
  }

  .recent-sermon-block > .video-preview {
    height: 400px;
    padding: 0;
  }

  .footer {
    margin-left: 200px;
  }

  .footer > .block {
    width: 20%;
    font-size: 1.8em;
  }

  .spirit-school-text {
  }

  .spirit-school-text h3 {
    font-size: 3em;
  }

  .spirit-school-text p {
    font-size: 1.6em;
  }

  .carousel-popover {
    right: 150px;
    padding: 10px 15px 20px;
    width: 350px;
    left: initial;
    transform: none;
  }
}
