/* CSS Document */
@import 'bootstrap.min.css';

/*-------------
     Page
---------------*/

.page {
    display: flex;
    flex-direction: column;
    margin-top: 58px;
    background: rgb(255 255 255);
}

.page main {
    order: unset;
}

.page #services {}

.page footer {
    order: 5;
}

.contents-in {
    max-width: 1120px;
    margin: auto;
}

/*--------------
     Header
----------------*/
.logo_caption .pre {
    font-family: 'Satisfy';
    font-weight: 700;
    line-height: 1;
    font-size: clamp(12px, 1.5vw, 19px);
}

.logo_caption h1 {
    line-height: 1;
    margin: 0;
}

.logo_caption h1 span {
    font-family: 'muli';
    font-size: 1rem;
    margin-left: 0.6rem;
}

.logo {
    width: 90px;
    position: relative;
    z-index: 9999999999;
    /* background: white; */
    overflow: hidden;
    /* margin: auto; */
}

header.stuck {
    position: fixed !important;
    top: 0em !important;
    width: 100% !important;
    left: 0 !important;
}

header {
    /* order: 1; */
    position: fixed;
    min-height: 58px;
    background: white;
    width: 100%;
    box-shadow: 0 2px 18px #0000003d;
    z-index: 999999999;
    top: 0;
}

header#home {
    top: 0em !important;
    width: 100%;
    left: 0;
    position: fixed !important;
}

.mr-header-wrap {
    padding: 0;
}

h1.logo {
    background: NONE;
    margin-left: 0 !important;
    width: calc(100% - 77px);
    height: 45px;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    left: calc(50% + 30px);
    background: transparent;
    padding: 3px 5px;
    transform: translate(-50%, 0px);
    box-shadow: none;
    padding: 0;
    margin: 0;
}

h1.logo a {
    display: flex;
    height: 100%;
    color: #54534a;
    text-decoration: none;
    align-items: center;
    margin-right: 100px;
}

h1.logo a span {
    line-height: 1;
    margin-top: 3px;
}

#secondary header#home {
    height: 58px;
    background-image: none;
}


.mr-navbar-brand {
    width: calc(100% - 120px);
    padding-left: 58px;
    display: flex;
    height: 58px;
    align-items: center;
    background: white;
    justify-content: center;
    position: fixed;
    top: 0;
}

img.logo_img {
    height: 100%;
}

img.mobile {
    display: block;
    height: 58px;
}

img.desktop {
    width: 132px !important;
    height: auto;
    display: block;
    max-width: calc(100vw - 180px);
}

.mr-navbar-subpanel {
    justify-content: space-between;
    padding-top: 0;
}

.header_extra {
    /* display: none; */
}


.mr-navbar-upper .list-inline {
    margin: 0;
    opacity: 1;
    visibility: visible;
    list-style: none;
    transition: .0s opacity ease;
}

.mr-upper-toggle {
    display: flex;
    align-items: center;
    background: transparent;
    cursor: pointer;
    width: 48px;
    height: 48px;
    text-align: center;
    position: fixed;
    top: 5px;
    right: 5px;
    z-index: 9999999999999;
    border: 1px solid transparent;
    border-radius: 3px;
    /* display: none; */
}

.mr-upper-toggle span {
    width: 58px;
    padding: 0.1em;
    background: transparent;
}

.mr-upper-toggle span:before {
    content: '\f142';
    font-family: "FontAwesome";
    font-weight: 900;
    color: #ffffff;
    display: block;
    font-size: 18px;
    position: relative;
    z-index: 99999;
}

.showupper .mr-upper-toggle span:before {
    content: '\f00d';
}

#sticky-wrapper {
    height: auto !important;
}

.mr-navbar-upper {}

.showupper .mr-navbar-upper {
    display: flex;
}

/*--------------
    Navigation
----------------*/


.mr-navbar-nav-wrap {
    position: fixed;
    top: 0;
    left: 0;
    right: auto;
    bottom: 0;
    margin: 0;
    background: var(--mr-color-light);
    background: url('/images/secondarybanner.png');
    background-size: 350% 100%;
    /* z-index: 0; */
    /* display: none; */
    /* visibility: hidden; */
    transition: .3s all ease;
    width: 250px;
    margin-top: 58px;
    padding: 0;
    transform: translate(-100%, 0px);
    transition: .3s all ease;
    box-shadow: none !important;
    overflow: auto;
    display: flex;
    flex-direction: column;
}

.mr-navbar-outer {
    position: fixed;
    z-index: 999;
}

.mr-navbar-inner {
    position: fixed;
    width: 100%;
    background: rgb(255, 255, 255);
    z-index: 9999;
    box-shadow: 0 5px 20px #0000003d;
    padding: 0;
    top: 0 !important;
    height: 58px !important;
}

ul.level-0.mr-navbar-nav {
    flex-direction: column;
    font-size: 6vw;
    /* min-height: 100%; */
    justify-content: flex-start;
    padding: 0;
    /* opacity: 0; */
    /* transform: translate(0,100px); */
    transition: .0s all ease;
    overflow: auto;
    /* background: #eeeded; */
    margin: 0;
}

.showmenu ul.level-0.mr-navbar-nav {
    transition: .3s all .2s ease;
    opacity: 1;
    transform: translate(0, 0px);
}

.mr-navbar-brand nav {
    flex-grow: 1;
}

.color_theme .level-0.mr-navbar-nav>li:nth-of-type(4n + 1)>a {
    background: var(--mr-color-primary-tint);
    border-bottom-color: var(--mr-color-primary);
}

.color_theme .level-0.mr-navbar-nav>li:nth-of-type(4n + 2)>a {
    background: var(--mr-color-secondary-tint);
    border-bottom-color: var(--mr-color-secondary);
}

.color_theme .level-0.mr-navbar-nav>li:nth-of-type(4n + 3)>a {
    background: var(--mr-color-tertiary-tint);
    border-bottom-color: var(--mr-color-tertiary);
}

.color_theme .level-0.mr-navbar-nav>li:nth-of-type(4n + 4)>a {
    background: var(--mr-color-quaternary-tint);
    border-bottom-color: var(--mr-color-quaternary);
}

ul.level-1.rd-navbar-dropdown {
    position: relative;
    width: 100%;
    min-width: unset;
    color: black;
    opacity: 1;
    visibility: visible;
    background: rgba(251, 248, 229, 0.5);
    box-shadow: none;
    border-top: 0;
}

ul.level-0.mr-navbar-nav li {
    margin: 0 0;
    position: relative;
    /* width: 100%; */
    text-align: left;
    line-height: 1;
    padding: 0;
    flex-grow: 0;
    display: flex;
    flex-direction: column;
}

ul.level-0.mr-navbar-nav li a {
    font-size: 0.85rem;
    font-weight: 900;
    display: flex;
    text-align: left;
    padding: 1.4rem;
    /* height: 100%; */
    align-items: flex-start;
    color: #ffffff;
    font-family: var(--mr-font-heading);
    text-transform: none;
    justify-content: flex-start;
    text-decoration: none;
}

ul.level-0.mr-navbar-nav .current-parent>a {
    background: transparent;
    /* padding-left: 1em; */
}

ul.level-0.mr-navbar-nav .current-parent>.subnav_toggle {
    color: black;
}

span#nav_slide_hover_bg {
    display: none;
}

span#nav_slide_hover {
    display: none;
}

li.current.current-item:after {
    content: '';
    /* border-left: 6px solid rgb(71 71 63); */
    width: 0;
    height: 100%;
    position: absolute;
    bottom: 50%;
    left: 0;
    transform: translate(0, 50%);
    z-index: 9;
}

.mr-navbar-toggle {
    display: flex;
    background: rgb(0 0 0);
    cursor: pointer;
    width: 60px;
    height: 58px;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999999999999;
}

.mr-navbar-toggle span:before {
    content: '\f0c9';
    font-family: "FontAwesome";
    font-weight: 900;
    color: #ffffff;
    font-size: 1.4rem;
    position: relative;
    z-index: 99999;
}

.showmenu .mr-navbar-toggle span:before {
    content: '\f00d';
    font-family: "FontAwesome";
    font-weight: 900;
    color: rgb(255 255 255);
    font-size: 1rem;
    position: relative;
    z-index: 99999;
}

.mr-navbar-toggle span {
    width: 60px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.showmenu .mr-navbar-nav-wrap {
    /* display: block; */
    /* background: rgb(251, 248, 229); */
    /* visibility: visible; */
    transform: translate(0%, 0px);
    transition: .3s all ease;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.15);
}

ul.level-1 {
    position: relative;
    /* background: var(--mr-color-secondary); */
    box-shadow: none;
    padding: 0 0 0 1rem;
    list-style: none;
}

ul.level-0.mr-navbar-nav .current-parent>a:before {
    content: none;

}

ul.level-0.mr-navbar-nav li.has_subnav:hover>a:after {
    /* color: white; */
}

.showmenu .mr-navbar-toggle {
    /* width: 100vw; */
    /* height: 100vh; */
    position: fixed;
    transform: translate(0px, 0px);
    top: 0;
    background: var(--mr-color-primary);
}

ul.level-0.mr-navbar-nav a:hover {
    transition: .3s all ease;
}

.level-0 li span.subnav_toggle {
    position: absolute;
    top: 0;
    right: 0;
    height: 3.6rem;
    width: 3.6rem;
    background: #0000000f;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .2s all ease;
    cursor: pointer;
    font-size: 0.7rem;
    color: var(--mr-color-accent);
}

ul.level-0.mr-navbar-nav li.has_subnav>a {
    /* padding-right: 4.25rem; */
    /* display: block; */
}

ul.level-1.mr-navbar-dropdown {
    height: 0;
    overflow: hidden;
}

.level-0>li>span.subnav_toggle:before {
    content: '\f0d7';
    font-family: var(--mr-fontawesome);
    font-weight: 900;
    transition: .2s all ease;
}



span.subnav_toggle.active:before {
    transform: rotate(-180deg);
}

ul.level-0.mr-navbar-nav li li a {
    font-size: clamp(16px, 1vw, 16px);
    font-family: var(--mr-font-main);
    font-weight: 400;
    color: var(--mr-color-dark);
}

li.navitemid-26.has_subnav {
    position: relative !important;
}

/*--------------
     Banner
----------------*/

section#banner {
    background-color: var(--mr-color-medium);
}

body#secondary #banner {}

img.background_image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    position: absolute;
    inset: 0;
}

h2.banner_caption {
    border: 0;
    text-align: center;
    font-family: var(--mr-font-heading);
    text-transform: uppercase;
    color: white;
    font-size: clamp(20px, 3vw, 50px);
    margin: 0;
    padding: 1rem;
}

/* -------------- 
    4. Contacts
 ---------------- */

*[class^="contact_"] {
    padding-left: 1.7rem;
    position: relative;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

*[class^="contact_"]:before {
    font-family: var(--mr-fontawesome);
    font-weight: 900;
    height: 1.1rem;
    border-radius: 50%;
    margin: 0 0.5em;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-decoration: none !important;
    font-size: 1em;
    line-height: 0.1;
    position: absolute;
    left: 0em;
    color: #e1e1e1;
    top: 0;
    padding-bottom: 0.2em;
}

.contact_address:before {
    content: '\f3c5';
}

.contact_mail:before {
    content: '\f0e0';
}

.contact_phone:before {
    content: '\f095';
    font-weight: 900;
}

.contact_facebook:before {
    content: '\f39e';
    font-family: var(--mr-fontawesome-brands);
}

.contact_email:before {
    content: '\f1fa';
}

.contact_cell:before {
    content: '\f3cd';
}

.contact_fax:before {
    content: '\f1ac';
}

.contact_fax {
    display: flex;
    margin-bottom: .5em;
}

.inline *[class^="contact_"]+*[class^="contact_"] {
    margin-left: 2em;
}

section#contactbar {
    background: #8cc83a;
    color: white;
    font-family: var(--mr-font-main);
    font-weight: 700;
}

.contactbar_item {
    display: flex;
    align-items: center;
}

.contactbar_item .icon {
    font-size: 3.2em;
}

.contactbar_item .info {
    padding: 1em;
    text-transform: uppercase;
    font-size: .8em;
    white-space: nowrap;
}

.contactbar_item .info a {
    color: white;
    text-transform: none;
    font-size: 1.5em;
}








/* --------------------
    5. Social media 
 ---------------------- */

