/**
 * Nome applicativo: PAT
 * Licenza di utilizzo: GNU Affero General Public License» versione 3 e successive: https://spdx.org/licenses/AGPL-3.0-or-later.html
 */

:root {
  /* OF Modifica colori CSS come cmrc */
  /* --primary: #007a52; */
  --primary: #0059b3;
  /* --primaryhover: #00402b; */
  --primaryhover: #0066CC;
  /* --topHeader: #00402b; */
  --topHeader:#B20000;
  /* --topHeaderButton:#007a52; */
  --topHeaderButton:#0066CC;
  /* --topHeaderButtonHover:#0d9065; */
  --topHeaderButtonHover:#3399FF;
  /* --footer:#007a52; */
  --footer:#0059b3;
}

.color-primary {
  color:var(--primary);
}

a {
  color:var(--primary);
  text-decoration: underline;
}

a:hover {
  text-decoration:underline;
  color:var(--primaryhover);
}

p > a {
  text-decoration:underline;
}

html {
  scroll-behavior: smooth;
}

body {
  font-size:16px;
  font-weight: 500;
}

header .hamburger {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 10rem;
}

header .hamburger button {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
}

header .hamburger button img {
  width: 3rem;
}

#intro-home {
  padding: 2rem 0;
  box-shadow: 0 4px 2rem rgba(0, 0, 0, 0.05);
}

#argomenti {
  padding: 2rem 0;
}

#banner-cards {
  padding: 4rem 0;
  background: #FBFBFB;
}

#banner-cards .wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

#banner-cards .box {
  padding: 2rem;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  color: #555555;
  background: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#banner-cards .box .titolo {
  margin-bottom: 1rem;
}

#banner-cards .box .titolo .icona {
  color: var(--primary);
}

#banner-cards .box .titolo h3 {
  display: inline;
  font-size: 1rem;
  text-transform: uppercase;
}

#banner-cards .box .contenuto {
  margin-bottom: 2rem;
}

footer {
  background: var(--footer);
  color: #fff;
  padding: 2rem 0;
}

footer a {
  color: #fff;
}

footer a:hover {
  color: #fff;
}

