/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Scott Muir
 * Template: blocksy
 * Text Domain: blocksy
 */

/**** START Global Styles ****/

[data-prefix="single_blog_post"] .entry-header .page-title {
    --theme-font-size: 60px;
    color: #FFF;
}

.fopir-hidden {
    display: none !important;
}

ul.entry-meta, header div.page-description, span.ct-title-label {
    display: none;
}

.entry-card img:hover {
    -webkit-transform: scale(1.1); 
    -moz-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
    -webkit-transition: 0.5s all;
    transition: 0.5s all;
}

.menu-item-has-children ul.sub-menu {
    margin-top: -35px;
}

article.type-page .stk-block-heading h1, .single-post header.entry-header h1 {
    font-family: var(--fontFamily) !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5) !important;
}

.photo-cred-wrap {
    margin-block-start: -28px !important;
    margin: 0 5px;
    padding: 0 10px;
    text-align: right;
    margin-top: -25px;
    position: relative;
    z-index: 49;
    color: #FFF;
    text-shadow: 0 0 15px rgba(0,0,0,1), 0 0 10px rgba(0,0,0,1), 0 0 5px rgba(0,0,0,1);;
}

.photo-cred-wrap.is-page {
    margin-block-start: -50px !important;
    margin-bottom: 50px;
}

.photo-cred-wrap .cred-txt {
    font-size: 0.8em;
}

.account-ribbon {
	padding: 5px;
    font-size: 0.9em;
	background-color: #FFF;
}

.account-ribbon-content {
	margin: auto;
    width: 600px;
    max-width: 100%;
    display: block;
	text-align: center;
}

.account-ribbon-link {
    padding: 0 10px;
	font-size: 0.9em;
	font-weight: 600;
}

.account-ribbon-link:not(:last-child) {
	border-right: 2px solid;
}

a.account-ribbon-link:hover {
    color: #9e2943;
    text-decoration: underline;
}

.media-modal .compat-attachment-fields>tbody>.acf-field>.acf-input {
    width: 100%;
}

article.race_programs h2 {
    text-align: center;
}

article.race_programs img {
    aspect-ratio: revert-layer !important;
}

.curr-rp-wrapper {
    width: 375px !important;
    max-width: 100%;
}

.curr-rp-img-wrap {
    height: auto;
    margin-bottom: 20px;
}

.curr-rp-img-wrap img:hover {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
    -webkit-transition: 0.5s all;
    transition: 0.5s all;
}

.curr-rp-title a {
    color: #000;
}

.curr-rp-title a:hover {
    color: var(--theme-link-hover-color);
}

.curr-rp-not-available {
    padding: 20px;
    background-color: #ebebeb;
    width: 750px !important;
    max-width: 95%;
    margin-block-end: 50px !important;
}

.curr-rp-not-available p {
    text-align: center;
    font-size: 1.2em;
    margin-bottom: 0;
}

.mobile-only {
    display: none !important;
}

/**** END Global Styles ****/


/**** START Page Styles ****/

.page-feat-img-bg {
    padding-top: 225px !important;
    padding-bottom: 225px !important;
}

.page-title-shadow {
    box-shadow: 0px 0px 0px 0px #000000 !important;
}

.page-title-shadow h1 {
    font-family: var(--fontFamily) !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important;
    font-size: 75px !important;
    color: var(--theme-palette-color-8, #ffffff) !important;
}

/**** END Page Styles ****/


/**** START Homepage Carousel Styles ****/

.carousel-item-wapper {
    background-blend-mode: multiply;
    background-color:#4d5764 !important; 
}

.carousel-item-content-wrap {
    padding: 200px 40px 100px 50px;
}

.carousel-item-excerpt {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5) !important;
}

.carousel-donate-cta {
    color: #FFF;
    padding: 30px 20px;
    border: 2px solid;
    width: 350px;
    max-width: 100%;
    margin: 20px auto;
    border-radius: 10px;
    text-align: center;
    box-shadow: #FFF 0 0 8px 1px;
}

