/* --- Block Color
-------------------------------------------------------- */

/* Foreground color */
.wp-block-post-excerpt__more-link,
ins,
.contact-section .section-heading h2,
.contact-section .section-heading,
form.wpcf7-form input[type="submit"],
.events-content-wrapper .entry-header .entry-title a,
.contact-section .wpcf7-form input[type="submit"]:hover,
.contact-section .wpcf7-form input[type="submit"]:focus,
.contact-section .wpcf7-form input::placeholder,
.contact-section .wpcf7-form textarea::placeholder,
.events-section #ect-section.ect-section.style-two .entry-summary,
.events-section #ect-section.ect-section.style-four .entry-summary,
.events-section #ect-section.ect-section.style-three .entry-meta .date-week-day,
.events-section #ect-section.ect-section.style-three .entry-meta .date-month,
.wp-block-query-pagination-previous,
.wp-block-query-pagination-next,
.wc-block-components-pagination__page:hover,
.wc-block-components-pagination__page:focus,
.woocommerce ul.products li.product .onsale,
.wc-block-components-product-sale-badge span,
.woocommerce #respond input#submit,
.wc-block-components-button:not(.is-link).outlined,
.wc-block-components-button:not(.is-link).outlined span,
.wc-block-components-pagination__page--active[disabled]:focus,
.wc-block-components-pagination__page--active[disabled]:hover,
.wp-block-post-excerpt__more-link,
.wc-block-pagination-page--active.wc-block-components-pagination__page--active,
.woocommerce .button,
.woocommerce a.button,
.woocommerce-message a,
.woocommerce button.button,
.woocommerce button.button:disabled,
.woocommerce button.button:disabled[disabled],
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li a:focus,
.tnp.tnp-subscription .tnp-field input[type="submit"],
.wc-block-product-search .wc-block-product-search__button,
.wp-block-navigation__responsive-container-open,
.woocommerce nav.woocommerce-pagination ul li span.current,
.wp-block-navigation__responsive-container-close,
.testimonial-section .content:before,
.testimonial-section .author-desc .author-name,
.slider .swiper-pagination span,
.fse-slider-wrapper .swiper-button,
.wp-block-query-pagination-previous:hover,
.wp-block-query-pagination-previous:focus,
.testimonial-three-columns .wp-block-Rhythmic-pro-testimonial .wp-group-content:before,
.testimonial-three-columns .wp-block-Rhythmic-testimonial .wp-group-content:before,
.wp-block-search .wp-block-search__inside-wrapper .wp-block-search__button,
.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__button,
.wp-block-query-pagination-next:hover,
.wp-block-query-pagination-next:focus,
.playlist .simple-audio-player .simp-album .simp-title,
.is-style-outline>.wp-block-button__link:not(.has-text-color):hover,
.is-style-outline>.wp-block-button__link:not(.has-text-color):focus,
.wp-block-button__link,
.contact-section input[type="submit"],
.contact-section input[type="button"],
.contact-section input[type="reset"],
.contact-section input[type="date"],
.contact-section input[type="time"],
.contact-section input[type="datetime-local"],
.contact-section input[type="week"],
.contact-section input[type="month"],
.contact-section input[type="text"],
.contact-section input[type="email"],
.contact-section input[type="url"],
.contact-section input[type="password"],
.contact-section input[type="search"],
.contact-section input[type="tel"],
.contact-section input[type="number"],
.contact-section textarea,
.fse-slider-wrapper .swiper-button:hover:after,
.fse-slider-wrapper .swiper-button:focus:after,
.wp-block-button.is-style-fill .wp-block-button__link,
.playlist .simple-audio-player .simp-album .simp-artist {
  color: var(--wp--preset--color--foreground);
}

.testimonial-section .swiper-slide .testimonial-content .wp-block-image img {
  border-color: var(--wp--preset--color--foreground);
}

