/*------------------------------------------------*/

/* OVERALL STYLES */

/*------------------------------------------------*/

body {
  font-family: 'Crimson Text', serif;
  font-size: 16px;
  line-height: 22px;
  color: #232323;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: none;
  margin: 0;
  padding-top: 56px;
}

@media (max-width: 768px) {
  .container {
      max-width: 100%;
    }
}

@media (max-width: 768px) {
  .container {
      max-width: 100%;
    }
}

.img-fluid {
  width: 100%;
}

a {
  color: #232323;
}

a:hover {
  color: #119da4;
}

h1 {
  font-size: 3em;
}

h3 {
  margin-top: 1em;
}

h5 {
  margin-bottom: 0;
  margin-top: 1em;
}

blockquote {
  margin-left: 2em;
  font-style: italic;
  font-size: 1.25em;
  line-height: 1.25em;
  margin-right: 2em;
}

.bold-text {
  font-weight: 700;
  color: #119da4;
}

.btn-primary {
  background-color: transparent;
  border-color: #232323;
  color: #232323;
  border-radius: 0;
  font-family: 'Lato', sans-serif;
  padding: .75em 1em;
}

.btn-primary:hover {
  background-color: #119da4;
  border-color: #119da4;
}

.btn-white {
  background-color: transparent;
  border-color: #fff;
  color: #fff;
  border-radius: 0;
  font-family: lato;
  padding: .75em 1em;
}

.rich-text h3:first-of-type {
  margin-top: 0;
}





/*------------------------------------------------*/

/* NAVBAR */

/*------------------------------------------------*/

.header-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
}

.top-panel {
  position: relative;
  background-image: none;
  background-color: #119da4;
  box-shadow: none;
  border-top: 8px solid #e9d985;
}

.top-panel .holder:after,.social-networks:after {
  content: " ";
  display: block;
  clear: both;
}

.top-panel .sec-nav {
  float: right;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.top-panel .sec-nav li {
  float: left;
  border-left: 1px solid rgba(107, 160, 211, .55);
}

.top-panel .sec-nav li:first-child {
  border-left: none;
}

.top-panel .sec-nav .current-page > a {
  color: #fff;
}

.top-panel .sec-nav a {
  display: block;
  color: #fff;
  padding: 10px 23px 12px;
}

.top-panel .sec-nav a:hover {
  color: #fff;
}

.nav-container {
  padding: 0;
}

.navbar {
  font-family: 'Lato', sans-serif;
}

.navbar .top-panel .sec-nav a {
  display: block;
  color: #fff;
  padding: 4px 25px 8px;
}

.navbar .top-panel .sec-nav {
  text-transform: uppercase;
  letter-spacing: 3px;
  list-style: none;
  font-family: 'Lato', sans-serif;
}

.navbar .top-panel .sec-nav .donate-button {
  border-right: 2px solid #e9d985;
  margin-top: .75em;
  margin-bottom: .75em;
}

.navbar .top-panel .sec-nav .amazon-button {
  margin-top: .75em;
  margin-bottom: .75em;
}

.navbar .top-panel .sec-nav .prayer-button {
  margin-top: .75em;
  margin-bottom: .75em;
}

.navbar .top-panel ul {
  margin-bottom: 0;
}

.navbar-light .navbar-nav .nav-link {
  color: #232323;
  border-right: 2px solid #e9d985;
  padding-left: 1em;
  padding-right: 1em;
}

/* .navbar-light .navbar-nav .music-nav {
  padding-right: 0;
  border-right: none;
} */

.navbar-light .navbar-nav .childcare-nav{
  padding-right: 0;
  border-right: none;
}

.navbar-brand img {
  max-width: 280px;
}

.navbar-brand-mobile {
  display: none;
}

.navbar-light .navbar-toggler {
    color: #119da4;
    border: none;
}

.navbar-light .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgb(255,255,255)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}




.nav-container .navbar-toggler {
  border-color: rgb(17,157,164);
}

