/*!
Theme Name: Kadence Child
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Kadence WP
Author URI: https://www.kadencewp.com/
Description: A child theme for the Kadence Theme.
Version: 1.0.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence-child
*/

/* 1. Global Theme Spacing */
:root {
    --global-xs-spacing: 0 !important;
    --global-sm-spacing: 20px !important;
    --global-md-spacing: 10px !important;
    --global-lg-spacing: 10px !important;
    --global-xl-spacing: 50px !important;
    --global-xxl-spacing: 25px !important;
    --global-edge-spacing: 25px !important;
    --global-boxed-spacing: 25px !important;
}

/* Body
---------------------------------------------------------------------------------------*/

body.footer-on-bottom {
    margin: auto;
    max-width: 1300px;
}

a {
    text-decoration: none;
}

/* Header 
---------------------------------------------------------------------------------------*/

.site-header-inner-wrap {
    padding: 0;
    margin: 0 0 14px;
    border-bottom: 4px solid #ec0000;
    box-shadow: 0 10px 0 #000000, 0 14px 0 #ec0000;
}

body.admin-bar .popup-drawer .drawer-inner {
    background-color: #fff;
}

.popup-drawer .drawer-header {
    min-height: 60px !important;
    background-color: #ec0000;
    align-items: center;
    justify-content: space-between;
}

.popup-drawer .drawer-header::before {
    content: "Catalog Monster Categories";
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    padding-left: 1.5em;
    flex: 1;
}

/* Home
---------------------------------------------------------------------------------------*/

.homeheader {
    padding: 0 0 15px 0;
    border-bottom: 2px solid #eee;
}

.grid-cols {
    display: block !important;
}

.grid-lg-col-1.item-image-style-beside article.loop-entry.has-post-thumbnail:not(.kb-post-no-image) {
    display: block !important;
}

.grid-lg-col-1.item-image-style-beside article.loop-entry,
.archive.content-style-unboxed .grid-lg-col-1.item-image-style-beside article.loop-entry,
.search-results.content-style-unboxed .grid-lg-col-1.item-image-style-beside article.loop-entry {
    border-bottom: 2px solid #eee;
    margin-top: 30px;
}

a.post-thumbnail.kadence-thumbnail-ratio-inherit {
    float: left;
    border: 2px solid #000000;
    border-radius: 5px;
    margin-right: 20px;
    margin-bottom: 30px !important;
}

.entry-header {
    margin: 0 !important;
}

.loop-entry .entry-summary p,
.loop-entry .entry-header .entry-meta {
    margin: 0 0 30px !important;
}

.grid-lg-col-1.item-image-style-beside .entry-list-item:last-child article.loop-entry {
    border-bottom: none;
}

/*  Categories
---------------------------------------------------------------------------------------*/

body.category:not(.category-13) .entry-header h1 {
    margin-bottom: 20px !important;
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
}

.pagination {
    border-top: 2px solid #eee;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-bottom: 0 !important;
}

.pagination .page-numbers {
    margin-right: .2em !important;
    min-width: 1.6em !important;
    line-height: 1.5em !important;
}

/*  Post
---------------------------------------------------------------------------------------*/

.content-style-unboxed .entry:not(.loop-entry)>.entry-content-wrap {
    padding-top: 25px !important;
}

.single-image {
    float: left;
    margin: 0 20px 0 0;
}

.single-image-top {
    border: 2px solid #000000;
    border-radius: 5px;
}

.single-content {
    margin: 0 !important;
}

.single-content h2 {
    margin: 25px 0 7px !important;
}

.single-share {
    justify-content: center;
    margin: 5px 0;
    display: flex;
}

/* Left SideBar Menu
---------------------------------------------------------------------------------------*/

.search-form .kadence-search-icon-wrap {
    color: #000000 !important;
}

.search-form input[type="search"] {
    border: none;
    border-bottom: 1px dotted #888;
    color: #000000 !important;
    font-weight: 600;
}

.search-form input[type="search"]::placeholder {
    color: #000000;
    font-weight: 600;
}

