@import url('//fonts.googleapis.com/css2?family=Shippori+Mincho&display=swap');
/************ TEMPLATE  ************
ADDITIONAL NOTES OR REVISIONS
- The Mass Schedule button at the bottom is a similar style to the eCatholic hover buttons. Be sure to include this!!!
- Margie and Ellie would like to give us images for pages before the Preview Site link is sent out to everyone.
- Use marble background on subpages as well.

-------------
STUDIUS TEMPLATE
- Header: Free Menu
- Rotator: Times Up
- Quicklinks: Icon Buttons
- News: N/A
- Widgets: N/A
- Footer: N/A

-------------
COLORS
--primary-color-rgb: 84,24,23; #541817    /* Deep Maroon *
--secondary-color-rgb: 140,110,61; #8c6e3d /* Earthy Bronze *
--tertiary-color-rgb: 64,73,75; #40494b   /* Charcoal Slate *

--background-color-rgb: 240,241,241; #f0f1f1  /* Marble Gray *

-------------
FONTS (Google)
--title-font-family: 'Shippori Mincho', serif;
--body-font-family: 'Shippori Mincho', serif;

-------------
DESIGN NOTES
- Marble BG. 40% opacity white overlay (to tone it back a bit)
- Mass Times box: 90% Opacity
- How Do I box: 20% Opacity

-------------
************/

.site-1 {
    --primary-color: #541817;
    --secondary-color: #8c6e3d;
    --tertiary-color: #40494b;

    --primary-rgb: 84,24,23;
    --secondary-rgb: 140,110,61;
    --tertiary-rgb: 64,73,75;

    --default-white: #ffffff;
    --default-black: #000000;

    --title-font-family: 'Shippori Mincho', serif;
    --body-font-family: 'Shippori Mincho', serif;

    --heading-color: var(--primary-color);
    --heading-font-family: var(--title-font-family);

    --title-border-bottom: 1px solid var(--secondary-color);

    --home-title-font: var(--title-font-family);

    --transparent: rgba(255,255,255,0);

    --default-box-shadow: 0px 0px 10px rgba(0,0,0,.5);

    --swiper-box-shadow: var(--default-box-shadow);

    --ql-title-color: var(--default-white);

    --hero-title-left-position: 5%;
}

:is(.site-1, .site-2, .site-3, .site-4, .site-5, .site-6, .site-7, .site-8, .site-9, .site-10).sponsorshippage .buy-page {
    --primary-color: #541817;
    --secondary-color: #8c6e3d;
    --tertiary-color: #40494b;

    --primary-rgb: 84,24,23;
    --secondary-rgb: 140,110,61;
    --tertiary-rgb: 64,73,75;

    --default-white: #ffffff;
    --default-black: #000000;
}

.site-1 .ql-fa-toplinks {
    --ql-icon-color: var(--primary-color);
    --ql-title-color: var(--primary-color);
}

.readon, .button, .btn, p.readmore .btn, .sprocket-lists-portrait-container > li .sprocket-lists-portrait-item > a span, .listentobutton.moduletable a {
    background: var(--primary-color);
    font-family: var(--body-font-family);
}

/*************** ALL SITE *****************/
.item-image {display: none;}

.g-container {
    width: 100%;
}

#g-mainbar .moduletable {
    margin: 0;
}

:is(.site-1-home, .site-2-home, .site-3-home) #g-page-surround .g-content {
    padding: 0;
}

:is(.site-1-home, .site-2-home, .site-3-home) #g-page-surround .g-array-item-text {
    margin: 0;
}

:is(.site-1-sub, .site-2-sub, .site-3-sub) section:not(#g-navigation, #g-container-footer, #g-copyright) .g-content:not(.g-blockcontent-subcontent-block-content) {
    margin: 0.625rem !important;
    padding: 1.5rem !important;
}

:is(.site-1-sub, .site-2-sub, .site-3-sub) section:not(#g-navigation, #g-container-footer, #g-copyright) #grid-addpic .g-content {
    padding: 0 !important;
    margin: 0 !important;
}

:is(.site-1-sub, .site-2-sub, .site-3-sub) section#g-container-main #g-aside .g-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

:is(.site-1-sub, .site-2-sub, .site-3-sub) section#g-container-main #g-aside .grid-staff .g-content {
    padding: 0 !important;
    margin: 0 !important;
  }

@media (min-width: 50.99rem) {
    :is(.site-1-home, .site-2-home, .site-3-home) #g-top .modern-alert .g-joomla-articles {
        padding: 0 3% !important;
    }
}

/*SUB-PAGE GRIDS TEXT SPACING*/

@media (min-width: 50.99rem) {
    #site-grid:is(.site-1-sub, .site-2-sub, .site-3-sub) #g-mainbar > .g-grid:has([itemprop="articleBody"]) {
        padding: 2vw 0!important;
    }
    #site-grid:is(.site-1-sub, .site-2-sub, .site-3-sub) #g-mainbar > .g-grid:has([itemprop="articleBody"]) p {
        font-size: 1.25vw;
        font-family: var(--body-font-family);
    }
}

@media only screen and (max-width: 50.99rem) {
    #site-grid:is(.site-1-sub, .site-2-sub, .site-3-sub) #g-mainbar > .g-grid:has([itemprop="articleBody"]) {
        padding: 2rem 0!important;
    }
}

/*****************************/

/*************** HOMELAYOUT ***************/ 
/*************** OFFCANVAS ****************/

.g-offcanvas-toggle {color: var(--primary-color);} 
.g-offcanvas-toggle .fa-fw {text-shadow: none;}

@media only screen and (max-width: 50.99rem) {
    .site-1 #g-offcanvas .g-social-items {
        display: flex;
        flex-direction: row;
        gap: 2rem;
        align-items: center;
        justify-content: center;
    }
    .site-1 #g-offcanvas .g-social-items a {
        color: var(--secondary-color);
    }
    .site-1 #g-offcanvas .g-social-items a:hover {
        color: var(--tertiary-color);
    }
}

/*************** TOP **********************/ 
/*************** NAVIGATION ***************/
@media only screen and (min-width: 50.99rem) {
    .site-1 #g-navigation {
        background: url('/images/template/marble-background.jpg') 50% 50% no-repeat;
        background-size: cover;
        position: relative;
        z-index: 50;
    }
    .site-1 #g-navigation > .g-container {
        background: rgba(255,255,255,.6);
    }
    .site-1 #g-navigation > .g-container > .g-grid:has(.nav-search-container) {
        position: relative;
        padding: 2vw;
        align-items: flex-end;
    }
    .site-1 #g-navigation > .g-container > .g-grid:has(.nav-search-container) > .g-block.nav-search-container {
        position: absolute;
        top: 1vw;
        right: 1vw;
    }
    .site-1 #g-navigation .ql-fa-toplinks {
        flex: 1;
        width: unset;
        padding-left: 20%;
    }
    .site-1 #g-navigation .g-logo img {
        width: 100%;
    }
}

