/*
Theme Name: X Child
Theme URI: http://example.com/x-child
Description: X Child Theme
Author: Your Name
Author URI: http://example.com
Template: x
Version: 10.5.11
*/

/* HEADER */

.entry-thumb {
    display: none!important;
}

.x-breadcrumb-wrap {
    display: none;
}


.x-navbar {
    background-color: white!important;
}

.x-nav {
    float: left!important;
    padding-left: 30px!important;
}

li#menu-item-58962 a, li#menu-item-61240 a, li#menu-item-61242 a {
        font-weight: 400!important;
        color: #003c71!important;
        line-height: 1.75!important;
        text-transform: none!important;
        font-size:16px!important;
        font-family: Montserrat, sans-serif!important;
        padding-left: 12px!important;
        padding-right: 12px!important;
        letter-spacing:0em!important;
        height: 0px!important;
        padding-top: 0px!important;
        margin-top: 37px!important;
    }

li#menu-item-58962 a:hover, li#menu-item-61240 a:hover, li#menu-item-61242 a:hover {
        color: #009262!important;
    }

li#menu-item-58973 a, li#menu-item-59606 a{
    font-weight: 400!important;
    color: #2e2e2e!important;
    line-height: 1.75!important;
    text-transform: none!important;
    font-size:16px!important;
    font-family: Montserrat, sans-serif!important;
    padding-left: 3px!important;
    padding-right: 3px!important;
    letter-spacing:0em!important;
    height: 0px!important;
    padding-top: 0px!important;
    margin-top: 25px!important;
    }

li#menu-item-58973 a span:hover, li#menu-item-59606 a span:hover,  li#menu-item-59574 a span:hover{
    filter: brightness(85%)!important;
    opacity: 1!important;
}

li#menu-item-58973 a span, li#menu-item-59606 a span{
    background-color: #e0e5ea!important; 
    background: #009c63 linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.15) 100%);
    border-radius: 30px; 
    padding: 10px 20px; 
}

li#menu-item-59574 a{
    font-weight: 400!important;
    color: #fff!important;
    line-height: 1.75!important;
    text-transform: none!important;
    font-size:16px!important;
    font-family: Montserrat, sans-serif!important;
    padding-left: 3px!important;
    padding-right: 3px!important;
    letter-spacing:0em!important;
    height: 0px!important;
    padding-top: 0px!important;
    margin-top: 25px!important;
    }

li#menu-item-59574 a span{
        background: #009c63 linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.15) 100%);
        border-radius: 30px; 
        padding: 10px 20px; 
    }

.secondary-menu {
    background-color: #003C71;
    clear: both; 
    height:58px;
}

.secondary-menu-class {
    display: flex;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0px;
    max-width: 1145px;
}

.secondary-menu-class li {
    padding: 15px 11px;
    list-style-type: none;
    height:58px;
}

.secondary-menu-class li:after {
    display: block !important;
    content: '' !important;
    padding-top: 10px;
    transition: transform .2s ease-in-out !important;
    transform: scaleX(0) !important;
    border-bottom: 4px solid #009263 !important;
}

/* Hover state for the green line */
.secondary-menu-class li:hover:after {
    transform: scaleX(1) !important;
}

/* Active state for the green line */
.secondary-menu-class li.current-menu-item:after,
.secondary-menu-class li.current-page-item:after,
.secondary-menu-class li.active:after {
    transform: scaleX(1) !important; /* Ensures the line is visible on the active page */
}

.secondary-menu-class a {
    text-decoration: none;
    color: #ffffff!important;
    font-weight: 400!important;
    line-height: 1.75!important;
    text-transform: none!important;
    font-size:16px!important;
    font-family: Montserrat, sans-serif!important;
    letter-spacing:0em!important;
}

li#menu-item-59017 a, li#menu-item-59018 a, li#menu-item-59019 a, li#menu-item-59016 a, li#menu-item-59609 a{
    padding: 20px 10px;
}


li#menu-item-59711{
    margin-left: auto;
}

.user-icon{
    margin:0px!important;
}

.user-icon:before {
    font-family: fontawesome;
    content: "\f2bd";
    margin-right: 5px;
}

@media (min-width: 769px) {
li#menu-item-59048, li#menu-item-61300, li#menu-item-61301, li#menu-item-61302{
    display:none!important;
}
.extra-menu-option{
    display:none!important;
    }
}

/* HEADER TABLET*/

@media (max-width: 1024px) { /* Adjust max-width to target tablet screens */
    .x-navbar-inner {
        display: flex!important;
        justify-content: space-between!important;
        align-items: center!important;
        flex-wrap: wrap!important; /* Prevent items from wrapping */
        min-height: auto;
        padding: 3% 2%;
    }

    .x-nav-wrap {
        flex-grow: 1!important;
        display: flex!important;
        justify-content: flex-end!important; /* Align the menu to the right */
    }

    .x-nav-wrap .x-nav > li > a {
        padding: 40px 0px!important; /* Reduce padding */
        
    }

    /* Hide the default mobile menu */
    .x-btn-navbar, .x-nav-wrap.mobile {
    display: none !important;
    }
    .x-btn-navbar.collapsed + .x-nav-wrap.mobile {
        display: block!important; /* Show the menu when the hamburger icon is clicked */
    }
    li#menu-item-58962 a, li#menu-item-61240 a, li#menu-item-61242 a, li#menu-item-58973 a, li#menu-item-59606 a, li#menu-item-59574 a{
        margin-top: 10px !important;
        box-shadow: none !important;
        font-size: 14px!important; /* Adjust font size */
    }

    li#menu-item-59017 a, li#menu-item-59018 a, li#menu-item-59019 a, li#menu-item-59016 a, li#menu-item-59609 a, li#menu-item-59048a, li#menu-item-59049a, li#menu-item-59050a, li#menu-item-59052a{
        padding: 20px 5px;
        font-size: 12px !important;
    }
    li#menu-item-59711 a {
        font-size:12px!important;
    }

    .secondary-menu-class li:after{
        padding-top:15px!important;
    }
    
}

/* HEADER MOBILE*/

@media (max-width: 767px) { 
    li#menu-item-58962, li#menu-item-61240, li#menu-item-61242, li#menu-item-59574{
        display:none!important;
    }
    .x-brand img {
        max-width: 100px; /* Set the maximum width of the logo */
        height: auto; /* Maintain the aspect ratio */
    }
    li#menu-item-58973 a, li#menu-item-59606 a{
        font-size:12px!important;
    }
}

/* Style the hamburger menu button (only visible on mobile) */
.menu-toggle {
    background: none!important;
    border: none!important;
    font-size: 24px!important; /* Adjust size as needed */
    cursor: pointer!important;
    display: none!important; /* Hidden by default */
}

