/*
Theme Name:     Consumatori
Theme URI:      
Description:    Generatepress child theme.
Author:         Keyformat
Author URI:     
Template:       generatepress
Version:        0.1.0
*/

/*.single-blog .entry-content a img{
.single-blog .entry-content img:first-child:not(.wp-block-kadence-advancedgallery img){

    display: none;
} */


:root {
    --woocommerce-container-height: 0;
}
.prossimi-appuntamenti .slick-dots{display: none;}
.single-blog .entry-content>p:first-child a img,
.single-blog .entry-content>img:first-child,
.single-blog .entry-content>a:first-child {
    display: none
}

.loading-res {
    background-image: url("/wp-content/uploads/2022/09/ajax-loader.gif");
    background-repeat: no-repeat;
    background-position: center;
    height: 340.2px;
}

.search-mini .uic-search__res-container .MuiGrid-root:nth-child(3) {
    display: none !important;
}

/* PORTARE IN PROD DA SOLO */

.listing-reclamo .whatsapp-banner .widget-title-container>div:first-child,
.single-reclamo .whatsapp-banner .widget-title-container>div:first-child {
    justify-content: space-between;
    padding-bottom: 0 !important;
    margin-bottom: 0;
    border-bottom: 0;
}

.listing-reclamo .whatsapp-banner .cont-left,
.single-reclamo .whatsapp-banner .cont-left {
    display: flex;
}

/* Mod Nuovi Sportelli */

li.color-light-green a {
    color: #00c993 !important;
}

/* Mod tool reclami */
.uic-tool-reclami__root .MuiGrid-root:last-child .MuiGrid-root.jss2 {
    padding-top: 0;
    margin-top: 0;
}

.uic-tool-reclami__root .jss4 .MuiGrid-root,
.uic-tool-reclami__root .jss1 .MuiFlexContainer {
    margin-bottom: 0 !important;
}

.uic-tool-reclami__root .jss4 .MuiGrid-root:first-child,
.uic-tool-reclami__root .jss4 .MuiGrid-root:nth-child(3) {
    padding-bottom: 0 !important;
}

@media screen and (max-width: 768px) {
    .uic-tool-reclami__root .jss1 {
        text-align: center;
    }
}

/* Mod New Icons */

.icon-e-commerce {
    background-image: url(/wp-content/uploads/icons/icon-e-commerce.svg);
}

.icon-carburante-sporco {
    background-image: url(/wp-content/uploads/2023/07/icon-carburante-sporco.png);
}

.icon-truffa-del-catalogo {
    background-image: url(/wp-content/uploads/2023/07/icon-truffa-catalogo.png);
}

/* Mod Full Pie icon */
span.full_pie_icon {
    position: absolute;
    z-index: 5;
    top: 10% !important;
    left: 10% !important;
    width: 80% !important;
    height: 80% !important;
    font-size: 3em;
    line-height: 150px;
    text-align: center;
    color: #e0e0e0;
    background: #fff;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    -o-border-radius: 100%;
    border-radius: 100%;
}

.grafico-torta .full_pie_icon {
    font-weight: 700;
    font-size: 4.8rem;
    color: #E64B3C;
}

.full_pie::before {
    background: #0000 !important;
}

.single .column-blog .tags-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
}

.single .column-blog .icon-tags,
.single .column-blog .tags-links .tag {
    font-size: 1.2rem;
    display: block;
    padding: 0.2rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 32px;
}

.single .column-blog .icon-tags {
    margin: 0;
    border-color: #00c993;
}

.news-tax-23 .sicurezza_alimentare_cat-video .post-image::after,
.news-tax-others .sicurezza_alimentare_cat-video .post-image::after,
.news-tax-23 .blog_cat-video .post-image::after,
.news-tax-others .blog_cat-video .post-image::after {
    transform: scale(0.7);
}

.header-statistiche-gate>div:first-child {
    display: flex;
    gap: 20px;
}

.header-statistiche-gate .unc-termometro {
    width: 10%;
    flex: none;
}

.header-statistiche-gate .unc-termometro.mobile {
    display: none;
}

@media screen and (max-width: 1024px) {
    .header-statistiche-gate>.gb-inside-container .unc-titolo {
        min-height: 380px;
    }

    .header-statistiche-gate>div:first-child {
        display: block;
    }

    .termometro-header-mobile-row>div:first-child {
        display: flex;
        gap: 20px;
    }

    .header-statistiche-gate .unc-termometro {
        display: none;
    }

    .header-statistiche-gate .unc-termometro.mobile {
        display: block;
        margin-top: 0 !important;
        flex: none;
        width: 10%;
    }
}

@media screen and (min-width: 1024px) {
    .news-tax-three .blog_cat-video .post-image::after {
        transform: scale(0.7);
    }
}

@media screen and (max-width: 768px) {
    .header-statistiche-gate .unc-termometro.mobile {
        width: 20%;
    }
}


/*If VIDEO*/
/*.archive .post-image.has-video,
.archive.term-video .post-image, */
.single-blog.video-blog .featured-image {
    position: relative;
}

