#header.is-sticky {
  /*position: absolute !important;*/
}

/* MINISTRY SUB NAV */
#ministry-nav-desktop {
  display: none;
  margin: 0px;
  padding: 0 2em;
  text-align: center;
  position: relative;
}

@media (min-width: 768px) {
  #ministry-nav-desktop {
    display: block;
  }
}

#content {
  margin-top: 2em;
}

#content .ministry-nav {
  background-color: transparent;
}

@media (min-width: 768px) {
  #content .ministry-nav {
   box-shadow: 0 2px 5px -2px rgba(0, 0, 0, 0.25);
  }
}

#content .ministry-nav.stuck {
  transition: all 0.2s ease-in-out;
  background-color: rgba(250, 250, 250, 0.98);
}

@media (min-width: 768px) {
  #content .ministry-nav.stuck {
    position: fixed;
    left: 0;
    width: 100%;
    z-index: 100;
  }
}

.ministry-nav.stuck > #ministry-nav-desktop {
  padding: 0 4em;
}

.ministry-nav > #ministry-nav-desktop li {
  list-style: none;
  margin-bottom: 0px;
  display: inline-block;
}

.ministry-nav > #ministry-nav-desktop li.m1-top-link {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  right: 1em;
}

@media (min-width: 1200px) {
  .ministry-nav > #ministry-nav-desktop li.m1-top-link {
    right: 1.5em;
  }
}

.ministry-nav > #ministry-nav-desktop li.m1-top-link .icon {
  left: .5em;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}

.ministry-nav > #ministry-nav-desktop li a {
  text-align: center;
  width: 100%;
  display: block;
  padding: 1em;
  box-sizing: border-box;
  font-size: .85em;
  background: transparent;
  transition: all .25s ease-in-out;
  -moz-transition: all .25s ease-in-out;
  -webkit-transition: all .25s ease-in-out;
}

@media (min-width: 768px) {
  .ministry-nav > #ministry-nav-desktop li a {
    font-size: 1em;
  }
}

@media (min-width: 992px) {
  .ministry-nav > #ministry-nav-desktop li a {
    padding: 1em 2em;
  }
}

.ministry-nav > #ministry-nav-desktop li a span.txt {
  display: none;
}

@media (min-width: 1200px) {
  .ministry-nav > #ministry-nav-desktop li a span.txt {
    display: inline-block;
  }
}

.ministry-nav > select {
  display: none;
}

.ministry-pg .wysiwyg {
  margin-top: 2em;
}

/* STAFF MONKLET
---------------------------------------------------------------------
*/
.content .memberList {
  padding: 0;
  margin: 2em 0;
  display: -webkit-box;
  display: flex;
  flex-wrap: wrap;
}

.content .memberList .mL-member {
  width: 100%;
  margin: 0 0 2em 0;
  text-align: left;
  padding: 0;
  box-sizing: border-box;
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: justify;
          justify-content: space-between;
}

@media (min-width: 768px) {
  .content .memberList .mL-member {
    width: 48%;
    margin: 0 2% 2em 0;
  }
  .content .memberList .mL-member:nth-child(2n) {
    margin-right: 0;
  }
}

@media (min-width: 1200px) {
  .content .memberList .mL-member {
    width: 30%;
    margin: 0 3% 2em 0;
  }
  .content .memberList .mL-member:nth-child(3n) {
    margin-right: 0;
  }
  .content .memberList .mL-member:nth-child(2n) {
    margin-right: 3%;
  }
}

.content .memberList .mL-member .mL-image-link {
  flex-basis: 45%;
  opacity: 1.0;
  transition: opacity .25s ease-in-out;
  -moz-transition: opacity .25s ease-in-out;
  -webkit-transition: opacity .25s ease-in-out;
}

.content .memberList .mL-member .mL-image-link:hover {
  opacity: 0.82;
}

.content .memberList .mL-member .mL-image-link > img {
  -webkit-backface-visibility: hidden;
  width: 100%;
  height: auto;
}

.content .memberList .mL-member .mL-details {
  flex-basis: 50%;
}

.content .memberList .mL-member .mL-details .mL-name-link {
  line-height: 1.3;
  margin-bottom: 2px;
}

.content .memberList .mL-member .mL-details .mL-position {
  font-weight: bold;
  line-height: 1.3;
  margin-bottom: .5em;
}