/* Show the hamburger menu button on mobile devices */
@media (max-width: 768px) {
    .menu-toggle {
        display: block!important; /* Show the hamburger button on mobile */
    }

    /* Hide the secondary menu by default on mobile */
    .secondary-menu .secondary-menu-class {
        display: none!important;
    }

    /* Show the menu when the hamburger button is clicked */
    .secondary-menu.active .secondary-menu-class {
        display: block!important;
        flex-direction: column!important;
        width: 100%!important;
    }
    .secondary-menu {
        height: auto !important;
    }

    .secondary-menu-class li {
        border-bottom: 1px solid #0000004d!important;
    }
    li#menu-item-59017{
        border-top: 1px solid #0000004d!important;
    }

    .secondary-menu-class li a {
        padding: 10px!important;
        font-size: 12px!important;
        text-align: center!important;
        color: #fff !important;

    }

    .menu-icon{
        color:white!important;
        text-transform: uppercase;
    }

    .menu-bar{
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .extra-menu-option{
        margin-left: auto;
        padding-right: 5%;
    }

    .extra-menu-option a{
        text-decoration: none;
        font-size:12px!important;
    color: #ffffff !important;
    font-weight: 400 !important;
    line-height: 1.75 !important;
    text-transform: none!important;
    font-size: 16px !important;
    font-family: Montserrat, sans-serif !important;
    letter-spacing: 0em !important;
}

    li#menu-item-59711{
        display:none!important;
    }

    
}

/* FOOTER */

div.top-footer{
    background-image: url(/wp-content/uploads/2024/08/wastewater-plant-bg-1.jpg);
    position:relative;
    background-position: center;
    background-size: cover;
    padding:26% 0px;
    border: none!important;
    box-shadow:none!important;
    padding-bottom:0%!important;
}

div.top-footer:before{
    content: "";
    position: absolute;
    left: 0; right: 0;
    top: 0; bottom: 0;
    background:#003C71;
    opacity:0.5;
    border: none!important;
}

.header-footer{
    background: #003c71;
    padding-top: 100px;
    line-height:1.3;
    padding-bottom:1%;
}

.header-footer p{
    text-transform: uppercase;
    font-family: montserrat, sans-serif;
    font-weight: 800;
    font-size: 20px;
    opacity: .5;
    color: #9bb3c9;
}

.x-colophon.top{
    background: #003C71!important;
    border: none!important;
    box-shadow:none!important;
    padding-top:0%!important;
}

.x-colophon.top .textwidget a{
    text-decoration: none;
    color: #9bb3c9!important;
    font-weight: 400!important;
    line-height: 1.75!important;
    text-transform: none!important;
    font-size:16px!important;
    font-family: Open Sans, sans-serif!important;
    letter-spacing:0em!important;
    text-shadow:none!important;
}

.x-colophon.top .textwidget a:hover{
    color: #ffffff!important;
}

.x-colophon.top .x-column.x-md.x-1-4{
    width:23%;
    margin:0%!important;
}

.x-colophon.top .x-column.x-md.x-1-4.last{
    width:30%!important;
}

.x-colophon.top .alignright{
    text-align:right!important;
    text-decoration: none;
    color: #9bb3c9!important;
    font-weight: 400!important;
    line-height: 1.75!important;
    text-transform: none!important;
    font-size:16px!important;
    font-family: Open Sans, sans-serif!important;
    letter-spacing:0em!important;
    text-shadow:none!important;
    padding-bottom:10px!important;
}

a.icon.linkedin:before {
    content: "\f08c";
    font-family:fontawesome;
    margin-right: 5px;
    opacity:1;
}

a.icon.twitter:before {
    content: "\f081";
    font-family:fontawesome;
    margin-right: 5px;
    opacity:1;
}

/* FOOTER TABLET */
@media (max-width: 1024px) {
    .header-footer{
        padding: 20px!important;
    }
    .x-colophon.top {
        padding: 0px 20px!important;
    }
    .x-colophon.top .x-column.x-md.x-1-4 {
        width: 100% !important;
    }

    .x-colophon.top .x-column.x-md.x-1-4.last {
        width: 100% !important;
    }
    .x-colophon.top .alignright {
        text-align: left !important;
        padding-bottom: 0px !important;
        float: left !important;
        margin: 0em 0em 1.313em 0em !important;
    }
    .isac-logo {
        float: left!important;
    }
}


/* PAGES & POSTS */
.x-container.max.width.offset{
    max-width:100%;
    margin: 0px auto !important;
}

.entry-wrap{
    box-shadow: none!important;
    padding: 0px 0px 0px 0px!important;
    border:none!important;
}

.has-post-thumbnail .entry-featured {
    border-bottom: none!important;
}


.x-container.max.width.offset .entry-content.content{
    max-width: 740px;
    margin: 0px auto;
    margin-bottom:5%;
}

.post-template-default .entry-header{
    max-width: 740px !important;
    margin: 5% auto;
}

.page-template-default .entry-header{
    background: #003c71;
    padding: 3% 0px 5% 0px;
    text-align: center;
    box-shadow: inset 0 33px 40px -30px rgba(0, 0, 0, .5);
    margin-bottom:3%;
}

@media (max-width: 1024px) {
    .page-template-default .entry-header{
        padding: 10%;
    }
    .page-template-default .x-container.max.width.offset .entry-content.content {
        margin: 5%;
    }
}

.page-template-default .entry-title{
    color:white;
    letter-spacing: 2px;
    font-size:2em;
    max-width: 740px;
    margin: 0 auto;
    position: relative;
    z-index: 200;
}

div.attached-files{
    max-width: 750px!important;
    margin: 0px auto!important;
}

.page .attached-files h3{
    font-family:Open Sans!important;
    font-size:16px!important;
    letter-spacing:.02px;
}

h2{
    font-size: 1.4em!important;
}

h3, h4{
    font-size:1.2em!important;
}

