/* pagine */
section
{
    padding: 0 !important;
}

.inner-page
{
    min-height: 350px;
}

.dropdown-pagine button
{
    padding: 0.25rem 0.5rem;
    font-size: 1.5rem;
    line-height: 1;
    background-color: transparent;
    border: 1px solid #ccc;
    border-radius: 7px;
    margin-right: 10px;
}

.dropdown-pagine button:hover
{
    border-color: #666;
}

.dropdown-pagine .dropdown-toggle::after
{
    display: none;
}

.dropdown-pagine .current
{
    font-weight: bold;
}

.dropdown-pagine ul
{
    list-style: none;
}


/* allegati */
.box-allegato
{
    line-height: 1.2rem;
}

.box-allegato .titolo-file-wrap
{
    overflow: hidden;
    word-wrap: break-word;
}

.box-allegato .titolo-file
{
    font-size: 1.3rem;
}

.box-allegato .descrizione-file
{
    font-size: 0.8rem;
}

.box-allegato .icona-file
{
    font-size: 2.5rem;
}

.allegato-bacheca .titolo-file
{
    font-size: 1rem;
    font-weight: bold;
}

.allegato-bacheca .icona-file
{
    font-size: 1.5rem;
}

.allegato-bacheca .icona-download
{
    font-size: 0.9rem;
    margin-left: 6px;
    color: inherit;
}

.icona-download
{
    font-size: 1.2rem;
    color: #333;
}


/* menu */
.navbar a
{
    padding: 10px !important;
    margin-left: 6px !important;
    margin-right: 6px !important;
}

.navbar a, .navbar a:focus
{
    display: inherit;
}

.navbar .dropdown ul
{
    left: 3px !important;
}

.navbar .dropdown .dropdown ul
{
    left: 100% !important;
}

.navbar .has-megamenu
{
    position: static !important;
}

.navbar .megamenu
{
    left: 0;
    right: 0;
    width: 100%;
    margin-top: 0;
    display: grid !important;
    grid-template-columns: repeat( auto-fit, minmax(180px, 1fr) ) !important;
}

.navbar .megamenu .list-group-item
{
    border: 0;
    font-weight: 400;
    padding: 5px 20px 6px 20px !important;
}

.navbar .megamenu .megamenu-block
{
    display: inline-block;
}


/* footer */
.footer-links
{
    display: grid;
    grid-template-columns: repeat( auto-fit, minmax(180px, 1fr) );
    margin-bottom: 0px !important;
    height: 100%;
}

.footer-links .link-block
{
    width: 100%;
    margin-bottom: 10px;
    display: inline-block;
}

.footer-links ul li
{
    display: block !important;
    margin-bottom: 0;
    padding: 0 !important;
    margin-top: 0.17rem !important;
}

.footer-links ul li ul li
{
    margin-left: 20px !important;
}


/* breadcrumbs */
.breadcrumbs
{
    padding: 15px 0;
    min-height: 40px;
    margin-top: 78px;
}

.breadcrumbs h2
{
    font-size: 28px;
    font-weight: 400;
}

