/*

    TABLE OF CONTENTS
    
    0. Variables
    1. HTML Overrides
    2. Utilty Classes
    3. tfh.css Overrides
    4. Navbar
    5. Home Page Styles
    6. Updated Ministry Page Template (2020+)
    7. Card styles
    8. Icon styles
    9. Video Background Section

*/


/* FONTS */
@font-face {
    font-family: 'PerfectlyNineties';
    src: url('/-/fnt/PerfectlyNineties-Regular.woff2') format('woff2');
}
@font-face {
    font-family: 'PerfectlyNinetiesItalic';
    src: url('/-/fnt/PerfectlyNineties-Italic.woff2') format('woff2');
} 

/*-------------------------
  0. VARIABLES
-------------------------*/
:root {

    /* THEME COLORS */
    --primary-hue: 142;
    --primary-color: hsla(var(--primary-hue), 0%, 83%, 100%);
    --primary-dark-color: hsla(var(--primary-hue), 0%, 78%, 100%);
    --primary-light-color: hsla(var(--primary-hue), 0%, 88%, 100%);
    --primary-bg-color: hsla(var(--primary-hue), 0%, 100%, 100%);

    --secondary-hue: 206;
    --secondary-color: hsla(var(--secondary-hue), 0%, 73%, 100%);
    --secondary-dark-color: hsla(var(--secondary-hue), 0%, 68%, 100%);
    --secondary-light-color: hsla(var(--secondary-hue), 0%, 78%, 100%);
    --secondary-bg-color: hsla(var(--secondary-hue), 0%, 98%, 100%);

    /* PAGE SPECIFIC THEMES */
    --page-primary-color: var(--primary-color);
    --page-primary-dark-color: var(--primary-dark-color);
    --page-primary-light-color: var(--primary-light-color);
    --page-primary-bg-color: var(--primary-bg-color);

    --page-secondary-color: var(--secondary-color);
    --page-secondary-dark-color: var(--secondary-dark-color);
    --page-secondary-light-color: var(--secondary-light-color);
    --page-secondary-bg-color: var(--secondary-bg-color);


    /* GRAYSCALE COLORS */
    --white: hsla(0, 0%, 100%, 100%);
    --off-white: hsla(0, 33%, 99%, 100%);
    --black: hsla(0, 0%, 19%, 100%);
    --gray-200: hsla(0, 0%, 90%, 100%);
    --gray-400: hsla(0, 0%, 70%, 100%);
    --gray-600: hsla(0, 0%, 50%, 100%);
    --gray-800: hsla(0, 0%, 30%, 100%);


    /* FEEDBACK/BOOTSTRAP COLORS */
    /* Needs to be implemented throught stylesheet */
    --success-hue: 121;
    --success-color: hsla(var(--success-hue), 33%, 35%, 100%);
    --success-dark-color: hsla(var(--success-hue), 33%, 30%, 100%);
    --success-light-color: hsla(var(--success-hue), 33%, 40%, 100%);
    --success-bg-color: hsla(var(--success-hue), 33%, 90%, 100%);

    --info-hue: 200;
    --info-color: hsla(var(--info-hue), 49%, 33%, 100%);
    --info-dark-color: hsla(var(--info-hue), 49%, 33%, 100%);
    --info-light-color: hsla(var(--info-hue), 49%, 43%, 100%);
    --info-bg-color: hsla(var(--info-hue), 49%, 90%, 100%);
    
    --warning-hue: 38;
    --warning-color: hsla(var(--info-hue), 40%, 39%, 100%);
    --warning-dark-color: hsla(var(--info-hue), 40%, 34%, 100%);
    --warning-light-color: hsla(var(--info-hue), 40%, 44%, 100%);
    --warning-bg-color: hsla(var(--info-hue), 40%, 90%, 100%);

    --danger-hue: 1;
    --danger-color: hsla(var(--info-hue), 44%, 46%, 100%);
    --danger-dark-color: hsla(var(--info-hue), 44%, 41%, 100%);
    --danger-light-color: hsla(var(--info-hue), 44%, 51%, 100%);
    --danger-bg-color: hsla(var(--info-hue), 44%, 90%, 100%);


    /* BOX SHADOWS */
    --main-box-shadow: 3px 3px 10px hsla(0, 0%, 0%, 0.059);

    /* TYPOGRAPHY */
    --main-text-color: var(--black);
    --main-text-color-light: var(--black);
    --main-heading-color: var(--black);
    --main-heading-color-light: var(--black);

}