.nav-row .social-container .wp-block-social-links:not(.is-style-logos-only) .wp-block-social-link .wp-block-social-link-anchor svg {

  &:hover,
  &:focus {
    fill: var(--wp--preset--color--foreground);
  }
}

.sticky-playlist .simp-playlist,
#ect-section.ect-event .events-content-wrapper .entry-meta,
.events-section #ect-section.ect-section.style-four .events-content-wrapper .entry-meta,
.contact-section .wpcf7-form input[type="submit"],
.events-section #ect-section.ect-section.style-two .entry-meta .posted-on,
.fse-slider-wrapper .swiper-button {
  background-color: var(--wp--preset--color--foreground);
}

.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor svg,
.wp-block-quote cite,
.header svg,
.social-controller svg,
.nav-row .wp-block-social-links.is-style-logos-only .wp-block-social-link .wp-block-social-link-anchor svg,
.playlist .simple-audio-player svg,
button.wp-block-search__button svg:hover,
button.wp-block-search__button svg:focus,
.footer .wp-block-navigation__responsive-container-close svg,
.footer .wp-block-navigation__responsive-container-open svg,
.search-controller svg {
  fill: var(--wp--preset--color--background);
}

.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container,
.entry-meta a,
.playlist .simp-time span,
.wp-block-button.is-style-fill .wp-block-button__link:hover,
.wp-block-button.is-style-fill .wp-block-button__link:focus,
.wp-block-post-excerpt__more-link:hover,
.wp-block-post-excerpt__more-link:focus,
.woocommerce button.button.alt:hover,
.woocommerce button.button.alt:focus,
.woocommerce .wc-proceed-to-checkout a.checkout-button.alt:hover,
.woocommerce .wc-proceed-to-checkout a.checkout-button.alt:focus,
.woocommerce button.button.alt.disabled:hover,
.woocommerce button.button.alt.disabled:focus,
.woocommerce .button:hover,
.woocommerce .button:focus,
.woocommerce button.button:hover,
.woocommerce button.button:focus,
.wp-block-button:not(.is-style-Rhythmic-button):not(.is-style-outline) .wp-block-button__link:hover,
.wp-block-button:not(.is-style-Rhythmic-button):not(.is-style-outline) .wp-block-button__link:focus,
.wp-block-latest-posts a,
.woocommerce a.button:hover,
.woocommerce a.button:focus,
.woocommerce .restore-item:hover,
.woocommerce .restore-item:focus,
form.wpcf7-form input[type="submit"]:hover,
form.wpcf7-form input[type="submit"]:focus,
.fse-slider-wrapper .swiper-button:hover,
.fse-slider-wrapper .swiper-button:focus,
.wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content,
.wp-block-navigation__responsive-container .wp-block-navigation-link .wp-block-navigation-item__content {
  color: var(--wp--preset--color--background);
}

ins {
  background-color: var(--wp--preset--color--background);
}

/* Background color */
.woocommerce nav.woocommerce-pagination ul li span.current,
input[type="button"],
input[type="reset"],
input[type="submit"],
.wp-block-post-excerpt__more-link,
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li a:focus,
.swiper-pagination-bullet:after,
.wp-block-button__link,
.wp-block-button.is-style-fill .wp-block-button__link,
.woocommerce .button,
.testimonial-section .content:before,
.wp-block-query-pagination-previous,
.wp-block-query-pagination-next,
.tnp.tnp-subscription .tnp-field input[type="submit"],
.wp-block-query-pagination-numbers .page-numbers:not(.dots):hover,
.wp-block-query-pagination-numbers .page-numbers:not(.dots):focus,
.wp-block-query-pagination-numbers .page-numbers:not(.dots).current,
.wp-block-fse-pro-popup-video .content:hover #myBtn:after,
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce button.button.alt.disabled,
.woocommerce #respond input#submit,
.woocommerce .woocommerce-message a,
.wc-block-components-button:not(.is-link).outlined,
.woocommerce .button,
.woocommerce a.button,
.woocommerce button.button,
.wc-block-components-pagination__page--active[disabled]:focus,
.wc-block-components-pagination__page--active[disabled]:hover,
.woocommerce ul.products li.product .onsale,
.wc-block-components-product-sale-badge span,
.wc-block-product-search .wc-block-product-search__button,
.wc-block-components-pagination__page:hover,
.wc-block-components-pagination__page:focus,
.sticky-playlist .simp-player,
.wc-block-pagination-page--active.wc-block-components-pagination__page--active,
.wp-block-search .wp-block-search__inside-wrapper .wp-block-search__button,
.is-style-outline>.wp-block-button__link:not(.has-text-color):hover,
.is-style-outline>.wp-block-button__link:not(.has-text-color):focus,
.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__button {
  background-color: var(--wp--preset--color--background);
}

