/*
Theme Name: micamacho
Description: A <a href='http://codex.wordpress.org/Child_Themes'>gosmartpress</a> for the micamacho Theme.
Version: 1.0
Author: gosmartpress
Author URI: http://www.gosmartpress.com
Template: micamacho
*/

/*Amelia*/
.am-ecs__header-text {
    display: none!important;
}
.amelia-v2-booking #amelia-container .am-ecs__side {
    background-color: #f2eddb!important;
}
.amelia-v2-booking #amelia-container .am-ecs .am-evt-time, .amelia-v2-booking #amelia-container .am-ecs .am-evt-text, .amelia-v2-booking #amelia-container .am-ecs .am-evt-spots-left {
    font-size: 14px!important;
}
.amelia-v2-booking #amelia-container.am-cap__wrapper {
    margin: 0 auto!important;
}
.amelia-v2-booking #amelia-container .am-select .el-select__input {
    margin-bottom: 0 !important;
}
.amelia-v2-booking #amelia-container .am-eli__organizer-img {
    background-color: rgb(255 255 255) !important;
}
.am-els__filters-menu{
    align-items: end !important;
}
.am-els__filters-search,.am-els__filters-menu__btn{
    box-shadow: none !important;
}
.amelia-v2-booking #amelia-container .am-button {
    border-radius: 3em !important;
}
/*Animazione*/
.bubble-anim-container {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out;
    padding: 0 9em;
}
.bubble-anim-container.js-loaded {
    opacity: 1;
    visibility: visible;
}
.bubble-anim-text {
    margin: 0 auto;
    width: 100%;
    color: #181817;
}

@media (max-width: 768px) {
.bubble-anim-text {
    font-size: 1.9em;
    line-height: 1.2;
}
}

@media (min-width: 1024px) {
.bubble-anim-text {
    padding: 0 !important;
    font-size: 3em; 
    line-height: 1.2;
}
}

.bubble-anim-word {
    display: inline-block;
    transform: translate(0, 0);
    margin: 0 0.1em;
    color: #181817;
}

.bubble-anim-word-inner {
    display: inline-block;
    color: #181817;
}

.bubble-anim-link {
    text-decoration: none;
    color: #181817;
    position: relative;
    display: inline-block;
    white-space: nowrap; /* Evita che le bolle vadano a capo */
}

.bubble-anim-link {
  cursor: pointer;
}

.bubble-anim-text-wrapper {
    position: relative;
    display: inline-block;
}

.bubble-anim-underline {
    position: relative;
}

.bubble-anim-underline::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.1em;
  height: 0.08em;
  background-color: currentColor;
  transform-origin: left;
  transform: scaleX(var(--underline, 0));
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
  z-index: 2;
}

.bubble-anim-highlight-wrap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.05em;
    height: 0.5em;
    z-index: 0;
    border-radius: 0.2em;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s cubic-bezier(.77,0,.18,1);
    pointer-events: none;
}
.bubble-anim-highlight-oblique,
.bubble-anim-highlight-oblique-2,
.bubble-anim-highlight-oblique-3,
.bubble-anim-highlight-oblique-4,
.bubble-anim-highlight-oblique-5 {
  position: absolute;
  left: -0.15em;
  right: -0.15em;
  top: 50%;
  height: 1em;
  background: #ec337d;
  z-index: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
  transform-origin: left;
}
.bubble-anim-highlight-oblique { transform:rotate(0deg) skew(-2deg) translateY(-40%); }
.bubble-anim-highlight-oblique-2 { transform: rotate(1deg) skew(2deg) translateY(-50%); }
.bubble-anim-highlight-oblique-3 { transform: rotate(1deg) skew(-2deg) translateY(-41%); }
.bubble-anim-highlight-oblique-4 { transform: rotate(2deg) skew(6deg) translateY(-54%); }
.bubble-anim-highlight-oblique-5 { transform: rotate(-2deg) skew(-6deg) translateY(-30%); }

.bubble-img-rect {
  position: absolute;
  top: -2.2em;
  width: 2em;
  height: 2em;
  opacity: 0;
  transform: scale(0.7) rotate(var(--tilt, 0deg));
  transition: opacity 0.18s cubic-bezier(.77,0,.18,1), transform 0.18s cubic-bezier(.77,0,.18,1);
  z-index: 100;
  pointer-events: none;
  left: auto;
  right: auto;
}
.bubble-img-left { left: -2em; right: auto; }
.bubble-img-right { right: -2em; left: auto; }
.bubble-img-tilt-1 { --tilt: -8deg; }
.bubble-img-tilt-2 { --tilt: 7deg; }
.bubble-img-tilt-3 { --tilt: 12deg; }
.bubble-img-tilt-4 { --tilt: -5deg; }
.bubble-img-tilt-5 { --tilt: 4deg; }
.bubble-img-top-left {
  left: 1em;
  top: -2.5em;
}
.bubble-img-top-right {
  right: -2em;
  top: -2.5em;
}
.bubble-img-bottom-left {
  left: -2em;
  top: 1.5em;
}
.bubble-img-bottom-right {
  right: -2em;
  top: 1.5em;
}
@media (min-width: 1024px) {
  .bubble-anim-link:hover .bubble-img-rect,
  .bubble-anim-link.js-hover .bubble-img-rect {
    opacity: 1;
    transform: scale(1) rotate(var(--tilt, 0deg));
    transition: opacity 0.15s cubic-bezier(.77,0,.18,1), transform 0.15s cubic-bezier(.77,0,.18,1);
  }
}
@media (max-width: 1024px) {
.bubble-anim-container {
    padding: 0;
}
}
.bubble-anim-link .bubble-anim-underline {
    position: relative;
    z-index: 1;
}

