/*
Theme Name: Kidlist Chicago
Template: Impreza
Version: 1.2.5
*/

/*Add your own styles here:*/

/* Globals */

body .white-fields input:not([type="submit"]) {
    background: #fff;
}


#page-header{
    z-index: 4000;
}

body.archive main nav.post-pagination,
body .this-week-past,
.tribe-this-week-widget-wrapper .tribe-events-page-title,
.entry-content ul.tribe-events-sub-nav,
.tribe-events-sub-nav {
    display: none !important;
    visibility: hidden !important;
}

.tribe-this-week-widget-wrapper .duration {
    padding: 5px 0 !important;
}

.tribe-this-week-widget-wrapper .tribe-this-week-widget-day .tribe-venue a {
    line-height: 1.5;
}

.tribe-this-week-widget-vertical .tribe-this-week-widget-day {
    padding-bottom: 10px;
}

body .popular-guides-side .w-grid-item-h {
    max-width: 300px;
    margin: auto;
}

html,
.l-header .widget,
.menu-item-object-us_page_block {
    font-size: 18px !important;
    line-height: 28px !important;
}

body figure.aligncenter img {
    margin-left: auto;
    margin-right: auto;
}

body div#sb_instagram {
    background: transparent !important;
}

.l-subheader-h,
.l-section-h,
.l-main .aligncenter,
.w-tabs-section-content-h {
    width: 100%;
}

.advert-grid img {
    margin: auto !important;
}

.green .w-separator-h::before,
.green .w-separator-h::after,
.green {
    color: #81d742 !important;
}

.blue .w-separator-h::before,
.blue .w-separator-h::after,
.blue {
    color: #478fe0 !important;
}

.purple .w-separator-h::before,
.purple .w-separator-h::after,
.purple {
    color: #8224e3 !important;
}

.magenta .w-separator-h::before,
.magenta .w-separator-h::after,
.magenta {
    color: #d44cef !important;
}

.orange .w-separator-h::before,
.orange .w-separator-h::after,
.orange {
    color: #eab04b !important;
}

@media screen and (max-width: 767px) {
    body .g-loadmore {
        margin-bottom: 1.5rem;
    }

    footer .w-socials-item {
        --gap: 0;
    }
}

/* Box styles */
.guide-box,
.box {
    margin: 1em 0;
    overflow: hidden;
    max-width: 100%;
    padding: 1em;
}

/* guide box */
.guide-box {
    background-color: #f7f7f7;
    border: 1px solid #cccccc;
}

/* blue box */
.box {
    background-color: #1c75bc;
    border: 1px solid #cccccc;
    text-align: center;
    color: #fff;
}

.box a,
.box a:link,
.box a:visited,
.box a:active,
.box a:hover,
.blue-button a,
.blue-button a:link,
.blue-button a:visited,
.blue-button a:active,
.blue-button a:hover {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.things-to-do .w-image.meta_modern .w-image-meta {
    height: 100%;
}

.things-to-do .w-image-title {
    position: absolute;
    top: 36%;
    left: 0;
    right: 0;
    font-size: 1.5rem;
}

body.single .post_content img {
    margin-bottom: 1rem;
}

body.single .post_author.box .post-author-name {
    font-size: 1.5rem;
    padding-bottom: 0.75rem;
}

body.single .post_author.box .post-author-info {
    font-size: 1rem;
}

body .kidlist-sidebar .w-socials.style_outlined .w-socials-item-link {
    box-shadow: none !important;
    line-height: 1.5em;
    width: 1.5em;
}

.wp-block-image img {
    margin-bottom: 2em !important;
}

.wp-block-image .wp-element-caption {
    margin-top: -2em;
    color: #505050;
}

/* New Directory Styles */

body .drts-display-element-entity_field_post_title-1 {
    margin: 0 0 1.5rem !important;
}

body .drts-view-entities-footer {
    margin-bottom: 1.5rem !important;
}

body.single i.fa-stack-1x {
    top: 7px !important;
}

body.single .drts-display-element-entity_field_directory_category-1 {
    margin: 2rem 0 !important;
}

/* Home */
body.home .tribe-events-category-all-day {
    display: none !important;
}

.wp-block-buttons > .wp-block-button {
    display: inline-block;
    margin-bottom: 15px;
}

.wp-block-button__link.has-content-bg-color.has-text-color.has-background.wp-element-button:hover {
    color: #505050 !important; /* Use !important if necessary to override existing styles */
    background-color: #d3e2ed !important;
}

.tribe-common.tribe-events-view {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.tribe-events-c-ical__link {
    display: none !important;
}

.rank-math-question {
    margin-top: 1em;
}

#rank-math-toc {
    margin-bottom: 30px;
}