/*-------------------------
  1. HTML OVERRIDES 
-------------------------*/
html {
	scroll-behavior: smooth;
	scroll-padding-top: 54px;
}

body {
    font-family: proxima-nova,"Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 18px;
    line-height: 1.42857143;
    color: #0D1111;
    background-color: #fff;
}
header {
    margin-top: 40px;
}



/*-------------------------
  2. UTILITY CLASSES
-------------------------*/
/* don't allow text to line wrap */
.no-text-wrap {
    white-space: nowrap;
}
.main-drop-shadow {
    box-shadow: var(--main-box-shadow);
}
/* embeded video framework */
.video-wrapper {
    margin-top: 2em;
    margin-bottom: 2em;
}
.responsive-video-embed {
	overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
	height: 0;
    width: 100%;
	background-position: center;
	background-size: cover;
}
.responsive-video-embed iframe{
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}

/* General colors */
.text-color-white {
    color: var(--white) !important;
}
.text-color-black {
    color: var(--black) !important;
}
.text-color-primary {
    color: var(--primary-color) !important;
}
.text-color-secondary {
    color: var(--secondary-color) !important;
}
.background-color-white {
    background-color: var(--white);
}
.background-color-primary {
    background-color: var(--primary-color);
}
.background-color-primary-light {
    background-color: var(--primary-bg-color);
}
.background-color-secondary {
    background-color: var(--secondary-color);
}
.background-color-secondary-light {
    background-color: var(--secondary-bg-color);
}
.subtext {
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 6px;
    margin-top: -3px;
}

/* Margins and Padding */
.margin-none {
    margin: 0 !important;
}