.bubble-anim-link .bubble-anim-word {
    position: relative;
    z-index: 2;
}

.bubble-anim-bubbles {
    pointer-events: none;
}
.bubble-anim-bubble {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.bubble-anim-bubble-back {
    z-index: -1;
    transform: scale(0.99);
}

.bubble-anim-bubble-inner {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 0;
    transition: all 0.1s ease;
}

.bubble-anim-bubble img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: all 0.1s ease;
}

noscript .bubble-anim-container {
    opacity: 1;
    visibility: visible;
}

.gsap-marker-scroller-start,
.gsap-marker-scroller-end,
.gsap-marker-start,
.gsap-marker-end {
    display: none;
} 

.bubble-anim-link {
  position: relative;
  z-index: auto !important;
}
.bubble-anim-bubbles {
  position: absolute !important;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 9999 !important;
  pointer-events: none;
}
.bubble-img-rect {
  z-index: 9999 !important;
} 

@media (max-width: 767px) {
.bubble-img-rect {
    display: none !important;
}
.bubble-img-mobile-visible-social,
.bubble-img-mobile-visible-libro {
    display: block !important;
    opacity: 1 !important;
    transform: scale(1) !important;
    transition: none !important;
}
.bubble-anim-underline::after {
    transition: transform 0.12s cubic-bezier(.77,0,.18,1);
}
.bubble-img-mobile-visible-libro {
    left: 3em !important;
    top: 10px !important;
    transform: rotate(22deg) !important;
}
.bubble-img-mobile-visible-social {
    right: 4em !important;
    top: -25px !important;
    transform: rotate(346deg) !important;
}
} 

/*header*/
.logo img, .logo svg {
    padding: 0.7em 0 0.7em 0;
}
.avia-tooltip {
  display: none !important;
}
#top .av-menu-button > a .avia-menu-text {
    border: 0;
    border-radius: 3em;
    padding: 1em;
    margin-left: 10em !important;
}
@media (max-width: 1024px) {
#top .av-menu-button > a .avia-menu-text {
    margin-left: 0 !important;
}
}
a#scroll-top-link {
    display: none;
}

/*header black testata trasparente e vetrosa*/
.av_header_glassy .st1 {
    fill: #1b1b1b;
}
.av_header_glassy span.avia-menu-text {
    color: #1b1b1b !important;
}
#top .av_header_glassy.av_header_transparency .header_bg {
    background-color: #fff;
    opacity: 0;
}
.av_header_glassy .av-menu-button-colored > a .avia-menu-text {
    background: #1b1b1b !important;
    color: #f2eddb !important;
}