.social_links a {
    text-decoration: none;
}

.social_links {
    display: flex;
}

.social_links a {
    text-decoration: none;
    font-family: var(--mr-fontawesome-brands);
    font-weight: 400;
    min-width: 1.6rem;
    min-height: 1.6rem;
    /* background: rgb(255, 255, 255); */
    /* border-radius: 50%; */
    /* margin: 0 0.5em; */
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-decoration: none !important;
    color: #005ba1;
    font-size: 1.2em;
}

.social_links a.link_btn i {
    color: #5b9dba;
    font-size: 1em;
    margin: 0;
}







/* ----------------
    6. Headings 
 ------------------ */

h2 {
    font-size: 2vw;
    color: var(--mr-color-primary);
    /* margin-top: 1em; */
    border-bottom-width: 0;
    border-color: var(--mr-color-primary) !important;
    border-bottom-style: solid;
    text-align: left;
    text-transform: none;
}

h3 {
    font-size: 1.4vw;
    color: var(--mr-color-accent);
}

h4 {
    font-size: clamp(1.2rem, 2vw, 32px);
    text-transform: none;
    font-weight: 700;
}


.heading_withlink {
    display: flex;
    align-items: center;
    /* margin-top: 0; */
    border: 0;
    white-space: nowrap;
    /* flex-wrap: wrap; */
}


.heading_withlink .header_link {
    text-decoration: none;
    font-weight: 600;
    margin-left: auto;
    margin-top: 0;
}

.heading_withlink span {
    flex-grow: 1;
}

main.page-content h1:after,
main.page-content .about_mission h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    width: 100%;
    /* border-bottom: 3px solid; */
}

.aboutus h1 {
    color: black;
}

main.page-content h1 span.small {
    display: block;
    font-size: 0.4em;
    line-height: 1;
    margin-top: .3em;
}

main.page-content h1 {
    padding-bottom: 0.3em;
    line-height: 1.1;
    /* margin-bottom: 0.7em; */
    margin-top: .5rem;
    /* text-transform: uppercase; */
}

.heading_withsubhead span::before {
    content: '';
    height: 2rem;
    border-left: 1px solid var(--mr-color-accent);
    margin-left: 2rem;
    padding-left: 2rem;
}

.heading_withsubhead span {
    font-weight: 400;
    color: var(--mr-color-accent);
    font-size: 0.6em;
    flex-grow: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
}

.heading_withsubhead {
    display: flex;
    align-items: center;
    overflow: hidden;
}





/* ------------ 
    7. Footer
--------------- */

.footer_logo_wrapper {
    background: #e5e3db;
    border-radius: 50%;
    width: clamp(120px, 10vw, 200px);
    height: clamp(120px, 10vw, 200px);
    margin: 1em auto 1em;
}

.footer_copyright p {
    margin: 0;
    font-size: 0.8em;
}

footer.page-footer {
    color: black;
    font-family: var(--mr-font-main);
    font-size: 0.93em;
}

footer.page-footer .navigation_extra {
    /* border-top: 3px solid #999999; */
    /* border-bottom: 3px solid #999999; */
    padding: 0;
    list-style: none;
    margin: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

footer.page-footer ul li {
    /* border-bottom: 1px solid #999999; */
    /* padding: .4em 0; */
    overflow: hidden;
    text-overflow: ellipsis;
}

footer.page-footer ul li span+span {
    justify-self: flex-end;
    text-align: right;
}

.footer_social {
    padding-top: 1em;
}

.footer_hours header {}

.footer_contact .logo {
    max-width: 100%;
    padding: 1em 0;
}

section.footer_content a .value {
    text-decoration: underline;
}

section.footer_content a .label {
    color: white;
    font-family: var(--mr-font-accent);
    margin-left: 0.5em;
    line-height: 1.6;
}

.footer_contact .logo img {
    max-width: 70%;
}

section.footer_copyright {
    background: var(--mr-color-accent);
    text-align: left;
    color: var(--mr-color-contrast);
    padding: 1rem;
    font-family: var(--mr-font-main);
    font-size: 1.1rem;
    /* border-top: 1px solid var(--mr-color-accent); */
    text-align: center;
}

footer.page-footer header {
    font-size: 1.6em;
    font-weight: 400;
    line-height: 1;
    padding-bottom: .2em;
    margin-bottom: 0.6em;
    color: rgb(255 255 255);
    text-transform: uppercase;
    font-family: var(--mr-font-accent);
    position: relative;
}

section.footer_content div[class*="col"] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* max-width: 320px; */
    /* min-width: 300px; */
}

.footer_hours li {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

section.footer_content a {
    /* display: inline-flex; */
    /* text-decoration: none; */
    /* white-space: nowrap; */
    /* color: var(--mr-color-accent); */
    /* font-family: var(--mr-font-main); */
    /* padding: 0; */
}

.footer_content_inner h2 {
    border: 0;
}

section.footer_content .navigation_extra a::before {

    font-size: 1.5rem;

    margin-right: 0.5rem;
}

section.footer_copyright a {
    color: var(--mr-color-dark);
    text-decoration: underline;
}

.footer_contact .contact_item:first-of-type {
    padding-top: 1em;
}

.footer_contact .contact_address {
    margin-bottom: 1em;
    padding-left: 2.4em;
    position: relative;
}

.footer_hours .hours_item {
    padding-top: 1em;
}

.footer_hours .hours_item:first-of-type .label {
    display: block;
}

.footer_hours .hours_item .label {
    font-weight: 700;
}

footer.page-footer header:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    width: 100%;
    border-bottom: 3px solid;
    display: none;
}

img.footer_logo {
    width: 100%;
    max-width: 340px;
    margin: 2rem auto 2rem;
    /* display: block; */
    /* background: #e5e3db; */
    /* border-radius: 50%; */
    /* margin: -12% 0 0 -1%; */
}

.footer_logo_txt {
    font-family: var(--mr-font-accent);
    text-align: center;
    width: 100%;
}

.footer_map {
    padding-top: 1em;
    height: 100%;
    width: 100%;
    position: relative;
}

.footer_contact {
    margin-top: 1em;
}

.footer_copyright_inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}


.footer_info {
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
}

footer.page-footer .navigation_extra a {
    padding: 1rem 1.5rem;
    font-weight: 700;
}



/* -------------------------
    8. Section: Services 
---------------------------- */


section#services {
    color: white;
    background: #9e9e9e;
    /* padding: 3em 3em 1em 3em; */
    text-align: center;
}

.services_wrapper {
    display: flex;
    flex-direction: row;
    /* flex-wrap: wrap; */
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
}

.services_item {
    min-width: 400px;
    margin: 2rem;
    text-decoration: none;
    text-align: center;
    flex-grow: 1;
    position: relative;
    height: 100%;
    overflow: hidden;
}

.services_img {
    background: #444141;
    border-radius: 2rem;
    padding: 2rem;
    width: 100%;
    height: clamp(130px, 9em, 500px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    /* box-shadow: 0 2px 10px black; */
    transition: .3s all ease-in;
    backface-visibility: hidden;
    position: relative;
}

.services_img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

h5.services_title {
    color: var(--mr-color-light);
    margin: 0;
    font-size: 1em;
    line-height: 1;
    position: absolute;
    height: 100%;
    width: 100%;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}

p.services_description {
    font-size: 1rem;
    color: black;
    line-height: 1;
}

.services_wrapper a:hover .services_img {
    /* transform: scale(1.3); */
    /* box-shadow: 5px 5px 20px rgb(0 0 0 / 32%); */
    /* transition: 4.2s all cubic-bezier(0.03, 0, 0, 0.21); */
}

section#services .large_btn {
    color: white;
    display: inline-block;
    margin: 0 0 3em;
    padding: 1.2em 3em;
    width: auto;
}

.services_info {
    padding-top: 2em;
}

.mceContentBody .services_list a {
    color: black;
}

section#secondary-content .services_list a {
    color: black;
}












/* ------------- 
    9. Buttons 
 --------------- */

a.btn {
    font-family:
        var(--mr-font-accent);
    margin-top: 1em;
    text-transform: uppercase;
    width: 100%;
    font-weight: 600;
    font-style: normal;
    z-index: 1;
    font-size: 1rem;
    background: transparent;
    display: inline-block;
    box-sizing: border-box;
    text-decoration: none;
    text-align: center;
    border-radius: 5px;
    padding: 1rem 3.5rem;
    max-width: 30rem;
    border: 1px solid rgb(16 33 64);
    color: rgb(16 33 64);
    transition: .25s;
    position: relative;
    overflow: hidden;
    width: fit-content;
    margin-bottom: 0;
}

.large_btn {
    color: #8cc83a;
    padding: 1.5em 1.9em;
    display: block;
    font-family: var(--mr-font-main);
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    font-size: 1.1em;
    letter-spacing: 0.2em;
    transition: .3s all ease;
}

.large_btn:hover {
    text-decoration: none;
    opacity: .9;
}

.outline {
    border: .2em solid;
}

a.link_btn {
    color: white;
    /* font-weight: 900; */
    text-decoration: none;
    display: flex;
    align-items: center;
    font-size: 1.2em;
    margin: 0 .5em;
}

a.link_btn i {
    border-radius: 50%;
    color: white;
    font-size: 0.65em;
    margin-right: 0.5em;
}












/* -----------------
    10. Secondary 
 ------------------- */


#secondary header#home {}


#secondary .mr-navbar-inner {
    /* height: 12vw; */
}

#secondary .mr-navbar-inner {
    /* background-image: url(/images/headerbackground.jpg); */
    /* background-size: cover; */
    /* background-attachment: fixed; */
    /* background-repeat: repeat; */
}

#secondary h1.logo .desktop {
    /* padding-top: 10%; */
    /* width: 10vw; */
}

body#secondary #banner h1 {
    color: white;
    font-size: 1em;
    font-weight: 400;
}

body#secondary #banner {}

body#secondary h1,
body#secondary h2,
body#secondary h3,
body#secondary h4,
body#secondary h5,
body#secondary h6 {
    /* color: rgb(0, 0, 0); */
}

#secondary main.page-content {
    /* padding-top: 12vw; */
}


/* --------------------
    11. Page Listings 
 ---------------------- */


ul.sitemap li>a,
.search_result_link {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: nowrap;
    text-decoration: none;
    background: #f0f0f0;
    box-shadow: 3px 3px 10px #00000029;
    padding: 0.5em;
    border: 3px solid transparent;
    position: relative;
    /* align-items: center; */
    text-decoration: none !important;
    position: relative;
}

.sitemap_pagetitle,
.search_result_link h2 {
    display: block;
    font-size: 1.5em;
    font-family: var(--mr-font-heading);
    color: black;
    line-height: 1;
    margin-bottom: 0.25em;
    margin-top: 0.5rem;
    border: 0;
    font-weight: 700;
    text-align: left;
    padding: 0;
}

ul.sitemap,
ul.sitemap ul {
    list-style: none;
    position: relative;
    margin-top: 1em;
}

.sitemap_pagedescription,
.search_result_link p {
    font-weight: 400;
    color: #4c4c4c;
    font-size: 0.8em;
    margin: 0;
    /* flex-grow: 1; */
}

ul.sitemap li>a:hover,
.search_result_link:hover {
    border: 3px solid var(--mr-color-accent);
}

ul.sitemap ul li:before {
    content: '';
    border-left: 2px solid var(--mr-color-accent);
    position: absolute;
    left: -0.7em;
    height: calc(100% + 2em);
}

ul.sitemap ul li:after {
    content: '';
    border-bottom: 2px solid var(--mr-color-accent);
    position: absolute;
    left: -0.7em;
    height: 1px;
    width: 0.7em;
    top: 50%;
}

ul.sitemap ul li {
    position: relative;
    margin-bottom: 0.6em;
}

ul.sitemap li,
.search_result_link {
    margin-bottom: 1em;
}

ul.sitemap ul li:last-of-type:before {
    height: calc(50%);
}

ul.sitemap {
    padding: 0;
}

ul.sitemap ul li ul li:last-of-type {
    margin-bottom: 1.2em;
}

ul.sitemap ul li.has_subnav:after {
    display: none;
}

ul.sitemap ul li.has_subnav>a:before {
    content: '';
    border-bottom: 2px solid var(--mr-color-accent);
    position: absolute;
    left: calc(-0.7em - 3px);
    height: 1px;
    width: 0.7em;
    top: 50%;
}

