/* ARTWORK NOTES
--------------------------------------------

--------------------------------------------
*/
html body.site-home {
    --section-above-bg: var(--secondary-color);

    --section-container-main-bg: var(--background-color);
    --section-extension-bg: var(--primary-color);
}

html body {
    --side-menu-bg: var(--primary-color);
    --side-menu-bg-hover: var(--secondary-color);
    --side-menu-font-size-desktop: min(1.25vw, 1.25rem);
    --side-menu-font-family: var(--body-font-family);
    --side-menu-font-weight: 400;

    --section-footer-bg: var(--default-white);
}

html body #g-navigation {
    --main-menu-text-color: var(--default-white);
    --main-menu-text-color-hover: var(--default-white);
	--main-menu-bg: var(--primary-color);
    --main-menu-bg-color: var(--primary-color);

    --navigation-floating-social-padding: min(1vw, 1rem);

    --section-navigation-bg: var(--default-white);
}

.g-array-item-text {
    margin: 0!important;
    padding: 0!important;
}

a {color: var(--secondary-color);}

@media only screen and (min-width: 50.99rem) {
    .site-sub.site.withmaxwidth #g-header > .g-container {
        width: 100%;
        max-width: 100%;
    }

    #hero-title-text {
        width: 100%;
        max-width: 1440px;
        transform: translateX(-50%);
        left: 50%;
        right: unset;
        padding-left: min(5vw, 5rem);
    }

    .grid-mobile-stacked .g-item-title {
        padding: min(.75vw, .75rem);
    }
}

/* NAVIGATION */
@media only screen and (min-width: 50.99rem) {
    #g-navigation > .g-container > .g-grid:has(.g-main-nav) {
        position: relative;
    }
    #g-navigation > .g-container > .g-grid:has(.g-main-nav):before {
        content: '';
        background: var(--primary-color);
        height: 100%;
        width: 3000%;
        margin-left: -500%;
        margin-right: -500%;
        position: absolute;
    }
}

@media only screen and (min-width: 50.99rem) {
    #g-navigation .g-main-nav .g-sublevel>li>.g-menu-item-container {
        color: var(--default-white);
    }
    #g-navigation .g-main-nav .g-sublevel>li>.g-menu-item-container:hover {
        background: var(--secondary-color);
        color: var(--default-white)!important;
    }

    .space-hog .sh-circle-icon.size-20 {
        --sh-circle-icon-negative-margin: max(-7vw, -7rem);
    }

    .sh-circle-icon img {
        border-radius: 50%;
        overflow: hidden;
        box-shadow: var(--default-box-shadow);
    }

    .space-hog .g-main-nav .g-toplevel>li:not(.g-toplevel>li:has(.g-social-items))>.g-menu-item-container {
        padding: min(1.5vw, 1.5rem) min(1vw, 14.4px);
    }

    .space-hog > .g-container > .g-grid:has(.g-main-nav) .g-social-items a {
        color: var(--default-white)!important;
    }
    .space-hog > .g-container > .g-grid:has(.g-main-nav) .g-social-items a:hover {
        color: var(--tertiary-color)!important;
    }
}

@media only screen and (min-width: 50.99rem) {
    .ql-toplinks-studius .g-blockcontent-subcontent {
        align-items: stretch!important;
    }
    .ql-toplinks-studius .g-blockcontent-subcontent-block-content {
        height: 100%;
        --ql-toplinks-item-border-radius: .5rem;
    }
    .ql-toplinks-studius .g-blockcontent-subcontent-title-icon {
        color: var(--primary-color);
    }
    .ql-toplinks-studius .g-blockcontent-subcontent-title {
        --ql-toplinks-title-color: var(--primary-color);
        --ql-toplinks-title-font-size: min(1vw, 1rem);
        --ql-toplinks-title-text-transform: uppercase;
        --ql-toplinks-title-font-weight: 500;
    }
}

@media only screen and (max-width: 50.99rem) {
    #g-navigation > .g-container {
        padding: 1rem 0!important;
    }
    .ql-toplinks-studius .g-blockcontent-subcontent {
        align-items: stretch!important;
    }
    .ql-toplinks-studius .g-blockcontent-subcontent-block-content {
        height: 100%;
        --ql-toplinks-item-border-radius: .5rem;
    }
    .ql-toplinks-studius .g-blockcontent-subcontent-title-icon {
        color: var(--primary-color);
    }
    .ql-toplinks-studius .g-blockcontent-subcontent-title {
        --ql-toplinks-title-color-mobile: var(--primary-color);
        --ql-toplinks-title-font-size: min(1vw, 1rem);
        --ql-toplinks-title-text-transform: uppercase;
        --ql-toplinks-title-font-weight: 500;
    }
}

/*SLIDESHOW*/
.site-home #g-slideshow {
    --slideshow-rotate-overlay-bg: linear-gradient(to top, rgba(var(--default-white-rgb),1), rgba(var(--default-white-rgb),.5));
}

@media only screen and (min-width: 50.99rem) {
    .site-home #g-slideshow > .g-container {
        padding: 0!important;
    }

    .floatator > .g-container > .g-grid {
        align-items: stretch;
        gap: 0;
    }

    .slideshow-spacing > .g-container > .g-grid > .g-block.size-70 {
        flex: 66;
    }
    .slideshow-spacing > .g-container > .g-grid > .g-block.size-30 {
        flex: 34;
    }

    .floatator .mass-times-block {
        max-height: unset!important;
        background: url('/images/template/mass-schedule-background.jpg') 50% 0% no-repeat;
        background-size: cover;
    }
    .floatator .mass-times-block > .g-content {
        background: rgba(var(--primary-color-rgb),.8);
        backdrop-filter: blur(5px);
        --webkit-backdrop-filter: blur(5px);
        padding: min(2vw, 2rem);
    }

    .floatator .fullwidth-swiper {
        border-radius: 0;
    }

    .mass-times-block .g-array-item-text :is(h1,h2,h3,h4,h5,h6) {
        color: var(--default-white);
    }
    .mass-times-block .g-array-item-text :is(h1,h2,h3,h4,h5,h6).mt-big-title {
        font-size: min(3vw, 3rem);
        border-bottom: 2px solid var(--tertiary-color);
    }
    .mass-times-block .g-array-item-text :is(p,li) {
        color: var(--default-white);
        margin: 0 0 min(1.5vw, 1.5rem) 0;
    }
}

@media only screen and (max-width: 50.99rem) {
    .floatator .mass-times-block {
        max-height: unset!important;
        background: url('/images/template/mass-schedule-background.jpg') 50% 0% no-repeat;
        background-size: cover;
    }
    .floatator .mass-times-block > .g-content {
        background: rgba(var(--primary-color-rgb),.8);
        backdrop-filter: blur(5px);
        --webkit-backdrop-filter: blur(5px);
        padding: 1.5rem;
    }

    .mass-times-block .g-array-item-text :is(h1,h2,h3,h4,h5,h6) {
        color: var(--default-white);
    }
    .mass-times-block .g-array-item-text :is(h1,h2,h3,h4,h5,h6).mt-big-title {
        border-bottom: 2px solid var(--tertiary-color);
    }
    .mass-times-block .g-array-item-text :is(p,li) {
        color: var(--default-white);
        margin: 0 0 1.5rem 0;
    }
}