.breadcrumbs ol
{
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumbs ol li+li
{
    padding-left: 10px;
}

.breadcrumbs ol li+li::before
{
    display: inline-block;
    padding-right: 10px;
    color: #263d4d;
    content: "/";
}

@media (max-width: 992px)
{
    .breadcrumbs {
        margin-top: 52px;
    }

    .breadcrumbs .d-flex {
        display: block !important;
    }

    .breadcrumbs ol {
        display: block;
    }

    .breadcrumbs ol li {
        display: inline-block;
    }
}


/* griglia */
.grid-stack
{
    margin: -10px;
}

.card-griglia
{
    background-color: inherit;
    border: none;
    height: 100%;
}


/* carosello */
.carousel_type_1 .carousel-indicators
{
    width: 50%;
    margin-left: 0;
    margin-right: 0;
}

.carousel_type_2 .carousel-indicators
{
    width: 50%;
    margin-left: 0;
    margin-right: 0;
    left: 50%;
}

.carousel_type_1 .carousel-control-next, .carousel_type_1 .carousel-control-prev,
.carousel_type_2 .carousel-control-next, .carousel_type_2 .carousel-control-prev
{
    width: 5%;
}

.carousel_type_1 .carousel-control-next
{
    left: 44%;
}

.carousel_type_2 .carousel-control-prev
{
    left: 51%;
}


.carousel-news .carousel-control-next, .carousel-news .carousel-control-prev
{
    width: 5%;
}

.carousel-news .carousel-item .carousel-news-padding
{
    padding-left: 5%;
    padding-right: 5%;
}

.carousel-news .carousel-news-content[data-tipologia="ultimeNews"]
{
    position: relative;
    left: 20px;
    top: -60px;
    margin-bottom: -50px;
}

.carousel-news .carousel-news-content[data-tipologia="ultimeNewsAlt"]
{
    position: relative;
    margin-bottom: 20px;
}

.carousel-news .carousel-news-content .carousel-news-title
{
    width: 100%;
    color: #fff;
}

.carousel-news .carousel-news-content .carousel-news-title h5
{
    font-weight: bold;
    font-size: 1.5rem;
    margin-bottom: 0;
    padding: 10px 15px;
}

.carousel-news .carousel-news-img[data-tipologia="ultimeNewsAlt"] {
    overflow: hidden;
}


.carousel-news .carousel-news-img[data-tipologia="ultimeNewsAlt"] img
{
    display: block;
    position: relative;
    -webkit-transition: all .3s linear;
    -o-transition: all .3s linear;
    transition: all .3s linear;
}

.carousel-news .carousel-news-img[data-tipologia="ultimeNewsAlt"] img:hover
{
    -ms-transform: scale(1.05) translateZ(0);
    -webkit-transform: scale(1.05 )translateZ(0);

}

.carousel-news .carousel-news-content .carousel-news-title.title0
{
    background-color: #828b8c;
}

.carousel-news .carousel-news-content .carousel-news-title.title1
{
    background-color: #921a40;
}

.carousel-news .carousel-news-content .carousel-news-title.title2
{
    background-color: #117381;
}

.carousel-news .carousel-news-content .carousel-news-title.title3
{
    background-color: #0f67b1;
}

.carousel-news .carousel-news-content .carousel-news-text[data-tipologia="ultimeNews"]
{
    padding: 15px;
    border-right: 1px solid #ddd;
    box-shadow: -3px 3px 3px #8F8F8F;
    background-color: #fff;
}

.carousel-news .carousel-news-content .carousel-news-text[data-tipologia="ultimeNewsAlt"]
{
    padding: 15px;
    border-right: 1px solid #ddd;
/*    box-shadow: -3px 3px 3px #8F8F8F;*/
    background-color: #fff;
}

.carousel-news .carousel-control-prev.carousel-news-indicators
{
    left: -5%;
}

.carousel-news .carousel-control-next.carousel-news-indicators
{
    right: -5%;
}

.splide-grid .splide__arrow
{
    background: none;
    color: #444444;
}

.splide-grid .splide__arrow--next
{
    right: 14px;
}

.splide-grid .splide__arrow--prev
{
    left: 14px;
}

.splide-grid .splide__arrow--next:after
{
    content: "\27f6";
    font-size: 26px;
}

.splide-grid .splide__arrow--prev:after
{
    content: "\27f5";
    font-size: 26px;
}

.splide-grid .slide-desc
{
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 10px 20px;
    height: 100%;
}

.splide-grid .slide-desc-div
{
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: #fff;
    opacity: 0.9;
    align-items: center;
    padding: 20px 40px;
}

.slick-container .slider-nav
{
    display: flex;
}

.slick-container .slick-arrow
{
    background: transparent;
    box-shadow: none;
    border: none;
}

.slick-container .slick-next-btn
{
    margin-left: auto;
}

.slick-container .slick-next-btn:after
{
    content: "\27f6";
    font-size: 26px;
}

.slick-container .slick-previous-btn:after
{
    content: "\27f5";
    font-size: 26px;
}

.slick-container .single-slide
{
    width: clamp(280px,90vw,400px);
    position: relative;
}

.slick-container .single-slide .description
{
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 180px 20px 0px;
    color: #fff;
    font-size: 14px;
    transform: translateY(calc(100% - 165px));
    transition: all .5s cubic-bezier(.19,1,.22,1);
}

.slick-container .single-slide:hover .description
{
    transform: translateY(0);
    background: linear-gradient(180deg,transparent 0%,rgba(0,0,0,.9) 100%);
}


/* gallery */
.gallery_carousel.gallery_type_0 .carousel-indicators button.thumbnail
{
    width: 100px;
}

.gallery_carousel.gallery_type_0 img
{
    display: block;
    width: 100%;
}

.gallery_type_1.gallery
{
    width: 100%;
    margin: auto;
    border-radius: 3px;
    overflow: hidden;
}

.gallery_type_1 .img-c
{
    width: 33%;
    min-height: 200px;
    float: left;
    position: relative;
    overflow: hidden;
}

.gallery_type_1 .img-w
{
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: transform ease-in-out 300ms;
}

.gallery_type_1 .img-w img
{
    display: none;
}

.gallery_type_1 .img-c
{
    transition: width ease 400ms, height ease 350ms, left cubic-bezier(0.4, 0, 0.2, 1) 420ms, top cubic-bezier(0.4, 0, 0.2, 1) 420ms;
}

.gallery_type_1 .img-c:hover .img-w
{
    transform: scale(1.08);
    transition: transform cubic-bezier(0.4, 0, 0.2, 1) 450ms;
}

.gallery_type_1 .img-c.active
{
    width: 100% !important;
    height: 100% !important;
    position: absolute;
    z-index: 2;
}

.gallery_type_1 .img-c.postactive
{
    position: absolute;
    z-index: 2;
    pointer-events: none;
}

.gallery_type_1 .img-c.active.positioned
{
    left: 0 !important;
    top: 0 !important;
    transition-delay: 50ms;
}


.gallery_carousel .carousel-indicators button.thumbnail:not(.active)
{
    opacity: 0.4;
}

.gallery_carousel .carousel-indicators
{
    position: static;
}


/* news a scorrimento */
.newsScroll a.list-group-item
{
    border: 0;
    border-bottom: 1px solid var(--bs-list-group-border-color);
}


/* news categoria */
.news-categoria
{
    overflow: hidden;
    height: calc(100% - 20px);
}

.news-categoria .news-categoria-testo
{
    overflow: hidden;
}

.news-categoria .news-categoria-testo h5
{
    font-size: 1rem;
    font-weight: 700;
}

.news-categoria .news-categoria-testo p
{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    font-size: 0.8rem;
}

.news-categoria img
{
    width: 200px;
}


/* lingua */
.dropdown-lang img
{
    max-width: 25px;
    max-height: 25px;
}

.dropdown-lang .dropdown-menu
{
    min-width: 40px !important;
    padding: 5px 0px;
}

.dropdown-lang .dropdown-item.active
{
    background-color: #ddd;
}


/* cerca, news */
.contenuto-lista ul
{
    padding-left: 0;
}

.contenuto-lista ul:not(.pagination) li {
    list-style: none;
    padding-top: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ccc;
}

.contenuto-lista ul li:last-child {
    border-bottom: 0px;
}

.contenuto-lista .img-lista
{
    width: 120px;
}

.contenuto-lista .title
{
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0px;
}

.contenuto-lista .badge-news
{
    color: #fff;
    padding: 5px 15px;
    font-size: 0.7rem;
    font-weight: 700;
    background-color: #d9364f;
}


/* bacheca avvisi */
.bacheca-container
{
    height: auto;
}

.bacheca-title
{
    font-size: 1rem;
    font-weight: bold;
}

.bacheca-card-title
{
    font-size: 1rem;
    font-weight: bold;
    border-bottom: 3px solid #ff9100;
}

.bacheca-card-text
{
    font-size: 0.8rem;
    color: #333;
}

.bacheca-card-smalltext
{
    font-size: 0.8rem;
    color: #999;
}

.bacheca-card-footer
{
    background-color: #fff;
    border: 0;
}

.bacheca-card-pin
{
    display: none;
}


/* eventi */
.eventiOggi ul
{
    padding-left: 0;
}

.eventiOggi ul li
{
    list-style: none;
    border-left: 3px solid #333;
    margin-bottom: 5px;
}

.eventiOggi ul li a
{
    padding-left: 10px;
}

.eventiProssimi ul
{
    padding-left: 0;
}

.eventiProssimi ul li
{
    list-style: none;
}

.eventiProssimi .calendar-event
{
    border-bottom: 1px solid #ccc;
    padding-top: 15px;
    padding-bottom: 15px;
}

.eventiProssimi .calendar-event:last-child
{
    border-bottom: 0px;
}

.eventiProssimi .calendar-day-box
{
    width: 80px;
    height: 80px;
    display: inline-block;
}

.eventiProssimi .calendar-day-box .month
{
    color: #fff;
    text-align: center;
    width: 80px;
    height: 30px;
    display: block;
    line-height: 33px;
    font-weight: bold;
    font-size: 0.8rem;
}

.eventiProssimi .calendar-day-box .day
{
    text-align: center;
    width: 80px;
    height: 50px;
    display: block;
    font-size: 2rem;
    line-height: 35px;
}

.eventiProssimi .calendar-day-event .day
{
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.eventiProssimi .calendar-day-event .title
{
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0px;
}

.eventiProssimi .calendar-day-event .subtitle
{
    color: #666;
    font-size: 1rem;
    margin-bottom: 0;
}

.contenuto-evento .calendar-day-box
{
    width: 80px;
    height: 80px;
    display: inline-block;
}

.contenuto-evento .calendar-day-box .month
{
    color: #fff;
    text-align: center;
    width: 80px;
    height: 30px;
    display: block;
    line-height: 33px;
    font-weight: bold;
    font-size: 0.8rem;
}

.contenuto-evento .calendar-day-box .day
{
    text-align: center;
    width: 80px;
    height: 50px;
    display: block;
    font-size: 2rem;
    line-height: 35px;
}

.contenuto-evento .calendar-day-event .day, .contenuto-evento .calendar-day-event .hours
{
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

#accordionEventi .accordion-button:not(.collapsed)
{
    background-color: #fff;
    box-shadow: none;
}

#accordionEventi .accordion-button
{
    font-size: inherit;
}

#accordionEventi .accordion-item
{
    border: 0;
}


/* mini calendario */
.miniCalendario
{
    margin-left: auto;
    margin-right: auto;
}

.miniCalendario .btn-link, .miniCalendario .btn-link:active
{
    color: #333;
}

.miniCalendario .text-bg-primary
{
    background-color: #333 !important;
}


/* color picker */
.clr-picker
{
    z-index: 1056 !important;
}


/* video sfondo */
.container-fluid.section-video-bg .container
{
    width: 100%;
    min-height: 10px;
    z-index: 1;
    position: relative;
}


/* sezioni */
.bg-split-half-dx .container
{
    margin-left: 50%;
}

.bg-split-half-sx .container
{
    margin-right: 50%;
}


/* comunicati */
#accordionComunicati .accordion-item
{
    border: 0px;
    border-bottom: 1px solid var(--bs-accordion-border-color);
}

#accordionComunicati .accordion-button
{
    font-size: 1.4rem;
    font-weight: 700;
    color: #00647d;
}

#accordionComunicati .accordion-button:not(.collapsed)
{
    background-color: #fff;
}

#accordionComunicati .accordion-button:focus
{
    box-shadow: none;
}

.contenuto-comunicati .badge-comunicati
{
    color: #fff;
    padding: 5px 15px;
    margin-right: 10px;
    font-size: 1.1rem;
    font-weight: 500;
}

.contenuto-comunicati .badge-avviso
{
    background-color: #ff9100;
}

.contenuto-comunicati .badge-circolare
{
    background-color: #00647d;
}

.contenuto-comunicati h4
{
    font-size: 1.4rem;
    font-weight: 700;
    color: #00647d;
}

.contenuto-comunicati .search-container
{
    position: relative;
}

.contenuto-comunicati .search-button
{
    position: absolute;
    right: 0px;
    top: 0px;
    background-color: #454545;
    border: 0;
    border-radius: 0px var(--bs-border-radius) var(--bs-border-radius) 0px;
    color: #fff;
    width: 38px;
    height: 38px;
    outline: 0;
}


/* openday */
.contenuto-openday
{
    margin-top: 70px;
}

.contenuto-openday.inner-page
{
    min-height: 700px;
}


/* ecommerce */
.contenuto-ecommerce.ecommerce-categorie, .contenuto-ecommerce.ecommerce-home, .contenuto-ecommerce.ecommerce-account, .contenuto-ecommerce.ecommerce-carrello
{
    margin-top: 80px;
}

.contenuto-ecommerce.inner-page
{
    min-height: 700px;
}

.contenuto-ecommerce .product-gallery-image
{
    max-width: 88px;
    max-height: 60px;
    margin-bottom: 5px;
}

.contenuto-ecommerce .product-giacenza, .contenuto-ecommerce .order-status
{
    width: 15px;
    height: 15px;
    border-radius: 50%;
    display: inline-block;
}


/* varie */
.wrap-anywhere
{
    word-wrap: anywhere;
}


/* responsive */
@media (max-width: 767px)
{
    .grid-stack
    {
        height: inherit !important;
    }

    .grid-stack-item
    {
        /*display: block;*/
        width: 100% !important;
        position: relative !important;
        top: auto !important;
        left: 0 !important;
    }

    .navbar .megamenu
    {
        margin: 0 !important;
    }

    .bg-split-half-dx .container,
    .bg-split-half-sx .container
    {
        margin-left: auto;
        margin-right: auto;
    }

    .bg-split-half-dx,
    .bg-split-half-sx
    {
        background-image: none !important;
    }
}

@media (max-width: 991px)
{
    .breadcrumbs .container
    {
        margin-top: 15px;
    }

    .navbar .dropdown
    {
        margin-bottom: 10px;
    }
}


@media (min-width: 576px)
{
    .bg-split-half-dx .container,
    .bg-split-half-sx .container
    {
        max-width: 540px;
    }

    .carosello-split-half-dx
    {
        padding-left: calc((100vw - 500px)/2);
    }

    .carosello-split-half-sx
    {
        padding-right: calc((100vw - 500px)/2);
    }

    .bacheca-container
    {
        height: 311px;
    }

    .bacheca-card
    {
        height: 200px;
        overflow: scroll;
    }
}

@media (min-width: 768px)
{
    .bg-split-half-dx .container,
    .bg-split-half-sx .container
    {
        max-width: 360px;
    }

    .carosello-split-half-dx
    {
        padding-left: calc((100vw - 680px)/2);
    }

    .carosello-split-half-sx
    {
        padding-right: calc((100vw - 680px)/2);
    }

    .bacheca-container
    {
        height: 419px;
    }

    .bacheca-title
    {
        font-size: 2rem;
    }

    .bacheca-card
    {
        height: auto;
    }
}

@media (min-width: 992px)
{
    .bg-split-half-dx .container,
    .bg-split-half-sx .container
    {
        max-width: 480px;
    }

    .carosello-split-half-dx
    {
        padding-left: calc((100vw - 920px)/2);
    }

    .carosello-split-half-sx
    {
        padding-right: calc((100vw - 920px)/2);
    }

    .bacheca-container
    {
        height: 564px;
    }

    .bacheca-title
    {
        font-size: 2rem;
    }

    .bacheca-card
    {
        overflow: visible;
    }

    .bacheca-card-title
    {
        font-size: 2rem;
    }

    .bacheca-card-text
    {
        font-size: 1rem;
    }

    .bacheca-card-pin
    {
        display: block;
        position: absolute;
        top: -20px;
        left: 50%;
        width: 35px;
    }
}

@media (min-width: 1200px)
{
    .bg-split-half-dx .container,
    .bg-split-half-sx .container
    {
        max-width: 570px;
    }

    .carosello-split-half-dx
    {
        padding-left: calc((100vw - 1100px)/2);
    }

    .carosello-split-half-sx
    {
        padding-right: calc((100vw - 1100px)/2);
    }

    .bacheca-container
    {
        height: 673px;
    }

    .bacheca-title
    {
        font-size: 3rem;
    }
}

@media (min-width: 1400px)
{
    .bg-split-half-dx .container,
    .bg-split-half-sx .container
    {
        max-width: 660px;
    }

    .carosello-split-half-dx
    {
        padding-left: calc((100vw - 1280px)/2);
    }

    .carosello-split-half-sx
    {
        padding-right: calc((100vw - 1280px)/2);
    }

    .bacheca-container
    {
        height: 780px;
    }

    .bacheca-title
    {
        font-size: 3rem;
    }
}


.label-custom::after {
    padding: 0.5rem .75rem !important;
    inset: unset !important;
    content: unset !important;
}
.label-custom {
    padding: 0.5rem .75rem !important;
}

.dz-filename {
    white-space: unset !important;
    font-size: 12px !important;
    margin-top: -5px;
}
div.dz-filename > span{
    height: 20px;
    display: block;
}

.wizard .content {
    background-color: unset !important;
}

.back-to-top {
    bottom: 95px;
}


/**Header**/
#header .logo, .header .logo h1, .header .sitename {
  font-size: 26px;
}


/*grecaptcha-badge*/
.grecaptcha-badge {
    z-index: -1;
}

#headerNews ul li {
    list-style: none;
}

#headerNews ul {
    padding-left: 0px;
}