/* Glboal Styles */
/* Hide scrollbar for Chrome, Safari and Opera */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.hide-scrollbar {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Z-Index */
.z-index-5 {z-index: 5;}
.z-index-10 {z-index: 10;}
.z-index-15 {z-index: 15;}
.z-index-20 {z-index: 20;}
.pos-absolute {position:absolute;}
.pos-relative {position:relative;}




/*-------------------------
  3. tfh.css OVERRIDES
-------------------------*/

/* NAVBAR OVERRIDES */
.navbar-tfh .navbar-nav > li > a:focus,
.navbar-tfh .navbar-nav > li > a:hover {
    color: #fdfdfd;
    background-color: rgba(0, 180, 160, 0.3); /* backup */
    background-color: var(--primary-dark-color); /* primary */
}
@media (max-width: 767px) {
    .navbar-tfh .navbar-nav .open .dropdown-menu > li > a:focus,
    .navbar-tfh .navbar-nav .open .dropdown-menu > li > a:hover {
        color: #fdfdfd;
        background-color: var(--primary-dark-color);
    }
}
.dropdown-menu > li > a:focus,
.dropdown-menu > li > a:hover {
    text-decoration: none;
    color: #fdfdfd;
    background-color: var(--primary-dark-color);
}
.dropdown-menu > .active > a,
.dropdown-menu > .active > a:focus,
.dropdown-menu > .active > a:hover {
    color: #fff;
    text-decoration: none;
    outline: 0;
    background-color: var(--primary-dark-color);
}

/* FOOTER OVERRIDES */
.footer-contact p.contact {
    margin-bottom: 0;
}
.footer-contact ul.list-inline {
    display: flex;
}
.footer-nav a:active,
.footer-nav a:hover {
    color: var(--primary-dark-color);
}
footer p.footer-nav-header {
    line-height: inherit;
    margin-bottom: inherit;
}

@media only screen and (max-width: 480px) {
    .btn {
        width: 100%;
    }
}


/*-------------------------
  4. NAVBAR STYLES
-------------------------*/
.megamenu {
    position: inherit;
    display: block;
}
.nav>li.megamenu {
    position: inherit;
}
.megamenu .dropdown-menu {
    display: none;
    left: 0;
    right: 0;
    color: #fff;
    text-decoration: none;
    padding: 60px 1%;
    margin-left: auto;
    margin-right: auto;
    width: 1300px;
    max-width: 100%;
}
.megamenu.open>.dropdown-menu {
    display: flex;
}
.megamenu li.menu-section {
    padding-left: 4%;
    padding-right: 4%;
}
.megamenu li.menu-section:first-child {
    border-right: 1px solid #535252;
}
.megamenu ul {
    list-style: none;
    padding: 0;
}
.megamenu .section-list li {
    font-size: 16px;
    line-height: 1.2;
    padding-bottom: 9px;
}
.megamenu .h2, .megamenu .h3 {
    display: block;
    font-family: inherit;
    font-weight: 700;
    line-height: 1.1;
    color: inherit;
    margin-top: 0;
    margin-bottom: 12.5px;
}

.megamenu .h2 {
    font-size: 18px;
    text-transform: uppercase;
    margin-bottom: 35px;
}

.megamenu .h3 {
    font-size: 16px;
    margin-bottom: 2px;
}
/* Removing actual headers from Mega Menu
.megamenu h2 {
    font-size: 18px;
    text-transform: uppercase;
    margin-bottom: 35px;
}
.megamenu h3 {
    font-size: 16px;
    margin-bottom: 2px;
}
*/
.megamenu p {
    font-size: 12px;
    color: #BCBABA;
}
.megamenu i {
    color: #BCBABA !important;
    font-size: 26px;
    padding-top: 20px;
}
.megamenu a {
    color: #efefef;
}
/* Temp disable for winter color scheme 
.megamenu a:hover, .megamenu a:focus {
    color: var(--primary-dark-color);
    text-decoration: none;
}*/
/* Use this instead */
.megamenu a:hover, .megamenu a:focus {
    color: hsla(var(--primary-hue), 41%, 61%, 100%);
    text-decoration: none;
}

.megamenu a:hover i {
    color: #BCBABA !important;
    transform: translateY(-5px);
}
.megamenu a i {
    transition: transform 500ms;
}
.megamenu .section-list, .megamenu .icon-list {
    padding-right: 3%;
    padding-bottom: 20px;
    min-width: 170px;
}

.megamenu a.connect-item {
    max-width: 400px;
    padding-bottom: 1.5%;
}
.megamenu .connect-icon {
    min-width: 80px;
    display: flex;
    align-items: start;
    justify-content: center;
}

@media only screen and (min-width: 1200px) {
    nav.navbar .container-fluid {
        max-width: 1560px;
    }
}

@media only screen and (max-width: 1050px) {
    .megamenu .dropdown-menu {
        padding-right: 0;
        padding-left: 0;
    }
    .megamenu li.menu-section {
        padding-left: 2.5%;
        padding-right: 2.5%;
    }
}

@media only screen and (max-width: 900px) {
    .megamenu.open>.dropdown-menu {
        flex-direction: column;
    }
    .megamenu li.menu-section:first-child {
        border-right: none;
        border-bottom: 1px solid #535252;
    }
    .megamenu .dropdown-menu {
        padding-top: 40px;
        padding-left: 6%;
        padding-right: 6%;
    }
    .megamenu li.menu-section .section-list {
        padding-top: 40px;
    }
    .megamenu li.menu-section {
        padding-left: 0;
        padding-right: 0;
    }
    .megamenu .connect-icon {
        min-width: 50px;
        justify-content: start;
    }
}
@media only screen and (max-width: 500px) {
    .connect-wrapper, .menu-section {
        flex-direction: column;
    }
    .megamenu h2 {
        margin-bottom: 15px;
    }
    .megamenu h3 {
        font-size: 18px;
    }
    .megamenu p {
        margin-bottom: 20px;
    }
    .megamenu .section-list, .megamenu .icon-list {
        padding-bottom: 0;
    }
    .megamenu .section-list li {
        font-size: 18px;
        padding-bottom: 6px;
    }
}





/*-------------------------
  5. HOME PAGE STYLES
-------------------------*/
 /* General home styles */
h3.home {
    margin-bottom: 50px;
}
/* Hero section */
.home-hero { /* removed word header on 12/9/23 */
    padding: 0;
    /*background-image: none; -- Removed 12/9/23 */
    /*background-color: transparent; -- Removed 12/9/23 */
    /*background-color: var(--white); -- Removed 12/9/23 */
}
.home-hero>.container {
    position: relative;
}
.home-hero-background {
    background-color: var(--primary-color);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
    height: 80vh;
}
.home-hero-box {
    color: var(--black);
    /*background-color: var(--white); -- Removed 12/9/23 */
    background-color: #FDFBFB;
    padding: 45px;
    width: 375px;
    position: absolute;
    left: 0;
    bottom: -180px;
    height: 500px;
}
.home-hero-box-wrapper {
    height: 100%;
}
.home-hero-box .container {
    max-width: 390px;
    width: auto;
    padding-left: 0;
    padding-right: 0;
}
.home-hero-box img {
    margin-bottom: 20px;
}
.home-hero-box a {
    display: block;
    color: var(--black);
    font-size: 21px;
    text-align: left;
}
.home-hero-box a:hover {
    color: var(--black);
    text-decoration: underline;
}
@media only screen and (max-width: 767px) {
    .home-hero-box-wrapper {
        width: 100%;
    }
    .home-hero-box {
        left: 3%;
        box-shadow: none; 
    }
}
@media only screen and (max-width: 576px) {
    .home-hero {  /* removed word header on 12/9/23 */
        height: 80vh;
        height: 80svh;
        height: calc(var(--vh, 1vh) * 80);
        display: flex;
        flex-direction: column-reverse;
    }
    .home-hero>.container {
        padding: 0;
    }
    .home-hero-background {
        height: 49vh;
    }
    .home-hero-box img {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 10px;
        max-width: 80%;
    }
    .home-hero-box {
        width: 100%;
        position: inherit;
        left: 0;
        bottom: 0;
        padding: 20px 25px;
        height: auto;
        box-shadow: 0 -5px 10px #0000000F;
    }
    .home-hero-box-wrapper {
        height: auto;
        flex-grow: 1;
    }
}
@media only screen and (max-width: 400px) {
    .home-hero-box a {
        font-size: 18px;
        margin-bottom: 3px;
    }
}

/* Church Online Countdown */
section.church-online {
    position: relative;
    z-index: 2;
}
section.church-online .lead {
    margin-bottom: 0;
    margin-top: 4px;
    display: inline-block;
}
section.church-online a, section.church-online a:visited {
    display: block;
    padding: 10px 0;
    text-decoration: none;
    background-color: var(--primary-color);
    color: var(--main-text-color-light);
}
section.church-online a:active, section.church-online a:hover, section.church-online a:visited:active, section.church-online a:visited:hover {
    background-color: var(--primary-light-color);
}
.countdown-left {
    text-align: right;
}

.countdown-right {
    text-align: left;
    border-left: 1.5px solid var(--white);
}
.countdown-right h5, .countdown-right p {
    margin-bottom: 0;
}
@media only screen and (max-width: 767px) {
    .countdown-left, .countdown-right {
        text-align: center;
    }
}
@media only screen and (max-width: 550px) {
    section.church-online a, section.church-online a:visited {
        text-align: center;
    }
    
    .countdown-right {
        border: none;
    }
}

/* Latest Sermon Video Section */
section.sermons-latest {
    background-color: var(--primary-bg-color);
    position: relative;
    z-index: 2;
}
section.sermons-latest h3.home {
    color: var(--main-heading-color) !important;
}
section.sermons-latest .responsive-video-embed {
    box-shadow: var(--main-box-shadow);
}
section.sermons-latest .left-details, section.sermons-latest .right-details {
    width: 50%;
}
section.sermons-latest .right-details {
    text-align: right;
}

/* Latest News and Events */
.news-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 168px);
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    margin-bottom: 25px;
}
.news-item-1 { grid-area: 1 / 1 / 3 / 3; }
.news-item-2 { grid-area: 1 / 3 / 2 / 4; }
.news-item-3 { grid-area: 1 / 4 / 2 / 5; }
.news-item-4 { grid-area: 2 / 3 / 3 / 4; }
.news-item-5 { grid-area: 2 / 4 / 3 / 5; }
.news-item-small, .news-item-large {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    height: 100%;
}
section.news .image-container {
    height: 100%;
    width: 100%;
    overflow: hidden;
}
section.news .image {
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-color: white;
    transition: all 600ms;
}
section.news .image:hover {
    transform: scale(1.05);
}
section.news p {
    text-align: left;
    color: var(--main-text-color);
    font-size: 16px;
    font-weight: 700;
    margin-top: 5px;
    margin-bottom: 5px; 
}
.news-item-text:hover {
    text-decoration: none;
}
.news-more {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}
section.news p.news-more-space, section.news p.news-more-space:hover {
    color: transparent;
}