/*HEADER*/
@media only screen and (min-width: 50.99rem) {
    .site-home #g-header > .g-container {
        padding: min(3vw, 3rem) min(2.5vw, 2.5rem) min(5vw, 5rem) min(2.5vw, 2.5rem)!important;
    }
}

@media only screen and (max-width: 50.99rem) {
    .site-home.withmaxwidth #g-header > .g-container {
        padding: 2rem 1rem!important;
    }
}

@media only screen and (min-width: 50.99rem) {
    .ql-stainedglass {
        margin: 0;
        padding: 0;
    }
    .ql-stainedglass > .g-content {
        margin: 0;
        padding: 0;
    }
    .ql-stainedglass > .g-content > div {
        margin: 0;
        padding: 0;
    }
    .ql-stainedglass .g-blockcontent {
        margin: 0;
        padding: 0;
    }
    .ql-stainedglass .g-blockcontent-subcontent {
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: row;
        gap: min(2vw, 2rem);
    }
    .ql-stainedglass .g-blockcontent-subcontent-block {
        margin: 0;
        padding: 0;
        transition: .3s all ease-in-out;
        position: relative;
        box-shadow: var(--default-box-shadow);
        border-top-left-radius: 50% min(5vw, 5rem);
        border-top-right-radius: 50% min(5vw, 5rem);
        overflow: hidden;
    }
    .ql-stainedglass .g-blockcontent-subcontent-block:hover .g-blockcontent-subcontent-title {
        padding: 0;
    }
    .ql-stainedglass .g-blockcontent-subcontent-block:hover .g-blockcontent-subcontent-title-text {
        border: 2px solid rgba(var(--default-white-rgb),0);
        border-top-left-radius: 50% min(5vw, 5rem);
        border-top-right-radius: 50% min(5vw, 5rem);
    }
    .ql-stainedglass .g-blockcontent-subcontent-block-content {
        margin: 0;
        padding: 0;
        transition: .3s all ease-in-out;
    }
    .ql-stainedglass .g-blockcontent-subcontent-img {
        margin: 0;
        padding: 0;
        transition: .3s all ease-in-out;
    }
    .ql-stainedglass .g-blockcontent-subcontent-title {
        margin: 0;
        padding: min(.75vw, .75rem);
        transition: .3s all ease-in-out;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        pointer-events: none!important;
        z-index: 3;
        display: flex;
        background: rgba(var(--primary-color-rgb),.7);
        color: var(--default-white);
        text-align: center;
        font-size: min(1.5vw, 1.5rem);
        font-weight: 500;
        text-transform: uppercase;
        font-variant-caps: normal;
        line-height: 1.2;
    }
    .ql-stainedglass .g-blockcontent-subcontent-title-text {
        margin: 0;
        padding: min(1vw, 1rem);
        transition: .3s all ease-in-out;
        height: 100%;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        border: 2px solid var(--default-white);
        border-top-left-radius: 50% min(4.25vw, 4.25rem);
        border-top-right-radius: 50% min(4.25vw, 4.25rem);
        color: var(--default-white);
        text-align: center;
        font-size: min(1.5vw, 1.5rem);
        font-weight: 500;
        text-transform: uppercase;
        font-variant-caps: normal;
        line-height: 1.2;
    }
    .ql-stainedglass .g-blockcontent-buttons {
        margin: 0;
        padding: 0;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100%;
        width: 100%;
        opacity: 0;
        z-index: 2;
    }
    .ql-stainedglass .g-blockcontent-buttons a {
        margin: 0;
        padding: 0;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100%;
        width: 100%;
        opacity: 0;
        z-index: 2;
    }
}

@media only screen and (max-width: 50.99rem) {
    .ql-stainedglass {
        margin: 0;
        padding: 0;
    }
    .ql-stainedglass > .g-content {
        margin: 0;
        padding: 0;
    }
    .ql-stainedglass > .g-content > div {
        margin: 0;
        padding: 0;
    }
    .ql-stainedglass .g-blockcontent {
        margin: 0;
        padding: 0;
    }
    .ql-stainedglass .g-blockcontent-subcontent {
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
    }
    .ql-stainedglass .g-blockcontent-subcontent-block {
        margin: 0;
        padding: 0;
        transition: .3s all ease-in-out;
        position: relative;
        box-shadow: var(--default-box-shadow);
        border-top-left-radius: 50% 4rem;
        border-top-right-radius: 50% 4rem;
        overflow: hidden;
        flex: 1;
        min-width: calc(50% - .5rem);
        max-width: calc(50% - .5rem);
        justify-content: center;
    }
    .ql-stainedglass .g-blockcontent-subcontent-block:hover .g-blockcontent-subcontent-title {
        padding: 0;
    }
    .ql-stainedglass .g-blockcontent-subcontent-block:hover .g-blockcontent-subcontent-title-text {
        border: 2px solid rgba(var(--default-white-rgb),0);
        border-top-left-radius: 50% 4rem;
        border-top-right-radius: 50% 4rem;
    }
    .ql-stainedglass .g-blockcontent-subcontent-block-content {
        margin: 0;
        padding: 0;
        transition: .3s all ease-in-out;
    }
    .ql-stainedglass .g-blockcontent-subcontent-img {
        margin: 0;
        padding: 0;
        transition: .3s all ease-in-out;
    }
    .ql-stainedglass .g-blockcontent-subcontent-title {
        margin: 0;
        padding: .75rem;
        transition: .3s all ease-in-out;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        pointer-events: none!important;
        z-index: 3;
        display: flex;
        background: rgba(var(--primary-color-rgb),.7);
        color: var(--default-white);
        text-align: center;
        font-size: 4vw;
        font-weight: 500;
        text-transform: uppercase;
        font-variant-caps: normal;
        line-height: 1.2;
    }
    .ql-stainedglass .g-blockcontent-subcontent-title-text {
        margin: 0;
        padding: 1rem;
        transition: .3s all ease-in-out;
        height: 100%;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        border: 2px solid var(--default-white);
        border-top-left-radius: 50% 3.25rem;
        border-top-right-radius: 50% 3.25rem;
        color: var(--default-white);
        text-align: center;
        font-size: 4vw;
        font-weight: 500;
        text-transform: uppercase;
        font-variant-caps: normal;
        line-height: 1.2;
    }
    .ql-stainedglass .g-blockcontent-buttons {
        margin: 0;
        padding: 0;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100%;
        width: 100%;
        opacity: 0;
        z-index: 2;
    }
    .ql-stainedglass .g-blockcontent-buttons a {
        margin: 0;
        padding: 0;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100%;
        width: 100%;
        opacity: 0;
        z-index: 2;
    }
}