.newsticker {
    background-color: #ffffff;
}


.splide[data-tipo="3"] .splide__slide {
    width: calc(25% - 1rem); /* 25% per quattro anteprime meno un margine */
}

/***Contatori circolari*******/

:root {
    --progress-bar-width: 200px;
    --progress-bar-height: 200px;
    --font-size-percentage: 2rem;
}

.circular-progress, .circular-progress-numeric {
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px auto;
}

.circular-progress .inner-circle,
.circular-progress-numeric .inner-circle {
    position: absolute;
    border-radius: 50%;
    background-color: #fff;
}

.circular-progress .percentage,
.circular-progress-numeric .progress-value {
    position: relative;
    font-size: 24px;
    font-weight: bold;
    z-index: 2;
}

.circular-progress[data-bar-thickness="4"] .inner-circle,
.circular-progress-numeric[data-bar-thickness="4"] .inner-circle {
    width: calc(100% - 8px);
    height: calc(100% - 8px);
}

.circular-progress[data-bar-thickness="6"] .inner-circle,
.circular-progress-numeric[data-bar-thickness="6"] .inner-circle {
    width: calc(100% - 12px);
    height: calc(100% - 12px);
}

.circular-progress[data-bar-thickness="8"] .inner-circle,
.circular-progress-numeric[data-bar-thickness="8"] .inner-circle {
    width: calc(100% - 16px);
    height: calc(100% - 16px);
}

