/* General */
.section-title {
    margin-bottom: 1.5rem;
}
.section-padding {
    padding-top: 5rem;
    padding-bottom: 5rem;
}
.section-margin {
    margin-top: 5rem;
    margin-bottom: 5rem;
}
/* Home Slider */
.arsial-home-slider .arsialSwiper {
    border-radius: 0;
}

.arsial-home-slider .swiper-slide picture,
.arsial-home-slider .swiper-slide .slider-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.arsial-home-slider .swiper-slide .slider-video-bg {
    object-fit: cover;
}

.arsial-home-slider .swiper-slide picture img {
    object-fit: cover;
    object-position: center center;
}

.arsial-home-slider .swiper-slide {
    padding: 10rem 0;
    background-position: center;
    background-size: cover;
}

.arsialSwiper:not(.swiper-autoheight) .swiper-slide {
    display: flex;
    height: auto;
}

.arsial-home-slider .swiper-slide .content-wrapper .text-wrapper {
    border-radius: 5px;
    background: rgba(147, 185, 37, 0.50);
    backdrop-filter: blur(5px);
    padding: 16px;
    margin-bottom: 3rem;
}
.arsial-home-slider .swiper-slide .content-wrapper .text-wrapper p {
    color: var(--color-white, #FFF);
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.95rem; /* 130% */
}
.arsial-home-slider .swiper-slide .content-wrapper .text-wrapper h1 {
    margin-bottom: 24px;
    color: var(--color-white, #FFF);
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    font-size: 3rem !important;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}
.arsial-home-slider .arsialSwiper-pagination {
    bottom: 55px !important;
    width: 100% !important;
    justify-content: center !important;
    gap: 15px;
    z-index: 3;
}

.arsialSwiper-nav.arsialSwiper-prev,
.arsialSwiper-nav.arsialSwiper-next {
    z-index: 4;
}

.arsial-home-slider .arsialSwiper-pagination .swiper-pagination-bullet {
    background: white;
    width: 10px;
    height: 10px;
    opacity: 0.5;
    z-index: 100;
}
.arsial-home-slider .arsialSwiper-pagination .swiper-pagination-bullet-active {
    opacity: 1;
}
.arsial-home-slider .arsialSwiper-nav {
    color: var(--bs-tertiary);
}
@media (max-width: 1400px) {
    .arsial-home-slider .arsialSwiper-nav {
        top: unset !important;
        bottom: 20px;
    }

}
@media (max-width: 768px) {
    .arsial-home-slider .swiper-slide .content-wrapper .text-wrapper h1 {
        font-size: 2.25rem !important;
    }
}

/* Chi siamo */
.arsial-home-chi-siamo .cta-wrapper a span{
    font-size: 1.25rem;
}

/* Focus tematici */
.arsial-home-focus-tematici {
    background: linear-gradient(to bottom, var(--bs-secondary) 326px, rgba(81, 159, 51, 0) 326px);
}
.arsial-home-focus-tematici .section-title {
    color: white;
}
.arsial-home-focus-tematici .card-footer {
    border: 0;
}
.arsial-home-focus-tematici .card::after {
    display: none !important;
}
.arsial-home-focus-tematici .card {
    padding: 1.5rem;
    border-radius: 0.25rem;
    box-shadow: 0px 8px 16px 0 rgba(0, 0, 0, 0.15)
}
.arsial-home-focus-tematici .card-body {
    padding: 0;
    padding: 1.5rem 0;
}
.arsial-home-focus-tematici .card-body * {
    color: white;
}
.arsial-home-focus-tematici .card-body .card-title {
    font-size: 1.75rem;
    font-style: normal;
    font-weight: 600;
    margin-bottom: 0;
}
.arsial-home-focus-tematici .card-body .card-text {
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 400;
    padding-top: 0;
    color: white;
}
.arsial-home-focus-tematici .card-footer {
    padding: 0;
}
.arsial-home-focus-tematici .card-footer .btn {
    width: 100%;
    border-radius: 0.25rem;
    background: #FFF;
    padding: 0.75rem 1rem;
    color: var(--bs-tertiary);
    font-size: 1rem;
    font-style: normal;
    font-weight: 700;
    text-transform: uppercase;
}
.arsial-home-focus-tematici .card-footer .btn:hover {
    background: var(--bs-tertiary);
    color: #FFF;
}

/* News */
.arsial-home-news .cta-wrapper a {
    color: var(--bs-secondary);
}
.arsial-home-news .cta-wrapper a:hover {
    color: var(--bs-tertiary);
}
.arsial-home-news .cta-wrapper a span{
    font-size: 1.25rem;
}

/* Bandi e avvisi */
.arsial-home-bandi-avvisi {
    background-color: #F9F9F9;;
}
.arsial-home-bandi-avvisi h4 {
    font-size: 1.75rem;;
}
.arsial-home-bandi-avvisi .card::after {
    display: none !important;
}
.arsial-home-bandi-avvisi .card {
    padding: 1.5rem;
    border-radius: 0.25rem;
    min-height: 125px;
    color: white;
    transition: background-color 0.2s;
}
.arsial-home-bandi-avvisi .card-wrapper:nth-child(odd) .card {
    background-color: var(--bs-primary);
}
.arsial-home-bandi-avvisi .card-wrapper:nth-child(even) .card {
    background-color: var(--bs-secondary);
}
.arsial-home-bandi-avvisi .card-wrapper .card:hover {
    background-color: var(--bs-tertiary);
}
.arsial-home-bandi-avvisi a{
    text-decoration: none;
}
.arsial-home-bandi-avvisi .card-body {
    padding: 0;
}
.arsial-home-bandi-avvisi .card-body * {
    font-size: 1.5rem;
    font-weight: 600;
}

/* Newsletter */
.arsial-home-newsletter {
    background-image: url(../img/homepage_newsletter.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}
.arsial-home-newsletter .opacity-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.95;
    background: rgba(23, 50, 77, 0.50);
}
.arsial-home-newsletter .form-wrapper p {
    margin: 0 !important
}
.arsial-home-newsletter .form-wrapper {
    display: flex;
    align-items: stretch;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.arsial-home-newsletter .form-wrapper .input-wrapper input {
    border: 0;
    box-shadow: none !important;
}
.arsial-home-newsletter .form-wrapper .submit-wrapper p,
.arsial-home-newsletter .form-wrapper .submit-wrapper p input {
    height: 100%;
    max-height: 50px;
}
.arsial-home-newsletter .form-wrapper .submit-wrapper input {
    background-color: var(--bs-secondary);
}
.arsial-home-newsletter .form-wrapper .submit-wrapper input:hover {
    background-color: var(--bs-tertiary);
}
.arsial-home-newsletter .privacy-wrapper .wpcf7-acceptance,
.arsial-home-newsletter .privacy-wrapper .wpcf7-acceptance > p {
    margin: 0;
}
.arsial-home-newsletter .privacy-wrapper label,
.arsial-home-newsletter .privacy-wrapper a {
    font-size: 1rem;
    color: white;
}
.arsial-home-newsletter .wpcf7-form .form-check [type=checkbox] + label::after {
    top: -2px;
}
.arsial-home-newsletter .wpcf7-form .form-check [type=checkbox]:checked + label::before {
    top: 2px;
}
.arsial-home-newsletter .privacy-wrapper .form-check [type=checkbox]:not(:checked) + label::after {
    border-color: white;
}
.arsial-home-newsletter .wpcf7-not-valid-tip {
    color: white;
}
.arsial-home-newsletter .fusion-alert .alert-icon, .fusion-alert .fusion-alert-content {
    color: white;
}
.arsial-home-newsletter .wpcf7 .wpcf7-form.invalid .wpcf7-response-output {
    background-color: rgba(219,75,104,0.5);
}
@media (max-width: 450px) {
    .arsial-home-newsletter .form-wrapper {
        flex-direction: column;
    }
    .arsial-home-newsletter .form-wrapper .submit-wrapper p,
    .arsial-home-newsletter .form-wrapper .submit-wrapper p input {
        width: 100%;
    }
}

/* Siti tematici */
.arsial-home-siti-tematici .arsialSwiper {
    padding: 0 24px;
}
.arsial-home-siti-tematici .arsialSwiper .swiper-wrapper {
    overflow: visible;
}
.arsial-home-siti-tematici .arsialSwiper {
    border-radius: 0;
}
.arsial-home-siti-tematici .swiper-wrapper {
    padding-bottom: 2rem;
}
.arsial-home-siti-tematici .arsialSwiper-pagination {
    bottom: 0;
    width: 100% !important;
    justify-content: center !important;
    gap: 15px;
}
.arsial-home-siti-tematici .arsialSwiper-pagination .swiper-pagination-bullet {
    background: #7D7D7D;
    width: 10px;
    height: 10px;
    opacity: 1;
}
.arsial-home-siti-tematici .arsialSwiper-pagination .swiper-pagination-bullet-active {
    background: var(--bs-secondary);
}
.arsial-home-siti-tematici .arsialSwiper-nav {
    background-color: #CBD2E0;
    color: var(--bs-tertiary);
}
.arsial-home-siti-tematici .swiper-slide .arsial-box {
    padding: 1.5rem;
    border-radius: 0.25rem;
    display: flex;
    justify-content: space-between;
    transition: all 0.2s;
}
.arsial-home-siti-tematici .swiper-slide .arsial-box:hover {
    transition: all 0.2s;
    border: 2px solid var(--bs-tertiary) !important;
}
.arsial-home-siti-tematici .swiper-slide .arsial-box:hover svg path {
    transition: all 0.2s;
}
.arsial-home-siti-tematici .swiper-slide .arsial-box:hover svg path,
.arsial-home-siti-tematici .swiper-slide .box-link:hover {
    color: var(--bs-tertiary) !important;
    fill: var(--bs-tertiary) !important;
}
.arsial-home-siti-tematici .swiper-slide .content-wrapper p {
    color: var(--bs-base-600)
}
@media (max-width: 1400px) {
    .arsial-home-siti-tematici .arsialSwiper-nav {
        display: none !important;
    }
}