/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.2
 Text Domain:  bricks
*/

html, * {
    scroll-behavior: smooth;
}

.hp-hero a {
    color: #fff;
}

a, button,
a:hover, button:hover {
    transition: all .25s ease-in-out;
}

figcaption {
    color: var(--bricks-text-dark);
    font-style: italic;
}

label {
    color: var(--bricks-text-dark);
}

.ion-md-search {
    align-self: baseline;
}

@media all and (min-width: 990px) {
    .ion-md-search {
        align-self: end;
    }
}

@media all and (min-width: 1258px) {
    .ion-md-search {
        align-self: auto;
    }
}

.wp-block-pullquote cite {
    color: var(--bricks-text-dark);
    opacity: 1;
    font-style: italic;
}

blockquote cite {
    text-transform: none;
}

.wp-block-rank-math-toc-block {
    display: flex;
    gap: 2rem;
    line-height: 1;
    margin-bottom: 4rem;
}

.wp-block-rank-math-toc-block h2 {
    font-size: var(--wp--preset--font-size--medium);
    margin-bottom: 0;
    font-weight: normal;
    line-height: 1;
}

.wp-block-rank-math-toc-block ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.wp-block-rank-math-toc-block li {
    display: inline;
    margin-right: 1rem;
}

.wp-lightbox-overlay .scrim {
    background-color: #212121 !important;
    height: 100%;
    opacity: .9 !important;
}

.wp-lightbox-overlay .close-button svg {
    fill: #fff;
    height: 32px;
    width: 32px;
}

.bricks-isotope-filters {
    margin-bottom: 2rem !important;
}

.brxe-bbfxws  .bricks-isotope-filters li {
    background-color: transparent;
    text-decoration: none;
}

.bricks-isotope-filters li:hover {
    color: #000;
    text-decoration: underline;
}

.brxe-bbfxws .bricks-isotope-filters .active {
    text-decoration: underline;
}

/* masonry list of art on homepage */
#brxe-tuxado {
    width: 100%;
}

.wp-block-navigation ul {
    margin-bottom: 4rem;
}
.wp-block-navigation-item__content {
    background: #000;
    color: #fff !important;
    padding: .5rem 2rem;
    text-decoration: none !important;
}

.wp-block-navigation-item__content:hover {
    background: #4d4d4d;
}

.featured-image-no .brx-grid {
    grid-template-columns: auto !important;
}

.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
    position: static;
    background: #f7f7f7;
    font-size: 1.6rem;
    color: #000;
    text-shadow: none;
    font-style: normal;
    font-weight: bold;
}

.wp-block-pullquote {
    padding: 2rem 4rem !important;
}


.wp-block-pullquote blockquote {
    border: none;
    padding: 0;
}

/* make mobile nav toggle and search icon larger */

.ion-md-search:before {
    font-size: 32px !important;
}

.brxe-nav-menu .bricks-mobile-menu-toggle span {
    width: 32px !important;
    height: 3px !important;
}

.brxe-nav-menu .bricks-mobile-menu-toggle .bar-center {
    top: 12px !important;
}
.brxe-nav-menu .bricks-mobile-menu-toggle .bar-bottom {
    top: 24px !important;
}

:where(.brxe-nav-menu) .bricks-mobile-menu-toggle {
    width: 32px !important;
}

.brxe-nav-menu .bricks-mobile-menu-toggle[aria-expanded="true"] .bar-bottom {
    top: 8px !important;
}

@media all and (max-width: 767px) {
    .wp-block-image .alignleft,
    .wp-block-image .alignright {
        float: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}
@media all and (min-width: 767px) {
    .wp-block-pullquote {
        position: absolute;
        right: 0;
        width: 30%;
        padding-top: 0 !important;
    }
    .wp-block-image .alignleft,
    .wp-block-image .alignright {
        max-width: 280px;
    }
    .wp-block-image.two-women .alignright {
        max-width: 50%;
    }
}