.navbar-collapse {
  background-color: #fff;
  /* border-bottom: 2px solid #e9d985;
  padding-bottom: 1em; */
}

/* .dropdown-toggle::after {
  display: none;
} */

.dropdown-toggle::after {
    display: inline-block;
    margin-left: .255em;
    vertical-align: .255em;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
    color: #232323;
}

.close-icon {
  color: #fff;
}

nav .nav-container button:focus {
  outline: none;
}

/* hide close when burger shown */
   .navbar-toggler.collapsed .close-icon {
      display: none;
   }

   .navbar-toggler:not(.collapsed) .navbar-toggler-icon {
      display: inline;
   }

.navbar-nav .current-nav {
  background: #e9d985;

}

.section-item {
  text-transform: uppercase;
}

.dropdown-item:focus, .dropdown-item:hover {
  background-color: #e9d985;
}

.dropdown-menu {
  padding: 1rem 0;
  border: none;
}

.dropdown-item {
  padding: .5rem 1.5rem;
}

.navbar-nav .active {
  background-color: #e9d985;
}

.mobile-nav-fixed-links {
  display: none;
}



@media all and (max-width: 992px) {
  .navbar {
    padding: 0;
  }
  .nav-container {
    max-width: 100%;
    background-color: #119da4;
    border-top: 8px solid #e9d985;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 20;
  }
  .navbar-collapse {
    border-bottom: 2px solid #e9d985;
    padding-bottom: 1em;
  }
  .navbar-light .navbar-nav .nav-link {
    border-right: none;
  }
  .navbar-brand {
    display: none;
  }
  .navbar-brand-mobile {
    display: block;
  }
  .header-fixed {
    display: none;
  }
  .mobile-nav-fixed-links {
    display: inline-block;
  }
  .navbar-brand-mobile img {
    max-width: 200px;
    padding-left: 1em;
  }
  .navbar .top-panel .sec-nav .donate-button, .navbar .top-panel .sec-nav .amazon-button {
    margin-top: .5em;
    margin-bottom: .5em;
  }
  .navbar .top-panel .sec-nav .prayer-button {
    margin-top: .5em;
    margin-bottom: .5em;
  }
  .mobile-nav-fixed-links  {
    background-color: none;
    border-top: none;
  }
  .dropdown-menu {
    padding: 0 0 2em 0;
  }

}


@media all and (max-width: 768px) {
  .navbar .top-panel .sec-nav a {
    padding: 4px 8px 4px;
  }
  .navbar .top-panel .sec-nav {
    letter-spacing: 1px;
    font-size: 12px;
    display: inline-block;
    margin: 0;
    padding: 0;
    float: none;
  }
  .header-fixed .holder {
    text-align: center;
    line-height: 1.25em;
  }


}

@media all and (max-width: 390px) {
  .amazon-button {
    display: none;
  }
}





/*------------------------------------------------*/

/* HOME PAGE HEADER BLOCK */

/*------------------------------------------------*/



.header-call-out {
  font-size: 2.2em;
}

.home .header-img-block {
  background-image: url(../images/Main_homepage_img_2.jpg);
  height: 500px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  max-height: 500px;
  overflow: hidden;
}

.home .header-text {
  position: absolute;
  left: -2px;
  max-width: 80%;
  top: 12em;
}