/*font*/
.inline-icon-title .av_font_icon {
  display: inline-block !important;
  margin: 0 !important;
  padding: 0 !important;
  vertical-align: middle !important;
  line-height: 1 !important;
}
.inline-icon-title span {
  display: inline-block;
  vertical-align: middle;
  font-size: inherit;
  margin: 0 0.2em;
}
.av-special-heading.elegant-centered .av-special-heading-tag {
  display: flex;
  justify-content: space-between;
  align-items:flex-start;
  text-align: left;
  width: 95%;
}
body .av-special-heading.elegant-centered .av-special-heading-tag .heading-wrap:after, body .av-special-heading.elegant-centered .av-special-heading-tag .heading-wrap:before{
    display: none;
}
.av-special-heading.elegant-centered .av-special-heading-tag .heading-char {
  order: 2; 
  font-size: 1.2em !important;
}
.av-special-heading.elegant-centered .av-special-heading-tag .heading-wrap {
  order: 1;
  flex-grow: 1;
}
.template-page .entry-content-wrapper h1, .template-page .entry-content-wrapper h2 {
    letter-spacing: 0;
}
strong, b {
    font-weight: 600 !important;
}
.special_amp {
    font-family: inherit;
    font-style: inherit;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    color: inherit !important;
}
h3{
	text-transform: none !important;
}
blockquote {
    font-size: 1em;
}
h1,h2 {
    font-size: 2.6em;
    line-height: 1;
    font-weight: 700 !important;
    letter-spacing: -1px !important;
    text-transform: uppercase;
}
h3 {
    font-size: 2em;
    line-height: 1;
    font-weight: 500 !important;
}
.title-special-home h2 {
    font-size: 7em;
    line-height: 1em;
    font-weight: 700 !important;
    text-transform: none !important;
    letter-spacing: -3px !important;
}
.title-special h2 {
    font-size: 4em;
    line-height: 1em;
    font-weight: 700 !important;
    text-transform: none !important;
    letter-spacing: -3px !important;
}
.title-custom h2 {
    font-size: 3em;
    line-height: 1em;
    font-weight: 700 !important;
    text-transform: none !important;
}
h5 {
    text-transform: uppercase;
    font-size: 1em;
    font-weight: 600 !important;
    line-height: 1.2;
}
p a, p a:visited {
    font-weight: 500;
    text-decoration: underline !important;
}
a {
    text-decoration: underline;
}
.av-subheading.av-subheading_above {
letter-spacing: 0;
    font-size: 1.3em !important;
}
/*btn underline blue, white, black*/
.avia-button.avia-color-blue, .avia-button.avia-color-blue:hover {
    background-color: transparent;
    border-color: transparent;
    color: #1818E7;
}
.avia-button.avia-color-blue::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 6px;
    background-image: url("/wp-content/uploads/2025/10/Vector-53.svg");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    -webkit-mask-image: linear-gradient(to right, black 50%, transparent 50%);
    mask-image: linear-gradient(to right, black 50%, transparent 50%);
    -webkit-mask-size: 200% 100%;
    mask-size: 200% 100%;
    -webkit-mask-position: 0% 0%;
    mask-position: 0% 0%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    animation: none;
}
.avia-button.avia-color-white, .avia-button.avia-color-white:hover {
    background-color: transparent !important;
    border-color: transparent;
    color: #F2EDDB;
}
.avia-button.avia-color-white::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 6px;
    background-image: url("/wp-content/uploads/2025/10/Vector-white.svg");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    -webkit-mask-image: linear-gradient(to right, black 50%, transparent 50%);
    mask-image: linear-gradient(to right, black 50%, transparent 50%);
    -webkit-mask-size: 200% 100%;
    mask-size: 200% 100%;
    -webkit-mask-position: 0% 0%;
    mask-position: 0% 0%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    animation: none;
}
.avia-button.avia-color-black, .avia-button.avia-color-black:hover {
    background-color: transparent !important;
    border-color: transparent;
    color: #1b1b1b;
}
.avia-button.avia-color-black::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 6px;
    background-image: url("/wp-content/uploads/2025/10/Vector-black.svg");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    -webkit-mask-image: linear-gradient(to right, black 50%, transparent 50%);
    mask-image: linear-gradient(to right, black 50%, transparent 50%);
    -webkit-mask-size: 200% 100%;
    mask-size: 200% 100%;
    -webkit-mask-position: 0% 0%;
    mask-position: 0% 0%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    animation: none;
}
.avia-button.avia-color-blue:hover::after,.avia-button.avia-color-white:hover::after, .avia-button.avia-color-black:hover::after   {
    animation: line-mask-once 0.7s ease-in-out 1 forwards;
}
.avia-button .avia_button_icon.avia_button_icon_right {
    left: 0.4em;
    font-size: 1.4em;
}
.avia-button.avia-size-medium {
    padding: 0 0 0.3em 0;
    font-size: 1em;
    transition: all 350ms ease-in-out;
    text-transform: none;
    letter-spacing: 0;
    border-radius: 0;
    font-family: lacquer;   
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    width: fit-content; /* auto o fit-content per adattarsi alla larghezza del contenuto */
    position: relative;
}
@keyframes line-mask-once {
    0% {
        -webkit-mask-position: 0% 0%;
        mask-position: 0% 0%;
    }
    49.999% {
        -webkit-mask-position: 100% 0%;
        mask-position: 100% 0%;
    }
    50% {
        -webkit-mask-position: -100% 0%;
        mask-position: -100% 0%;
    }
    100% {
        -webkit-mask-position: 0% 0%;
        mask-position: 0% 0%;
    }
}
.avia-button.avia-size-small {
    border: 0;
    border-radius: 3em;
    width: 44px;
    padding: 1em;
}
.avia-button.avia-size-large {
    padding: 0.7em;
    font-size: 1em;
    min-width: 10em;
    transition: all 350ms ease-in-out;
    text-transform: none;
    letter-spacing: 0;
    border-radius: 3em;
}