/*MAIN*/
@media only screen and (min-width: 50.99rem) {
    .site-home #g-container-main > .g-container {
        padding: min(6vw, 6rem) min(2.5vw, 2.5rem)!important;
    }
    .site-home #g-container-main > .g-container > .g-grid {
        display: flex;
        flex-direction: row;
        gap: min(3vw, 3rem);
    }
    .site-home #g-container-main > .g-container > .g-grid > .g-block:nth-child(1) {
        flex: 2.2;
        width: unset;
        max-width: unset;
    }
    .site-home #g-container-main > .g-container > .g-grid > .g-block:nth-child(2) {
        flex: 1;
        width: unset;
        max-width: unset;
    }
    .site-home #g-container-main > .g-container > .g-grid > .g-block:nth-child(3) {
        flex: unset;
        width: unset;
        max-width: 165px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .site-home #g-sidebar > .g-grid {
        display: flex;
        flex-direction: row;
        gap: min(3vw, 3rem);
    }
    .site-home #g-sidebar > .g-grid > .g-block {
        flex: 1;
        width: unset;
        max-width: unset;
    }
}

@media only screen and (max-width: 50.99rem) {
    .site-home.withmaxwidth #g-container-main > .g-container {
        padding: 2rem 0!important;
    }
    .site-home #g-container-main > .g-container > .g-grid {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    .site-home #g-container-main > .g-container > .g-grid > .g-block:nth-child(1) {
        flex: 1;
        width: 100%;
        max-width: 100%;
    }
    .site-home #g-container-main > .g-container > .g-grid > .g-block:nth-child(2) {
        flex: 1;
        width: 100%;
        max-width: 100%;
    }
    .site-home #g-container-main > .g-container > .g-grid > .g-block:nth-child(3) {
        flex: 1;
        width: 100%;
        max-width: 100%;
    }

    .site-home #g-sidebar > .g-grid {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    .site-home #g-sidebar > .g-grid > .g-block {
        flex: 1;
        width: 100%;
        max-width: 100%;
    }
}

@media only screen and (min-width: 50.99rem) {
    .site-home #g-sidebar {height: 100%;}
    .site-home #g-sidebar > .g-grid {height: 100%;}
    .site-home #g-mainbar {height: 100%;}
    .site-home #g-mainbar > .g-grid {height: 100%;}
    .up-widget-container {height: 100%;}
    .up-widget-container > .g-content {height: 100%;}
    .up-widget-container > .g-content > .g-content-array {height: 100%;}
    .up-widget-container > .g-content > .g-content-array > .g-grid {height: 100%;}
    .up-widget-container > .g-content > .g-content-array > .g-grid > .g-block {height: 100%;}
    .up-widget-container > .g-content > .g-content-array > .g-grid > .g-block > .g-content {height: 100%;}
    .up-widget-container > .g-content > .g-content-array > .g-grid > .g-block > .g-content > .g-array-item {height: 100%;}
    .up-widget-container > .g-content > .g-content-array > .g-grid > .g-block > .g-content > .g-array-item > .g-array-item-text {height: 100%;}
    .up-widget-wrapper {height: 100%; display: flex; flex-direction: column; gap: min(2vw, 2rem);}
    .up-widget-wrapper .up-widget-feed {
        flex: 1;
    }

    .up-widget-wrapper .up-widget-title .g-title {
        margin: 0;
        padding: 0;
        color: var(--primary-color);
        font-size: min(2.25vw, 2.25rem);
        text-align: left;
        font-weight: 500;
        line-height: 1.5;
        border-bottom: 3px solid var(--tertiary-color);
        text-transform: none;
        font-variant-caps: normal;
        background: none;
    }

    .up-widget-wrapper .up-widget-button .button {
        background: var(--default-white);
        color: var(--primary-color);
        border: 2px solid var(--primary-color);
        border-radius: .75rem;
        overflow: hidden;
        padding: min(1vw, 1rem);
        font-weight: 700;
        line-height: 1;
        font-size: min(1.25vw, 1.25rem);
        width: 100%;
    }
}

@media only screen and (max-width: 50.99rem) {
    .up-widget-wrapper {height: 100%; display: flex; flex-direction: column; gap: 1rem;}
    .up-widget-wrapper .up-widget-feed {
        flex: 1;
    }
    .up-widget-wrapper .up-widget-title {
        padding: 0 1rem!important;
    }
    .up-widget-wrapper .up-widget-title .g-title {
        margin: 0;
        padding: 0;
        color: var(--primary-color);
        font-size: 8vw;
        text-align: center;
        font-weight: 500;
        line-height: 1.5;
        border-bottom: 3px solid var(--tertiary-color);
        text-transform: none;
        font-variant-caps: normal;
        background: none;
    }

    .up-widget-wrapper .up-widget-button {
        padding: 0 1rem;
    }
    .up-widget-wrapper .up-widget-button .button {
        background: var(--default-white);
        color: var(--primary-color);
        border: 2px solid var(--primary-color);
        border-radius: .75rem;
        overflow: hidden;
        padding: 1rem;
        font-weight: 700;
        line-height: 1;
        font-size: 4vw;
        width: 100%;
    }
}

@media only screen and (min-width: 50.99rem) {
    .site-home #grid-addpic.grid-articles {
        margin: 0!important;
    }
    .site-home #grid-addpic.grid-articles .g-array-item-title {
        padding-bottom: min(1vw, 1rem)!important;
    }
}

@media only screen and (min-width: 50.99rem) {
    .arch-news-feed {
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: min(1.5vw, 1.5rem);
    }
    .arch-news-feed .arch-news-item {
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: row;
        gap: min(.75vw, .75rem);
        justify-content: flex-start;
        align-items: flex-start;
        background: var(--default-white);
        border-radius: 1rem;
        overflow: hidden;
        box-shadow: var(--default-box-shadow);
        padding: min(.75vw, .75rem);
    }
    .arch-news-feed .arch-news-image {
        margin: 0;
        padding: 0;
    }
    .arch-news-feed .arch-news-image img {
        width: min(6vw, 6rem);
        height: auto;
        aspect-ratio: 1/1;
        object-position: center;
        object-fit: cover;
        border-radius: .25rem;
    }
    .arch-news-feed .arch-news-content {
        margin: 0;
        padding: 0;
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: min(.5vw, .5rem);
    }
    .arch-news-feed .arch-news-title {
        margin: 0;
        padding: 0;
        font-size: min(1.25vw, 1.25rem);
        line-height: 1.3;
        color: var(--primary-color);
        font-family: var(--body-font-family);

        display: -webkit-box;
        -webkit-box-orient: vertical;
        --webkit-line-clamp: 2;
        overflow: hidden;
    }
    .arch-news-feed .arch-news-title a {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        --webkit-line-clamp: 2;
        overflow: hidden;
    }
    .arch-news-feed .arch-news-text {
        margin: 0;
        padding: 0;
        font-size: min(1vw, 1rem);
        line-height: 1.3;
        color: var(--default-black);
        font-family: var(--body-font-family);
    }
}

