/*!
 Theme Name: Rubrum
 Theme URI:
 Author: Dev Team
 Author URI:
 Description: Rubrum is a blank canvas for your ideas and it makes the block editor your best brush.
 Requires at least: 6.6
 Tested up to: 6.7
 Requires PHP: 8.0
 Version: 6.7.1
 Text Domain: rubrum
*/


/** Add your custom styles here **/


body {
    color: var(--wp--preset--color--contrast);
}

/** Header **/
.wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open {
    background-color: var(--wp--preset--color--primary);
}
header nav li.hide-on-header {
    display: none !important;
}

@media (min-width: 992px) {
    .cover-col-form {
        background-color: unset !important;
    }
}

@media (max-width: 991.98px) {
    .wp-block-cover__image-background {
        object-position: 21% 50% !important;
    }
    .cover-col-spacer .wp-block-spacer {
        height: 37vw !important;
    }
}
/** Mobile version of Cover Banner image **/
@media (max-width: 781.98px) {
    .cover-col-spacer .wp-block-spacer {
        height: 58vw !important;
    }
    .cover-hero img.wp-block-cover__image-background {
        display: none;
    }
    .cover-hero {
        background: url('/wp-content/uploads/img-eric-toney.webp') no-repeat top center;
        background-size: cover;
    }
}
@media (max-width: 639.98px) {
    .cover-hero {
        background-size: contain;
    }
}

/** Add Arrow to Accent Buttons **/
.wp-block-button.is-style-btn-accent {
    position: relative;
}
.wp-block-button.is-style-btn-accent .wp-block-button__link::after {
    content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="6" height="12" viewBox="0 0 6 12" fill="none"><path d="M1 0.5L5 6L1 11.5" stroke="%23001B72" stroke-width="1.5"/></svg>');
    display: inline-block;
    width: 22px;
    height: 15px;
    position: relative;
    top: 1px;
    right: -6px;
}
.wp-block-button.is-style-btn-accent .wp-block-button__link:active::after,
.wp-block-button.is-style-btn-accent .wp-block-button__link:hover::after,
.wp-block-button.is-style-btn-accent .wp-block-button__link:focus::after {
    content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="6" height="12" viewBox="0 0 6 12" fill="none"><path d="M1 0.5L5 6L1 11.5" stroke="white" stroke-width="1.5"/></svg>');
}

.wp-block-read-more::after {
    content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="6" height="12" viewBox="0 0 6 12" fill="none"><path d="M1 0.5L5 6L1 11.5" stroke="%23001B72" stroke-width="1.5"/></svg>');
    display: inline-block;
    width: 22px;
    height: 15px;
    position: relative;
    top: 1px;
    right: -6px;
}
.wp-block-read-more:active,
.wp-block-read-more:hover,
.wp-block-read-more:focus {
    color: #FFF !important;
    background-color: var(--wp--preset--color--primary) !important;
}
.wp-block-read-more:active::after,
.wp-block-read-more:hover::after,
.wp-block-read-more:focus::after {
    content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="6" height="12" viewBox="0 0 6 12" fill="none"><path d="M1 0.5L5 6L1 11.5" stroke="white" stroke-width="1.5"/></svg>');
}


.box-issues:has(.block-collapse-container .show) > p .the-dots {
    display: none !important;
}

.btn-arrow .wp-element-button {
    padding-right: 40px !important;
    padding-left: 10px !important;
    background-repeat: no-repeat !important;
    background-position: 92% 45% !important;
    display: inline-block !important;
}
.btn-arrow .wp-element-button:hover {
    background-color: #FFF !important;
}
div[aria-expanded="false"] .btn-arrow .wp-element-button {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="13" height="6" viewBox="0 0 13 6" fill="none"><path d="M11.6667 1L6.16669 5L0.666687 1" stroke="%23001B72" stroke-width="1.5"/></svg>') !important;
}
div[aria-expanded="true"] .btn-arrow .wp-element-button {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="13" height="6" viewBox="0 0 13 6" fill="none"><path d="M1 5L6.5 1L12 5" stroke="%23001B72" stroke-width="1.5"/></svg>') !important;
}


/** Form Tweaks **/
.form-join .ginput_complex label,
.form-join .gfield_label {
    margin: 0;
    padding: 0 0 6px;
    color: white !important;
    font-family: var(--wp--custom--form--default--input--typography--font-family);
    font-size: var(--wp--preset--font-size--x-small);
    font-weight: var(--wp--custom--form--default--input--typography--font-weight);
    line-height: 1;
    letter-spacing: 0.6px;
}
.form-join .gfield_required_asterisk {
    color: white !important;
}
.gform_wrapper.form-join_wrapper form input[type=checkbox] + label::before {
    border-color: white !important;
}
.gform_wrapper form input[type=checkbox] + label.gfield_consent_label::before {
    display: block !important;
}
.form-join .gform_confirmation_message {
    color: white !important;
}


/** Page - About **/
.page-about .entry-content {
    margin-top: 0;
}
.page-about main {
    margin-bottom: 0 !important;
}


/** Footer **/
footer nav a.wp-block-navigation-item__content {
    letter-spacing: 0.56px !important;
}
