@font-face {
    font-family: TitilliumWeb-Regular;
    src: url(../fonts/TitilliumWeb-Regular.ttf);
}

@font-face {
    font-family: TitilliumWeb-Bold;
    src: url(../fonts/TitilliumWeb-Bold.ttf);
}

@font-face {
    font-family: TitilliumWeb-SemiBold;
    src: url(../fonts/TitilliumWeb-SemiBold.ttf);
}

@font-face {
    font-family: Amiri-Regular;
    src: url(../fonts/Amiri-Regular.ttf);
}

@font-face {
    font-family: ITCGaramondStd-BdNarrow;
    src: url(../fonts/ITCGaramondStd-BdNarrow.ttf);
}

body {
    font-family: TitilliumWeb-Regular;
}

html {
	scroll-padding-top: 100px;
}

@media (max-width: 576px) {
	html {
		scroll-padding-top: 100px;
	}
}

.page {
    margin-bottom: 0
}

@media screen and (min-width:992px) {
    body {
        background-color: #f4f4f4;
    }
}

@media (min-width: 992px) {
    .col-lg-3 {
        flex: 0 0 auto;
        width: 22%;
    }
    .col-lg-7 {
        flex: 0 0 auto;
        width: 61.333333%;
    }
}

.fw-bold {
    font-family: TitilliumWeb-Bold!important;
    font-weight: normal!important;
}

.fw-normal {
    font-family: TitilliumWeb-Regular!important;
    font-weight: normal!important;
}

strong {
    font-family: TitilliumWeb-Bold;
    font-weight: normal!important;
}

.font-semibold {
    font-family: TitilliumWeb-SemiBold !important;
}

:hover, img {
    transition: all .2s ease-in-out;
}

a {
    color: inherit;
    text-decoration: underline;
}

a:hover {
    text-decoration: underline;
    text-underline-offset: 6px;
    color: inherit
}

a:visited, a:focus {
    color: inherit;
}

.cursor-pointer {
    cursor: pointer;
}

.btn:active, .btn:hover, .btn:focus {
    border-color: transparent
}

#preNav {
    background-color: #558454;
}

#preNav img {
    width: 25px
}

#preNavMobile {
    color: #667E5B
}

#preNavMobile a {
    line-height: 2;
}

#preNav a {
    text-decoration: none;
    color: #ffffff;
    font-family: TitilliumWeb-Bold;
    font-size: 14px;
    line-height: 3;
}

#preNav a:hover, #preNav a:active {
    text-decoration: underline;
    text-underline-offset: 6px;
}

#preNav span {
    text-decoration: none;
    color: #ffffff;
    font-family: TitilliumWeb-Bold;
    padding: 0px 10px
}

.nav-logo {
    width: 266px;
    padding: 28px 0;
}

.search-button {
    font-family: TitilliumWeb-Bold;
    font-size: 16px;
    color: #212121;
    display: flex;
    align-items: center;
    padding: 8px 15px;
    text-decoration: none;
}

.search-button:hover, .search-button:focus {
    text-decoration: none;
    color: #212121;
}

#siteSearchModal {
    padding-right: 0px !important;
}

#siteSearchModal .modal-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#siteSearchModal .btn-close {
    padding: 40px;
    position: absolute;
    z-index: 999;
    right: 0;
}

#siteSearchModal .modal-content {
    background-color: #191919;
}

#siteSearchModal .modal-dialog {
    transform: scale(0.8);
    transition: transform 0.25s ease-out, opacity 0.25s ease-out;
    opacity: 0;
}

#siteSearchModal.show .modal-dialog {
    transform: scale(1);
    opacity: 1;
}

#siteSearchModal #search-form {
    display: flex;
    justify-content: center
}

#siteSearchModal .form-control {
    font-family: TitilliumWeb-Bold;
    text-align: left;
    padding-right: 40px;
    background-color: transparent;
    color: #ffffff;
    border: none;
    border-bottom: 1px solid #ffffff;
    border-radius: 0;
    font-size: 33px;
    max-width: 600px;
}

@media (max-width: 768px) {
    #siteSearchModal .form-control {
        font-size: 24px;
        width: 100%;
    }
}

.search-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.fa-custom {
	background: #979797;
	color: #FFFFFF;
    border-radius: 50%;
	margin: 0.15em;
    font-size: 14px;
}

.fa-custom:hover {
	background: #f78141;
}

@media screen and (max-width:576px) {
    .fa-custom {
        font-size: 20px;
    }
}

nav .fa-facebook-f {
    padding: 0.3em 0.5em;
}
nav .fa-youtube {
    padding: 0.3em 0.25em;
}
nav .fa-instagram {
    padding: 0.3em 0.4em;
}
nav .fa-twitter {
    padding: 0.3em 0.35em;
}
nav .fa-linkedin-in {
    padding: 0.3em 0.4em;
}

nav .form-control {
    border-radius: 2rem;
}

nav .form-control:focus {
    color: #212529;
    background-color: #fff;
    border-color: transparent;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgb(247 129 65 / 25%);
}

#nav {
    padding-right: 0 !important;
    padding-left: 0 !important;
    margin-top: 42px;
    box-shadow: 0 8px 8px -8px rgba(0, 0, 0, 0.15) !important;
    z-index: 1040;
}

#nav .navbar-content {
    width: 100%;
    overflow: visible !important;
}

#nav .container {
    align-items: normal;
    overflow: visible !important;
}

#nav.scrolled {
    margin-top: 0 !important;
    transition: margin-top 0.25s ease;
}

#nav .nav-link {
    font-family: TitilliumWeb-Bold;
    font-size: 16px;
    color: #212121;
    padding: 8px 15px;
    transition: none;
    border-bottom: 2px solid #ffffff;
}

#nav .nav-link:hover, #nav .nav-link:focus {
    text-decoration: none;
    border-bottom: 2px solid #212121;
}

/* highlight parent page in nav menu */
.parent-pageid-4016 .nav-programmazione,
.parent-pageid-5788 .nav-programmazione,
.parent-pageid-3990 .nav-programmazione,
.single-gal .nav-programmazione,
.single-misura .nav-programmazione,
.single-intervento .nav-programmazione,
.single-post .nav-bandi,
.page-id-5 .nav-bandi,
.parent-pageid-4109 .nav-progetti,
.page-id-351 .nav-media,
.parent-pageid-351 .nav-media,
.single-metasardegna-episodi .nav-media,
.page-id-179 .nav-news,
.page-id-3901 .nav-news,
.page-id-353 .nav-news,
.single-notizia .nav-news {
    border-bottom: 2px solid #F69561 !important;
}

/* highlight current page in nav menu */
.current {
    font-family: TitilliumWeb-Bold;
    background-color: #FDF8F6;
}

.current-megasubmenu {
    font-family: TitilliumWeb-Bold;
    background-color: #FDF8F6;
}

@media screen and (max-width:992px) {
    #preNav span {
        padding: 0px 0px
    }
}

.navbar-toggler:focus {
    box-shadow: none;
}

#nav ul {
    margin: 0
}

/* dropdown menu */

#nav .dropdown-menu {
    border: none;
    border-radius: 0;
    padding: 0;
}

#nav .dropdown-item {
    font-size: 16px;
    color: #212121;
    padding: 10px 15px;
    text-decoration: none;
}

#nav .dropdown-item:hover, #nav .dropdown-item:focus {
    background-color: #ffffff;
}

@media screen and (max-width:992px) {
    .navbar-collapse {
        max-height: 600px!important;
        overflow-y: auto!important;
    }
}

/* SUBMENU */

#nav .megasubmenu {
    border-left: 1px solid #979797
}

@media all and (min-width: 992px) {
    #nav .col-lg-10 {
        position: relative;
    }

    /* dropdown aligned to container, positioned under nav */
    #nav .navbar-nav > .nav-item > .dropdown-menu {
        position: absolute;
        left: calc(-8.333333% - 24px) !important;
        width: calc(100% + 16.666666% + 48px) !important;
        right: auto !important;
        top: 100%;
        margin-top: 0 !important;
        border: none;
        padding: 10px 0 0 0;
        background-color: transparent;
        box-sizing: border-box;
        z-index: 1041;
        overflow: visible;
        opacity: 0;
        transform: translateY(6px);
        transition: opacity .25s ease, transform .25s ease;
    }

    /* full-viewport white background that extends beyond the container */
    #nav .navbar-nav > .nav-item > .dropdown-menu::before {
        content: "";
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100vw;
        min-height: 100%;
        background: #ffffff;
        box-shadow: 0 8px 8px -8px rgba(0, 0, 0, 0.15);
        z-index: -1;
        pointer-events: none;
    }

    #nav .navbar-nav > .nav-item.dropdown {
        position: static;
    }

    #nav .navbar-nav > .nav-item > .dropdown-menu .dropdown-menu {
        position: static;
        box-shadow: none;
        padding: 0;
    }

    #nav .has-megasubmenu {
        position: relative;
    }

    #nav .has-megasubmenu > .megasubmenu,
    #nav .navbar-nav > .nav-item > .dropdown-menu .megasubmenu {
        position: absolute;
        top: 0;
        left: 400px;
        z-index: 2050;
        background: #ffffff;
        border-left: 1px solid #ffffff;
        box-shadow: none;
        padding: 0;
        display: none; /* visibility toggled by JS (slideToggle) */
        transition: background-color .3s ease;
    }

    #nav .dropdown-menu-psr > li:nth-child(2) .megasubmenu,
    #nav .dropdown-menu-media > li:nth-child(2) .megasubmenu {
        top: -52px !important;
    }

    #nav .has-megasubmenu.too-right .megasubmenu {
        left: auto;
        right: 0;
    }

    #nav .navbar-nav > .nav-item > .dropdown-menu > li > .dropdown-item {
        margin-left: 135px;
        max-width: 260px;
    }

    #nav .navbar-nav > .nav-item.show > .dropdown-menu,
    #nav .navbar-nav > .nav-item > .dropdown-menu.show {
        opacity: 1;
        transform: translateY(0);
    }
}