@media only screen and (max-width: 50.99rem) {
    .site-1 #g-navigation {
        background: url('/images/template/marble-background.jpg') 50% 50% no-repeat;
        background-size: cover;
        position: relative;
        z-index: 50;
    }
    .site-1 #g-navigation > .g-container {
        background: rgba(255,255,255,.6);
    }
}

@media only screen and (min-width: 50.99rem) {
    .site-1 #g-navigation .logo-icon {
        pointer-events: none!important;
    }
    .site-1 #g-navigation .logo-icon .g-logo img {
        margin-bottom: -175%!important;
    }
    .site-1 #g-navigation .logo-text {
        padding-left: 2vw;
        padding-bottom: 2.5%;
    }
}

@media only screen and (min-width: 50.99rem) {
    .nav-search-container {
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }
    .nav-search-container div.mod_search146 input[type="search"] {
        max-width: 15vw;
        background-color: #abacab;
        border: none;
        border-radius: 0;
        padding: .5vw 1vw;
        font-size: 1.25vw;
        color: var(--tertiary-color);
    }
    .nav-search-container div.mod_search146 input[type="search"]::placeholder {
        font-size: 1.25vw;
        color: var(--tertiary-color);
    }
    .nav-search-container form {
        margin: 0;
        padding: 0;
    }
}

@media only screen and (max-width: 50.99rem) {
    .nav-search-container {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 1rem;
    }
    .nav-search-container div.mod_search146 input[type="search"] {
        max-width: calc(100vw - 2rem)!important;
        background-color: #abacab;
        border: none;
        border-radius: 0;
        padding: .5rem;
        font-size: 4vw;
        color: var(--tertiary-color);
    }
    .nav-search-container div.mod_search146 input[type="search"]::placeholder {
        font-size: 4vw;
        color: var(--tertiary-color);
    }
    .nav-search-container form {
        margin: 0;
        padding: 0;
    }
}

@media only screen and (min-width: 50.99rem) {
    .site-1 #g-navigation .ql-fa-toplinks {
        padding-bottom: 2vw;
    }
    .ql-fa-toplinks .g-blockcontent-subcontent-block:not(.ql-fa-toplinks .g-blockcontent-subcontent-block:last-child) {
        border: none!important;
    }
    .ql-fa-toplinks .g-blockcontent-subcontent-block .g-blockcontent-subcontent-title-icon {
        font-size: 2.25vw;
    }
    .ql-fa-toplinks .g-blockcontent-subcontent-block .g-blockcontent-subcontent-title-text {
        font-size: 1.25vw;
        font-weight: 600;
    }
    .ql-fa-toplinks .g-blockcontent-subcontent-block:hover .g-blockcontent-subcontent-title-icon {
        color: var(--default-white);
    }
    .ql-fa-toplinks .g-blockcontent-subcontent-block:hover .g-blockcontent-subcontent-title-text {
        color: var(--default-white);
    }
}

@media only screen and (max-width: 50.99rem) {
    .ql-fa-toplinks .g-blockcontent-subcontent-block:not(.ql-fa-toplinks .g-blockcontent-subcontent-block:last-child) {
        border: none!important;
    }
    .ql-fa-toplinks .g-blockcontent-subcontent-block-content > .g-blockcontent-subcontent-title {
        display: flex;
    }
    .ql-fa-toplinks .g-blockcontent-subcontent-block .g-blockcontent-subcontent-title-icon {
        font-size: 7vw;
    }
    .ql-fa-toplinks .g-blockcontent-subcontent-block .g-blockcontent-subcontent-title-text {
        font-size: 4vw;
        font-weight: 600;
    }
    .ql-fa-toplinks .g-blockcontent-subcontent-block:hover .g-blockcontent-subcontent-title-icon {
        color: var(--default-white);
    }
    .ql-fa-toplinks .g-blockcontent-subcontent-block:hover .g-blockcontent-subcontent-title-text {
        color: var(--default-white);
    }
}


@media only screen and (min-width: 50.99rem) {
    .site-1 #g-navigation .g-main-nav {
        padding-left: 9%;
    }
    .g-main-nav .g-toplevel>li>.g-menu-item-container>.g-menu-item-content {
        font-size: 1vw;
        font-family: var(--body-font-family);
    }
    .g-main-nav .g-sublevel>li>.g-menu-item-container>.g-menu-item-content>.g-menu-item-title {
        font-size: 1vw;
        font-family: var(--body-font-family);
    }
    #g-navigation .g-main-nav .g-toplevel>li>.g-menu-item-container {
        padding: 1.25vw .5vw;
    }

    .site-1 #g-navigation .g-social-items {
        display: flex;
        flex-direction: row;
        gap: 2vw;
        align-items: center;
    }
    .site-1 #g-navigation .g-social-items a {
        color: var(--secondary-color);
        font-size: clamp(1.25rem, 1.25vw, 2rem);
    }
    .site-1 #g-navigation .g-social-items a:hover {
        color: var(--tertiary-color); 
    }
}

@media only screen and (max-width: 50.99rem) {
    #g-navigation .g-logo {
        max-width: 65%;
        margin: 2rem auto;
    }
}

/*************** SLIDESHOW ****************/ 
@media only screen and (min-width: 50.99rem) {
    .site-1-home #g-slideshow > .g-container {
        position: relative;
    }
    .site-1-home #g-slideshow > .g-container > .g-grid:has(.mt-swiper-overlay) {
        position: absolute;
        top: 3vw;
        bottom: 3vw;
        right: 5%;
        width: 30%;
        z-index: 10;
        background: rgba(255,255,255,.9);
        padding: 2.5vw;
    }

    .mt-swiper-overlay :is(h1,h2,h3,h4,h5,h6) {
        color: var(--primary-color);
        font-family: var(--title-font-family);
        text-transform: none;
        font-variant-caps: normal;
        font-size: 2vw;
        line-height: 1.2;
        margin: 0;
        padding: 0;
        margin-bottom: 1vw;
        font-weight: 600;
    }
    .mt-swiper-overlay :is(h1,h2,h3,h4,h5,h6).mt-big-title {
        line-height: 1.5;
        font-size: 3vw;
        border-bottom: 2px solid var(--primary-color);
        font-weight: 700;
    }

    .mt-swiper-overlay :is(p,a,li) {
        font-size: 1.25vw;
        color: var(--primary-color);
        font-family: var(--body-font-family);
        line-height: 1.5;
        font-weight: 500;
    }

    #g-slideshow .mt-swiper-overlay a {
        color: var(--tertiary-color)!important;
    }
    #g-slideshow .mt-swiper-overlay a:hover {
        opacity: .5;
    }
}

@media only screen and (max-width: 50.99rem) {
    .mt-swiper-overlay {
        padding: 1rem;
    }
    .mt-swiper-overlay :is(h1,h2,h3,h4,h5,h6) {
        color: var(--primary-color);
        font-family: var(--title-font-family);
        text-transform: none;
        font-variant-caps: normal;
        font-size: 6vw;
        line-height: 1.2;
        margin: 0;
        padding: 0;
        margin-bottom: 1vw;
        font-weight: 600;
    }
    .mt-swiper-overlay :is(h1,h2,h3,h4,h5,h6).mt-big-title {
        line-height: 1.5;
        font-size: 8vw;
        border-bottom: 2px solid var(--primary-color);
        font-weight: 700;
    }

    .mt-swiper-overlay :is(p,a,li) {
        font-size: 4vw;
        color: var(--primary-color);
        font-family: var(--body-font-family);
        line-height: 1.5;
        font-weight: 500;
    }

    #g-slideshow .mt-swiper-overlay a {
        color: var(--tertiary-color)!important;
    }
    #g-slideshow .mt-swiper-overlay a:hover {
        opacity: .5;
    }
}