/* Tertiary Color */

input[type="button"],
input[type="reset"],
input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="week"],
input[type="month"],
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="number"],
textarea,
.woocommerce ul.products li.product .price,
.wp-block-categories-list li,
.wp-block-archives-list li,
.content>.video-play:hover span,
del.wc-block-components-product-price__regular,
.wp-block-post-comments.is-style-Rhythmic-post-comments input:not([type="submit"]):not([type="checkbox"]),
.testimonial-section .author-desc .author-designate,
.comment-form label,
.wpcf7 label,
.wp-block-post-comments.is-style-Rhythmic-pro-post-comments .comment-metadata a,
.wp-block-post-comments.is-style-Rhythmic-post-comments .comment-metadata a,
a:focus .post-navigation-link__label,
.swiper-slide h6,
.wp-block-site-generator p,
.wp-block-site-generator p a,
.upper-footer time,
.sticky-playlist .simple-audio-player .simp-player .simp-album .simp-title,
.wp-block-post-navigation-link .post-navigation-link__label,
.wp-block-widget-area .wp-block-latest-posts__post-date,
.header-dark .wp-block-navigation .wp-block-navigation-item__content:hover,
.header-dark .wp-block-navigation .wp-block-navigation-item__content:focus {
  color: var(--wp--preset--color--tertiary);
}

[class*="horizontal-outside-slider-"] .swiper-pagination span.swiper-pagination-bullet-active,
.wc-block-mini-cart__button span.wc-block-mini-cart__badge,
.wp-block-navigation__submenu-container .wp-block-navigation-item.current-menu-item .wp-block-navigation-item__content:before,
.wp-block-navigation__submenu-container .wp-block-navigation-item .wp-block-navigation-item__content:before,
.simple-audio-player .simp-playlist ul li.simp-active span:first-child:before {
  background-color: var(--wp--preset--color--hover-color);
}

a:hover svg.icon,
a:focus svg.icon,
.nav-row .wp-block-social-links.is-style-logos-only .wp-block-social-link .wp-block-social-link-anchor svg:hover,
.nav-row .wp-block-social-links.is-style-logos-only .wp-block-social-link .wp-block-social-link-anchor svg:focus,
.simple-audio-player .simp-controls .simp-others .simp-active svg,
.wp-block-navigation__responsive-container-open:hover svg,
.wp-block-navigation ul>li.current-menu-item>.wp-block-navigation-item__content+button svg,
.wp-block-navigation ul>li>.wp-block-navigation-item__content:hover+button svg,
.wp-block-navigation ul>li>.wp-block-navigation-item__content:focus+button svg,
.sticky-playlist .simple-audio-player .simp-controls button:hover svg,
.sticky-playlist .simple-audio-player .simp-controls button:focus svg {
  fill: var(--wp--preset--color--hover-color);
}

.wp-block-navigation ul>li>.wp-block-navigation-item__content:hover+button svg,
.wp-block-navigation ul>li>.wp-block-navigation-item__content:focus+button svg,
.wp-block-navigation ul>li.current-menu-item>.wp-block-navigation-item__content+button svg {
  stroke: var(--wp--preset--color--hover-color);
}

