/**
 * @file
 * Subtheme specific CSS.
 */
/************************************
  Breadcrumbs
  ************************************/
ol.breadcrumb {
  margin-top: 1.5rem;
}

ol.breadcrumb li>a {
  color: var(--site-font-color);
  text-decoration: none;
}

/************************************
  Contents
  ************************************/
/* frontpage - homepage */
.fixed-bottom-right {
  font-weight: bold;
  text-transform: uppercase;
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  padding: var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);
}

.slide_in_main_content,
.tipografico,
.wow_wrapper,
.negativeMarginX {
  margin: 0 var(--negativeMarginX);
}

.tipografico a h2 {
  color: var(--site-font-color);
}

.tipografico a h2:hover {
  color: var(--red);
}

/***************************************
Fascia Scienza, conservazione e Politiche ambientale
**************************************/
.science_articles_wrapper {
  background-color: var(--green-light);
  margin-left: var(--negativeMarginX);
  margin-right: var(--negativeMarginX);
  padding-left: var(--positiveMarginX);
  padding-right: var(--positiveMarginX);
}

.slideshow_wrapper {
  margin-bottom: 1.5rem;
}

.paragraph--type--slide.paragraph--view-mode--default .text_and_link,
.paragraph--type--parallax.paragraph--view-mode--default .text_and_link {
  padding: .75rem;
}

.paragraph--type--slide.paragraph--view-mode--default .text_and_link h2,
.paragraph--type--parallax.paragraph--view-mode--default .text_and_link h2 {
  font-size: 2rem;
  line-height: 2.2rem;
  text-transform: uppercase;
}

.paragraph--type--slide.paragraph--view-mode--default .text_and_link h3,
.paragraph--type--parallax.paragraph--view-mode--default .text_and_link h3 {
  font-size: 2.25rem;
  line-height: 2.5rem;
  margin-bottom: 1rem;
}

.paragraph--type--slide.paragraph--view-mode--default .text_and_link .field_link,
.paragraph--type--parallax.paragraph--view-mode--default .text_and_link .field_link {
  margin-top: 1.5rem;
}

.top_blocks_wrapper {
  justify-content: center;
}

.top_blocks_wrapper .top_block {
  margin-bottom: 1.5rem;
}

.top_blocks_wrapper .top_block .slide_wrapper_row {
  justify-content: center;
}

.top_blocks_wrapper .top_block .field_image {
  overflow: hidden;
  border-radius: var(--leaf-shape);
  display: inline-block;
  margin: auto;
}

.top_blocks_wrapper .top_block .slidelink img {
  transition: all linear .3s;
}

.top_blocks_wrapper .top_block .slidelink:hover img {
  transform: scale(1.1);
}

.frontpage_species {
  margin-bottom: 2rem;
}

.frontpage_oasi .oasi_home_view {
  padding: 0 .75rem;
}

.like_title_item {
  text-align: center;
  margin-bottom: 2rem;
}

.home_counters .like_number {
  font-family: var(--site-font-titles);
  color: var(--site-font-color);
  text-transform: uppercase;
  font-size: 2.5rem;
  line-height: 2.8rem;
  font-weight: 700;
}

.home_counters .like_description {
  font-weight: 100;
  font-size: 1.5rem;
  line-height: 1.8rem;
}

/* Oasi Teasers */
.node--type-oasi.node--view-mode-label,
.node--type-centro-recupero.node--view-mode-label,
.node--type-sezione-locale.node--view-mode-label {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background-color: var(--grey-light);
  /* background-color: var(--green-light); */
  height: 100%;
  border-bottom: 1.5rem solid #fff;
}

.node--type-oasi.node--view-mode-label .field--name-field-oasi-type,
.node--type-oasi.node--view-mode-label .field--name-field-region {
  display: inline;
  font-style: italic;
}

.leaflet-popup-content p {
  margin: 0;
  margin: 0.5em 0;
}

.leaflet-popup-content p.address {
  font-size: 0.9rem;
  line-height: 1.1rem;
  margin-left: 2rem;
  margin-bottom: 1rem;
}

.leaflet-marker-icon.leaflet-interactive {
  opacity: 0;
}

.leaflet-popup-content h4 a,
.leaflet-tooltip-pane a {
  color: var(--grey-dark);
}