/*************** HEADER *******************/
@media only screen and (min-width: 50.99rem) {
    .site-1-home #g-header {
        background: url('/images/template/marble-background.jpg') 50% 50% no-repeat;
        background-size: cover;
    }
    .site-1-home #g-header > .g-container {
        padding: 2vw 5% 5vw 5%!important;
        display: flex;
        flex-direction: column;
        gap: 5vw;
    }

    .site-1-home #g-header > .g-container > .g-grid:has(.ql-social-icons) {
        display: flex;
        flex-direction: row;
        gap: 2vw;
        justify-content: center;
        align-items: center;
    }
    .site-1-home #g-header > .g-container > .g-grid:has(.ql-social-icons) > .ql-social-icons {
        flex: 13;
        width: unset;
    }
    .site-1-home #g-header > .g-container > .g-grid:has(.ql-social-icons) > .ql-icon-text-block {
        flex: 87;
        width: unset;
    }

    .ql-social-icons .g-social-items {
        display: flex;
        flex-direction: row;
        gap: .5vw;
        justify-content: space-between;
        align-items: center;
    }
    .ql-social-icons .g-social-items a {
        background: var(--primary-color);
        flex: 1;
        aspect-ratio: 1/1;
        color: var(--default-white);
        font-size: 2.25vw;
        line-height: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: .3s all ease-in-out;
    }
    .ql-social-icons .g-social-items a:hover {
        background: var(--secondary-color);
    }
}

@media only screen and (max-width: 50.99rem) {
    .site-1-home #g-header {
        background: url('/images/template/marble-background.jpg') 50% 50% no-repeat;
        background-size: cover;
    }
    .site-1-home #g-header > .g-container {
        padding: 2rem 1rem!important;
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .ql-social-icons {
        margin-bottom: 2rem!important;
    }

    .ql-social-icons .g-social-items {
        display: flex;
        flex-direction: row;
        gap: 1rem;
        justify-content: space-between;
        align-items: center;
    }
    .ql-social-icons .g-social-items a {
        background: var(--primary-color);
        flex: 1;
        aspect-ratio: 1/1;
        color: var(--default-white);
        font-size: 15vw;
        line-height: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: .3s all ease-in-out;
    }
    .ql-social-icons .g-social-items a:hover {
        background: var(--secondary-color);
    }
}