#top .socket_color .avia-color-theme-color, #top .socket_color .avia-color-theme-color:hover {
    color: #efeae0;
    border-color: #1b1b1b;
    background: #1b1b1b;
    border: 1px solid;
}
#top .socket_color .avia-color-theme-color:hover {
    opacity: 0.8;
}
/*banner*/
.banner-image-home {
    position: absolute !important;
    bottom: 0;
    right: 0;
    max-height: 100%;
    align-self: flex-end;
    margin-top: auto !important;
    z-index: -1 !important;
}
.title-banner-home {
width: 68% !important;
    position: absolute !important;
    bottom: 3em;
    align-self: flex-end;
    margin-top: auto !important;
}
/*feed post */	
#feed-post {
    padding: 24px 0 80px 0 !important;
}
#feed-post .av-horizontal-gallery-wrap.noHover.av-active-gal-item {
    transform: scale(1.1);
}
#feed-post .av-horizontal-gallery-img {
    border-radius: 0.8em;
}
#feed-post .av-horizontal-gallery-wrap.noHover {
    margin-right: 2em !important;
    opacity: 0.5;
}
.av-horizontal-gallery-wrap.noHover.av-active-gal-item {
    opacity: 1 !important;
}
#feed-post .avia-slideshow-arrows {
    position: absolute;
    display: flex;
    bottom: 0 !important;
}
#feed-post .avia-slideshow-arrows a {
  position: static !important;
  margin-right: 10px;
}
#feed-post .avia-slideshow {
  display: flex;
  flex-direction: column;
}
#feed-post .avia-slideshow-arrows {
    margin-left: 11%;
}
#feed-post .avia-slideshow-arrows a svg {
  display: none !important;
}
#feed-post .avia-slideshow-arrows a:before {
    font-family: 'heroicons' !important;
    content: "\e917";
    font-size: 24px;
    display: inline-block;
    position: relative;
}
#top .av-control-minimal .avia-slideshow-arrows a:before {
    border: 0;
}
#feed-post .avia-slideshow-arrows a.prev-slide:before {
  transform: rotate(180deg);
  display: inline-block;
}
#feed-post a.next-slide.av-horizontal-gallery-next.avia-svg-icon.avia-font-svg_entypo-fontello, 
#feed-post a.prev-slide.av-horizontal-gallery-prev.avia-svg-icon.avia-font-svg_entypo-fontello {
    border: 0;
    background: #1B1B1B;
    opacity: 1 !important;
    border-radius: 100%;
}
#feed-post .avia-slideshow-arrows a:before {
    color: #f2eddb!important;
}
/* Chi siamo */
#story-post .new-special-heading {
    display: none !important;
}
#story-post h3 {
    font-size: 22px;
    margin-top: 0;
}
#story-post p {
    font-size: 18px;
    line-height: 1.4;
    margin-top: 0;
}
#story-post h3.slide-entry-title.entry-title {
    display: none;
}
#story-post .avia-content-slider-inner .slide-entry-wrap {
    margin: 0 0 1em 0;
}
#story-post .slide-entry-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch; 
}
#story-post .slide-entry {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: auto; 
    padding: 0 0 1em 0;
}
#story-post .slide-entry {
  margin-left: 1% !important;
  width: 31.3333% !important;
}
#story-post .slide-entry {
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 0.5em;
    overflow: hidden;
    height: auto; 
}
#story-post .slide-entry:hover {
    border: 1px solid #1b1b1b;
}
#story-post img.story-post-img {
    border-top-left-radius: 0.5em;
    border-top-right-radius: 0.5em;
}
#story-post .slide-entry-excerpt {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}
#story-post h3, #story-post p.story-post-par {
    padding: 0 1em;
}
#story-post p a, #story-post p a:hover {
    padding: 0 1em 0.3em 1em;
    font-size: 1em;
    transition: all 350ms ease-in-out;
    text-transform: none;
    letter-spacing: 0;
    border-radius: 0;
    font-family: lacquer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    width: fit-content;
    position: relative;
    text-decoration: none !important;
}
#story-post p a:after {
    content: '';
    position: absolute;
    left: 1em;
    bottom: -6px;
    width: 100%;
    height: 6px;
    background-image: url("/wp-content/uploads/2025/10/Vector-53.svg");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    -webkit-mask-image: linear-gradient(to right, black 50%, transparent 50%);
    mask-image: linear-gradient(to right, black 50%, transparent 50%);
    -webkit-mask-size: 150% 100%;
    mask-size: 150% 100%;
    -webkit-mask-position: 0% 0%;
    mask-position: 0% 0%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    animation: none;
}
#story-post p a:hover::after {
    animation: line-mask-once 0.7s ease-in-out 1 forwards;
}

#story-post .avia-slideshow-arrows {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    position: relative;
    justify-content: flex-start;
}
#story-post .avia-slideshow-arrows a svg {
    display: none !important;
}
#story-post .avia-slideshow-arrows a:before {
    font-family: 'heroicons' !important;
    content: "\e917"; /* icona freccia */
    font-size: 24px;
    display: inline-block;
    position: relative;
    color: #f2eddb !important;
    line-height: 60px;
    text-align: center;
    width: 60px;
    height: 60px;
    background: #1B1B1B;
    border-radius: 100%;
    opacity: 1 !important;
}
#story-post .avia-slideshow-arrows a.prev-slide:before {
    transform: rotate(180deg);
}
#top .av-control-minimal #story-post .avia-slideshow-arrows a:before {
    border: 0;
}
#story-post a.next-slide.avia-svg-icon.avia-font-svg_entypo-fontello,
#story-post a.prev-slide.avia-svg-icon.avia-font-svg_entypo-fontello {
    border: 0;
    background: #1b1b1b;
    opacity: 1 !important;
    border-radius: 100%;
    width: 60px;
    height: 60px;
    line-height: 60px;
    display: inline-block;
}
#top #story-post.av-slideshow-ui .avia-slideshow-arrows > a {
    width: 60px !important;
    height: 60px !important;
}
#top #story-post.avia-smallarrow-slider .avia-slideshow-arrows {
    width: 142px;
    height: 20px!important;
}
#top #story-post.avia-smallarrow-slider.av-control-minimal .avia-slideshow-arrows a:before {
    line-height: 60px;
}
/*loghi aziende*/
.loghi-aziende .avia-content-slider-inner {
    display: flex !important;
    justify-content: center !important; /* centra i loghi orizzontalmente */
    flex-wrap: nowrap !important;      /* forza tutti i loghi sulla stessa riga */
    gap: 10px;                          /* spazio tra i loghi */
}