.leaflet-popup-content h4 a:hover,
.leaflet-tooltip-pane a:hover {
  color: var(--red);
}

.node--type-oasi.node--view-mode-label .field_credits {
  display: none;
}

.view-display-id-places_list .node--type-oasi.node--view-mode-label h3 {
  font-size: 1.7rem;
  line-height: 2.0rem;
  margin-bottom: 1.5rem;
}

.view-display-id-places_list,
.view-display-id-places_list .view-content.row {
  display: flex;
  justify-content: center;
  margin-top: .75rem;
}

/* https://lipu.emdev.it/./themes/custom/lipu/lipu_marker02.png */
/* Oasi Full */
.cover_mask_svg,
.cover_mask_svg2 {
  width: 100%;
  height: auto;
  height: 0px;
}

.node--view-mode-full .masked_cover_full {
  position: sticky;
  top: 110px;
}

.node--type-oasi.node--view-mode-full .masked_cover_full {
  margin-bottom: 1rem;
}

.masked_cover_full img {
  clip-path: url(#cover_mask01);
  object-fit: cover;
}

/* commentato perché rompeva il comportamento delle 6 specie in homepage. Corretto con la regola successiva (senza img) */
/* .masked_cover_teaser img {
  clip-path: url(#cover_mask01);
  object-fit: cover;
} */
.masked_cover_teaser {
  clip-path: url(#cover_mask01);
  object-fit: cover;
}

/*
.masked_cover_teaser img {
  clip-path: url(#cover_mask01);
  object-fit: cover;
}
*/
/*
#views-bootstrap-teasers-specie-teasers-homepage div:nth-child(3n) .masked_cover_teaser img {
  clip-path: url(#cover_mask01);
  object-fit: cover;
}


#views-bootstrap-teasers-specie-teasers-homepage div:nth-child(2n) .masked_cover_teaser img {
  clip-path: url(#cover_mask02);
  object-fit: cover;
}
*/
/*
#views-bootstrap-teasers-specie-teasers-homepage div:nth-child(3n + 0) .masked_cover_teaser img {
  clip-path: url(#cover_mask03);
  object-fit: cover;
}
*/
/* Sections anchor  navigation */
ul.sections_menu li {
  list-style-type: none;
  margin: 0;
  margin-right: 1.5rem;
  padding: 0;
}

.node_sections,
ul.sections_menu {
  margin: 0;
  margin-top: 1rem;
  margin-bottom: 2rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.node_sections_item,
.node--type-argomento .node--view-mode-full .approfondisci .field__item a,
ul.sections_menu li a {
  display: inline-block;
  font-family: var(--site-font-titles);
  text-decoration: none;
  color: var(--site-font-color);
  margin-right: .5rem;
  transition: all linear .3s;
  margin-right: 1.3rem;
  font-size: 1.2rem;
  line-height: 1.7rem;
  height: 1.5rem;
  margin-bottom: 2.5rem;
}

.node_sections_item:after,
.node--type-argomento .node--view-mode-full .approfondisci .field__item a:after,
ul.sections_menu li a:after {
  display: block;
  content: '';
  width: 75%;
  margin-top: 0.6rem;
  height: 2px;
  background-color: var(--yellow);
  transition: 0.3s linear all;
}

.node_sections_item:hover:after,
.node--type-argomento .node--view-mode-full .approfondisci .field__item a:hover:after,
ul.sections_menu li a:hover:after,
ul.sections_menu li a.active:after {
  width: 100%;
}

ul.sections_menu li a.active {
  color: var(--red);
}

.node_sections_item:hover {
  color: var(--site-font-color);
}

.node_table {
  font-size: 85%;
  max-width: 100%;
  margin: auto;
}

#progetto_main .node_table {
  font-size: 85%;
  max-width: 100%;
  margin: auto;
}

.node_table h6 {
  font-weight: bold;
}

.node_table .node_table_item {
  border-bottom: 1px solid var(--grey);
  margin: 0;
  padding: 0.5rem 0;
}

.node_table_item.custom_donorbox {
  align-items: center;
  background-color: var(--green-light);
}

.yellow_box,
.firmabox {
  background-color: var(--yellow);
  padding: 1rem;
  top: 90px;
}

.firmabox h3 {
  font-size: 2rem;
  margin-bottom: 0rem;
}

.custom_donorbox_inner {
  padding: 1rem;
}

.custom_donorbox_inner .field--name-field-cover-image {
  margin: 0;
  padding: 0;
  height: 0px;
}

.custom_donorbox_inner .field--name-field-media-image {
  width: 130%;
  margin-top: -5vh;
}

.custom_donorbox_inner .field--name-field-media-image img {
  clip-path: url(#cover_mask01);
  overflow: hidden;
}

.custom_donorbox_inner .field_credits {
  display: none;
}

.node_table_item>.row {
  margin: 0;
  padding: 0;
}

.node_table .node_table_item p {
  margin: 0;
}

.node_table .node_table_item .node_table_item_label {
  font-weight: bold;
}

.fields_born_extensions_quantity {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-direction: column;
}

.field_extension::after {
  content: ' ettari';
}

.node--type-oasi #map {
  margin-top: 4rem;
  margin-bottom: 4rem;
}

/* Specie Teasers */
article.node--type-specie.node--view-mode-teaser {
  margin-bottom: 1.5rem;
  padding: 0.5rem;
  background-color: var(--grey-light);
  /* background-color: var(--green-light); */
  height: 100%;
  border-bottom: 1.5rem solid #fff;
}

/* node specie hometeaser */
article.node--type-specie.node--view-mode-hometeaser {
  margin-bottom: 1.5rem;
}

.node--type-specie.node--view-mode-hometeaser .masked_cover_teaser {
  clip-path: url(#cover_mask01);
  overflow: hidden;
}

.node--type-specie.node--view-mode-hometeaser .field_title h4 {
  color: var(--site-font-color);
  transition: all linear .3s;
}

.node--type-specie.node--view-mode-hometeaser:hover .field_title h4 {
  color: var(--red);
}

.node--type-specie.node--view-mode-hometeaser .masked_cover_teaser img {
  transition: all linear .3s;
}

.node--type-specie.node--view-mode-hometeaser .masked_cover_teaser:hover img {
  transform: scale(1.1);
}

/* Sezioni locali teasers */
.sezioni-locali-org .view-content,
.sezioni-locali-org .view-content .views-view-grid {
  display: flex;
  justify-content: center;
}

.sezioni-locali-org .node--type-sezione-locale.node--view-mode-teaser {
  margin-bottom: 2rem;
  padding: 1rem;
  background-color: var(--grey-light);
  /* background-color: var(--green-light); */
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  height: 100%;
  border-bottom: 1.5rem solid #fff;
}

/* frontpage specie carousel */
.path-frontpage article.node--type-specie.node--view-mode-teaser {
  background-color: transparent;
}

article.node--type-specie.node--view-mode-teaser h3 {
  margin-bottom: 0.3rem;
}

article.node--type-specie.node--view-mode-teaser h4.node_subtitle {
  font-weight: normal;
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.2rem;
  font-family: var(--site-font);
  text-transform: none;
}

/* Specie (node--view-mode-label) all'interno del contenuto oasi */
.path-node.node--type-oasi #specie {
  min-height: 350px;
  position: relative;
}

.path-node.node--type-oasi #specie .field--name-field-species {
  display: flex;
  flex-wrap: wrap;
}

.path-node.node--type-oasi #specie .field--name-field-species>div {
  max-width: 50%;
  flex: 50%;
}