.content .memberList .mL-member .mL-details .mL-number {
  font-size: .85em;
  line-height: 1.3;
  margin-bottom: 0;
}
.content .memberList .mL-member .mL-details .mL-social {
  list-style: none;
  margin: .5em 0;
  padding: 0;
}

.content .memberList .mL-member .mL-details .mL-social li {
  display: inline-block;
  padding: 0 .75em 0 0;
}

/*FEATURED EVENTS MONKLET */
#featured-events {
  margin: 2em 0;
  padding: 0;
  display: -webkit-box;
  display: flex;
  width: 100%;
  flex-wrap: wrap;
}

#featured-events article.featured-event {
  padding: 0;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  #featured-events article.featured-event {
    width: 48%;
    margin: 0 2% 2em 0;
  }
  #featured-events article.featured-event:nth-child(2n) {
    margin-right: 0;
  }
}

@media (min-width: 1200px) {
  #featured-events article.featured-event {
    width: 30%;
    margin: 0 3% 2em 0;
  }
  #featured-events article.featured-event:nth-child(3n) {
    margin-right: 0;
  }
  #featured-events article.featured-event:nth-child(2n) {
    margin-right: 3%;
  }
}

#featured-events article.featured-event:nth-child(3n) {
  margin-right: 0;
}

#featured-events article.featured-event .featured-image {
  position: relative;
  display: block;
  margin-bottom: .5em;
  text-decoration: none;
  width: 100%;
  opacity: 1.0;
  transition: opacity .25s ease-in-out;
  -moz-transition: opacity .25s ease-in-out;
  -webkit-transition: opacity .25s ease-in-out;
}

#featured-events article.featured-event .featured-image:hover {
  opacity: 0.82;
}

#featured-events article.featured-event .featured-image img {
  width: 100%;
  height: auto;
  -webkit-backface-visibility: hidden;
}

#featured-events article.featured-event .event-title {
  line-height: 1.2;
  margin-bottom: 0;
}

#featured-events article.featured-event .featured-start,
#featured-events article.featured-event .featured-time {
  margin-bottom: 0px;
  font-size: .85em;
  line-height: 1.5;
}

/*GRID LAYOUT*/
.ministry-section .div-row:after,
.ministry-section .div-row .div-col:after {
  content: ".";
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
}

.ministry-section .div-row {
  width: 100%;
  position: relative;
  margin-bottom: 0;
}

@media (min-width: 48em) {
  .ministry-section .div-row {
    margin-bottom: 0;
  }
}

.ministry-section .div-row .div-col {
  float: none;
  width: 100%;
  margin: 0 0 4em 0;
  padding: 0;
}

.ministry-section .div-row .div-col:last-of-type {
  margin-bottom: 2em;
}

@media (min-width: 48em) {
  .ministry-section .div-row .div-col {
    float: left;
    margin: 0 0 0 4%;
  }
}

@media (min-width: 48em) {
  .ministry-section .div-row .div-col:first-child {
    margin-left: 0 !important;
  }
}

.ministry-section .div-row .div-col p:last-child {
  margin: 0;
}

.ministry-section .div-row .div-col p img,
.ministry-section .div-row .div-col div img,
.ministry-section .div-row .div-col p iframe,
.ministry-section .div-row .div-col div iframe,
.ministry-section .div-row .div-col p object,
.ministry-section .div-row .div-col div object,
.ministry-section .div-row .div-col p video,
.ministry-section .div-row .div-col div video {
  margin-bottom: 1em;
}

@media (min-width: 48em) {
  .ministry-section .div-row.one-half .div-col {
    width: 48%;
  }
}

@media (min-width: 48em) {
  .ministry-section .div-row.one-third .div-col {
    width: 30.66666666666667%;
  }
}

@media (min-width: 48em) {
  .ministry-section .div-row.one-fourth .div-col {
    width: 22%;
  }
}

@media (min-width: 48em) {
  .ministry-section .div-row.two-third .div-col {
    width: 72%;
  }
}

@media (min-width: 48em) {
  .ministry-section .div-row.two-third .div-col:first-child {
    width: 24%;
  }
}

@media (min-width: 48em) {
  .ministry-section .div-row.two-third.right .div-col {
    width: 24%;
  }
}