@media only screen and (min-width: 50.99rem) {
    .ql-icon-text-block {
        margin: 0;
        padding: 0;
    }
    .ql-icon-text-block > .g-content {
        margin: 0;
        padding: 0;
    }
    .ql-icon-text-block > .g-content > div {
        margin: 0;
        padding: 0;
    }
    .ql-icon-text-block .g-blockcontent {
        margin: 0;
        padding: 0;
    }
    .ql-icon-text-block .g-blockcontent-subcontent {
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: row;
        gap: 2vw;
        align-items: center;
        justify-content: center;
    }
    .ql-icon-text-block .g-blockcontent-subcontent-block {
        margin: 0;
        padding: 1vw;
        position: relative;
        flex: 1;
        background: var(--secondary-color);
        transition: .3s all ease-in-out;
    }
    .ql-icon-text-block .g-blockcontent-subcontent-block:hover {
        transform: scale(1.05);
    }
    .ql-icon-text-block .g-blockcontent-subcontent-block-content {
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: row;
        gap: 1vw;
    }
    .ql-icon-text-block .g-blockcontent-subcontent-title-icon {
        margin: 0;
        padding: 0;
        flex: 1;
        font-size: 1.5vw;
        line-height: 1;
        color: var(--default-white);
    }
    .ql-icon-text-block .g-blockcontent-subcontent-title {
        margin: 0;
        padding: 0;
        flex: 5;
        color: var(--default-white);
        font-size: 1.25vw;
        line-height: 1;
        font-family: var(--body-font-family);
        font-weight: 600;
        text-transform: none;
        font-variant-caps: normal;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .ql-icon-text-block .g-blockcontent-subcontent-title-text {
        margin: 0;
        padding: 0;
        color: var(--default-white);
        font-size: 1.25vw;
        line-height: 1;
        font-family: var(--body-font-family);
        font-weight: 600;
        text-transform: none;
        font-variant-caps: normal;
        text-align: center;
    }
    .ql-icon-text-block .g-blockcontent-buttons {
        margin: 0;
        padding: 0;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100%;
        width: 100%;
        opacity: 0;
    }
    .ql-icon-text-block .g-blockcontent-buttons a {
        margin: 0;
        padding: 0;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100%;
        width: 100%;
        opacity: 0;
    }
}

@media only screen and (max-width: 50.99rem) {
    .ql-icon-text-block {
        margin: 0;
        padding: 0;
    }
    .ql-icon-text-block > .g-content {
        margin: 0;
        padding: 0;
    }
    .ql-icon-text-block > .g-content > div {
        margin: 0;
        padding: 0;
    }
    .ql-icon-text-block .g-blockcontent {
        margin: 0;
        padding: 0;
    }
    .ql-icon-text-block .g-blockcontent-subcontent {
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        justify-content: center;
    }
    .ql-icon-text-block .g-blockcontent-subcontent-block {
        margin: 0;
        padding: 1rem;
        position: relative;
        flex: 1;
        background: var(--secondary-color);
        transition: .3s all ease-in-out;
        width: 100%;
    }
    .ql-icon-text-block .g-blockcontent-subcontent-block:hover {
        transform: scale(1.05);
    }
    .ql-icon-text-block .g-blockcontent-subcontent-block-content {
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: row;
        gap: 1rem;
    }
    .ql-icon-text-block .g-blockcontent-subcontent-title-icon {
        margin: 0;
        padding: 0;
        flex: 1;
        font-size: 5vw;
        line-height: 1;
        color: var(--default-white);
    }
    .ql-icon-text-block .g-blockcontent-subcontent-title {
        margin: 0;
        padding: 0;
        flex: 5;
        color: var(--default-white);
        font-size: 4vw;
        line-height: 1;
        font-family: var(--body-font-family);
        font-weight: 600;
        text-transform: none;
        font-variant-caps: normal;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .ql-icon-text-block .g-blockcontent-subcontent-title-text {
        margin: 0;
        padding: 0;
        color: var(--default-white);
        font-size: 4vw;
        line-height: 1;
        font-family: var(--body-font-family);
        font-weight: 600;
        text-transform: none;
        font-variant-caps: normal;
        text-align: center;
    }
    .ql-icon-text-block .g-blockcontent-buttons {
        margin: 0;
        padding: 0;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100%;
        width: 100%;
        opacity: 0;
    }
    .ql-icon-text-block .g-blockcontent-buttons a {
        margin: 0;
        padding: 0;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100%;
        width: 100%;
        opacity: 0;
    }
}

@media only screen and (min-width: 50.99rem) {
    .p-info-wrapper {
        display: flex;
        flex-direction: row;
        gap: 8vw;
        align-items: center;
    }
    .p-info-wrapper > div {
        flex: 1;
    }
    .p-info-wrapper .p-info-content {
        display: flex;
        flex-direction: column;
        gap: 2vw;
        justify-content: flex-start;
    }
    .p-info-wrapper .p-info-content .g-title {
        color: var(--primary-color);
        font-variant-caps: small-caps;
        font-family: var(--title-font-family);
        line-height: 1;
        margin: 0;
        padding: 0;
        text-transform: none;
        border: none;
        font-size: 2.5vw;
        font-weight: 700;
        margin-bottom: 1vw;
    }
    .p-info-wrapper .p-info-content p {
        color: var(--primary-color);
        font-size: 1.5vw;
        font-weight: 400;
        line-height: 1.5;
    }

    .p-info-wrapper .p-hdi {
        display: flex;
        flex-direction: column;
        gap: 2vw;
        align-items: center;
        justify-content: center;
    }
    .p-info-wrapper .p-hdi .g-title {
        color: var(--primary-color);
        font-variant-caps: normal;
        font-family: var(--title-font-family);
        line-height: 1;
        margin: 0;
        padding: 0;
        text-transform: none;
        border: none;
        font-size: 2.5vw;
        font-weight: 700;
        margin-bottom: 1vw;
        text-align: center;
    }
    .p-info-wrapper .p-hdi .search-dropdwn {
        background: rgba(0,0,0,.15);
        padding: 2vw!important;
    }

    .p-info-wrapper .p-hdi .weblinks li {
        font-size: 1.25vw;
        line-height: 1.4;
        color: var(--primary-color);
    }
    .p-info-wrapper .p-hdi .weblinks li a {
        font-size: 1.25vw;
        line-height: 1.4;
        color: var(--primary-color);
        /*text-shadow: 2px 2px 3px rgba(0,0,0,.5);*/
        font-weight: 700;
    }
    .p-info-wrapper .p-hdi .weblinks li a:hover {
        color: var(--secondary-color);
    }
}

@media only screen and (max-width: 50.99rem) {
    .p-info-wrapper {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    .p-info-wrapper > div {
        flex: 1;
    }
    .p-info-wrapper .p-info-content {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        justify-content: space-between;
    }
    .p-info-wrapper .p-info-content .g-title {
        color: var(--primary-color);
        font-variant-caps: small-caps;
        font-family: var(--title-font-family);
        line-height: 1;
        margin: 0;
        padding: 0;
        text-transform: none;
        border: none;
        font-size: 6vw;
        font-weight: 700;
        margin-bottom: .5rem;
    }
    .p-info-wrapper .p-info-content p {
        color: var(--primary-color);
        font-size: 4vw;
        font-weight: 400;
        line-height: 1.5;
    }

    .p-info-wrapper .p-hdi {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        justify-content: center;
    }
    .p-info-wrapper .p-hdi .g-title {
        color: var(--primary-color);
        font-variant-caps: normal;
        font-family: var(--title-font-family);
        line-height: 1;
        margin: 0;
        padding: 0;
        text-transform: none;
        border: none;
        font-size: 6vw;
        font-weight: 700;
        margin-bottom: .5rem;
        text-align: center;
    }
    .p-info-wrapper .p-hdi .search-dropdwn {
        background: rgba(0,0,0,.15);
        padding: 3rem 1rem!important;
    }

    .p-info-wrapper .p-hdi .weblinks li {
        font-size: 4.5vw;
        line-height: 1.4;
        color: var(--primary-color);
    }
    .p-info-wrapper .p-hdi .weblinks li a {
        font-size: 4.5vw;
        line-height: 1.4;
        color: var(--primary-color);
        /*text-shadow: 2px 2px 3px rgba(0,0,0,.5);*/
        font-weight: 700;
    }
    .p-info-wrapper .p-hdi .weblinks li a:hover {
        color: var(--secondary-color);
    }
}

@media only screen and (min-width: 50.99rem) {
    #hero-title-text {
        --hero-title-left-position: 10%;
        --hero-title-bottom-position: 5%;
        --hero-title-top-position: 5%;
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }
}

/*************** ABOVE ********************/
/*************** SHOWCASE *****************/
/*************** UTILITY ******************/
/*************** FEATURE ******************/
/*************** MAIN *********************/
@media only screen and (min-width: 50.99rem) {
    .site-1-sub #g-page-surround {
        background: url('/images/template/marble-background.jpg') 50% 50% no-repeat, rgba(255,255,255,.6);
        background-size: cover;
    }
    .site-1-sub :is(#g-utility, #g-container-main, #g-mainbar, #g-sidebar, #g-aside, #g-bottom) {
        background: transparent;
    }
    .site-1-sub :is(#g-utility, #g-container-main, #g-bottom) {
        background: rgba(255,255,255,.6);
    }
}

@media only screen and (min-width: 50.99rem) {
    .site-1-home #g-container-main > .g-container {
        padding: 5vw 5%!important;
    }
    .site-1-home #g-container-main > .g-container > .g-grid {
        display: flex;
        flex-direction: row;
        gap: 6vw;
    }
    .site-1-home #g-container-main > .g-container > .g-grid > .g-block:has(#g-mainbar) {
        flex: 1;
        width: unset;
    }
    .site-1-home #g-container-main > .g-container > .g-grid > .g-block:has(#g-aside) {
        flex: unset;
        width: unset;
        max-width: 165px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .site-1-home #g-mainbar {
        display: flex;
        flex-direction: column;
        gap: 3vw;
    }

    .site-1-home #g-container-main .grid-articles .g-item-title {
        --grid-title-font-size: 1.5vw;
    }
}

@media only screen and (max-width: 50.99rem) {
    .site-1-home #g-container-main > .g-container {
        padding: 2rem 0!important;
    }
    .site-1-home #g-mainbar {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        padding: 0!important;
    }
}

@media only screen and (min-width: 50.99rem) {
    .news-tb-wrapper {
        display: flex;
        flex-direction: row;
        gap: 2vw;
        align-items: center;
        justify-content: space-between;
    }
    .news-title .g-title {
        color: var(--default-white);
        line-height: 1;
        margin: 0;
        padding: 0;
        text-transform: none;
        font-variant-caps: normal;
        border: none;
        font-size: 2.5vw;
        font-weight: 500;
        font-family: var(--title-font-family);
    }
    .news-button .button {
        background: var(--secondary-color);
        border-radius: 0;
        padding: 1vw 4vw;
        font-size: 1.25vw;
        line-height: 1;
        color: var(--default-white);
    }
    .news-button .button:hover {
        transform: scale(1.05);
        box-shadow: 0px 0px 10px rgba(0,0,0,.5);
    }
}