@media only screen and (max-width: 50.99rem) {
    .arch-news-feed {
        margin: 0;
        padding: 0 1rem;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    .arch-news-feed .arch-news-item {
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        background: var(--default-white);
        border-radius: 1rem;
        overflow: hidden;
        box-shadow: var(--default-box-shadow);
        padding: .75rem;
    }
    .arch-news-feed .arch-news-image {
        margin: 0;
        padding: 0;
    }
    .arch-news-feed .arch-news-image img {
        width: 100%;
        height: auto;
        aspect-ratio: 2.39/1;
        object-position: center;
        object-fit: cover;
        border-radius: .25rem;
    }
    .arch-news-feed .arch-news-content {
        margin: 0;
        padding: 0;
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: .5rem;
    }
    .arch-news-feed .arch-news-title {
        margin: 0;
        padding: 0;
        font-size: 4vw;
        line-height: 1.3;
        color: var(--primary-color);
        font-family: var(--body-font-family);

        display: -webkit-box;
        -webkit-box-orient: vertical;
        --webkit-line-clamp: 2;
        overflow: hidden;
    }
    .arch-news-feed .arch-news-title a {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        --webkit-line-clamp: 2;
        overflow: hidden;
    }
    .arch-news-feed .arch-news-text {
        margin: 0;
        padding: 0;
        font-size: 3.5vw;
        line-height: 1.3;
        color: var(--default-black);
        font-family: var(--body-font-family);
    }
}

@media only screen and (min-width: 50.99rem) {
    .hl-widget-wrapper .up-widget-feed {
        display: flex;
        flex-direction: column;
        gap: min(2vw, 2rem);
    }
    .hl-social-icons .g-social-items {
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }
    .hl-social-icons .g-social-items a {
        font-size: min(2vw, 2rem);
        transition: .3s all ease-in-out;
    }
    .hl-social-icons .g-social-items a:hover {
        opacity: .5;
    }

    .hl-searchbar .g-search input[type="text"] {
        background: var(--default-white)!important;
        border: 2px solid var(--primary-color)!important;
        padding: min(1vw, 1rem) min(1vw, 1rem) min(1vw, 1rem) min(3vw, 3rem)!important;
        font-size: min(1.25vw, 1.25rem);
        border-radius: 1rem;
    }
    .hl-searchbar .g-search form:before {
        width: unset;
        height: unset;
        font-size: min(2vw, 2rem);
        left: min(.5vw, .5rem);
        top: min(.5vw, .5rem);
        bottom: min(.5vw, .5rem);
        line-height: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        color: var(--primary-color);
        opacity: 1;
    }
}

@media only screen and (max-width: 50.99rem) {
    .hl-widget-wrapper .up-widget-feed {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }
    .hl-social-icons .g-social-items {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .hl-social-icons .g-social-items a {
        font-size: 6vw;
        transition: .3s all ease-in-out;
    }
    .hl-social-icons .g-social-items a:hover {
        opacity: .5;
    }

    .hl-searchbar .g-search input[type="text"] {
        background: var(--default-white)!important;
        border: 2px solid var(--primary-color)!important;
        padding: 1rem 1rem 1rem 3rem!important;
        font-size: 4vw;
        border-radius: 1rem;
    }
    .hl-searchbar .g-search form:before {
        width: unset;
        height: unset;
        font-size: 3vw;
        left: .5rem;
        top: .5rem;
        bottom: .5rem;
        line-height: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        color: var(--primary-color);
        opacity: 1;
    }
}

@media only screen and (min-width: 50.99rem) {
    .hl-quicklinks {
        margin: 0;
        padding: 0;
        flex: 1;
    }
    .hl-quicklinks > .g-particle {
        margin: 0;
        padding: 0;
        height: 100%;
    }
    .hl-quicklinks > .g-particle > div {
        margin: 0;
        padding: 0;
        height: 100%;
    }
    .hl-quicklinks .g-blockcontent {
        margin: 0;
        padding: 0;
        height: 100%;
    }
    .hl-quicklinks .g-blockcontent-subcontent {
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: min(1vw, 1rem);
        height: 100%;
    }
    .hl-quicklinks .g-blockcontent-subcontent-block {
        margin: 0;
        padding: min(.75vw, .75rem);
        transition: .3s all ease-in-out;
        position: relative;
        flex: 1;
        background: var(--default-white);
        border: 1px solid var(--primary-color);
        border-radius: .75rem;
        overflow: hidden;
        box-shadow: var(--default-box-shadow);
    }
    .hl-quicklinks .g-blockcontent-subcontent-block:hover {
        transform: scale(1.03);
    }
    .hl-quicklinks .g-blockcontent-subcontent-block-content {
        margin: 0;
        padding: 0;
        transition: .3s all ease-in-out;
        height: 100%;
        display: flex;
        flex-direction: row;
        gap: min(1vw, 1rem);
        justify-content: space-between;
        align-items: center;
    }
    .hl-quicklinks .g-blockcontent-subcontent-block-content:after {
        content: '\f105';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        font-size: min(1vw, 1rem);
        line-height: 1;
        color: var(--primary-color);
    }
    .hl-quicklinks .g-blockcontent-subcontent-title {
        margin: 0;
        padding: 0;
        transition: .3s all ease-in-out;
        color: var(--primary-color);
        font-weight: 700;
        line-height: 1.2;
        font-family: var(--body-font-family);
    }
    .hl-quicklinks .g-blockcontent-subcontent-title-text {
        margin: 0;
        padding: 0;
        transition: .3s all ease-in-out;
        color: var(--primary-color);
        font-weight: 700;
        line-height: 1.2;
        font-family: var(--body-font-family);
    }
    .hl-quicklinks .g-blockcontent-buttons {
        margin: 0;
        padding: 0;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100%;
        width: 100%;
        opacity: 0;
    }
    .hl-quicklinks .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) {
    .hl-quicklinks {
        margin: 0;
        padding: 0;
        flex: 1;
    }
    .hl-quicklinks > .g-particle {
        margin: 0;
        padding: 0;
        height: 100%;
    }
    .hl-quicklinks > .g-particle > div {
        margin: 0;
        padding: 0;
        height: 100%;
    }
    .hl-quicklinks .g-blockcontent {
        margin: 0;
        padding: 0;
        height: 100%;
    }
    .hl-quicklinks .g-blockcontent-subcontent {
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        height: 100%;
    }
    .hl-quicklinks .g-blockcontent-subcontent-block {
        margin: 0;
        padding: 1rem;
        transition: .3s all ease-in-out;
        position: relative;
        flex: 1;
        background: var(--default-white);
        border: 1px solid var(--primary-color);
        border-radius: .75rem;
        overflow: hidden;
        box-shadow: var(--default-box-shadow);
    }
    .hl-quicklinks .g-blockcontent-subcontent-block:hover {
        transform: scale(1.03);
    }
    .hl-quicklinks .g-blockcontent-subcontent-block-content {
        margin: 0;
        padding: 0;
        transition: .3s all ease-in-out;
        height: 100%;
        display: flex;
        flex-direction: row;
        gap: 1rem;
        justify-content: space-between;
        align-items: center;
    }
    .hl-quicklinks .g-blockcontent-subcontent-block-content:after {
        content: '\f105';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        font-size: 4vw;
        line-height: 1;
        color: var(--primary-color);
    }
    .hl-quicklinks .g-blockcontent-subcontent-title {
        margin: 0;
        padding: 0;
        transition: .3s all ease-in-out;
        color: var(--primary-color);
        font-weight: 700;
        line-height: 1.2;
        font-family: var(--body-font-family);
    }
    .hl-quicklinks .g-blockcontent-subcontent-title-text {
        margin: 0;
        padding: 0;
        transition: .3s all ease-in-out;
        color: var(--primary-color);
        font-weight: 700;
        line-height: 1.2;
        font-family: var(--body-font-family);
    }
    .hl-quicklinks .g-blockcontent-buttons {
        margin: 0;
        padding: 0;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100%;
        width: 100%;
        opacity: 0;
    }
    .hl-quicklinks .g-blockcontent-buttons a {
        margin: 0;
        padding: 0;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100%;
        width: 100%;
        opacity: 0;
    }
}

/*EXTENSION*/
@media only screen and (min-width: 50.99rem) {
    .site-home #g-extension > .g-container {
        padding: min(5vw, 5rem) min(2.5vw, 2.5rem)!important;
        display: flex;
        flex-direction: column;
        gap: min(5vw, 5rem);
    }
    .site-home #g-extension > .g-container > .g-grid:nth-child(1) {
        display: flex;
        flex-direction: row;
        gap: min(3vw, 3rem);
    }
    .site-home #g-extension > .g-container > .g-grid:nth-child(1) > .g-block {
        flex: 1;
        width: unset;
        max-width: unset;
    }
}