/* hamburger */

.hamburger {
    padding: 15px 15px;
    display: inline-block;
    cursor: pointer;
    transition-property: opacity, filter;
    transition-duration: 0.15s;
    transition-timing-function: linear;
    font: inherit;
    color: inherit;
    text-transform: none;
    background-color: transparent;
    border: 0;
    margin: 0;
    overflow: visible;
}
.hamburger:hover {
    opacity: 1;
}
.hamburger.is-active:hover {
    opacity: 1;
}
.hamburger.is-active .hamburger-inner,
.hamburger.is-active .hamburger-inner::before,
.hamburger.is-active .hamburger-inner::after {
    background-color: #538a52;
}

.hamburger-box {
    width: 40px;
    height: 24px;
    display: inline-block;
    position: relative;
}

.hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -2px;
}
.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
    width: 40px;
    height: 4px;
    background-color: #538a52;
    border-radius: 4px;
    position: absolute;
    transition-property: transform;
    transition-duration: 0.15s;
    transition-timing-function: ease;
}
.hamburger-inner::before, .hamburger-inner::after {
    content: "";
    display: block;
}
.hamburger-inner::before {
    top: -10px;
}
.hamburger-inner::after {
    bottom: -10px;
}
.hamburger--spin .hamburger-inner {
    transition-duration: 0.22s;
    transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
.hamburger--spin .hamburger-inner::before {
    transition: top 0.1s 0.25s ease-in, opacity 0.1s ease-in;
}
.hamburger--spin .hamburger-inner::after {
    transition: bottom 0.1s 0.25s ease-in, transform 0.22s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger--spin.is-active .hamburger-inner {
    transform: rotate(225deg);
    transition-delay: 0.12s;
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}
.hamburger--spin.is-active .hamburger-inner::before {
    top: 0;
    opacity: 0;
    transition: top 0.1s ease-out, opacity 0.1s 0.12s ease-out;
}
.hamburger--spin.is-active .hamburger-inner::after {
    bottom: 0;
    transform: rotate(-90deg);
    transition: bottom 0.1s ease-out, transform 0.22s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1);
}

#mainHeader {
    margin-top: 152px;
    transition: .2s ease-in-out
}

@media screen and (max-width:992px) {
    #mainHeader {
        margin-top: 100px;
    }
}

.orange {
    color: #f78141!important
}

.btn {
    font-size: 14px;
    font-family: TitilliumWeb-Bold;
    padding: 12px 24px;
    box-shadow: none;
    outline: none;
    border-radius: 24px
}

.btn-primary {
    color: #F0FEE4!important;
    /* background-color: #7F9873; */
    background-color: #558454;
    border: none;
    
}

.btn-primary-2 {
    color: #F0FEE4!important;
    background-color: #F68041;
    border: none;
}

.btn-secondary {
    color: #212121!important;
    background-color: transparent;
    border: 1px solid #212121;
}

.btn-light-orange {
    color: #212121!important;
    background-color: #F8E4D9;
    border: none;
}

.btn-red {
    color: #F0FEE4!important;
    background-color: #7f332c;
    border: none;
}

.btn:hover, .btn:active, .btn:focus {
    color: #ffffff!important;
    background-color: #212121;
    text-decoration: none;
}

@media screen and (max-width:576px) {
    .btn {
        width: 100%;
    }
}

.btn-green {
    color: #fff!important;
    background-color: #538952;
    font-size: 16px;
    font-family: TitilliumWeb-Bold;
    border-radius: 6px;
    padding-left: 25px;
    padding-right: 25px;
    border: none;
    box-shadow: none;
    outline: none;
}

.btn-light-green {
    color: #000!important;
    background-color: #6d9949;
    font-size: 16px;
    font-family: TitilliumWeb-Bold;
    border-radius: 6px;
    padding-left: 25px;
    padding-right: 25px;
    border: none;
    box-shadow: none;
    outline: none;
}

.btn-green-outline {
    color: #565656!important;
    background-color: #fff;
    font-size: 16px;
    font-family: TitilliumWeb-Bold;
    border-radius: 6px;
    padding-left: 25px;
    padding-right: 25px;
    border: 2px solid #538952;
    box-shadow: none;
    outline: none;
}

.btn-white-outline {
    color: #000!important;
    background-color: transparent;
    font-size: 16px;
    font-family: TitilliumWeb-Bold;
    border-radius: 6px;
    padding-left: 25px;
    padding-right: 25px;
    border: 2px solid #fff;
    box-shadow: none;
    outline: none;
}

.btn-orange {
    color: #fff!important;
    background-color: #f78141;
    font-size: 16px;
    font-family: TitilliumWeb-Bold;
    border-radius: 6px;
    padding-left: 25px;
    padding-right: 25px;
    border: none;
    box-shadow: none;
    outline: none;
}

.btn-orange-2 {
    color: #fff!important;
    background-color: #f78141!important;
    font-size: 12px!important;
    font-family: TitilliumWeb-Bold!important;
    border-radius: 6px!important;
    padding-left: 25px!important;
    padding-right: 25px!important;
    border: none!important;
    box-shadow: none!important;
    outline: none!important;
    line-height: 1.5!important;
}

.btn-orange-3 {
    color: #fff!important;
    background-color: #f78141!important;
    font-size: 12px!important;
    font-family: TitilliumWeb-Bold!important;
    border-radius: 6px!important;
    padding-left: 25px;
    padding-right: 25px;
    border: none!important;
    box-shadow: none!important;
    outline: none!important;
    line-height: 1.5!important;
}

.btn-gray {
    color: #4f4f4e!important;
    background-color: #e5e5e5;
    font-size: 16px;
    font-family: TitilliumWeb-Bold;
    border-radius: 6px;
    padding-left: 35px;
    padding-right: 35px;
    border: none;
    box-shadow: none;
    outline: none;
}

.btn-white, .btn-white-2 {
    color: #4f4f4e!important;
    background-color: #ffffff;
    font-size: 16px;
    font-family: TitilliumWeb-Bold;
    border-radius: 24px;
    padding: 12px 24px;
    border: none;
    box-shadow: none;
    outline: none;    
}

.btn-blue {
    color: #ffffff!important;
    background-color: #59ace0;
    font-size: 16px;
    font-family: TitilliumWeb-Bold;
    border-radius: 6px;
    border: none;
    box-shadow: none;
    outline: none;
    width: 119px;
    padding: 0;
}

.btn-blue:visited {
    color: #fff!important
}

.btn-blue-2 {
    color: #fff!important;
    background-color: #59ace0;
    font-size: 16px;
    font-family: TitilliumWeb-Bold;
    border-radius: 6px;
    padding-left: 25px;
    padding-right: 25px;
    border: none;
    box-shadow: none;
    outline: none;
}

.btn-brown {
    color: #fff!important;
    background-color: #57321E;
    font-size: 16px;
    font-family: TitilliumWeb-SemiBold;
    border-radius: 6px;
    padding-left: 25px;
    padding-right: 25px;
    border: none;
    box-shadow: none;
    outline: none;
}

.btn-dark-brown {
    color: #fff!important;
    background-color: #241106;
    font-size: 16px;
    font-family: TitilliumWeb-SemiBold;
    border-radius: 6px;
    padding-left: 25px;
    padding-right: 25px;
    border: 1px solid gray;
    box-shadow: none;
    outline: none;
}

.btn-green:hover,
.btn-gray:hover,
.btn-blue:hover,
.btn-blue-2:hover,
.btn-brown:hover,
.btn-dark-brown:hover,
.btn-white-2:hover,
.btn-white-outline:hover,
.btn-light-green:hover,
.btn-green:focus,
.btn-gray:focus,
.btn-blue:focus,
.btn-blue-2:focus,
.btn-brown:focus,
.btn-dark-brown:focus,
.btn-white-2:focus,
.btn-white-outline:focus,
.btn-light-green:focus {
    color: #ffffff !important;
    background-color: #f78141;
}

.btn-orange:hover,
.btn-green-outline:hover,
.btn-orange-2:hover,
.btn-orange-3:hover,
.btn-white:hover,
.btn-orange:focus,
.btn-green-outline:focus,
.btn-orange-2:focus,
.btn-orange-3:focus,
.btn-white:focus {
    color: #ffffff!important;
    background-color: #538952!important;
}

.btn:focus {
    box-shadow: none;
}

.btn-toggle .fas {
    color: #fff;
    opacity: .8;
    font-size: 30px;
}

.header-homepage-carousel .slick-dots {
    bottom: 30px;
}

.header-homepage-carousel .slick-dots li button:before{
    font-size: 50px;
    color: #212121;
    opacity: .3;
}

.header-homepage-carousel .slick-dots li.slick-active button:before {
    font-size: 65px;
    opacity: 1;
    color: #212121;
}

/* hero statico */
/* .slide-01 {
    background: url(../img/2026/hero-homepage-01.png);
}
.slide-02 {
    background: url(../img/2026/hero-homepage-02.png);
}
.slide-03 {
    background: url(../img/2026/hero-homepage-03.png);
}
@media screen and (max-width:767px) {
    .slide-01 {
        background: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/2026/hero-homepage-01.png);
    }
    .slide-02 {
        background: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/2026/hero-homepage-02.png);
    }
    .slide-03 {
        background: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/2026/hero-homepage-03.png);
    }
}*/

/* hero dinamico */
.header-homepage-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 720px;
}

@media screen and (max-width:992px) {
    .header-homepage-slide {
        position: relative;
    }
    
    .header-homepage-slide.has-overlay::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
    }
    
    .header-homepage-slide.has-overlay .container {
        position: relative;
        z-index: 1;
    }

    .header-homepage-carousel .slick-dots {
        filter: drop-shadow(0px 0px 12px #FFF);
    }
}

h1 {
    font-size: 65px;
    font-family: TitilliumWeb-Bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.2;
    letter-spacing: normal;
    color: #212121;
}