.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor svg,
.header svg,
.playlist .simple-audio-player svg,
svg {

  &:hover,
  &:focus {
    fill: var(--wp--preset--color--hover-color);
  }
}

.wp-block-post-navigation-link a,
a.comment-reply-link,
.wp-block-post-title a,
.wp-block-site-title a,
.post-navigation-link__label,
.header-dark .wp-block-button.is-style-Rhythmic-pro-button .wp-block-button__link,
.header-light .wp-block-button.is-style-Rhythmic-pro-button .wp-block-button__link,
.wp-block-site-generator p a,
.header-dark .wp-block-button.is-style-Rhythmic-button .wp-block-button__link,
.header-light .wp-block-button.is-style-Rhythmic-button .wp-block-button__link,
.header-light .wp-block-navigation .wp-block-navigation-item__content,
ins,
.wp-block-widget-area .wp-block-latest-posts__list>li>a,
.upper-footer .wp-block-latest-posts__list li a,
.single .taxonomy-category.wp-block-post-terms>a,
.entry-breadcrumbs span.breadcrumb a,
.wc-block-mini-cart__button,
.footer-title+p a,
.events-section #ect-section.ect-section.style-four .content-wrapper h2 a,
.events-section #ect-section.ect-section.style-two .content-wrapper h2 a,
.simple-audio-player .simp-playlist ul li,
.wc-block-components-product-title a,
.wp-block-query-pagination-previous,
.style-one .events-content-wrapper .entry-header .entry-title a,
.style-two:not(.has-background-image) .events-content-wrapper .entry-header .entry-title a,
.wp-block-query-pagination-next,
.single .taxonomy-post_tag.wp-block-post-terms>a {

  &:hover,
  &:focus {
    color: var(--wp--preset--color--hover-color);
  }
}

.woocommerce ul.products li.product a:hover h2,
.wp-block-navigation__container>.wp-block-navigation-item.current-menu-item>a,
a:hover .post-navigation-link__label,
.wp-block-navigation__submenu-container .wp-block-navigation-item.current-menu-item .wp-block-navigation-item__content,
.simple-audio-player .simp-controls .simp-others .simp-active svg,
.simple-audio-player .simp-playlist ul li.simp-active span,
.woocommerce-info::before,
.woocommerce-message::before,
.woocommerce ul.products li.product a:focus h2 {
  color: var(--wp--preset--color--hover-color);
}

.is-style-outline>.wp-block-button__link:not(.has-text-color),
.wp-block-button:not(.is-style-Rhythmic-button) .wp-block-button__link:hover,
.wp-block-button:not(.is-style-Rhythmic-button) .wp-block-button__link:focus {
  border-color: var(--wp--preset--color--hover-color);
}

/* Body Color */
.upper-footer .wp-block-latest-posts__list li a,
.wp-site-blocks figure figcaption,
figure figcaption,
.testimonial-section .author-section p,
.wp-block-query-pagination-numbers .page-numbers,
.wp-block-code>code,
.wp-block-post-author__content .wp-block-post-author__name,
.wp-block-quote.is-style-large p,
.wp-block-quote p,
.wp-block-quote.is-large p,
.wp-block-pullquote p,
.wp-block-navigation .wp-block-navigation__submenu-icon {
  color: var(--wp--preset--color--body-text);
}

.wp-block-post-navigation-link .post-navigation-link__label svg {
  fill: var(--wp--preset--color--background);
}

/* Link hover color */
a,
.wp-block-post-comments.is-style-Rhythmic-pro-post-comments .comment-metadata a,
.wp-block-post-comments.is-style-Rhythmic-post-comments .comment-metadata a,
.wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close,
.wp-block-post-comments .comment-metadata a,
.tnp.tnp-subscription-minimal input.tnp-submit,
form .wpcf7-submit,
.woocommerce .woocommerce-breadcrumb a,
.price ins,
.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor {

  &:hover,
  &:focus {
    color: var(--wp--preset--color--hover-color);
  }
}

