@media (max-width: 480px) {
    .banner-header.groupHeader {
        background-size: cover;
        background-position: center top;
        background-repeat: no-repeat;
        text-align: center; /* Center the text */
        color: white; /* Make sure the text is visible on likely dark backgrounds */
    }

    .groupHeader-image {
        display: none; /* Hide the image element as its URL will be used in the background */
    }

    .groupHeader-info {
        padding: 20px 0; /* Add padding to give some space between the text and the edges */
    }

    .groupHeader-info h2 a{
        padding: 1px;
        background: #8B0000;
        color: orange;
    }

    .rr-banner {
        flex-wrap: wrap;
    }
}


@media screen and (max-width: 769px) {
    .header-logoImage img {
        max-height: 80px;
        width: auto;
    }
    .header-siteNameLogo {
        padding: 10px 0 0 0;
    }
    .site-header {
        background-position: center center;
    }
    .mainTab.condensed-visible {
        position: absolute;
    }
    .mainTab-item a {
        color: #a62000;
        border-bottom: 1px solid #ccc;
        background: #f4f4f4;
    }
    .content-header {
        display: none;
    }
    .occasional-button > .button-iconic {
        padding: 2px 10px 3px 10px;
    }
    .button {
        font-size: 24px;
    }
    ul.groupsList {
        padding-left: 0!important;
        list-style: none;
        display: block;
    }
    .subnavline {
        display: none;
    }

    /* Style for the mobile dropdown */
    .mobile-dropdown {
        display: block;
        width: 100%;
        padding: 10px;
        height: 40px;
        box-sizing: border-box;
        border-radius: 0;  /* Remove rounded corners */
        color: #8B0000;
    }
}

@media screen and (min-width: 769px) {
    .site-body {
        padding: 20px 10px 20px 10px;
    }
    .banner-header {
        background-position: top center;
    }
    .groupHeader-groupName {
        font-size: 16pt;
        font-weight: bold;
    }
    div.banner-header.groupHeader {
        padding: 10px 20px 10px 20px;
    }
    div.banner-footer {
        padding: 0 20px 10px 20px;
    }
    .mobile-dropdown {
        display: none;
    }
    .groupsList {
        list-style: none;
        display: block!important;
    }
    .groupsList li {
        margin-bottom: 20px;
    }
    /* .scroll-content {
          height: 1000px;
          overflow-y: scroll;
    } */

    .mainTab-item {
        margin-right: 20px;
    }
    .mainTab-item a {
        padding: 10px;
    }

    .entry-content ol, .entry-content ul {
        padding-left: 20px;
    }

}

@media screen and (min-width: 1023px) {
    .scroll-content {
        height: 900px;
        overflow-y: scroll;
    }
    .scroll-content ol {
        font-size: 12pt; line-height: 32px;
    }


    .groupsList {
        list-style: none;
        display: grid!important;
    }

    .groupsList li {
        margin-bottom: 0px;
    }

    .mainTab-item {
        margin-right: 40px;
    }
    .mainTab-item a {
        padding: 20px;
    }


    .entry-content ol, .entry-content ul {
        padding-left: 40px;
    }

}

.rr-banner {
    display: flex;
    align-items: center;
    background: #8B0000;
    color: #fff;
    max-width: 710px;
    margin-top: 15px;
}

.rr-banner-image {
    flex: 0 0 auto;
    width: 120px;
    height: 120px;
}

.rr-banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rr-banner-title {
    margin-left: 10px; /* Adjust space between image and title */
    padding-top: 15px;
}

.rr-banner-text {
    flex-wrap: wrap;
    align-items: center;
    padding: 10px;
}

.rr-banner-text p {
    margin: 0;
    margin-left: 10px; /* Space before the text starts */
    text-align: left;
}

.rr-banner-text a {
    color: yellow; /* Ensures link color is yellow */
}

.groupHub-groupInfo.groupsListInfo > p:nth-of-type(2) {
    display: none;
}

.fm-required {
    color: red;
}
.contact-form {
    font-size: 16px;
    max-width: 800px;
}
.contact-form div {
    padding-top: 10px;
    padding-bottom: 10px;
}
.contact-form div label {
    display: inline-block;
    width: 100px;
}
.contact-form div textarea {
    display: block;
    width: 100%;
    height: 300px;
}
input, textarea {
    font-size: 16px!important;
}
input[type=tel] {
    padding: .5em;
    border: 1px solid;
    border-color: #ddd;
    outline: none;
    font-family: 'Montserrat', 'Arial', 'Helvetica Neue', 'Helvetica', sans-serif;
    font-size: 16px;
    font-weight: normal;
    font-style: normal;
    line-height: 1.25em;
}
.videoFrame {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 270 / 480 = 0.5625 * 100% */
    height: 0;
}
.videoFrame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#xn_bar_menu_search {
    display: none;
}

.ningbar-userLinks.linkbar li:first-child {
    display: none;
}