.header-img-text-l {
  position: absolute;
  top: 2em;
  left: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.header-img-text-l p {
  color: white;
  font-family: 'Lato', sans-serif;
  font-size: 8em;
  line-height: 1em;
  font-weight: 700;
}

.header-img-text-r {
  background-color: rgba(0, 0, 0, 0.6);
  position: absolute;
  right: 0;
  bottom: 1em;
  width: 705px;
}

.header-img-text-r p {
  padding: 1em;
  color: white;
  font-size: 1.75em;
  line-height: 1.3em;
}

@media all and (max-width: 992px) {
  .home {
    max-width: 768px
  }
  .header-img-text-r {
    width: 100%;
  }
  .home .header-text {
    max-width: 100%;
    padding: 1em;
  }
}


@media all and (max-width: 767px) {
  .header-call-out {
    font-size: 1.5em;
  }
}

@media all and (max-width: 576px) {
  .home .header-text {
    top: 12em;
    padding: 1em;
  }
  .header-img-text-r p {
    font-size: 1.25em;
  }
}







/*------------------------------------------------*/

/* HOME PAGE 3-COLUMN SECTION */

/*------------------------------------------------*/


.home-3block {
  margin-top: 2em;
}

.grid {
  display: grid;
  display: -ms-grid;
  -ms-grid-columns: 1fr 1fr 1fr;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 1em;
  /* margin-left: 15px;
  margin-right: 15px; */
  /* margin-top: 4em; */
}


.grid-item-1{
  -ms-grid-column: 1;
  -ms-grid-row: 1;
  margin-right: 1em
}

.grid-item-2{
  -ms-grid-column: 2;
  -ms-grid-row: 1;
  margin-left: .5em;
  margin-right: .5em;
}

.grid-item-3{
  -ms-grid-column: 3;
  -ms-grid-row: 1;
  margin-left: 1em;
}

.gridItemContainer {
  position: relative;
  padding-top: 100%; /* added */
}

.grid img {
  display: block;
  object-fit: cover;
  width: 100%;
  height: 100%; /* image fills the grid item */
  position: absolute; /* position absolutely */
  top: 0;
  left: 0;
}

.grid i {
  font-size: 120%;
  position: absolute;
  top: 10px;
  left: 10px;
}

.title-band {
  background-color: #e9d985;
  position: absolute;
  bottom: 1.25em;
  left: 0px;
  padding: .5em 2em .5em .5em;
}

.grid-text {
  margin-top: 1em;
}

.grid-text-middle h3, .grid-text-middle h4, .grid-text-middle h6  {
  margin-bottom: 2px;
  margin-top: .75rem;
  border-top: 1px solid #e9d985;
  padding-top: 6px;
}

.grid-text-middle p {
  margin: 0;
  line-height: 1.25em;
}

.home .grid-text-middle p a {
  text-decoration: underline;
}

.grid-title, .grid-date {
  margin-top: 0;
  margin-bottom: 0;
}

.grid-text-middle .grid-button {
  margin-top: 1em;
}

.grid-button {
  border-top: 2px solid #e9d985;
  border-bottom: 2px solid #e9d985;
  text-align: center;
  padding: .5em 0px;
  font-family: 'Lato', sans-serif;
}

.home .grid-text a {
  text-decoration: none;
}

@media all and (max-width: 1200px) {
  .title-band h2 {
    font-size: 1.5em;
  }
}

@media all and (max-width: 992px) {
  .title-band h2 {
    font-size: 1.25em;
  }
}

@media all and (max-width: 768px) {
  .grid {
    grid-template-columns: none;
  }
  .grid-item-1 {
    margin-right: 0;
  }
  .grid-item-2 {
    margin-right: 0;
    margin-left: 0;
  }
  .grid-item-3 {
    margin-left: 0;
  }
  .title-band h2 {
    font-size: 2.5em;
  }
  .grid-text {
    margin-left: 15px;
    margin-right: 15px;
  }
}

@media all and (max-width: 450px) {
  .facebook-grid .title-band h2 {
    font-size: 1.5em;
  }
}







/*------------------------------------------------*/

/* REST OF HOME PAGE */

/*------------------------------------------------*/


.mission-block {
  background-image: url(../images/Mission_homepg_background_ADJ.jpg);
  height: 25rem;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  margin: 2em 0 2em 0;
}

.newsletter-block {
  background-image: url(../images/Newsletter_homepg_background.jpg);
  height: 25rem;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  margin: 2em 0 2em 0;
}

.newsletter-block .newsletter-block-text a {
  text-decoration: none;
}

.mission-block .layer, .newsletter-block .layer {
  background-color: rgba(0, 0, 0, 0.75);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.mission-block .btn-white, .newsletter-block .btn-white {
  font-size: 1.2em;
  margin-top: 1em;
}

.mission-block-text, .newsletter-block-text {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  text-align: center;
  color: #fff;
  width: 100%;
  padding: 4em 6em;
  font-family: 'Lato', sans-serif;
}

.mission-block-text p, .newsletter-block-text p {
  /* font-size: 18px;
  line-height: 24px; */
  font-family: 'Lato', sans-serif;
  margin: 0;
}

.mission-block-text h2, .newsletter-block-text h2 {
  margin-bottom: .5em;
}

.mission-block-text p:first-of-type {
  margin-bottom: 1em;
}

.mission-block-text ul {
  display: inline-block;
  list-style: none;
  padding: 0;
}

.mission-block-text .rich-text ul li p {
  margin: 0;
}

/* .mission-block-text .rich-text p ~ ul {
  margin: 0;
} */

.video-block {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 25px;
  height: 0;
}

.video-block-div {
  padding: 0;
}

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

.video-text-block {
  margin-left: 2em;
}

.home .video-text-block {
  margin-left: 0;
}

.video-title-div {
  padding-left: 0;
}

.video-description {
  margin-top: .5em;
}

@media all and (max-width: 768px) {
  .mission-block-text {
    padding: 1em;
    font-size: .9em;
  }
  .video-text-block {
    margin-left: 0;
    margin-top: 1em;
  }
}

@media all and (max-width: 480px) {
  .newsletter-block-text {
    padding: 2em 4em;
  }
}




/*------------------------------------------------*/

/* HEADER IMAGE BLOCKS FOR ALL PAGES (EXCEPT HOME) */

/*------------------------------------------------*/

.header-img-block {
  height: 25rem;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  margin-bottom: 4em;
}

.header-text {
  bottom: -2px;
  position: absolute;
  left: -2px;
  max-width: 80%;
}

@media all and (max-width: 768px) {
  .header-img-block {
    margin-bottom: 2em;
  }
}








/*------------------------------------------------*/

/* GENERAL PAGE STYLES */

/*------------------------------------------------*/


.main-content {
  padding-right: 8em;
  padding-left: 0;
}

.main-content p {
  font-size: 18px;
  line-height: 24px;
}

.main-content img {
  max-width: 100%;
  height: auto;
}

.main-content .content-embedded-image {
  margin-top: 2em;
  margin-bottom: 2em;
}

.main-content ul li p {
  margin-bottom: 0;
}

@media all and (max-width: 768px) {
  .main-content {
    padding-left: 15px;
  }
}

.page-header-underline {
  margin-bottom: 3em;
}

.page-header-underline h1 {
  border-bottom: 8px solid #e9d985;
  display: inline;
}

.side-nav {
  list-style-type: none;
  font-family: 'Lato', sans-serif;
  line-height: 2.5em;
  border-left: 2px solid #e9d985;
}

.current-page {
  border-bottom: 2px solid #e9d985;
  display: inline;
  padding-bottom: 4px;
}


@media all and (max-width: 992px) {
  .side-nav {
    border-left: none;
    padding-left: 0;
    border-top: 2px solid #e9d985;
    padding-top: 1em;
    margin-top: 2em;
  }
  .main-content {
    padding-right: 15px;
    margin-left: 15px;
    margin-right: 15px;
  }
}

@media all and (max-width: 768px) {
    .sidebar {
      margin-left: 15px;
      margin-right: 15px;
    }
}


.clergy .page-header-underline {
  margin-bottom: 2em;
}

.clergy-header {
  margin-top: 4em;
  margin-bottom: 2em;
}

.bio-div {
  margin-top: 2em;
  padding-right: 2em;
}

.bio-div .name {
  margin-bottom: 0;
  margin-top: 0;
}

.bio-div .title {
  font-style: italic;
  margin-bottom: .25em;
  border-bottom: 1px solid #e9d985;
  padding-bottom: .25em;
  margin-top: .25em;
}

.bio-div .email p {
  margin-bottom: 0;
}

.bio-div .email .icon-envelope-o {
  font-size: 1.2em;
  width: 1.5em;
  vertical-align: top;
}

.bio-div .description {
  margin-top: .5em;
}

.bio-div blockquote {
  margin-left: 0;
  margin-right: 0;
  padding-left: 1em;
  border-left: 1px solid #e9d985;
}

.bio-img {
  /* background-image: url(../images/Bio_Pic_Placeholder.png); */
  height: 320px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  /* margin-top: 2em; */
  margin-bottom: 1em;
}

.clergy h3 {
  margin-bottom: 0;
}

[class^="icon-"], [class*=" icon-"] {
    height: 32px;
    width: 32px;
    display: inline-block;
    fill: currentColor;
}

@media all and (max-width: 992px) {
  .bio-div {
    padding-right: 15px;
  }
}




.map {
  margin-top: 2em;
}

.map iframe {
  max-width: 100%
  height: auto;
}


.childcare-intro-text {
  font-size: 1.25em;
  line-height: 1.5em;
}

.childcare-main-content {
  font-size: 1.25em;
  line-height: 1.5em;
}

.childcare-main-content b {
  color: #119da4;
}

.contact-info-block {
  margin-right: 0;
}


.grid-cc {
  display: grid;
  display: -ms-grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  -ms-grid-columns: 1fr 1fr;
  grid-gap: 2em;
  -ms-grid-gap: 2em;
  margin-top: 4em;
}

.childcare-grid-1 {
  -ms-grid-column: 1;
  -ms-grid-row: 1;
  margin-right: 1em;
}

.childcare-grid-2 {
  -ms-grid-column: 2;
  -ms-grid-row: 1;
  margin-left: 1em;
}

.childcare-grid {
  margin-top: 2em;
}

.facebook-grid {
  margin-top: 1em;
  display: block;
}

.facebook-grid .title-band {
  left: 15px;
}

.grid-cc-ItemContainer {
  position: relative;
  padding-top: 100%; /* added */
}

.grid-cc img {
  display: block;
  object-fit: cover;
  width: 100%;
  height: 100%; /* image fills the grid item */
  position: absolute; /* position absolutely */
  top: 0;
  left: 0;
}

.grid-cc i {
  font-size: 120%;
  position: absolute;
  top: 10px;
  left: 10px;
}


.cc-call-to-action {
  background: #119da4;
  padding: 2em;
  font-size: 1.5em;
  color: #fff;
  line-height: 1.25em;
  margin-top: 2em;
  /* margin-left: 15px; */
}

.cc-call-to-action .questions {
  font-size: 28px;
}

.cc-call-to-action .phone-email {
  font-size: 22px;
  line-height: 26px;
}

.contact-info-block {
  max-width: 100%;
  margin-left: 0;
}

.contact-info-block .phone-email a {
  color: #fff;
  /* text-decoration: underline; */
}

.header-underline {
  border-bottom: 2px solid #e9d985;
  margin: 2em 0 .4em 0;
  padding-bottom: .4em;
}

.sermons .video iframe {
  margin-left: 15px;
}

/* .embed-responsive-16by9::before {
  padding: 0 !important
} */

/* .pdf-sermons {
  list-style: none;
  padding: 0;
  line-height: 2em;
} */

.sermon-PDFs {
  display: block;
  margin-bottom: 1em;
  text-decoration: underline;
}

.pdf-archive {
font-weight: 700;
}

.event-section-header {
  padding-bottom: .4em;
  margin-top: 2em;
}

.event-section-header h5 {
  margin-top: 0;
  margin-bottom: .5em;
}

.event-image {
  margin-bottom: 1em;
}

.event-title {
  margin-bottom: 0;
}

.event-date-col {
  border-top: 2px solid #e9d985;
  font-family: 'Lato', sans-serif;
  text-align: center;
  padding-top: 1em;
  -ms-flex: 0 0 15%;
  flex: 0 0 15%;
  max-width: 15%;
}

.event-date-col .month {
  text-transform: uppercase;
  font-size: 1.2em;
}

.event-date-col .number {
  font-size: 2.5em;
}

.event-col-space {
  -ms-flex: 0 0 6%;
  flex: 0 0 6%;
  max-width: 6%;
}

.event-text-col {
  border-top: 2px solid #e9d985;
  padding-top: 1em;
  padding-left: 0;
  -ms-flex: 0 0 79%;
  flex: 0 0 79%;
  max-width: 79%;
  margin-bottom: 1em;
}

.event-header {
  margin-bottom: 1em;
}

.event-header p {
  margin: 0;
}

.event-description {
  margin-bottom: ;
}

.event-description p {
  margin-bottom: .5em;
}

.no-events-header {
  border-top: 2px solid #e9d985;
  padding-top: 1em;
}

@media all and (max-width: 530px) {
  .event-date-col {
    border-top: none;
    padding-left: 0;
  }
}

@media all and (max-width: 491px) {
  .childcare-grid-1 {
    margin-right: 0;
  }
  .childcare-grid-2 {
    margin-left: 0;
  }
}

@media all and (max-width: 480px) {
  .cc-call-to-action {
    padding: 1em;
    font-size: 1.25em;
  }
}





/* Prayer Request form */

.ccm-form .ccm-form-element {
  clear: left;
  margin-top: 1em;
}

#content .ccm-form label {
  color: #635f5a;
  font-family: 'Open Sans', sans-serif;
  font-size: 1em;
  line-height: 1.5em;
  font-weight: 400;
  margin: 12px 0 4px;
}

#content .ccm-form label span {
  color: red;
}

