/*
	Theme Name: Enfold Child
	Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating will be much easier then.
	Version: 1.0
	Author: Kriesi
	Author URI: http://www.kriesi.at
	Template: enfold
*/

/* v 4.1 */

/* HOME */

#rainbow {
    z-index: 100;
    position: relative;
    top: 60px;
}
#rainbow > .avia-image-container-inner {
    width: 100%;
}
@media only screen and (max-width: 767px) {
    p, ol, ul {
        font-size: 17px;
        line-height: 1.6em;
        margin-top: 0px;
        margin-bottom: 12px;
    }
    h2, .vortice .flex_column h2 {
        font-size: 27px !important;
    }
    .responsive #top #wrap_all .container {
        width: 90%;
        max-width: 90%;
    }
    #rainbow {
        position: unset;
        margin: -25px 0 25px 0;
    }
}
#pulContattaci {
    display: block;
    position: fixed;
    z-index: 900;
    right: 0px;
    top: 50vh;
    animation-name: pulComparsa;
    animation-duration: 2s;
    transition: 0.3s ease-in-out;
    transform: translateX(125px);
}
@keyframes pulComparsa {
    0% {
        transform: translateX(200px);
    }
    50% {
        transform: translateX(200px);
    }
    100% {
        transform: translateX(125px);
    }
}
#pulContattaci:hover {
    transform: translateX(0px);
    opacity: 0.7;
}
#pulContattaci .avia_button_icon {
    margin-right: 10px;
    font-size: 150%;
}
#pulContattaci > a {
    border: 3px solid #ffffff33 !important;
    border-right-width: 0px !important;
    border-radius: 10px 0px 0px 10px !important;
    font-size: 20px;
    padding: 15px 25px;
}
#pulContattaci > a:hover {
    opacity: unset;
    border-color: #ffffff !important;
}
.home .container_wrap {
    border-top-width: 0px;
}
.sfondo {
    background-size: cover !important;
}
.titolo {
    z-index: 100;
    text-shadow: 3px 3px 8px #000000;
}
.txtIntro, .avia-icongrid-front {
    background: rgb(248 248 248 / 90%);
    padding: 15px 30px;
}
@media only screen and (max-width: 767px) {
    .txtIntro, .avia-icongrid-front {
        padding: 15px;
    }
}
.txtIntro, .avia-icongrid-flipback {
    font-size: 22px;
}
.avia-icongrid-text {
    line-height: 1.3em;
}
#top #wrap_all .all_colors h2 {
    color: #5291ce;
    font-size: 36px;
}
.av-special-heading {
    display: inline-block;
}
.av-special-heading-h2 .special-heading-border {
    height: 1.6em;
}
.footer_color h1,
.footer_color h2,
.footer_color h3,
.footer_color h4 {
    color: #ffffff !important;
}
.footer_color .av_toggle_section > div {
    border: 1px solid #ffffff;
}
.toggle_content p,
.toggle_content li {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 16px;
    line-height: 1.4em;
}

/* HOME - griglia */

.avia-icongrid-inner {
    padding: 3em 2em !important;
}
@media only screen and (max-width: 1100px) {
    .avia-icongrid-icon {
        font-size: 37px !important;
        margin-bottom: 0.3em !important;
    }
    .icongrid_title {
        font-size: 18px !important;
    }
    .avia-icongrid-flipbox .av-icon-cell-item article {
        min-height: 130px !important;
    }
}

/* HOME - vortice */

