/**
 * 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 {
  --primary: #007a52;
  --primaryhover: #00402b;
  --topHeader: #00402b;
  --topHeaderButton:#007a52;
  --topHeaderButtonHover:#0d9065;
  --footer:#007a52;
}

.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: 1rem;
  margin: 0;
  padding: 0;
}

.lista-argomenti a {
  color: #000;
}

.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;
}

/* 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;
}