ul.sitemap li.has_subnav ul li:first-of-type:before {
    height: calc(50% + 0.75em);
    top: -1em;
    height: calc(100% + 2em);
}


ul.sitemap ul li.has_subnav ul li+li:last-of-type:before {
    height: calc(50% + 0em);
}

ul.sitemap ul li.has_subnav ul li+li:before {
    top: 0;
}

ul.sitemap ul li.has_subnav ul li:last-of-type:before {
    height: calc(50% + 1em);
}

.search_result_details time {
    color: black;
    font-size: .9rem;
}

.result_events_details {
    display: flex;
    margin-top: 0.4rem;
}

.result_events_date:before {
    content: '\f073';
    font-family: var(--mr-fontawesome);
    font-weight: 900;
    margin-right: 0.3em;
}

.result_events_details>div {
    margin-right: 2rem;
    color: var(--mr-color-contrast);
    font-size: 1rem;
}

/* --------------------
    12. Additional 
 ---------------------- */








/* ----------------
    13. Custom 
 ------------------ */




footer.page-footer header {
    margin-top: 1em;
}

.social_links li a:before {
    margin-right: .5rem;
    font-weight: 900;
    font-family: var(--mr-fontawesome-brands);
}



.contactbar_item {
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.contactbar_item .info {
    font-size: 1em;
    padding: 0 0 1em 0;
}

.contactbar_item .info a {
    font-size: 1.8em;
}

.services_list {
    font-size: 1.2em;
}

.logo_caption h1 {
    white-space: nowrap;
}

h2 {
    font-size: clamp(24px, 3vw, 2.5rem);
    line-height: 1;
    padding-bottom: 1.3rem;
}

h2 span.smaller {
    display: block;
    line-height: 1;
    font-size: 0.57em;
}

h3 {
    font-size: clamp(1.6rem, 2vw, 30px);
    font-family: var(--mr-font-heading);
    margin: 0.5rem 0 1rem;
    text-transform: none;
}



main.page-content {
    display: flex;
    flex-direction: column;
}

#secondary main.page-content {
    padding-top: 0 !important;
    min-height: 35vh;
}

.services_list li {
    padding-top: 1em;
}

section#services .services_info .large_btn {
    width: 100%;
}

.mr-navbar-contact {
    display: none;
}

.footer_hours {
    margin: 2em 0;
}

.footer_copyright p {
    font-size: .9em;
    flex-grow: 1;
}

.mr-contact-bar {
    width: 58px;
    position: absolute;
    top: 0;
    right: 0;
    padding: 0;
    height: 58px;
    z-index: 3;
}

.mr-contact-bar a span {
    display: none;
}

a.mr_phone i {
    padding: .8em 0.9em;
    font-size: 1.4em;
}

#homemain .largeimage,
#missionstatment .largeimage {
    display: none;
}

.stuck h1.logo {
    height: 45px;
}



.services_list a {
    width: 43%;
    min-width: 280px;
}

.new_dropdown {
    right: -50%;
}

.rd-navbar-nav-wrap .uppernav {
    padding-bottom: 30px;
}


.facebook_dropdown .new_dropdown {
    min-width: 280px;
    width: auto;
}

.calendar_dropdown .new_dropdown,
.facebook_dropdown .new_dropdown {
    display: none;
}

.calendar_dropdown:hover,
.facebook_dropdown:hover {
    /* background:#da9c60; */
    color: black;
}

.calendar_dropdown:hover .new_dropdown,
.facebook_dropdown:hover .new_dropdown {
    display: block;
}


.header_social {
    display: none;
}

.logo a {
    display: flex;
    width: 100%;
    transform: translate(0, 0%);
    text-decoration: none;
    color: black !important;
    align-items: center;
    justify-content: center;
    text-overflow: ellipsis;
}

.mr-navbar-upper {
    position: fixed;
    width: 280px;
    right: 0;
    top: 58px;
    flex-direction: column;
    font-size: 1em;
    display: none;
    top: 58px;
    right: 0;
    height: auto;
    justify-content: stretch;
    /* border: 1px solid #272764; */
    background: white;
    box-shadow: 0 1rem 2rem 0 #00000026;
    z-index: 888888888888;
}

.contact-info.inline {
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-align: center;
    -webkit-box-align: center;
    align-items: center;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    vertical-align: middle;
    flex-direction: row;
    flex-direction: column;
    /* align-items: flex-start; */
}

.inline *[class^="contact_"]+*[class^="contact_"] {
    margin: 0;
}



@media (max-width: 566px) {
    .services_list a {
        /* width: 100%; */
        /* display: flex; */
        /* align-items: center; */
        text-align: left;
        justify-content: flex-start;
        margin-bottom: 2em;
    }

    .services_list a span.services_img {
        /* max-width: 60px; */
        /* max-height: 60px; */
        margin: 0;
        /* margin-right: 1em; */
    }

    section#services {
        color: white;
        /* padding: 3em 1.6em 1em 1.6em; */
    }

    ul.sitemap li>a,
    .search_result_link {
        flex-direction: column;
    }

    .search_result_img {
        width: 100% !important;
        margin-right: 0 !important;
        max-width: none !important;
    }

    .search_result_details {
        flex-grow: 1;
        width: 100%;

    }

    .search_result_img {
        position: relative !important;
        height: 8rem !important;
    }

    .search_result_img::before {
        display: none;
    }

    .heading_withsubhead span {
        margin-top: 0.4rem;
    }

    .heading_withsubhead span::before {
        display: none;
    }

    .heading_withsubhead {
        flex-direction: column;
        text-align: left;
        align-items: flex-start;
    }

    .heading_withlink {
        align-items: flex-start;
    }

    .heading_withlink .header_link {
        font-size: 0.3em;
        padding: 0.5rem;
    }
}

.footer_map {
    position: relative;
    height: 100%;
    width: 100%;
}

div#map_canvas {
    min-height: 480px;
    width: 600px;
    position: relative !important;
    /* inset: 0; */
    width: 100%;
    margin-bottom: 2rem;
}




.sitemap_pageurl {
    color: darkgray;
    font-size: .8rem;
    line-height: 1;
    margin-bottom: 0.3rem;
    /* font-style: italic; */
    /* margin-top: 1rem; */
}

.search_result_img+.search_result_details .sitemap_pageurl {
    margin-top: 1rem;
}

/* Loading spinner */


.lds-ring {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 64px;
    height: 64px;
    margin: 8px;
    border: 8px solid var(--mr-color-accent);
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: var(--mr-color-accent) transparent transparent transparent;
}

.lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
}

.lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
}

.lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
}

@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}








/* REMOVE WHEN GALLEY GETS ADDED */
.images_icon::before {
    content: '\f03e';
    font-family: var(--mr-fontawesome);
    font-weight: 900;
}

.image_results_swiper {
    height: auto;
}

.image_results_swiper .swiper-slide {
    max-width: 15rem;
}

.swiper-slide.gallery_link {
    height: auto;
    background: transparent;
    width: 10rem;
}

.swiper-slide.gallery_link a i {
    background-color: var(--mr-color-accent);
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 2rem;
}

.swiper-slide.gallery_link a {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-decoration: none;
}

.swiper-slide.gallery_link a span {
    text-decoration: underline;
    margin-top: .3rem;
}

.search_results_section.image_results {
    position: relative;
}

.image_results .swiper-button-next,
.image_results .swiper-button-prev {
    background: #ededed;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    box-shadow: 0rem 0.2rem 0.4rem #00000054;
}

.image_results .swiper-button-prev,
.image_results .swiper-rtl .swiper-button-next {
    left: -1.5rem;
    right: auto
}

.image_results .swiper-button-prev:after,
.image_results .swiper-rtl .swiper-button-next:after {
    content: 'prev'
}

.image_results .swiper-button-next,
.image_results .swiper-rtl .swiper-button-prev {
    right: -1.5rem;
    left: auto
}

.image_results .swiper-button-next:after,
.image_results .swiper-rtl .swiper-button-prev:after {
    content: 'next'
}

.image_results_wrapper {
    position: relative;
}

.image_results .swiper-button-next.swiper-button-disabled,
.image_results .swiper-button-prev.swiper-button-disabled {
    opacity: 0;
    cursor: auto;
    pointer-events: none
}

.image_results .swiper-button-next:after,
.image_results .swiper-button-prev:after {
    font-family: swiper-icons;
    font-size: 1rem;
    text-transform: none !important;
    letter-spacing: 0;
    text-transform: none;
    font-variant: initial;
    line-height: 1
}

header .social_links li a:before {
    font-family: var(--mr-fontawesome-brands);
    font-weight: 400;
    font-size: 1.3rem;
}


a.more_link {
    text-align: right;
    display: block;
    width: 100%;
    color: black;
    font-family: var(--mr-font-heading);
    font-weight: 900;
    text-decoration: none;
}

footer .social_links a {
    color: black;
    margin: 0 2rem 2rem;
    font-size: 2.5rem;
}

a.more_link::after {
    content: '\f054';
    font-family: 'FontAwesome';
    font-weight: 900;
    margin: 0 0.5rem;
    font-size: 0.9rem;
}

footer .social_links.list-inline {
    margin: 0;
}

section.footer_content a:hover {
    text-decoration: unset;
}

header ul.navigation_extra li {
    margin-left: 1.5rem;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

header ul.navigation_extra li a::before {
    margin-right: 0;
    font-size: 1.4rem;
}

@media(max-width:415px) {
    .logo_caption h1 span {
        font-size: 10px;
        margin: 5px;
    }
}

@media(max-width:365px) {
    .logo_caption h1 span {
        display: none;
    }
}

.color_theme .level-0.mr-navbar-nav>li:nth-of-type(4n + 1) {
    border-bottom-color: var(--mr-color-primary);
    border-bottom-width: 5px;
    border-bottom-style: solid;
}

.color_theme .level-0.mr-navbar-nav>li:nth-of-type(4n + 2) {
    border-bottom-width: 5px;
    border-bottom-style: solid;
    border-bottom-color: var(--mr-color-secondary);
}

.color_theme .level-0.mr-navbar-nav>li:nth-of-type(4n + 3) {
    border-bottom-width: 5px;
    border-bottom-style: solid;
    border-bottom-color: var(--mr-color-tertiary);
}

.color_theme .level-0.mr-navbar-nav>li:nth-of-type(4n + 4) {
    border-bottom-width: 5px;
    border-bottom-style: solid;
    border-bottom-color: var(--mr-color-quaternary);
}

ul.level-1.mr-navbar-dropdown {
    background: var(--mr-color-accent);
}



h3.nav_header {
    font-family: var(--mr-font-heading);
    border-bottom: 3px solid #000000;
    font-size: 1.5rem;
}

.nav_tiles .mr-nav-tiles {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: -1rem;
}

.nav_tiles .mr-nav-tiles li a {
    display: flex;
    margin-top: 0;
    flex-direction: column;
    border-radius: 0;
    color: black;
    text-decoration: none;
    position: relative;
    cursor: pointer;
    flex-grow: 1;
    width: 100%;
    border: 3px solid transparent;
    font-family: var(--mr-font-heading);
    font-weight: 700;
    font-size: 1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
    margin-bottom: 0.2rem;
    /* white-space: nowrap; */
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    text-align: center;
    transform: translateY(-50%);
    font-size: 1.25em;
    line-height: 1.2em;
    letter-spacing: 0.05em;
    color: #fff;
    /* padding-right: 0.46875rem; */
    /* padding-left: 0.46875rem; */
    height: 100%;
    border: 0;
    align-items: flex-end;
}

.nav_tiles .mr-nav-tiles li {
    display: flex;
    margin-top: 0.9em;
    flex-direction: column;
    border-radius: 0;
    box-shadow: 0 2px 4px #00000024;
    color: black;
    text-decoration: none;
    position: relative;
    cursor: pointer;
    background: var(--mr-color-medium);
    margin: 1rem;
    flex-grow: 1;
    width: calc(25% - .6rem);
    min-width: 280px;
    min-height: 220px;
    padding-bottom: 11%;
    /* border: 3px solid transparent; */
}

.nav_tiles .mr-nav-tiles .pagename {
    font-family: var(--mr-font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    /* overflow: hidden; */
    /* text-overflow: ellipsis; */
    line-height: 1.1;
    margin-bottom: 0.2rem;
    /* white-space: nowrap; */
    background: var(--mr-color-secondary-murky);
    color: var(--mr-color-primary-shade);
    width: 100%;
    margin: auto auto 0;
    padding: 1.5rem;
    max-width: 100%;
    position: relative;
    z-index: 9;
    align-self: flex-end;
    letter-spacing: 0;
}

.nav_tiles .mr-nav-tiles li.tile_spacer {
    box-shadow: none;
    height: 0;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
    border: 0;
    min-width: 280px;
    min-height: unset;
}

.nav_tiles .mr-nav-tiles li:hover {
    /* border: 3px solid var(--mr-color-accent); */
}

.nav_tiles .mr-nav-tiles li.active.current-item {
    display: none;
}

span.pagedescription {
    font-size: 1.2rem;
    text-transform: none;
    font-weight: 400;
    margin: 0;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.1;
    position: relative;
    z-index: 9;
    width: 100%;
}

.nav_tiles .mr-nav-tiles li a .pagedescription {
    height: 0;
    overflow: hidden;
    color: black;
}

#homesections .nav_tiles .mr-nav-tiles li a .pagedescription {

    padding: 0 1rem 0 3.5rem;
}

.nav_tiles .mr-nav-tiles li:hover a .pagedescription {
    height: 6rem;
    transition: .3s all ease;
    margin: 0.5rem;
    /* flex-grow: 1; */
    width: 100%;
    text-align: center;
    margin: 0;
    color: black;
}

#homesections .nav_tiles .mr-nav-tiles li:hover a .pagedescription {

    padding: 0 1rem 0 3.5rem;

}