@media only screen and (max-width: 50.99rem) {
    .site-home.withmaxwidth #g-extension > .g-container {
        padding: 2rem 1rem!important;
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    .site-home #g-extension > .g-container > .g-grid:nth-child(1) {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    .site-home #g-extension > .g-container > .g-grid:nth-child(1) > .g-block {
        flex: 1;
        width: 100%;
        max-width: 100%;
    }
}

@media only screen and (min-width: 50.99rem) {
    .widget-container .widget-wrapper {
        gap: min(2vw, 2rem);
    }
    .widget-container .widget-wrapper .widget-title .g-title {
        color: var(--default-white);
        font-weight: 400;
    }
    .widget-container .widget-wrapper .widget-feed {
        padding: 0;
    }

    .widget-container .widget-wrapper .widget-button .button {
        width: 100%;
        color: var(--primary-color);
        background: var(--default-white);
        text-transform: none;
        padding: min(1vw, 1rem);
    }
    .widget-container .widget-wrapper .widget-button .button:hover {
        color: var(--default-white);
    }
}

@media only screen and (max-width: 50.99rem) {
    .widget-container .widget-wrapper {
        gap: 1rem;
    }
    .widget-container .widget-wrapper .widget-title .g-title {
        color: var(--default-white);
        font-weight: 400;
    }
    .widget-container .widget-wrapper .widget-feed {
        padding: 0;
    }

    .widget-container .widget-wrapper .widget-button .button {
        width: 100%;
        color: var(--primary-color);
        background: var(--default-white);
        text-transform: none;
        padding: 1rem;
    }
    .widget-container .widget-wrapper .widget-button .button:hover {
        color: var(--default-white);
    }
}

@media only screen and (min-width: 50.99rem) {
    .hallow-widget-container p {
        margin: 0;
        padding: 0;
    }
    .hallow-widget-container img {
        width: 100%;
        height: auto;
        border-radius: 1rem;
        overflow: hidden;
        box-shadow: var(--default-box-shadow);
        transition: .3s all ease-in-out;
    }
    .hallow-widget-container img:hover {
        transform: scale(1.02);
    }
}

@media only screen and (max-width: 50.99rem) {
    .hallow-widget-container p {
        margin: 0;
        padding: 0;
    }
    .hallow-widget-container img {
        width: 100%;
        height: auto;
        border-radius: 1rem;
        overflow: hidden;
        box-shadow: var(--default-box-shadow);
        transition: .3s all ease-in-out;
    }
    .hallow-widget-container img:hover {
        transform: scale(1.02);
    }
}

