/**
 * Theme Name: YOOtheme Altea
 * Theme URI: https://altea-service.com
 * Description: Child theme di YOOtheme per papavero.altea-service.com. Sostituisce il colore primario #36afeb con #2E7D32.
 * Author: Altea
 * Template: yootheme
 * Version: 1.0.0
 */

/* Font Fraunces (variabile, self-hosted) per i titoli */
@font-face {
    font-family: 'Fraunces';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('fonts/fraunces-latin-variable.woff2') format('woff2-variations'), url('fonts/fraunces-latin-variable.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Fraunces';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('fonts/fraunces-latin-ext-variable.woff2') format('woff2-variations'), url('fonts/fraunces-latin-ext-variable.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

body {
    color: #000;
    font-size: 18px;
}

b, strong {
    font-weight: bold;
}

h1, h2, h3, h4, h5, h6,
.uk-h1, .uk-h2, .uk-h3, .uk-h4, .uk-h5, .uk-h6,
.uk-heading-2xlarge, .uk-heading-3xlarge, .uk-heading-large, .uk-heading-medium, .uk-heading-small, .uk-heading-xlarge {
    font-family: 'Fraunces', serif !important;
}

*+.uk-h1, *+.uk-h2, *+.uk-h3, *+.uk-h4, *+.uk-h5, *+.uk-h6,
*+.uk-heading-2xlarge, *+.uk-heading-3xlarge, *+.uk-heading-large, *+.uk-heading-medium, *+.uk-heading-small, *+.uk-heading-xlarge,
*+h1, *+h2, *+h3, *+h4, *+h5, *+h6 {
    margin: 0 !important;
}

[id^=anchor_] {
  scroll-margin-top: 200px;
}

::-moz-selection {
  color: #fff !important;
  background: #e13b26 !important;
}

::selection {
  color: #fff;
  background: #e13b26;
}

:focus:not(.focus-visible) {
  outline: 0;
  box-shadow: none;
}

:focus {
  outline: 0;
  box-shadow: none;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
  background-color: #fff;
  -webkit-border-radius: 0;
}

::-webkit-scrollbar-thumb:vertical, ::-webkit-scrollbar-thumb:horizontal {
  background: #e13b26;
  -webkit-border-radius: 0;
}

::-webkit-scrollbar-thumb:vertical:active, ::-webkit-scrollbar-thumb:horizontal:active {
  background: #e13b26;
  -webkit-border-radius: 0;
}
/* Override di tutte le sfumature di azzurro (icone SVG incluse) con verde, interpolato tra #008026 (scuro) e #EBF6EB (chiaro), ancorato a #2E7D32 per il colore primario */
body .uk-link, body a {
    color: #2e7d32;
    text-decoration: none;
    cursor: pointer
}

body .uk-link-toggle:hover .uk-link, body .uk-link:hover, body a:hover {
    color: #008026;
    text-decoration: underline
}

body ::selection {
    background: #e13b26;
    color: #fff;
    text-shadow: none
}

body .uk-link-heading a:hover, body .uk-link-toggle:hover .uk-link-heading, body a.uk-link-heading:hover {
    color: #2e7d32;
    text-decoration: none
}

body .uk-heading-bullet::before {
    content: "";
    display: inline-block;
    position: relative;
    top: calc(-.1 * 1em);
    vertical-align: middle;
    height: calc(4px + .8em);
    margin-right: calc(5px + .2em);
    border-left: calc(1px + .14em) solid #9dc49f
}

body .uk-divider-icon {
    position: relative;
    height: 20px;
    background-image: url("/wp-content/uploads/divider-icon.svg");
    background-repeat: no-repeat;
    background-position: 50% 50%
}

body .uk-divider-small::after {
    content: "";
    display: inline-block;
    width: 160px;
    max-width: 100%;
    border-top: 10px solid #9dc49f;
    vertical-align: top;
    background-image: url("/wp-content/uploads/divider-small.svg");
    border-color: transparent
}

body .uk-list-primary > ::marker {
    color: #dfeedf !important
}

body .uk-list-secondary > ::marker {
    color: #ebf6eb !important
}

body .uk-list-bullet > ::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    height: 1.6em;
    background-image: url("/wp-content/uploads/list-bullet.svg");
    background-repeat: no-repeat;
    background-position: 50% 50%
}

body .uk-icon-button {
    box-sizing: border-box;
    width: 50px;
    height: 50px;
    border-radius: 500px;
    background: 0 0;
    color: #333;
    vertical-align: middle;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: .1s ease-in-out;
    transition-property: color, background-color, background-size, border-color, box-shadow;
    border-image-slice: 18% !important;
    border-image-width: 10px !important;
    border-image-repeat: stretch !important;
    border: 10px solid #9dc49f;
    border-image-source: url("/wp-content/uploads/icon-button.svg")
}

body .uk-icon-button:hover {
    background-color: transparent;
    color: #2e7d32;
    border-color: #82b384;
    border-image-source: url("/wp-content/uploads/icon-button-hover.svg")
}

body .uk-active > .uk-icon-button, body .uk-icon-button:active {
    background-color: transparent;
    color: #666;
    border-color: #65a068;
    border-image-source: url("/wp-content/uploads/icon-button-active.svg")
}

body .uk-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    margin-top: -9px;
    height: 18px;
    width: 18px;
    border-radius: 500px;
    background: #9dc49f;
    background-color: transparent !important;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-image: url("/wp-content/uploads/range-thumb.svg")
}

body .uk-range::-moz-range-thumb {
    border: none;
    height: 18px;
    width: 18px;
    margin-top: -9px;
    border-radius: 500px;
    background: #9dc49f;
    background-color: transparent !important;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-image: url("/wp-content/uploads/range-thumb.svg")
}

body .uk-checkbox:checked, body .uk-checkbox:indeterminate, body .uk-radio:checked {
    background-color: #2e7d32
}

body .uk-checkbox:checked:focus, body .uk-checkbox:indeterminate:focus, body .uk-radio:checked:focus {
    background-color: #2e7d32
}

body .uk-button-default {
 /*   background-color: #e13b26;*/
    color: #fff;
    border: 10px solid #e13b26;
    border-image-source: url("/wp-content/uploads/border-frame.svg")
}

body .uk-button-default:hover {
    background-color: rgba(0, 0, 0, 0);
    color: #fff;
    border-color: #82b384;
    border-image-source: url("/wp-content/uploads/border-frame-hover.svg")
}

body .uk-button-default.uk-active, body .uk-button-default:active {
    background-color: rgba(0, 0, 0, 0);
    color: #333;
    border-color: #65a068;
    border-image-source: url("/wp-content/uploads/button-default-active.svg")
}

body .uk-button-primary {
    background-color: transparent;
    color: #333;
    border: 10px solid #e13b26;
    border-image-source: url("/wp-content/uploads/button-primary.svg")
}

body .uk-button-primary:hover {
    background-color: rgba(0, 0, 0, 0);
    color: #333;
    border-color: #82b384;
    border-image-source: url("/wp-content/uploads/button-primary-hover.svg")
}

body .uk-button-primary.uk-active, body .uk-button-primary:active {
    background-color: rgba(0, 0, 0, 0);
    color: #333;
    border-color: #65a068;
    border-image-source: url("/wp-content/uploads/button-primary-active.svg")
}

body .uk-button-text {
    padding: 0;
    line-height: 1.6;
    background: 0 0;
    color: #2e7d32;
    position: relative;
    padding-right: 40px
}

body .uk-button-text::after {
    background-image: url("/wp-content/uploads/button-text.svg");
    background-repeat: no-repeat;
    background-position: calc(100% - 5px) 50%
}

body .uk-button-text:hover {
    color: #008026
}

body .uk-button-text:hover:not(:disabled)::after {
    background-image: url("/wp-content/uploads/button-text-hover.svg");
    background-position: 100% 50%
}

body .uk-progress::-webkit-progress-value {
    background-color: #9dc49f;
    transition: width .6s ease
}

body .uk-progress::-moz-progress-bar {
    background-color: #9dc49f;
    transition: width .6s ease
}

body .uk-section-primary {
    --uk-inverse: dark;
    background: #dfeedf
}

body .uk-section-secondary {
    --uk-inverse: dark;
    background: #ebf6eb
}

body .uk-section-overlap + .uk-section-primary::before, body :is(:has( > .uk-section-overlap:last-child)) + * > .uk-section-primary:first-child::before, body :is(:has( > .uk-section-overlap:last-child)) + * > :not([class*=uk-section]):first-child + .uk-section-primary::before, body :is(:has( > .uk-section-overlap:last-child)) + * > :not([class*=uk-section]):first-child + :not([class*=uk-section]) + .uk-section-primary::before {
    background-image: url("/wp-content/uploads/section-overlap-primary.svg")
}

body .uk-section-overlap + .uk-section-secondary::before, body :is(:has( > .uk-section-overlap:last-child)) + * > .uk-section-secondary:first-child::before, body :is(:has( > .uk-section-overlap:last-child)) + * > :not([class*=uk-section]):first-child + .uk-section-secondary::before, body :is(:has( > .uk-section-overlap:last-child)) + * > :not([class*=uk-section]):first-child + :not([class*=uk-section]) + .uk-section-secondary::before {
    background-image: url("/wp-content/uploads/section-overlap-secondary.svg")
}

body .uk-tile-primary {
    --uk-inverse: dark;
    background-color: #dfeedf
}

body .uk-tile-secondary {
    --uk-inverse: dark;
    background-color: #ebf6eb
}

body .uk-card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 1;
    height: 24px;
    padding: 0 12px;
    background: #b3d2b4;
    color: #333;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 0;
    font-weight: 300;
    background-color: transparent !important;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-image: url("/wp-content/uploads/card-badge.svg")
}