.vortice .flex_column {
    background-size: cover !important;
    margin: 0px;
    width: 50%;
    border: 3px solid #ffffff;
}
.vortice .flex_column,
.vortice .flex_column > section {
    display: flex;
}
.vortice .flex_column > section {
    align-items: center;
    width: 100%;
    justify-content: center;
}
.vortice .flex_column h2 {
    font-size: 28px !important;
    color: #ffffff !important;
    margin: 0 !important;
    letter-spacing: normal;
    background: #234894c2;
    padding: 6px 6px;
    border-radius: 4px;
    text-shadow: 1px 2px 4px #152e47d4;
}
@media only screen and (max-width: 767px) {
    .vortice .flex_column h2 {
        font-size: 22px !important;
    }
}
.vortice .flex_column:hover > section {
    background-color: rgba(255, 255, 255, 0.3);
}
.vortice .flex_column:hover h2 {
    background: #5291cec2;
    text-shadow: unset;
}
@media only screen and (max-width: 767px) {
    .vortice > .container {
        /*border:5px solid red !important;*/
        height: unset !important;
    }
    .vortice > .container .flex_column {
        height: 20vh !important;
        min-height: unset !important;
    }
}
@media only screen and (min-width: 767px) and (max-width: 1229px) {
    .vortice .flex_column h2 {
        font-size: 20px !important;
    }
}
#soluzioni + div {
    z-index: 50;
    border-width: 0px;
    text-align: center;
}
#soluzioni + div div.content {
    padding: 0px;
}
#soluzioni + div .centroVortice {
    position: absolute;
    width: 300px;
    height: 300px;
    top: -150px;
    margin-left: -150px !important;
    border-radius: 50%;
    background: #5291ce;
    border: 15px solid #ffffff !important;
    align-content: center;
    text-align: center;
    display: inline-block;
}
#soluzioni + div .centroVortice h1 {
    color: #ffffff !important;
    font-size: 23px;
    float: unset !important;
    text-transform: none;
    font-weight: normal;
}
#soluzioni + div .centroVortice > .special-heading-border {
    display: none;
}
@media only screen and (max-width: 767px) {
    #soluzioni + div.main_color {
        display: none;
    }
}

/* HOME - clienti */

.clienti .content {
    padding-top: 0px;
}
.clienti p {
    margin: 0px;
}
@media only screen and (max-width: 767px) {
    .clientiTitolo .template-page.content {
        padding-bottom: 20px;
    }
    .clienti .avia-logo-element-container .avia-content-slider-inner {
        margin: 0 13%;
    }
    .clienti .template-page.content {
        padding-bottom: 0px;
    }
}

/* HOME - partnership */

@media only screen and (max-width: 767px) {
    .partnership .abaco {
        height: 200px;
        overflow-y: hidden;
    }
}
#partnership a.avia_image:hover span {
    background: unset;
}
#partnership a.avia_image:hover .image-overlay-inside {
    display: none;
}
#partnership a.avia_image:hover img {
    filter: brightness(1.1);
    margin-left: 12px;
}
.avia_transform #partnership a .image-overlay {
    transition: none !important;
}

/* SEZIONE */

.imgSezione {
    background-size: cover !important;
}
@media only screen and (max-width: 767px) {
    .responsive #top #wrap_all .av-flex-cells .no_margin.imgSezione {
        height: 300px !important;
        background-position: center !important;
    }
}
.txtSezione {
    font-weight: bold;
    margin-bottom: 2em;
}
h3 > a {
    color: #5291ce !important;
    text-decoration: underline !important;
}
h3 > a:hover {
    color: #e1001a !important;
}
.pulSezione .image-overlay {
    display: none !important;
}
.pulSezione img {
    transform: translateX(30px)
}
.pulSezione:hover img {
    transform: translateX(10px);
    opacity: 0.7;
}
@media only screen and (min-width: 990px) {
    .prodSezione .bk {
        break-before: column;
    }
}
@media only screen and (max-width: 989px) {
    .prodSezione {
        column-count: 1 !important;
    }
    .posUnsetMobile {
        position: unset !important;
    }
}

/* PRODOTTI O ALTRO */

