:root {
    --accent-color: #01A896;
    --accent-color-dark: #0A192F;
}

html {
    scroll-behavior: smooth;
}


@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

.menuzord.red .menuzord-menu > li.active > a, .menuzord.red .menuzord-menu > li:hover > a, .menuzord.red .menuzord-menu ul.dropdown li:hover > a {
    background: var(--accent-color) !important;
    color: #fff;
}

.text-theme-colored2 {
    color: var(--accent-color) !important;
}

.check-med {
    color: var(--accent-color);
    margin-right: 8px;
}

.text-danger {
    color: var(--accent-color) !important;
}

.tab-slider .nav.nav-pills a:hover, .tab-slider .nav.nav-pills a.active, .custom-nav-tabs > li > a:hover, .widget .tags a:hover, .progress-item .progress-bar, .small-title .title::after, .drop-caps.colored-square p:first-child:first-letter, .drop-caps.colored-rounded p:first-child:first-letter, .working-process.theme-colored a, .widget.dark .tags a:hover, .blog-posts .post .entry-content .post-date.right, .horizontal-tab-centered .nav-pills > li > a:hover, .horizontal-tab-centered .nav-pills > li.active > a, .horizontal-tab-centered .nav-pills > li.active > a:hover, .horizontal-tab-centered .nav-pills > li.active > a:focus, .owl-theme.dot-theme-colored .owl-controls .owl-dot span, .portfolio-filter a.active, .portfolio-filter a:hover, .pagination.theme-colored li.active a, .section-title .both-side-line::after, .section-title .both-side-line::before, .section-title .top-side-line::after, .section-title .left-side-line::before, .section-title .right-side-line::before, .product .tag-sale, .owl-theme .owl-dots .owl-dot.active span, .blog-posts .post.style1 .entry-header .entry-date.entry-date-absolute, .title-dots span {
    background-color: var(--accent-color);
}

.icon-theme-colored.icon-dark a {
    background-color: var(--accent-color);
}

.bg-theme-colored {
    background-color: var(--accent-color-dark) !important;
}

.btn-dark.btn-theme-colored2 {
    color: #fff;
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-dark.btn-theme-colored2:hover {
    color: #fff;
    background-color:  var(--accent-color-dark) ;
    border-color:  var(--accent-color-dark) ;
}

.btn-theme-colored {
    color: #fff;
    background-color: var(--accent-color); /*-dark*/
    border-color: var(--accent-color); /*-dark*/
}

.btn-primary {
    color: #fff;
    background-color: var(--accent-color-dark);
    border-color: var(--accent-color-dark);
}

.fa.fa-check-circle.text-danger {
    color: var(--accent-color) !important;
}

.btn-theme-colored2 {
    color: #fff;
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-theme-colored2:hover {
    color: #fff;
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.form-check-input.custom-red-check:checked {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}



/* Text truncation */
.text-fixed-2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    line-height: 1.2;
    min-height: calc(1.2em * 2);
}
.text-fixed-3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    line-height: 1.5;
    height: calc(1.5em * 3);
}

.text-fixed-5 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 5;
    line-height: 1.5;
    height: calc(1.5em * 5);
}

.text-fixed-7 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 7;
    line-height: 1.5;
    height: calc(1.5em * 7);
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    color: var(--bs-nav-pills-link-active-color);
    background-color: transparent;
    border: 1px solid #eeeeee;
}

.breadcrumb li a{
    color:#fff!important;

}

ol.breadcrumb {
    align-items: center;
}

.breadcrumb > li + li::before {
    content: "\2192";
    margin: 0 8px;
    font-size: 1rem;
}

.accordion-button:not(.collapsed) {
    color: var(--accent-color);
    background-color: #eeeeee;
    box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 #12736A66;
}