@media only screen and (min-width: 50.99rem) {
    .missionary-widget-wrapper .widget-feed {
        background: var(--default-white)!important;
        border-radius: 1rem!important;
        overflow: hidden!important;
        box-shadow: var(--default-box-shadow)!important;
        padding: min(1.25vw, 1.25rem)!important;
    }

    .mh-wrapper {
        display: flex;
        flex-direction: column;
        gap: min(1vw, 1rem);
    }
    .mh-wrapper .mh-photo {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .mh-wrapper .mh-photo img {
        width: 60%;
        height: auto;
        border-top-left-radius: 50% min(7.5vw, 7.5rem);
        border-top-right-radius: 50% min(7.5vw, 7.5rem);
    }
    .mh-wrapper .mh-content h3 {
        margin: 0;
        padding: 0;
        color: var(--primary-color);
        font-size: min(1.5vw, 1.5rem);
        font-weight: 600;
        font-family: var(--title-font-family);
        line-height: 1.2;
        text-transform: none;
        font-variant-caps: normal;
        border: none;
        background: none;
        margin-bottom: min(.75vw, .75rem);
    }
    .mh-wrapper .mh-content p {
        font-size: min(1.25vw, 1.25rem);
        line-height: 1.4;
        font-weight: 400;
    }
}

@media only screen and (max-width: 50.99rem) {
    .missionary-widget-wrapper .widget-feed {
        background: var(--default-white)!important;
        border-radius: 1rem!important;
        overflow: hidden!important;
        box-shadow: var(--default-box-shadow)!important;
        padding: 1rem!important;
    }

    .mh-wrapper {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    .mh-wrapper .mh-photo {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .mh-wrapper .mh-photo img {
        width: 60%;
        height: auto;
        border-top-left-radius: 50% 7rem;
        border-top-right-radius: 50% 7rem;
    }
    .mh-wrapper .mh-content h3 {
        margin: 0;
        padding: 0;
        color: var(--primary-color);
        font-size: 5vw;
        font-weight: 600;
        font-family: var(--title-font-family);
        line-height: 1.2;
        text-transform: none;
        font-variant-caps: normal;
        border: none;
        background: none;
        margin-bottom: .75rem;
    }
    .mh-wrapper .mh-content p {
        font-size: 4vw;
        line-height: 1.4;
        font-weight: 400;
    }
}

@media only screen and (min-width: 50.99rem) {
    .gcaltohtml {
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: min(1vw, 1rem);
        max-height: 775.83px;
        overflow-y: auto;

        margin-right: -0.35rem;
        padding-right: 0.35rem;

        scrollbar-width: thin;
        scrollbar-color: rgba(255, 255, 255, .8) transparent;
    }
    .gcaltohtml .cc-block {
        margin: 0;
        padding: 0;
        background: var(--default-white);
        border-radius: .5rem;
        overflow: hidden;
        box-shadow: var(--default-box-shadow);
        flex: 0 0 auto;
    }

    .gcaltohtml::-webkit-scrollbar {
        width: 0.7rem;
    }

    .gcaltohtml::-webkit-scrollbar-track {
        background: transparent;
        margin: 0.5rem 0;
        border-radius: 999px;
    }

    .gcaltohtml::-webkit-scrollbar-thumb {
        background: rgba(255,255,255, 0.16);
        border-radius: 999px;
        border: 2px solid transparent;
        background-clip: padding-box;
    }

    .gcaltohtml::-webkit-scrollbar-thumb:hover {
        background: rgba(255,255,255, 0.28);
        border: 2px solid transparent;
        background-clip: padding-box;
    }

    .gcaltohtml .cc-dateblockformat {
        margin: 0;
        padding: 3px min(.5vw, .5rem);
        display: flex;
        flex-direction: row;
        gap: min(1vw, 1rem);
        justify-content: space-between;
        align-items: center;
        background: var(--secondary-color);
    }
    .gcaltohtml .cc-dateset {
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: row;
        gap: min(.5vw, .5rem);
        align-items: center;
    }
    .gcaltohtml .cc-day-of-month-num {
        margin: 0;
        padding: min(.5vw, .5rem);
        font-size: min(1.5vw, 1.5rem);
        color: var(--default-white);
        font-family: var(--title-font-family);
        border-radius: 50%;
        background: transparent;
        aspect-ratio: 1/1;
        height: min(2.5vw, 2.5rem)!important;
        width: auto;
        line-height: 1;
        font-weight: 700;
    }
    .gcaltohtml .cc-month-year {
        margin: 0;
        padding: 0;
        font-size: min(1.4vw, 1.4rem);
        line-height: 1;
        color: var(--default-white);
        font-weight: 600;
        font-family: var(--body-font-family);
        text-align: left;
    }
    .gcaltohtml .cc-dayset {
        margin: 0;
        padding: 0;
        font-size: min(1.4vw, 1.4rem);
        line-height: 1;
        color: var(--default-white);
        font-weight: 600;
        font-family: var(--body-font-family);
        text-align: right;
    }
    .gcaltohtml .cc-eventblock {
        margin: 0;
        padding: min(.75vw, .75rem);
    }
    .gcaltohtml .cc-innereventblock {
        margin: 0;
        padding: 0;
    }
    .gcaltohtml .event {
        margin: 0;
        padding: min(.5vw, .5rem) 0;
        display: flex;
        flex-direction: row;
        gap: min(1.5vw, 1.5rem);
    }
    .gcaltohtml .cc-innereventblock > .event:not(.event:last-child) {
        border-bottom: 1px solid rgba(0,0,0,.3);
    }
    .gcaltohtml .cc-timeofday {
        margin: 0;
        padding: 0;
        flex: 1;
        font-size: min(1.4vw, 1.4rem);
        color: var(--primary-color);
        font-weight: 700;
        font-family: var(--title-font-family);
        line-height: 1.2;
    }
    .gcaltohtml .cc-title {
        margin: 0;
        padding: 0;
        flex: 2.5;
        font-size: min(1.25vw, 1.25rem);
        text-align: left;
        line-height: 1.2;
        font-weight: 400;
        color: var(--default-black);
        font-family: var(--body-font-family);
    }
}

@media only screen and (max-width: 50.99rem) {
    .gcaltohtml {
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        max-height: 500px;
        overflow-y: auto;

        margin-right: -0.35rem;
        padding-right: 0.35rem;

        scrollbar-width: thin;
        scrollbar-color: rgba(255, 255, 255, .8) transparent;
    }
    .gcaltohtml .cc-block {
        margin: 0;
        padding: 0;
        background: var(--default-white);
        border-radius: .5rem;
        overflow: hidden;
        box-shadow: var(--default-box-shadow);
        flex: 0 0 auto;
    }
    .gcaltohtml .cc-dateblockformat {
        margin: 0;
        padding: 3px .5rem;
        display: flex;
        flex-direction: row;
        gap: 1rem;
        justify-content: space-between;
        align-items: center;
        background: var(--secondary-color);
    }
    .gcaltohtml .cc-dateset {
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: row;
        gap: .5rem;
        align-items: center;
    }
    .gcaltohtml .cc-day-of-month-num {
        margin: 0;
        padding: .5rem;
        font-size: 4vw;
        color: var(--default-white);
        font-family: var(--title-font-family);
        border-radius: 50%;
        background: transparent;
        aspect-ratio: 1/1;
        height: 2.5rem!important;
        width: auto;
        line-height: 1;
        font-weight: 700;
    }
    .gcaltohtml .cc-month-year {
        margin: 0;
        padding: 0;
        font-size: 4vw;
        line-height: 1;
        color: var(--default-white);
        font-weight: 600;
        font-family: var(--body-font-family);
        text-align: left;
    }
    .gcaltohtml .cc-dayset {
        margin: 0;
        padding: 0;
        font-size: 4vw;
        line-height: 1;
        color: var(--default-white);
        font-weight: 600;
        font-family: var(--body-font-family);
        text-align: right;
    }
    .gcaltohtml .cc-eventblock {
        margin: 0;
        padding: .75rem;
    }
    .gcaltohtml .cc-innereventblock {
        margin: 0;
        padding: 0;
    }
    .gcaltohtml .event {
        margin: 0;
        padding: .5rem 0;
        display: flex;
        flex-direction: row;
        gap: 1rem;
    }
    .gcaltohtml .cc-innereventblock > .event:not(.event:last-child) {
        border-bottom: 1px solid rgba(0,0,0,.3);
    }
    .gcaltohtml .cc-timeofday {
        margin: 0;
        padding: 0;
        flex: 1;
        font-size: 4vw;
        color: var(--primary-color);
        font-weight: 700;
        font-family: var(--title-font-family);
        line-height: 1.2;
    }
    .gcaltohtml .cc-title {
        margin: 0;
        padding: 0;
        flex: 2.5;
        font-size: 4vw;
        text-align: left;
        line-height: 1.2;
        font-weight: 400;
        color: var(--default-black);
        font-family: var(--body-font-family);
    }
}

/*FOOTER*/
@media only screen and (min-width: 50.99rem) {
    #g-footer > .g-container {
        padding: 0!important;
    }

    #g-footer > .g-container > .g-grid:has(.footer-wrapper) {
        padding: min(5vw, 5rem) min(2.5vw, 2.5rem);
    }

    #g-footer > .g-container > .g-grid:has(.opp-container) {
        position: relative;
    }
    #g-footer > .g-container > .g-grid:has(.opp-container):before {
        content: '';
        background: var(--primary-color);
        height: 100%;
        width: 3000%;
        margin-left: -500%;
        margin-right: -500%;
        position: absolute;
        z-index: 1;
    }
    #g-footer .opp-container {
        position: relative;
        z-index: 2;
        padding: min(5vw, 5rem) min(2.5vw, 2.5rem);
    }

    #g-footer a {
        color: var(--primary-color);
    }

    #g-footer a:hover {
        color: var(--primary-color)!important;
    }
}