@media only screen and (max-width: 1200px) {
    .news-wrapper {
        grid-template-rows: repeat(2, 138px);
    }
}    
@media only screen and (max-width: 991px) {
    .news-wrapper {
        grid-template-rows: repeat(2, 108px);
        grid-column-gap: 10px;
        grid-row-gap: 10px;
    }
    section.news p {
        font-size: 14px;
        margin-top: 1px;
        margin-bottom: 2px; 
    }
}
@media only screen and (max-width: 767px) {
    .news-wrapper {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 28vw);
    }
    .news-item-1 { grid-area: 1 / 1 / 3 / 3; }
    .news-item-2 { grid-area: 3 / 1 / 4 / 2; }
    .news-item-3 { grid-area: 3 / 2 / 4 / 3; }
    .news-item-4 { grid-area: 4 / 1 / 5 / 2; }
    .news-item-5 { grid-area: 4 / 2 / 5 / 3; }
}

/* Next steps section */
section.next-steps a {
    color: var(--main-text-color-light);
}
section.next-steps a:hover {
    text-decoration:none;
}
section.next-steps a:hover h3, section.next-steps a:hover h4, section.next-steps a:hover .next-steps-highlight-cta {
    text-decoration: underline;
}
section.next-steps .next-steps-box {
    color: var(--main-text-color-light);
    background-color: var(--primary-color);
    padding: 50px 60px;
}
.next-steps-wrapper {
    max-width: 775px;
    margin: 0 auto;
    margin-bottom: 75px;
    text-align: left;
    flex-wrap: wrap;
    justify-content: space-between;
}
section.next-steps h3.home {
    margin-bottom: 100px;
}
.next-steps-item {
    color: var(--main-text-color-light);
    max-width: 46%;
    margin-bottom: 25px;
}
.next-steps-item h4 {
    font-size: 24px;
    margin-bottom: 2px;
}
.next-steps-item p {
    font-size: 16px;
    opacity: 0.8;
}
.next-steps-icon {
    min-width: 65px;
    display: flex;
    align-items: start;
}
.next-steps-icon i {
    color: var(--main-text-color-light);
    opacity: 0.7;
    font-size: 26px;
    padding-top: 20px;
}
section.next-steps a:hover i {
    opacity: 1 !important;
}
.next-steps-item-text i {
    padding-left: 10px;
}
.next-steps-highlight {
    text-align: left;
    padding: 20px 25px;
    border: 2px solid var(--white);
    margin: 0 auto;
    max-width: 720px;
    gap: 30px;
    position: relative;
}
.next-steps-highlight::before {
    background-color: var(--primary-color);
    position: absolute;
    top: -17px;
    padding: 3px 7px;
}
.highlight-label-NEW::before {
    content: "NEW!";
}
.highlight-label-HIGHLIGHT::before {
    content: "HIGHLIGHT!";
}
.highlight-label-FEATURED::before {
    content: "FEATURED!";
}
.highlight-label-UPDATED::before {
    content: "UPDATED!";
}
.next-steps-highlight h3 {
    font-size: 21px;
}
.next-steps-highlight p {
    font-size: 16px;
    opacity: 0.7;
}
.next-steps-highlight-cta {
    opacity: 1 !important;
}
.next-steps-highlight a {
    font-size: 16px;
}
.next-steps-highlight-img {
    width: 500px;
    max-width: 275px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
section.about img {
    margin-bottom: 30px;
}
@media only screen and (max-width: 767px) {
    .next-steps-wrapper {
        justify-content: center;
    }
    .next-steps-item {
        max-width: 90%;
    }
    .next-steps-highlight {
        flex-direction: column;
    }
    .next-steps-highlight-img {
        width: 100%;
        max-width: 100%;
        min-height: 25vw;
    }
}
@media only screen and (max-width: 576px) {
    section.next-steps .container {
        padding-left: 0;
        padding-right: 0;
    }
    section.next-steps .next-steps-box {
        padding: 50px 30px;
    }
    .next-steps-highlight {
        margin-left: -10px;
        margin-right: -10px;
    }
}


/*----------------------------------------
  6. Updated Ministry Page Template (2023)
-----------------------------------------*/
/* Typography */
.ministry-template h2, .ministry-template p {
    line-height: 1.4;
    margin-bottom: 40px;
}
.ministry-template h2.large {
    font-size: 54px;
}
.ministry-template p { 
    line-height: 1.75;
}
.ministry-template .container-sm {
    max-width: 550px;
}
.ministry-template .underline {
    border-bottom: 4px solid #0176B4;
}
.ministry-template p.list-title {
    margin-bottom: 0;
}
.ministry-template ul.list {
    line-height: 1.4;
    margin-bottom: 40px;
}
/* new */
.ministry-template p.lead {
    font-size: 27px;
    text-transform: none;
    letter-spacing: normal;
    line-height: 1.4;
    opacity: 1;
}
.ministry-template a {
    transition: all 250ms;
}

/* Images */
.ministry-template .img {
    box-shadow: 3px 3px 10px rgb(0,0,0,0.1);
    border-radius: 20px;
}

/* Button & Label Styles */
.ministry-template .btn {
    font-size: 16px;
    padding: 14px 20px;
    border-width: 2px;
}
.ministry-template .btn-default {
    color: var(--black);
    background-color: var(--gray-200);
    border-color: var(--gray-200);
}
.ministry-template .btn-default:hover {
    color: #fff;
    background-color: #0176B4;
    border-color: #0176B4;
}
.ministry-template .btn-primary {
    color: #fff;
    background-color: #0176B4;
    border-color: #0176B4;
}
.ministry-template .btn-primary:hover {
    color: #191919;
    background-color: var(--gray-200);
    border-color: var(--gray-200);
}
.ministry-template .label.label-primary {
    background-color: #0c1111;
    color: white;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 90%;
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: 1.5px;
}

/* Header Section */
.ministry-template header {
    background-image: unset;
}
.ministry-template header .content-center {
    display: flex;
    justify-content: center;
    align-items: center;
}
/* removed 01-20-2024
.ministry-template header img {
    width: 100%;
    max-width: 950px;
} */

/* Sub Nav */
.ministry-template .sub-nav {
    font-size: 18px;
    position: relative;
    z-index: 10;
}
.ministry-template .sub-nav::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 20px;
    background-image: linear-gradient(270deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
    z-index: 11;
}
.ministry-template .sub-nav::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 20px;
    background-image: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
    z-index: 11;
}
.ministry-template .sub-nav-scroller {
    overflow-x: scroll;
    box-shadow: var(--main-box-shadow);
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */

}
.ministry-template .sub-nav-scroller::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}
.ministry-template .sub-nav ul {
    width: max-content;
    list-style: none;
    margin: 0 auto;
    padding: 0;
}
.ministry-template .sub-nav li {
    display: inline-block;
}
.ministry-template .sub-nav a {
    display: block;
    color: var(--black);
    padding: 18px 15px;
    text-wrap: nowrap;
}
.ministry-template .sub-nav a:hover {
    text-decoration: none;
    background-color: var(--gray-200);
}