/*.archive .post-image.has-video::after,
.archive.term-video .post-image::after,*/
.single-blog.video-blog .featured-image::after {
    content: url("data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJwbGF5IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIgaGVpZ2h0PSI3NHB4IiB3aWR0aD0iNzRweCIgdmlld0JveD0iMCAwIDEwMCAxMDAiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDEwMCAxMDAiIHhtbDpzcGFjZT0icHJlc2VydmUiIHN0eWxlPSIKICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTsKICAgIHotaW5kZXg6IDI7CiAgICAvKiB0b3A6IDA7ICovCiAgICAvKiBsZWZ0OiAzMCU7ICovCiI+CiAgICAgICAgICAgICAgICAgICAgICAgIDxwYXRoIGNsYXNzPSJzdHJva2Utc29saWQiIGZpbGw9IiMwMDAwMDA5OSIgc3Ryb2tlPSJub25lIiBkPSJNNDkuOSwyLjVDMjMuNiwyLjgsMi4xLDI0LjQsMi41LDUwLjRDMi45LDc2LjUsMjQuNyw5OCw1MC4zLDk3LjVjMjYuNC0wLjYsNDcuNC0yMS44LDQ3LjItNDcuNwogICAgICAgICAgICAgICAgQzk3LjMsMjMuNyw3NS43LDIuMyw0OS45LDIuNSI+PC9wYXRoPgogICAgICAgICAgICAgICAgICAgICAgICA8cGF0aCBjbGFzcz0iaWNvbiIgZmlsbD0iI2ZmZmZmZiIgZD0iTTM4LDY5Yy0xLDAuNS0xLjgsMC0xLjgtMS4xVjMyLjFjMC0xLjEsMC44LTEuNiwxLjgtMS4xbDM0LDE4YzEsMC41LDEsMS40LDAsMS45TDM4LDY5eiI+PC9wYXRoPgogICAgICAgICAgICAgICAgICAgIDwvc3ZnPg==");
    display: block;
    position: absolute;
    top: calc(50% - 37px);
    left: calc(50% - 37px);
    z-index: 3;
    cursor: pointer;
}

/* Blog Sicurezza Alimentare */
.post-type-archive-sicurezza-alimentare .container-title-h2 h1.page-title {
    margin-bottom: 1rem;
}

.post-type-archive-sicurezza-alimentare .container-title-h2 h2 {
    margin-bottom: 2rem !important;
}

.post-type-archive-sicurezza-alimentare .image-macri {
    float: right;
    margin-left: 2.4rem;
    margin-bottom: 2rem;
}

.post-type-archive-sicurezza-alimentare .image-macri img {
    max-width: 180px;
    border-radius: 18px;
}

@media screen and (max-width: 576px) {
    .post-type-archive-sicurezza-alimentare .image-macri img {
        max-width: 110px;
    }
}

@media screen and (max-width: 375px) {
    .post-type-archive-sicurezza-alimentare .image-macri {
        margin-left: 0;
    }

    .post-type-archive-sicurezza-alimentare .image-macri img {
        max-width: 100%;
    }
}

/* Fix Alert Popup Form 2024 */
#unc-helpbtn__container {
    display: block !important;
    margin-top: -48px !important;
}

#uic-modal__container>.MuiContainer-root>div {
    display: block !important;
    cursor: pointer;
}

#uic-modal__container>.MuiContainer-root.popup-left p::before {
    left: unset;
    right: -35px;
    transform: scale(-1);
}

.ricerca-reclami.wrap-bradius-bshadow #uic-tool-reclami__root .jss7>div,
.ricerca-reclami.wrap-bradius-bshadow #uic-tool-reclami__root-mob .jss7>div {
    padding-bottom: 1.2rem !important;
}

/* WOOCOMMERCE */
.woocommerce input[type="text"],
.woocommerce input[type="tel"],
.woocommerce input[type="email"],
.woocommerce select,
.woocommerce textarea {
    padding-block: 12px;
}

.woocommerce form .woocommerce-input-wrapper strong,
.woocommerce form .form-row .select2-container,
.woocommerce form .form-row input[type="date"] {
    width: 100%;
    display: block;
    font-size: 1.5rem;
    line-height: 1.4 !important;
    font-weight: 400;
    padding: 12px 15px;
    color: #015949;
    background-color: #f2f7f6;
    border-radius: 8px;
    border: none;
}

.woocommerce form .select2-selection__arrow::before {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='10' viewBox='0 0 16 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.38086 0.808899L8.18974 7.61778L14.9986 0.808899' stroke='%2300C993' stroke-width='2'/%3E%3C/svg%3E");
}

.woocommerce form .select2-container--default .select2-selection--single .select2-selection__arrow b {
    display: none;
}

.woocommerce form .select2-container--default .select2-selection--single {
    padding: 0;
    font-size: 1.5rem;
    line-height: 1.4;
    background-color: transparent;
    border: unset;
    color: #015949;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    display: flex;
    align-items: center;
    top: 50%;
    height: 16px;
    right: 12px;
    transform: translateY(-50%);
}

.woocommerce form .select2-container .select2-selection--single .select2-selection__rendered {
    padding: 0;
}