/* ABOUT US */
.page-template-default.about-us .entry-header{
    background-image: url(https://www.waterisac.org/sites/default/files/styles/section_hero_background/public/water-child-mother1920x600.jpg?itok=IOrm5j4C) !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: cover !important;
    box-shadow: inset 0 0 0 1000px rgba(0,60,113,.5);
    margin-bottom: 0%!important;
}

.page-template-default.about-us .x-container.max.width.offset .entry-content.content {
    max-width: none;
    margin-bottom:0px;
}


@media (max-width: 1024px) {
    .page-template-default.about-us .x-container.max.width.offset .entry-content.content .text {
        margin: 5%;
    }

    .page-template-default.about-us .x-container.max.width.offset .entry-content.content {
        margin: 0%;
    }

}



/* BLACK SKY */
.page-template-default.black-sky .x-container.max.width.offset .entry-content.content {
    margin-bottom:0px;
}

.page-template-default.black-sky .x-main.full {
    margin-bottom:5%;
}

/* EVENTS */
.page-template-default.events .entry-title {
    text-transform:uppercase!important;
}


.page-template-default.events .entry-header {
    padding: 2% 0px!important;
    margin-bottom:1%!important;
}
.page-template-default.events .entry-content.content{
    max-width:100%!important;
    }

.page-template-default.events .events-article{
    padding-bottom: 1%;
    border-bottom: 1px solid #dedede;
}

@media (max-width: 1024px) {
    .page-template-default.events .entry-header {
        padding: 5%!important;
}
}

/* LEADERSHIP */
img.floatleft25 {
    float: left;
    margin-bottom: 3%;
    margin-right: 5%;
    margin-top: 1%;
    width: 25% !important;
    height: auto !important;
    display:block;
}

@media only screen and (max-width: 767px) {
    img.floatleft25 {
        float: none!important;
        width: 100% !important;
    }
}

/* RESOURCE CENTER */
.page-template-default.resource-center .entry-content.content{
    max-width:100%!important;
    }
.page-template-default.resource-center .entry-header {
        padding: 2% 0px 2% 0px!important;
        margin-bottom: 0%!important;
}

.page-template-default.resource-center a.resource-card:hover{
    box-shadow: 0 0 30px 10px rgba(0, 0, 0, .2)!important;
    border-radius: 5px!important;
}

@media (max-width: 727px) {
    .green-nav .x-col{
        text-align:center;
    }
    .page-template-page-resources-template .filter-section-inner {
        display: block!important;
        padding:2%!important;
        text-align:center!important;
}
    .sru-line{
        display:none;
    }
    .category-filter{
        margin-top: 5% !important;
    }
    .card-grid {
        display: block!important;
}
.filter-section-inner button{
    margin-top:2%!important;
}
.filter-results {
    display: block!important;
}
.filter-section-inner form{
        display: block!important;
        padding-bottom:5%!important;
}
}

@media (max-width: 1024px) {
    .posts-pagination-section, .sru-section, .filter-section {
        padding-left:2%!important;
        padding-right:2%!important;
        padding-top:2%!important;
    }  
}


/* TOOLS */
.page-template-default.tools .entry-content.content{
    max-width:100%!important;
    }
.page-template-default.tools .entry-header {
        padding: 2% 0px 2% 0px!important;
        margin-bottom: 0%!important;
}


/* CONTAMINANT DATABASES */
a.green-button-classic{
    font-weight: 400 !important;
    color: #fff !important;
    line-height: 1.75 !important;
    text-transform: none !important;
    font-size: 16px !important;
    font-family: Montserrat, sans-serif !important;
    padding-left: 3px !important;
    padding-right: 3px !important;
    letter-spacing: 0em !important;
    height: 0px !important;
    padding-top: 0px !important;
    margin-top: 25px !important;
}

a.green-button-classic span{
    background: #009c63 linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.15) 100%);
    border-radius: 30px;
    padding: 10px 20px;
}

a.green-button-classic span:hover{
    filter: brightness(85%)!important;
    opacity: 1!important;
}

a.link-classic{
    color: #BA0C2F!important
}

a.link-classic{
    color: #BA0C2F!important
}

a.link-classic:hover, a.link-classic:focus{
        color: #0063bc!important
}

/* DASHBOARD */
.dashboard-template-default .content-sidebar-container{
    max-width: none!important;
}

.dashboard-template-default .entry-header{
    padding-top: 30px;
    padding-bottom: 30px;
    background-color: #003c71;
    box-shadow: inset 0px 33px 40px -30px rgba(0, 0, 0, .5);
    z-index: auto;
    text-align:center;
}

.dashboard-template-default .entry-title{
    border-top-width: 0;
    border-right-width: 0;
    border-bottom-width: 0;
    border-left-width: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 32px;
    font-style: normal;
    font-weight: 800;
    line-height: inherit;
    letter-spacing: 0.05em;
    text-align: center;
    text-transform: uppercase;
    color: #fff;
}

/* CHAMPIONS */
.page-template-default.champions .entry-header{
    display:none!important;
    }
.page-template-default.champions .entry-content.content{
        max-width:100%!important;
        margin-bottom:0%!important;
        }
.page-template-default.champions .entry-wrap{
        padding: 0px!important;
    }
    
    .x-anchor.green-button-no-icon .x-anchor-text-primary::before{
        content: '';
        background-size: 90%;
        width: 25px;
        height: 25px;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        left: -25px;
        filter: brightness(0) invert(1);
    }
    
    .x-anchor.green-button-no-icon:hover .x-anchor-text-primary{
        color:white!important;
    }
    
    a.x-anchor.green-button-no-icon:hover{
        filter: brightness(85%)!important;
        opacity: 1!important;
        color:white!important;
    }


@media (max-width: 1024px) {
    .page-template-default.champions .x-container.max.width.offset .entry-content.content{
        margin: 0%;
    }
    .page-template-default.champions .x-container.max.width.offset .entry-content.content .champion{
        margin: 5%;
    }
}


/* FAQS */
.page-template-default.faqs .entry-header{
    display:none!important;
    }
    
    .page-template-default.faqs .entry-content.content{
        max-width:100%!important;
        }
    .page-template-default.faqs .entry-wrap{
        padding: 0px!important;
    }
    .page-template-default.faqs .x-acc-content{
        border-top:0px!important;
        padding-top:0px!important;
    }

    .page-template-default.faqs .x-acc-item{
        border-bottom:1px #ccc solid!important;
        padding-bottom: 1%;
        margin-bottom: 1%;
    }
    a.faq-link{
        font-size: 0 !important;
        position: absolute;
        top: 0px;
        right: 0;
    }
    a.faq-link:after {
        font-family: fontAwesome;
        content: '\f08e';
        font-size: 16px;
        color: #ba0c2f;
    }

/* FAQS SINGLE POST */
.faq-template-default.single .entry-title{
    font-size:2em!important;
    letter-spacing: 2px!important;
    padding: 2% 0% 5% 0%!important;
}
.faq-template-default.single .entry-date{
    display:none!important;
}
.faq-template-default.single .entry-wrap{
    max-width: 740px;
    margin: 0px auto;
}

@media (max-width: 1024px) {
    .faq-template-default.single .x-container.max.width.offset .entry-wrap {
        margin: 5%;
    }

}

/* INCIDENT SINGLE POST */
.incident-template-default.single .entry-title{
    font-size:2em!important;
    letter-spacing: 2px!important;
    padding: 2% 0% 2% 0%!important;
}

@media (max-width: 1024px) {
    .incident-template-default.single .x-container.max.width.offset .entry-wrap {
        margin: 5%;
    }

}

/* NEWSLETTER SINGLE POST */
.newsletter-template-default.single .entry-title{
    font-size:2em!important;
    letter-spacing: 2px!important;
    padding: 2% 0% 2% 0%!important;
}

@media (max-width: 1024px) {
    .newsletter-template-default.single .x-container.max.width.offset .entry-wrap {
        margin: 5%;
    }

}

/* WEBFORM SINGLE POST */
.webform-template-default.single div.content-sidebar-container{
    max-width:100%!important;
}

.webform-template-default.single .entry-title{
    font-size:2em!important;
    letter-spacing: 2px!important;
    text-align:center!important;
    padding: 1% 0% 2% 0%!important;
}
.webform-template-default.single .entry-date{
    display:none!important;
}

.nf-form-content input[type=submit] {
    font-family: Montserrat!important;
    font-weight: 400!important;
    color: #fff!important;
    background-color: #009c63!important;
    padding: 10px 20px!important;
    border-radius: 30px!important;
    background: #009c63 -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.15) 100%)!important;
    background: #009c63 -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.15) 100%)!important;
    background: #009c63 linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.15) 100%)!important;
    box-shadow: 0 2px 7px rgba(0, 0, 0, .34)!important;
    font-size: 16px!important;
    text-shadow: none!important;
    border: none!important;
}

/* Request Incident Form */

.post-25530 .entry-header{
    background: #003c71;
    padding: 1% 0px;
    text-align: center;
    box-shadow: inset 0 33px 40px -30px rgba(0, 0, 0, .5);
    margin-bottom: 5%;
}

.post-25530 .entry-title{
    color:white!important;
    letter-spacing: 2px!important;
    font-size:2em!important;
}

/*20 Years */
.page-template-default.twenty-years .x-container.max.width.offset .entry-content.content {
    max-width: revert!important;
    margin: 0px auto;
}

.page-template-default.twenty-years .x-container.max.width.offset .entry-header {
    background-image: url(/wp-content/uploads/2024/09/Web-hero-image-1920x1024_0.jpg) !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
    background-position: center center !important;
    background-size: cover !important;
    -webkit-background-size: cover !important;
}

@media (max-width: 1024px) {
    .page-template-default.twenty-years .x-container.max.width.offset .entry-content.content .text {
        margin: 5%;
    }
    a.green-button-classic {
        padding-left: 0px!important;
        padding-right:0px!important;
    }
    .page-template-default .testimonial-slides .x-text {
        padding-left:0px!important;
        padding-right:0px!important;
      }
      .page-template-default .case-study-slides .x-text {
        margin-left:5%!important;
        margin-right:5%!important;
      }
}

/*Case Studies */
.page-template-default.case-studies .x-container.max.width.offset .entry-content.content {
    max-width: revert!important;
    margin: 0px auto;
}

.page-template-default.case-studies  .entry-header {
    margin-bottom: 0%!important;
}

.green-nav{
    background: #009c63 linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.15) 100%)!important;
}

.green-nav-link{
    color:white!important;
    background-color: transparent!important;
    box-shadow: none!important;
    text-align: center;
    border-radius: revert;
}

.green-nav-link .x-anchor-content{
    padding: 0.575em 1%;
}

.green-nav .x-anchor-content:hover, #green-nav .x-anchor-content:focus{
    filter: brightness(85%);
    background: #009c63 linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.15) 100%) !important;
    opacity:1;
    color:white!important;
}