footer .wrapper {
  display: -ms-grid;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

footer .logo {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

footer .logo img {
  width: 2.5rem;
  margin-right: .5rem;
}

footer .logo h2 {
  font-size: 1.8rem;
}

footer .colonna h3 {
  text-transform: uppercase;
  padding: 0 0 .5rem 0;
  margin: 0 0 1rem 0;
  border-bottom: 1px solid #fff;
  font-size: 1.1rem;
}

footer .social {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 1.2rem;
}

footer .social li {
  display: inline-block;
  margin-right: .2rem;
}

footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

footer .logo-it {
  width: 150px;
}

/* COMPONENTI */
.titolo-sm {
  font-size: 1rem;
}

.lista-bullet {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.lista-bullet::after {
  content: '';
  width: 3px;
  height: 90%;
  background: #E7E7E7;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: .4rem;
}

.lista-bullet li {
  margin: 0 0 1rem 0;
  padding: 0 0 0 1.5rem;
  position: relative;
}

.lista-bullet li::before {
  content: '';
  width: 1rem;
  height: 1rem;
  background: #E7E7E7;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

.lista-bullet li:hover::before {
  background: var(--primary);
}

.lista-bullet .current {
  font-weight: bold;
}

.lista-bullet .current::before {
  background: var(--primary);
}

.lista-bullet-orizzontale {
  list-style: none;
  margin: 0;
  padding: 0;
  display: -ms-grid;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.lista-bullet-orizzontale li::before {
  content: '';
  display: inline-block;
  width: 1rem;
  height: 1rem;
  background: #E7E7E7;
  border-radius: 50%;
  margin-right: .5rem;
}

.lista-bullet-orizzontale li:hover::before {
  background: var(--primary);
}

.lista-bullet-orizzontale .current {
  font-weight: bold;
}

.lista-bullet-orizzontale .current::before {
  background: var(--primary);
}

.lista-argomenti {
  list-style: decimal;
  display: -ms-grid;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap:0;
  margin: 0;
  padding: 0;
}

.lista-argomenti a {
  color: #000;
  font-size: 1.5rem;
}

.lista-argomenti li {
  margin: 0 0 0 1.5rem;
}

.lista-argomenti li::marker {
  font-weight: 500;
  color: var(--primary);
}

.lista-anchor {
  list-style: none;
  margin: 0;
  padding: 0;
}

.lista-anchor a {
  color: var(--primary);
  text-decoration: none;
  display: block;
}

.lista-anchor li {
  padding: .5rem 0 .5rem 1rem;
}

.lista-anchor li:active {
  border-left: 4px solid var(--primary);
}

.lista-anchor li:hover {
  border-left: 4px solid var(--primary);
}

.lista-anchor .active {
  border-left: 4px solid var(--primary);
}

.sidebar-sticky {
  height: 100%;
}

.sidebar-sticky h3 {
  font-size: 1rem;
  text-transform: uppercase;
}

.sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 1rem;
}

.data-creazione {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
}

.data-creazione .icona {
  color: var(--primary);
  margin-right: .3rem;
}

.pulsante-freccia {
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  font-size: .9rem;
}


.pulsante-freccia::after {
  content: '\f061';
  font-family: "Font Awesome 5 Free";
  font-weight: 600;
  margin-left: .3rem;
}

.card-icona {
  padding: 2rem;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  color: #555555;
  background: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position:relative;
}

.card-icona a {
  text-decoration: none;
}

.card-icona a:hover {
  text-decoration: underline;
}

.card-icona h3 {
  font-size: 1.1rem;
  font-weight: 500;
}

.card-icona .contenuto {
  margin-bottom: 2rem;
}

.card-icona .icona {
  font-size: 1.5rem;
  color: var(--primary);
}

.card-icona .contatti a {
  color: #000;
  margin-bottom: .3rem;
  font-weight: 560;
}

.card-icona .contatti a span {
  color: var(--primary);
  margin-right: .6rem;
}

.card-allegato, .card-richiamo {
  padding: 1.2rem;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  color: #555555;
  font-weight: 600;
  background: #fff;
  word-break: break-word;
}

.card-allegato a, .card-richiamo a {
  color: var(--primary);
  font-size:1rem;
}

/*.card-allegato span, .card-richiamo span {
  color: var(--primary);
}*/

/* label {
  font-weight: bold;
}

input[type="text"], input[type="date"] {
  background: #fff;
  border-radius: 2rem;
  border: 1px solid #CED4DA;
  font-weight: 400;
  padding: 0 1rem;
} */

.img-evidenza-personale {
  width: 100%;
  height: 350px;
  object-fit: cover;
  margin-bottom: 1rem;
}

.testo-blu {
  color: var(--primary);
}

.box-risultato {
  margin-top: 1.2rem;
  padding-bottom: 1.2rem;
}
.box-risultato .categoria {
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 2px;
  display: inline-block;
}

.box-risultato h3 {
  font-size: 1.2rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  .box-risultato {
    border-bottom: 1px solid #d8d8d8;
  }
}

.pulsante-ricerca {
  border: none;
  background: #fff;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  margin-left: 1rem;
}

.pulsante-ricerca span {
  color: var(--primary);
}

#modalRicerca .modal-dialog {
  width: 100%;
  max-width: 100%;
  margin: 0;
  height: 100%;
}

#modalRicerca .modal-content {
  height: 100%;
  overflow-y: auto;
}

#modalRicerca .modal-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 2rem;
}

#modalRicerca .modal-header button {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 1rem;
}

#modalRicerca .modal-header h2 {
  margin-left: 2rem;
}