article.node--type-specie.node--view-mode-label {
  position: initial;
  border-bottom: 1px solid var(--grey);
  margin-bottom: .5rem;
  max-width: 95%;
}

.node_table .field--name-field-species.field--type-entity-reference .field__item {
  display: inline-block;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.node_table .field--name-field-species.field--type-entity-reference .field__item:after {
  content: ',';
  display: inline-block;
}

.node_table .field--name-field-species.field--type-entity-reference .field__item:last-child:after {
  content: '';
  display: inline-block;
}

.node_table .field--name-field-species.field--type-entity-reference:hover .field__item .field_cover_image,
.node_table .field--name-field-species.field--type-entity-reference .field__item .field_cover_image {
  border: 1px solid red;
  display: none;
}

.node_table article.node--type-specie.node--view-mode-label {
  position: initial;
  display: inline-block;
  border-bottom: 0px;
  margin-bottom: 0rem;
  max-width: none;
}

article.node--type-specie.node--view-mode-label a {
  color: var(--site-font-color);
  text-decoration: none;
}

article.node--type-specie.node--view-mode-label a:hover {
  color: var(--red);
}

.path-node.node--type-oasi #specie .species_wrapper {
  /* position: relative; */
}

.node--type-specie.node--view-mode-label .field_cover_image {
  position: absolute;
  top: -2rem;
  right: calc(66% - 1.5rem);
  opacity: 0;
  display: none;
}