@media (min-width: 48em) {
  .ministry-section .div-row.two-third.right .div-col:first-child {
    width: 72%;
  }
}

/*GENERAL SECTIONS*/
.ministry-section {
  background-size: cover;
  background-position: 50% 50%;
  padding: 2em;
  min-height: 40vw;
  position: relative;
}

.ministry-section h4.section-title {
  margin-bottom: 1.5em;
}

.ministry-section .ministry-section-inner {
  padding: 5em 2em;
  text-align: center;
}

.ministry-section .ministry-section-inner a.button-small {
  background-color: #5d7b9d;
  border-radius: 6px;
  color: white;
  font-size: 1em;
  padding: .833333333em 1.25em;
  font-weight: 400;
}

.ministry-section .ministry-section-inner a.button-small:hover {
  background-color: #5995d8;
}

.m1-monklet-row {
  width: 100%;
  position: relative;
  display: -webkit-box;
  display: flex;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  justify-content: center;
}

.m1-monklet-row article {
  position: relative;
  width: 100%;
  margin-bottom: 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .m1-monklet-row article {
    width: 30.66666666666667%;
    margin-left: 4%;
  }
  .m1-monklet-row article:nth-child(3n+1) {
    margin-left: 0;
  }
  
  .m1-monklet-row.staff-row article {
    width: 23.5%;
    margin-left: 2%;
  }
  .m1-monklet-row article:nth-child(4n+1) {
    margin-left: 0;
  }
}

/* STAFF SECTION */
.staff-section .memberSectionList .mL-member .mL-image-link {
  width: 100%;
  display: block;
  margin-bottom: 1em;
  opacity: 1.0;
  transition: opacity .25s ease-in-out;
  -moz-transition: opacity .25s ease-in-out;
  -webkit-transition: opacity .25s ease-in-out;
}

@media (min-width: 992px) {
  .staff-section .memberSectionList .mL-member .mL-image-link {
    margin-bottom: 1em;
  }
}

.staff-section .memberSectionList .mL-member .mL-image-link:hover {
  opacity: 0.82;
}

.staff-section .memberSectionList .mL-member .mL-image-link > img {
  -webkit-backface-visibility: hidden;
  width: 100%;
  height: auto;
}

.staff-section .memberSectionList .mL-member .mL-details {
  text-align: center;
}

.staff-section .memberSectionList .mL-member .mL-details .mL-name-link {
  line-height: 1.2;
  margin-bottom: 5px;
}

.staff-section .memberSectionList .mL-member .mL-details .mL-position {
  font-weight: bold;
  text-transform: uppercase;
  line-height: 1.3;
  margin-bottom: 1em;
}

.staff-section .memberSectionList .mL-member .mL-details .mL-number {
  font-size: .85em;
  line-height: 1.3;
  margin-bottom: 0;
}

.content .memberList .mL-member .mL-details .mL-social:empty,
.staff-section .memberSectionList .mL-member .mL-details .mL-social:empty,
.displayemail + .mainemail {
  display: none;
}
.staff-section .memberSectionList .mL-member .mL-details .mL-social {
  list-style: none;
  margin: .5em 0;
  padding: 0;
}

.staff-section .memberSectionList .mL-member .mL-details .mL-social li {
  display: inline-block;
  padding: 0 .5em 0;
}

/*EVENTS SECTION*/
.events-section article .image {
  margin-bottom: 1em;
  opacity: 1.0;
  transition: opacity .25s ease-in-out;
  -moz-transition: opacity .25s ease-in-out;
  -webkit-transition: opacity .25s ease-in-out;
}

.events-section article .image:hover {
  opacity: 0.82;
}

.events-section article .image img {
  -webkit-backface-visibility: hidden;
}

.events-section article .info .event-title {
  line-height: 1.35;
  margin-bottom: 0.25em;
}

.events-section article .info .event-times {
  font-weight: bold;
  margin-bottom: 0;
  line-height: 1.35;
}

.events-section article .info .gm-link {
  display: block;
  font-size: .85em;
  margin-top: .25em;
}

/*RESOURCES SECTION*/
.m1-monklet-section-featured-resource {
  margin: 0 0 2em;
}