@media only screen and (max-width: 50.99rem) {
    .news-tb-wrapper {
        display: flex;
        flex-direction: row;
        gap: 1rem;
        align-items: center;
        justify-content: space-between;
        padding: 1rem 1rem 0 1rem;
    }
    .news-title .g-title {
        color: var(--default-white);
        line-height: 1;
        margin: 0;
        padding: 0;
        text-transform: none;
        font-variant-caps: normal;
        border: none;
        font-size: 6vw;
        font-weight: 500;
        font-family: var(--title-font-family);
    }
    .news-button .button {
        background: var(--secondary-color);
        border-radius: 0;
        padding: 1rem;
        font-size: 4vw;
        line-height: 1;
        color: var(--default-white);
    }
    .news-button .button:hover {
        transform: scale(1.05);
        box-shadow: 0px 0px 10px rgba(0,0,0,.5);
    }
}

@media only screen and (min-width: 50.99rem) {
    .site-1-sub #g-mainbar {
        min-height: 30vh;
    }
}

@media only screen and (max-width: 50.99rem) {
    :is(.site-1-sub, .site-2-sub) #g-mainbar > .g-grid > .g-block > .g-content {
        margin: 0;
        padding: 0;
    }
}

/*************** EXPANDED *****************/ 
/*************** EXTENSION ****************/
@media only screen and (min-width: 50.99rem) {
    .site-1-home #g-extension {
        background: transparent;
        position: fixed;
        bottom: 4rem;
        right: 0;
        z-index: 99;
        pointer-events: none!important;
    }

    .site-1-home .mt-float-button .button {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        border: 2px solid var(--default-white);
        padding: 1vw 3vw;
        font-size: 1.25vw;
        line-height: 1;
        font-family: var(--body-font-family);
        box-shadow: 0px 0px 10px rgba(0,0,0,.5);
        pointer-events: all!important;
    }
}

@media only screen and (max-width: 50.99rem) {
    .site-1-home #g-extension {
        background: transparent;
        position: fixed;
        bottom: 6rem;
        right: 0;
        z-index: 99;
        pointer-events: none!important;
    }

    .site-1-home .mt-float-button .button {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        border: 2px solid var(--default-white);
        padding: 1rem;
        font-size: 4vw;
        line-height: 1;
        font-family: var(--body-font-family);
        box-shadow: 0px 0px 10px rgba(0,0,0,.5);
        pointer-events: all!important;
    }
}


/*************** BOTTOM *******************/

@media only screen and (min-width: 50.99rem) {
    .site-1-home #g-bottom {
        background: url('/images/template/marble-background.jpg') 50% 50% no-repeat;
        background-size: cover;
    }
    .site-1-home #g-bottom > .g-container {
        background: rgba(255,255,255,.6);
        padding: 5vw 5% 2vw 5%!important;
        display: flex;
        flex-direction: column;
        gap: 6vw;
    }
}

@media only screen and (max-width: 50.99rem) {
    .site-1-home #g-bottom {
        background: url('/images/template/marble-background.jpg') 50% 50% no-repeat;
        background-size: cover;
    }
    .site-1-home #g-bottom > .g-container {
        background: rgba(255,255,255,.6);
        padding: 2rem!important;
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
}

@media only screen and (min-width: 50.99rem) {
    .social-feed-wrapper {
        display: flex;
        flex-direction: row;
        gap: 5vw;
        justify-content: center;
        max-width: 100%;
    }
    .social-feed-wrapper .social-feed-box {
        flex: 1;
        min-width: calc(33.3% - 3.33vw);
        max-width: calc(33.3% - 3.33vw);
        display: flex;
        flex-direction: column;
        gap: 2vw;
    }
    .social-feed-wrapper .social-feed-title .g-title {
        text-align: center;
        border: none;
        font-size: 2.5vw;
        line-height: 1;
        margin: 0;
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 1vw;
        color: var(--primary-color);
        font-family: var(--title-font-family);
        font-weight: 600;
        text-transform: none;
        font-variant-caps: normal;
        text-align: center;
    }

    .social-feed-wrapper .social-feed-title .facebook-title:before {
        content: '\f09a';
        font-family: 'Font Awesome 6 Brands';
        font-weight: 900;
        font-size: 2vw;
        color: var(--primary-color);
        margin: 0;
        padding: 0;
        line-height: 1;
    }
    .social-feed-wrapper .social-feed-title .instagram-title:before {
        content: '\f16d';
        font-family: 'Font Awesome 6 Brands';
        font-weight: 900;
        font-size: 2vw;
        color: var(--primary-color);
        margin: 0;
        padding: 0;
        line-height: 1;
    }
    .social-feed-wrapper .social-feed-title .youtube-title:before {
        content: '\f167';
        font-family: 'Font Awesome 6 Brands';
        font-weight: 900;
        font-size: 2vw;
        color: var(--primary-color);
        margin: 0;
        padding: 0;
        line-height: 1;
    }

    .social-feed-button .button {
        color: var(--default-white);
        width: 100%;
        border-radius: 0;
        background: var(--secondary-color);
        padding: 1vw;
        text-align: center;
        font-size: 1.25vw;
    }
    .social-feed-button .button:hover {
        transform: scale(1.05);
        box-shadow: 0px 0px 10px rgba(0,0,0,.5);
    }
}

@media only screen and (max-width: 50.99rem) {
    .social-feed-wrapper {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        justify-content: center;
        max-width: 100%;
    }
    .social-feed-wrapper .social-feed-box {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    .social-feed-wrapper .social-feed-title .g-title {
        text-align: center;
        border: none;
        font-size: 6vw;
        line-height: 1;
        margin: 0;
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 1rem;
        color: var(--primary-color);
        font-family: var(--title-font-family);
        font-weight: 600;
        text-transform: none;
        font-variant-caps: normal;
        text-align: center;
    }

    .social-feed-wrapper .social-feed-title .facebook-title:before {
        content: '\f09a';
        font-family: 'Font Awesome 6 Brands';
        font-weight: 900;
        font-size: 5vw;
        color: var(--primary-color);
        margin: 0;
        padding: 0;
        line-height: 1;
    }
    .social-feed-wrapper .social-feed-title .instagram-title:before {
        content: '\f16d';
        font-family: 'Font Awesome 6 Brands';
        font-weight: 900;
        font-size: 5vw;
        color: var(--primary-color);
        margin: 0;
        padding: 0;
        line-height: 1;
    }
    .social-feed-wrapper .social-feed-title .youtube-title:before {
        content: '\f167';
        font-family: 'Font Awesome 6 Brands';
        font-weight: 900;
        font-size: 5vw;
        color: var(--primary-color);
        margin: 0;
        padding: 0;
        line-height: 1;
    }

    .social-feed-button .button {
        color: var(--default-white);
        width: 100%;
        border-radius: 0;
        background: var(--secondary-color);
        padding: 1rem;
        text-align: center;
        font-size: 4vw;
    }
    .social-feed-button .button:hover {
        transform: scale(1.05);
        box-shadow: 0px 0px 10px rgba(0,0,0,.5);
    }
}

@media only screen and (min-width: 50.99rem) {
    .site-1 #g-bottom .admod td {
        padding: 0;
    }
}

