/**
Theme Name: DCA Racing & Fabrication Inc 
Author: Netkinetix
Author URI: https://www.netkinetix.com/
Description: Child theme for DCA Racing & Fabrication
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dca-racing-fabrication-inc
Template: astra
*/

.wn-image-wrap > .value {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
}

#secondary .wp-block-search__button {
    margin-left: 5px;
    padding: 0 0.7em;
}

#secondary h2.widget-title {
    font-size: 1.4em;
    font-weight: 600;
}

#secondary li {
    margin-bottom: 0.25em;
}

#secondary li.current-menu-item a,
#secondary li.current-product_cat-ancestor a,
#secondary li.current-product-ancestor a {
    color: #000;
    text-decoration: underline;
}

#secondary .sidebar-close-container {
    display: none;
}

.mobile-sidebar-trigger {
    display: none;
}

.woocommerce-products-header__title.page-title {
    margin-bottom: 0.6em;
    font-size: 1.88rem;
    font-weight: 600;
}

ul.subcategories-list {
    list-style: none;
    margin-left: 1em;
}

.ql-whats-new ul.wp-block-post-template {
    padding-left: 0;
}

#ast-mobile-header .site-header-primary-section-right .ast-builder-layout-element:not(:last-child) {
    padding-right: 5px;
}

#ast-mobile-header .site-header-primary-section-right .ast-builder-layout-element:not(:first-child) {
    padding-left: 5px;
}

.ast-button-wrap .menu-toggle.main-header-menu-toggle {
    padding: .3em;
}

.nf-form-content input[type=submit].nf_contact-us-submit {
    background-color: var(--ast-global-color-0);
    border-radius: 4px;
    color: #fff !important
}

.nf-form-content input[type=submit].nf_contact-us-submit:hover {
    background-color: #000;
    color: #fff !important;
}

.nf-form-content input:not([type=button]),
.nf-form-content textarea {
    color: #000 !important;
}

.site-below-footer-wrap[data-section="section-below-footer-builder"] .ast-builder-grid-row {
    max-width: 1240px;
    padding: 0 20px;
}

@media screen and (min-width: 993px) {
    .ast-left-sidebar #secondary {
        padding-right: 20px;
    }
}

@media screen and (min-width: 921px) {
    .ast-desktop .ast-primary-header-bar .ast-header-woo-cart {
        margin-top: 8px;;
    }
}

@media screen and (max-width: 921px) {
    .ast-header-break-point .ast-header-account-wrap {
        margin-bottom: 8px;
    }

    .mobile-sidebar-trigger {
        display: block;
    }

    #secondary {
        position: absolute;
        left: -3000px;
        transition: left ease-in-out 0.2s;
    }

    #secondary .sidebar-close-container {
        display: flex;
        justify-content: end;
    }

    #secondary .sidebar-close-container span {
        transform: rotate(45deg);
        font-family: 'dashicons';
    }


    #secondary.active {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        width: 60%;
        height: 100vh;
        z-index: 1000;
        background-color: #fff;
        padding: 10px;
        padding-bottom: 0;
    }

    #secondary.active li {
        margin-bottom: 0.75em;
    }

    #ms-overlay {
        position: fixed;
    }

    #ms-overlay.active {
        width: 100vw;
        height: 100vh;
        z-index: 999;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        cursor: pointer;
        background-color: rgba(0, 0, 0, 0.4);
    }

    #astra-footer-menu .menu-item:last-child a {
        padding-right: 0;
    }
}

@media screen and (max-width: 544px) {
    .ql-whats-new li.type-whats_new .wp-block-columns .wp-block-column:not(:last-child),
    .site-below-footer-wrap[data-section="section-below-footer-builder"].ast-footer-row-mobile-stack .site-footer-section-1 {
        margin-bottom: 0;
    }

    .site-below-footer-wrap[data-section="section-below-footer-builder"].ast-footer-row-mobile-stack .site-footer-section-1 {
        order: 2;
    }

    .site-below-footer-wrap[data-section="section-below-footer-builder"].ast-footer-row-mobile-stack .site-footer-section-2 {
        order: 1
    }

    #astra-footer-menu .menu-item:last-child a {
        padding-right: 20px;
    }
}