.m1-monklet-section-featured-resource .m1-monklet-row .video {
  position: relative;
  width: 100%;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .m1-monklet-section-featured-resource .m1-monklet-row .video {
    width: 48%;
    padding-right: 2%;
    margin: 0;
    box-sizing: content-box;
  }
}

.m1-monklet-section-featured-resource .m1-monklet-row .info {
  position: relative;
  width: 100%;
}

@media (min-width: 768px) {
  .m1-monklet-section-featured-resource .m1-monklet-row .info {
    width: 48%;
    padding-left: 2%;
    box-sizing: content-box;
    text-align: left;
  }
}

.m1-monklet.resources-section {
  padding: 2em 0 0;
}

.m1-monklet.resources-section article .image {
  margin-bottom: 1em;
  opacity: 1.0;
  transition: opacity .25s ease-in-out;
  -moz-transition: opacity .25s ease-in-out;
  -webkit-transition: opacity .25s ease-in-out;
}

.m1-monklet.resources-section article .image:hover {
  opacity: 0.82;
}

.m1-monklet.resources-section article .image img {
  -webkit-backface-visibility: hidden;
}

.m1-monklet.resources-section article .info h4 {
  line-height: 1.35;
  margin-bottom: 0;
}

.m1-monklet.resources-section .category span:after {
  content: ", ";
}

.m1-monklet.resources-section .category span:last-child:after {
  display: none;
}

/* Used to hide parent categories...may need to play with this some */
.m1-monklet.resources-section .category .resources,
.m1-monklet.resources-section .category .stories {
  display: none;
}

/* VOLUNTEER SECTION */
.m1-monklet.volunteer-section article .image {
  margin-bottom: 1em;
  opacity: 1.0;
  transition: opacity .25s ease-in-out;
  -moz-transition: opacity .25s ease-in-out;
  -webkit-transition: opacity .25s ease-in-out;
}

.m1-monklet.volunteer-section article .image:hover {
  opacity: 0.82;
}

.m1-monklet.volunteer-section article .image img {
  -webkit-backface-visibility: hidden;
}

.m1-monklet.volunteer-section article .info h4 {
  line-height: 1.35;
  margin-bottom: 0;
}

.m1-monklet.volunteer-section .category span:after {
  content: ", ";
}

.m1-monklet.volunteer-section .category span:last-child:after {
  display: none;
}

/* Used to hide parent categories...may need to play with this some */
.m1-monklet.volunteer-section .category .resources,
.m1-monklet.volunteer-section .category .stories,
.m1-monklet.volunteer-section .category .volunteer {
  display: none;
}

/* SERMON SECTION */
.m1-monklet-section-sermon {
  padding-bottom: 2em;
}

.m1-monklet-section-sermon .m1-monklet-row .video {
  position: relative;
  width: 100%;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .m1-monklet-section-sermon .m1-monklet-row .video {
    width: 48%;
    padding-right: 2%;
    margin: 0;
    box-sizing: content-box;
  }
}

.m1-monklet-section-sermon .m1-monklet-row .info {
  position: relative;
  width: 100%;
}

@media (min-width: 768px) {
  .m1-monklet-section-sermon .m1-monklet-row .info {
    width: 48%;
    padding-left: 2%;
    box-sizing: content-box;
    text-align: left;
  }
}

/* MEDIA ICONS */
.m1-monklet-section-sermon ul.media-content,
.m1-monklet-section-featured-resource ul.media-content {
  list-style: none;
  padding: 0;
  margin: 1em 0;
}

.m1-monklet-section-sermon ul.media-content li,
.m1-monklet-section-featured-resource ul.media-content li {
  display: inline-block;
  margin: .5em .5em 1em 0;
}

.m1-monklet-section-sermon ul.media-content li a,
.m1-monklet-section-featured-resource ul.media-content li a {
  /* These should match site's primary btn small stayles */
  font-style: normal;
  font-weight: 500;
  background-color: transparent;
  border: 4px solid #ff3c5e;
  border-radius: 0;
  text-transform: uppercase;
  line-height: 1.25;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image: none;
  margin-right: .5em;
  vertical-align: middle;
  text-align: center;
  transition: all .2s ease-in-out;
  -moz-transition: all .2s ease-in-out;
  -webkit-transition: all .2s ease-in-out;
  font-size: .875rem;
  padding: .5rem 1.5rem;
  white-space: nowrap;
}