@media only screen and (max-width: 50.99rem) {
    .site-1 #g-bottom .admod td {
        padding: 0;
    }
}

/*************** FOOTER *******************/
#g-footer .g-content-array {margin: 0;}
#g-footer a {color: var(--default-white); transition: .3s all ease-in-out;} 
#g-footer a:hover {opacity: .5;}

@media only screen and (min-width: 50.99rem) {
    .site-1 #g-footer > .g-container {
        padding: 5vw 5%!important;
    }
    .footer-wrapper {
        display: flex;
        flex-direction: column;
        gap: 5vw;
    }
    .footer-content-row {
        display: flex;
        flex-direction: row;
        gap: 4vw;
    }
    .footer-content-row:after {
        content: '';
        order: 3;
        border-left: 2px solid var(--default-white);
        max-width: 2px;
    }
    .footer-logo {
        flex: 13;
        order: 1;
    }
    .footer-content {
        flex: 50;
        order: 2;
    }
    .footer-links {
        flex: 30;
        order: 4;
    }
    
    .footer-button-row {
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }
    .footer-button-row .button {
        background: var(--secondary-color);
        border-radius: 0;
        color: var(--default-white);
        font-size: 1.25vw;
        line-height: 1;
        display: flex;
        flex-direction: row;
        gap: 1vw;
        align-items: center;
        padding: 1vw 3vw;
        box-shadow: 0px 0px 10px rgba(0,0,0,.5);
    }
    .footer-button-row .mt-button:before {
        content: '\e83b';
        font-family: 'fontello';
        font-size: 2vw;
        line-height: 1;
        font-weight: 900;
    }

    .footer-content h1 {
        color: var(--default-white);
        font-size: 2vw;
        line-height: 1.5;
        margin: 0;
        padding: 0;
        font-family: var(--title-font-family);
        font-weight: 600;
        text-transform: none;
        font-variant-caps: normal;
        margin-bottom: 1vw;
    }
    .footer-content p {
        color: var(--default-white);
        font-size: 1.25vw;
        line-height: 1.5;
        margin: 0;
        padding: 0;
        font-family: var(--body-font-family);
        font-weight: 400;
        margin-bottom: 1.5vw;
    }
    .footer-buttons {
        display: flex;
        flex-direction: column;
        gap: 2vw;
    }
    .footer-buttons .button {
        color: var(--default-white);
        width: 40%;
        border-radius: 0;
        background: var(--secondary-color);
        padding: 1vw;
        text-align: center;
        font-size: 1.25vw;
    }
    .footer-buttons .button:hover {
        transform: scale(1.05);
        box-shadow: 0px 0px 10px rgba(0,0,0,.5);
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 1.5vw;
    }
    .footer-links h1 {
        color: var(--default-white);
        font-size: 2vw;
        line-height: 1.5;
        margin: 0;
        padding: 0;
        font-family: var(--title-font-family);
        font-weight: 600;
        text-transform: none;
        font-variant-caps: normal;
    }
    .footer-links .footer-links-box {
        display: flex;
        flex-direction: column;
    }
    .footer-links .footer-links-box a {
        color: var(--default-white);
        font-size: 1.25vw;
        line-height: 2;
        font-family: var(--body-font-family);
        font-weight: 400;
        text-decoration: none;
        margin-bottom: .5vw;
    }
}