@media (max-width: 1024px) {
    .case-studies-text .x-text {
        padding: 0% 2% 5% 2%!important
}
}

/* CASE STUDY PAGE TEMPLATE */
.case_study-template-default .x-container.max.offset{
    max-width:1145px!important;
}

.case_study-template-default .entry-title{
        margin: 20px auto!important;
        letter-spacing: 2px!important;
}

.case_study-template-default .entry-date{
    display:none!important;
}
.case_study-template-default .custom-fields{
    max-width: 740px!important;
    margin: 0px auto!important;
}
.case_study-template-default p.custom-field {
    margin: 0px;
}
.case_study-template-default .entry-wrap {
    margin-bottom: 10%;
}
@media (max-width: 1024px) {
    .case_study-template-default .x-container.max.width.offset .entry-wrap {
        margin: 5%;
    }

}
/* ALERT PAGE TEMPLATE */
.alert-template-default .x-container.max.offset{
    max-width:1145px!important;
}

.alert-template-default .entry-title{
        margin: 20px auto!important;
        letter-spacing: 2px!important;
}

.alert-template-default .entry-date{
    display:none!important;
}

.alert-template-default .entry-wrap {
    margin-bottom: 10%;
}

@media (max-width: 1024px) {
    .alert-template-default .x-container.max.width.offset .entry-wrap {
        margin: 5%;
    }

}



/* EVENT PAGE TEMPLATE */
.event-template-default .x-container.max.offset{
    max-width:1145px!important;
}

.event-template-default .entry-title{
        margin: 20px auto 5% auto!important;
        letter-spacing: 2px!important;
}

.event-template-default .entry-date{
    display:none!important;
}

.event-template-default .entry-wrap {
    margin-bottom: 10%;
}
.event-template-default .custom-fields{
    max-width: 740px!important;
    margin: 0px auto!important;
}

.event-template-default .custom-fields-external-link{
    max-width: 740px!important;
    margin: 2% auto 0 auto!important;
}

@media (max-width: 1024px) {
    .event-template-default .x-container.max.width.offset .entry-wrap {
        margin: 5%;
    }

}

/* PORTAL SECTION TEMPLATE */
.portal_section-template-default .x-container.max.offset{
    max-width:1145px!important;
}

.portal_section-template-default .entry-title{
        margin: 20px auto!important;
        letter-spacing: 2px!important;
}

.portal_section-template-default .entry-date{
    display:none!important;
}

.portal_section-template-default .entry-wrap {
    margin-bottom: 10%;
}
.portal_section-template-default .custom-fields{
    max-width: 740px!important;
    margin: 0px auto!important;
}

.portal_section-template-default .custom-fields-external-link{
    max-width: 740px!important;
    margin: 2% auto 0 auto!important;
}

/* 404 ERROR */
.error404 .x-header-landmark{
    display:none!important;
}

.error404 .x-container.max.offset{
    max-width:1145px!important;
}

.error404 .x-container.max.offset h1{
        margin: 20px auto!important;
        letter-spacing: 2px!important;
        font-size:2em;
}

.error404 .x-container.max.offset p{
    font-size:1em;
}

.portal_section-template-default .entry-wrap {
    margin-bottom: 10%;
}

@media (max-width: 1024px) {
    .error404 .x-container.max.width.offset .entry-wrap {
        margin: 5%;
    }

}

/* MEMBERSHIP */
.page-template-default.membership .entry-header{
display:none!important;
}

.page-template-default.membership .entry-content.content{
    max-width:100%!important;
    margin-bottom: 0%!important;
    }
.page-template-default.membership .entry-wrap{
    padding: 0px!important;
}

.membership-icon i.fa.fa-file-text{
    background: #003c71;
    padding: .45em .6em;
    border-radius: 50%;
}

.membership-icon i.fa.fa-exclamation-triangle{
    background: #003c71;
    padding: .45em .45em;
    border-radius: 50%;
}