.circular-progress[data-bar-thickness="10"] .inner-circle,
.circular-progress-numeric[data-bar-thickness="10"] .inner-circle {
    width: calc(100% - 20px);
    height: calc(100% - 20px);
}

.circular-progress[data-bar-thickness="12"] .inner-circle,
.circular-progress-numeric[data-bar-thickness="12"] .inner-circle {
    width: calc(100% - 24px);
    height: calc(100% - 24px);
}

.circular-progress .inner-circle,
.circular-progress-numeric .inner-circle {
    width: calc(100% - 16px);
    height: calc(100% - 16px);
}

/*
.circular-progress {
    width: var(--progress-bar-width);
    height: var(--progress-bar-height);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.circular-progress > .inner-circle {
    position: absolute;
    width: calc(var(--progress-bar-width) - 12px);
    height: calc(var(--progress-bar-height) - 12px);
    border-radius: 50%;
    background-color: lightgrey;
}

.circular-progress > .percentage {
    position: relative;
    font-size: var(--font-size-percentage);
    color: rgb(0, 0, 0, 0.8);
}
*/

@media screen and (max-width: 800px) {
    :root {
      --progress-bar-width: 150px;
      --progress-bar-height: 150px;
      --font-size-percentage: 1.3rem;
    }
}

@media screen and (max-width: 500px) {
    :root {
      --progress-bar-width: 120px;
      --progress-bar-height: 120px;
      --font-size-percentage: 1rem;
    }
}