.nav_tiles .mr-nav-tiles li:hover a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--mr-color-secondary-murky);
    z-index: 1;
}

.nav_tiles .mr-nav-tiles li:hover::before {
    opacity: .5;
    transition: .7s opacity ease;
}

.nav_tiles .mr-nav-tiles li:hover a .pagename {
    background: transparent;
    /* flex-grow: 1; */
    /* display: flex; */
    /* align-items: flex-end; */
}

ul.level-0.mr-navbar-nav>li>a span {
    /* vertical-align: middle; */
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    position: relative;
}


li.has_subnav>a>span {
    position: relative;
    padding-right: 1.4rem;
}

li.products_item a img {
    width: 300px;
    height: 300px;
    flex-grow: 1;
    padding-bottom: 2rem;
    flex-grow: 1;
    object-fit: contain;
    object-position: center;
    transition: .3s all ease;
    margin: auto;
}

ul.products_wrapper {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid var(--mr-color-accent);
    margin-bottom: 2rem;
}

li.products_item {
    flex-grow: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: row;
    margin-bottom: 2rem;
}

li.products_item a {
    /* flex-grow: 1; */
    display: flex;
    flex-direction: column;
    text-align: center;
    height: 100%;
    text-decoration: none;
    position: relative;
}

.products_item .detail_style {
    background: var(--mr-color-primary);
    width: fit-content;
    margin: auto;
    border-radius: 1rem;
    padding: 0 1rem;
    color: black;
    font-family: var(--mr-font-accent);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.75rem;
    margin-bottom: 0.6rem;
}

.products_item .detail_name {
    color: black;
}

li.products_item a:hover img {
    transform: scale(1.05);
}

footer.page-footer .navigation_extra a span {
    text-decoration: underline;
    font-weight: 400;
}

section#homemain {
    padding-bottom: 0;
}

section#productlistings {
    padding-bottom: 0;
}

section#productlistings .products_wrapper {
    margin-bottom: 0;
}



/* BREADCRUMBS */


.breadcrumbs a {
    font-size: 1rem;
    text-decoration: none;
    text-transform: none;
    color: var(--mr-color-text);
}

.breadcrumbs li::after {
    content: '/';
    margin: 0 0.8rem;
}

.breadcrumbs ul {
    list-style: none;
    padding: 0;
    display: block;
}

.breadcrumbs ul li {
    display: inline-block;
}

.breadcrumbs ul li:last-of-type::after {
    content: '';
}

.breadcrumbs {
    display: none;
    background-color: var(--mr-color-tertiary);
    padding: 1.9rem 4vw 0.9rem;
    color: var(--mr-color-primary);
    text-transform: none;
    font-weight: 800;
}

@media (min-width: 768px) {
    .breadcrumbs {
        display: block;
    }

}


.links {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-bottom: 1vw;
    margin-top: 1vw;
    text-align: center;
    font-family: var(--mr-font-accent);
    font-weight: 900;
}

.links a {
    background: black;
    padding: 1vw;
    margin: 1vw;
    border-radius: 3em;
    color: #ff6600;
    text-decoration: none;
    -webkit-box-shadow: 0px 0px 0px rgb(0 0 0);
    box-shadow: 0px 0px 0px rgb(0 0 0);
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease;
    text-align: center;
    flex-grow: 1;
    text-transform: uppercase;
}

.links a:hover {
    -webkit-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
    -webkit-box-shadow: 0px 7px 10px rgb(0 0 0 / 27%);
    box-shadow: 0px 7px 10px rgb(0 0 0 / 27%);
}

a.custom-branded {
    display: block;
    margin: auto;
    text-align: center;
    max-width: 480px;
    width: 100%;
    background: lightgray;
    padding: 1vw;
    border-radius: 3em;
    margin-top: 1vw;
    margin-bottom: 2vw;
    text-decoration: none;
    color: #ff6600;
    -webkit-box-shadow: 0px 0px 0px rgb(0 0 0 / 72%);
    box-shadow: 0px 0px 0px rgb(0 0 0 / 72%);
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease;
    font-weight: 900;
    text-transform: uppercase;
    font-family: var(--mr-font-accent);
}

.links a.custom-branded {
    margin: 1vw;
}

.decoration-pics {
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
}

.decoration-pics img {
    margin: .25rem;
    width: calc(33.3% - .5rem);
    max-width: max-content;
}

.search_style {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.banner_caption {
    color: white;
    text-align: left;
    position: relative;
    padding: 4vw;
    max-width: 70%;
    min-width: 320px;
    font-size: clamp(13px, 2vw, 1.75rem);
    line-height: 1.2;
}

.banner_caption h2 {
    text-align: left;
    color: white;
    text-transform: none;
    font-size: clamp(22px, 4vw, 3.5rem);
    border: 0;
}

a.btn:hover {
    color: white;
    background: var(--mr-color-accent);
}

.header_inner {
    z-index: 99999999999999;
    /* position: relative; */
    display: flex;
}

.subscribe_wrapper {
    background: #e7e7e7;
}

.form_item.checkbox label input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    cursor: pointer;
    z-index: 9;
}

.form_item.checkbox {
    position: relative;
    font-size: 1.3rem;
}

.form_item.checkbox label span.label {
    padding-left: 3rem;
    display: block;
}

.form_item.checkbox label input+span::before {
    content: '';
    width: 2rem;
    height: 2rem;
    background: #b8b8b8;
    position: absolute;
    left: 0;
    border: 7px solid #b8b8b8;
}


button {
    background: var(--mr-color-primary);
    padding: 1.5rem;
    width: 100%;
    color: white;
    text-transform: uppercase;
    font-weight: 600;
    border: 0;
    outline: 0;
    position: relative;
}

button #loading,
.loading_spinner {
    padding: 0;
}

.form_item.checkbox label input:checked+span::before {
    background: var(--mr-color-tertiary);
}

.footer_links {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -1rem 1.5vw;
}

.footer_links a {
    /* width: 300px; */
    font-size: 20px;
    /* background: #e7e7e7; */
    margin: .5rem 1rem;
    display: flex;
    align-items: center;
    /* color: grey !important; */
    flex-grow: 1;
    font-weight: 500;
}

.footer_links a::before {
    font-size: 2.4rem;
    /* padding: 1rem; */
    color: var(--mr-color-primary);
    /* border-right: 1px solid grey; */
    /* margin-right: 1rem; */
    /* min-width: 72px; */
    /* text-align: center; */
}

.footer_links a:hover span {
    text-decoration: underline;
}

.videopopup .overlay_ico {
    position: absolute;
    inset: 0;
    z-index: 9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.videopopup {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.videopopup .overlay_ico::before {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--mr-color-yellow);
    border-radius: 50%;
    color: var(--mr-color-yellow);
    text-shadow: 0 0 10px black;
    box-shadow: 0 0 10px black;
    background: #0000008c;
}

.videopopup:hover .overlay_ico {
    transform: scale(1.1);
    transition: .1s all ease;
}

.home_aside {
    border-left: 5px solid var(--mr-color-accent);
    padding-left: 2vw;
    margin-left: 0vw;
}

.tile_image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.tile_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.opportunities_comp {
    color: grey;
    font-size: 0.8em;
}

.opportunities_title {
    color: var(--mr-color-accent);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.opportunities_pos {
    color: grey;
    font-size: .9em;
}

a.opportunities_more {
    background-color: var(--mr-color-accent);
    color: white;
    text-transform: uppercase;
    font-size: .8rem;
    font-weight: 700;
    text-decoration: none;
    padding: 0.3rem 1rem;
    border-radius: .3rem;
    margin: 0.4rem 0 1.5rem;
    display: flex;
    width: fit-content;
}

.opportunities_widget_wrapper {
    border-bottom: 1px solid #e6e5e5;
}

a.opportunities_viewall {
    display: block;
    text-align: right;
    text-decoration: none;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

a.opportunities_viewall i {
    font-size: 0.8em;
}

.sections_wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: -0.5rem;
}

a.sections_item {
    width: calc(30% - .5rem);
    min-width: 295px;
    margin: 0.5rem;
    flex-grow: 1;
    color: white;
    text-decoration: none;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.sections_item.nations {
    background: var(--mr-color-primary);
}

a.sections_item.programs {
    background: var(--mr-color-tertiary);
}

a.sections_item.entities {
    background: var(--mr-color-secondary);
}

.sections_details h5 {
    font-weight: 500;
    text-transform: uppercase;
    position: relative;
    width: fit-content;
    font-size: clamp(14px, 1.3vw, 24px);
}

.sections_img {
    width: clamp(80px, 14vw, 130px);
    padding: 2vw .5rem;
    position: relative;
}

.sections_img img {
    width: 85%;
    height: auto;
    margin: auto;
    display: block;
}

p.sections_description {
    margin: 0;
    line-height: 1.1;
    font-size: clamp(14px, 1vw, 1.2rem);
}

.sections_details {
    padding: 1rem;
    position: relative;
}

.sections_img::before {
    content: '';
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    width: 1px;
    display: block;
    background: #ffffff40;
}

section#sections {
    padding: 4vw 4vw 2vw;
}

.sections_item:hover .sections_title::after {
    content: '';
    width: 100%;
}

.sections_item .sections_title::after {
    content: '';
    width: 0;
    height: 1px;
    background: white;
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    transition: .3s all ease;
}

.sections_item:hover .sections_img img {
    transition: .3s all ease;
    transform: scale(1.05);
}

a.opportunities_more:hover i {
    transition: .3s all ease;
    transform: translate(50%, 0px);
    display: block;
    margin-left: 0.4rem;
}

a.opportunities_more i {
    display: block;
    margin-left: 0.4rem;
}

.banner_caption p {
    /* max-width: 70%; */
}

.news_description {
    font-size: clamp(16px, 1.5vw, 1.3rem);
}


.columns_wrapper {
    display: flex;
    flex-direction: row;
    /* flex-wrap: wrap; */
}

.columns_side {
    width: 300px;
    min-width: 210px;
    max-width: 320px;
    flex-grow: 1;
    /* position: sticky; */
    /* top: 0; */
    margin-right: 2vw;
    border-right: 5px solid var(--mr-color-accent);
    padding-right: 2vw;
}

.columns_side_inner {
    /* position: sticky; */
    /* top: 120px; */
}

.columns_wrapper .columns_main {
    width: 75%;
    flex-grow: 1;
    padding: 0 2vw 2vw;
    /* margin-left: 2vw; */
    /* border-left: 5px solid var(--mr-color-accent); */
}



.accordion_header {
    background: var(--mr-color-accent);
    color: white;
    padding: 0.5rem 3.3rem 0.5rem 1rem;
    margin-bottom: .5rem;
    position: relative;
    cursor: pointer;
}

.accordion_header::after {
    content: '\2b';
    font-family: 'FontAwesome';
    font-weight: 900;
    position: absolute;
    right: 1rem;
}

.accordion_body {
    display: none;
}

.accordion_header.active::after {
    content: '\f068';
}

.program_item .label {
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 900;
    color: var(--mr-color-accent);
    line-height: 1;
}

.program_item {
    margin-bottom: 1rem;
    line-height: 1.1;
}

.program_map {
    position: relative;
    /* padding-bottom: 100%; */
    height: 250px;
}

.program_map iframe {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

img.programs_headphoto {
    margin-bottom: 1rem;
    max-width: 450px;
    width: 100%;
}

/* .accordion_body {
    display: -webkit-box !important;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1rem; 
}

.accordion_body .accordion_readmore {
    display: block;
}

a.accordion_readmore {
    margin-bottom: 1rem;
    display: block;
    color: grey;
    cursor: pointer;
}

.accordion_body_outer.expanded .accordion_body {
    display: block !important;
}

.accordion_body_outer.expanded a.accordion_readmore {
    display: none;
} */
.accordion_header {
    background: var(--mr-color-accent);
    color: #fff;
    padding: .5rem 3.3rem .5rem 1rem;
    margin-bottom: .5rem;
    position: relative;
    cursor: pointer;
}

.accordion_header::after {
    content: '\2b';
    font-family: 'FontAwesome';
    font-weight: 900;
    position: absolute;
    right: 1rem;
}

.accordion_body {
    height: 6em;
    overflow: hidden;
    display: block !important;
    position: relative;
    /*    padding-right: 1rem; space for ellipsis */
}

/* .accordion_body::after {
    content: "..."; 
    position: absolute;
    bottom: 0;
    right: 0;
    display: n;
} */

.accordion_readmore {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-end;
    color: gray;
    cursor: pointer;
    height: 8rem;
    margin-top: -6rem;
    background: linear-gradient(to top, white, rgba(255, 255, 255, 0));
    position: relative;
}

.accordion_readmore.expanded {
    background: transparent;
    height: auto;
    margin: 0;
    margin-bottom: 2rem;
}


.program_item a {
    color: black;
    text-decoration: none;
}

.program_item a:hover {
    color: var(--mr-color-accent);
    text-decoration: underline;
}

a.videopopup.search_result_link {
    justify-content: flex-start;
}

.footer_content_inner {
    display: flex;
    flex-wrap: wrap-reverse;
}

@media (max-width: 767px) {
    .columns_wrapper {
        flex-direction: column;
    }

    .columns_side {
        width: 100%;
        max-width: none;
    }

    .columns_wrapper .columns_main {
        width: 100%;
        max-width: none;
        padding: 0;
        margin: 0;
        border-left: 0;
    }
}

.program_map #map-canvas {
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
}

.accordion_wrapper {
    margin-top: 2rem;
}

.external_link::before {
    content: '\f08e';
    font-family: 'FontAwesome';
    margin-right: .5rem;
    font-size: 1rem;
    text-decoration: none;
}

a.external_link {
    text-decoration: none;
}

a.external_link span {
    text-decoration: underline;
}




#banner img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 200px;
    max-height: 40vw;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
}

.breadcrumbs li:not(:last-child):after {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    border-top: 2px solid #3a3518;
    border-right: 2px solid #3a3518;
    margin: 0 1rem;
    transform: rotate(45deg);
    position: relative;
    top: -1px;
}

.breadcrumbs h2 {
    padding: 0;
}



section#homesections {
    padding: 4vw;
}