.membership-icon i.fa.fa-bar-chart{
    background: #003c71;
    padding: .45em .45em;
    border-radius: 50%;
}

.membership-benefits-image .x-bg-layer-lower-image{
    transform: translateX(calc((70em - 62vw) / 2));
    position: absolute;
    margin-left: -15%;
    z-index: 9;
    margin-left: -39%;
}

.page-template-default.membership li::marker{
    color: #009262;
    font-size: .75em;
    }
    
.page-template-default.membership .x-acc-content{
    border-top:0px!important;
    padding-top:0px!important;
}

.annual-dues.x-col{
    background: linear-gradient(45deg, #009264 0%, #003b70 99%)!important;
}


div.annual-dues-tabs button.x-active, div.annual-dues-tabs button:hover {
    background: white!important;
    border-bottom-color: transparent;
}
@media (max-width: 1024px) {
    .page-template-default.membership .hero .x-text{
        padding: 1%;
    }

    .page-template-default.membership .hero .green-button{
        margin-bottom: 3%;
    }

    .page-template-default.membership .x-container.max.width.offset .entry-content.content {
        margin: 0%;
    }
    .membership-benefits-image .x-bg-layer-lower-image{
        background-position: top left!important;
        background-size: auto 400px!important;
        margin-left: -50%!important;
    }
    .x-text{
        padding-left:3%;
        padding-right:3%;
    }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    .membership-benefits-image .x-bg-layer-lower-image{
        margin-left: -80%!important;
    }
}

@media (max-width: 767px) {
    .membership-benefits-image .x-bg-layer-lower-image{
       display:none!important;
    }

    .annual-dues-tabs .x-text{
        width:100%!important;
    }
}




/* HOMEPAGE */

/* Hide the last .category (Uncategorized) */
.terms > .term:last-of-type .category {
    display: none;
}

/* Hide the divider preceding the last .category */
.terms > .term:nth-last-of-type(2) .divider {
    display: none;
}

@media (max-width: 1024px) { /* Target tablet and mobile screens */
    .title{
        padding:0px!important;
    }
    /* Parent container */
    .term {
        display: flex; /* Use flexbox to align items inline */
        flex-wrap: nowrap; /* Prevent items from wrapping */
        align-items: center; /* Vertically align the content */
        justify-content: flex-start; /* Align items to the left */
    }

    /* Category items */
    .term .category {
        white-space: nowrap; /* Prevent text wrapping */
        overflow: visible; /* Ensure the text is fully visible */
        text-overflow: unset; /* Do not truncate text */
        flex-shrink: 0; /* Prevent the text from shrinking */
        max-width: none; /* Remove any width constraints */
    }

    /* Divider styling */
    .term .divider {
        white-space: nowrap; /* Keep dividers inline */
        flex-shrink: 0; /* Ensure dividers do not shrink */
        padding:0px!important;
    }

}

.homepage-icon i.fa.fa-file-text{
    background: #003c71;
    padding: .45em .6em;
    border-radius: 50%;
}

.homepage-icon i.fas.fa-calendar-alt{
    background: #009c63;
    padding: .45em .5em;
    border-radius: 50%;
}

.homepage-icon i.fa.fa-shield{
    background: #b90b2e;
    padding: .45em .45em;
    border-radius: 50%;
}
.homepage-number{
    text-transform: uppercase;
    font-family: montserrat, sans-serif;
    font-style: italic;
    font-size: .7em;
    font-weight: 900;
    line-height: 1.5;
    color: #003366;
    margin-top: 15%;
}

.homepage-small-text{
    text-transform: uppercase;
    font-family: 'Open Sans', sans-serif;
    font-size: .35em;
    line-height: 1.75;
    color: #003366;

}

.homepage-number.green{
    color:#009c63!important;
}
.homepage-small-text.green{
    color:#009c63!important;

}
.homepage-number.red{
    color:#b90b2e!important;
}
.homepage-small-text.red{
    color:#b90b2e!important;

}

.homepage-spotlight-headline{
    font-size: 1.25em;
    font-family: 'Montserrat', sans-serif;
    color: #000;
    line-height: 1.2;
    margin-bottom: 20px;
}
.x-anchor.green-button .x-anchor-text-primary::before{
    content: '';
    background: url(/wp-content/uploads/2024/08/icon-reverse-1.png) no-repeat;
    background-size: 90%;
    width: 25px;
    height: 25px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -25px;
    filter: brightness(0) invert(1);
}

.x-anchor.green-button:hover .x-anchor-text-primary{
    color:white!important;
}

a.x-anchor.green-button:hover{
    filter: brightness(85%)!important;
    opacity: 1!important;
    color:white!important;
}

.x-anchor.category .x-anchor-text-primary {
    color: #2e2e2e!important;
}

a.x-col.homepage-latest-post{
    border-radius: 10px;
}

a.x-col.homepage-latest-post:hover{
    background: white;
    box-shadow: 0px 0px 40px 0px rgba(0, 0, 0, 0.42);
}

.green-bullet ul li{
    line-height: 1.5;
    margin-bottom: 20px;
}

.green-bullet ul li::marker{
    color:#009262;
}

.green-bullet ul li a{
    color:white!important;
}

.x-slide-pagination li{
    cursor:pointer!important;
}

.homepage-case-study-content::before {
    content: 'CASE STUDY';
    font-family: 'Open Sans', sans-serif;
    color: rgba(255, 255, 255, 0.5);
    display: block;
    margin-bottom: 10px;
    font-size: 1.0em;
}
.homepage-case-study-title::before {
        content: '\f07c';
        font-family: fontAwesome;
        margin-right:.5%;
}
.homepage-case-study-title{
    font-size:1.75em;
    font-family:'Montserrat', sans-serif;
    font-weight:800;
}
.homepage-case-study-title a{
    color:white!important;
}
.homepage-case-study-label{
    text-transform: uppercase;
    margin-bottom: 1.3em;
    font-size:1.25em;
    font-weight: 800;
}
.homepage-case-study-label span{
    text-transform: none;
    font-size:16px;
    font-weight: 400;
}

.homepage-case-study-link a{
    color:white!important;
    font-size:16px;
    font-weight: bold;
}

.homepage-case-study-link .more:after{
    padding-left: 10px;
    font-family: "fontAwesome";
    content: "\f178";
}

.background-gradient-green::before{
    background: url(/wp-content/uploads/2024/08/case-study-icon-1.png) no-repeat;
    background-size: calc(45% - 50px);
    position: absolute;
    content: '';
    display: block;
    left: -18%;
    top: -50%;
    height: 200%;
    opacity: 0.5;
    width: 100%;
}


.background-gradient-green{
    background: linear-gradient(45deg, #009264 0%, #003b70 60%)!important;
}

@media (max-width: 767px) {
    .home.page-template .hero .x-text-content-text-primary {
      font-size:2em!important;
    }

    .home.page-template .fundamentals-section img {
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
        border-bottom-right-radius: 0px;
        border-bottom-left-radius: 0px;
      }
      .page-template .testimonial-slides .x-text {
        padding-left:0px!important;
        padding-right:0px!important;
      }

      .page-template .case-study-slides .x-text {
        margin-left:5%;
        margin-right:5%;
      }
}
@media (max-width: 1024px) {
    .home.page-template .fundamentals-section {
        margin: 5%;
        width:auto;
      }

      .home.page-template .fundamentals-inner {
        padding-top:1%;
        padding-bottom:1%;
      }
      .home.page-template .latest-postings {
        margin-left: 2%;
      }
      .home.page-template .become-member {
        margin-left: 3%;
      }
}

/* POST INDEX */

.p-meta > span:first-child {
    display: none!important;
}


.p-meta>span:after {
display:none!important;
}

::marker{
    color:#009262
}

/* FUNDAMENTAL */
.post-template-default.single.single-post.fundamentals .post-author{
    display:none!important;
}
.post-template-default.single.single-post.fundamentals p.post-created-date {
    margin-top: 2%!important;
}


/* POST SINGLE TEMPLATE */
@media (max-width: 767px) {
    div.attached-files a { 
        margin: 20px 5%!important;
    }
    .attached-files h3 {
        margin: 0px 5%!important;
    }

}

.post-categories i.fa-lock {
    font-style: normal;
    font-size: 0.9em; /* Adjust size if needed */
}

.post-template-default.single.single-post .entry-title{
    font-size:2em;
    letter-spacing:.5px;
}

.post-template-default.single.single-post .entry-header{
    margin:2.5% auto;
}

.post-template-default.single.single-post .x-container.max.width.offset{
    margin-bottom:3%!important;
}

p.post-author{
    margin:2% 0 0% 0;
}

p.post-created-date{
    margin:0%;
}

div.attached-files h3{
    font-family: Open Sans;
    font-size:inherit;
    letter-spacing:.1px;
}

div.attached-files a{
    border-radius: 5px;
    -webkit-box-shadow: 0 0 5px 0px rgba(0, 0, 0, .5);
    box-shadow: 0 0 5px 0px rgba(0, 0, 0, .5);
    background: #fff;
    position: relative;
    transition: all .2s ease;
    display: flex;
    padding: 25px;
    margin: 20px 0;
    font-family: montserrat, sans-serif;
    font-size: 16px;
}

div.back-to-resources{
    background: #003c71;
    box-shadow: inset 0 33px 40px -30px rgba(0, 0, 0, .5);
    padding: 50px 0;
    position: relative;
    margin-bottom: 3%;
}

div.back-to-resources div{
max-width:1145px!important;
margin:0px auto!important;
}

div.back-to-resources a{
    color:rgba(255,255,255,0.6);
}

div.back-to-resources a:hover{
    color:white;
}
  
  .post-content {
    flex: 1; /* Content takes up remaining space */
  }

  .newsletter-sidebar-header{
    padding: 10px 25px;
  }

  .sru-issue-date {
    font-weight: bold;
    text-align: center;
}
.issue-date-label {
    color: #003b70;
    text-transform: uppercase;
}
.issue-date {
    color: #b90b2e;
}

.issue-date-label {
    color: #003b70;
    text-transform: uppercase;
}
.past-issues-link {
    font-weight: bold;
    text-align: center;
    font-size:13px;
}

.sru-view-content{
    padding: 25px;
    background: #e4e7ff;
}

.view-content{
    padding: 0px 25px 0px 25px;
}

.view-content h3 {
    color: #b90b2e;
    margin-bottom: 10px;
    font-weight: 800!important;
    text-transform: uppercase;
    font-size: 12px!important;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: .5px;
}

.view-content a s{
    font-size: 14px;
    line-height: 19px;
    font-weight: bold;
    color: #003b70;
    display: block;
    margin-bottom: 12px;
}

.sru-label{
    font-weight: bold;
    text-transform: uppercase;
    font-size: 12px;
    color: #003b70;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: .5px;
}
.sru-view-content .views-field-title a {
    color: #2e2e2e;
    font-weight: 800;
    font-size: 18px;
    line-height: 24px;
    font-family: 'Montserrat', sans-serif;
    display: block;
    margin-bottom: 10px;
}

 .field-content a{
    font-size: 14px;
    line-height: 19px;
    font-weight: bold;
    color: #003b70;
    display: block;
    margin-bottom: 12px;
}

  @media (max-width: 768px) {
    .content-sidebar-container {
      flex-direction: column;
    }
  
    .newsletter-sidebar {
      margin-right: 0;
      margin-bottom: 20px;
    }
  }

  table th, table td {
    border: none!important;
}

.email-container > tbody > tr:nth-child(2) > td:first-child {
    border: 1px solid #b2c4d4!important;
    padding: 0px;
}

.email-container > tbody > tr > td > p {
    display:none!important;
}

.email-container > tbody > tr > td > table:first-child > tbody > tr:first-child > td > img {
    max-width:200px;
    margin:0px;
}

.email-container > tbody > tr > td > table:first-child > tbody > tr:nth-child(2) > td > img {
    max-width:400px;
    margin:0px;
}

/* Specific adjustments for smaller screens */
@media only screen and (max-width: 767px) {
    .email-container {
        max-width: 100% !important; /* Makes it full width on smaller screens */
        padding: 10px !important; /* Reduces padding for a compact look */
    }

    /* Adjust images to be responsive */
    .email-container img {
        max-width: 100%!important;
        height: auto !important; /* Maintains aspect ratio */
        display: block !important; /* Ensures images don't overflow */
        margin: 0 auto !important; /* Centers images */
    }

    /* Adjust table layout for smaller screens */
    .email-container table {
        width: 100% !important;
        table-layout: fixed !important; /* Prevents table from exceeding its container */
    }

    /* Adjust padding for cells */
    .email-container td {
        padding: 10px !important;
    }
}



@media (max-width: 1024px) {
    div.back-to-resources {
        padding-left:5%!important;
        padding-right:5%!important;
    }
    .post-template-default.single .entry-wrap, .secure_doc-template-default.single .entry-wrap, .spotlight-template-default.single .entry-wrap{
        padding:5%!important;
    }
    aside.newsletter-sidebar{
        padding-left:5%!important;
    }
    .related-posts-section {
        padding:5%!important;
      }
      .sidebar-logo{
        margin:0px auto!important;
        width:300px!important;
      }

}
@media (max-width: 768px) {
  .content-sidebar-container {
    display: flex;
    flex-wrap: wrap; /* Enable wrapping for child elements */
  }

  .post-content {
    order: 1; /* Ensure content appears first on mobile */
    width: 100%; /* Take full width on smaller screens */
  }

  .newsletter-sidebar {
    order: 2; /* Move sidebar below content */
    width: 100%; /* Take full width on smaller screens */
    margin-right: 0; /* Remove any right margin for stacking */
    margin-bottom: 20px; /* Add spacing below sidebar */
  }

  .related-posts-section {
    order: 3; /* Ensure related resources appear last */
  }
  aside.newsletter-sidebar{
    padding:5%!important;
}
}

/* SPOTLIGHT SINGLE TEMPLATE */
.spotlight-template-default .entry-title{
    font-size:2em;
    letter-spacing:.5px;
}

.spotlight-template-default .entry-header{
    margin:2.5% auto;
    max-width: 750px!important;
}

.spotlight-template-default .x-main.full{
    margin-bottom:3%
}

.spotlight-template-default p.post-created-date{
    display:none;
}
.spotlight-template-default p.post-categories{
    display:none;
}

.spotlight-template-default .x-container.max.width.offset {
    margin-bottom: 3%!important;
}

.spotlight-template-default .post-author {
    display:none!important;
}


/* SECURE DOCS */
.secure_doc-template-default .entry-title{
    font-size:2em;
    letter-spacing:.5px;
}

.secure_doc-template-default .entry-header{
    margin:2.5% auto;
    max-width: 750px!important;
}

.secure_doc-template-default .x-container.max.width.offset {
    margin-bottom:3%!important;
}

/* CATEGORY TEMPLATE */
.archive.category.category .x-header-landmark{
    display:none;
}
.archive.category.category .x-container.max.width.offset{
    background: #dfe4ea!important;
}

.archive.category.category .filter-section{
    background: #fff;
}

.archive.category.category .filter-section-inner{
    max-width: 1145px;
    margin: 0px auto;
    padding: 1% 0px;
}

.archive.category.category .posts-pagination-section{
    max-width: 1145px;
    margin: 0px auto;
    padding: 2% 0px;
}

.archive.category.category .filter-section-inner {
    display: flex;
    justify-content: space-between; /* Align the search to the left and the filter to the right */
    align-items: center; /* Vertically center the items */
}

.archive.category.category .filter-section-inner .x-btn, .button, [type="submit"] {
    color: #ffffff!important;
    border-color: #009c63!important;
    background: #009c63 linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.15) 100%)!important;
    margin-bottom: 0px!important;
    text-shadow: none!important;
    box-shadow: none!important;
    border-radius: 30px!important;
    padding: 10px 20px!important;
    font-family: Montserrat!important;
}

.archive.category.category form {
    margin: 0px!important;
}

.archive.category.category .filter-section-inner input[type=text]{
    margin-bottom: 0px;
    border-radius: 30px;
    padding: 0 2em;
}


/* SEARCH TEMPLATE */

button.back-button{
    color: #ffffff;
    border: none;
    background: #009c63 linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.15) 100%);
    border-radius: 30px;
    padding: 2px 20px;
    margin-bottom: 2%;
}

.search.search-results .x-header-landmark{
    display:none;
}
.search.search-results .x-container.max.width.offset{
    background: #dfe4ea!important;
}

.search.search-results .filter-section{
    background: #fff;
}

.search.search-results .filter-section-inner{
    max-width: 1145px;
    margin: 0px auto;
    padding: 1% 0px;
}

.search.search-results .posts-pagination-section{
    max-width: 1145px;
    margin: 0px auto;
    padding: 2% 0px;
}

.search.search-results .filter-section-inner {
    display: flex;
    justify-content: space-between; /* Align the search to the left and the filter to the right */
    align-items: center; /* Vertically center the items */
}

.search.search-results .filter-section-inner .x-btn, .button, [type="submit"] {
    color: #ffffff!important;
    border-color: #009c63!important;
    background: #009c63 linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.15) 100%)!important;
    margin-bottom: 0px!important;
    text-shadow: none!important;
    box-shadow: none!important;
    border-radius: 30px!important;
    padding: 10px 20px!important;
    font-family: Montserrat!important;
}

.search.search-results form {
    margin: 0px!important;
}

.search.search-results .filter-section-inner input[type=text]{
    margin-bottom: 0px;
    border-radius: 30px;
    padding: 0 2em;
}


/* WEBCAST TEMPLATE */
.page-template-webcast-archive-template .x-header-landmark{
    display:none;
}
.page-template-webcast-archive-template .x-container.max.width.offset{
    background: #dfe4ea!important;
}


.page-template-webcast-archive-template .filter-section-inner{
    max-width: 1145px;
    margin: 0px auto;
    padding: 1% 0px;
}

.page-template-webcast-archive-template .posts-pagination-section{
    max-width: 1145px;
    margin: 0px auto;
    padding: 0% 0px 2% 0px;
}

.page-template-webcast-archive-template .filter-section-inner .x-btn, .button, [type="submit"] {
    color: #ffffff!important;
    border-color: #009c63!important;
    background: #009c63 linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.15) 100%)!important;
    margin-bottom: 0px!important;
    text-shadow: none!important;
    box-shadow: none!important;
    border-radius: 30px!important;
    padding: 10px 20px!important;
    font-family: Montserrat!important;
}

.page-template-webcast-archive-template form {
    margin: 0px!important;
}

.page-template-webcast-archive-template .filter-section-inner input[type=text]{
    margin-bottom: 0px;
    border-radius: 30px;
    padding: 0 2em;
}



.page-template-webcast-archive-template .card-content h2 {
    font-weight:400;
    font-family:Open Sans;
    font-size:1.2em!important;
}

.page-template-webcast-archive-template .card-content h2 a{
    color: #BA0C2F;
}

/* SRU Newsletter TEMPLATE */
a.reset{
    background-color: #e0e5ea;
    background: #e0e5ea linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.15) 100%);
    color: #2e2e2e;
    box-shadow: 0 2px 7px rgba(0, 0, 0, .34);
    margin-bottom: 0px !important;
    text-shadow: none !important;
    border-radius: 30px !important;
    padding: 10px 20px !important;
    font-family: Montserrat !important;
}

.page-template-sru-newsletter-template .x-header-landmark{
    display:none;
}
.page-template-sru-newsletter-template .x-container.max.width.offset{
    background: #dfe4ea!important;
}


.page-template-sru-newsletter-template .filter-section-inner{
    max-width: 1145px;
    margin: 0px auto;
    padding: 1% 0px;
}

.page-template-sru-newsletter-template .posts-pagination-section{
    max-width: 1145px;
    margin: 0px auto;
    padding: 0% 0px 2% 0px;
}

.page-template-sru-newsletter-template .post-date{
    padding-bottom: 10%;
}

.page-template-sru-newsletter-template .filter-section-inner .x-btn, .button, [type="submit"] {
    color: #ffffff!important;
    border-color: #009c63!important;
    background: #009c63 linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.15) 100%)!important;
    margin-bottom: 0px!important;
    text-shadow: none!important;
    box-shadow: none!important;
    border-radius: 30px!important;
    padding: 10px 20px!important;
    font-family: Montserrat!important;
}

.page-template-sru-newsletter-template form {
    margin: 0px!important;
}

.page-template-sru-newsletter-template .filter-section-inner input[type=text]{
    margin-bottom: 0px;
    border-radius: 30px;
    padding: 0 2em;
}



.page-template-sru-newsletter-template .card-content h2 {
    font-weight:400;
    font-family:Open Sans;
    font-size:1.2em!important;
}

.page-template-sru-newsletter-template .card-content h2 a{
    color: #BA0C2F;
}


/* TOOLS TEMPLATE */
.page-template-tools-applications-template .x-header-landmark{
    display:none;
}
.page-template-tools-applications-template .x-container.max.width.offset{
    background: #dfe4ea!important;
}


.page-template-tools-applications-template .filter-section-inner{
    max-width: 1145px;
    margin: 0px auto;
    padding: 1% 0px;
}

.page-template-tools-applications-template .posts-pagination-section{
    max-width: 1145px;
    margin: 0px auto;
    padding: 0% 0px 2% 0px;
}

.page-template-tools-applications-template .filter-section-inner .x-btn, .button, [type="submit"] {
    color: #ffffff!important;
    border-color: #009c63!important;
    background: #009c63 linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.15) 100%)!important;
    margin-bottom: 0px!important;
    text-shadow: none!important;
    box-shadow: none!important;
    border-radius: 30px!important;
    padding: 10px 20px!important;
    font-family: Montserrat!important;
}

.page-template-tools-applications-template form {
    margin: 0px!important;
}

.page-template-tools-applications-template .filter-section-inner input[type=text]{
    margin-bottom: 0px;
    border-radius: 30px;
    padding: 0 2em;
}


.page-template-tools-applications-template .category-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0px; /* Adds space between each link */
}

.page-template-tools-applications-template .category-links span {
    display: inline-block;
    border-radius: 20px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(237, 237, 237, 1) 100%);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
    padding: 6px 20px;
    margin-bottom: 10px; /* Ensures vertical spacing */
    margin-right: 10px; /* Ensures horizontal spacing */
}