.node--type-specie.node--view-mode-label .field_title:hover+.field_cover_image {
  opacity: 1;
}

/* Node Argomento e Pagina (Argument e Page) Teaser*/
.node--type-argomento.node--view-mode-teaser,
.node--type-page.node--view-mode-teaser {
  position: relative;
  margin-bottom: 1.5rem;
  height: 200px;
  background-color: var(--yellow);
}

.accordion-button:not(.collapsed) {
  color: var(--white);
  background-color: var(--yellow);
}

.node--type-argomento.node--view-mode-teaser .section_info,
.node--type-page.node--view-mode-teaser .section_info {
  position: absolute;
  top: 0%;
  left: 0%;
  width: 100%;
  height: 100%;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.node--type-argomento.node--view-mode-teaser .section_info .teaser_actions,
.node--type-page.node--view-mode-teaser .section_info .teaser_actions {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
}

.node--type-argomento.node--view-mode-teaser .section_info h3 a,
.node--type-page.node--view-mode-teaser .section_info h3 a {
  color: var(--white);
  font-size: 1.9rem;
}

.node--type-argomento.node--view-mode-teaser .section_info h3 a:hover,
.node--type-page.node--view-mode-teaser .section_info h3 a:hover {
  color: var(--grey-dark);
}

/* Specie full (.node--type-specie.node--view-mode-full) */
.node--type-specie.node--view-mode-full .status_iucn {
  transform: scale(.85);
}

.node--type-specie.node--view-mode-full .node_title,
.node--type-specie.node--view-mode-full .node_subtitle,
.node--type-specie.node--view-mode-full .node_sections {
  text-align: center;
}

.node--type-specie.node--view-mode-full .semaforo_value {
  display: flex;
  align-items: center;
}

.node--type-specie.node--view-mode-full .semaforo_value:before {
  content: '';
  display: inline-block;
  width: .75rem;
  height: .75rem;
  margin-right: .25rem;
  border-radius: 50%;
}

.node--type-specie.node--view-mode-full .semaforo_value.node_id_17:before {
  background-color: var(--red-semaforo);
}

.node--type-specie.node--view-mode-full .semaforo_value.node_id_18:before {
  background-color: var(--yellow-semaforo);
}

.node--type-specie.node--view-mode-full .semaforo_value.node_id_19:before {
  background-color: var(--green-semaforo);
}

.node--type-specie.node--view-mode-full .semaforo_value.node_id_77:before {
  background-color: #fff;
  border: .5px solid #000;
}

.node--type-centro-recupero.node--view-mode-full .node__content .content_section:nth-child(odd),
.node--type-specie.node--view-mode-full .node__content .content_section:nth-child(odd),
.node--type-oasi.node--view-mode-full .node__content .content_section:nth-child(odd) {
  --bs-gutter-x: .45rem;
  margin: 0 var(--negativeMarginX);
  padding-top: 60px;
  padding-bottom: 60px;
}

.cosa-lipu {
  --bs-gutter-x: .45rem;
  position: relative;
  padding-top: 60px;
  padding-bottom: 60px;
  padding-left: calc(-1*var(--negativeMarginX));
  padding-right: calc(-1*var(--negativeMarginX));
  margin: 4rem var(--negativeMarginX);
}

.node--type-centro-recupero.node--view-mode-full .node__content .content_section:nth-child(even),
.node--type-specie.node--view-mode-full .node__content .content_section:nth-child(even),
.node--type-oasi.node--view-mode-full .node__content .content_section:nth-child(even) {
  --bs-gutter-x: .45rem;
  position: relative;
  margin: 0 var(--negativeMarginX);
  padding-top: 60px;
  padding-bottom: 60px;
}

.cosa-lipu:before {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  /* background-color: var(--grey-light);
  background-color: var(--green-light); */
}

.node--type-centro-recupero.node--view-mode-full .node__content .content_section:nth-child(even):before,
.node--type-specie.node--view-mode-full .node__content .content_section:nth-child(even):before,
.node--type-oasi.node--view-mode-full .node__content .content_section:nth-child(even):before {
  position: absolute;
  content: '';
  display: block;
  z-index: -1;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: var(--grey-light);
  border-radius: 0 0 0 50px;
}

.node--type-specie.node--view-mode-full section.donorbanner {
  max-width: 100%;
  margin: auto;
}

.donorbanner>.row {
  margin: 0;
  padding: 2rem;
  align-items: center;
  background-color: var(--green-light);
  position: relative;
}

.donorbanner_cover_img {
  margin-bottom: -.5rem;
}

.donorbanner_cover_img .field_credits {
  display: none;
}

.donorbanner h2 {
  text-transform: uppercase;
}

.donorbanner .col-5 {
  background-color: yellow;
}

.donorbanner img {
  clip-path: url(#cover_mask01);
  object-fit: cover;
  transform: scale(1.1);
}

#vu_text_6.active,
#lc_text_6.active,
#vu_text_7.active,
#vu_text_8.active,
#vu_text_9.active,
#vu_text_11.active,
#vu_text_13.active,
#vu_text_15.active,
#vu_text_16.active {
  fill: #fff;
}

#nt_text_10.active {
  fill: #99cc99;
}