.ccm-form .ccm-form-element input[type="text"], .ccm-form .ccm-form-element input[type="email"], .ccm-form .ccm-form-element textarea {
  /* background-color: #f5f4f4; */
  /* border: none; */
  width: 100%;
  display: block;
  padding: 10px 15px;
  border: 1px solid #b0b6bb;
  border-radius: 4px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  font-family: Helvetica Neue, Arial, sans-serif;
  color: #394856;
  font-size: 16px;
  line-height: 1.5;
  margin-top: .25em;
}

.ccm-form .ccm-form-element textarea {
  /* background-color: #f5f4f4;
  border: none; */
  height: 6em;
}

#content .ccm-form .radioPair {
  color: #635f5a;
  display: block;
  font-family: 'Open Sans', sans-serif;
  font-size: 1em;
  line-height: 1em;
  margin: 12px 0;
}

.ctct-custom-form input[type="tel"],.ctct-custom-form input[type="email"] {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #b0b6bb;
  border-radius: 4px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  font-family: Helvetica Neue, Arial, sans-serif;
  color: #394856;
  font-size: 16px;
  line-height: 1.5;
}

.radioPair > input {
  float: left;
}

.ccm-form .ccm-form-element input[type="radio"],.ccm-form .ccm-form-element input[type="checkbox"] {
  border: none;
  margin: 0;
  width: 30px;
}

