#ministry1 .m1-monklet #pagination {
    margin-bottom: 0;
}

.m1-monklet-section-sermon,
.m1-monklet-section-resources,
.m1-monklet-section-featured-resource {
    text-align: left;
}

/* @media (min-width: 768px) { #tabs { -webkit-box-pack: center; justify-content: center; } .ui-tabs-nav { -webkit-box-pack: center; justify-content: center; } .module-tabs { -webkit-box-pack: center; justify-content: center; } } */

/* Offset the .row margin-bottom + the article margin-bottom */

.m1-monklet-section-staff {
    margin-bottom: -1.5rem;
}

.m1-monklet-staff article .info li a,
.m1-monklet-section-staff article .info li a {
    display: block;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    border-radius: 50%;
    text-decoration: none !important;
}

.m1-monklet-staff article .info li a .icon,
.m1-monklet-staff article .info li a .fa,
.m1-monklet-staff article .info li a .fab,
.m1-monklet-section-staff article .info li a .icon,
.m1-monklet-section-staff article .info li a .fa,
.m1-monklet-section-staff article .info li a .fab {
    display: block;
    font-size: 16px;
    line-height: 32px;
}

.m1-monklet-staff .info-links[data-hideemail] .email,
.m1-monklet-staff .info-links[data-hideemail] .customemail,
.m1-monklet-section-staff .info-links[data-hideemail] .email,
.m1-monklet-section-staff .info-links[data-hideemail] .customemail {
    display: none !important;
}

.m1-monklet-staff .info-links[data-customemail] .email,
.m1-monklet-section-staff .info-links[data-customemail] .email {
    display: none !important;
}

.m1-monklet-section-volunteer .info {
    padding-top: 2em;
}

.m1-monklet-section-volunteer .image+.info {
    padding-top: 0;
}

.m1-monklet-section-resources {
    margin-bottom: -1.5rem;
}

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

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

.m1-monklet-section-events .m1-monklet-row {
    margin-bottom: -1.5rem;
}

.m1-monklet-section-sermon .ministry-media {
    margin-bottom: -1rem;
}

/* Used to hide unneeded parent category labels from displaying... may need to play with this some*/

.m1-monklet-section-resources .category .articles,
.m1-monklet-section-resources .category .articles-4,
.m1-monklet-section-resources .category .resources,
.m1-monklet-section-resources .category .stories,
.m1-monklet-section-resources .category .volunteer,
.m1-monklet-section-resources .category .volunteer-1,
.m1-monklet-section-resources .category .volunteer-2 {
    display: none;
}

.m1-monklet-section-volunteer .category .articles-,
.m1-monklet-section-volunteer .category .articles-4,
.m1-monklet-section-volunteer .category .resources,
.m1-monklet-section-volunteer .category .stories,
.m1-monklet-section-volunteer .category .volunteer,
.m1-monklet-section-volunteer .category .volunteer-1,
.m1-monklet-section-volunteer .category .volunteer-2 {
    display: none;
}

/* CLASSFINDER SECTION */

.m1-monklet-section-classfinder .m1-monklet-row {
    margin-bottom: -1rem;
    text-align: left;
}

.m1-monklet-section-classfinder .m1-monklet-row article {
    margin-bottom: 1rem;
}

.m1-monklet-section-classfinder .m1-monklet-row .article-row {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 100%;
    display: -webkit-box;
    display: flex;
}

.m1-monklet-section-classfinder .m1-monklet-row .date {
    position: relative;
    width: 100%;
    -webkit-box-flex: 0;
    flex: 0 0 66px;
    max-width: 66px;
    min-height: 1px;
    text-align: center;
    font-weight: 400;
    text-transform: uppercase;
    display: block;
}