#homepage .nav_tiles {
    margin: 1rem;
}

.footer_content_inner>div {
    padding: 4vw;
    width: 50%;
    min-width: 320px;
    flex-grow: 1;
}

.footer_content_right {
    display: flex;
    align-items: center;
}

.easyedit_editable h2 {
    border-bottom: 3px solid var(--mr-color-primary);
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
}

section#homesections .pagename {
    text-align: left;
    padding-left: 3.5rem;
}

.nav_tiles .pagename::before {
    font-family: 'FontAwesome';
    font-weight: 900;
    position: absolute !important;
    top: 50%;
    transform: translate(0px, -50%);
    left: 0;
    width: 3rem;
    text-align: center;
    margin-left: .5rem;
}


section#homesections .pagedescription {
    text-align: left;
    width: 100%;
}

section#slideshow {
    position: relative;
    /* min-height: calc(458px + 1vw); */
    padding: 0;
}

.edit_slideshow {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 9999999;
    background: #77b9e5;
    border-radius: 2rem;
    padding: 1rem;
    border: 3px solid;
    color: white;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10rem black;
    cursor: pointer;
}

.edit_slideshow::before {
    content: '\f303';
    font-family: 'FontAwesome';
    font-weight: 900;
    margin-right: 1rem;
}

.nav_tiles {
    margin-top: 2vw;
}

.public_eventinfo>div {
    position: relative;
}

.public_eventbody {
    margin-top: 1em;
    margin-bottom: 1em;
}

.rb_group {
    padding-bottom: 1em;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    z-index: 9;
}

.rb_group .rb_button input {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 999;
    cursor: pointer;
}

.rb_group .rb_button span {
    font-size: .9em;
    padding: 0 1em 0 1.8em;
    background: rgb(235, 235, 235);
    border-radius: 2em;
    margin-right: 1em;
    cursor: pointer;
    position: relative;
    margin-bottom: 0;
    z-index: -1;
}

.rb_group .rb_button span:before {
    content: '\f111';
    font-family: "FontAwesome";
    font-weight: 400;
    position: absolute;
    left: .5em;
}

.rb_group .rb_button input+span:after {
    content: '\f00c';
    font-family: "FontAwesome";
    font-weight: 900;
    position: absolute;
    left: .7em;
    font-size: 0.6em;
    padding-top: .5em;
    padding-left: .45em;
    overflow: hidden;
    width: 0;
    opacity: 0;
    -webkit-transition: .2s width linear;
    -o-transition: .2s width linear;
    transition: .2s width linear;
}

.rb_group .rb_button input {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 999;
    cursor: pointer
}

.rb_group .rb_button span {
    font-size: .9em;
    padding: 0.2em 1em 0.2em 1.8em;
    background: #ebebeb;
    border-radius: 2em;
    margin-right: 0.4em;
    cursor: pointer;
    position: relative;
    margin-bottom: 0;
    z-index: -1;
    color: black;
}

.rb_group .rb_button span:before {
    content: '\f111';
    font-family: "FontAwesome";
    font-weight: 400;
    position: absolute;
    left: .5em;
    opacity: 0.3;
}

.rb_group .rb_button input:hover+span {
    background: #d8d8d8
}

.rb_group .rb_button input:checked+span {
    background: rgb(197 198 128);
    color: black;
}

.rb_group .rb_button input+span:after {
    content: '\f00c';
    font-family: "FontAwesome";
    font-weight: 400;
    position: absolute;
    left: 0.7em;
    top: 0.4em;
    font-size: 0.6em;
    padding-top: 0.4em;
    padding-left: .45em;
    overflow: hidden;
    width: 0;
    opacity: 0;
    -webkit-transition: .2s width linear;
    -o-transition: .2s width linear;
    transition: .2s width linear;
    color: #feffd4;
}

.rb_group .rb_button input:checked+span:after {
    width: 2em;
    opacity: 1;
}

label.rb_button {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    position: relative;
    margin-bottom: .3rem;
}

.public_eventinfo input,
.public_eventinfo textarea,
.public_eventbody input,
.public_eventbody textarea,
.public_eventinfo select {
    width: 100%;
    margin-bottom: 1.2em;
}

.translate_button,
button.translate_button {
    background: transparent;
    color: var(--mr-color-accent);
    border: 0;
    font-family:
        'Montserrat';
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.05rem;
    margin-left: auto;
    display: block;
    cursor: pointer;
    padding: 0;
}

.translate_button::before,
button.translate_button::before {
    content: '\e2ca';
    font-family: 'FontAwesome';
    margin-right: 0.3rem;
    font-weight: 900;
}

.public_eventinfo.contact_col {
    width: 100%;
}

.datepickwrap input {
    width: calc(100% - 3em);
    margin-bottom: 1.2em;
}

.datepickwrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

span.formnote {
    position: absolute;
    bottom: 0em;
    font-size: 0.7em;
    /* font-style: italic; */
    color: rgb(186, 186, 186);
    left: 15px;
}

.datepickwrap i {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 1.65em;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 2em;
    cursor: pointer;
    font-size: 1em;
}