.ccm-form .ccm-form-element select {
  width: auto;
}

.ccm-form .ccm-form-element h5 {
  margin-top: 1em;
}

.ccm-form .ccm-form-element h5 a {
  text-decoration: underline;
}

.ccm-form input[type="file"] {
  border: none;
}

.ccm-form button {
  background-color: #ffffff;
  float: right;
  width: auto;
  padding: .5em 1em;
  margin-top: 1em;
}

.ccm-form .first-name {

}

.cc-contact-section p {
  margin-bottom: 0;
}


#google-prayer-form iframe .freebirdFormviewerViewFormContentWrapper {
  background-color: white;
}

#content .thank-you .cross {
  max-width: 80px;
  height: auto;
  margin: 0 auto;
  display: block;
}

#content .thankyou-headline {
  font-family: 'Crimson Text', serif;
  font-style: italic;
  text-transform: capitalize;
  font-weight: 400;
  font-size: 1.5em;
  line-height: 1.25em;
  border-bottom: 1px solid #d4be52;
  text-align: center;
  color: #d4be52;
}

#content .thank-you p {
  font-size: 16px;
  line-height: 22px;
  color: #555;
  font-weight: 400;
}

/* end prayer request form styles */

.newsletter-form, .cc-contact-form {
  border: 1px solid #b0b6bb;
  padding: 2em;
  margin-top: 2em;
}