body .uk-card-hover:not(.uk-card-default,body .uk-card-primary,body .uk-card-secondary,body .uk-card-overlay):hover {
    background-color: #fff;
    border-image-slice: 3% fill !important;
    border-image-width: 10px !important;
    border-image-repeat: stretch !important;
    border-color: #9dc49f;
    border-image-source: url("/wp-content/uploads/card-hover.svg")
}

body .uk-card-default {
    --uk-inverse: dark;
    background-color: #fff;
    color: #666;
    border-image-slice: 3% fill !important;
    border-image-width: 10px !important;
    border-image-repeat: stretch !important;
    border: 10px solid #9dc49f;
    border-image-source: url("/wp-content/uploads/card-hover.svg")
}

body .uk-card-default.uk-card-hover:hover {
    background-color: #fff;
    border-color: #82b384;
    border-image-source: url("/wp-content/uploads/card-default-hover.svg")
}

body .uk-card-primary {
    --uk-inverse: dark;
    background-color: transparent;
    color: #666;
    border-image-slice: 3% fill !important;
    border-image-width: 10px !important;
    border-image-repeat: stretch !important;
    border: 10px solid #dfeedf;
    border-image-source: url("/wp-content/uploads/card-primary.svg")
}

body .uk-card-primary.uk-card-hover:hover {
    background-color: rgba(0, 0, 0, 0);
    border-color: #c4ddc5;
    border-image-source: url("/wp-content/uploads/card-primary-hover.svg")
}