h2, .single-notizia h1, .single-intervento h1, .single-metasardegna-episodi h1 {
    font-size: 42px;
    font-family: TitilliumWeb-Bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.2;
    letter-spacing: normal;
    color: #212121;
}

h3 {
    font-size: 33px;
    font-family: TitilliumWeb-Bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.2;
    letter-spacing: normal;
    color: #212121;
}

h4, .single-post h1  {
    font-size: 27px;
    font-family: TitilliumWeb-Bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.5;
    letter-spacing: normal;
    color: #212121;
}

h5 {
    font-size: 21px;
    font-family: TitilliumWeb-Bold;
    line-height: 1.65;
    letter-spacing: normal;
    color: #212121;
}

@media screen and (max-width:576px) {
    h1 {
        font-size: 48px;
    }

    h2, .single-notizia h1 {
        font-size: 36px;
    }

    h3 {
        font-size: 26px;
    }
}

p, li, .content-notizia p {
    font-size: 17px;
    line-height: 32px;
    color: #616161;
}

.card-interventi-homepage-1 {
    background-color: #FDF8F6;
    border: 1px solid #F69561;
}

.card-interventi-homepage-2 {
    background-color: #FBEDE7;
    border: 1px solid #C77D50;
}

.card-interventi-homepage-3 {
    background-color: #F8DCCC;
    border: 1px solid #8B4C25;
}

.card-interventi-homepage {
    border-radius: 20px;
}

.card-interventi-homepage .card-body {
    padding: 25px;
}

@media screen and (max-width:400px) {
    .card-interventi-homepage .card-body {
        padding: 20px;
    }
}

.card-interventi-homepage .card-title {
    color: #8B4C25;
    font-size: 14px;
    font-family: TitilliumWeb-SemiBold;
}

.card-interventi-homepage .card-text {
    color: #3E1B06;
    font-size: 17px;
    font-family: TitilliumWeb-SemiBold;
}

@media screen and (max-width:1400px) {
    .bandi-home-carousel, .bandi-misure-carousel, .bandi-chiusi-misure-carousel {
        overflow-x: scroll;
        display: flex;
        padding-bottom: 30px
    }
}

.card-bandi-home {
    background-color: transparent;
    border: 1px solid #F9DF9F;
    border-radius: 20px;
}

.card-bandi-home .card-body {
    background-color: #FDF8F2;
    padding: 30px 30px 10px 30px;
    border-radius: 20px;
}

.card-bandi-home hr {
    background-color: #F9DF9F;
    margin: 0;
    margin-bottom: 20px;
    opacity: 1;
}

.card-bandi-home .hr-full {
    width: calc(100% + 60px);
    margin-left: -30px;
    margin-right: -30px;
    margin-top: 20px;
    margin-bottom: 10px;
}

.page-id-5 .card-bandi-home hr {
    background-color: #E0E0E0;
}

.card-bandi-wrap-labels {
    margin-bottom: 10px;
}

.card-bandi-label {
    color: #212121;
    font-size: 14px;
    font-family: TitilliumWeb-Bold;
    background-color: #F9DF9F;
    border-radius: 8px;
    padding: 6px 16px;
    margin-right: 10px;
    margin-bottom: 10px;
}
.card-bandi-label h6 {
    font-size: 14px;
}

.card-bandi-label:hover, .card-bandi-label:visited, .card-bandi-label:focus {
    color: #212121;
    text-decoration: none;
}

.card-bandi-home .card-text {
    font-size: 17px;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.65;
    letter-spacing: normal;
    color: #212121;
}

.card-bandi-home .card-info {
    font-size: 14px;
    color: #212121;
    font-family: TitilliumWeb-Bold;
}

.card-bandi-home .card-link {
    font-size: 14px;
    color: #212121;
    font-family: TitilliumWeb-Bold!important;
    padding: 12px;
    border-radius: 24px;
    display: block;
    text-decoration: none;
    width: 100%;
}
.card-bandi-home .card-link:hover {
    background-color: #D9D9D9;
}

@media screen and (min-width:992px) {
    .page-id-5 .card-bandi-home .card-link,
    .page-id-179 .card-notizie .card-link {
        width: 300px;
    }
}

@media screen and (max-width:767px) {
    .bandi-home-wrap {
        overflow-x: scroll;
        display: flex;
        flex-wrap: nowrap;
    }
    .bandi-home-wrap .card-col {
        max-width: 80%;
    }
}

@media screen and (max-width:576px) {
    .card-bandi-home .card-body {
        padding: 20px 20px 10px 20px;
    }
    .card-bandi-home .hr-full {
        width: calc(100% + 40px);
        margin-left: -20px;
        margin-right: -20px;
        margin-top: 20px;
        margin-bottom: 10px;
    }
}

.main-breadcrumbs {
    margin-top: 20px;
    margin-bottom: 0;
    color: #000000;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.main-breadcrumbs a,
.main-breadcrumbs span {
    font-family: TitilliumWeb-Regular;
    text-decoration: none;
    vertical-align: middle;
    white-space: nowrap;
}

.main-breadcrumbs a:hover {
    text-decoration: underline;
}

.main-breadcrumbs span {
    color: #616161
}

.main-breadcrumbs .fa-chevron-right {
    font-size: 14px;
    padding: 0 14px;
    color: #616161
}

@media screen and (max-width:767px) {
    .main-breadcrumbs {
        display: none;
    }
}

.main-breadcrumbs .title-truncate {
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* bandi */

.card-bandi .card-text {
    font-family: TitilliumWeb-SemiBold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.17;
    color: #212121;
}

.card-bandi .titolo-campo {
    font-family: TitilliumWeb-SemiBold;
    color: #333333;
    font-size: 20px;
    margin-bottom: 0;
    padding: 20px 0;
}

#contentBando p, .card-bandi .testo-campo {
    font-family: TitilliumWeb-Regular;
    color: #333333;
    font-size: 20px;
    margin-bottom: 0;
    padding: 20px;
}

.card-bandi .card-body .row {
    margin-bottom: 10px;
}

.card-bandi .contatti-bando .testo-campo h5 {
    font-family: TitilliumWeb-Regular;
    color: #333333;
    font-size: 20px;
    margin-bottom: 0;
}

.text-dark {
    color: #212121 !important;
}

.bg-secondary {
    background-color: #ededed!important;
}

.bg-secondary-2 {
    background-color: #d5d5d5;
}

.bg-black {
    background-color: black;
}

.bg-gray {
    background-color: #EDEDED;
}

.bg-gray-2 {
    background-color: #E5E5E5;
}

.bg-light-gray {
    background-color: #F6F6F6;
}

.bg-lighter-gray {
    background-color: #FAFAFA;
}

.bg-dark-gray {
    background-color: #D5D5D5;
}

.bg-brown {
    background-color: #A86439;
}

.bg-yellow {
    background-color: #FCEFD4;
}

.bg-light-yellow {
    background-color: #FDF8F2;
}

.bg-dark-yellow {
    background-color: #F9DF9F;
}

.bg-orange {
    background-color: #FBEDE7;
}

.bg-light-orange {
    background-color: #FDF8F6;
}

.bg-light-orange-2 {
    background-color: #F6E8DE;
}

.bg-dark-orange {
    background-color: #F78141;
}

.bg-dark-orange-2 {
    background-color: #B65820;
}

.text-black {
    color: #000000!important;
}

.text-green {
    color: #528851!important;
}

.bg-green {
    background-color: #528851;
}

.bg-green-2 {
    background-color: #477747;
}

.bg-green-3 {
    background-color: #7EA74A;
}

.text-orange-light {
    color: #CB733F;
}

.bg-dark-green {
    background-color: #558454;
}

.bg-light-green {
    background-color: #F8FEF0;
}

/* notizie */

@media screen and (max-width:767px) {
    .notizie-home-wrap {
        overflow-x: scroll;
        display: flex;
        flex-wrap: nowrap;
    }
    .notizie-home-wrap .card-col {
        max-width: 80%;
    }
}

.card-notizie {
    background-color: transparent;
    border: none;
    border-top: 20px solid #F9DF9F;
    border-radius: 20px;
}

.card-notizie .card-body {
    background-color: #FDF8F2;
    padding: 30px 30px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.card-notizie .card-title {
    font-size: 21px;
    font-family: TitilliumWeb-Bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.5;
    letter-spacing: normal;
    color: #212121;
}

.card-notizie .card-date {
    font-size: 14px;
    font-family: TitilliumWeb-Bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.65;
    letter-spacing: normal;
    color: #212121;
}

.card-notizie .card-text {
    font-size: 17px;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.65;
    letter-spacing: normal;
    color: #212121;
}

.card-notizie a {
    font-size: 14px;
    color: #212121;
    font-family: TitilliumWeb-Bold!important;
    padding: 12px;
    border-radius: 24px;
    text-decoration: none;
    width: 100%;
}
.card-notizie a:hover {
    background-color: #D9D9D9;
}

.single-notizia .post-thumbnail {
    margin-bottom: 40px;
}

.single-notizia .content-notizia a,
p a {
    font-family: TitilliumWeb-Bold;
    text-decoration: underline;
}

.home-utilita-download {
    min-height: 100px;
    border-radius: 5px;
    background-color: #538951;
    font-size: 16px;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    color: rgba(255, 255, 255, 0.85)!important;
}

.home-utilita-download:hover, .home-utilita-download:focus {
    color: rgba(255, 255, 255, 0.85)!important;
    background-color: #f78141;
}

.priorita-carousel .slick-slide {
    padding: 0 15px;
    height: 250px;
    display: flex !important;
    flex-direction: column;
    justify-content: flex-end;
    outline: none;
}

.priorita-carousel .priorita-item {
    background-color: #D9D9D9;
    color: #000000;
    border-radius: 8px;
    text-align: center;
    width: 100%;
    height: 150px;
    line-height: 150px;
    font-size: 42px;
    font-family: 'TitilliumWeb-Bold', sans-serif;
    transition: height 0.4s ease, line-height 0.4s ease, font-size 0.4s ease;
    cursor: pointer;
}

.priorita-carousel .slick-center .priorita-item {
    height: 250px;
    line-height: 250px;
}

.priorita-carousel .slick-arrow {
    z-index: 20;
    top: 50%;
}

@media (max-width: 576px) {
    .priorita-carousel .slick-slide {
        justify-content: flex-end; 
    }

    .priorita-carousel .slick-current .priorita-item {
        height: 250px;
        line-height: 250px;
        opacity: 1;
        font-size: 42px;
    }

    .priorita-carousel .slick-slide:not(.slick-current) .priorita-item {
        height: 150px !important;
        line-height: 150px !important;
        opacity: 0.6;
        font-size: 36px;
    }
}

.custom-arrow {
    width: 32px;
    height: 32px;
    border: 1px solid #212121;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    box-sizing: border-box;
}

.custom-arrow:hover {
    background-color: #212121;
}

.custom-arrow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 2px;
    background-color: #212121;
    transition: background-color 0.3s ease;
    display: block;
}

.custom-arrow::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 14px;        
    height: 14px;
    border-top: 2px solid #212121;   
    border-right: 2px solid #212121; 
    transition: border-color 0.3s ease;
    display: block;
}