/* Header */
.site-header {
    background: var(--color-white);
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.site-header .logo img {
    height: 50px;
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    font-weight: 600;
    color: var(--color-primary);
}

/* Hero */
.hero {
    position: relative;
    background: url('/images/banner.jpg') top/cover no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: var(--mr-color-light);
    padding-top: 315px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
}

.hero-content {
    position: relative;
    max-width: 750px;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Sections */
section {
    padding: 4rem 0;
}

.how-it-works h2,
.merch h2,
.giveaways h2,
.sponsors h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 2rem;
}

/* Steps */
.step {
    text-align: center;
}

.step i {
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

.step h3 {
    margin: 1rem 0 0.5rem;
}

/* Merchandise cards */
.product-card {
    background: var(--color-white);
    border: 1px solid #102140;
    border-radius: 6px;
    padding: 1rem;
    text-align: center;
}

.product-card img {
    max-width: 100%;
    border-radius: 4px;
    margin-bottom: 1rem;
    height: 240px;
    /* margin-top: -40px; */
}

.product-card .price {
    display: block;
    font-size: 3rem;
    font-weight: 400;
    margin: 0.5rem 0;
}

/* Giveaways */
.giveaway-item img {
    width: 100%;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

/* Sponsors */
.sponsor-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    gap: 2rem;
}

.sponsor-logos img {
    max-height: 120px !important;
    max-width: 100%;
    object-fit: contain !important;
    object-position: center !important;
    filter: grayscale(1) opacity(.7);
}

/* Ad CTA */
.ad-cta {
    background: var(--color-secondary);
    text-align: center;
    padding: 4rem 0;
}

.ad-cta h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.ad-cta p a {
    font-weight: 600;
    color: var(--color-primary);
}

/* Footer */
.site-footer {
    background: #1c2b4a;
    color: white;
    padding: 3rem 0 1rem;
    font-size: 1rem;
}

.footer-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
    justify-content: space-between;
}

.footer-col h4 {
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 2.5rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-col ul li {
    margin-bottom: 0;
}

.social-icons a {
    margin-right: 0.5em;
    font-size: 1em;
    color: var(--color-white);
}

footer .copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0;
    padding-top: 1rem;
    font-size: 0.9rem;
    text-align: center;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap-reverse;
    text-align: center;
    gap: 0.6rem;
}

footer .text-link {
    color: var(--color-secondary);
    font-weight: 600;
}

section.how-it-works {
    background: var(--mr-color-primary);
    color: var(--mr-color-light);
}


section.how-it-works h3,
section.how-it-works h2 {
    color: var(--mr-color-light);
}

i.fas.fa-ticket-alt.fa-2x {
    transform: rotate(-25deg);
    display: inline-block;
}

section.giveaways {
    background: #01060d;
    color: white;
}

section.giveaways h2 {
    color: white;
}

.giveaway-item {
    text-align: center;
}

section .btn {
    margin-top: 3rem;
}

section.giveaways .btn {
    border-color: white;
    color: white;
}

.product-card .btn {
    margin: 1rem 1.5rem 0;
    width: calc(100% - 3rem);
    font-size: 1.5rem;
    font-weight: 900;
    padding: 1rem;
    box-sizing: border-box;
    display: block;
}

.ad-wrapper {
    display: flex;
    width: 100%;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 0 1rem;
}

.ad-wrapper img {
    max-width: 190px;
}

.ad-wrapper h3 {
    font-size: 1.6em;
    text-transform: uppercase;
}

.ad-text {
    font-family: 'Bitter';
    font-size: 2.2rem;
    line-height: 1;
    font-weight: 700;
    color: #1d2a4a;
    text-align: left;
}

.step p {
    font-size: 1rem;
    margin-top: 2rem;
}

footer.site-footer svg .cls-1 {
    fill: white;
}

.social-icons {
    font-family: 'Bitter';
    font-size: 1.5em;
    font-weight: 700;
    display: flex;
    justify-content: center;
}

.social-icons span {
    margin-right: 0.7rem;
}

.footer-col ul a {
    color: white;
}

.footer-col ul a:hover {
    text-decoration: underline;
}

.footer-col {
    width: 330px;
    min-width: 300px;
    /* flex-grow: 1; */
}

.footer-col:nth-of-type(3) {
    min-width: 0;
    width: 242px;
}

.footer-col:nth-of-type(2) {
    flex-grow: 1;
}

.footer-col:nth-of-type(3) h4 {
    margin-bottom: 0.4rem;
}

section.hero .btn {
    border-color: white;
    color: white;
}

.container.copyright>div {
    /* flex-grow: 1; */
}

ul.mr-member-menu {
    display: flex;
    flex-direction: row;
    list-style: none;
    /* width: 100%; */
    align-items: center;
    justify-content: flex-start;
    font-size: 0.8rem;
    font-weight: 400;
    font-family: var(--mr-font-accent);
    text-transform: uppercase;
    text-decoration: none;
    margin: 0;
    height: unset;
    padding: 0;
    overflow: unset;
    gap: 1rem;
    margin-right: 3vw;
}

ul.mr-member-menu a {
    font-size: calc(14px + 1.25em);
    text-align: center;
    width: 100%;
    line-height: 1;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    position: relative;
    z-index: 2;
    padding: 1.25rem;
    padding-left: clamp(10px, 1.5vw, 45px);
    padding-right: clamp(10px, 1.5vw, 45px);
    cursor: pointer;
    transition: .3s all ease;
    color: #ffffff;
    font-weight: 700;
    /* border-bottom-width: clamp(5px, .5vw, 8px); */
    /* border-bottom-style: solid; */
    height: 100%;
    vertical-align: middle;
    text-transform: none;
    justify-content: center;
    font-family: var(--mr-font-heading);
    border: 1px solid #ffffff26;
    font-size: 1rem;
    padding: 1rem;
    border-radius: 5px;
}

ul.mr-member-menu a:hover {
    border-color: white;
}

.mr-navbar-admin-nav {
    display: flex;
    list-style: none;
    padding: 0;
    width: 100%;
    margin: 0;
    background: #0000001c;
    box-shadow: inset 0 0 10px #00000040;
}

nav.mr-navbar-admin-nav-wrap {
    width: 100%;
}

ul.mr-navbar-admin-nav a {
    padding: 0.3rem 1rem;
    display: block;
    color: white;
    flex-grow: 1;
    text-align: center;
    border-bottom: 3px solid transparent;
    font-size: clamp(16px, 1.6vw, 23px);
}

ul.mr-navbar-admin-nav a:hover {
    background: #00000036;
    border-bottom-color: #ffffff;
}

.submit_row {
    margin-top: 2rem;
}

.value {
    display: flex;
    gap: 10px;
}

li.mr-navbar-admin-item {
    display: block;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tile-radio .value.inline label {
    display: inline-block;
    border: 2px solid #ccc;
    border-radius: 8px;
    /* padding: 16px 24px; */
    /* margin-right: 16px; */
    cursor: pointer;
    font-weight: normal;
    background-color: #f9f9f9;
    transition: all 0.2s ease;
    user-select: none;
}

.tile-radio .value.inline input[type="radio"] {
    display: none;
}

.tile-radio .value.inline input[type="radio"]+span {
    color: #000;
    border-radius: 6px;
    padding: 14px 22px;
    display: inline-block;
    margin: 0;
}

.tile-radio .value.inline input[type="radio"]:checked+span {
    background-color: #007bffad;
    color: #fff;
    border-radius: 6px;
    padding: 14px 22px;
    display: inline-block;
}

.tile-radio .value.inline label:hover {
    border-color: #999;
    background-color: #f1f1f1;
}

.value>span {
    font-size: 1rem;
    margin: 0.4rem 0.3rem 0.1rem;
}

.promo_offers_wrapper {
    display: flex;
    justify-content: center;
    /* padding: 2rem; */
}

.promo_offers_list {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 1200px;
    justify-content: center;
    width: 100%;
}

.promo_offer_list_item {
    position: relative;
    width: 100%;
    width: 310px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.2s ease;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.promo_offer_list_item:hover {
    transform: translateY(-5px);
}

.promo_offer_item_banner {
    position: absolute;
    top: 0;
    left: 0;
    background: #e91e63;
    color: #fff;
    padding: 0.3rem 0.75rem;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    z-index: 1;
    border-bottom-right-radius: 10px;
}

.promo_offer_item_image img,
.promo_offer_giveaway_image img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.promo_offer_item_name {
    font-size: 1rem;
    font-weight: bold;
    margin: 1rem;
}

.promo_offer_item_price {
    font-size: 1.1rem;
    font-weight: bold;
    color: #2e7d32;
    margin: 0 1rem 1rem;
}

.promo_offer_giveaway_wrapper {
    border-top: 1px solid #eee;
    padding: 1rem;
    background-color: #fafafa;
    text-align: center;
}

.promo_offer_giveaway_text {
    font-size: 0.85rem;
    color: #666;
}

.promo_offer_giveaway_name {
    font-weight: bold;
    margin: 0.5rem 0;
}

.promo_offer_giveaway_price {
    font-weight: bold;
    color: #1976d2;
}

.promo_offer_item_link {
    display: block;
    text-align: center;
    padding: 0.75rem;
    background-color: #1976d2;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-top: 1px solid #ddd;
    transition: background-color 0.2s ease;
}

.promo_offer_item_link:hover {
    background-color: #125ea3;
}

.promo_offer_item_image {
    width: 100%;
    height: auto;
    /* Adjust as needed */
    height: 300px;
    overflow: hidden;
    border-bottom: 1px solid #eee;
    flex-grow: 1;
    position: relative;
}

.promo_offer_item_image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
}

/* Responsive layout */
@media (max-width: 768px) {
    .promo_offer_list_item {
        max-width: 100%;
    }
}

.promo_offer_item_top {
    flex-grow: 1;
}

.promo_offer_giveaway_image img {
    height: 200px;
    object-fit: contain;
    object-position: center;
    mix-blend-mode: darken;
}

.shop_filter_form {
    /* max-width: 500px; */
    background: #f4f4f4;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.shop_filter_form h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.shop_filter_form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.shop_filter_form select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: white;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D'10'%20height%3D'7'%20viewBox%3D'0%200%2010%207'%20xmlns%3D'http%3A//www.w3.org/2000/svg'%3E%3Cpath%20d%3D'M0%200l5%207%205-7z'%20fill%3D'%23666'%20/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 10px;
}

.content-col {
    max-width: 1200px;
    margin: auto;
}

.promo_offers_details_wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 2rem auto;
    max-width: 1200px;
    padding: 1vw;
}

.promo_offers_details_left,
.promo_offers_details_right {
    background: #fff;
    padding: 2vw;
    border: 1px solid #eee;
    border-radius: 10px;
    flex-grow: 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.promo_offers_details_wrapper>div {
    width: calc(50% - 2rem);
    flex-grow: 1;
    min-width: 300px;
}

.promo_offer_item_name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.promo_offer_item_image img {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.promo_offer_item_description {
    font-size: 1rem;
    line-height: 1.5;
    color: #333;
    margin-bottom: 1rem;
}

.promo_offer_item_buy_now,
.buy_details {
    background-color: #f9f9f9;
    padding: 1rem;
    margin-bottom: 1rem;
    border-left: 5px solid #4caf50;
    font-weight: bold;
    color: #2e7d32;
}

.note_label {
    font-weight: bold;
    color: #444;
}

.note_details {
    margin-bottom: 0.5rem;
}

.promo_offer_purchase_wrapper {
    border-top: 1px solid #eee;
    padding-top: 1.5rem;
}

.purchase_form_item {
    margin-bottom: 1rem;
}

.purchase_form_item label {
    font-weight: 600;
    /* margin-right: 0.5rem; */
    display: flex;
    gap: 0.4rem;
}

.purchase_form_item input[type="text"],
.purchase_form_item input[type="number"],
.purchase_form_item select {
    width: 100%;
    padding: 0.6rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.purchase_form_item input[type="checkbox"],
.purchase_form_item input[type="radio"] {
    margin-right: 0.5rem;
}

.button {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border: none;
    background: #1976d2;
    color: white;
    border-radius: 6px;
    cursor: pointer;
}

.button:disabled {
    background: #aaa;
    cursor: not-allowed;
}

.promo_offers_giveaway_wrapper {
    margin-bottom: 2rem;
}

.promo_offer_giveaway_name {
    font-size: 1.3rem;
    font-weight: bold;
    margin: 0.5rem 0;
}

.promo_offer_giveaway_value {
    color: #1976d2;
    font-weight: bold;
    margin-bottom: 1rem;
}

#slideshow img {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.promo_offers_sponsor_wrapper {
    border-top: 1px solid #eee;
    padding-top: 1.5rem;
    margin-top: 2rem;
}

.sponsor_image img {
    max-width: 150px;
    margin-bottom: 1rem;
}

.sponsor_label {
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.sponsor_name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.sponsor_address,
.sponsor_tag_line,
.sponsor_description {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    color: #333;
}

@media (max-width: 900px) {
    .promo_offers_details_wrapper {
        /* flex-direction: column; */
    }

    .promo_offers_details_left,
    .promo_offers_details_right {
        /* flex: 1 1 100%; */
    }
}

/* Swiper Container */
.swiper {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 4 / 3;
    margin: 1rem auto;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    /* background-color: #f0f0f0; */
}

/* Slides */
.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    /* height: 400px; */
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    max-height: 400px;
    object-fit: contain;
}

/* Pagination Dots */
.swiper-pagination {
    position: absolute;
    bottom: 10px;
    text-align: center;
    width: 100%;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #aaa;
    opacity: 0.7;
    border-radius: 50%;
    display: inline-block;
    margin: 0 4px;
    transition: all 0.2s ease;
}

.swiper-pagination-bullet-active {
    background: #1976d2;
    opacity: 1;
}

/* Main Swiper */
.main-swiper {
    width: 100%;
    /* max-width: 500px; */
    aspect-ratio: 4 / 3;
    margin: 1rem auto;
    border-radius: 8px;
    overflow: hidden;
    /* background: #f0f0f0; */
    box-shadow: 0 10px 20px #00000026;
}

.main-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Thumbnail Swiper */
.thumb-swiper {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding-top: 0;
    box-sizing: border-box;
    height: 90px !important;
    padding: 10px;
    box-shadow: 0 10px 20px #00000024, inset 0 0 30px #00000052;
    background: #dddddd;
}

.thumb-swiper .swiper-slide {
    width: 25%;
    height: 80px;
    opacity: 0.5;
    cursor: pointer;
    box-sizing: border-box;
    position: relative;
    z-index: 99999;
}

.thumb-swiper .swiper-slide-thumb-active {
    opacity: 1;
    border: 2px solid #1976d2;
}

.thumb-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.buy_details {
    border-radius: 0.9rem;
    margin-top: 1rem;
    background: #00800017;
    border-left: 3px solid;
}

.promo_offer_giveaway_description {
    padding: 2em 0;
}

.swiper-button-prev,
.swiper-button-next {
    color: #333;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.main-swiper-wrapper,
.thumb-swiper-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumb-swiper-wrapper .swiper-button-prev,
.thumb-swiper-wrapper .swiper-button-next {
    top: 50%;
    /* transform: translate(-50%, 50%); */
    font-size: 12px;
    /* width: 24px; */
    /* height: 24px; */
}

.swiper-button-prev,
.swiper-button-next {
    display: flex !important;
    /* override swiper's display: none */
    align-items: center;
    justify-content: center;
}

.swiper-button-next.swiper-button-disabled,
.swiper-button-prev.swiper-button-disabled {
    opacity: .35;
    cursor: auto;
    pointer-events: none;
    opacity: 0;
}

.swiper-button-prev {
    left: 0;
    transform: translate(-50%, 0);
}

.swiper-button-next {
    right: 0;
    left: auto;
    transform: translate(50%, 0);
}

.swiper-button-next:after,
.swiper-button-prev:after {

    font-size: 1rem;
}

.radio-button-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.radio-button-option {
    position: relative;
    cursor: pointer;
    user-select: none;
    font-weight: bold;
    border: 2px solid #1976d2;
    border-radius: 6px;
    /* padding: 0.5rem 1rem; */
    background-color: #fff;
    color: #1976d2;
    transition: all 0.2s ease;
    overflow: hidden;
}

.radio-button-option input[type="radio"] {
    position: absolute;
    /* opacity: 0; */
    pointer-events: none;
}

.radio-button-option input[type="radio"]:checked+span {
    /* color: white; */
    /* background-color: #1976d2; */
}

.radio-button-option span {
    display: inline-block;
    width: 100%;
}

.radio-button-option:hover {
    background-color: #e3f2fd;
}

.radio-button-option input:disabled+span {
    /* background-color: #ddd; */
    color: #888;
    cursor: not-allowed;
    border-color: #ccc;
    padding: 0.5rem 1rem .5em 0;
}

.radio-button-option.disabled {
    opacity: .3;
}

.agree-item {
    display: flex;
    /* align-items: center; */
    /* flex-wrap: wrap; */
    /* gap: 0.75rem; */
}

.agree-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border: 2px solid #1976d2;
    border-radius: 6px;
    background-color: #fff;
    color: #1976d2;
    cursor: pointer;
    transition: all 0.2s ease;
}

.agree-label input[type="checkbox"] {
    appearance: none;
    width: 2em;
    height: 2em;
    border: 2px solid #1976d2;
    border-radius: 4px;
    background: #fff;
    position: relative;
    cursor: pointer;
}

.agree-label input[type="checkbox"]:checked::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 6px;
    width: 4px;
    height: 8px;
    border: solid #1976d2;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.agree-item.disabled {
    background-color: #eee;
    border-color: #ccc;
    color: #888;
    cursor: not-allowed;
    opacity: 0.6;
}

.disabled .agree-label input {
    pointer-events: none;
    opacity: .5;
}

.rules-link {
    font-weight: bold;
    color: #1976d2;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.rules-link:hover {
    color: #125ea3;
}

label.agree-label {
    display: flex;
    gap: 0.4rem;
    align-items: center;
}

.buttons_wrapper {
    margin: 0.6em 0 1em;
    display: flex;
    gap: 10px;
}

.sponsor_image {
    float: right;
    display: inline;
    width: fit-content;
}

.radio-button-group {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.radio-button-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0 0 0 1.25rem;
    border: 2px solid #1976d2;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
    position: relative;
    font-weight: bold;
    color: #1976d2;
}

.radio-button-option input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 1.4em;
    height: 1.4em;
    border: 3px solid #1976d2;
    border-radius: 50%;
    background-color: #fff;
    position: relative;
    cursor: pointer;
    transition: box-shadow 0.2s ease;
}

.radio-button-option input[type="radio"]::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0.6em;
    height: 0.6em;
    background-color: #1976d2;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.2s ease;
}