#lc_circle_6.active,
#nt_circle_10.active {
  fill: #006666;
}

#vu_circle_11.active {
  fill: #cc9900;
}

#en_text_12.active {
  fill: #ffcc99;
}

#en_circle_12.active {
  fill: #cc6633;
}

#cr_text_13.active {
  fill: #ffcccc;
}

#cr_circle_13.active {
  fill: #cc3333;
}

#ew_text_15.active {
  fill: #fff;
}

#ew_circle_15.active,
#ex_circle_16.active {
  fill: #000;
}

#ex_text_16.active {
  fill: #cc3333;
}

/* articles teasers */
.node--type-article.node--view-mode-teaser {
  /* margin: 0 .75rem; */
  margin-bottom: 3rem;
}

.node--type-article.node--view-mode-teaser .field_news_type {
  border-bottom: 1px solid var(--grey-separator);
  padding: .5rem 0;
  margin-bottom: .5rem;
}

.node--type-article.node--view-mode-teaser .field_cover_image,
.field--name-field-cover-image .field--name-field-media-image,
.field_cover_image .field--name-field-media-image,
#campagna_main .field--name-field-media-image {
  overflow: hidden;
  border-radius: var(--leaf-shape);
}

.path-frontpage .cosa-lipu .field--name-field-cover-image .field--name-field-media-image {
  /* eccezione per il contenuto cosa-lipu */
  overflow: visible;
}

.cosa-lipu>.row {
  align-items: center;
}

.field--name-field-cover-image .field--name-field-media-image .field__item img {
  width: 100%;
  max-width: none;
  height: auto;
}

.node--type-article.node--view-mode-teaser .field_cover_image img {
  border-radius: var(--leaf-shape);
  transition: all linear .3s;
}

.node--type-article.node--view-mode-teaser .field_cover_image:hover img {
  transform: scale(1.1);
}

.node--type-article.node--view-mode-teaser .field_cover_image:hover+.news_info .field_title a {
  color: var(--red);
}

.view-search-specie .view-content.row>.grid.row,
.view-teasers .view-content.row>.grid.row {
  padding-right: 0;
  padding-left: 0;
  margin-right: 0;
  margin-left: 0;
}

/* Articles full */
#related_articles_others {
  margin-top: 7rem;
}

#children_pages {
  margin-top: 2rem;
}

#related_articles_others .separator,
#children_pages .separator {
  display: block;
  width: 30%;
  height: 2px;
  background-color: var(--grey-dark);
  margin-bottom: 1rem;
}

.node--type-article svg.event_icon {
  width: 100%;
  max-width: 80px;
  height: auto;
  margin: auto;
}

.node--type-article svg.event_icon path {
  fill: var(--grey);
}

.node--type-article .field--name-field-cover-image {
  margin-bottom: 2rem;
}

.node_table.node_table_event {
  width: 100%;
  max-width: 100%;
}

.node--type-article.node--view-mode-full .field--name-field-logos {
  display: flex;
}