.page-template-tools-applications-template .card-content h2 {
    font-weight:400;
    font-family:Open Sans;
    font-size:1.2em!important;
}

.page-template-tools-applications-template .card-content h2 a{
    color: #BA0C2F;
}

/* RESOURCE PAGE TEMPLATE */

.page-template-page-resources-template .x-container.max.width.offset{
    background: #dfe4ea!important;
}

.page-template-page-resources-template .filter-section{
    background: #fff;
}

.page-template-page-resources-template .filter-section-inner{
    max-width: 1145px;
    margin: 0px auto;
    padding: 1% 0px;
}

.page-template-page-resources-template .posts-pagination-section{
    max-width: 1145px;
    margin: 0px auto;
    padding: 2% 0px;
}

.page-template-page-resources-template .filter-section-inner {
    display: flex;
    justify-content: space-between; /* Align the search to the left and the filter to the right */
    align-items: center; /* Vertically center the items */
}

.search-form {
    display: flex;
}

.search-form input[type="text"] {
    margin-right: 10px;
}

.category-filter {
    display: flex;
    align-items: center;
}

.category-filter select {
    width: 250px; /* You can adjust this width to make the dropdown narrower */
    margin-left: 10px;
    border-radius: 30px;
}

.page-template-page-resources-template .filter-section-inner .x-btn, .button, [type="submit"] {
    color: #ffffff!important;
    border-color: #009c63!important;
    background: #009c63 linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.15) 100%)!important;
    margin-bottom: 0px!important;
    text-shadow: none!important;
    box-shadow: none!important;
    border-radius: 30px!important;
    padding: 10px 20px!important;
    font-family: Montserrat!important;
}