/* Info Section */
.ministry-template .info-section {
    margin-top: 150px;
    margin-bottom: 150px;
}
.ministry-template .info-section li {
    margin-top: 7px;
}
.ministry-template .info-section ul li::marker {
    color: #0176B4;
    font-size: 20px;
}

/* FAQ Section */
.ministry-template .faq-section p {
    margin-bottom: 20px;
}
.ministry-template .faq-section p.faq-question {
    margin-bottom: 0;
}
.ministry-template .faq-section p.list-title {
    margin-bottom: 0;
}

/* Photo Grid Layouts */
.ministry-template .photo-grid-1 {
    display: grid;
    grid-template-columns: repeat(1fr, 1fr);
    grid-template-rows: repeat(1fr, 1fr);
    grid-column-gap: 10px;
    grid-row-gap: 10px;
}
.ministry-template .photo-grid-1-div1 { 
    grid-area: 1 / 1 / 2 / 2; 
    max-width: 80%;
    justify-self: end;
}
.ministry-template .photo-grid-1-div2 { 
    grid-area: 2 / 1 / 3 / 2; 
}
.ministry-template .photo-grid-1-div3 { 
    grid-area: 1 / 2 / 3 / 3;
    align-self: center;
    margin-top: 50%;
}

@media only screen and (max-width: 991px) {
    /* Typography */
    .ministry-template .h2 {
        font-size: 32px;
    }
    .ministry-template .h2.large {
        font-size: 48px;
    }
    .ministry-template .h2, .ministry-template .p, .ministry-template .ul {
        margin-bottom: 20px;
    }

    /* Photo Grid Layouts */
    .ministry-template .photo-grid-1-div1 {
        max-width: 100%;
    }
    .ministry-template .photo-grid-1-div2, .photo-grid-1-div3 { 
        display: none; 
    }
}