.node--type-article.node--view-mode-full .field--name-field-logos>div {
  margin-right: .5rem;
}

.node--type-article.node--view-mode-full .field--name-field-logos>div:last-child {
  margin-right: 0;
}

.article_metas {
  margin-bottom: 2rem;
}

.evento_meta_item {
  margin-bottom: 1rem;
}

.evento_meta label {
  display: inline-block;
  min-width: 6rem;
}

.evento_meta .field__item,
.evento_meta .field__item p {
  display: inline;
  font-weight: bold;
}

/* centro di recupero */
article.node--type-centro-recupero.node--view-mode-full .geofield_map {
  position: sticky;
  top: 110px;
}

/* progetto full */
.node--type-progetto.node--view-mode-full .progetto_field_item {
  margin: 2rem 0;
}

.node--type-progetto.node--view-mode-full .field--name-field-partner.field__items .field__item {
  display: inline-block;
  margin-right: .5rem;
  margin-bottom: .5rem;
}

.node--type-partner.node--view-mode-teaser {
  text-align: center;
}

.node--type-partner.node--view-mode-teaser a {
  color: var(--site-font-color);
  text-decoration: none;
}

.node--type-partner.node--view-mode-teaser a:hover {
  color: var(--red);
}

/* attachments */
.node--view-mode-full .paragraph--type--files .field--name-field-file.field__items,
.node--view-mode-full .field--name-field-attachments {
  display: flex;
  flex-wrap: wrap;
}

.node--view-mode-full .paragraph--type--files .field--name-field-file.field__items {
  display: block;
}

.paragraph--type--files .field--name-field-file.field__items .paragraph--type--file-allegato {
  margin: .5rem;
  padding: .5rem 0;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--grey);
}

.paragraph--type--files .field--name-field-file.field__items .paragraph--type--file-allegato .field--name-field-attachment .media_thumbnail {
  display: block;
  overflow: hidden;
}

.paragraph--type--files .field--name-field-file.field__items>div:last-child .paragraph--type--file-allegato {
  border-bottom: 0;
}

button.modalbtn {
  border: 0;
  padding: 0;
  background-color: transparent;
}

button.modalbtn .field_thumbnail {
  overflow: hidden;
}

button.modalbtn img {
  transition: all linear .3s;
}

button.modalbtn:hover img {
  transform: scale(1.1);
}

button.modalbtn .field_description {
  padding: .5rem;
}

/* .node--type-progetto.node--view-mode-teaser */
.node--type-progetto.node--view-mode-teaser a .field_body,
.node--type-progetto.node--view-mode-teaser a .field_title {
  color: var(--site-font-color);
}

.node--type-progetto.node--view-mode-teaser img {
  transition: all linear .3s;
}

.node--type-progetto.node--view-mode-teaser a:hover img {
  transform: scale(1.1);
}

.node--type-progetto.node--view-mode-teaser a:hover .field_title {
  color: var(--red);
}

.node--type-progetto.node--view-mode-teaser:hover .btn-readmore span {
  color: var(--white);
  opacity: 1;
}

.node--type-progetto.node--view-mode-teaser a:hover .btn-readmore:before {
  width: 100%;
}

/************************************
  Pagine - Pagine e sezioni specifiche del sito
************************************/
/* L'organizzazione - nid 24 */
.persons_wrapper {
  margin-bottom: 5rem;
}

.paragraph--type--person {
  margin-bottom: 0.6rem;
}

.person_jobtitle {
  color: var(--light-dark);
  font-style: italic;
}

.page-node-540,
.page-node-541 {}

.page-node-540 .anchor_target h2.anchor_title,
.page-node-541 .anchor_target h2.anchor_title {
  line-height: 3.2rem;
  margin-top: -0.5rem;
}

.page-node-540 .paragraph--type--anchors-item,
.page-node-541 .paragraph--type--anchors-item {
  margin-bottom: 2rem;
}

/* Territori - nid 161 */
#territori_map path {
  fill: var(--grey);
  stroke-width: "1";
  stroke: var(--white);
  transition: 0.3s linear all;
  cursor: pointer;
}

#territori_map path:hover,
#territori_map path.active {
  fill: var(--red);
}

#territori_filter_top {
  margin: 2rem 0rem;
}

.btn-primary.btn-inverted,
#territori_filter_top .btn-primary {
  background-color: var(--white);
  color: var(--red);
  border: 2px solid var(--red);
}

