/**
 * Small fixes for every page of the site, over the styles of the theme.
 *
 * No focus ring at all: the Bootstrap of Hestia draws a black one around a
 * link on every click and tap (a:focus), and a ring for the keyboard was
 * not wanted either.
 */

a:focus,
a:focus-visible,
button:focus,
button:focus-visible,
[role="button"]:focus,
[role="button"]:focus-visible,
input[type="submit"]:focus,
input[type="button"]:focus {
    outline: none !important;
}

a,
button {
    -webkit-tap-highlight-color: transparent;
}

/*
 * Hestia gives every button a shadow in its accent colour, green on this
 * site, and a bigger one on hover. These are its own selectors with "html"
 * in front, a little weightier, so a button keeps no shadow of the theme;
 * a block that wants a shadow sets its own with !important.
 */
html body:not(.woocommerce-page) button:not([class^="fl-"]):not(.hestia-scroll-to-top):not(.navbar-toggle):not(.close),
html body:not(.woocommerce-page) .button:not([class^="fl-"]):not(hestia-scroll-to-top):not(.navbar-toggle):not(.add_to_cart_button):not(.product_type_grouped):not(.product_type_external),
html div.wpforms-container .wpforms-form button[type="submit"].wpforms-submit,
html input[type="submit"],
html input[type="button"],
html .btn.btn-primary,
html .widget_product_search button[type="submit"],
html .hestia-sidebar-open.btn.btn-rose,
html .hestia-sidebar-close.btn.btn-rose,
html .everest-forms button[type="submit"].everest-forms-submit-button,
html body:not(.woocommerce-page) .button:not([class^="fl-"]):not(.hestia-scroll-to-top):not(.navbar-toggle):not(.add_to_cart_button):hover,
html body:not(.woocommerce-page) button:not([class^="fl-"]):not(.hestia-scroll-to-top):not(.navbar-toggle):not(.close):hover,
html div.wpforms-container .wpforms-form button[type="submit"].wpforms-submit:hover,
html input[type="submit"]:hover,
html input[type="button"]:hover,
html input#searchsubmit:hover,
html .widget_product_search button[type="submit"]:hover,
html .pagination span.current,
html .btn.btn-primary:hover,
html .btn.btn-primary:focus,
html .btn.btn-primary:active,
html .btn.btn-primary.active,
html .btn.btn-primary:active:focus,
html .btn.btn-primary:active:hover,
html .hestia-sidebar-open.btn.btn-rose:hover,
html .hestia-sidebar-close.btn.btn-rose:hover,
html .pagination span.current:hover,
html .everest-forms button[type="submit"].everest-forms-submit-button:hover,
html .everest-forms button[type="submit"].everest-forms-submit-button:focus,
html .everest-forms button[type="submit"].everest-forms-submit-button:active {
    -webkit-box-shadow: none;
    box-shadow: none;
}

/*
 * The cookie banner of CookieYes comes from its cloud with green colours.
 * Until they are changed in the CookieYes dashboard, the site blue wins here.
 */
.cky-btn-revisit-wrapper {
    background-color: #0161F6 !important;
}

.cky-consent-container .cky-btn-accept,
.cky-modal .cky-btn-accept {
    border-color: #0161F6 !important;
    background-color: #0161F6 !important;
}

.cky-modal .cky-switch input[type="checkbox"]:checked,
.cky-modal .cky-always-active,
.cky-preference-center .cky-switch input[type="checkbox"]:checked {
    background-color: #0161F6 !important;
}