.loghi-aziende .slide-entry {
    float: none !important;             /* rimuove eventuali float */
    display: inline-flex !important;    /* mantiene i loghi sulla stessa riga */
}

/*formazione*/
.avia-icon-list-container {
    margin: 0;
}
/*contact */
.box-contact {
    padding: 1.3em;
}
/*form */
#top .avia_ajax_form .text_input, #top .avia_ajax_form .select, #top .avia_ajax_form .text_area {
    padding: 10px 0;
    border-radius: 0;
}
#top div .av-light-form .input-text, #top div .av-light-form input[type="text"], #top div .av-light-form input[type="input"], #top div .av-light-form input[type="password"], #top div .av-light-form input[type="email"], #top div .av-light-form input[type="number"], #top div .av-light-form input[type="url"], #top div .av-light-form input[type="tel"], #top div .av-light-form input[type="search"], #top div .av-light-form textarea, #top div .av-light-form select, div div .av-light-form .button{
    border-color: #fff;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    background: transparent;
    color: #fff;
    border-width: 1px !important;
    font-size: 0.8em; 
}
#top div .av-dark-form .input-text, #top div .av-dark-form input[type="text"], #top div .av-dark-form input[type="input"], #top div .av-dark-form input[type="password"], #top div .av-dark-form input[type="email"], #top div .av-dark-form input[type="number"], #top div .av-dark-form input[type="url"], #top div .av-dark-form input[type="tel"], #top div .av-dark-form input[type="search"], #top div .av-dark-form textarea, #top div .av-dark-form select, div div .av-dark-form .button {
    border-color: #1b1b1b;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    background: transparent;
    color: #1b1b1b;
    border-width: 1px !important;
    font-size: 0.8em;
}
#top input[type="text"]:focus, #top input[type="password"]:focus, #top input[type="email"]:focus, #top input[type="number"]:focus, #top input[type="url"]:focus, #top input[type="tel"]:focus, #top input[type="search"]:focus, #top textarea:focus {
    box-shadow: none;
	border-radius: 0 !important;
	border-bottom: 1px solid #000;
}
#top label, #top legend {
    font-weight: normal;
    font-size: 0.8em;
}
#top .av-custom-form-color .button {
    background-color: #1b1b1b;
    font-size: 0.8em !important;
    opacity: 1;
    text-transform: none !important;
    font-weight: 500;
    -webkit-transition: all 0.25s ease;
    -moz-transition: all 0.25s ease;
    -o-transition: all 0.25s ease;
    transition: all 0.25s ease;
    border-radius: 3em;
    color: #efead8;
    border: 0;
}
#top textarea {
    height: 7em;
}
/*autocoscienza */	
.box-member .iconbox_icon.heading-color.avia-svg-icon.avia-font-svg_wp-media-library svg {
    border-radius: 100%;
    font-size: 58px;
}
.box-member h3.iconbox_content_title {
    font-size: 1em !important;
    line-height: 1.3;
}
.box-icon-one .iconbox_icon, .box-icon-two .iconbox_icon, .box-icon-three .iconbox_icon, .box-icon-four .iconbox_icon,
.box-icon-one-w .iconbox_icon, .box-icon-two-w .iconbox_icon, .box-icon-three-w .iconbox_icon, .box-icon-four-w .iconbox_icon{
    font-size: 2.3em !important;
    width: 1.6em;
    top: 0;
}
.box-icon-one .iconbox_content, .box-icon-two .iconbox_content, .box-icon-three .iconbox_content, .box-icon-four .iconbox_content {
    background: #1b1b1b !important;
    padding: 2em 1em;
}
.box-icon-one-w .iconbox_content, .box-icon-two-w .iconbox_content, .box-icon-three-w .iconbox_content, .box-icon-four-w .iconbox_content {
    background: #f2eddb !important;
    padding: 2em 1em;  
}
.box-icon-one h3.iconbox_content_title, 
.box-icon-two h3.iconbox_content_title, 
.box-icon-three h3.iconbox_content_title, 
.box-icon-four h3.iconbox_content_title, 
.box-icon-one-w h3.iconbox_content_title, 
.box-icon-two-w h3.iconbox_content_title, 
.box-icon-three-w h3.iconbox_content_title, 
.box-icon-four-w h3.iconbox_content_title{
    margin: 0 !important;
    font-size: 1.4em !important;
}
.box-icon-one h3.iconbox_content_title, .box-icon-one .iconbox_icon,
.box-icon-two h3.iconbox_content_title, .box-icon-two .iconbox_icon ,
.box-icon-three h3.iconbox_content_title, .box-icon-three .iconbox_icon ,
.box-icon-four h3.iconbox_content_title, .box-icon-four .iconbox_icon {
    color: #f2eddb!important;
}
.box-icon-one-w h3.iconbox_content_title, .box-icon-one-w .iconbox_icon,
.box-icon-two-w h3.iconbox_content_title, .box-icon-two-w .iconbox_icon ,
.box-icon-three-w h3.iconbox_content_title, .box-icon-three-w .iconbox_icon ,
.box-icon-four-w h3.iconbox_content_title, .box-icon-four-w .iconbox_icon {
    color: #1b1b1b!important;
}
.box-icon-one .iconbox_content_container,
.box-icon-two .iconbox_content_container,
.box-icon-three .iconbox_content_container,
.box-icon-four .iconbox_content_container,
.box-icon-one-w .iconbox_content_container,
.box-icon-two-w .iconbox_content_container,
.box-icon-three-w .iconbox_content_container,
.box-icon-four-w .iconbox_content_container{
    display: none!important;
}
.box-icon-one,
  .box-icon-two,
  .box-icon-three,
  .box-icon-four,