#modalRicerca form input[type="text"] {
  width: 100%;
  border-radius: 0;
  padding: 1rem 1rem 1rem 3rem;
  font-size: 2rem;
  height: 60px;
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 1px solid #CED4DA;
}

#modalRicerca form input[type="text"]::-webkit-input-placeholder {
  font-size: 2rem;
}

#modalRicerca form input[type="text"]:-ms-input-placeholder {
  font-size: 2rem;
}

#modalRicerca form input[type="text"]::-ms-input-placeholder {
  font-size: 2rem;
}

#modalRicerca form input[type="text"]::placeholder {
  font-size: 2rem;
}

#modalRicerca form button[type="submit"] {
  background: none;
  border: none;
  color: var(--primary);
  text-transform: uppercase;
  font-weight: 600;
}

#modalRicerca .icona-cerca {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: 1.5rem;
}

#modalRicerca .filtri button {
  margin: 0 .5rem .5rem 0;
}

#modalRicerca .pulsante-ricerca-form {
  background: none;
  border: none;
  color: var(--primary);
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
}

/* fine COMPONENTI */
/* OVERRIDE BOOSTRAP ITALIA */
.it-socials a {
  color: #fff;
  margin-left: .3rem;
}

.it-brand-wrapper .logo {
  width: 4rem;
  margin-right: 1rem;
}
.it-header-slim-wrapper {
  background: var(--topHeader);
}

.header-slim-right-zone .btn-primary {
  background-color:var(--topHeaderButton);
}
.header-slim-right-zone .btn-primary:hover {
  background-color:var(--topHeaderButtonHover);
}

.it-header-center-wrapper {
  height: auto;
  padding: 2rem 0;
}

.search-link {
  text-decoration: none;
}

.search-link:hover {
  text-decoration: none;
}

.dropdown-toggle[aria-expanded="false"]::after {
  content: '\f078';
  font-family: "Font Awesome 5 Free";
  font-weight: 600;
  margin-left: .3rem;
}

.dropdown-toggle[aria-expanded="true"]::after {
  content: '\f077';
  font-family: "Font Awesome 5 Free";
  font-weight: 600;
  margin-left: .3rem;
}

@media (max-width: 992px) {
  .search-link {
    color: #fff;
  }
  .search-link:hover {
    color: #fff;
  }
}

label {
  font-size: .9rem;
}

.link-list-wrapper ul li a {
  line-height: 150%;
  display: block;
  padding: 0 1.5rem;
  position: relative;
  text-decoration: none;
  margin-bottom: 1rem;
}


.input-group-text {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  padding: 0.375rem 0.75rem;
  margin-bottom: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  text-align: center;
  white-space: nowrap;
  background-color: #e9ecef;
  border: 1px solid #ced4da !important;
  border-radius: 0.25rem;
}

.input-group-text input[type="radio"],
.input-group-text input[type="checkbox"] {
  margin-top: 0;
}