@media only screen and (max-width: 768px) {
    .ministry-template .container { max-width: 520px; }

    /* Typography */
    .ministry-template p.lead {
        font-size: 22px;
    }

    /* Info Section */
    .ministry-template .info-section {
        margin-top: 75px;
        margin-bottom: 75px;
    }

    /* Photo Grid Layouts */
    .ministry-template .photo-grid-1 {
        margin-top: 75px;
    }
    .ministry-template .photo-grid-1-div1 { display: none; }
    .ministry-template .photo-grid-1-div2 { display: inherit; }
}

/* removed 1-13-2024 tp
.ministry-template h3 {
    color: var(--main-text-color);
    text-transform: uppercase;
    letter-spacing: 10px;
}
header.header.ministry-template {
    background-image: url(/-/img/sections/groups/groups-hero-bg-2.jpg);
    background-attachment: scroll;
    background-color: white;
    background-position: top center;
    position: relative;
}
.header.header.ministry-template img {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 0 60px;
}
section.page-nav-menu {
    padding: 0 0 25px 0;
}
.page-menu-wrapper {
    display: inline-block;
    background-color: var(--page-primary-color);
    text-align: center;
    padding: 25px 30px;
    margin-top: -60px;
    box-shadow: 0 0 30px rgb(0 0 0 / 30%);
    position: relative;
    max-width: 100%;
}
.page-nav-menu h3 {
    color: var(--main-text-color);
    text-transform: uppercase;
    letter-spacing: 10px;
    font-size: 24px;
}
.page-menu-btn-wrapper {
    display: flex;
    justify-content: space-around;
}
*/