/**Flipcard**/

.flip-card {
  background-color: transparent;
  width: 300px;
  height: 300px;
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  /*box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);*/
  backface-visibility: hidden;
  -moz-backface-visibility: hidden;
}

.flip-card:focus {
    outline: 0;
}

.flip-card:hover .flip-card-inner,
.flip-card:focus .flip-card-inner{
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
}

.flip-card-front {
  /*background: linear-gradient(to left, #4364f7, #6fb1fc);*/
  color: black;
  z-index: 2;
  /*display: flex;*/
  justify-content: center;
  align-items: center;
}

.flip-card-back {
  background: red;
  color: white;
  transform: rotateY(180deg);
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

section.contenuto-html[data-breadcrumbs="false"] {
    margin-top: 150px;
}

.select2-border-error ~ span.select2>span.selection>.select2-selection{
    border-bottom: 3px solid #cc0000 !important;
    transition: 0.2s all linear;
}
.select2-border-success ~ span.select2>span.selection>.select2-selection{
    border-bottom: 3px solid #a1c373 !important;
    transition: 0.2s all linear;
}
.select2-container--bootstrap-5:not(.select2-container--open) .select2-search--inline {
    display: none !important;
}
.select2-container--bootstrap-5.select2-container--open .select2-search--inline {
    display: block !important;
}
.select2-container--bootstrap-5.select2-container--open .select2-search--inline .select2-search__field {
    display: block !important;
    width: 100% !important;
    /*line-height: 3 !important;*/
    margin-top: 0.25rem !important;
}
.select2-selection--multiple {
    overflow: hidden !important;
    padding: 0.125rem 0.5rem !important;
}
.select2-selection__choice {
    margin: 0 2px 0 0 !important;
    font-size: 0.875em !important;
    white-space: nowrap !important;
}

.input-border-success{
    border-bottom: 3px solid #a1c373 !important;
    transition: 0.2s all linear;
}
.input-border-error{
    border-bottom: 3px solid #cc0000 !important;
    transition: 0.2s all linear;
}

section.contenuto-pagina, section.contenuto-evento {
    padding-top: 35px !important;
    padding-bottom:35px!important;
}

.tile-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.loading-tile-iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    color: #555;
}