.page-template-page-resources-template form {
    margin: 0px!important;
}

.page-template-page-resources-template .filter-section-inner input[type=text]{
    margin-bottom: 0px;
    border-radius: 30px;
    padding: 0 2em;
}

/* SRU section */

.sru-section {
    background:white;
  }
  .sru-content {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .sru-logo {
    width: 250px; /* Adjust size as needed */
    height: auto;
  }
  .sru-text {
        color: #003b70;
        font-family: 'Montserrat', sans-serif;
        font-weight: 600 !important;
        padding-top: 2%;
  }
  .sru-line {
    flex-grow: 1;
    height: 2px;
    background-color: #dfe4ea;
  }
  .sru-link {
    font-family: 'Montserrat', sans-serif;
    color: #b90b2e;
    font-weight: 600 !important;
    font-size: 13px;
  }

/* Card Grid Layout */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns */
    gap: 20px; /* Space between cards */
}

/* Card Styles */
.card {
    display: block;
    position: relative;
    border: 1px solid #ddd;
    box-shadow: 0 0 5px 0px rgba(0, 0, 0, .5);
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    text-decoration: none; /* Remove underline from link */
}

.card:hover {
    box-shadow: 0 0 30px 10px rgba(0,0,0,.2);
}

.card-content {
    z-index: 1; /* Ensure the content stays visible */
}