.accordion-button:focus {
    z-index: 3;
    border-color: var(--accent-color);
    outline: 0;
    box-shadow: 0 0 0 0.25rem #12736A073;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2312736A'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}

/* Cookies  */

@media (min-width: 992px) {
    .cookiebar {
        max-width: 832px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        border-radius: 4px 4px 0 0;
    }
}

.cookiebar {
    bottom: 0;
    left: 50%;
    right: 50%;
    transform: translate(-50%, -50%);
    display: none;
    position: fixed;
    max-width: 832px;
    width: 90%;
    z-index: 1100;
    background-color: #202c45;
    padding: 24px 32px;
    text-align: center;
}

.cookiebar-buttons a,
.cookiebar-buttons button {
    color: #fff !important;
}

.cookiebar.show {
    display: block;
}

.cookiebar .cookiebar-buttons {
    margin-top: 32px;
    padding: 0;
    line-height: 1.25em;
}
.cookiebar .cookiebar-btn:not(.cookiebar-confirm) {
    color: rgb(230.1375, 236.19375, 242.25);
}

.cookiebar .cookiebar-btn {
    background: rgba(0, 0, 0, 0);
    border: none;
    padding: 0;
    color: #fff;
    letter-spacing: 0.1em;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    display: inline-block;
    line-height: 1em;
}
.cookiebar .cookiebar-btn:last-child {
    margin-left: 32px;
}

.cookiebar p,
.cookiebar div a {
    color: #fff;
}

.visually-hidden,
.visually-hidden-focusable:not(:focus):not(:focus-within) {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (min-width: 769px) {
    .cookiebar {
        padding: 32px 48px;
    }

    .cookiebar.show {
        display: flex;
        flex-direction: row !important;
        justify-content: space-between;
    }

    .cookiebar {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .cookiebar .cookiebar-buttons {
        margin-top: 0;
        width: 40%;
    }
}

@media (min-width: 992px) {
    .cookiebar .cookiebar-buttons {
        width: 33%;
    }
}

@media (min-width: 576px) {
    .cookiebar .cookiebar-btn {
        font-size: 0.75rem;
    }
}

/* COOKIES MODAL  */
#cookieModal {
    z-index: 99999;
}

/* .modal {
  display: block;
} */



.btn-outline-primary {
    color: #202c45;
    background-color: transparent;
    background-image: none;
    border-color: #202c45;
}

.btn-primary:hover {
    color: #fff;
    background-color: #000;
    border-color: #000;
}

.btn-outline-primary:hover {
    color: #fff;
    background-color: #202c45;
    border-color: #202c45;
}

.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active,
.show > .btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #000;
    border-color: #000;
}

.btn-primary:focus,
.btn-primary.focus {
    box-shadow: 0 0 0 0.2rem rgba(205, 162, 116, 0.5);
}

.btn-primary:not(:disabled):not(.disabled):active:focus,
.btn-primary:not(:disabled):not(.disabled).active:focus,
.show > .btn-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(205, 162, 116, 0.5);
}

.btn-outline-primary:not(:disabled):not(.disabled):active:focus,
.btn-outline-primary:not(:disabled):not(.disabled).active:focus,
.show > .btn-outline-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(205, 162, 116, 0.5);
}

.btn-outline-primary:not(:disabled):not(.disabled):active,
.btn-outline-primary:not(:disabled):not(.disabled).active,
.show > .btn-outline-primary.dropdown-toggle {
    color: #fff;
    background-color: #000;
    border-color: #000;
}

.btn-outline-primary:focus,
.btn-outline-primary.focus {
    box-shadow: 0 0 0 0.2rem rgba(205, 162, 116, 0.5);
}

#cookieModal {
    .group {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px;
        border: 1px solid #e6e6e6;
        border-radius: 8px;
    }
}

.text-muted {
    color: hsl(211, 13%, 59%) !important;
}

.controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

#cookieModal {
    .tog-btn {
        appearance: none;
        border: 1px solid #bbb;
        border-radius: 14px;
        width: 46px;
        height: 26px;
        position: relative;
        background: #eee;
        cursor: pointer;
    }
}

#cookieModal {
    .tog-btn[aria-pressed="true"] {
        background: #202c45;
        border-color: #000;
    }
}

#cookieModal {
    .tog-btn {
        appearance: none;
        border: 1px solid #bbbbbb9a;
        border-radius: 14px;
        width: 46px;
        height: 26px;
        position: relative;
        background: #eee;
        cursor: pointer;
    }
}

#cookieModal {
    .tog-knob {
        position: absolute;
        top: 3px;
        left: 3px;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: #fff;
        transition: transform 0.18s;
    }
}

#cookieModal {
    .tog-btn[aria-pressed="true"] .tog-knob {
        transform: translateX(20px);
    }
}

.fc-highlight {
    background: #12736A4f;
}

.border-primary {
    border-color: var(--accent-color) !important;
}

.form-select:focus {
    border-color: var(--accent-color) ;
}

.fc-event {
    border: 1px solid var(--accent-color);
    background-color: var(--accent-color);
}

.fc-unthemed .fc-today {
    background: rgb(169 178 255 / 13%);
}

.position-absolute.btn.btn-danger:hover {
    transform: scale(1.1);
    transition: transform 0.2s;
}


.condividi .fa {
    color: #fff;
    width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 24px;
}

.custom-red-list {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start !important;
}

.custom-red-list::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background-color: #777777;
    border-radius: 50%;
}

