/*
Theme Name: My Religion Child
Theme URI: http://cmsmasters.net/my-religion-child/
Author: cmsmasters
Author URI: http://cmsmasters.net/
Description: My Religion Child Theme
Template: my-religion
Version: 1.3.1
License:
License URI:
Text Domain: my-religion-child
Tags: one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready
*/


.section-divider {
  margin: 20px 0;
}

a:hover, a:focus {
  text-decoration: underline;
}


/*
 * TOP NAVIGATION
 */

@media (min-width: 1024px) {
  .header_fullwidth .header_mid_inner {
    display: flex;
  }

  .header_fullwidth .header_mid_inner .logo_wrap {
    margin-right: auto;
    order: 0;
  }
  .header_fullwidth .header_mid_inner .resp_mid_nav_wrap {
    order: 10;
  }
  .header_fullwidth .header_mid_inner .social_wrap {
    order: 2;
  }
  .header_fullwidth .header_mid_inner .search_wrap {
    order: 3;
  }
  .header_fullwidth .header_mid_inner .mid_nav_wrap_wrap {
    order: 1;
  }
}

@media only screen and (max-width: 1200px) {
  .navigation > li > a {
    font-size: 14px;
  }
  .navigation > li > a > .nav_item_wrap {
    padding: 5px 10px;
  }
}

@media only screen and (max-width: 1120px) {
  .navigation > li > a > .nav_item_wrap {
    padding: 5px 10px;
  }
}

@media only screen and (max-width: 768px) {
  #header .header_mid .logo_wrap .logo img {
    max-width: 400px;
  }
}



/*
 * SIDEBAR
 */

.sidebar .widget .widgettitle {
  margin-bottom: 1em;
  font-family: 'Headland One', Arial, Helvetica, 'Nimbus Sans L', sans-serif;
  font-size: 14px;
  letter-spacing: 1px;
  line-height: 1.2;
}

.sidebar .widget .menu.sb-menu li {
  padding: 10px 0;
  border-bottom: 1px solid #d7d7d7;
}
.sidebar .widget .menu.sb-menu li:before {
  top: 18px;
}


/*
 * ICON LIST
 */

.icon-list {
  margin: 0;
  padding: 0;
  display: inline-block;
  text-align: left;
}

.icon-list li {
  padding: 0;
}
.icon-list li:before {
  content: none;
}



/*
 * HEADER
 */

.headline_outer .headline_inner .headline_text {
  max-width: 99%;  /* prevent alignment bug when title width reaches 100% */
}
.headline_outer .headline_inner .headline_text .entry-title {
  word-break: break-word;
}