.m1-monklet-section-sermon ul.media-content li a:before,
.m1-monklet-section-featured-resource ul.media-content li a:before {
  content: "\e948";
  font-family: icons !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image: none;
  margin-right: .5em;
  vertical-align: -1px;
}

.m1-monklet-section-sermon ul.media-content li.ministry-download-icon a:before,
.m1-monklet-section-featured-resource ul.media-content li.ministry-download-icon a:before {
  content: "\ec83";
}

.m1-monklet-section-sermon ul.media-content li.ministry-notes-icon a:before,
.m1-monklet-section-featured-resource ul.media-content li.ministry-notes-icon a:before {
  content: "\e993";
}

/*SELECTMENU STYLING FOR MOBILE NAV MENU*/
#select-nav-dropdown-button {
  display: block;
  margin: 2em auto 0;
}

@media (min-width: 768px) {
  #select-nav-dropdown-button {
    display: none;
  }
}

/* MORE, GENERAL STYLES */
.ministry-pg .wysiwyg {
  margin-top: 2em;
}

@media only screen and (max-width: 450px) {
  .ministry-section {
    padding: 2em 0;
  }
  .ministry-section .ministry-section-inner {
    padding: 3em 2em;
  }
  section.wysiwyg {
    padding: 5em 2em;
  }
  .ministry-section .more {
    text-indent: -999em;
    margin-right: 10px;
  }
  .ministry-section.sermon-section .div-row .div-col {
    margin-bottom: 0;
  }
  .staff-section .mL-member .mL-photo-frame {
    width: 88%;
  }
  .more:before {
    content: '+';
    text-indent: 0px;
    display: block;
    position: absolute;
    width: 20px;
    height: 20px;
    font-size: 1.666666667em;
    top: -4px;
  }
  .resources-section .ministry-section .featured-article .media-content ul li a,
  .sermon-section.ministry-section .featured-sermon .media-content ul li a {
    display: block;
    margin-bottom: 10px;
  }
}

/* DARK STYLES */
.ministry-section.dark .ministry-section-inner h1,
.ministry-section.dark .ministry-section-inner h2,
.ministry-section.dark .ministry-section-inner h3,
.ministry-section.dark .ministry-section-inner h4,
.ministry-section.dark .ministry-section-inner h5,
.ministry-section.dark .ministry-section-inner h6,
.ministry-section.dark .ministry-section-inner p,
.ministry-section.dark .ministry-section-inner span,
.ministry-section.dark .ministry-section-inner a,
.ministry-section.dark .ministry-section-inner div {
  color: white;
}

.ministry-section.dark .ministry-section-inner .button-small,
.ministry-section.dark .ministry-section-inner .button-medium,
.ministry-section.dark .ministry-section-inner .button-large,
.sermon-section.ministry-section.dark .featured-sermon .media-content ul li a {
  background-color: white;
  color: #5d7b9d;
}

.ministry-section.dark .ministry-section-inner .button-small:hover,
.ministry-section.dark .ministry-section-inner .button-medium:hover,
.ministry-section.dark .ministry-section-inner .button-large:hover,
.sermon-section.ministry-section.dark .featured-sermon .media-content ul li a:hover {
  color: white;
  background-color: #5d7b9d;
}

.ministry-section.dark.resources-section .ministry-section-inner article,
.ministry-section.dark.events-section .ministry-section-inner .v-content,
.ministry-section.dark.volunteer-section .ministry-section-inner .v-content {
  background-color: transparent;
}

.ministry-section.dark.resources-section article .v-content .title .arrow-icon,
.ministry-section.dark.events-section article .v-content .title .arrow-icon,
.ministry-section.dark.volunteer-section article .v-content .title .arrow-icon {
  font-family: icons;
  content: '\edd6';
  opacity: 0.7;
}

.ministry-section.dark .ministry-section-inner .mL-social a:hover {
  opacity: 0.85;
}

.ministry-section.dark:not(.bgoverride):before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(102, 11, 162, 0.6);
}

/* AJAX LOADING */
.loading {
  position: relative;
  min-height: 10em;
  background-color: transparent;
}

@media (min-width: 768px) {
  .loading {
    min-height: 15em;
  }
}

.loading:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: transparent;
  background-image: url(/_assets/img/loaders/preloader.svg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 64px 64px;
}