@media only screen and (min-width: 989px) {
    .break {
        break-before: column;
        margin-top: 0;
    }
}
.single h2 {
    font-size: 28px !important;
}
.single h3::before {
    content: "►";
    padding-right: 0.5rem;
    color: #e1001a7d;
}
.single .sottotitolo h2 {
    margin: -1em 0 1.3em 0;
}
.single .sottotitolo h2 {
    color: #979797 !important;
    font-size: 25px !important;
    font-weight: normal;
}
.no-padding, .no-padding * {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.avia-button.avia-size-large {
    font-size: 1.2rem;
}

/* PAGINA SOCIETA' BENEFIT */

.av_font_icon.av-icon-style-border .av-icon-char {
    border-color: #5291ce;
    border-width: 2px;
    margin-top: 15px;
    margin-bottom: 15px;
}
#top .societa_benefit .flex_column_table.av-equal-height-column-flextable:not(:first-child) {
    margin-top: unset;
}
@media only screen and (min-width: 990px) {
    .societa_benefit .flex_column_table > .flex_column {
        padding: 10px;
    }
    .av_font_icon.av-icon-style-border .av-icon-char {
        padding: 15px;
    }
    .societa_benefit .flex_column_table > .flex_column {
        padding: 25px;
    }
}
@media only screen and (max-width: 989px) {
    .societa_benefit .flex_column.av-break-at-tablet {
        margin-bottom: 0px !important;
    }
}

/* PAGINA STANDARD */

#top #wrap_all .all_colors h1 {
    margin-bottom: 15px;
}
body:not(.home) h2 {
    font-size: 26px !important;
    font-weight: normal;
}
@media only screen and (max-width: 767px) {
    .responsive #top #wrap_all .container {
        padding: 0 20px;
    }
    .avia-post-nav:hover .entry-info-wrap {
        width: 1px;
    }
}
/* MENU */

#header_main .logo svg {
    background: #ffffff;
}
.av-main-nav ul {
    width: 140px;
}
#top .av-main-nav ul a {
    line-height: 1.3em;
}
.html_av-overlay-side #top #wrap_all .av-burger-overlay li a {
    padding: 15px;
}
body.home .header_color .main_menu ul:first-child > li.current_page_item:not(.current-menu-item) > a {
    color: var(--enfold-header-color-meta);
}
@media only screen and (max-width: 1250px) {
    .main_menu ul:first-child > li a {
        line-height: 1.3em !important;
    }
}
@media only screen and (min-width: 767px) and (max-width: 1250px) {
    .main_menu > .avia-menu > ul > li {
        max-width: 100px;
    }
    .main_menu > .avia-menu > ul > li > a {
        margin-top: 10px;
        height: 78px !important;
    }
}
@media only screen and (max-width: 767px) {
    body.home #avia-menu > li.av-burger-menu-main {
        display: block !important;
        height: 50px;
        margin-top: 20px;
    }
    #top .header_color .av-hamburger-inner,
    #top .header_color .av-hamburger-inner::before,
    #top .header_color .av-hamburger-inner::after {
        background-color: var(--enfold-header_burger_color) !important;
    }
    .html_av-overlay-side #top #wrap_all .av-burger-overlay li {
        font-size: 16px;
    }
    .html_av-overlay-side #top #wrap_all .av-burger-overlay li a {
        padding: 5px 5px 5px 10px;
    }
    .html_av-overlay-side #top #wrap_all .av-burger-overlay li.av-width-submenu > a {
        color: #ffffff !important;
        background: #c3c3c3 !important;
    }
    #top #header.av_minimal_header .main_menu ul:first-child > li > ul.sub-menu {
        /*border-bottom:1px solid #c3c3c3;*/
        background: #c3c3c366;
    }
    .html_av-overlay-side #top #wrap_all .av-burger-overlay li li a {
        padding-left: 22px;
    }
    .responsive #top #header_main > .container .main_menu .av-main-nav > li > a, .responsive #top #wrap_all .av-logo-container {
        height: 60px;
    }
    .responsive #top #header_main > .container .main_menu .av-main-nav > li > a, .responsive #top #wrap_all .av-logo-container > span {
        margin-top: 20px;
    }
    .html_av-overlay-side #top #wrap_all div .av-burger-overlay-scroll #av-burger-menu-ul a:hover {
        background-color: unset;
    }
}
footer .menu a {
    color: #aac0ed;
}
footer span.copyright > a {
    display: none;
}
@media only screen and (max-width: 767px) {
    footer nav li {
        font-size: 12px;
        display: inline;
        width: 100%;
        padding: 2px 7px !important;
    }
}