@media only screen and (max-width: 768px) {
  .headline_outer .headline_inner {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .headline_outer .headline_inner .headline_aligner {
    display: none;
  }

  .headline_outer .headline_inner .headline_text .entry-title {
    font-size: 30px;
  }
}



/*
 * FOOTER
 */
.footer_copyright {
  text-align: center;
}

.cmsmasters_color_scheme_footer a {
  color: rgba(255, 255, 255, .7);
}

.cmsmasters_color_scheme_footer ::selection {
  background-color: rgba(255, 255, 255, .7);
}

.cmsmasters_color_scheme_footer .footer-info {
  font-size: 20px;
  text-align: center;
}

.cmsmasters_color_scheme_footer .footer-info h3 {
  font-size: 30px;
  font-weight: 400;
  line-height: 1.33em;
}

.cmsmasters_color_scheme_footer .footer-info h3 > span {
  white-space: nowrap;
}

.cmsmasters_color_scheme_footer .footer-info p {
  padding-bottom: .25em;
  color: rgba(255, 255, 255, .85);
}

.cmsmasters_color_scheme_footer .footer-info a {
  color: rgba(255, 255, 255, .85);
  font-size: inherit;
}



/*
 * HOME - Location Block
 */

.home-location {
  font-family: 'Source Sans Pro', Arial, Helvetica, 'Nimbus Sans L', sans-serif;
  font-size: 22px;
  line-height: 26px;
  color: #484848;
}

.home-location li {
  display: block;
  padding-top: .5em;
}

.home-location li i {
  float: left;
  margin-left: -36px;
  width: 36px;
}

.home-location li a {
  color: inherit;
  font: inherit;
}



/*
 * HOME - Latest Sermon
 */

.home-latest-sermon * {
  text-align: center;
}

.home-latest-sermon .sermon-title > a {
  font-size: 26px;
  font-style: normal;
  font-weight: normal;
}

.home-latest-sermon .sermon-series {
  margin: .5em 0;
  font-size: .9em;
  font-style: oblique;
  font-weight: normal;
}

.home-latest-sermon .sermon-series > a {
  font-style: oblique;
  font-weight: normal;
}

.home-latest-sermon .button_wrap > a {
  margin: 1em .35em 0;
  font-weight: normal;
}



/*
 * HOME - Verse of the Week
 */

.home-verse-quote .cmsmasters_quote_content {
  margin: 0;
  padding: 0 10%;
  color: rgba(255, 255, 255, .95);
  font-size: 26px;
  font-weight: 500;
  line-height: 32px;
  text-shadow: 0 1px 6px #0008;
}

.home-verse-quote .cmsmasters_quote_title {
  color: rgba(255, 255, 255, .75);
  font-size: 26px;
  line-height: 32px;
}

.home-verse-quote .cmsmasters_quote_subtitle {
  color: rgba(255, 255, 255, .75);
  font-weight: normal;
}



/*
 * HOME - Service Blocks
 */

.service-block h3 {
  margin-bottom: 0;
  font-weight: 400;
}

.service-block h5 {
  font-weight: normal;
  color: #888;
  margin: .5em 0 1em;
}



/*
 * HOME - Upcoming Events
 */
.home-events .cmsmasters_sidebar .tribe-events-list-widget-events .tribe-events-list-widget-content-wrap .entry-title > a {
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
}

.home-events .cmsmasters_sidebar .tribe-events-list-widget > p:first-child:last-child {
  opacity: .8;
  text-align: center;
}



/*
 * HOME - Upcoming Events
 */
.mec-month-navigator .mec-calendar-header {
  text-align: center;
}



/*
 * STAFF PROFILE
 */

 .cmsmasters_profile_vertical .profile_inner .profile_details_clear {
   clear: both;
 }

.cmsmasters_profile_vertical .profile_inner .profile_details {
  margin-top: 5px;
  padding-top: 5px;
  border-top: 1px solid #eee;
  font-size: 16px;
  font-style: oblique;
}

.profile_details .profile_details_item_desc a {
  font: inherit;
}

.profile_details .profile_details_item_desc a:hover,
.profile_details .profile_details_item_desc a:focus {
  text-decoration: underline;
}

.cmsmasters_open_profile {
  padding: 0;
}

.profile_feature_image {
  position: relative;
  margin-bottom: 50px;
  padding-bottom: 62.5%;
  height: 0;
}

.profile_feature_image > div {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  text-align: center;
}

.profile_feature_image > div > img {
  width: auto;
  height: 100%;
}

.cmsmasters_open_profile .profile_details {
  font: inherit;
}

.cmsmasters_open_profile .profile_details .profile_details_item {
  float: left;
  width: 50%;
  padding: 4px 0;
  border-style: none;
}

.cmsmasters_open_profile .profile_details .profile_details_item_title,
.cmsmasters_profile_vertical .profile_inner .profile_details_item_title {
  display: inline;
  opacity: .6;
  font-size: 16px;
}

.cmsmasters_open_profile .profile_details .profile_details_item_desc,
.cmsmasters_profile_vertical .profile_inner .profile_details_item_desc {
  display: inline;
  text-align: left;
  padding-left: 10px;
}

.profile-photo img {
  max-height: 512px;
}

@media (max-width: 768px) {
  .cmsmasters_open_profile .profile_details .profile_details_item {
    float: none;
    padding-top: 0;
    width: auto;
  }
}

@media (max-width: 600px) {
  .cmsmasters_profile_vertical .profile_details .profile_details_item {
    text-align: center;
  }
}



/*
 * SERMON SERIES TEMPLATE
 */
.sermon-series-grid .cmsmasters_sermon figure:before {
  content: '';
  float: left;
  padding-bottom: 56.25%;
}
.sermon-series-grid .cmsmasters_sermon figure:after {
  content: '';
  clear: both;
}

.sermon-series-grid .cmsmasters_sermon figure > img {
  width: 100%;
}

.sermon-series-grid .cmsmasters_sermon figure > a:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #193441;
  background-image: url(/wp-content/uploads/2019/05/logo-white.png), radial-gradient(circle, rgba(95,114,124,1) 0%, rgba(25,52,65,1) 75%);
  background-position: 50% 20%;
  background-repeat: no-repeat;
  background-size: 30%, 100%;
  z-index: -1;
}