body .uk-marker {
    padding: 5px;
    background: #2e7d32;
    color: #fff;
    transition: .1s ease-in-out;
    transition-property: color, background-color;
    border-radius: 500px
}

body .uk-alert-primary {
    background: #dfeedf;
    color: #2e7d32
}

body .uk-badge {
    box-sizing: border-box;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 500px;
    vertical-align: middle;
    background: #c4ddc5;
    color: #333 !important;
    font-size: 12px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-weight: 400;
    line-height: 0;
    letter-spacing: 0
}

body .uk-label {
    display: inline-block;
    padding: 0 10px;
    background: #b3d2b4;
    line-height: 1.6;
    font-size: 14px;
    color: #333;
    vertical-align: middle;
    white-space: nowrap;
    font-weight: 300
}

body .uk-comment-meta {
    font-size: 14px;
    line-height: 1.4;
    color: #2e7d32;
    font-weight: 300
}

body .uk-comment-primary {
    padding: 30px;
    background-color: #ebf6eb
}

body .uk-search-toggle:hover {
    color: #2e7d32
}

body .uk-accordion-default .uk-accordion-title:hover {
    color: #2e7d32;
    text-decoration: none
}

body .uk-notification-message-primary {
    color: #2e7d32;
    background-color: #dfeedf
}

body .uk-nav-default > li > a:hover {
    color: #2e7d32
}

body .uk-nav-default > li.uk-active > a {
    color: #2e7d32
}

body .uk-nav-primary > li > a:hover {
    color: #2e7d32
}

body .uk-nav-primary > li.uk-active > a {
    color: #2e7d32
}

body .uk-nav-secondary > li > a:hover {
    color: #2e7d32
}

body .uk-nav-secondary > li.uk-active > a {
    color: #2e7d32
}

body .uk-nav-secondary > li > a:hover .uk-nav-subtitle {
    color: #2e7d32
}

body .uk-nav-secondary > li.uk-active > a .uk-nav-subtitle {
    color: #2e7d32
}

body .uk-nav-secondary .uk-nav-sub a:hover {
    color: #2e7d32
}

body .uk-nav-secondary .uk-nav-sub li.uk-active > a {
    color: #2e7d32
}

body .uk-navbar-nav > li:hover > a::before, body .uk-navbar-nav > li > a[aria-expanded=true]::before {
    background-color: #dfeedf;
    background-image: url("/wp-content/uploads/menu-bg.svg")
}

body .uk-navbar-nav > li > a:active::before {
    background-color: #c4ddc5;
    background-image: url("/wp-content/uploads/menu-bg.svg")
}

