/*
Theme Name: ACLL Theme
Theme URI: 
Author: Maxwell Sheehe
Author URI: 
Description: A reimplementation of ACLL's previous Beaver Builder Theme using the standard Gutenberg Block Editor
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: twentytwentyfour
Text Domain: acll-theme
Tags: 
*/

/* This rule removes spacing between template parts
:where(.wp-site-blocks) > *{
    margin-block-start: 0px !important;
} */


.two-colored-rows>table>tbody>tr:nth-child(1) {
    /* Select the column where you want to color the cell, in this case the third row. */
    background: var(--wp--preset--color--contrast);
    color: var(--wp--preset--color--accent);
}

.two-colored-rows>table>tbody>tr:nth-child(2) {
    /* Select the column where you want to color the cell, in this case the third row. */
    background: var(--wp--preset--color--accent);
    color: var(--wp--preset--color--contrast);
}


.acla-catalog-search {
    font-family: inherit;
    text-align: right;
    display: flex;
    flex-direction: column;
}

.acla-catalog-search-title {
    color: var(--wp--preset--color--accent);
    font-size: 22px;
    font-weight: 600;
    text-align: left;
}

.acla-catalog-search-interactive {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 8px;
    box-sizing: border-box;
    width: 100%;     /* ensure interactive area never exceeds its parent */
    max-width: 100%;
    
}

.acla-catalog-search-input {
    flex:1 1 auto;           /* grow but can shrink */
    width: auto;
    padding: 4px;
    font-size: 18px;
    line-height: 1.428571429;
    color: #424242;
    background-color: #fcfcfc;
    border: 1px solid #fcfcfc;
    transition: all ease-in-out .15s;
    box-sizing:border-box;   /* include padding/border in width calculations */
    min-width:0;             /* allow flex items to shrink to fit */
    max-width:100%;          /* never exceed container width */

}

.acla-catalog-search-submit {
    flex:0 0 auto;
    flex-grow: 0;
    background-color: var(--wp--preset--color--accent);
    color: var(--wp--preset--color--contrast);
    font-size: 18px;
    line-height: 1.2;
    border: 1px solid var(--wp--preset--color--accent);
    box-sizing:border-box;   /* include padding/border in width calculations */
    min-width:0;             /* allow flex items to shrink to fit */
    max-width:100%;          /* never exceed container width */
}

.footer-link a{
    text-decoration-thickness: 3px;
}

.linked-group:hover {
    background-image: linear-gradient(rgb(0 0 0/10%) 0 0);
    cursor: pointer;
    box-shadow: inset 2px 2px 6px rgba(0, 0, 0, 0.18);
    transform: translateY(2px) scale(0.98);
}

@keyframes move-gradient {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 100% 0%;
    }
}

/* button styling going here cause theme.json only applies to the WP Links */
.wp-block-button>a:hover {
    background-image: linear-gradient(rgb(0 0 0/40%) 0 0);
}

.acla-catalog-search-submit:hover {
    background-image: linear-gradient(rgb(0 0 0/40%) 0 0);
    cursor: pointer;
}

.newsletter-card-preview>li {
    border-style: solid;
    background-color: white;
    border-color: var(--wp--preset--color--accent);
    border-width: 4px;
    border-radius: 4px;
    padding: 25px !important;
}

/*This now targets the block immeaditly after header only*/


body.navigation-spacer {
    margin-top: 140px;
}


.scroll-header-image {
    display: none;
}

.scrolled .top-header-image {
    display: none;
}

.scrolled .scroll-header-image {
    display: inline;
}

.scrolled>div {
    min-height: auto !important;
}

.site-header {
    transition: 1s ease-in-out;
}


.site-header.scrolled {
    position: fixed;
    width: 100%;
    z-index: 100;
    top: -140px
}

.site-header.scrolled.animate {
    top: 0;
}

@media (max-width: 1025px) {
    .home-grid-desktop {
        display: none !important;
    }
}

@media (min-width: 1026px) {
    .home-grid-mobile {
        display: none !important;
    }
}

@media (max-width: 600px) {
    .hide-on-mobile {
        display: none !important;
    }
}

@media (min-width: 601px) {
    .hide-on-desktop {
        display: none !important;
    }
}

.sidebar-column{
    background-color: var(--wp--preset--color--base-2);
}

.inline-with-event-list-widget{
    display: inline;
    text-align: left;
}