.m1-monklet-section-classfinder .m1-monklet-row .date>div {
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.m1-monklet-section-classfinder .m1-monklet-row .date .day {
    display: block;
    line-height: 1;
    margin-top: 0;
    font-size: 1.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.m1-monklet-section-classfinder .m1-monklet-row .date .month {
    display: block;
    text-transform: uppercase;
    font-size: .875rem;
    text-align: center;
    line-height: 1;
}

.m1-monklet-section-classfinder .m1-monklet-row .info {
    position: relative;
    flex-basis: 0;
    flex-grow: 1;
    max-width: 100%;
    min-height: 1px;
}

.m1-monklet-section-classfinder .m1-monklet-row .info-inner {
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    padding: 1rem 1.75rem;
}

.m1-monklet-section-classfinder .m1-monklet-row .info .title {
    margin-bottom: .125rem;
}

.m1-monklet-section-classfinder .m1-monklet-row .info .time {
    margin: 0 0 -.25em !important;
}

.m1-monklet-section-classfinder .m1-monklet-row .info .eventTime {
    text-transform: lowercase;
}

.m1-monklet-section-classfinder #pagination {
    margin-top: 2.5rem;
}

.m1-monklet-section-groups {
    display: block;
    width: 100%;
    justify-content: center;
    text-align: left;
}

.m1-monklet-section-groups[data-type='groups2'] {
    justify-content: space-between;
}

@media (min-width: 992px) {
    .m1-monklet-section-groups {
        display: flex;
    }
    .m1-monklet-section-groups[data-type='groups2'] {
        flex-direction: row-reverse;
    }
}

/* Small Groups 2 Map - adjust padding-top as needed for mobile display */

.m1-monklet-section-groups #smallgroups2-map {
    position: relative;
    margin: 0;
    padding: 150% 0 0;
}

@media (min-width: 375px) {
    .m1-monklet-section-groups #smallgroups2-map {
        padding-top: 135%;
    }
}

@media (min-width: 768px) {
    .m1-monklet-section-groups #smallgroups2-map {
        padding-top: 100%;
    }
}

@media (min-width: 992px) {
    .m1-monklet-section-groups #smallgroups2-map {
        padding-top: 0;
    }
}

@media (min-width: 992px) {
    .m1-monklet-section-groups[data-type='groups2'] .list-view {
        min-height: 600px;
    }
}

.m1-monklet-section-groups .items article header>h4 {
    line-height: 1;
}

.m1-monklet-section-groups .items article var {
	font-style:normal !important;
}

.m1-monklet-section-groups .items #pagination {
    margin-top: 1rem;
}

#small-groups-image.blank {
    /* If no background image, hide element */
    display: none !important;
}

.m1-monklet-section-groups article {
    padding: .75rem 1.25rem;
    position: relative;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    width: 100%;
    display: block;
}

.m1-monklet-section-groups article header {
  
}

.m1-monklet-section-groups article .wrap {
    overflow: hidden;
    width: 100%;
    display: block;
}

.m1-monklet-section-groups[data-type='groups2'] article .meta {
    font-size: 1rem;
}

.m1-monklet-section-groups article .meta {
    margin: .25rem 0 0 0;
    font-size: 1rem;
    font-style:normal !important;
    font-weight: 700;
}

.m1-monklet-section-groups article .meta:empty {
    display: none;
}

.m1-monklet-section-groups article .details {
    display: none;
    border-top-style: solid;
    border-top-width: 1px;
    padding-top: 2.5%;
    margin-top: 2.5%;
    text-align: center;
}

.m1-monklet-section-groups article .details p {
    font-size: 16px;
    text-align: left;
    margin-bottom: 1em;
}

.m1-monklet-section-groups .list-view .meta div {
    float: none;
    line-height: 1.5;
}

.m1-monklet-section-groups .list-view .time,
.m1-monklet-section-groups .list-view .location {
    margin: 0;
}

.m1-monklet-section-groups .list-view .time {
    width: 100%;
}

.m1-monklet-section-groups .list-view .location {
    width: 100%;
}

.m1-monklet-section-groups .list-view .group {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.m1-monklet-section-groups .list-view .meta div {
    width: 100%;
    display: block;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    line-height: 1.2;
    padding-left: 1px;
    margin-bottom: .25em;
}

.m1-monklet-section-groups .list-view .meta div:last-of-type {
    margin-bottom: 0;
}

.m1-monklet-section-groups .list-view .meta div>.icon {
    padding-right: .2em;
    vertical-align: -1px;
}

.m1-monklet-section-groups .items .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8) url(/_assets/img/loaders/preloader.svg) center center no-repeat;
}

/* .m1-monklet-section-groups #pagination { text-align: center; margin: 0; padding: .5em; border-bottom-style: solid; border-bottom-width: 1px; height: 2.75rem; box-sizing: border-box; position: absolute; bottom: 0; width: 100%; } */

/* InfoBox styles for small group map */

#ministry1 .infoBox {
    position: relative;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.3));
}

#ministry1 .infoBox:before {
    content: "";
    position: absolute;
    left: 60px;
    bottom: -12px;
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top-width: 12px;
    border-top-style: solid;
}