body .uk-navbar-nav > li.uk-active > a::before {
    background-color: #dfeedf;
    background-image: url("/wp-content/uploads/menu-bg.svg")
}

body .uk-navbar-toggle:hover, body .uk-navbar-toggle[aria-expanded=true] {
    color: #2e7d32;
    text-decoration: none
}

body .uk-navbar-dropdown-nav > li > a:hover {
    color: #2e7d32
}

body .uk-navbar-dropdown-nav > li.uk-active > a {
    color: #2e7d32
}

body .uk-subnav > * > a:hover {
    color: #2e7d32;
    text-decoration: none
}

body .uk-subnav > .uk-active > a {
    color: #2e7d32
}

body .uk-subnav-pill > .uk-active > a {
    background-color: transparent;
    color: #333;
    border-color: #dfeedf;
    border-image-source: url("/wp-content/uploads/subnav-pill-active.svg")
}

body .uk-pagination > * > :hover {
    color: #333;
    text-decoration: none;
    background-color: #dfeedf;
    background-image: url("/wp-content/uploads/pagination-active.svg");
    transition-property: none
}

body .uk-pagination > .uk-active > * {
    color: #333;
    background-color: #dfeedf;
    background-image: url("/wp-content/uploads/pagination-active.svg");
    transition-property: none
}

body .uk-tab > .uk-active > a {
    color: #333;
    border-color: #9dc49f;
    border-image-source: url("/wp-content/uploads/tab-active-horizontal.svg");
    border-image-slice: 13
}

body .uk-tab-left > .uk-active > a, body .uk-tab-right > .uk-active > a {
    border-image-source: url("/wp-content/uploads/tab-active-vertical.svg");
    border-image-slice: 13
}

body .uk-dotnav > * > :hover {
    background-color: transparent;
    border-color: #2e7d32
}

body .uk-dotnav > .uk-active > * {
    background-color: transparent;
    border-color: #2e7d32
}

body .uk-dropdown-nav > li.uk-active > a, body .uk-dropdown-nav > li > a:hover {
    color: #2e7d32;
    background-color: transparent
}

body .uk-text-primary {
    color: #2e7d32 !important
}

body .uk-background-primary {
    background-color: #dfeedf
}

body .uk-background-secondary {
    background-color: #ebf6eb
}

body .uk-light .uk-navbar-nav > li:hover > a::before, body .uk-light .uk-navbar-nav > li > a[aria-expanded=true]::before {
    background-color: #2e7d32
}

body .uk-light .uk-navbar-nav > li:hover > a::before, body .uk-light .uk-navbar-nav > li > a[aria-expanded=true]::before {
    background-image: url("/wp-content/uploads/menu-bg.svg")
}

body .uk-light .uk-navbar-nav > li > a:active::before {
    background-color: #008026
}

body .uk-light .uk-navbar-nav > li > a:active::before {
    background-image: url("/wp-content/uploads/menu-bg.svg")
}

body .uk-light .uk-navbar-nav > li.uk-active > a::before {
    background-color: #2e7d32
}

body .uk-light .uk-navbar-nav > li.uk-active > a::before {
    background-image: url("/wp-content/uploads/menu-bg.svg")
}

body .tm-toolbar-default {
    background: #ebf6eb
}

body .tm-box-decoration-default::before {
    transform: translate(0, 0);
    background-color: #9dc49f
}

body .tm-box-decoration-default::before {
    border-image-source: url("/wp-content/uploads/card-hover.svg")
}

body .tm-box-decoration-primary::before {
    transform: translate(0, 0);
    background-color: #9dc49f
}

body .tm-box-decoration-primary::before {
    border-image-source: url("/wp-content/uploads/box-decoration-primary.svg")
}

body .tm-box-decoration-secondary::before {
    transform: translate(0, 0);
    background-color: #9dc49f
}

body .tm-box-decoration-secondary::before {
    border-image-source: url("/wp-content/uploads/box-decoration-primary.svg")
}

body .tm-transition-border::after {
    content: '';
    position: absolute;
    z-index: 1;
    pointer-events: none;
    transition: .1s ease-in-out;
    top: -1px;
    bottom: -1px;
    left: -1px;
    right: -1px;
    transition-property: border-color, border-width;
    border: 0 solid #dfeedf
}

body .uk-transition-toggle:focus .tm-transition-border::after, body .uk-transition-toggle:focus.tm-transition-border::after, body .uk-transition-toggle:hover .tm-transition-border::after, body .uk-transition-toggle:hover.tm-transition-border::after {
    border-width: 10px;
    border-color: #dfeedf
}