@media only screen and (max-width: 50.99rem) {
    .site.withmaxwidth #g-footer > .g-container {
        padding: 0!important;
    }

    #g-footer > .g-container > .g-grid:has(.footer-wrapper) {
        padding: 2rem 1rem;
    }

    #g-footer > .g-container > .g-grid:has(.opp-container) {
        position: relative;
    }
    #g-footer > .g-container > .g-grid:has(.opp-container):before {
        content: '';
        background: var(--primary-color);
        height: 100%;
        width: 3000%;
        margin-left: -500%;
        margin-right: -500%;
        position: absolute;
        z-index: 1;
    }
    #g-footer .opp-container {
        position: relative;
        z-index: 2;
        padding: 2rem 1rem 5rem 1rem!important;
    }

    #g-footer a {
        color: var(--primary-color);
    }

    #g-footer a:hover {
        color: var(--primary-color)!important;
    }
}

@media only screen and (min-width: 50.99rem) {
    .footer-wrapper {
        display: flex;
        flex-direction: row;
        gap: min(2vw, 2rem);
    }
    .footer-wrapper:before {
        content: '';
        border-left: 2px solid var(--default-black);
        order: 2;
    }
    .footer-wrapper .footer-content-column {
        order: 1;
        flex: 1;
        display: flex;
        flex-direction: row;
        gap: min(2vw, 2rem);
    }
    .footer-wrapper .footer-content-column:before {
        content: '';
        order: 2;
        border-left: 2px solid var(--default-black);
    }

    .footer-wrapper .footer-content-column h3 {
        margin: 0;
        padding: 0;
        color: var(--primary-color);
        font-size: min(1.75vw, 1.75rem);
        font-weight: 500;
        font-family: var(--title-font-family);
        line-height: 1.2;
        text-transform: none;
        font-variant-caps: normal;
        border: none;
        background: none;
        margin-bottom: min(.75vw, .75rem);
    }
    .footer-wrapper .footer-content-column p {
        margin: 0;
        padding: 0;
        color: var(--default-black);
        font-size: min(1.25vw, 1.25rem);
        font-weight: 400;
        font-family: var(--body-font-family);
        line-height: 1.4;
        margin-bottom: min(1vw, 1rem);
    }
    .footer-wrapper .footer-content-column .button {
        color: var(--default-white)!important;
        background: var(--secondary-color);
    }
    #g-footer .footer-wrapper .footer-content-column .button:hover {
        color: var(--default-white)!important;
        background: var(--secondary-color);
    }

    .footer-wrapper .footer-content-left {
        order: 1;
        flex: 1;
    }
    .footer-wrapper .footer-content-right {
        order: 3;
        flex: 1;
    }
    .footer-wrapper .footer-links-column {
        order: 3;
        display: flex;
        flex-direction: row;
        gap: min(4vw, 4rem);
        justify-content: flex-end;
        align-items: center;
    }
    .footer-wrapper .footer-links {
        display: flex;
        flex-direction: column;
    }
    .footer-wrapper .footer-links a {
        margin: 0;
        padding: 0;
        color: var(--primary-color);
        font-size: min(1.25vw, 1.25rem);
        font-weight: 700;
        font-family: var(--body-font-family);
        line-height: 2;
        text-transform: uppercase;
    }
    .footer-wrapper .footer-logo img {
        width: min(10vw, 10rem);
        height: auto;
    }
}

@media only screen and (max-width: 50.99rem) {
    .footer-wrapper {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }
    .footer-wrapper .footer-content-column {
        order: 1;
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-wrapper .footer-content-column h3 {
        margin: 0;
        padding: 0;
        color: var(--primary-color);
        font-size: 6vw;
        font-weight: 500;
        font-family: var(--title-font-family);
        line-height: 1.2;
        text-transform: none;
        font-variant-caps: normal;
        border: none;
        background: none;
        margin-bottom: .75rem;
    }
    .footer-wrapper .footer-content-column p {
        margin: 0;
        padding: 0;
        color: var(--default-black);
        font-size: 4vw;
        font-weight: 400;
        font-family: var(--body-font-family);
        line-height: 1.4;
        margin-bottom: 1rem;
    }
    .footer-wrapper .footer-content-column .button {
        color: var(--default-white)!important;
        background: var(--secondary-color);
    }
    #g-footer .footer-wrapper .footer-content-column .button:hover {
        color: var(--default-white)!important;
        background: var(--secondary-color);
    }

    .footer-wrapper .footer-content-left {
        order: 1;
        flex: 1;
    }
    .footer-wrapper .footer-content-right {
        order: 3;
        flex: 1;
    }
    .footer-wrapper .footer-links-column {
        order: 3;
        display: flex;
        flex-direction: column;
        gap: 2rem;
        justify-content: center;
        align-items: center;
    }
    .footer-wrapper .footer-links {
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    .footer-wrapper .footer-links a {
        margin: 0;
        padding: 0;
        color: var(--primary-color);
        font-size: 4vw;
        font-weight: 700;
        font-family: var(--body-font-family);
        line-height: 2;
        text-transform: uppercase;
    }
    .footer-wrapper .footer-logo img {
        width: 40%;
        height: auto;
    }
}

@media only screen and (min-width: 50.99rem) {
    .opp-wrapper {
        display: flex;
        flex-direction: row;
        gap: min(2vw, 2rem);
        justify-content: flex-start;
        align-items: center;
    }
    .opp-wrapper .opp-image img {
        width: min(10vw, 10rem);
    }
    .opp-wrapper .opp-content {
        flex: 1;
    }
    .opp-wrapper .opp-content h3 {
        margin: 0;
        padding: 0;
        color: var(--default-white);
        font-size: min(1.75vw, 1.75rem);
        font-weight: 700;
        font-family: var(--title-font-family);
        line-height: 1;
        text-transform: none;
        font-variant-caps: normal;
        border: none;
        background: none;
        margin-bottom: min(.75vw, .75rem);
    }
    .opp-wrapper .opp-content p {
        margin: 0;
        padding: 0;
        color: var(--default-white);
        font-size: min(1.25vw, 1.25rem);
        font-weight: 400;
        font-family: var(--body-font-family);
        line-height: 1.4;
    }

    #g-footer .opp-wrapper .opp-content a {
        color: var(--default-white);
    }
    #g-footer .opp-wrapper .opp-content a:hover {
        color: var(--default-white)!important;
    }
}

