/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */


 .building-header-top {
    font-family: cursive;
    font-weight: lighter;
    font-size: 1.5em;
    white-space: no-wrap;
}


.building-header-left {
    position: relative;
    left: 0;
    color: black;
}


.building-header-right {
    font-style: italic;
    position: relative;
    right: 0;
}

.rep-table {
    margin: 30px auto;
}

.rep-entry {
    display: flex;
    flex-direction: column;
}

.rep-entry-details {
    /* margin-left: 10px; */
    margin-bottom: 10px;
    display: flex;
    flex-flow: column;
    /* font-size: 0.8em; */
}

@media only screen and (max-width: 500px) {
    .building-header-top {
        font-size: 2em;
    }
}

.has-text-centered {
    text-align: center;
}

.header-paddings  {
    padding-top: 50px;
}


/* ******* ******* *******
*   PAYMENT STYLES
******* ******* ******* */
.single_add_to_cart_button, #payment-selector,
[data-block='hook:3154'] a.wp-block-button__link {
    max-width: 500px!important;
}
[data-block='hook:3154'] :is(.wp-block-button, .wp-block-button__link) {
    width: 100%;
}

#payment-selector {
    min-height:225px;
}

input[name="payment-option"] {
    margin: 10px;
}

/* LOGIC ( in css =) ) TO DISPLAY PAYMENT METHOD AND RTO LABELS DEPENDING ON RADIO SELECTION */
.show-on-rto, .show-on-pay-in-full, .price-label {
    display: none;
}
input#ei-rto-radio:checked ~ .show-on-rto {
    display: block;
}
input#ei-purchase-radio:checked ~ .show-on-pay-in-full {
    display: block;
}
/* POSITION RTO LABELS */
#payment-selector input[name='payment_type']:checked ~ .label > .price-label {
    display: block;
    position: absolute;
    top: 35px;
    left: 0;
}

#payment-selector div.ei-rto-options {
    display: flex;
    gap: 30px;
    position: relative;
}

#payment-selector div.ei-pay-in-full-info {
    margin-top: 20px;
}

/* FORCE HIDE ALL YITH DEPOSIT FIELDS */
.yith-wcdp-single-add-to-cart-fields {
    display: none!important;
}

/* Checkout */
.wp-block-woocommerce-checkout-order-summary-shipping-block.wc-block-components-totals-wrapper,
.woocommerce-shipping-totals.shipping {
    display: none;
}
.variation-Balance {
    display: none!important;
}

/* Service Area grid */
.ei_post_grid_item {
    padding: 0px 0px 10px 0px;
    background-color: var(--theme-palette-color-4);
    h3 {
        font-size: 1.3em;
        margin: 10px;
        a {
            color: var(--theme-palette-color-3);
        }
    }
}

article.entry-card.card-content {
    [data-block], 
    [data-block]>article, 
    [data-block]>article>.entry-content {
        height: 100%;
    }
    [data-block]>article>.entry-content {
        display: flex;
        flex-direction: column;
        > * {
            margin-left: 0px!important;
        }
        .kb-buttons-wrap {
            flex: 1;
        }
    }
}


/* #woo-filters-panel {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    #filter-button {
        position: unset!important;
        display: flex!important;
    }
}
#filter-button {
    display: none!important;
} */
#product-filter button.dapfforwc-reset-filters-btn {
    background: none;
    color: black;
    font-size: 0.8rem;
    padding: 10px;
    text-decoration-line: underline;
    text-underline-offset: 3px;
    svg {
        fill: black;
    }
}

div.swiper-slide img {
    overflow: hidden;
    width: 100vw;
    aspect-ratio: 12 / 4;
    object-fit: cover;
}
@media (max-width: 768px) {
    div.swiper-slide img {
        aspect-ratio: 16 / 9;
    }
}



div.swiper-slide {
	position: relative;
}
div.swiper-slide .slide-text h2 {
	color: white;
}


@media (max-width: 1023px) {
	div.swiper-slide .slide-text {
		background: var(--theme-palette-color-4);
		text-align: center;
		padding: 50px 25px 75px 25px;
	}
}
@media (min-width: 1024px) {
    div.swiper-slide .slide-text {
        position: absolute;
        bottom: 50px;
        left: 15%;
        max-width: 400px;
    }
    div.swiper-slide .slide-text h2 {
        text-shadow: -2px 2px 0 #000,
                    2px 2px 0 #000,
                    2px -2px 0 #000,
                    -2px -2px 0 #000;
        font-size: 45px;
    }
}
@media (min-width: 1200px) {
    div.swiper-slide .slide-text h2 {
        font-size: 60px;
    }
        div.swiper-slide .slide-text {
        bottom: 75px;
        max-width: 550px;
    }
}

@media (min-width: 1600px) {
	div.swiper-slide .slide-text {
        bottom: 75px;
        max-width: 750px;
    }
    div.swiper-slide .slide-text h2 {
        font-size: 75px;
    }
}