.custom-arrow:hover::before {
    background-color: #ffffff;
}

.custom-arrow:hover::after {
    border-color: #ffffff;
}

.custom-prev::after {
    left: 9px; 
    transform: translateY(-50%) rotate(-135deg);
}

.custom-next::after {
    right: 9px; 
    transform: translateY(-50%) rotate(45deg);
}

/* NEWSLETTER - CONTACTFORM */

.newsletter-wrapper {
    position: relative;
}

.newsletter-wrapper p {
    margin-bottom: 0;
}

#mainNewsletter .form-control {
    border-radius: 24px;
    width: 100%;
    padding: 15px 130px 15px 20px;
    text-align: start;
    border: none;
    background-color: #ffffff;
    height: 48px;
    line-height: 1;
    box-sizing: border-box;
}

#mainNewsletter .form-control::placeholder {
    color: #999;
}

.newsletter-submit {
    position: absolute;
    right: 0;
    top: 0;
    color: #212121!important;
    background: #F8E4D9!important;
    border: none!important;
    font-weight: bold!important;
    padding: 12px 24px!important;
    border-radius: 24px!important;
    cursor: pointer;
    transition: all 0.3s ease;
    width: auto!important;
    height: 48px;
}

.newsletter-submit:hover {
    background: #212121!important;
    color: #ffffff!important;
}

.newsletter-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#mainNewsletter .wpcf7-spinner {
    position: absolute;
    right: 0;
    margin: 0;
}

.wpcf7-response-output {
    color: #ffffff!important;
}

#mainNewsletter .wpcf7-list-item {
    margin: 0;
}

#mainNewsletter .wpcf7-list-item-label {
    color: #ffffff !important;
}

#mainNewsletter .wpcf7-not-valid-tip {
    color: #ffffff;
    font-size: 17px;
    padding-top: 10px;
    text-align: center;
}

@media screen and (max-width:576px) {
    #mainNewsletter .form-control {
        padding: 10px 15px;
        text-align: center;
        height: 48px;
    }
    
    .newsletter-submit {
        position: static;
        transform: none;
        width: 100% !important;
        margin-bottom: 20px;
        height: 48px;
    }
    
    #mainNewsletter .wpcf7-spinner,
    #formDomande .wpcf7-spinner {
        display: none;
    }
}

/* footer */
footer {
    background-color: #D6E5CA;
}

@media screen and (min-width:376px) {
    .footer-logo {
        width: 240px;
    }
}

footer p {
    color: #212121;
}

footer a {
    font-size: 17px;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.38;
    letter-spacing: normal;
    color: #616161 !important;
    text-decoration: none;
}

footer .social-icon a:hover {
    color: #212121 !important;
}

#postFooter {
    background-color: #558454;
    padding: 8px 0;
}

.page-404 {
    height: 600px
}

#searchBar .form-control {
    background-color: #ffffff;
    border-radius: 0;
    border: solid 1px #BDBDBD;
    color: #212121;
    font-size: 17px;
    padding: 8px 12px;
    margin-bottom: 16px;
}

#searchBar .form-control.form-select {
    padding: 8px 30px 8px 12px;
}

#searchBar .form-control:focus,
#searchBar .form-select:focus,
#formDomande .form-select:focus {
    color: #212121;
    background-color: #fff;
    border-color: transparent;
    outline: 0;
    box-shadow: 0 0 0 0.25rem #FCEFD4;
}

#searchBar input::placeholder {
    color: #BDBDBD;
    font-size: 17px;
}

#searchBar .label {
    font-size: 14px;
    padding: 2px 12px;
    margin-bottom: 0;
    color: #212121;
}

#searchBar .btn-searchbar-reset {
    font-size: 14px;
    font-family: TitilliumWeb-Bold;
    padding: 12px 24px;
    box-shadow: none;
    outline: none;
    border-radius: 24px;
    color: #212121!important;
    background-color: #F9DF9F;
    border: none;
}

#searchBar .btn-searchbar-reset:hover, #searchBar .btn-searchbar-reset:focus, #searchBar .btn-searchbar-reset:active {
    background-color: #212121;
    color: #ffffff !important;
}

#searchBar .js-wpv-dps-spinner {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translate(-50%, -50%);
}

#filter-bandi-orderby .dropdown-toggle::after {
    display: none;
}

#filter-bandi-orderby .wpv-sort-control-select {
    border: solid 1px #BDBDBD;
    color: #BDBDBD !important;
    font-size: 17px;
    padding: 8px 35px 8px 35px;
    margin-bottom: 30px;
    background-image: url(../img/2026/material-symbols_filter-arrow-right.svg);
    background-repeat: no-repeat;
    background-position: left 10px center;
    background-size: 18px;
    appearance: none;
}

#filter-bandi-orderby .wpv-sort-control-select:focus {
    outline: none;
    border-color: #BDBDBD;
}

#filter-bandi-orderby .wpv-sort-control-select option {
    color: #212121 !important;
}

#filter-bandi-orderby .wpv-sort-control-select option:disabled {
    color: #BDBDBD !important;
}

.page-id-5 .card-bandi-home hr {
    background-color: #E0E0E0;
}

.page-id-5 .card-bandi-home {
    margin-bottom: 30px;
}

.card-bandi hr {
    background-color: #747474;
}

.card-bandi .card-bandi-tag span {
    color: #212121;
    font-size: 14px;
    border: 1px solid #F9DF9F;
    border-radius: 7px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 2px;
    margin-top: 0.5rem!important;
    text-transform: lowercase;
    display: inline-block;
}

.card-bandi .card-bandi-tag a  {
    text-decoration: none;
}

.link-documenti-bando {
    font-size: 14px;
    color: #538952!important
}

#formDomande .form-control {
    color: #616161 !important;
    font-size: 17px;
    border: 0;
    border-radius: 24px;
    padding: 10px 30px;
}

#formDomande .form-control:focus {
    color: #616161 !important;
    background-color: #fff;
    border-color: transparent;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgb(249 223 159 / 50%);
}

#formDomande .form-label {
    font-family: TitilliumWeb-Bold;
    font-size: 14px;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    color: #565656;
}

#formDomande .form-check-label {
    font-size: 12px;
    color: #000000;
}

#formDomande .form-select {
    border: 0;
    border-radius: 0;
}

#formDomande .wpcf7-list-item {
    margin: 0
}

#formDomande .form-check {
    padding-left: 0
}

#formDomande .wpcf7-list-item-label {
    padding-left: 6px;
}

#formDomande .wpcf7-response-output {
    color: #212529!important;
    text-align: center!important;
}

#formDomande .wpcf7 .ajax-loader {
    position: absolute!important;
}

#formDomande .wpcf7-spinner {
    position: absolute;
    bottom: 35px;
    margin: 0;
}

#formDomande .btn-secondary {
    color: #212121!important;
    background-color: transparent;
    font-size: 14px;
    font-family: TitilliumWeb-Bold;
    padding: 12px 24px;
    border: 1px solid #212121;
    box-shadow: none;
    outline: none;
    border-radius: 24px
}

#formDomande .btn-secondary:hover, #formDomande .btn-secondary:active, #formDomande .btn-secondary:focus {
    color: #ffffff !important;
    background-color: #212121 !important;
    text-decoration: none !important;
}

@media screen and (max-width:576px) {
    #formDomande .btn-secondary {
        width: 100% !important;
    }
}

#accordionBandi .accordion-collapse {
    border: none;
    border-top: 1px solid #979797
}

#accordionBandi .accordion-button {
    border-bottom-width: 0
}

#accordionBandi .accordion-button {
    background-color: #ffffff;
    width: 43px;
    height: 43px;
    box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.15) !important;
    border-radius: 50%;
    position: relative;
    bottom: -20px;
}

#accordionBandi .accordion-button:focus {
    border: none;
    outline: 0;
    box-shadow: none;
}

#accordionBandi .accordion-button::after {
    position: relative;
    left: -8px;
    top: 2px;
    font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f078";
    color: #565656;
    font-size: 16px;
    background-image: none
}

#accordionBandi .accordion-button:not(.collapsed)::after {
    transform: rotate(180deg);
    top: -2px;
}

/* PSR 2014/2020 */

.page-psr1420-header {
    position: absolute;
    left: 190px;
    top: 51px;
    z-index: 10;
    font-size: 23px;
    font-family: TitilliumWeb-Bold;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    color: #fff;
    background: url(../img/14-20/header-title.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    width: 400px;
    padding: 0 120px
}

@media screen and (max-width:1400px) {
    .page-psr1420-header {
        left: 135px;
        top: 38px;
    }
}

@media screen and (max-width:1200px) {
    .page-psr1420-header {
        left: 85px;
        top: 25px;
        padding: 0 0 1px 0
    }
}

@media screen and (max-width:992px) {
    .page-psr1420-header {
        background: url(../img/14-20/path-green-header.png);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center top;
        left: 35px;
        top: 4px;
        width: 360px;
        padding: 0 0 8px 0
    }
}

@media screen and (max-width:767px) {
    .page-psr1420-header {
        left: 0px;
        top: 0px;
        width: 300px;
        padding: 0
    }
}

#accordion1420 button {
    font-size: 14px;
    font-family: TitilliumWeb-SemiBold;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: center;
    color: #ffffff;
    border: none;
    border-radius: 0;
    width: 100%;
}