.donate-cta-title {
    font-size: 1.1em;
    text-transform: uppercase;
}

.donate-cta-heading {
    font-size: 2.4em;
    font-weight: bold;
    color: #9e2943;
    margin-bottom: 7px;
    padding-top: 0;
    line-height: 0.9em;
}

.donate-cta-title, .donate-cta-heading, .donate-cta-excerpt {
    text-shadow: #292929 2px 1px 2px;
}

.donate-cta-excerpt {
    line-height: 1.5em;
}

.donate-cta-btn-wrap {
    margin: 15px 0 0 0 !important;
}

.donate-cta-btn {
    justify-content: center !important;
}

.donate-cta-btn .stk-block-button {
    box-shadow: #292929 2px 2px 4px 1px;
}

/**** END Homepage Carousel Styles ****/

/**** START Homepage Featured Posts Styles ****/

.feat-posts-wrap {
    min-width: 100%;
    background-color: #7e2434;
}

.feat-post-link:hover > .feat-post-title {
    color: #aaaaaa !important;
}

.feat-post-excerpt {
    color: #FFF;
}

.stk-block-horizontal-scroller:not(.editor)>.stk-block-content {
    grid-auto-columns: var(--stk-column-width, 350px);
    cursor: ew-resize;
}

.feat-post-content-wrap {
    min-height: 255px;
}

.feat-post-img {
    transition: transform .5s;
}

.feat-post-img:hover {
    -ms-transform: scale(1.15);
    -webkit-transform: scale(1.15);
    transform: scale(1.15); 
}

/**** END Homepage Featured Posts Styles ****/

/**** START Homepage What's Next Styles ****/

.stk-9c88d90.whats-next-block {
    background-color: #f3f3f3 !important;
}

/**** END Homepage What's Next Styles ****/



/**** START Ninja Forms Styles ****/

form .nf-before-form-content {
    padding: 5px;
    max-width: 1000px;
    margin: 0 auto;
}

/**** END Ninja Forms Styles ****/

/**** START About Us Styles ****/

.board-members div.stk-img-wrapper {
    height: 300px !important;
}

.stk-block-team-member .stk-image--shape-stretch {
    max-width: 250px;
}

/**** END About Us Styles ****/


/**** START Race Weekend Module Styles ****/