@media only screen and (max-width: 50.99rem) {
    .site-1 #g-footer > .g-container {
        padding: 2rem 1rem!important;
    }
    .footer-wrapper {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    .footer-content-row {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    .footer-logo {
        flex: 13;
        order: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    .footer-logo img {
        width: 15%;
    }
    .footer-content {
        flex: 50;
        order: 2;
    }
    .footer-links {
        flex: 30;
        order: 4;
    }
    
    .footer-button-row {
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }
    .footer-button-row .button {
        background: var(--secondary-color);
        border-radius: 0;
        color: var(--default-white);
        font-size: 4vw;
        line-height: 1;
        display: flex;
        flex-direction: row;
        gap: 1rem;
        align-items: center;
        padding: 1rem;
        box-shadow: 0px 0px 10px rgba(0,0,0,.5);
    }
    .footer-button-row .mt-button:before {
        content: '\e83b';
        font-family: 'fontello';
        font-size: 5vw;
        line-height: 1;
        font-weight: 900;
    }

    .footer-content h1 {
        color: var(--default-white);
        font-size: 6vw;
        line-height: 1.5;
        margin: 0;
        padding: 0;
        font-family: var(--title-font-family);
        font-weight: 600;
        text-transform: none;
        font-variant-caps: normal;
        margin-bottom: .5rem;
    }
    .footer-content p {
        color: var(--default-white);
        font-size: 4vw;
        line-height: 1.5;
        margin: 0;
        padding: 0;
        font-family: var(--body-font-family);
        font-weight: 400;
        margin-bottom: 1rem;
    }
    .footer-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    .footer-buttons .button {
        color: var(--default-white);
        width: 100%;
        border-radius: 0;
        background: var(--secondary-color);
        padding: 1rem;
        text-align: center;
        font-size: 4vw;
    }
    .footer-buttons .button:hover {
        transform: scale(1.05);
        box-shadow: 0px 0px 10px rgba(0,0,0,.5);
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    .footer-links h1 {
        color: var(--default-white);
        font-size: 6vw;
        line-height: 1.5;
        margin: 0;
        padding: 0;
        font-family: var(--title-font-family);
        font-weight: 600;
        text-transform: none;
        font-variant-caps: normal;
    }
    .footer-links .footer-links-box {
        display: flex;
        flex-direction: column;
    }
    .footer-links .footer-links-box a {
        color: var(--default-white);
        font-size: 4vw;
        line-height: 2;
        font-family: var(--body-font-family);
        font-weight: 400;
        text-decoration: none;
        margin-bottom: .5rem;
    }
}

/*************** COPYRIGHT ****************/ 
@media only screen and (max-width: 50.99rem) {
    .web-policy {
        justify-content: flex-end;
        padding-right: 10px;
    }
    .site-1 .adminfootericon {
        bottom: 40px
    }

    .site-2 .adminfootericon {
        bottom: 40px
    }
}

/*************** MODULES ******************/

.moduletable .nav.menu, .moduletable .unstyled {background: var(--primary-color);} 
.moduletable .nav.menu li.current.active a, .moduletable .nav.menu li a:hover {    
    color: var(--default-white); 
    background: var(--secondary-color);
} 
/*************** SECTIONS *****************/
/*************** MOBILE *******************/

.g-offcanvas-toggle {
  background: var(--default-white);
  display: grid;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  box-shadow: var(--default-box-shadow);
}

/*************** ADS **********************/

@media only screen and (min-width: 50.99rem) {
    #site-grid #g-container-main {
        padding-bottom: 3vw;
    }
}

@media only screen and (max-width: 50.99rem) {
    .grid.ph-sidebyside-mobile .g-array-item-read-more {
        opacity: 0;
    }
    .grid.ph-sidebyside-mobile .g-array-item-title {
        padding: 1rem;
    }
}

@media only screen and (min-width: 50.99rem) {
    .search-page button.btn {
        background: var(--primary-color)!important;
    }
    .search-page button.btn:hover {
        background: var(--secondary-color)!important;
    }
}

@media only screen and (max-width: 50.99rem) {
    .search-page button.btn {
        background: var(--primary-color)!important;
    }
    .search-page button.btn:hover {
        background: var(--secondary-color)!important;
    }
}

@media only screen and (max-width: 50.99rem) {
    .ph-sidebyside-mobile .g-array-item-read-more {
        opacity: 0;
    }
    .ph-sidebyside-mobile .g-array-item-title {
        padding: 1rem;
    }
}

@media only screen and (min-width: 50.99rem) {
    .bilingual {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 2vw;
    }
    .bilingual .englishtext {
        flex: 1;
    }
    .bilingual .spanishtext {
        flex: 1;
        font-style: italic;
    }
}

@media only screen and (max-width: 50.99rem) {
    .bilingual {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    .bilingual .englishtext {
        flex: 1;
    }
    .bilingual .spanishtext {
        flex: 1;
        font-style: italic;
    }
}

@media only screen and (min-width: 50.99rem) {
    .bulletin-page #g-mainbar > .g-grid:nth-child(1) {
        display: none!important;
    }
    .bulletin-page .docman_category {
        display: none!important;
    }
}

@media only screen and (max-width: 50.99rem) {
    .bulletin-page #g-mainbar > .g-grid:nth-child(1) {
        display: none!important;
    }
    .bulletin-page .docman_category {
        display: none!important;
    }
}

/* Image Paths for Particle Template */
/* All images used in the particle template need to be updated here */

.style-1303 #g-footer:has([class*="-1303"]) {background-image: url('/images/template/parallax1.jpg'); background-size: cover; background-position: center; background-repeat: no-repeat;}

@media (min-width: 50.99rem) {
  .style-201 .g-container:has([class*="-201"]) {background-image: url('/images/template/header-church-transparent-background.png'); background-position: center; background-size: cover; background-repeat: no-repeat;}
  .style-202 .g-container:has([class*="-202"]) {background-image: url("/images/template/header-church-transparent-background.png"); background-position: center; background-size: cover; background-repeat: no-repeat;}
  .style-301 .mass-times-301 {background: url('/images/template/masstimes.jpg') 0% no-repeat; background-size: cover; background-position: center;}
  .style-303 .mass-times-303 {background: url('/images/template/masstimes.jpg') 0% no-repeat; background-size: cover; background-position: center;}
  .style-304 .mass-times-304 {background: url('/images/template/masstimes.jpg') 0% no-repeat; background-size: cover; background-position: center;}
  .style-305 .mass-times-305 {background: url('/images/template/masstimes.jpg') 0% no-repeat; background-size: cover; background-position: center;}
  .style-1001 :is(#g-navigation, #g-slideshow, #g-header, #g-above, #g-feature, #g-showcase, #g-utility, #g-container-main, #g-expanded, #g-extension, #g-bottom, #g-footer, #g-copyright):has([class*="-1001"]) {background: url('/images/template/parallax1.jpg') 50% 50% no-repeat;}
  .mockup-ads.particle-template .g-block:has(div.adside) .adside {background-image: url("/images/template/side-ads.png");}
  .mockup-ads.particle-template .adhorizontal {background-image: url("/images/template/horizontal-ads.png");}
}

@media (max-width: 50.99rem) {
   .mockup-ads.particle-template .g-block:has(div.adside) .adside {background-image: url("/images/template/side-ads.png");}
   .mockup-ads.particle-template .adhorizontal {background-image: url("/images/template/horizontal-ads-mobile.png");}
}

@media only screen and (min-width: 50.99rem) {
    body[class*="-sub"]:not(.sponsorshippage) #g-mainbar.section-padding-5 > .g-grid > .g-block > .g-content {
        margin: 0!important;
        padding: 0!important;
    }
    body[class*="-sub"]:not(.sponsorshippage) #g-mainbar.section-padding-5:has(.page-header) > .g-grid > .g-block > .g-content {
        margin: .625rem 0!important;
        padding: 1.5rem 0!important;
    }
    body[class*="-sub"]:not(.sponsorshippage) #g-container-main:has(#g-mainbar.section-padding-5, #g-aside) {
        margin: 0!important;
        padding: 0 5%!important;
    }
    body[class*="-sub"]:not(.sponsorshippage) #g-container-main:has(#g-mainbar.section-padding-5, #g-aside) #g-mainbar.section-padding-5 {
        margin: 0!important;
        padding: 0!important
    }
    body[class*="-sub"]:not(.sponsorshippage) #g-container-main:has(#g-mainbar.section-padding-5, #g-aside) #g-mainbar.section-padding-5 > .g-grid > .g-block > .g-content {
        margin: 0!important;
        padding: 0 5% 0 0!important;
    }
    body[class*="-sub"]:not(.sponsorshippage) #g-container-main:has(#g-mainbar.section-padding-5, #g-aside) #g-mainbar.section-padding-5:has(.page-header) > .g-grid > .g-block > .g-content {
        margin: .625rem 0!important;
        padding: 1.5rem 5% 1.5rem 0!important;
    }
    body[class*="-sub"]:not(.sponsorshippage) #g-page-surround #g-container-main:has(.bulletin-page) #g-mainbar {
        padding-top: 2rem !important;
    }
}

@media only screen and (max-width: 50.99rem) {
    body[class*="-sub"] #g-mainbar.section-padding-5 > .g-grid > .g-block > .g-content {
        margin: 0!important;
        padding: 0!important;
    }
}

/*  */

@media only screen and (min-width: 50.99rem) {
    #g-top-nav {
        display: none!important;
    }
    #g-mobile-fixed-nav {
        display: none!important;
    }
    body[class*="-sub"]:not(.sponsorshippage) #g-page-surround #g-container-main:has(.k-ui-namespace.com_docman) {
        padding-top: 3% !important;
      }
}

@media only screen and (max-width: 50.99rem) {
    #g-top-nav {
        display: none!important;
    }
    #g-mobile-fixed-nav {
        display: none!important;
    }
}