.box-icon-one-w,
  .box-icon-two-w,
  .box-icon-three-w,
  .box-icon-four-w{
    width: 20%!important;
}
.box-icon-one,.box-icon-one-w, .box-icon-two ,.box-icon-two-w ,  .box-icon-three,.box-icon-three-w ,.box-icon-four ,.box-icon-four-w  {
    transform: none !important;        
    transition: none !important;         
}
.box-icon-one > *,
.box-icon-one-w > * {
    transform: rotate(2deg) !important;  
    transition: none !important;
}

.box-icon-two  > *,.box-icon-two-w > * {
    transform: rotate(-3deg);
    transition: none !important; 
}

.box-icon-three  > *,.box-icon-three-w > * {
    transform: rotate(-2deg);
    transition: none !important;
}
.box-icon-four > *,.box-icon-four-w > * {
    transform: rotate(3deg);
    transition: none !important;
}
/*5x1000*/
.banner-image-5x1000 {
    position: absolute !important;
    bottom: 0;
    right: 0;
    max-height: 100%;
    align-self: flex-end;
    margin-top: auto !important;
    z-index: -1 !important;
}
.title-banner-5x1000 {
width: 68% !important;
    position: absolute !important;
    bottom: 3em;
    align-self: flex-end;
    margin-top: auto !important;
}
.av-share-box .av-share-link-description {
    text-align: center;
    font-size: 1.3em !important;
}
.dona-box-card h3{
    font-size: 1.4em!important;
}
.dona-box-card {
    padding: 1em;
   background-color: transparent;
    border: 1px solid #ccc!important;
    border-radius: 1em;
}
.dona-box-card:hover {
   background-color: transparent;
    border: 1px solid #1b1b1b!important;
}
.dona-ora img {
    width: 10em;
}
#video-giac{
    width: 80%;
    margin: 0 auto;
    padding: 4% 0;
}
.page-id-112 #main {
    background-color: #fff !important; 
}
.av-social-sharing-box.av-social-sharing-box-color-bg .avia_social_svg_icon a svg:first-child {
    fill: #f2eddb;
}
.av-share-box ul li a {
    line-height: 1.8;
}
.av-share-box .avia-related-tooltip {
   display: none !important;
}
.av-social-sharing-box.av-social-sharing-box-color-bg .av-social-link-facebook a,
.av-social-sharing-box.av-social-sharing-box-color-bg .av-social-link-whatsapp a,
.av-social-sharing-box.av-social-sharing-box-color-bg .av-social-link-linkedin a,
.av-social-sharing-box.av-social-sharing-box-color-bg .av-social-link-telegram a,
.av-social-sharing-box.av-social-sharing-box-color-bg .av-social-link-mail a,
#top #wrap_all .av-social-link-facebook:hover a, #top #wrap_all .av-social-link-facebook a:focus,
#top #wrap_all .av-social-link-whatsapp:hover a, #top #wrap_all .av-social-link-whatsapp a:focus,
#top #wrap_all .av-social-link-linkedin:hover a, #top #wrap_all .av-social-link-linkedin a:focus,
#top #wrap_all .av-social-link-telegram:hover a, #top #wrap_all .av-social-link-telegram a:focus,
#top #wrap_all .av-social-link-mail:hover a, #top #wrap_all .av-social-link-mail a:focus{
    background-color: #1B1B1B;
}

/*accordion */	
.av-accordion-style-2 .toggler {
    font-size: 1em !important;
    padding: 1em 2em 0.8em 0.8em!important;
    margin: 0.3em 0;
    font-weight: 600;
    border-radius: 0.6em !important;
    background: #fff !important;
    box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.1);
    border: 0;
}
.av-accordion-style-2 .activeTitle.toggler:hover,
.av-accordion-style-2 .activeTitle.toggler,
.av-accordion-style-2 .toggler:hover {
    color:#f2eddb;
background:#1B1B1B !important;
}
.av-minimal-toggle .toggle_content {
    padding: 35px 0;
    margin: 0.4em;
    background: transparent !important;
}
.av-accordion-style-2 .toggler span.extra-content {
    display: block;
    clear: both;
    font-size: 13px;
    line-height: 1.5em;
    font-weight: lighter;
    opacity: .65;
    padding: 5px 0;
    text-transform: none;
}
.av-accordion-style-2 .toggler {
    border: 1px solid #ccc !important;
}
.av-accordion-style-2 .toggle_icon:before {
    position: absolute;
    font-size: 18px;
    top:50%;
    transform: translateY(-50%);
    left: 0;
    content:"\e875";
    font-family: 'entypo-fontello';     
    line-height: 0;
}