#accordion1420 .separator-accordion-button {
    height: 60px;
    border-left: solid 1px #ffffff;
}

@media screen and (max-width:767px) {
    #accordion1420 button {
        min-height: 60px!important;
        min-width: 150px!important;
    }
}

@media screen and (max-width:767px) {
    .accordion-psr-carousel {
        overflow-x: scroll;
        overflow-y: hidden;
    }
    .accordion-psr-carousel {
        padding-bottom: 100px;
        height: 60px;
    }
}





#accordion1420 button:focus, #accordion1420 button:active, #accordion1420 button:hover{
    background-color: #30552F;
}

#accordion1420 button:not(.collapsed) {
    background-color: #30552F;
}

.bg-green-accordion {
    background-color: #528851;
}

@media screen and (max-width:767px) {
    .bg-green-accordion {
        background-color: transparent
    }
}

#accordion-button-1:not(.collapsed)::after {
    content: '';
    position: absolute;
    left: 6.5%;
    top: 100%;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    clear: both;
    border-top: 10px solid #30552F;
}

#accordion-button-2:not(.collapsed)::after {
    content: '';
    position: absolute;
    left: 23%;
    top: 100%;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    clear: both;
    border-top: 10px solid #30552F;
}

#accordion-button-3:not(.collapsed)::after {
    content: '';
    position: absolute;
    left: 39.5%;
    top: 100%;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    clear: both;
    border-top: 10px solid #30552F;
}

#accordion-button-4:not(.collapsed)::after {
    content: '';
    position: absolute;
    left: 72.5%;
    top: 100%;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    clear: both;
    border-top: 10px solid #30552F;
}

#accordion-button-5:not(.collapsed)::after {
    content: '';
    position: absolute;
    left: 56%;
    top: 100%;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    clear: both;
    border-top: 10px solid #30552F;
}

#accordion-button-6:not(.collapsed)::after {
    content: '';
    position: absolute;
    left: 89%;
    top: 100%;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    clear: both;
    border-top: 10px solid #30552F;
}

@media screen and (max-width:767px) {
    #accordion-button-1:not(.collapsed)::after {
        top: 60px;
        left: 55px
    }
    #accordion-button-2:not(.collapsed)::after {
         top: 60px;
         left: 205px
    }
    #accordion-button-3:not(.collapsed)::after {
         top: 60px;
         left: 360px
    }
    #accordion-button-4:not(.collapsed)::after {
         top: 60px;
         left: 660px
    }
    #accordion-button-5:not(.collapsed)::after {
         top: 60px;
         left: 510px
    }
    #accordion-button-6:not(.collapsed)::after {
         top: 60px;
         left: 810px
    }
}

@media screen and (max-width:576px) {
    #accordion-button-1:not(.collapsed)::after {
        left: 70px;
    }
    #accordion-button-2:not(.collapsed)::after {
        left: 220px;
    }
    #accordion-button-3:not(.collapsed)::after {
        left: 375px;
    }
    #accordion-button-4:not(.collapsed)::after {
        left: 675px;
    }
    #accordion-button-5:not(.collapsed)::after {
        left: 525px;
    }
    #accordion-button-6:not(.collapsed)::after {
        left: 825px;
    }
}

#download-button a {
    text-decoration: none;
}

.documenti-download {
    border-radius: 10px;
    background-color: #FBEDE7;
    padding: 15px 30px;
    border: 1px solid #F69561;
    margin-bottom: 20px;
}

.documenti-download:hover {
    background-color: #F69561;
}

.documenti-download p {
    color: #212121;
    font-size: 14px;
    font-family: TitilliumWeb-Bold;
    line-height: 24px;
}

.sticky-menu {
    position: sticky;
    top: 174px;
}

@media (max-width: 992px) {
    .sticky-menu {
        position: static;
        top: auto;
    }
}

.list-group-item {
    color: #000000 !important;
    font-size: 17px;
    padding: 10px 20px;
    border-radius: 0 !important;
    border: none !important;
}

.list-group-item:focus {
    outline: none;
}

.list-group-item-action:focus, .list-group-item-action:hover {
    background-color: #FDF8F6;
}

.list-group-item.active {
    font-family: TitilliumWeb-Bold;
    background-color: #FDF8F6;
    border-color: transparent;
}

.sidebar-nav-item {
    font-family: TitilliumWeb-SemiBold;
    color: #000000 !important;
    font-size: 17px;
    padding: 10px 20px;
    display: block;
    text-decoration: none;
    width: 100%
}

.sidebar-nav-item:hover, .sidebar-nav-item:focus {
    background-color: #FDF8F6;
    outline: none;
    text-decoration: none;
}

.list-item-number {
    color: #F68041;
    padding: 4px 24px;
    background-color: #FBEDE7;
    border-radius: 22px;
    font-size: 21px;
    margin-right: 15px;
    position: relative;
    bottom: 3px;
}

#comeAderireCards .card {
    border: none;
    border-radius: 6px;
}

@media screen and (min-width:1201px) {
    #comeAderireCards .card {
        min-height: 350px;
    }
}

#comeAderireCards .card img {
    width: 45px;
}

#comeAderireCards .first-card {
    background-color: rgba(83, 138, 82, 0.77);
}

#comeAderireCards .second-card {
    background-color: rgba(83, 138, 82, 0.9);
}

#comeAderireCards .third-card {
    background-color: #538a52;
}

@media screen and (min-width:1201px) {
    .triangle-green {
        position: absolute;
        width: 45px;
        transform: translate(-30px,80%);
        z-index: 10;
    }
}

@media screen and (max-width:1200px) {
    .triangle-green {
        display: none;
    }
}

#comeAderireCards .fa-caret-down {
    color: #30552F;
    font-size: 12em;
    line-height: 0;
    z-index: 10;
    top: -18px;
    position: relative;
}

#come-aderire button:not(.collapsed) {
    background-color: #538a52;
}
    
#come-aderire button {
    font-size: 22px;
    font-family: TitilliumWeb-Bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1;
    letter-spacing: normal;
    text-align: left;
    text-transform: uppercase;
    color: #ffffff;
    background-color: #538a52;
    border: none;
    border-radius: 6px;
    width: 100%;
    padding-top: 6px;
    padding-bottom: 6px;
}

#come-aderire button:focus, #come-aderire button:active, #come-aderire button:hover {
    background-color: #538a52;
    box-shadow: none;
}

#come-aderire .accordion-button::after {
    flex-shrink: 0;
    width: 28px;
    height: 9px;
    margin-left: auto;
    content: "";
    background-image: url(../img/14-20/arrow-white.svg);
    background-repeat: no-repeat;
    background-size: 28px;
    transition: transform .2s ease-in-out;
}

#come-aderire .accordion-button:not(.collapsed)::after {
    background-image: url(../img/14-20/arrow-white.svg);
    transform: rotate(180deg);
}

#come-aderire .accordion-collapse {
    background-color: #d8e4d9;
    border-radius: 6px;
}

#come-aderire .accordion-number {
    background: #30552F;
    min-width: 37px;
    min-height: 37px;
    border-radius: 6px;
}

/* Misure */

.page-misure-header, .page-leader-header {
    position: absolute;
    left: 190px;
    top: 51px;
    z-index: 10;
    font-size: 23px;
    font-family: TitilliumWeb-Bold;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    color: #fff;
    background: url(../img/misure/header-title.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    width: 400px;
    padding: 0 120px
}

@media screen and (max-width:1400px) {
    .page-misure-header, .page-leader-header {
        left: 135px;
        top: 38px;
    }
}

@media screen and (max-width:1200px) {
    .page-misure-header, .page-leader-header {
        left: 85px;
        top: 25px;
        padding: 0 0 1px 0
    }
}

@media screen and (max-width:992px) {
    .page-misure-header, .page-leader-header {
        background: url(../img/misure/path-yellow-header.png);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center top;
        left: 35px;
        top: 4px;
        width: 360px;
        padding: 0 0 8px 0
    }
}

@media screen and (max-width:767px) {
    .page-misure-header, .page-leader-header {
        left: 0px;
        top: 0px;
        width: 300px;
        padding: 0
    }
}

.text-misure {
    color: #de9b00;
}

.bg-tipo-intervento {
    background-color: #ededed;
    border-left: 8px solid #de9b00;
}

#headerMisura .post-thumbnail img {
    object-fit: cover;
    object-position: center;
    max-height: 258px;
    width: 100%;
}

#misureTag a {
    color: #212121;
    font-size: 14px;
    border: 1px solid #F9DF9F;
    border-radius: 7px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 2px;
    margin-top: 0.5rem !important;
    text-transform: lowercase;
    display: inline-block;
    text-decoration: none;
}

/* Leader */

.hr-leader {
    background-color: #707070;
}

#chartGal .chart {
    border-radius: 50%;
    width: 100%;
    height: 0;
    padding-top: 100%;
    float: left;
    padding-right: 20px;
}

#chartGal .chart-leader-page {
    background: conic-gradient(#4A9E20 3%, #F9B916 0 8%, #FD4100 0 51%, #034483 0 95%, #6CCFFF 0 97%, #8A0612 0);
}

@media screen and (max-width:992px) {
    #chartGal .chart {
        width: 50%;
        padding-top: 50%;
    }
}

@media screen and (max-width:576px) {
    #chartGal .chart {
        width: 75%;
        padding-top: 75%;
    }
}

#chartGal .dot {
    height: 15px;
    width: 15px;
    border: 1px solid #707070;
    border-radius: 50%;
    display: inline-block;
}