/* CATALOGO LIBRI */

.catalogo_libri .av-masonry-entry-title {
    text-align: center;
}
.catalogo_libri .av-masonry-entry-title::before {
    content: unset;
}
.catalogo_libri .av-inner-masonry-content {
    background-color: unset !important;
}
.catalogo_libri .avia-arrow {
    display: none;
}
.catalogo_libri.av-hover-overlay-active .av-masonry-image-container {
    opacity: unset;
}
.catalogo_libri .av-masonry-image-container img {
    max-height: 300px;
    width:auto;
    box-shadow: 4px 0px 5px 0px #00000038;
    margin: 10px auto 15px auto;
}
.catalogo_libri .av-inner-masonry{
    position: relative;
    height: 370px;
}
.catalogo_libri .av-masonry-entry .av-inner-masonry-content {
    padding: 0 10px;
    background-color: var(--enfold-main-color-bg) !important;
}

/* SCHEDA LIBRO */

main.scheda_libro {
    padding-top: 25px;
}
.scheda_libro p {
    margin-bottom: 0px;
}
.scheda_libro h3 {
    font-size: 90%;
    margin-bottom: 30px;
}
.scheda_libro .libro_sottotitolo {
    margin-top: -15px;
    margin-bottom: 25px;
    color: #234994;
}
.scheda_libro .libro_autori {
    font-weight: bold;
    font-size: 75%;
    line-height: 2em;
    background: #e3e3e3;
    border-radius: 4px;
    padding: 0 10px;
    margin-bottom: 1em;
    color: black;
}
.scheda_libro h3:before {
    content: unset;
}

.scheda_libro .page-thumb img {
    box-shadow: 4px 0px 5px 0px #00000038;
    max-width: 250px;
    margin: 10px;
}
@media only screen and (min-width: 769px) and (max-width: 1060px) {
    .scheda_libro .page-thumb img {
        max-width: 150px;
    }
}
.scheda_libro .page-thumb > a {
    display: block;
}
.scheda_libro .page-thumb > a:hover .image-overlay {
    opacity: 0.5 !important;
}

/* MENU - prodotti */

#top .avia-post-nav {
    background: #5290ce;
}
#top .avia-post-nav:hover {
    background: #5290cee3;
}
.avia-post-nav .label {
    font-size: 35px;
}
.avia-post-nav .entry-image img {
    border: 2px solid #ffffffce;
}
.vediEbook .avia-buttonav-link-btn:hover {
    background-color: #ededed;
}
@media only screen and (max-width: 767px) {
    .responsive #top .avia-post-nav {
        display: unset;
    }
}

/* COOKIE */

.avia_cookie_text {
    padding-bottom: 10px;
}
.avia-cookie-consent .avia-cookie-consent-button.avia-cookie-hide-notification, .avia-popup .avia-cookie-consent-button.avia-cookie-hide-notification {
    color: #333333 !important;
}
.avia-cookie-privacy strong {
    color: unset !important;
}
.av-inline-modal {
    line-height: 1.3em;
    font-size: 90%;
}
.avia-cookie-consent {
    background-color: #234994ed !important;
}
@media only screen and (max-width: 767px) {
    .avia-cookie-consent .avia-cookie-consent-button {
        display: block !important;
        margin: 10px !important;
    }
}
.blocco_pul_cookie {
    gap: 0;
}
.blocco_pul_cookie .avia-button {
    width: 100%;
}

/* FORM */
#top .alternate_color .input-text, #top .alternate_color input[type='text'], #top .alternate_color input[type='input'], #top .alternate_color input[type='password'], #top .alternate_color input[type='email'], #top .alternate_color input[type='number'], #top .alternate_color input[type='url'], #top .alternate_color input[type='tel'], #top .alternate_color input[type='search'], #top .alternate_color textarea, #top .alternate_color select {
    color: #000000;
}