.radio-button-option input[type="radio"]:checked::before {
    transform: translate(-50%, -50%) scale(1);
}

.radio-button-option:hover {
    background-color: #f0f7ff;
}

.radio-button-option.disabled {
    border-color: #ccc;
    color: #aaa;
    background: #eee;
    cursor: not-allowed;
    opacity: 0.7;
    flex-grow: 1;
}

.radio-button-option.disabled input {
    pointer-events: none;
    border-color: #bbb;
}

fieldset legend {
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.buttons_wrapper button {
    border: 2px solid #1976d2;
    background: #1976d217;
    color: #1976d2;
}

.number-selection-summary {
    min-width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

.popup-header .popup-close {
    background: transparent;
    color: white;
}

.login_form_item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-bottom: 0.6rem;
}

.login_form_item label {
    /* font-weight: bold; */
    /* color: #222; */
}

.login_form_item input[type="text"],
.login_form_item input[type="password"],
.login_form_item select {
    padding: 0.6rem 0.9rem;
    border: 2px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.login_form_item input:focus {
    outline: none;
    border-color: #1976d2;
}

.helper-text {
    font-size: 0.85rem;
    color: #666;
    margin-top: -0.4rem;
}

.radio-button-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.radio-button-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border: 2px solid #1976d2;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
    color: #1976d2;
    font-weight: bold;
}

.radio-button-option input[type="radio"] {
    appearance: none;
    min-width: 1.9em;
    min-height: 1.9em;
    max-width: 1.9em;
    max-height: 1.9em;
    width: 1.9em;
    height: 1.9em;
    border: 3px solid #1976d2;
    border-radius: 50%;
    background: #fff;
    position: relative;
    cursor: pointer;
}

.radio-button-option input[type="radio"]::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0.55em;
    height: 0.55em;
    background-color: #1976d2;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.2s ease;
}

.radio-button-option input[type="radio"]:checked::before {
    transform: translate(-50%, -50%) scale(1);
}

.radio-button-option:hover {
    background-color: #f0f7ff;
}

.popup-actions {
    padding: 10px 15px 10px !important;
    display: flex !important;
    justify-content: flex-end;
    gap: 10px;
    border-top: 1px solid #ccc;
    background-color: #f9f9f9;
    align-items: center;
    /* flex-wrap: wrap; */
}

.value.inline {
    display: flex;
    flex-wrap: wrap;
}

.popup-box {
    max-height: 90%;
    /* overflow-y: auto; */
}

.popup-header {
    position: sticky;
    top: 0;
}

.popup-actions .button {
    width: auto;
    flex-grow: 1;
}

.popup-actions>label {
    width: 35%;
    flex-grow: 1;
}

.popup-overlay {
    z-index: 9999999999;
}

.popup-content {
    overflow: overlay;
    max-height: 100%;
}

.popup-box {
    display: flex;
    flex-direction: column;
}

.popup-actions {
    justify-content: center;
}

.popup-actions .buttons_wrapper {
    flex-grow: 1;
    margin: 0;
}

.purchase_details {
    font-size: 0.8em;
}

/* General Layout */
.content_singlecol {
    max-width: 1200px;
    width: 100%;
    margin: auto;
    padding: 2rem;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

/* Add New Item Button */
.admin_add_wrapper .button_row {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1rem;
}

.admin_add_wrapper a#add_item {
    display: inline-flex;
    align-items: center;
    background: #1a2a4f;
    color: #fff;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.admin_add_wrapper a#add_item:hover {
    background: #0f1a33;
}

.admin_add_wrapper i {
    margin-right: 0.5rem;
}

/* Promo Item Grid */
.promo_item_listings {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.promo_item_listings li {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.promo_item_listings li:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.promo_item_listings a {
    display: block;
    text-align: center;
    text-decoration: none;
    color: #111;
    font-weight: 600;
    padding: 0.5rem;
}

.promo_item_listings img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
    margin-bottom: 0.5rem;
    background: #ddd;
}

/* Mobile Adjustments */
@media (max-width: 500px) {
    .admin_add_wrapper .button_row {
        justify-content: center;
    }

    .promo_item_listings {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }

    .promo_item_listings img {
        height: 100px;
    }
}


.promo_item_listings li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e0e0e0;
    transition: box-shadow 0.2s ease;
    text-align: center;
    height: 100%;
}

.promo_item_listings li a:hover {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.promo_thumb {
    width: 100%;
    max-height: 150px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.promo_thumb img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    max-height: 150px;
}

.promo_title {
    font-size: 1rem;
    font-weight: 600;
    color: #111;
    line-height: 1.2;
    word-wrap: break-word;
}

@media (max-width: 768px) {
    .promo_item_listings {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }

    .promo_thumb img {
        max-height: 120px;
    }
}

.admin_header_row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.admin_header_row h3 {
    margin: 0;
    font-size: 1.75rem;
}

.admin_add_wrapper .button_row {
    display: flex;
    justify-content: flex-end;
}

.admin_add_wrapper a#add_item {
    background-color: #1a2a4f;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: background 0.3s ease;
}

.admin_add_wrapper a#add_item:hover {
    background-color: #0f1a33;
}

.admin_header_row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.admin_header_row h3 {
    margin: 0;
    font-size: 1.75rem;
}

.admin_add_wrapper .button_row {
    display: flex;
    justify-content: flex-end;
}

.admin_add_wrapper a#add_item {
    background-color: #1a2a4f;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: background 0.3s ease;
}

.admin_add_wrapper a#add_item:hover {
    background-color: #0f1a33;
}

.admin_view_tap {
    margin-bottom: 1.5rem;
    font-style: italic;
    color: #555;
    font-size: 0.95rem;
}

/* Overall table font and spacing */
.tabulator {
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.95rem;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #ccc;
}

/* Table header styling */
.tabulator .tabulator-header {
    background-color: #f6f6f6;
    border-bottom: 1px solid #ccc;
}

.tabulator .tabulator-col {
    /* padding: 8px 10px; */
    font-weight: 600;
    color: #333;
}

.tabulator .tabulator-col .tabulator-header-filter input {
    font-size: 0.85rem;
    padding: 4px 6px;
    border-radius: 4px;
    border: 1px solid #bbb;
}

/* Table body row spacing */
.tabulator .tabulator-row {
    border-bottom: 1px solid #eee;
}

.tabulator .tabulator-cell {
    padding: 10px;
    vertical-align: middle;
}

/* Zebra striping */
.tabulator .tabulator-row:nth-child(even) {
    background-color: #fafafa;
}

/* Row hover effect */
.tabulator .tabulator-row:hover {
    background-color: #f0f4ff;
    cursor: pointer;
}

/* Logo styling */
.tabulator .tabulator-cell img {
    max-height: 50px;
    max-width: 80px;
    border-radius: 6px;
    object-fit: contain;
    background: #fff;
    border: 1px solid #ddd;
    padding: 2px;
}

/* Pagination container cleanup */
.tabulator-paginator {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-left: 1em;
    font-size: 0.9rem;
}

.tabulator .tabulator-footer .tabulator-page Specificity: (0, 3, 0) {

    width: auto;
}