.search-form input[type="search"]:hover {
    border-bottom: 1px solid #ec0000;
}

.search-form input[type="search"]:focus,
.search-form input[type="search"]:active {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
    border-bottom: 1px dotted #888;
}

.search-form input[type="search"] {
    background-color: #ffffff !important;
}

.search-form input[type="search"]:-webkit-autofill,
.search-form input[type="search"]:-webkit-autofill:hover,
.search-form input[type="search"]:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px white inset !important;
    background-color: #ffffff !important;
}

#nav_menu-2 .menu-item a {
    border-bottom: 1px dotted #888;
    text-indent: 7px;
}

#nav_menu-2 .menu-item a:hover {
    border-bottom: 1px solid #ec0000;
}

.scriptlesssocialsharing {
    margin: 13px 0 13px 7px !important;
}

/* A to Z Menu
---------------------------------------------------------------------------------------*/

div#nav_menu-3 {
    margin: 0;
}

.a-z-menu {
    margin: 10px 0 10px;
    border-top: 2px solid #eee;
    border-bottom: 2px solid #eee;
}

#menu-free-catalogs-online {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    gap: 17px;
}

.menu-free-catalogs-online-container {
    padding: 5px 10px;
}

#menu-free-catalogs-online .menu-item a {
    font-weight: 600 !important;
    font-size: 18px;
    color: #000;
}

/*  Breadcrumbs
---------------------------------------------------------------------------------------*/

.single-breadcrumbs,
.category-breadcrumbs {
    border-top: 2px solid #eee;
    border-bottom: 2px solid #eee;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    padding: 7px 0;
}

.single-breadcrumbs p,
.category-breadcrumbs p {
    margin: 0;
}

a:where(:not(.wp-element-button)) {
    text-decoration: none !important;
}

/* Footer
---------------------------------------------------------------------------------------*/

body.footer-on-bottom #inner-wrap {
    padding: 0;
    margin: 0 0 14px;
    border-bottom: 4px solid #ec0000;
    box-shadow: 0 10px 0 #000, 0 14px 0 #ec0000;
}

.disclaimer {
    font-size: 16px;
    max-width: 325px;
    padding: 15px 15px 0 15px;
    margin-left: auto;
    margin-right: auto;
}

.footer-menu {
    margin-top: 15px;
    text-align: center;
}

/*  Content Feature Blocks
---------------------------------------------------------------------------------------*/

/* Consolidated common content-block properties */
.primary-content-feature,
.content-footer-feature,
.reading-break,
.section-intro-block,
.section-close-block,
.entry-spacer {
    min-height: 250px;
    clear: both;
}

.primary-content-feature {
    padding: 0 10px 15px;
    margin: 0;
}

.content-footer-feature {
    padding: 15px 10px !important;
    margin: 15px 0 0;
    border-top: 2px solid #eee;
}

.reading-break {
    padding: 15px 10px;
    margin: 15px 0 !important;
    border-top: 2px solid #eee;
    border-bottom: 2px solid #eee;
}

.section-intro-block {
    padding: 0 0 15px 0;
}

.section-close-block {
    padding: 25px 10px;
    border-top: 2px solid #eee;
}

.entry-spacer {
    padding: 15px 10px;
    border-bottom: 2px solid #eee;
}

/*  Search Results Pagination
---------------------------------------------------------------------------------------*/
body.search .pagination {
    border-top: 2px solid #eee;
    padding-top: 10px;
}

h1.search-title {
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
}

/*  Media
---------------------------------------------------------------------------------------*/

@media screen and (max-width: 1024px) {
    aside#secondary {
        border-top: 2px solid #eee;
    }
}

/* Mobile Image Size Fixes (< 600px) */
@media screen and (max-width: 599px) {
    .single-image {
        float: left;
        margin: 0 15px 10px 0;
        display: block;
    }

    .single-image-top img {
        width: 118px !important;
        height: 154px !important;
        object-fit: cover;
    }
}

/* Header Logo Optimization */
.site-header-inner-wrap .custom-logo {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    max-width: 350px;
}