/*-------------------------
  7. Card Styles
-------------------------*/
.card-wrapper {
    margin-top: 2em;
    margin-bottom: 2em;
}
.card img {
    max-width: 100%;
    height: auto;
}
.card .header, .card .body, .card .footer, .card-header, .card-body, .card-footer {
    padding: 30px 40px 30px;
}
a.card {
    color: inherit;
    text-decoration: none;
    transition: all 600ms;
}
a.card:hover {
    transform: scale(1.02);
}
.stretched-link::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    pointer-events: auto;
    content: "";
    background-color: rgba(0,0,0,0);
}
.card-thumbnail-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.card-thumbnail-wrapper i {
    position: absolute;
    color: white;
    font-size: 80px;
}



/*-------------------------
  8. Icon Styles
-------------------------*/
.icon-list-wrapper {
    display: flex;
}
.icon-list-icon {
    min-width: 65px;
    display: flex;
    align-items: start;
}
.icon-list-icon i {
    padding: 10px;
    border-radius: 5px;
}
.icon-list-text h4 {
    margin-bottom: 5px;
}
.icon-list-text p {
    opacity: 0.7;
}



/*----------------------------
  9. Video Background Section
-----------------------------*/
.video-background-section {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    height: 80vh;
    height: 80svh;
    height: calc(var(--vh, 1vh) * 80);
    max-height: 950px;
    /*height: 75vh; -- Removed 12/09 */
    min-height: 500px;
    /*max-height: 800px; -- Removed 12/09 */
    overflow: hidden;
}

/* video background */
.video-background-section video.video-background {
    position: absolute;
    z-index: -1;
    object-fit: cover;
    min-height: 100%;
    min-width: 100%;
    width: 100%;
    height: 100%;
}
/* video gradient overlay */
.video-background-overlay {
    background-color: rgba(0,0,0,.1);
    background-image: none;
}
@media only screen and (max-width: 580px) {
    .video-background-section video.video-background.mobile-pos-relative {
        position: relative;
        flex-grow: 2;
        min-height: auto;
    }
}