/* Fix weird width on page size dropdown */
.tabulator-page-size {
    width: auto !important;
    min-width: 60px;
    max-width: 100px;
    padding: 4px 6px;
    font-size: 0.9rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Style pagination buttons */
.tabulator-page {
    padding: 4px 10px;
    font-size: 0.9rem;
    background: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-left: 2px;
    transition: background 0.2s ease;
    color: black;
}

.tabulator-page:hover:not([disabled]) {
    background: #dce7ff;
}

.tabulator-page.active {
    background: #1a2a4f;
    color: white;
    font-weight: bold;
}

.tabulator-page[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

/* header row (title + button) ----------------*/
.admin_header_row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.admin_header_row h3 {
    margin: 0 !important;
}

.admin_add_wrapper .button_row {
    display: flex;
    justify-content: flex-end;
}

.admin_add_wrapper a#add_item,
.submit_row .button,
.custom-file-button {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: #1a2a4f;
    color: #fff;
    padding: .45rem 1rem;
    border: none;
    border-radius: 6px;
    font-size: .9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s ease;
}

.admin_add_wrapper a#add_item:hover,
.submit_row .button:hover,
.custom-file-button:hover {
    background: #0f1a33;
}

/* =============  FORM GRID  ============= */
.admin_sponsors_form {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 2rem 1.25rem;
}

.form_section {
    display: grid;
    gap: 1.25rem;
}

/* each row = label + value */
.form_row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.form_item {
    flex: 1 1 100%;
    display: flex;
    flex-wrap: wrap;
}

.form_item.inline {
    align-items: center;
    gap: .5rem;
}

.label {
    flex: 0 0 180px;
    font-weight: 600;
    padding-top: .25rem;
}

.value {
    flex: 1 1 300px;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="file"],
select,
textarea {
    width: 100%;
    font-size: .95rem;
    padding: .45rem .6rem;
    border: 1px solid #bbb;
    border-radius: 4px;
    box-sizing: border-box;
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* custom file button and hidden input */
input[type="file"] {
    display: none;
}

.custom-file-button {
    background: #eee;
    color: #111;
    border: 1px solid #bbb;
    gap: 0;
}

.custom-file-button:hover {
    background: #ddd;
}

/* TinyMCE override so it fills the new grid cell */
.tox-tinymce {
    border-radius: 4px;
}

/* checkbox row */
.form_item.inline .value {
    flex: 0 0 auto;
}

.form_item.inline .label {
    flex: 0 0 auto;
    padding-top: 0;
}

/* ==================  SUBMIT ROW ================= */
.submit_row {
    margin-top: 2rem;
    display: flex;
    gap: .75rem;
    /* flex-wrap:wrap; */
}

.submit_row input.button {
    min-width: 120px;
}

/* ==================  MESSAGES =================== */
p.message-ok {
    color: limegreen;
    font-weight: 600;
    margin: 0 0 .5rem;
}

p.message-error {
    color: #c62828;
    font-weight: 600;
    margin: 0 0 .5rem;
}

/* =================  POP-OVER ==================== */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-box {
    background: #fff;
    width: min(90vw, 700px);
    max-height: 90vh;
    overflow: auto;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .35);
    /* padding:1.5rem; */
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.popup-title {
    font-size: 1.25rem;
    font-weight: 700;
}

.popup-close {
    font-size: 1.3rem;
    color: #444;
    cursor: pointer;
}

.popup-close:hover {
    color: #000;
}

/* sortable thumbs */
#sortable {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0;
}

#sortable li {
    list-style: none;
    position: relative;
}

#sortable img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* fade-message in pop-over */
.popover-message {
    margin-top: 1rem;
    font-size: .95rem;
    font-weight: 600;
}

/* responsive tweaks */
@media(max-width:600px) {
    .label {
        flex: 0 0 100%;
    }

    .value {
        flex: 1 1 100%;
    }
}

/* ========== CONTAINER ========== */
.content-col.admin {
    max-width: 1200px;
    margin: 0 auto;
    font-family: "Segoe UI", sans-serif;
}

/* ========== HEADERS ========== */
.content-col.admin h3 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

/* ========== FORM LAYOUT ========== */
.admin_promo_offer_wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.admin_promo_offer_form,
.admin_promo_offer_draw {
    flex: 1 1 500px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 1.5rem;
}

.form_section {
    display: grid;
    gap: 1rem;
}

.form_row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.form_item {
    flex: 1 1 100%;
    display: flex;
    flex-wrap: wrap;
}

.label {
    flex: 0 0 180px;
    font-weight: 600;
    padding-top: 0.4rem;
}

.value {
    flex: 1 1 300px;
}

.form_item.inline {
    align-items: center;
    gap: 1rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    font-size: 0.95rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid #bbb;
    border-radius: 4px;
    box-sizing: border-box;
    background: #fdfdfd;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

input[readonly],
select[disabled],
textarea[readonly] {
    background-color: #f5f5f5;
    color: #444;
    cursor: default;
}

/* ========== BUTTONS ========== */
.button {
    display: inline-block;
    background: #1a2a4f;
    color: white;
    padding: 0.45rem 1rem;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.button:hover {
    background: #0f1a33;
}

/* ========== SUBMIT AREA ========== */
.submit_row {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ========== SECTION HEADINGS ========== */
.form_row .label label b {
    font-size: 1rem;
    text-transform: uppercase;
    color: #1a2a4f;
}

/* ========== PHOTO POPUP ========== */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-box {
    background: #fff;
    border-radius: 8px;
    /* padding: 1.5rem; */
    /* max-width: 800px; */
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
    width: 90%;
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.popup-title {
    font-size: 1.25rem;
    font-weight: bold;
}

.popup-close {
    color: #444;
    font-size: 1.25rem;
    text-decoration: none;
}

.popup-close:hover {
    color: #000;
}

#view_sortable {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0;
    margin: 1rem 0;
}

#view_sortable li {
    list-style: none;
}

#view_sortable img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #ccc;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .label {
        flex: 1 1 100%;
    }

    .value {
        flex: 1 1 100%;
    }

    .admin_promo_offer_wrapper {
        flex-direction: column;
    }
}

/* ===== Reporting Page Styles ===== */


.content-col a:hover {
    /* background: #0f1a33; */
}

/* ==== Communities Section ==== */

.content-col h3 {
    font-size: 1.8rem;
    margin-bottom: 1.25rem;
    color: #1a2a4f;
}

/* Table layout */
table.table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 1rem;
}

table.table tr {
    border-bottom: 1px solid #eee;
}

table.table tr:last-child {
    border-bottom: none;
}

table.table td {
    padding: 0.75rem 1rem;
    vertical-align: middle;
    font-size: 1rem;
}

table.table td:first-child {
    font-weight: 500;
    color: #333;
}

table.table td:last-child {
    text-align: right;
    white-space: nowrap;
}

/* Icon links */
table.table td a {
    /* color: #1a2a4f; */
    margin-left: 0.75rem;
    font-size: 1.1rem;
    transition: color 0.2s ease;
}

table.table td a:hover {
    color: #dddddd;
}

/* Add button */
.content-col .button {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #1a2a4f;
    color: #fff;
    padding: 0.5rem 1rem;
    font-weight: bold;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s ease;
    margin-top: 0.5rem;
    justify-content: center;
}

.content-col .button:hover {
    background: #0f1a33;
}

.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 9999999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.popup-box {
    background: #fff;
    border-radius: 8px;
    width: 100%;
    /* max-width: 500px; */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

/* Header */
.popup-header {
    background: #1a2a4f;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    font-size: 1.1rem;
    font-weight: bold;
}

.popup-header .popup-close {
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
}

.popup-header .popup-close:hover {
    color: #ffcccc;
}

/* Content */
.popup-content {
    padding: 1.25rem;
}

.popup-content .label {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #333;
}

.popup-content .value input[type="text"] {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

/* Prompt section (delete confirm) */
#community-prompt-content {
    padding: 1rem;
    font-size: 1rem;
    color: #333;
}

#community-prompt-content i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: inline-block;
}

/* Actions */
.popup-actions {
    background: #f5f5f5;
    padding: 1rem;
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.popup-actions .btn {
    padding: 0.5rem 1rem;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-transform: none;
    margin: 0 !important;
}

.btn-cancel {
    background: #ccc;
    color: #000;
}

.btn-cancel:hover {
    background: #999;
}

.btn-submit {
    background: #1a2a4f;
    color: #fff;
}

.btn-submit:hover {
    background: #0f1a33;
}

/* Wrapper */
#winners_listing_wrapper {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Winner entry layout */
.winners_details_wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: flex-start;
    border-bottom: 1px solid #ccc;
    padding-bottom: 2rem;
}

/* Image slider section */
.winners_details_left {
    flex: 1 1 400px;
    max-width: 500px;
}

.main-swiper-wrapper,
.thumb-swiper-wrapper {
    position: relative;
}

.main-swiper,
.thumb-swiper {
    width: 100%;
    height: auto;
}

.main-swiper .swiper-slide img,
.thumb-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.thumb-swiper {
    margin-top: 10px;
    /* padding-bottom: 30px; */
    margin-bottom: 2em;
}

.thumb-swiper .swiper-slide {
    width: 100px !important;
    height: 70px;
    opacity: 0.4;
    cursor: pointer;
    transition: opacity 0.3s;
}

.thumb-swiper .swiper-slide-thumb-active {
    opacity: 1;
    border: 2px solid #333;
    border-radius: 4px;
}

/* Nav buttons */
.swiper-button-prev,
.swiper-button-next {
    color: #333;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #aaa;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    top: 50%;
    z-index: 10;
}

.thumb-swiper-prev,
.thumb-swiper-next {
    top: 50%;
    /* transform: translate(50%, 50%); */
}

/* Right column (text) */
.winners_details_right {
    flex: 1 1 300px;
    font-family: Arial, sans-serif;
    font-size: 0.95rem;
    color: #333;
}

.winners_sponsor_wrapper {
    /* display: flex; */
    flex-direction: column;
    gap: 0.5rem;
    padding: 2rem 0;
}

.winners_name {
    font-weight: bold;
    font-size: 1.2rem;
    color: #1a1a1a;
}

.winners_item_name {
    font-style: italic;
    margin-bottom: 0.5rem;
}

.sponsor_label,
.recipient_label {
    font-weight: bold;
    margin-top: 1rem;
}

.winners_project_title {
    font-weight: bold;
    margin-top: 1rem;
}

.winners_project_description p {
    margin: 0;
}

.winners_draw_datetime,
.sponsor_community,
.winners_recipient_community,
.winners_sponsorship_amount {
    color: #555;
}

.sponsor_image img {
    max-width: 150px;
    height: auto;
    margin-bottom: 1rem;
}

.number-cell {
    min-width: 40px;
}

.number-grid {
    gap: 5px;
    display: flex !important;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

form {
    font-size: .8em;
}

.thank_you_header {
    color: red;
    text-align: center;
    font-style: italic;
    font-weight: 900;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.thank_you_top {
    font-style: italic;
    font-weight: 700;
    margin-bottom: 1rem;
}

ul.thak_you_details {
    list-style: none;
    padding: 0;
    margin-bottom: 2em;
    background: whitesmoke;
    padding: 10px;
}

ul.thak_you_details li .label {
    font-weight: 700;
    border-bottom: 1px solid #cecece;
}

.thank_you_bottom {
    font-style: italic;
}

.thank_you_bottom::before {
    content: '* ';
}

.promo_offer_item_thank_you {
    font-size: .8em;
}

#homepage .swiper {
    max-width: 100%;
    aspect-ratio: auto;
    padding-bottom: 3rem;
    border-radius: 0;
    padding: 1em 1em 3rem;
}

#homepage .swiper-slide {
    position: relative;
}

section#homepage-carousel .slideshow_caption h2 {
    color: white;
    padding: 0em 0;
}

section#homepage-carousel .slideshow_caption p {
    color: white;
    padding: 0em 0;
}

section#homepage-carousel .slideshow_caption .btn {
    margin-top: 1em;
    color: white;
    border-color: white;
}

section#homepage-carousel .slideshow_caption {
    background-color: #00111db8;
    padding: 1em 1.6em 2em;
    min-width: 0;
    justify-content: flex-end;
    opacity: 0;
    transition: .3s all ease;
}

section#homepage-carousel .swiper-slide:hover .slideshow_caption {
    opacity: 1;
}

section#homepage-carousel .swiper-pagination {
    bottom: 0.5rem;
}

/* Show once Swiper adds its initialized class */
.custom-carousel .swiper.swiper-initialized {
    visibility: visible;
}

.tabulator .tabulator-footer .tabulator-paginator button {
    width: auto;
}

.password-field {
    position: relative;
}

.password-field .toggle-password {
    position: absolute;
    right: 0.7em;
    top: 0.7em;
    color: grey;
}

.password-field input[type="password"] {
    padding-right: 2.5em;
}

.password-field .toggle-password {
    position: absolute;
    right: 0.7em;
    top: 0.7em;
    color: grey;
    margin: 0;
    line-height: 1;
}

#homepage .swiper-slide .slide-inner {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

section.disclaimer {
    background: lightblue;
    text-align: center;
    padding: 1em;
    font-family: var(--mr-font-heading);
    font-weight: 700;
}

section.disclaimer p {
    margin: 0;
}

/* ================================
   Featured Promotional Giveaways – Scoped Fix
   Targets ONLY: <section class="giveaways custom-carousel"> …
   ================================ */
section.giveaways .slideshow_caption {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    width: auto;
    min-width: auto;
    padding: 0;
    height: fit-content;
    background: transparent;
    color: white;
    text-align: center;
    justify-content: center;
    width: 100%;
    display: block;
}

section.giveaways .swiper-slide img {
    max-height: 300px;
    aspect-ratio: 16/10;
}

/* Sponsor Logos: auto width so more logos fit per view */
.sponsor-logos .swiper-wrapper {
    gap: 0 !important;
}

/* let Swiper handle spacing */
.sponsor-logos .swiper-slide {
    width: var(--logo-slide-w, clamp(120px, 16vw, 220px)) !important;
    flex: 0 0 auto;
}

/* ensure flex layout, then center only when we add .center-rail */
.sponsor-logos .swiper-wrapper {
    display: flex !important;
    align-items: center;
    gap: 0 !important;
    /* let Swiper handle spacing */
}

.sponsor-logos.center-rail .swiper-wrapper {
    justify-content: center;
    /* center when not overflowing */
}

/* center only when .center-rail is present */
.sponsor-logos .swiper-wrapper {
    display: flex !important;
    align-items: center;
    gap: 0 !important;
    /* let Swiper handle spacing */
}

.sponsor-logos.center-rail .swiper-wrapper {
    justify-content: center;
}

/* auto width so more logos fit per view */
.sponsor-logos .swiper-slide {
    width: var(--logo-slide-w, clamp(120px, 16vw, 220px)) !important;
    flex: 0 0 auto;
}

/* belt-and-suspenders: if JS hasn’t run yet, still hide bullets when centered */
.sponsor-logos.center-rail .swiper-pagination {
    display: none !important;
}

section#homepage-carousel .swiper-slide {
    height: 300px;
    width: 33%;
}

section.giveaways .swiper {
    margin: auto;
    /* text-align: center; */
    /* align-self: center; */
    /* justify-content: center; */
    max-width: 1340px !important;
}

section#homepage-carousel .swiper {
    max-width: 1340px;
    margin: auto;
}