:has(> .fa.fa-check-circle.text-danger) {
    text-align: start;
}


.time-counter .card {
    min-height: auto !important;
    height: auto !important;
    padding-bottom: 0 !important;
    padding: 1rem auto !important;
}

@media (max-width: 768px) {
    .single-service, .mobile-center, :has(> .widget-title.line-bottom) {
        text-align: center;
    }

    footer .mobile-center {
        align-items: center;
    }

    .sostienici .wpb_wrapper .d-flex {
        justify-content: center;
    }

    .il-presidente .content {
        justify-content: center;
    }

    .condividi {
        justify-content: center;
    }

    .mobile-center {
        display: flex;
        flex-direction: column;
        margin-top: 2rem;
        justify-content: center;
    }

    .line-bottom:after {
        left: 50%;
        transform: translateX(-50%);
    }

    .contatti-page .media-body .d-flex {
        justify-content: center;
    }


    .mission .d-flex.align-items-start {
        flex-direction: column;
    }

    .mission  .nav.flex-column {
        flex-direction: row !important;
    }

    .team-member  .details {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .last-news .d-flex.flex-column {
        gap: 1rem;
        margin-bottom: 2rem;
    }


    .text-justify {
        text-align: justify;
    }

}

.form-check {
    padding-left:  calc(var(--bs-gutter-x) * 2) !important;
}

.form-check-input.custom-red-check:checked {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}


.form-check-input.custom-red-check:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.25px rgba(220, 53, 69, 0.25);
}

.btn-dark.btn-theme-colored {
    color: #fff;
    background-color: var(--accent-color-dark);
    border-color: var(--accent-color-dark);
}

.btn-default.btn-theme-colored {
    color: var(--accent-color-dark);
    background-color: #fff;
    border-color: var(--accent-color-dark);
}

.btn-default.btn-theme-colored:hover, .btn-default.btn-theme-colored:active, .btn-default.btn-theme-colored:focus {
    background-color: var(--accent-color-dark);
    border-color: var(--accent-color-dark);
    color: #fff;
}

.team-member .thumb {
    text-align: center;
}



.corso .fc-row.fc-widget-header,
.corso .fc-row.fc-week {
    border-right: 1px solid #ddd !important;
}

.corso p, .notizia p, .session p, .event p, .il-presidente p {
    text-align: justify;
}

table {
    margin-bottom: 0;
}


.img-fullwidth {
    width: 100%;
    max-width: 800px;
    /*aspect-ratio: 16 / 9;  */
    object-fit: cover;
    object-position: center;
    transition: all 0.3s ease;
}

.news-rassegna-list-mark li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start !important;
}

.news-rassegna-list-mark li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background-color: #777777;
    border-radius: 50%;
}

@media (min-width: 992px) {
    .about-video {
        flex-wrap: nowrap !important;
    }
}


.corsi-grid .thumb {
    position: relative;
}


.corsi-grid .image-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    z-index: 10;


    background-color: var(--accent-color);

    color: #fff;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    pointer-events: none;
}


.team-member .thumb {
    position: relative;
}

.thumb-linkedin-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 10;
}


.thumb-linkedin-badge li {
    margin: 0 !important;
    display: block !important;
}

.btn-theme-colored2:focus, .btn-theme-colored2.focus {
    color: var(--accent-color-dark);
    background-color: #fff;
    border-color: var(--accent-color-dark);
}

.btn-theme-colored2:hover {
    color: #fff;
    background-color: var(--accent-color);
    opacity: 0.8;
    border-color: var(--accent-color);
}

.condividi a:hover, .breadcrumb li:hover {
    opacity: 0.8;
}

.btn-theme-colored:hover {
    opacity: 0.6;
}

.icon-theme-colored.icon-dark a:hover {
    background-color: var(--accent-color-dark);
    color: #fff;
}

.styled-icons.icon-dark a:hover {
    color: #fff;
    opacity: 0.6;
}

.widget .post-title a:hover {
    color: #fff;
    opacity: 0.6;
}


@keyframes flash-error {
    0%   {
        border-color: red;
    }       /* o background-color, ecc. */
    60%  {
        border-color: red;
    }       /* Fino a 2 secondi circa resta rosso */
    65%  {
        border-color: initial;
    }   /* Breve pausa (i 300ms) */
    75%  {
        border-color: red;
    }       /* Torna rosso (1 secondo finale) */
    100% {
        border-color: initial;
    }   /* Fine */
}

.animate-invalid {
    animation: flash-error 3.3s forwards;
}

.back-green {
    background-color: var(--accent-color);
}