body {background-color: var(--primary-color);}
@media only screen and (max-width: 50.99rem) {
@media (display-mode: standalone) {
    #g-top-nav {
        display: flex!important;
    }
    #g-mobile-fixed-nav {
        display: flex!important;
    }
    #g-top.modern-alert-padding {
        padding: 2rem 5%!important;
    }
    body {background-color: var(--primary-color);}
    #g-offcanvas {height: calc(100% - 120pt); top: 40pt; bottom: 80pt;}
    #g-top {margin-top: 40pt!important;}
    #g-navigation .g-logo {display: none;}
    #g-top-nav .g-particle:has(.g-logo) {width: 100%;}
    #g-top-nav .g-logo {text-align: center; display: flex; align-items: center; justify-content: center; width: 100%; height: 40pt;}
    #g-top-nav .g-logo img {height: 80%; width: auto;}
    #g-page-surround .g-offcanvas-toggle {display: none;}
    #g-page-surround {background: var(--primary-color);}
    #g-top-nav {display: flex; position: fixed; top: 0; left: 0; right: 0; width: 100%; height: 40pt; background: var(--primary-color); z-index: 1000; box-shadow: var(--default-box-shadow);}
    .g-offcanvas-toggle {position: fixed!important; z-index: 1001; top: 0; left: 10pt; height: 40pt; font-size: 23pt; display: flex; justify-content: center; align-items: center; background: none!important; border-radius: unset; box-shadow: unset;}
    .g-offcanvas-toggle {color: var(--default-white);} 
    .g-offcanvas-toggle .fa-fw {text-shadow: none;}
    #g-container-footer {padding-bottom: 80pt!important;}
    #g-mobile-fixed-nav {display: flex; height: 80pt; background: var(--primary-color); color: var(--default-white); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); z-index: 1000; position: fixed; bottom: 0; left: 0; right: 0; width: 100%; box-shadow: var(--default-box-shadow)}
    .mobile-nav-link {color: var(--default-white); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; height: 60pt;}
    .mobile-nav-link:hover {color: var(--secondary-color);}
    .mobile-fixed-nav {width: 100%; height: 60pt;}

    .mobile-fixed-nav {
        margin: 0;
        padding: 0;
        display: flex;
        width: 100%;
        align-items: center;
        overflow: hidden;
    }
    .mobile-fixed-nav .g-particle {
        margin: 0;
        padding: 0;
        width: 100%;
    }
    .mobile-fixed-nav .g-particle > div {
        margin: 0;
        padding: 0;
    }
    .mobile-fixed-nav .g-blockcontent {
        margin: 0;
        padding: 0;
    }
    .mobile-fixed-nav .g-blockcontent-subcontent {
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 1pt;
    }
    .mobile-fixed-nav .g-blockcontent-subcontent-block {
        margin: 0;
        padding: 0;
        flex: 1;
        position: relative;
    }
    .mobile-fixed-nav .g-blockcontent-subcontent-block-content {
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .mobile-fixed-nav .g-blockcontent-subcontent-title-icon {
        margin: 0;
        padding: 0;
        order: 1;
        color: var(--default-white);
        font-size: 5vw;
    }
    .mobile-fixed-nav .g-blockcontent-subcontent-title {
        margin: 0;
        padding: 0;
        order: 2;
    }
    .mobile-fixed-nav .g-blockcontent-subcontent-title-text {
        margin: 0;
        padding: 0;
        color: var(--default-white);
        font-size: 4vw;
        font-family: var(--body-font-family);
    }
    .mobile-fixed-nav .g-blockcontent-buttons {
        margin: 0;
        padding: 0;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100%;
        width: 100%;
        opacity: 0;
    }
    .mobile-fixed-nav .g-blockcontent-buttons a {
        margin: 0;
        padding: 0;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100%;
        width: 100%;
        opacity: 0;
    }
}
}

.search-dropdwn {height: 100%; width: 100%; display: flex; align-items: center; justify-content: center;}

#dropdwn-outer-box {height: 357px; width: 488px; position: relative; display: flex; align-items: center; justify-content: center; flex-direction: column;}
#dropdwn-button {height: 15%; width: 100%; display: flex; align-items: center; justify-content: space-between; border-radius: 0; position: relative; background: var(--primary-color);}
#dropdwn-button:after {
    content: '\f0d7';
    font-weight: 900;
    font-family: 'Font Awesome 6 Free';
    color: var(--secondary-color);
    padding-right: 1vw;
    font-size: 2vw;
}
#dropdwn-button:hover {cursor: pointer; background: rgba(var(--tertiary-rgb),.9);}
#dropdwn-button i {position: absolute; right: 20px; color: #ffffff; font-size: 1.4vw;}
#dropdwn-button p {color: #ffffff; margin: 0 0 0 20px;}

#dropdwn-menu {
    overflow-x: hidden!important; 
    position: absolute; 
    left: 0; 
    right: 0; 
    top: 57%; 
    /*height: 154px; */
    background: rgba(var(--secondary-rgb),1); 
    border-right: 2px solid #ffffff; 
    overflow: scroll; 
    border-left: 2px solid #ffffff; 
    border-bottom: 2px solid #ffffff; 
    border-bottom-left-radius: 7px; 
    border-bottom-right-radius: 7px; 
    width: 100%;
}
#dropdwn-menu::-webkit-scrollbar {
    width: 5px;
    background: transparent;
    overflow-x: hidden;
}
#dropdwn-menu::-webkit-scrollbar-track {
    background: transparent;
}

#dropdwn-menu::-webkit-scrollbar-thumb {
    background: #ffffff;
}
#dropdwn-menu::-webkit-scrollbar-thumb:hover {
    background: #ffffff;
}
#dropdwn-menu::-webkit-scrollbar-corner {
    background: transparent;
    display: none;
}

#dropdwn-menu .weblinks a {color: #ffffff;}
#dropdwn-menu .weblinks a:hover {background: rgba(255,255,255,.4);}
#dropdwn-menu .weblinks li {list-style: none; height: 80px; display: flex; position: relative; align-items: center; margin: 0 0 0 0;}
#dropdwn-menu .weblinks li a {position: absolute; top: 0; bottom: 0; left: 0; right: 0; height: 100%; width: 100%; display: flex; align-items: center; padding: 0 0 0 20px;}
#dropdwn-menu .weblinks li p {margin: 0 0 0 20px;}
#dropdwn-menu .weblinks {margin: 0; padding: 0;}

.hidden-dropdwn {display: none;}
.hidden-radius {border-bottom-left-radius: 0px!important; border-bottom-right-radius: 0px!important;}
.dropdwn-button-background {background: rgb(29, 50, 77);}

@media only screen and (min-width: 50.99rem) {
    #dropdwn-outer-box {
        height: fit-content;
    }
}

@media only screen and (max-width: 50.99rem) {
    .homelayout #g-showcase > .g-grid > .g-block:last-child .g-content {padding: 0 0 initial 0; margin: 0 0 initial 0;}
    
    #dropdwn-menu .weblinks li a {font-size: 3vw;}

    #dropdwn-button {height: 15%; width: 90%; display: flex; align-items: center; justify-content: space-between; border-radius: 0; position: relative; background: var(--primary-color);}

    #dropdwn-outer-box {background-size: 100%!important; width: 100%;}
    #dropdwn-button {height: 25%;}
    #dropdwn-button i {font-size: 3vw;}

    #dropdwn-text {font-size: 4vw;}

    #dropdwn-menu {
        overflow-x: hidden!important; 
        position: absolute; 
        left: 5%; 
        right: 5%; 
        top: 57%; 
        height: 154px; 
        background: rgba(var(--secondary-rgb),1); 
        border-right: 2px solid #ffffff; 
        overflow: scroll; 
        border-left: 2px solid #ffffff; 
        border-bottom: 2px solid #ffffff; 
        border-bottom-left-radius: 7px; 
        border-bottom-right-radius: 7px; 
        width: 90%;
    }
}

.grid-articles.grid-staff-links .g-array-item-text a:not(a.button) {
    color: var(--secondary-color);
}

@media only screen and (max-width: 50.99rem) {
    .no-grid-spacing .g-content-array {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
}