@media only screen and (max-width: 50.99rem) {
    .opp-wrapper {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    .opp-wrapper .opp-image {
        text-align: center;
    }
    .opp-wrapper .opp-image img {
        width: 30%;
    }
    .opp-wrapper .opp-content {
        flex: 1;
    }
    .opp-wrapper .opp-content h3 {
        margin: 0;
        padding: 0;
        color: var(--default-white);
        font-size: 6vw;
        font-weight: 700;
        font-family: var(--title-font-family);
        line-height: 1;
        text-transform: none;
        font-variant-caps: normal;
        border: none;
        background: none;
        margin-bottom: .75rem;
    }
    .opp-wrapper .opp-content p {
        margin: 0;
        padding: 0;
        color: var(--default-white);
        font-size: 4vw;
        font-weight: 400;
        font-family: var(--body-font-family);
        line-height: 1.4;
    }

    #g-footer .opp-wrapper .opp-content a {
        color: var(--default-white);
    }
    #g-footer .opp-wrapper .opp-content a:hover {
        color: var(--default-white)!important;
    }
}

/*BOTTOM*/
@media only screen and (min-width: 50.99rem) {
    .site-home #g-bottom {
        background: url('/images/template/welcome-background.jpg') 50% 50% no-repeat;
        background-size: cover;
        position: relative;
    }
    .site-home #g-bottom:before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(var(--default-white-rgb),.9);
        z-index: 1;
    }
    .site-home #g-bottom > .g-container {
        position: relative;
        z-index: 2;
        display: flex;
        flex-direction: column;
        gap: min(5vw, 5rem);
        padding: min(5vw, 5rem) 0 2rem 0!important;
    }

    #g-bottom {
        position: relative;
        z-index: 10;
    }
    #g-bottom > .g-container {
        padding: 2rem 0!important;
    }
    #g-bottom .admod td {
        padding-top: 0!important;
    }

    .site-sub #g-bottom {
        border-bottom: 3px solid var(--tertiary-color);
    }
}

@media only screen and (max-width: 50.99rem) {
    .site-home #g-bottom {
        background: url('/images/template/welcome-background.jpg') 50% 50% no-repeat;
        background-size: cover;
        position: relative;
    }
    .site-home #g-bottom:before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(var(--default-white-rgb),.9);
        z-index: 1;
    }
    .site-home.withmaxwidth #g-bottom > .g-container {
        position: relative;
        z-index: 2;
        display: flex;
        flex-direction: column;
        gap: 2rem;
        padding: 2rem 0!important;
    }
}

@media only screen and (max-width: 50.99rem) {
    #g-bottom {
        position: relative;
        z-index: 10;
    }

    .site-sub #g-bottom {
        border-bottom: 3px solid var(--tertiary-color);
    }

    #g-bottom > .g-container {
        padding: 2rem 0!important;
    }
    #g-bottom .admod td {
        padding-top: .5rem!important;
    }
}

@media only screen and (min-width: 50.99rem) {
    .welcome-wrapper {
        display: flex;
        flex-direction: row;
        gap: min(2vw, 2rem);
        padding: 0 min(5vw, 5rem)!important;
    }
    .welcome-wrapper:before {
        content: '';
        order: 2;
        border-left: 3px solid var(--primary-color);
    }
    .welcome-wrapper .welcome-title-button {
        order: 1;
        flex: 1.35;
        display: flex;
        flex-direction: column;
        gap: min(1.25vw, 1.25rem);
        padding: min(2vw, 2rem) 0;
    }
    .welcome-wrapper .welcome-title h2 {
        margin: 0;
        padding: 0;
        color: var(--primary-color);
        font-size: min(4vw, 4rem);
        font-weight: 500;
        font-family: var(--title-font-family);
        line-height: 1;
        text-transform: none;
        font-variant-caps: normal;
        border: none;
        background: none;
        margin-bottom: min(.75vw, .75rem);
    }
    .welcome-wrapper .welcome-button .button {
        background: var(--default-white);
        color: var(--default-black);
        border: 2px solid var(--primary-color);
        border-radius: .75rem;
        overflow: hidden;
        padding: min(1vw, 1rem) min(3vw, 3rem);
        font-weight: 400;
        line-height: 1;
        font-size: min(1.5vw, 1.5rem);
        width: 100%;
    }
    .welcome-wrapper .welcome-content {
        order: 3;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        flex: 3;
    }
    .welcome-wrapper .welcome-content p {
        margin: 0;
        padding: 0;
        text-align: left;
        font-size: min(1.5vw, 1.5rem);
        line-height: 1.7;
        font-weight: 600;
        font-style: italic;
    }
}

@media only screen and (max-width: 50.99rem) {
    .welcome-wrapper {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem!important;
    }
    .welcome-wrapper .welcome-title-button {
        order: 1;
        flex: 1.35;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 0;
    }
    .welcome-wrapper .welcome-title h2 {
        margin: 0;
        padding: 0;
        color: var(--primary-color);
        font-size: 10vw;
        font-weight: 500;
        font-family: var(--title-font-family);
        line-height: 1;
        text-transform: none;
        font-variant-caps: normal;
        border: none;
        background: none;
        margin-bottom: .75rem;
        text-align: center;
    }
    .welcome-wrapper .welcome-button .button {
        background: var(--default-white);
        color: var(--default-black);
        border: 2px solid var(--primary-color);
        border-radius: .75rem;
        overflow: hidden;
        padding: 1rem;
        font-weight: 400;
        line-height: 1;
        font-size: 4vw;
        width: 100%;
    }
    .welcome-wrapper .welcome-content {
        order: 3;
        display: flex;
        flex: 3;
    }
    .welcome-wrapper .welcome-content p {
        margin: 0;
        padding: 0;
        text-align: left;
        font-size: 4vw;
        line-height: 1.7;
        font-weight: 600;
        font-style: italic;
    }
}

.search-page #searchForm .btn {
    background: var(--primary-color);
}

.grid-articles .g-array-item-text a:not(a.button) {
    color: var(--primary-color);
}
.grid-articles .g-array-item-text a {
    color: var(--primary-color);
}

@media only screen and (max-width: 50.99rem) {
    .admod.adside tbody {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: .5rem .5rem;
    }
}

@media only screen and (max-width: 50.99rem) {
    body#site-grid.newslayout #g-container-main > .g-container {
        padding: 2rem 1rem!important;
    }
    body#site-grid.newslayout #g-container-main #g-mainbar {
        margin: 0!important;
        padding: 0!important;
    }

    #site-grid.newslayout .grid-mobile-stacked .g-item-title {
        --grid-title-font-size: 3vw;
    }
}

@media only screen and (max-width: 50.99rem) {
    body .side-menu-particle .g-blockcontent-subcontent-title-text {
        --side-menu-font-size-desktop: 4vw;
    }
}

@media only screen and (max-width: 50.99rem) {
    .grid-img-box-shadow-50 .g-array-item-image {
        box-shadow: none!important;
    }
    .grid-mobile-stacked .g-array-item-image img {
        box-shadow: none!important;
    }
}

@media only screen and (max-width: 50.99rem) {
    .bulletin-page .koowa_media {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
    }
    .bulletin-page .koowa_media__item {
        flex: 1;
        min-width: calc(50% - .5rem);
        max-width: calc(50% - .5rem);
    }
}