.stk-7a583b3 {
    background-color: var(--theme-palette-color-1, #9e2943) !important;
    border-top-left-radius: 20px !important;
    border-top-right-radius: 20px !important;
    border-bottom-right-radius: 20px !important;
    border-bottom-left-radius: 20px !important;
    overflow: hidden !important;
    padding-top: 25px !important;
    padding-bottom: 25px !important;
    margin-bottom: 0px !important;
}

.stk-0b696aa {
    background-color: var(--theme-palette-color-8, #ffffff) !important;
    border-top-left-radius: 10px !important;
    border-top-right-radius: 10px !important;
    border-bottom-right-radius: 10px !important;
    border-bottom-left-radius: 10px !important;
    overflow: hidden !important;
    border-style: solid !important;
    border-color: var(--theme-palette-color-4, #192a3d) !important;
    border-top-width: 0px !important;
    border-right-width: 0px !important;
    border-bottom-width: 0px !important;
    border-left-width: 0px !important;
    align-items: center !important;
    display: flex !important;
}

.stk-0b696aa-container {
    margin-top: 0px !important;
    margin-right: 0px !important;
    margin-bottom: 0px !important;
    margin-left: 0px !important;
    padding-top: 0px !important;
    padding-right: 0px !important;
    padding-bottom: 0px !important;
    padding-left: 0px !important;
    display: flex !important;
}

.stk-0b696aa-inner-blocks {
    justify-content: center !important;
}

div.stk-block#countdown-timer {
    margin: auto;
}

.stk-2ba5c86 {
    box-shadow: 0px 0px 0px 0px #000000 !important;
    margin-bottom: 10px !important;
}

.stk-2ba5c86 .stk-block-heading__text {
    color: var(--theme-palette-color-8, #ffffff) !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !important;
}

.stk-04a27ed .stk-block-heading__text, :is(.stk-54c3fdf, .stk-8c6535d) .stk-block-text__text {
    color: var(--theme-palette-color-8, #ffffff) !important;
}

.stk-866ec0e {
    --stk-icon-list-marker-color: var(--theme-palette-color-1, #9e2943) !important;
}

.stk-15ab537 {
    bottom: 15px !important;
}

.stk-15ab537 .stk-block-icon-list-item__text {
    font-size: 15px !important;
}

.countdown-timer {
    width: 450px;
    max-width: 90%;
}

.countdown-timer, .countdown-timer td {
    border-style: none;
}

.countdown-timer td {
    padding: 0;
    text-align: center;
}

.countdown-timer .time-label {
    font-size: 0.5em;
}

.countdown-days, .countdown-hours, .countdown-mins, .countdown-secs {
    font-size: 1.5em;
}

div.stk-block#countdown-timer {
    margin: auto;
}

.concluded-styles {
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.rw-link-item a {
    text-transform: uppercase;
}

/**** END Race Weekend Module Styles ****/

/**** BEGIN Footer Styles ****/

.ct-footer [data-column="widget-area-4"], .ct-footer [data-column="widget-area-5"], .ct-footer [data-column="widget-area-6"] {
    text-align: center !important;
}

/**** END Footer Styles ****/


/**** BEGIN Mobile Styles ****/

@media screen and (max-width: 1200px) {
    [data-footer*="type-1"] .ct-footer [data-row*="middle"] > div {
        --columns-gap: 40px;
    }
}

@media screen and (max-width: 1023px) {
    .whats-next-btns {
        margin: auto;
    }
}

@media screen and (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }

    .carousel-set-height {
        height: 550px;
    }

    .carousel-item-content-wrap {
        padding: 100px 40px 50px 50px;
    }

    .carousel-btn-group .mobile-donate-btn {
        color: #FFF;
    }

    .page-title-shadow h1 {
        font-size: 50px !important;
    }

    .mobile-only {
        display: inline-block !important;
    }

    .countdown-timer {
        width: 350px;
    }

    .ct-footer [data-column="widget-area-2"], .ct-footer [data-column="widget-area-3"] {
        display: grid;
        margin: auto;
    }

    .ct-footer [data-column="widget-area-2"] h6, .ct-footer [data-column="widget-area-2"] p {
        text-align: center !important;
        --horizontal-alignment: flex-middle;
    }

    [data-footer*="type-1"] .ct-footer [data-row*="middle"] > div {
        --grid-template-columns: unset !;
    }
}

@media screen and (min-width: 690px) {
    .stk-0b696aa, .stk-956a014 {
        flex: var(--stk-flex-grow, 1) 1 calc(30% - var(--stk-column-gap, 0px) * 1 / 2) !important;
    }

    .stk-92ef997, .stk-4403b5f {
        flex: var(--stk-flex-grow, 1) 1 calc(70% - var(--stk-column-gap, 0px) * 1 / 2) !important;
    }
}

@media screen and (max-width: 600px) {

    .carousel-item-content-wrap {
        padding: 75px 40px 50px 50px;
    }

    .stk-44628d4 .stk-block-heading__text.carousel-post-title {
        font-size: 2.1em !important;
    }

    .whats-next-img-wrap, .stk-img-wrapper img.whats-next-img {
        height: 250px !important;
    }

    .whats-next-content-wrap {
        margin-top: -30px !important;
    }    

    header.entry-header h1.page-title {
        font-size: 45px;
    }

    #offcanvas ul.sub-menu li {
        margin-top: 30px;
    }

    .countdown-timer-wrap {
        display: block;
    }

    .countdown-timer {
        width: 325px;
    }

    .countdown-days, .countdown-hours, .countdown-mins, .countdown-secs {
        font-size: 1.2em;
    }

    .ct-footer [data-column="widget-area-4"], .ct-footer [data-column="widget-area-5"], .ct-footer [data-column="widget-area-6"] {
        display: grid !important;
    }
}