#territori_filter_top .btn-primary {
  margin-right: 2rem;
}

.btn-primary.btn-inverted:hover,
.btn-primary.btn-inverted.active,
#territori_filter_top .btn-primary.active,
#territori_filter_top .btn-primary:hover {
  background-color: var(--red);
  color: var(--white);
}

/* Argomento node full */
.node--type-argomento .node--view-mode-full {}

.node--type-argomento .node--view-mode-full h1.node_title {
  min-height: 7rem;
}

.node--type-argomento .node--view-mode-full .sticky_left {
  margin-top: 7rem;
}

.page-node-16.node--type-argomento .node--view-mode-full .sticky_left {
  margin-top: 0rem;
}

.node--type-argomento.node--view-mode-full .sticky_left .field--name-body,
.node--type-argomento.node--view-mode-full .sticky_left .approfondisci {
  margin-top: 3rem;
}

.node--type-argomento .node--view-mode-full .field--name-body,
.node--type-argomento .node--view-mode-full .field--name-body p {
  font-size: 1.3rem;
}

.node--type-argomento .node--view-mode-full .approfondisci h3.section_title {
  text-align: left;
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

.node--type-argomento .node--view-mode-full .approfondisci .field__item {
  display: inline-block;
  margin-bottom: 16px;
}

/* Progetti */
.teasers_active {
  margin-top: 2rem;
}

.teasers_archive {
  background-color: var(--grey);
  padding: 1.5rem;
  border-radius: var(--leaf-shape);
}

/* cover image per nodi in view-mode-teaser */
.node--type-campagna.node--view-mode-teaser .field_cover_image,
.node--type-progetto.node--view-mode-teaser .field_cover_image,
.node--type-mostra.node--view-mode-teaser .field_cover_image {
  margin-bottom: .75rem;
}

/* node type campagna */
.node--type-campagna.node--view-mode-teaser:hover .btn.btn-primary,
.node--type-mostra.node--view-mode-teaser:hover .btn.btn-primary {
  background-color: var(--red-dark);
  color: var(--white);
  border-color: var(--red-dark);
  border-radius: var(--leaf-shape);
}

.node--type-campagna .paragraph--type--anchors .field--name-field-anchors-items>.field__item {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--grey);
}

/* .path-node.node--type-campagna */
.path-node.node--type-campagna .paragraph--type--slide.paragraph--view-mode--default .text_and_link {
  max-width: 65%;
  max-width: 100%;
}

.path-node.node--type-campagna #campagna_main .col-12.col-lg-8 {
  order: 2;
}

/* mostre  */
.node--type-mostra #mostraTab {
  border: 0;
  margin-top: 1.2rem;
  margin-bottom: 1rem;
  max-width: 80%;
}

.node--type-mostra #mostraTab li .nav-link {
  border-radius: 0;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: 0.3s linear all;
}

.node--type-mostra #mostraTab li .nav-link.active {
  background-color: transparent;
}

.node--type-mostra .slick__arrow {
  position: absolute;
  top: 1.5rem;
  right: 0.5rem;
}

.node--type-mostra .slick__arrow .slick-arrow {
  background-color: transparent;
  border: 1px solid transparent;
  font-size: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  text-align: center;
}

.node--type-mostra #main {
  position: relative;
}

.node--type-mostra .slick__slide .field--name-field-media-image img {
  border: 2rem solid var(--white);
}

.mostra_title {
  max-width: 95%;
  padding: var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);
  padding-left: 0;
  margin-right: 1rem;
  padding-right: 2rem;
  line-height: 1.5rem;
}

.mostra_copertina_wrapper {
  margin-top: 2rem;
}

.node--type-mostra.node--view-mode-full .row {
  --bs-gutter-x: 0;
}

.node--type-mostra.node--view-mode-full .row>* {
  --bs-gutter-x: 1.5rem;
}

.node--type-mostra.node--view-mode-full .tab-content>.tab-pane {
  display: block;
  overflow: hidden;
  height: 0;
}

.node--type-mostra.node--view-mode-full .tab-content>.tab-pane.active {
  display: block;
  overflow: auto;
  height: auto;
}

.alt_credits_wrapper .field_alt {
  display: none;
}