.sal-offcanvas-end {
    width: 400px;
}

.sal-btn-muted {
    border-color: var(--bs-secondary-color) !important;
}

.sal-btn-muted:hover,
.sal-btn-muted:focus,
.sal-btn-muted:active,
.sal-btn-muted:focus-visible,
.sal-btn-muted:focus:active,
.sal-btn-muted:hover:active {
    color: var(--bs-btn-hover-color) !important;
    background-color: var(--bs-secondary-color);
    border-color: var(--bs-secondary-color) !important;
}

.sal-badge-candidature {
    font-size: 0.75rem;
    padding: 0.2rem 0.3rem;
    margin-top: 0.6rem;
    margin-left: -0.1rem;
}

.sal-badge-candidature2 {
    position: absolute !important;
    padding: 0.2rem 0.35rem;
    top: 0 !important;
    right: 0 !important;
    transform: translate(50%, -50%) !important;
}

.sal-card-hover {
    transition: 0.2s ease-in;
}

.sal-card-hover:hover {
    transform: translate3d(0, -3px, 0);
}

.sal-card-header {
    color: #fff;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7) !important;
}

.sal-card-footer .btn {
    font-size: 1rem;
    padding-left: 10px;
    padding-right: 10px;
    margin: 0 1.25rem;
    position: relative;
}