.av-accordion-style-2 .activeTitle .toggle_icon:before {
    content:"\e873";
    font-family: 'entypo-fontello';         
}
.av-accordion-style-2 .toggle_icon {
    border:none;    
    position: absolute;
    left: auto;
    right: 20px;
}
.av-accordion-style-2 .toggle_icon .vert_icon,
.av-accordion-style-2 .toggle_icon .hor_icon {
    display:none;
}
.av-accordion-style-2 .toggle_content {
    padding: 0.5em 0;
    font-size: 1em;
}
/*footer */
#footer-cst img {
    width: 6em;
}
#footer-cst {
    border-top: 3px solid #1c1c1c !important;
    margin-bottom: -20px;
}
#footer-cst .widget_nav_menu a {
    padding: 0 !important;
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0;
    font-size: 1.8em !important;
    border-bottom: 0;
    transition: border-color .55s ease-out 0s;
    display: inline;
    line-height: 2;
}

#footer-cst .widget_nav_menu li {
    background-color: transparent !important;
}
#footer-cst .widget_nav_menu .current-menu-item>a, #footer-cst .widget_nav_menu .current_page_item>a {
    font-weight: normal;
}
#footer-cst .widget_nav_menu a:hover {
    border-bottom: 0;
	background: transparent !important;
}
#footer-cst .widget {
    padding: 0!important;
}
#footer-cst p a {
    text-decoration: none!important;
	font-weight: 400;
}
#footer-cst p {
    font-size: 1em !important;
    text-decoration: none
}


@media only screen and (max-width: 989px) {
/*header trasparente vetrosa*/
.av_header_glassy .av-burger-menu-main.menu-item-avia-special .av-hamburger {
    background: #1b1b1b;
}
.av_header_glassy span.av-hamburger-inner, .av_header_glassy span.av-hamburger-inner::before, .av_header_glassy span.av-hamburger-inner::after {
    background-color: #f2eddb !important;
}
.av_header_glassy span.avia-menu-text {
    color: #f2eddb !important;
}
.av_header_glassy .av-menu-button-colored > a .avia-menu-text {
    background-color: #f2eddb !important;
    color: #1b1b1b !important;
    border-color: #f2eddb !important;
}
/*header trasparente*/
#top #wrap_all .av_header_transparency {
    background: transparent !important;
    position: absolute!important;
}
.av-burger-menu-main.menu-item-avia-special .av-hamburger {
    background: #F2EDDB;
    border-radius: 100%;
    width: 50px;
        height: 50px;
        line-height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 1em;
}
.html_mobile_menu_tablet .header_color div .av-hamburger-inner, .html_mobile_menu_tablet .header_color div .av-hamburger-inner::before, .html_mobile_menu_tablet .header_color div .av-hamburger-inner::after,
    #top #header.header_color.av_header_transparency .av-main-nav > li > a:hover .av-hamburger-inner, #top #header.header_color.av_header_transparency .av-main-nav > li > a:focus .av-hamburger-inner, #top #header.header_color.av_header_transparency .av-main-nav > li > a:hover .av-hamburger-inner::before, #top #header.header_color.av_header_transparency .av-main-nav > li > a:focus .av-hamburger-inner::before, #top #header.header_color.av_header_transparency .av-main-nav > li > a:hover .av-hamburger-inner::after, #top #header.header_color.av_header_transparency .av-main-nav > li > a:focus .av-hamburger-inner::after{
    background-color: #1b1b1b;   
}
.av-hamburger-box {
    width: 26px;
}
.av-hamburger-inner::before{
    width: 16px;
}
.av-hamburger-inner::after {
    width: 22px;
}
.av-hamburger-inner, .av-hamburger-inner::before, .av-hamburger-inner::after {
    height: 3px;
}
.av-hamburger--spin.is-active .av-hamburger-inner::before, .av-hamburger--spin.is-active .av-hamburger-inner::after {
    width: 100%;
}
#top .av-menu-button > a .avia-menu-text {
    margin-left: 0 !important;
}
#top #wrap_all #av-burger-menu-ul li {
    text-align: left;
    padding-left: 2em;
}
}
@media only screen and (min-device-width: 500px) and (max-device-width: 600px) {

}

@media only screen and (max-width: 768px){
.av-accordion-style-2 .toggler {
    padding: 1em 2.6em 0.8em 0.8em!important;
}
.title-custom h2 {
    font-size: 2em;
}
h3 {
    font-size: 1.6em;
}
/*home*/
.title-banner-home {
    width: 100% !important;
    position: relative!important;
    bottom: 3em;
    text-align: center;
}
.banner-image-home {
    bottom: -20px;
}
.title-banner-page {
    text-align: center!important;
}
.title-banner-page p {
    text-align: center !important;
}

/*partner logo*/  
#partner-logo-home-mobile .slide-entry {
    flex: 0 0 25% !important;
    max-width: 25% !important;
    box-sizing: border-box;
    padding: 0 !important;
    margin: 0 !important;
}