.node--type-mostra.node--view-mode-full .alt_credits_wrapper .field_alt {
  display: block;
}

.node--type-mostra.node--view-mode-full .alt_credits_wrapper {
  /*display: flex;*/
  justify-content: space-between;
}

.node--type-mostra.node--view-mode-full .alt_credits_wrapper .credit_symbol,
.node--type-mostra.node--view-mode-full .alt_credits_wrapper .field_credits {
  display: none;
}

.node--type-mostra #main {
  max-width: 1100px;
  margin: auto;
}

.node--type-mostra #main .paragraph--view-mode--slideshow {
  margin: auto;
  text-align: center;
}

.node--type-mostra #main .paragraph--view-mode--slideshow img {
  width: auto;
  margin: auto;
}

/* Override MyDonor */
.mydbox-btn {
  border-radius: var(--leaf-shape) !important;
  box-shadow: none !important;
  border: 0px solid var(--red) !important;
  font-family: var(--site-font) !important;
}

.mydbox-btn:hover {
  border-radius: var(--leaf-shape) !important;
  box-shadow: none !important;
  border: 0px !important;
  background-color: var(--red-dark);
  border: 0px solid var(--red) !important;
}

.modal_cta .field_credits,
.modal_image_desktop {
  display: none;
}

.modal_cta .modal-dialog {
  max-width: 100vw;
}

.modal_cta .field--name-field-media-image img {
  width: 100%;
  height: auto;
  max-width: none;
  margin-bottom: 1rem;
}

/* Webform */
.block-webform-block,
.field--type-webform form {
  max-width: 800px;
  background-color: var(--green-light);
  border-top: 15px solid var(--yellow);
  padding: 1rem;
}

/* Newsletter page */
.page-node-2434 #webform-submission-newsletter-block-content-21-add-form,
.page-node-2434 #birdseccetera_iframe {
  height: 670px;
  overflow-y: auto;
  overflow-x: hidden;
  margin-bottom: 2rem;
}

#draggable-captcha-mini label {
  margin-bottom: 0.5rem;
}

.page-node-2434.path-node .field--name-field-paragraphs.field__items>.field__item:first-child .layout--twocol-section {
  align-items: center;
}

/************************************
  Search
************************************/
.view-search-all-contents .view-content {}

.view-search-all-contents .views-exposed-form {
  background-color: transparent;
  padding: 0;
  margin: 0;
  margin-bottom: 3rem;
  border-radius: 0;
}

.view-search-all-contents .views-exposed-form .form-control {
  padding: .375rem .75rem;
  border: 2px solid #ced4da;
  border-radius: var(--leaf-shape);
}

.view-search-all-contents .view-content .views-row {
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--grey);
  padding-bottom: 2rem;
}

.region-utility-search .view-search-all-contents h3 {}

.view-search-all-contents .view-content .views-row .slidelink.btn.btn-primary {
  padding: 0.3rem 0.6rem;
  font-size: 1rem;
  margin-top: 1rem;
}

.view-search-all-contents .view-content .views-row .search_match {
  display: inline-block;
  background-color: var(--yellow);
  padding: 0rem 0.3rem;
}

/************************************
  Cookie banner
  ************************************/
#tarteaucitronDisclaimerAlert {
  color: var(--white);
}

body #tarteaucitronDisclaimerAlert p {
  color: var(--white);
  font-size: 1rem;
  line-height: 1.5rem;
}

body #tarteaucitronRoot #tarteaucitronAlertBig #tarteaucitronCloseAlert,
body #tarteaucitronRoot #tarteaucitronAlertBig #tarteaucitronPersonalize2,
body #tarteaucitronRoot #tarteaucitronAlertBig #tarteaucitronPersonalize,
body #tarteaucitronRoot .tarteaucitronCTAButton,
body #tarteaucitronRoot #tarteaucitron #tarteaucitronPrivacyUrl,
body #tarteaucitronRoot #tarteaucitron #tarteaucitronPrivacyUrlDialog,
body #tarteaucitronRoot .tarteaucitronDeny,
body #tarteaucitronRoot .tarteaucitronAllow {
  cursor: pointer;
  display: inline-block;
  font-size: 1.2rem !important;
  line-height: 1.2;
  padding: 0.5rem 1rem;
  text-decoration: none;
  margin-left: 1rem;
  min-width: 10rem;
}