#chartGal .blue {
    background-color: #034483;
}
#chartGal .orange {
    background-color: #FD4100;
}
#chartGal .yellow {
    background-color: #F9B916;
}
#chartGal .green {
    background-color: #4A9E20;
}
#chartGal .purple {
    background-color: #8A0612;
}
#chartGal .cyan {
    background-color: #6CCFFF;
}

#chartGal .gray {
    background-color: #A5A5A5;
}

/* LEADER MAPS */

/* Square */

#mappaGal h2 {
    color: #565656;
    font-size: 31px;
}

.gal-square {
    height: 30px;
    width: 30px;
}

.anglona-romangia {
    background-color: #53cd52;
}
.barbagia {
    background-color: #53b152;
}
.barigadu-guilcer {
    background-color: #53b18b;
}
.campidano {
    background-color: #538732;
}
.distretto-rurale-bmg {
    background-color: #536700;
}
.gallura {
    background-color: #f8e03f;
}
.linas-campidano {
    background-color: #f8cd3f;
}
.logudoro {
    background-color: #f8a33f;
}
.marghine {
    background-color: #f78041;
}
.marmilla {
    background-color: #ce6541;
}
.nuorese-baronia {
    background-color: #a46541;
}
.ogliastra {
    background-color: #5ea9d6;
}
.sarcidano {
    background-color: #398295;
}
.sgt {
    background-color: #5ebeee;
}
.sinis {
    background-color: #7c342d;
}
.sulcis-iglesiente {
    background-color: #b1342d;
}
.terras-de-olia {
    background-color: #e1342d;
}

/* MAP */

#mappaGal2 svg {
    position: relative;
    top: 0;
    left: 0;
    width: 360px!important;
    height: auto;
    max-width: 100%;
}

.level-outline {
    position: absolute;
    top: -1px;
    left: 0;
    pointer-events: none;
    width: 360px!important
}

#mappaGal2 svg path {
    cursor: pointer;
    transition: all .3s ease-in;
}

/* dynamic leader map hover effect */
#mappaGal2:hover svg path:not(:hover):not(#pathSardegna):not(.path-sulcis) {
    fill: #c5c5c5!important;
}
#mappaGal2:hover .path-sulcis {
    fill: #c5c5c5!important;
}
#mappaGal2:hover #gSulcis:hover path  {
    fill:#b1342d!important
}

.gal-elenco-comuni ol {
    counter-reset: item;
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    width: 100%;
}

.gal-elenco-comuni li {
    font-size: 14px;
    display: block;
}

@media screen and (min-width:768px) {
    .gal-elenco-comuni ol {
        max-height: 22em;
    }
    .gal-elenco-comuni li {
        margin-right: 1.5rem!important;
    }
}

@media screen and (min-width:1201px) {
    .gal-elenco-comuni li {
        min-width: 175px;
    }
}

.gal-elenco-comuni li:before { 
    content: counter(item) "  "; 
    counter-increment: item ;
    background-color: #D5D5D5;
    text-align: center;
    display: inline-block;
    width: 50px;
    font-family: TitilliumWeb-Bold;
    margin-right: 0.5rem!important;
}

#galMaps img {
    max-height: 400px;
}

.immagine-gal img {
    width: 100%
}

/* pagination news/bandi */

.wpv-archive-pagination-nav-links-container .page-link,
.wpv-archive-pagination-nav-links .page-link,
.wpv-pagination-nav-links-container .page-link,
.wpv-pagination-nav-links .page-link,
.wpv-pagination-preview-element .page-link {
    font-size: .9em;
    text-decoration: none !important;
    padding: 10px 15px;
    line-height: 1.25;
    border: 1px solid #BDBDBD;
    margin: 0px 16px 0px 0px;
    color: #212121 !important;
}

.wpv_page_ellipsis {
    margin-right: 16px;
}

.wpv-pagination-nav-links-item.active .page-link {
    background-color: #F9DF9F;
    border: 1px solid #BDBDBD;
}

.wpv-pagination-nav-links-item .page-link:focus {
    box-shadow: 0 0 0 0.25rem #FCEFD4 !important;
}

.wpv-filter-next-link, .wpv-filter-previous-link, .wpv-filter-first-link, .wpv-filter-last-link, .wpv-filter-pagination-link {
    font-size: .9em;
    text-decoration: none !important;
    padding: 10px 15px;
    line-height: 1.25;
    border: 1px solid #BDBDBD;
    margin: 0px 16px 0px 0px;
    color: #212121 !important;
}

/* pagination results search page */

.posts-navigation {
    padding-bottom: 30px!important;
}

#sardegna-rurale h2 {
    font-family: Amiri-Regular;
    font-size: 34px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 0.74;
    letter-spacing: normal;
    color: #7f332c;
}

#sardegna-rurale h4 {
    font-family: Amiri-Regular;
    font-size: 20px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.55;
    letter-spacing: normal;
    color: #565656;
}

#sardegna-rurale p {
    font-family: Amiri-Regular;
    font-size: 16px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.38;
    letter-spacing: normal;
    color: #565656;
}

#lost-in-sardinia hr {
    background-color: #979797
}

.content-load {
    display: none;
}

.noContent {
    pointer-events: none;
    opacity: 0.5;
}

#tutto-e-agricoltura .collage img {
    border: 8px solid #ffffff
}

@media screen and (max-width:576px) {
    #tutto-e-agricoltura .collage img {
        border: 4px solid #ffffff
    }
}

.h3-20 {
    font-size: 20px;
    font-family: TitilliumWeb-Regular;
}

#tutto-e-agricoltura .navigation {
    background: url(../img/media/item-red.png);
    background-size: 100%;
    background-repeat: no-repeat;
}

#tutto-e-agricoltura .navigation h5 {
    color: #fff;
    position: absolute;
    bottom: 0;
    transition: all .3s ease-out;
}

#tutto-e-agricoltura .navigation a:hover h5 {
    text-decoration: underline;
}

#tutto-e-agricoltura .navigation a:hover img {
    box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.45) !important;
}

.slide-tutto-e-agricoltura-1 {
    height: 577px;
    width: 100%;
    position: relative;
    background: url(../img/media/slide-01.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.slide-tutto-e-agricoltura-2 {
    height: 577px;
    width: 100%;
    position: relative;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 30%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0),rgb(255, 255, 255)), url(../img/media/slide-02.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.slide-tutto-e-agricoltura-3 {
    height: 577px;
    width: 100%;
    position: relative;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 30%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0),rgb(255, 255, 255)), url(../img/media/slide-03.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.slide-tutto-e-agricoltura-4 {
    height: 577px;
    width: 100%;
    position: relative;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 30%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0),rgb(255, 255, 255)), url(../img/media/slide-04.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.tutto-e-agricoltura-carousel h5 {
    font-family: TitilliumWeb-Regular;
}

.tutto-e-agricoltura-carousel h5:hover {
    color: #f78141!important
}

#tutto-e-agricoltura-modal .modal-content {
    border-radius: 0;
}

#tutto-e-agricoltura-modal .modal-header {
    border-bottom: 0;
}

#tutto-e-agricoltura-modal .modal-body {
    padding: 0 3rem 2rem 3rem
}

.modal-open {
    overflow: auto !important;
    padding-right: 0px !important;
}

.material-landing-download:hover .btn {
    background-color: #212121;
    color: #ffffff !important;
    text-decoration: none !important;
}

.opportunita-carousel .card {
    border: 10px solid #F6F6F6;
}

.opportunita-carousel .card .card-month {
    color: #fff;
    background-color: #538952;
}

.opportunita-carousel .card .fas {
    top: 9px;
    left: 0px;
}

.text-blue {
    color: #28559D
}

.text-light-blue {
    color: #51A7DB
}

.opportunita-carousel .slick-prev:before {
    font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f053";
    color: #979797;
    font-size: 30px;
}

.opportunita-carousel .slick-next:before{
    font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f054";
    color: #979797;
    font-size: 30px;
    right: -70px;
}

.opportunita-carousel .slick-prev{
    left: -70px;
    top: 70px
}

.opportunita-carousel .slick-next{
    right: -70px;
    top: 70px
}

/* NUOVA NORMATIVA */

#searchBarNormative .btn-filter-normative {
    color: #ffffff!important;
    background-color: #838383;
    width: 100%;
    font-size: 17px;
    border-radius: 0;
}
#searchBarNormative .btn-filter-normative:hover,
#searchBarNormative .btn-filter-normative:active,
#searchBarNormative .btn-filter-normative:focus {
    color: #ffffff!important;
    background-color: #565656;
}

#searchBarNormative .disabilitato {
    padding: 1.1rem 1.25rem;
}

.accordion-button.disabilitato::after {
    display: none;
}

#searchBarNormative .accordion-collapse {
    border: none
}

#searchBarNormative .accordion-button {
    border: none;
    border-radius: 0;
}

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

#searchBarNormative .accordion-button:not(.collapsed) {
    color: #ffffff;
    background-color: #838383;
}

#searchBarNormative .accordion-button:hover,
#searchBarNormative .accordion-button:focus {
    background-color: #565656;
}

#searchBarNormative .accordion-button::after {
    background-image: url(../img/bandi/arrow-bottom-filter.svg);
}

#searchBarNormative .accordion-button:not(.collapsed)::after {
    background-image: url(../img/bandi/arrow-top-filter.svg);
    transform: rotate(180deg);
}

#searchBarNormative .accordion-body {
    padding: 0
}

#searchBarNormative a:hover {
    color: #fff!important;
    text-decoration: underline;
}

#searchBarNormative .active {
    font-family: TitilliumWeb-Bold;
    background-color: #565656;
}

#normativa ul li::marker {
    color: #528851;
}

#searchBarNormative input {
    margin-right: 0.5rem
}

#searchBarNormative .form-group input {
    background-color: #ffffff;
    border-radius: 0;
    border: solid 1px #BDBDBD;
    color: #212121;
    font-size: 17px;
    padding: 8px 12px;
    margin-bottom: 16px;
}