.sidebar-box {
  background-color: #e9d985;
  font-family: 'Lato', sans-serif;
  padding: 1.5em;
  margin-bottom: 2em;
  margin-top: 2em;
}

.sidebar-box .cc-hours {
  margin-bottom: 1em;
  padding-bottom: 1em;
  border-bottom: 1px solid #232323;
}

.sidebar-box .cc-details {
  margin-bottom: 0;
}

/* .audio {
  position: relative;
  overflow: hidden;
  padding-top: 56.25%;
}


.audio iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
} */

.event-row {
  margin: 0;
}

@media all and (max-width: 992px) {
  .sidebar-logo {
    margin-top: 2em;
  }
}

.hidden {
  display: none;
}

.thank-you h2 {
  font-style: italic;
  color: #e9d985;
}





/* Styles for the gallery */

.tz-gallery {
    margin: 0;
    margin-bottom: 1em;

    display: grid;
    display: -ms-grid;
    -ms-grid-columns: 1fr 1fr;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-gap: .5em;
    /* margin-right: 2em; */
    margin-top: 1em;
}

.tz-gallery .thumbnail {
    padding: 0;
    /* margin-bottom: 30px; */
    border: none;
    transition: 0.15s ease-in-out;
}

.tz-gallery .thumbnail:hover {
    transform: translateY(-10px) scale(1.02);
}