/* #ministry1 .infoBox:after { content: ""; position: absolute; top: 5px; left: 100%; border: solid transparent; height: 0; width: 0; pointer-events: none; border-width: 12px; } */

#ministry1 .infoBox .wrap,
#ministry1 .infoBox .title {
    padding: 10px;
}

#ministry1 .infoBox>img {
    z-index: 1;
}

.infoBox .title {
    min-height: 30px;
    position: relative;
}

.infoBox .title.grouped {
    min-height: inherit;
    margin-bottom: 16px;
    padding: 15px 10px;
}

.infoBox .title img {
    margin-right: 10px;
    margin-top: 3px;
    width: 53px;
    float: left;
}

.infoBox .title h5 {
    line-height: 1.2;
    margin: 3px 0 0;
    min-height: none;
}

.infoBox .title img+h5 {
    min-height: 53px;
}

#ministry1 .infoBox p {
    margin-bottom: 5px;
    font-size: .875rem;
}

#ministry1 .infoBox ol {
    padding: 4px 16px 16px 32px;
    margin: 0;
    height: auto;
    max-height: 200px;
    overflow-y: scroll;
}

#ministry1 .infoBox ol li {
    padding: 0;
    line-height: 1.3;
}

#ministry1 .infoBox ol li:last-child {
    border-bottom: none;
}

#ministry1 .infoBox ol .group a {
    display: block;
}

#ministry1 .infoBox ol .time {
    display: block;
}

#ministry1 .infoBox .time,
#ministry1 .infoBox .location,
#ministry1 .infoBox .group {
    margin-bottom: 5px;
    display: block;
}

#ministry1 .infoBox .buttons {
    text-align: center;
}

#ministry1 .infoBox .buttons.grouped {
    margin: 0 16px;
}

#ministry1 .infoBox .buttons .btn {
    display: block;
    margin: 5px auto;
}

#ministry1 .infoBox .buttons .btn:only-of-type {
    margin: 5px auto 10px;
    display: block;
}


var[data-time="12:00 am"] {
    display: none !important;
}

div[data-returned='0']:after {
    content: "dude";
}

/* Colors
================================================== */

#ministry1 .m1-monklet-section-classfinder .info,
#ministry1 .m1-monklet-section-classfinder .info-inner,
#ministry1 .infoBox,
#ministry1 .infoBox .title.grouped,
#ministry1 .infoBox .title,
.m1-monklet-section-groups #smallgroups2-map,
.m1-monklet-section-groups #pagination {
    background-color: var(--bs-white);
}

#ministry1 .infoBox {
    background-color: var(--bs-white);
}

#ministry1 .infoBox:before {
    border-top-color: var(--bs-white);
}

.m1-monklet-section-groups article .details {
    border-top-color: var(--bs-gray-300);
}

#ministry1 .m1-monklet-section-classfinder .date {
    color: var(--bs-darkcolor);
}

#ministry1 .m1-monklet-section-classfinder .date {
    background-color: var(--bs-black);
}

.m1-monklet-section-groups .items article header h3 {
    color: var(--bs-blue);
}

.m1-monklet-section-groups article .meta {
    color: var(--bs-teal);
}

.m1-monklet-section-groups article,
.m1-monklet-section-groups #pagination {
    border-bottom-color: var(--bs-gray-100);
}

.dark .m1-monklet-section-groups article,
.dark .m1-monklet-section-groups #pagination {
    border-bottom-color: var(--bs-darkcolor);
}

.dark .m1-monklet-section-groups article .meta {
    color: var(--bs-darkcolor);
}

#ministry1 .dark .m1-monklet-section-classfinder .info,
#ministry1 .dark .m1-monklet-section-classfinder .info-inner,
.dark .m1-monklet-section-groups #smallgroups2-map,
.dark .m1-monklet-section-groups .items,
.dark .m1-monklet-section-groups article,
.dark .m1-monklet-section-groups #pagination {
    background-color: var(--bs-darkbackground);
}

.m1-monklet-staff article .info li a,
.m1-monklet-section-staff article .info li a {
    color: var(--bs-white);
    background-color: var(--bs-teal);
}

@media (hover: hover) {
    .m1-monklet-staff article .info li a:hover,
    .m1-monklet-section-staff article .info li a:hover {
        color: var(--bs-white);
        background-color: var(--bs-yellow);
    }
}