#searchBarNormative .form-group input:focus {
  	box-shadow: 0 0 0 0.25rem rgb(247 129 65 / 25%);
  	border: solid 1px transparent;
}

#searchBarNormative .accordion-item {
	border: 0!important;
}

#searchBarNormative label {
    font-size: 17px;
}

#searchBarNormative .radio {
    margin-bottom: 16px !important;
}

#searchBarNormative input[type="radio"] {
    /* remove standard background appearance */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* create custom radiobutton appearance */
    display: inline-block;
    width: 15px;
    height: 15px;
    padding: 1px;
    /* background-color only for content */
    background-clip: content-box;
    border: 1px solid #bbbbbb;
    background-color: transparent;
    border-radius: 50%;
}
  
/* appearance for checked radiobutton */
#searchBarNormative input[type="radio"]:checked {
    background-color: #558454;
}

/* UTILITA */

#infografiche .card {
    min-height: 250px;
    border-radius: 25px;
    transition: all .2s ease-out;
}

#infografiche .card a {
    font-size: 18px;
    color: #fff
}

#infografiche .card .card-title {
    font-size: 28px;
    color: #fff;
    max-width: 180px;
}

#infografiche .card img {
    width: 40px
}

#infografiche .card a:hover{
    text-decoration: underline;
    color: #fff!important
}

#infografiche .card.card-1 {
    background: url(../img/utilita/1b.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

#infografiche .card.card-1:hover {
    background: url(../img/utilita/1a.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

#infografiche .card.card-2 {
    background: url(../img/utilita/2b.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

#infografiche .card.card-2:hover {
    background: url(../img/utilita/2a.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

#infografiche .card.card-3 {
    background: url(../img/utilita/3b.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

#infografiche .card.card-3:hover {
    background: url(../img/utilita/3a.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

#infografiche .card.card-4 {
    background: url(../img/utilita/4b.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

#infografiche .card.card-4:hover {
    background: url(../img/utilita/4a.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

/* content infografica */

#infografica-singola .post-thumbnail img {
    width: 100%!important
}

#infografica-singola iframe {
    display: block;
    background: #fff;
    border: none;
    height: 100vh;
    width: 100vw;
}

.infografiche-utilita-carousel .slick-prev:before {
    font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f053";
    color: #979797;
    font-size: 30px;
}

.infografiche-utilita-carousel .slick-next:before{
    font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f054";
    color: #979797;
    font-size: 30px;
}

/* WEB DOC SARDEGNA RURALE */

.sardegna-rurale-template p {
    font-size: 17px;
}

#sardegna-rurale-home .overlay {
    position: relative;
    display: inline-block;
}

#sardegna-rurale-home .overlay span {
    color: #ffffff;
    position: absolute!important;
    left: 10px;
    bottom: 0;
    font-family: ITCGaramondStd-BdNarrow;
    font-size: 80px;
    line-height: 1;
}

/* HACKATON CAMP 2022 - TIMELINE PROGRAMME */

#progettiTimeline h4 {
    font-weight: bold;
}

#progettiTimeline p {
    margin-bottom: 0;
}

#progettiTimeline .card {
    border: 0
}

#progettiTimeline .card-body {
    padding: 0
}

#progettiTimeline .timeline {
    border-left: 2px solid #C19C98;
    margin: 0 auto;
    letter-spacing: 0.2px;
    position: relative;
    line-height: 1.4em;
    font-size: 1.03em;
    padding: 0 50px;
    list-style: none;
    text-align: left;
}

@media (min-width: 768px) {
    #progettiTimeline .timeline {
        left: 130px;
    }
}

@media (max-width: 767px) {
    #progettiTimeline .timeline {
        max-width: 98%;
        padding: 0 25px;
    }
}

#progettiTimeline .timeline p {
    color: #7F332C;
    font-weight: bold;
}

#progettiTimeline .timeline p span {
    color: #94c11e;
    font-size: 18px;
}

#progettiTimeline .timeline .event {
    margin-bottom: 25px;
    position: relative;
}

@media (max-width: 767px) {
    #progettiTimeline .timeline .event {
        padding-top: 30px;
    }
}

#progettiTimeline .timeline .event:last-of-type {
    padding-bottom: 0;
    margin-bottom: 0;
    border: none;
}

#progettiTimeline .timeline .event:before,
#progettiTimeline .timeline .event:after {
    position: absolute;
    display: block;
    top: 0;
}

#progettiTimeline .timeline .event:before {
    left: -207px;
    content: attr(data-date);
    text-align: right;
    font-size: 18px;
    min-width: 120px;
    color: #7F332C;
}

@media (max-width: 767px) {
    #progettiTimeline .timeline .event:before {
        left: 0px;
        text-align: left;
    }
}

#progettiTimeline .timeline .event:after {
    -webkit-box-shadow: 0 0 0 3px #7F332C;
    box-shadow: 0 0 0 3px #7F332C;
    left: -55.5px;
    background: #7F332C;
    border-radius: 50%;
    height: 9px;
    width: 9px;
    content: "";
    top: 5px;
}

@media (max-width: 767px) {
    #progettiTimeline .timeline .event:after {
        left: -30px;
    }
}

#progettiTimeline .rtl .timeline {
    border-left: 0;
    text-align: right;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
    border-right: 3px solid #7F332C;
}

#progettiTimeline .rtl .timeline .event::before {
    left: 0;
    right: -170px;
}

#progettiTimeline .rtl .timeline .event::after {
    left: 0;
    right: -55.8px;
}

#progettiTimeline .accordion-button::after {
    display: none;
}

#progettiTimeline .accordion-button {
    font-family: TitilliumWeb-Regular;
    color: #4f4f4e;
    transition: none;
    border-bottom: 1px solid #E0E0E0;
    padding: 0 0 15px 0;
}

#progettiTimeline .accordion-button:not(.collapsed), #progettiTimeline .accordion-button:focus {
    font-family: TitilliumWeb-Bold;
    color: #94c11e;
    background-color: #fff;
    border-bottom: 1px solid #94c11e;
    box-shadow: none;
}

#carouselHackatonFotoIndicators {
    height: auto!important
}

#hackatonFotoModalContainer .modal-header, #metasardrgnaModalContainer .modal-header {
    border-bottom: none;
}

/* CAMPAGNA 2023 */

.li-green li {
    list-style-type: square;
}

.li-green li::marker {
    color: #538a52;
}

.card-conosci-il-csr  {
    border-radius: 20px;
    background-color: #538a52;
    transition: all .2s ease-in-out;
}