.tz-gallery img {
    border-radius: 2px;
}

.tz-gallery .caption{
    padding: 26px 30px;
    text-align: center;
}

.tz-gallery .caption h3 {
    font-size: 14px;
    font-weight: bold;
    margin-top: 0;
}

.tz-gallery .caption p {
    font-size: 12px;
    color: #7b7d7d;
    margin: 0;
}

.baguetteBox-button {
    background-color: transparent !important;
}

.carousel-inner>.item>a>img, .carousel-inner>.item>img, .img-responsive, .thumbnail a>img, .thumbnail>img {
  display: block;
    max-width: 100%;
    height: auto;
}


/* .grid-gallery {
  display: grid;
  display: -ms-grid;
  -ms-grid-columns: 1fr 1fr;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 2em;
  margin-right: 2em;
  margin-top: 1em;
} */

.thumbnail-1 {
  -ms-grid-column: 1;
  -ms-grid-row: 1;
  /* margin-right: .5em;
  margin-bottom: .5em; */
  margin: .5em;
}

.thumbnail-2 {
  -ms-grid-column: 2;
  -ms-grid-row: 1;
  /* margin-left: .5em;
  margin-bottom: .5em; */
  margin: .5em;
}

.thumbnail-3 {
  -ms-grid-column: 1;
  -ms-grid-row: 2;
  /* margin-right: .5em;
  margin-top: .5em; */
  margin: .5em;
}

.thumbnail-4 {
  -ms-grid-column: 2;
  -ms-grid-row: 2;
  /* margin-left: .5em;
  margin-top: .5em; */
  margin: .5em;
}

.grid-gallery-ItemContainer {
  position: relative;
  padding-top: 100%; /* added */
}

.grid-gallery img {
  display: block;
  object-fit: cover;
  width: 100%;
  height: 100%; /* image fills the grid item */
  position: absolute; /* position absolutely */
  top: 0;
  left: 0;
}

.grid-gallery i {
  font-size: 120%;
  position: absolute;
  top: 10px;
  left: 10px;
}