.wp-block-button.is-style-fill .wp-block-button__link,
.woocommerce .button,
.wp-block-post-excerpt__more-link,
form .wpcf7-submit,
form.wpcf7-form input[type="submit"],
form.wpcf7-form input:not([type="submit"]),
form.wpcf7-form textarea,
.wp-block-query-pagination-previous,
.wp-block-query-pagination-next,
.woocommerce button.button,
.woocommerce .single_add_to_cart_button.button.alt,
.woocommerce-message a,
.woocommerce button.button:disabled,
.woocommerce button.button:disabled[disabled],
.woocommerce .wc-proceed-to-checkout a.checkout-button.alt,
.wp-block-button.is-style-fill .wp-block-button__link,
.woocommerce ul.products li.product .button {

  &:hover,
  &:focus {
    border-color: var(--wp--preset--color--hover-color);
  }
}

/* Border Color */
.upper-footer,
.comment-respond .comment-form input[type=date],
.comment-respond .comment-form input[type=time],
.comment-respond .comment-form input[type=datetime-local],
.comment-respond .comment-form input[type=week],
.comment-respond .comment-form input[type=month],
.comment-respond .comment-form input[type=text],
.comment-respond .comment-form input[type=email],
.comment-respond .comment-form input[type=url],
.comment-respond .comment-form input[type=password],
.comment-respond .comment-form input[type=search],
.comment-respond .comment-form input[type=tel],
.comment-respond .comment-form input[type=number],
.simple-audio-player .simp-playlist ul li:not(:last-child),
.wc-block-grid__product-onsale,
.woocommerce-info,
.wc-block-product-search .wc-block-product-search__field input,
.wc-block-product-search .wc-block-product-search__field,
.woocommerce-billing-fields__field-wrapper input,
.woocommerce-billing-fields__field-wrapper select,
textarea,
select,
.select2-container--default .select2-selection--single,
.woocommerce .quantity .qty,
.woocommerce table.variations select,
.woocommerce-message,
.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li,
.woocommerce span.onsale,
form.woocommerce-ordering select,
.wp-block-table td,
.wp-block-table th,
.wp-block-table thead,
.wp-block-section.contact-section .wp-block-button.is-style-outline .wp-block-button__link,
.tnp.tnp-subscription .tnp-field input[type="submit"],
.tnp.tnp-subscription-minimal form,
.wp-block-search .wp-block-search__inside-wrapper .wp-block-search__input,
.wp-block-pullquote.alignleft.has-text-align-center,
.wp-block-pullquote.alignright.has-text-align-center,
figure.wp-block-pullquote.has-text-align-left,
figure.wp-block-pullquote.has-text-align-right,
.wp-block-fse-pro-popup-video #myBtn,
.wp-block-pullquote,
.wp-block-table .has-fixed-layout *,
.wp-block-Rhythmic-pro-testimonial .wp-block-separator,
input[type="button"],
input[type="reset"],
input[type="submit"],
.wp-block-Rhythmic-testimonial .wp-block-separator,
.wp-block-sidebar .wp-block-latest-posts__list>li:not(:last-child),
.wp-block-search .wp-block-search__inside-wrapper,
.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper,
.is-style-Rhythmic-pro-post-author-card,
.wp-block-post-comments.is-style-Rhythmic-pro-post-comments .comment-respond,
.wpcf7 form,
.wp-block-post-comments.is-style-Rhythmic-post-comments .comment-respond,
.is-style-Rhythmic-post-author-card,
form.wpcf7-form textarea,
.woocommerce-message a,
.wpcf7 input:not([type="submit"]):not([type="checkbox"]),
.wp-block-fse-pro-header-social .social-container,
.wp-block-sidebar>* h2 {
  border-color: var(--wp--preset--color--border-color);
}

ul li::marker {
  color: var(--wp--preset--color--border-color);
}

.tnp.tnp-subscription-minimal input.tnp-submit {
  background-color: var(--wp--preset--color--border-color);
}