.card-conosci-il-csr:hover  {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.card-conosci-il-csr img  {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    object-fit: cover;
    min-height: 220px;
}

.card-conosci-il-csr h4 {
    text-transform: uppercase;
    color: #ffffff;
    font-weight: bold;
    text-align: center;
}

.card-materiali, .card-materiali-2 {
    border-radius: 20px;
}

@media screen and (max-width:767px) {
    .card-materiali img {
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
    }
}

@media screen and (min-width:768px) {
    .card-materiali img {
        border-top-left-radius: 20px;
        border-bottom-left-radius: 20px;
        transform: scaleX(1.01);
    }
}

@media screen and (max-width:767px) {
    .card-materiali-2 img {
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
    }
}

@media screen and (min-width:768px) {
    .card-materiali-2 img {
        border-top-right-radius: 20px;
        border-bottom-right-radius: 20px;
        transform: scaleX(1.01);
    }
}

@media screen and (max-width:992px) {
    .bg-gray-section {
        background: url(https://sardegnapsr.it/wp-content/uploads/2023/03/gray-bg-header-lo-sviluppo-rurale-in-sardegna-guarda-al-futuro.png);
        background-repeat: no-repeat;
        background-size: cover;
    }
    .bg-green-section {
        background: url(https://sardegnapsr.it/wp-content/uploads/2023/04/section-bg-green.png);
        background-repeat: no-repeat;
        background-size: cover;
        padding-top: 100px;
        padding-bottom: 100px;
    }
}

@media screen and (min-width:993px) {
    .bg-gray-section {
        background: url(https://sardegnapsr.it/wp-content/uploads/2023/03/gray-bg-header-lo-sviluppo-rurale-in-sardegna-guarda-al-futuro.png);
        background-repeat: no-repeat;
        background-size: 100% 710px;
    }
    .bg-green-section {
        background: url(https://sardegnapsr.it/wp-content/uploads/2023/04/section-bg-green.png);
        background-repeat: no-repeat;
        background-size: 100% 370px;
        padding-top: 50px;
        padding-bottom: 90px;
    }
}

.primary-table a {
    text-decoration: none;
}

.primary-table a:hover {
    text-decoration: underline;
}

.primary-table th {
    padding: 10px 12px 10px 12px;
    min-width: 150px;
    font-family: 'TitilliumWeb-Bold';
    color: #000000
}

@media screen and (max-width:767px) {
    .primary-table th {
        min-width: 100px;
    }
}

.primary-table-header {
    background-color: #FDF8F6;
    vertical-align: middle;
    border-bottom: 1px solid #E0E0E0;
}

.primary-table-header th, .primary-table-header td {
    font-family: 'TitilliumWeb-Semibold' !important;
    color: #333333 !important;
    vertical-align: middle;
}

@media screen and (min-width:767px) {
    .border-md-start {
        border-left: 1px solid #dee2e6 !important;
    }
}

/* Contest Universitario */
.h-24 {
    font-size: 24px;
}

.contest-lo-sviluppo-rurale-guarda-al-futuro h2 {
    font-size: 25px;
}
.contest-lo-sviluppo-rurale-guarda-al-futuro p {
    font-size: 17px;
}
@media screen and (min-width:992px) {
    .contest-uni-fase-1 {
        background: url(https://sardegnapsr.it/wp-content/uploads/2023/04/mobile-fase-1-min.png);
        background-size: 100%;
        background-repeat: no-repeat;
        padding-top: 65%;
        min-height: 820px;
        background-color: #F78141;
    }
    .contest-uni-fase-2 {
        background: url(https://sardegnapsr.it/wp-content/uploads/2023/04/mobile-fase-2-min.png);
        background-size: 100%;
        background-repeat: no-repeat;
        padding-top: 65%;
        min-height: 820px;
        background-color: #53A7DB;
    }
    .contest-uni-fase-3 {
        background: url(https://sardegnapsr.it/wp-content/uploads/2023/04/mobile-fase-3-min.png);
        background-size: 100%;
        background-repeat: no-repeat;
        padding-top: 65%;
        min-height: 820px;
        background-color: #7EA74A;
    }
    .contest-uni-fase-4 {
        background: url(https://sardegnapsr.it/wp-content/uploads/2023/04/mobile-fase-4-min.png);
        background-size: 100%;
        background-repeat: no-repeat;
        padding-top: 65%;
        min-height: 820px;
        background-color: #E8C91C;
    }
}
@media screen and (max-width:991px) {
    .contest-uni-fase-1 {
        background: url(https://sardegnapsr.it/wp-content/uploads/2023/04/mobile-fase-1-min.png);
        background-size: 100%;
        background-repeat: no-repeat;
        padding-top: 80%;
        min-height: 720px;
        background-color: #F78141;
    }
    .contest-uni-fase-2 {
        background: url(https://sardegnapsr.it/wp-content/uploads/2023/04/mobile-fase-2-min.png);
        background-size: 100%;
        background-repeat: no-repeat;
        padding-top: 80%;
        min-height: 720px;
        background-color: #53A7DB;
    }
    .contest-uni-fase-3 {
        background: url(https://sardegnapsr.it/wp-content/uploads/2023/04/mobile-fase-3-min.png);
        background-size: 100%;
        background-repeat: no-repeat;
        padding-top: 80%;
        min-height: 720px;
        background-color: #7EA74A;
    }
    .contest-uni-fase-4 {
        background: url(https://sardegnapsr.it/wp-content/uploads/2023/04/mobile-fase-4-min.png);
        background-size: 100%;
        background-repeat: no-repeat;
        padding-top: 80%;
        min-height: 720px;
        background-color: #E8C91C;
    }
}

@media screen and (min-width:993px) {
    .contest-lo-sviluppo-rurale-guarda-al-futuro .slick-dots {
        bottom: 30px;
    }
}

@media screen and (max-width:992px) {
    .contest-lo-sviluppo-rurale-guarda-al-futuro .slick-dots {
        bottom: 85px;
    }
}

@media screen and (max-width:767px) {
    .contest-lo-sviluppo-rurale-guarda-al-futuro .slick-dots {
        bottom: 50px;
    }
}

.contest-lo-sviluppo-rurale-guarda-al-futuro .slick-dots li {
    margin: 0 8px;
}

.contest-lo-sviluppo-rurale-guarda-al-futuro .slick-dots li button:before {
    font-family: 'slick';
    font-size: 50px;
    line-height: 20px;
    position: absolute;
    width: 20px;
    height: 20px;
    content: '•';
    text-align: center;
    opacity: .75;
    color: #fff;
    transition: .2s ease-in-out;
}

.contest-lo-sviluppo-rurale-guarda-al-futuro .slick-dots li.slick-active button:before {
    opacity: 1;
    transform: scale(1.5);
    color: #fff;
}

/* Contest Universitario FORM */

#contestPsr .wpcf7-form input[type="text"], #contestPsr .wpcf7-form input[type="email"], #contestPsr .wpcf7-form textarea {
    width: 100% !important;
    padding: 8px;
}

#contestPsr .wpcf7-list-item {
    margin: 0;
}

#contestPsr .wpcf7-response-output {
    color: #404040 !important;
}

#contestPsr .wpcf7-response-output {
    margin: 0;
}

#contestPsr .wpcf7 form.invalid .wpcf7-response-output {
    /* fix drag&drop empty invalid form */
    border-color: transparent;
}

#contestPsr .wpcf7-list-item-label {
    padding-left: 10px;
}

.cd-upload-btn {
    text-decoration: underline !important;
}

.cd-upload-btn:hover, .cd-upload-btn:active {
    color: #f78141;
}

/* Contest Universitario FORM - custom input checkbox */

#contestPsr .wpcf7-list-item label {
    display: flex;
    align-items: center;
}

#contestPsr input[type="checkbox"] {
    /* Add if not using autoprefixer */
    -webkit-appearance: none;
    appearance: none;
    /* For iOS < 15 to remove gradient background */
    background-color: #fff;
    /* Not removed via appearance */
    margin: 0;
}

#contestPsr input[type="checkbox"] {
    appearance: none;
    background-color: #fff;
    margin: 0;
    font: inherit;
    color: #cdcdcd;
    min-width: 24px;
    width: 24px;
    height: 24px;
    border: 0.15em solid #cdcdcd;
    border-radius: 0;
    transform: translateY(-0.075em);
    display: grid;
    place-content: center;
}

#contestPsr .form-control + #contestPsr .form-control {
    margin-top: 1em;
}

#contestPsr input[type="checkbox"]::before {
    content: "";
    width: 14px;
    height: 14px;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    box-shadow: inset 1em 1em #538a52;
    background-color: CanvasText;
}

#contestPsr input[type="checkbox"]:checked::before {
    transform: scale(1);
}

#contestPsr .dnd-upload-counter {
    display: none;
}

/* Contest Istituti Agrari */

#accordionForms .accordion-button-form {
    font-size: 14px;
    font-family: TitilliumWeb-SemiBold;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: center;
    color: #ffffff;
    border: none;
    border-radius: 0;
    width: 100%;
}

#accordionForms .separator-accordion-button {
    height: 60px;
    border-left: solid 1px #ffffff;
}

#accordionForms .accordion-button-form:focus, #accordionForms .accordion-button-form:active, #accordionForms .accordion-button-form:hover{
    background-color: #30552F;
}

#accordionForms .accordion-button-form:not(.collapsed) {
    background-color: #30552F;
}

#accordion-button-form-1:not(.collapsed)::after {
    content: '';
    position: absolute;
    left: 15.5%;
    top: 100%;
    width: 0;
    height: 0;
    border-left: 13px solid transparent;
    border-right: 13px solid transparent;
    clear: both;
    border-top: 15px solid #30552F;
}

#accordion-button-form-2:not(.collapsed)::after {
    content: '';
    position: absolute;
    left: 48.5%;
    top: 100%;
    width: 0;
    height: 0;
    border-left: 13px solid transparent;
    border-right: 13px solid transparent;
    clear: both;
    border-top: 15px solid #30552F;
}

#accordion-button-form-3:not(.collapsed)::after {
    content: '';
    position: absolute;
    left: 82%;
    top: 100%;
    width: 0;
    height: 0;
    border-left: 13px solid transparent;
    border-right: 13px solid transparent;
    clear: both;
    border-top: 15px solid #30552F;
}

@media screen and (max-width:767px) {
    #accordion-button-form-1:not(.collapsed)::after {
        top: 60px;
        left: 13%;
    }
    #accordion-button-form-2:not(.collapsed)::after {
        top: 60px;
        left: 47%;
    }
    #accordion-button-form-3:not(.collapsed)::after {
        top: 60px;
        left: 80%;
    }
}

/* contact form repeater fields (plugin Conditional Fields PRO) */
@media screen and (min-width:992px) {
    .wpcf7cf_repeater_controls {
        position: relative;
        top: -54px;
        right: -40px;
        z-index: -1;
    }
    .wpcf7cf_remove-container {
        position: relative;
        right: -70px;
    }
    .wpcf7cf_remove, .wpcf7cf_remove:focus {
        margin-right: 0 !important;
    }
}
.wpcf7cf_repeater_controls {
    margin-top: 0 !important;
    display: flex;
    justify-content: end !important;
}
.wpcf7cf_add, .wpcf7cf_add:focus {
    color: #538a52;
    background: transparent;
    border: 1px solid #538a52;
    border-radius: 50%;
    padding: 1px 6px 4px 6px;
    font-size: 20px;
}
.wpcf7cf_remove, .wpcf7cf_remove:focus {
    color: #538a52;
    background: transparent;
    border: 1px solid #538a52;
    border-radius: 50%;
    padding: 1px 9px 4px 9px;
    font-size: 20px;
    margin-right: 15px;
}
.wpcf7cf_add:hover, .wpcf7cf_remove:hover {
    color: #f78141;
    border: 1px solid #f78141;
}

/* MEDIA - MetaSardegna web serie */
@media (min-width: 992px) {
    .parent-pageid-351 .col-lg-7 {
        flex: 0 0 auto;
        width: 58.33333333%;
    }
}

.img-aziende-agricole {
    object-fit: cover;
    object-position: center;
    max-height: 100px;
    min-height: 100px;
    width: 35%;
}

.img-meta-galleria {
    object-fit: cover;
    min-height: 100%;
    object-position: center;
}
@media screen and (max-width:576px) {
    .img-meta-galleria {
        max-height: 400px;
        min-height: 200px;
    }
}
@media screen and (min-width:1400px) {
    .img-meta-galleria-md-8 {
        max-height: 568px;
        min-height: 568px;
    }
    .img-meta-galleria-md-4 {
        height: 208px;
    }
}

.img-single-azienda-agricola {
    object-fit: cover;
    object-position: center;
    max-height: 320px;
}

#social-green i {
    background: #ffffff;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    padding-top: 6px;
    color: #528851;
}

#social-green i:hover {
    background: #ffffff;
    color: #f78141;
}

#social-green a {
    text-decoration: none;
}

/* campagna Il PSR Sardegna investe nello sviluppo rurale */

.orange-ul {
    list-style: square;
    padding-left: 20px;
}

.orange-ul li::marker {
    color: #CB733F;
}

.counter-number {
    font-size: 45px;
    font-family: TitilliumWeb-Bold;
}

.counter-element {
    background: #D6956B;
    width: 24px;
    height: 4px;
    margin-left: auto;
    margin-right: auto;
}