@media all and (max-width: 768px) {
  /* .grid-gallery {
    grid-template-columns: none;
  } */
}



.enrollment-btn {
  background-color: transparent;
  border-color: #232323;
  color: #232323;
  border-radius: 0;
  font-family: 'Lato', sans-serif;
  padding: .75em 1em;
  border: 1px solid black;
  display: inline-block;
  /* width: fit-content; */
}

.medical-form-text {
  font-style: italic;
}


.newsletter-btn {
  display: inline-block;
  width: fit-content;
  text-align: center;
}

.newsletter .rich-text a {
  text-decoration: underline;
}

.rich-text a {
  text-decoration: underline;
}

footer .rich-text a {
  text-decoration: none;
}


.section-page-links {
  padding-left: 0;
  list-style: none;
}

.section-page-links .link-item {
  padding: 1em 0;
  border-top: 1px solid #e9d985;
  font-family: 'Lato', sans-serif;
  text-transform: uppercase;

}

.section-page-links .bottom {
  border-bottom: 1px solid #e9d985;
}

.facebook-icon {
  font-size: 1.5em;
}

.history-page h3 {
  margin-top: 0;
}

.figure-caption {
  line-height: 1.25em;
}

.photo-gallery figcaption {
  display: block;
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    line-height: 1.8;
    white-space: normal;
    color: #ccc;
    background-color: #000;
    background-color: rgba(0, 0, 0, 0.6);
    font-family: sans-serif;
}

.figure-mobile {
  display: none;
}

@media all and (max-width: 768px) {
  .figure-mobile {
    display: block;
  }
  .figure-desktop {
    display: none;
  }
}


.book-image {
  margin-bottom: 1em;
}

.book-title {
  margin-bottom: 0;
}

.book-author {

}

.book-description p a {
  text-decoration: underline;
}


.donate-text a {
  /* background-color: transparent;
  border: 1px solid #232323; */
  color: #119da4;
  /* border-radius: 0; */
  font-family: 'Lato', sans-serif;
  /* padding: .75em 1em;
  line-height: 2.5em; */
}

.donate-text h3 {
  margin-top: 1.5em;
}

.donate-btn-div {
  text-align: center;
}



/*------------------------------------------------*/

/* FOOTER */

/*------------------------------------------------*/

footer {
  margin-top: 4em;
  padding-left: 30px;
  padding-right: 30px;
}

footer .container {
  border-top: 2px solid #232323;
  padding-bottom: 3em;
  padding-top: 1em;
}

.footer-brand img {
  max-width: 350px;
}

.footer-blurb {
  margin-bottom: 1em;
  font-size: 18px;
}

.footer-address {
  font-size: 18px;
}

footer p {
  margin-bottom: 0;
}

.footer-address .footer-social {
  margin-top: 1em;
}

/* .footer-address {
  font-family: 'Lato', sans-serif;
} */

.footer-hours {
  margin-bottom: 1em;
  font-family: 'Lato', sans-serif;
}

.footer-hours a {
  background-color: transparent;
  border-color: #232323;
  color: #232323;
  border-radius: 0;
  font-family: 'Lato', sans-serif;
  padding: .75em 1em;
  border: 1px solid black;
  display: inline-block;
  width: fit-content;
  margin-top: 1em;
}

.footer-hours a:hover {
  background-color: #119da4;
  border-color: #119da4;
}

.footer-hours p {
  margin-bottom: .5em;
}

.footer-link-column {
  font-family: 'Lato', sans-serif;
}

.footer-link-column p {
  margin-bottom: .5em;
}

.address-col {
  padding-left: 0;
}

.link-col {
  padding-right: 0;
}


@media all and (max-width: 768px) {
  .hours-col {
    margin-top: 2em;
    padding-left: 0;
  }
  .link-col {
    margin-top: 2em;
    padding-left: 0;
    border-top: 2px solid #232323;
    padding-top: 2em;
  }
}

@media all and (max-width: 576px) {
  .footer-brand img {
    max-width: 75%;
  }

}