#partner-logo-home-mobile .slide-entry img {
    width: 100% !important;
    height: auto !important;
    display: block;
    margin: 0 auto;
}
#partner-logo-home-mobile .slide-entry-wrap {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
}

#partner-logo-home-mobile .avia-content-slider-inner {
    height: auto !important;
}

#top #wrap_all #partner-logo-home-mobile .no_margin {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
/*feed post IG*/
.hr-home-mobile {
    height: 40px !important;
}
#feed-post {
    padding: 27px 0 80px 0 !important;
}
#feed-post .av-horizontal-gallery-img {
    transform: none !important;
    top: auto !important;
    position: relative !important;
    height: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    display: block;
}

#feed-post .av-horizontal-gallery-inner {
    opacity: 1 !important;
    height: auto !important;
    white-space: normal !important;
}

#feed-post .av-horizontal-gallery-slider {
    height: auto !important;
    position: relative !important;
}
#feed-post .av-horizontal-gallery-wrap {
        max-width: 70vw;
}
#feed-post a.next-slide.av-horizontal-gallery-next.avia-svg-icon.avia-font-svg_entypo-fontello, #feed-post a.prev-slide.av-horizontal-gallery-prev.avia-svg-icon.avia-font-svg_entypo-fontello {
    width: 40px !important;
    height: 40px !important;
    line-height: 40px !important;
}
#feed-post .avia-slideshow-arrows a:before {
   font-size: 18px;
    line-height: 40px !important;
}
#feed-post .avia-slideshow-arrows {
    margin-left: 4%;
}
/*libro home*/
.libro-home {
    margin-bottom: 0 !important;
}
.libro-home .avia_image {
    transform: scale(1.2);
    margin: 26px 0;
}
/*chi siamo*/
#story-post .avia-slideshow-arrows a:before {
  line-height: 40px; 
  width: 40px;
  height: 40px;
}
#top #story-post.av-slideshow-ui .avia-slideshow-arrows > a {
    width: 40px !important;
    height: 40px !important;
}
#top #story-post.avia-smallarrow-slider.av-control-minimal .avia-slideshow-arrows a:before {
    line-height: 40px;
}
#top #story-post.avia-smallarrow-slider .avia-slideshow-arrows {
    width: 100px;
    height: 0 !important;
}
.story-post-mobile .avia-slideshow-arrows {
  position: absolute !important;
    bottom: 0 !important;  
    top: auto !important;
    left: 0;
    right: 0;
    width: 100%;
}
.story-post-mobile .slide-entry {
height: 500px;
}
/*autocoscienza*/
.box-icon-one, .box-icon-two, .box-icon-three, .box-icon-four, .box-icon-one-w, .box-icon-two-w, .box-icon-three-w, .box-icon-four-w {
    width: 100% !important;
}
.box-icon-four, .box-icon-four-w {
    transform: rotate(354deg);
    margin-top: -3em !important;
}
/*dona ora*/
.dona-ora img {
    width: 58%;
    display: block;
    margin: 0 auto;    
    height: auto;     
    max-width: 58%;  
}
#story-post .slide-entry {
    flex: auto;
}
section.slide-entry.av-ynqfa-17e1e87a6986f7895f0fe3014169f35f.flex_column.av_one_third.post-entry.slide-entry-overview.slide-loop-2.slide-parity-even{
  margin-bottom: 20px !important;  
    }
/*footer*/
#footer-cst h3, #footer-cst h2, #footer-cst p, #footer-cst h5, #footer-cst .widget_nav_menu li{
    text-align: left !important;
}
.footer-cop-mobile p {
    margin-top: -29px !important;
}
#footer-cst .content {
    padding-top: 30px;
    padding-bottom: 30px;
}
#footer-cst h3 {
    font-size: 1.5em;
}
.box-btn-full-mobile {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    margin: 0 auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.box-btn-full-mobile .avia-button.avia-size-large {
    min-width: 100%!important;
}
.box-btn-full-mobile .btn-full-mobile {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    text-align: center !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.box-btn-full-mobile .btn-full-mobile span {
    display: inline-block !important;
    width: auto !important;
}
#footer-cst .avia-buttonrow-left {
    text-align: right;
}
    
h2{
letter-spacing: 0!important;
    font-size: 1.6em;
}
.title-special h2, .title-special-home h2 {
    font-size: 2.3em;
} 
.av-catalogue-title {
font-size: 1.3em;
    padding-left: 0;
    padding-right: 0;
    line-height: 1;
    padding-bottom: 0.6em;
}
a.av-catalogue-item:after {
    bottom: -6%;
}
.av-catalogue-image, .av-catalogue-price {
display:none;
}
.av-catalogue-content {
    padding-right: 0;
    padding-left: 0;
}
.catalogue-margin-mob {
    margin-top: -40px !important;
}
}

@media only screen and (min-device-width: 1024px) and (max-device-width: 1366px) {
}