.fs-7 {
    font-size: 0.75rem;
}

.sal-fa-iconsize {
    width: 16px;
    font-size: 13px;
    vertical-align: middle;
}

.btn-row-spaggiari-2{
    height: 30px;
    margin-top: -3px;
    padding-top: 1px;
}

.mt-n1 {
  margin-top: -0.25rem !important;
}
.mb-n1 {
  margin-bottom: -0.25rem !important;
}
.ms-n1 {
  margin-left: -0.25rem !important;
}
.me-n1 {
  margin-right: -0.25rem !important;
}

.mt-n2 {
  margin-top: -0.50rem !important;
}
.mb-n2 {
  margin-bottom: -0.50rem !important;
}
.ms-n2 {
  margin-left: -0.50rem !important;
}
.me-n2 {
  margin-right: -0.50rem !important;
}

.mt-n3 {
  margin-top: -1rem !important;
}
.mb-n3 {
  margin-bottom: -1rem !important;
}
.ms-n3 {
  margin-left: -1rem !important;
}
.me-n3 {
  margin-right: -1rem !important;
}

.mt-n4 {
  margin-top: -1.5rem !important;
}
.mb-n4 {
  margin-bottom: -1.5rem !important;
}
.ms-n4 {
  margin-left: -1.5rem !important;
}
.me-n4 {
  margin-right: -1.5rem !important;
}

.mt-n5 {
  margin-top: -3rem !important;
}
.mb-n5 {
  margin-bottom: -3rem !important;
}
.ms-n5 {
  margin-left: -3rem !important;
}
.me-n5 {
  margin-right: -3rem !important;
}

.sal-clamp h1, .sal-clamp h2, .sal-clamp h3, .sal-clamp h4, .sal-clamp h5, 
.sal-clamp h6 {
    all: unset;
    font-size: clamp(0.5rem, 1rem, 2rem);
    display: block;
}

#modalAnnuncio .btn-primary, #modalAnnuncio .btn-success,
#modalAnnuncio .btn-warning, #modalAnnuncio .btn-info,
#modalAnnuncio .btn-danger, #modalAnnuncio .btn-secondary,
#modalAnnuncio .btn-light, #modalAnnuncio .btn-dark,
#modalAnnuncio .btn:disabled {
    width: 35vw;
    max-width: 200px;
    padding: 10px 24px;
}