.header-light {
  .wp-block-button__link:after {
    outline-color: var(--wp--preset--color--border-color);
  }
}

/* Button Background hover color */

.wp-block-search__button,
.wc-block-components-button:not(.is-link).outlined,
.wp-block-search .wp-block-search__inside-wrapper .wp-block-search__button,
.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__button,
.tnp.tnp-subscription .tnp-field input[type="submit"],
input[type="button"],
input[type="reset"],
input[type="submit"],
.wc-block-product-search .wc-block-product-search__button,
.contact-section .wp-block-button.is-style-fill .wp-block-button__link,
.tnp.tnp-subscription-minimal input.tnp-submit,
.wp-block-button__link.is-style-outline:not(.has-background) {

  &:hover,
  &:focus {
    border-color: transparent;
    color: var(--wp--preset--color--background);
    background-color: var(--wp--preset--color--secondary-bg-color);
  }
}

.upper-footer .wp-block-latest-posts__list time,
.price ins,
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce div.product .stock,
.testimonial-section .author-section .author-job {
  color: var(--wp--preset--color--secondary-text-color);
}

.wc-block-components-button:not(.is-link).outlined:hover,
.wc-block-components-button:not(.is-link).outlined:focus {
  span {
    color: var(--wp--preset--color--background);
  }
}

.wp-block-navigation__container>.wp-block-navigation-item:before,
.wp-block-navigation__container>.wp-block-navigation-item a:before,
.wp-block-page-list>.wp-block-navigation-item:before,
.wp-block-page-list>.wp-block-navigation-item a::before {
  background-color: var(--wp--preset--color--background);
}

/* Secondary Background color */

.wp-block-section:nth-child(even),
.woocommerce span.onsale,
.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container,
.comment-respond,
.wc-block-grid__product-onsale,
.wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open,
pre,
.is-style-Rhythmic-pro-post-author-card,
.is-style-Rhythmic-post-author-card,
.wp-block-tag-cloud>a,
.single .taxonomy-category.wp-block-post-terms>a,
.single .taxonomy-post_tag.wp-block-post-terms>a,
.wp-block-post-container,
.wp-block-fse-pro-header-social .wp-block-social-links {
  background-color: var(--wp--preset--color--secondary-bg-color);
}

.simp-desc {
  color: var(--wp--preset--color--tertiary);
}

.header-light .wp-block-navigation .wp-block-navigation-item__content {
  color: var(--wp--preset--color--color-dark);
}

/* Title color */

.is-style-Rhythmic-button .wp-block-button__link,
.upper-footer .footer-title,
.tnp.tnp-subscription-minimal input.tnp-submit,
.wp-block-post-title a,
.woocommerce span.onsale,
.contact-section .wp-block-button.is-style-fill .wp-block-button__link,
.is-style-outline .wp-block-button__link,
.tnp.tnp-subscription .tnp-field input[type="submit"],
.tnp.tnp-subscription-minimal form,
.wp-block-post-comments .comment-meta .fn,
.comment-author .says,
.wp-block-pullquote cite,
a.comment-reply-link,
.woocommerce div.product span.price,
.wp-block-quote footer,
.wp-block-post-navigation-link a,
.wc-block-components-product-title a,
.wp-block-widget-area .wp-block-latest-posts__list>li>a,
.wp-block-site-title a,
.wp-block-post-title,
.form-submit input[type="submit"]:hover,
.form-submit input[type="submit"]:focus,
.contact-section .wpcf7-form input[type="submit"],
.simple-audio-player .simp-playlist ul li,
.events-section #ect-section.ect-section.style-three .entry-summary,
.events-section #ect-section.ect-section.style-three .content-wrapper h2 a,
.style-one .events-content-wrapper .entry-header .entry-title a,
.style-two:not(.has-background-image) .events-content-wrapper .entry-header .entry-title a,
.fse-slider-wrapper .swiper-button:after,
.swiper-slide-active h6 {
  color: var(--wp--preset--color--title-color);
}