.card-content i.fas.fa-file-alt{
    margin-top: 10%;
    font-size: 24px;
    color: #BA0C2F!important;
}

.card-content .title{
    margin: 2% 0% 3% 0%;
    font-size: 18px;
    font-weight:400;
    font-family: Open Sans;
    color: #2e2e2e;
}

.category-labels {
    margin-bottom: 10px;
    font-weight: 400;
    color: #2e2e2e;
    font-size: 12px;
    text-transform: uppercase;
    position: absolute;
    right: 15px;
}

.post-meta {
    color: #555;
    padding-bottom:5%;
}

.pagination{
    text-align: center;
    padding-top: 5%;
    font-weight: bold;
}

.pagination a, .pagination span{
    padding: 0px 1%;
}

/* LIST */
  .list-view {
    display: block;
  }

  .list-view .card {
    display: flex;
    width: 100%;
    padding: 2%;
    box-shadow: none;
    border: 0px;
    margin: 0px 0px 2% 0px;
}

  .list-view .card-content {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .list-view .card-content i.fas.fa-file-alt {
    margin-top: .5%;
  }

  .list-view .title{
    margin:0px
  }

  .list-view .category-labels {
    position: relative;
    right: 0px;
}

.list-view .post-meta {
    padding-bottom: 0%;
}

.filter-results {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
  }
  
  .right-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    white-space: nowrap; /* Prevent text from wrapping */
  }
  
  .sort-by-date {
    display: flex;
    align-items: center;
    gap: 5px;
  }
  
  .view-toggle a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 16px; /* Match text size */
  }
  
  .view-toggle .icon {
    font-size: 1em; /* Match icon size to text */
    width: 1em;
    height: 1em;
  }