.woocommerce form .form-row label,
.woocommerce form .form-row .required {
    font-weight: 600;
    color: #015949;
}

input[type="date"] {
    -webkit-appearance: none;
    appearance: none;
    -webkit-text-fill-color: #015949;
}

input[type="date"]::-webkit-datetime-edit-day-field,
input[type="date"]::-webkit-datetime-edit-month-field,
input[type="date"]::-webkit-datetime-edit-year-field,
input[type="date"]::-webkit-datetime-edit-text {
    color: #015949 !important;
}

input[type='date'],
input[type='date']:empty,
input[type='date']:disabled {
    color: #015949 !important;
    content: attr(placeholder);
}

#order_review,
#customer_details {
    padding-bottom: 3rem;
}

.woocommerce .woocommerce-checkout {
    position: relative;
    display: inline-block;
}

.woocommerce-checkout #payment {
    border-radius: 22px;
    margin-bottom: 24px;
}

.woocommerce-checkout #payment .wc_payment_methods input[type="radio"] {
    border-radius: 999px;
}

.woocommerce-checkout #payment .wc_payment_methods input[type="radio"]::after {
    width: 19px;
    height: 19px;
}

.woocommerce-terms-and-conditions-wrapper .required {
    display: none;
}

.woocommerce form .woocommerce-form__label,
.mc4wp-checkbox-woocommerce label {
    display: flex !important;
    align-items: flex-start;
}

.woocommerce form .woocommerce-form__label .input-checkbox,
.mc4wp-checkbox-woocommerce label .input-checkbox {
    flex: none;
}

.woocommerce-terms-and-conditions-wrapper .woocommerce-terms-and-conditions-checkbox-text,
.mc4wp-checkbox-woocommerce label span {
    position: relative;
    top: -5px;
    line-height: 1.5;
}

.woocommerce-terms-and-conditions-wrapper .woocommerce-terms-and-conditions-checkbox-text::after {
    content: '*';
}
.woocommerce-order-received a.woocommerce-MyAccount-downloads-file.button,
.woocommerce #payment #place_order,
.woocommerce-page #payment #place_order {
    display: inline-block;
    font-family: "Inter", sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    line-height: 100%;
    padding: 12px 26px !important;
    background: linear-gradient(90deg, #1eb688 0%, #15e1b1 45%, #15e1b1 75%, #1eb688 100%);
    background-size: 200% 100%;
    background-position: left;
    cursor: pointer;
    border-radius: 99px;
    transition: all 0.4s ease;
}

.woocommerce .check-newsletter {
    margin-top: 32px !important;
}

.woocommerce .check-newsletter .woocommerce-input-wrapper label.checkbox {
    position: relative;
    top: -5px;
    display: flex;
    align-items: flex-start;
    line-height: 1.5;
}

.woocommerce .check-newsletter .woocommerce-input-wrapper label.checkbox input {
    position: relative;
    top: 6px;
    box-shadow: 0px 1px 5px rgba(2, 51, 33, 0.2);
    flex: none;
}

.woocommerce .check-newsletter .woocommerce-input-wrapper .optional {
    display: none;
}

.select2-container--default .select2-results__option,
.select2-container--default .select2-results__option {
    margin-bottom: 0;
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected] {
    background-color: #015949;
}

.woocommerce {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
}

.pricing-price-container .pricing-value-ban:before {
    content: "x";
    color: red;
    font-size: 80px;
    position: absolute;
    font-weight: 100;
    line-height: 0.5;
    margin-left: 4px;
}

.blockOverlay {
    width: 100% !important;
    height: 100% !important;
}

@media screen and (min-width:768px) {

    .woocommerce .col2-set .col-1,
    .woocommerce-page .col2-set .col-1 {
        width: 90%;
    }

    #customer_details {
        display: flex;
        flex-flow: column nowrap;
        float: left;
        width: 50%;
    }

    #customer_details .col-2 {
        width: 90%;
        margin-top: 0px;
    }

    #order_review,
    #order_review_heading {
        width: 50%;
        float: left;
        clear: none;
    }
}

@media screen and (max-width: 767px) {

    .woocommerce .checkout_coupon .form-row.form-row-first,
    .woocommerce .checkout_coupon .form-row.form-row-last {
        width: 100%;
    }
}

/* WOOCOMMERCE ORDER OVERVIEW PAGE */
.woocommerce .woocommerce-notice {
    font-family: "Fira Sans", sans-serif;
    font-weight: 700;
    color: #015949;
    font-size: 26px;
}

.woocommerce ul.order_details li {
    border-right-style: solid;
}

.woocommerce ul.order_details {
    margin-bottom: 20px;
}

.woocommerce .woocommerce-bacs-bank-details {
    margin-block: 48px;
}

.woocommerce .woocommerce-customer-details address {
    padding: 20px;
    background-color: #fff;
    box-shadow: 0px 1px 5px rgba(2, 51, 33, 0.02), 0px 6px 18px rgba(2, 51, 33, 0.03), 0px 15px 40px rgba(2, 51, 33, 0.04);
    border-radius: 22px;
}