.sermon-series-grid .cmsmasters_sermon figure > a:after {
  content: attr(alt);
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 35% 20px 15px;
  color: #fff;
  font-size: 1.5em;
  text-align: center;
  z-index: -1;
}



/*
 * SERMON SERIES TAXONOMY PAGE
 */

.cmsmasters_archive .sermon_series_desc {
  margin-top: 40px;
}

/* series image */
.cmsmasters_archive_item_img_wrap.sermon_series_image {
  text-align: center;
}

/* sermon items */
.sermon_series_archive_type:not(:first-child) {
  padding-top: 40px;
  margin-top: 40px;
  border-top: 1px solid #eaeaea;
}

.sermon_series_item_cont_wrap {
  overflow: hidden;
}

.sermon_series_item_cont_wrap .cmsmasters_event_big_day {
  color: #98a0a5;
  font-size: 70px;
  line-height: 60px;
}

.sermon_series_item_cont_wrap .cmsmasters_sermon_author {
  font-size: 1em;
  font-style: normal;
}

@media (min-width: 768px) {
  .sermon_series_archive_type .cmsmasters_event_big_date {
    float: left;
    width: 250px;
    margin-bottom: 0;
  }
}



/*
 * SERMON SINGLE PAGE
 */

/* sermon meta info and media links */
.cmsmasters_open_sermon .cmsmasters_sermon_media {
  margin-top: 0;
  padding-bottom: 15px;
  float: right;
}

.cmsmasters_open_sermon .cmsmasters_sermon_cont_info {
  padding-top: 0;
}

.cmsmasters_open_sermon .cmsmasters_sermon_cont_info * {
  font-size: 1em;
  font-style: normal;
}

.cmsmasters_open_sermon .cmsmasters_sermon_cont_info > div {
  display: block;
}

.cmsmasters_open_sermon .cmsmasters_sermon_media .cmsmasters_sermon_media_item {
  padding: 9px 15px;
  border: 2px solid #253b49;
}

  .cmsmasters_open_sermon .cmsmasters_sermon_media .cmsmasters_sermon_media_item:hover {
    background-color: #253b49;
    color: #fff;
  }
  .cmsmasters_open_sermon .cmsmasters_sermon_media .cmsmasters_sermon_media_item:hover:before {
    color: #fff;
  }

.cmsmasters_open_sermon .cmsmasters_sermon_content {
  clear: right;
}

/* sermon bible passage  */
.cmsmasters_open_sermon .sermon-passage {
  margin-top: 20px;
}

  .cmsmasters_open_sermon .sermon-passage .quote {
    position: relative;
    margin-bottom: 1.5em;
    padding: 1em 4em;
    background-color: #fcfff5;
    border-top: 3px solid #d1dbbd;
    font-size: 1em;
    font-style: italic;
    line-height: 1.5em;
  }
    .cmsmasters_open_sermon .sermon-passage .quote-inner :last-child {
      margin-bottom: 0;
      padding-bottom: 0;
    }

  .cmsmasters_open_sermon .sermon-passage .quote-cite {
    padding-top: .5em;
    color: #90a861;
    font-size: 1.4rem;
    text-align: right;
  }
    .cmsmasters_open_sermon .sermon-passage .quote-cite:before {
      content: "\2014\0000a0"
    }

/* sermon embedded video  */
.cmsmasters_open_sermon .fb-sermon-video {
  margin: 20px 0;
  padding-top: 30px;
  border-top: 1px solid #eaeaea;
  text-align: center;
}

.cmsmasters_open_sermon .fb-sermon-video .fb-video {
  max-width: 720px;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .cmsmasters_open_sermon .fb-sermon-video.three-column .fb-video {
    max-width: 31%;
  }
}