input[type="date"].form-control,
input[type="time"].form-control,
input[type="datetime-local"].form-control,
input[type="month"].form-control {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.input-group>.form-control:not(:first-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.input-group>.form-control, .input-group>.form-control-plaintext {
    position: relative;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
    margin-bottom: 0;
}

.form-control {
    display: block;
    width: 100%;
    height: calc(2.40rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #5d7083;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #9fa1a4;
    border-radius: 0px;
    box-shadow: inset 0 0 0 transparent;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

label {
    display: inline-block;
    margin-bottom: .5rem;
}

.form-group label {
  position: relative !important;
  font-style: italic !important;
  color: #5e7083 !important;
  font-weight: 400 !important;
  font-size: 15px !important;
}

.form-group label.active:first-child
 {
    transform: translateY(0) !important;
    font-weight: 600;
    font-size: .875rem;
    color: #1a1a1a;
}

input[type=date], input[type=datetime-local]{
    border: none;
    border: 1px solid #9ea1a4;    
    border-radius: 0;
    padding: .375rem .5rem;
    outline: 0;
    height: 2.5rem;
    width: 100%;
    box-shadow: none;
    transition: none;
    -webkit-appearance: none;
    -webkit-border-radius: 0;
}


.select2-container--default .select2-selection--single {
    background-color: #fff;
    border: 1px solid #9fa1a4;
    border-radius: 0px;
    padding: 10px;
    height: 39px;
}

.select2-container--default .select2-selection--single {
    background-color: #fff;
    border: 1px solid #9fa1a4 !important;
    border-radius: 0px !important;
}

.select2-container .select2-selection--single {
    box-sizing: border-box;
    cursor: pointer;
    display: block;
    height: 40px !important;
    user-select: none;
    -webkit-user-select: none;
}
   
/* fine OVERRIDE BOOTSTRAP ITALIA */
/* GRIGLIA */
.griglia {
  display: -ms-grid;
  display: grid;
  gap: 1rem;
}

.griglia-2 {
  grid-template-columns: repeat(2, 1fr);
}

.griglia-3 {
  grid-template-columns: repeat(3, 1fr);
}

.griglia-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* fine GRIGLIA */

.page-title {
  font-size:1.5rem;
  line-height: 120%;
}

.page-subtitle {
  font-size:1.2rem;
}


.attributi .attributo {
  padding:.5rem 0;
  border-bottom:1px solid #eaeaea;
}
.attributi .attributo .titolo {
  font-weight: 600;
  color:#000;
}

.textarea-control.is-invalid {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23f73e5a' viewBox='0 0 384 512'%3E%3Cpath d='M231.6 256l130.1-130.1c4.7-4.7 4.7-12.3 0-17l-22.6-22.6c-4.7-4.7-12.3-4.7-17 0L192 216.4 61.9 86.3c-4.7-4.7-12.3-4.7-17 0l-22.6 22.6c-4.7 4.7-4.7 12.3 0 17L152.4 256 22.3 386.1c-4.7 4.7-4.7 12.3 0 17l22.6 22.6c4.7 4.7 12.3 4.7 17 0L192 295.6l130.1 130.1c4.7 4.7 12.3 4.7 17 0l22.6-22.6c4.7-4.7 4.7-12.3 0-17L231.6 256z'/%3E%3C/svg%3E");
}

.textarea-control.is-invalid {
  border-color: #cc334d;
  padding-right: calc(1.5em + 0.75rem);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23f73e5a' viewBox='0 0 384 512'%3E%3Cpath d='M231.6 256l130.1-130.1c4.7-4.7 4.7-12.3 0-17l-22.6-22.6c-4.7-4.7-12.3-4.7-17 0L192 216.4 61.9 86.3c-4.7-4.7-12.3-4.7-17 0l-22.6 22.6c-4.7 4.7-4.7 12.3 0 17L152.4 256 22.3 386.1c-4.7 4.7-4.7 12.3 0 17l22.6 22.6c4.7 4.7 12.3 4.7 17 0L192 295.6l130.1 130.1c4.7 4.7 12.3 4.7 17 0l22.6-22.6c4.7-4.7 4.7-12.3 0-17L231.6 256z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.textarea-control {
  background-position: right 0.2rem !important;
  background-repeat: no-repeat !important;
  background-size: 28px 16px !important;
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #1a1a1a;
  background-color: #fff;
  background-clip: padding-box;
  appearance: none;
  border-radius: 0;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.075);
  transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.btn-primary:not(:disabled):not(.disabled):active:focus,
.btn-primary:not(:disabled):not(.disabled).active:focus,
.show>.btn-primary.dropdown-toggle:focus {
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125), 0 0 0 .25rem var(--primary);
}
.btn-primary:focus,
.btn-primary.focus {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075), 0 0 0 .25rem var(--primary);
}

.bg-primary {
  background-color: var(--primary) !important;
}

/*Nuovo menu laterale completo*/

.lista-argomenti {
  padding-left: 0;
  display: flex;
  flex-direction: column;
  list-style-type: none;
}

.lista-argomenti > li {
  margin: 0;
  padding: 0;
}

.lista-argomenti a {
  text-decoration: none;
  color: #000;
  text-align: left;
  font-size: 1.3rem;
}

.deep-2 a {
  text-decoration: none;
  color: #000;
  text-align: left;
  font-size: 1rem;
  padding-left: 0.5rem;
}

.deep-3 a {
  text-decoration: none;
  color: #000;
  text-align: left;
  font-size: 0.9rem;
  padding-left:4%;
}

.circle-plus {
cursor: pointer;
transition: transform 0.4s ease-in-out;
}

.lista-argomenti li .circle-plus {
  background-color: #007a52;
  background-color: #007a52;
  color: #fff;
  border-radius: 50%;
  width: 29px;
  height: 29px;
  font-size: 27px;
  font-weight: bold;
  margin-left: 25px;
  line-height: 23px;
  text-align: center;
  min-width: 29px;
  margin-right: 11px;
}

.container-li-content{
  display: flex;
  align-items: center;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 10px;
  padding-right: 10px;
}

.deep-1 .container-li-content{
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #b3b3b3;
}

ul.deep-2{
  display: none;
  background-color: #e8e8e8;
  border-bottom: 1px solid #b3b3b3;
  
}
ul.deep-3{
  display: none;
  background-color: #f2f2f2;
}

li.current, li.current > ul.deep-2,
li.current > ul.deep-3 {
  display: block;
}

li.current>.container-li-content{
  /* border: 3px solid #007a52 !important; */
  border: 2px solid var(--primary) !important;
  /* border-radius: 0.1em; */
  border-bottom-right-radius: 0.3em;
  border-top-right-radius: 0.3em;
}


.opa-0{
opacity: 0;
cursor: default;
}

.deep-1>li {
border: 2px solid #e0e0e0;

}

.container-home{
  padding:3%;
}

#risultati-ricerca{
  padding-bottom:3%;
}

.container-pivot, .container-list-view{
  padding-left:3%;
  padding-right:3%;
  max-width: 100%;
  padding-bottom:3%;
}

.container-custom-wide{
  padding-left:3%;
  padding-right:3%;
}

.custom-left-col-home{
  padding-right: 5%;
}

.circle-plus.rotate {
  transform: rotate(45deg);
  color: #313131 !important;
}

.container-circle-empty-plus {
  width: 29px;
  height: 29px;
  font-size: 27px;
  font-weight: bold;
  margin-left: 25px;
  line-height: 23px;
  text-align: center;
  min-width: 29px;
  margin-right: 9px;
}

.empty-plus {
  background-color: #88be88;
  width: 22px;
  height: 22px;
  border-radius: 100px;
  margin-top: 2px;
}

.privacy-box {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); 
  background-color: #0059b3;
  padding: 20px;
  width: 25%;
  text-align: center;
  color: white; 
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); 
  border-radius: 8px; 
  display: none; 
  z-index: 9999; 
}

#privacy-box p {
  margin: 0;
  font-size: 16px;
}

#button-container {
  display: flex;
  justify-content: space-between; /* Distanza tra i due bottoni */
  gap: 10px; /* Spazio tra i bottoni */
  margin-top: 10px;
}

#privacy-box button {
  padding: 12px 24px;
  background-color: #ffffff; 
  color: #0059b3;
  border: none;
  cursor: pointer;
  font-size: 16px;
  border-radius: 5px;
  transition: all 0.3s ease; 
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#privacy-box button:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); 
}

#privacy-policy-button {
  background-color: #ffffff; 
  color: #0059b3;
  border: none;
  cursor: pointer;
}

#privacy-policy-button:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); 
}


