html {
  font-size: 62.5% !important;
  overflow-x: hidden;
}

/* 1rem = 10px */
body {
  overflow-x: hidden;
  font-size: 1.6rem !important;
  font-family: "Roboto", sans-serif !important;
}

body #navbar-main,
body #navbar-top {
  background-color: #fff;
}

/* RESET BARRIO */
.node__content,
.field--type-image img,
.field--name-field-user-picture img,
.field--type-entity-reference {
  margin: 0 !important;
}

/* OVERRIDE LAYOUT */
@media (min-width: 1em) and (max-width: 47.94em) {
  .layout--twocol-section--67-33 .layout__region--first,
  .layout--twocol-section--67-33 .layout__region--second {
    flex: 0 0 100% !important;
    max-width: 100%;
  }
}

/* OVERRIDE BUTTON BOOTSTRAP */
.btn {
  font-size: 1.6rem;
}

/* RESET BG-LAYOUT */
.layout-bg-bg-container * {
  margin: 0 !important;
}

/* Utilities */
.full-width {
  width: 100vw;
  position: absolute;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.path-admin .full-width {
  position: relative;
  margin: 0;
  width: 100%;
  left: 0;
  right: 0;
}

.full-width.main_bg img,
.full-width.main_bg video {
  width: auto;
  height: 100%;
}

.btn--blu {
  background-color: rgb(29 113 184) !important;
}

/* GENERAL SETTINGS */
*:focus-visible {
  outline-style: auto;
  outline-color: rgb(16, 16, 16);
  outline-width: 1px;
  outline-offset: 1px;
}

*:focus:not(:focus-visible) {
  outline: none;
}

/* per ridurre l'animazione se questa impostazione viene settata dall'utente */
@media screen and (prefers-reduced-motion: reduce) {
  * {
    transition-duration: 0.001ms !important;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Roboto", sans-serif !important;
}

h1.titolo-in-pagina {
  margin-bottom: 1.6rem;
  font-size: 3.6rem;
  color: #444;
}

h2 {
  font-size: 3.6rem !important;
  font-weight: 900 !important;
}

p {
  font-size: 1.6rem;
  line-height: 2.6rem;
}

ul {
  list-style: none;
  padding-left: 0;
}

a,
.navbar-brand:hover,
.navbar-brand:focus {
  text-decoration: none !important;
}

a:hover,
a:focus {
  text-decoration: underline !important;
}

.form-control {
  font-size: 1.6rem !important;
}

.field--name-field-titolo-paragrafo {
  margin-bottom: 0.4em;
  font-size: 2.6rem;
  line-height: normal;
  font-weight: 700;
  color: rgb(68 68 68);
}

.field--name-field-titolo-hero {
  font-size: 3rem;
  font-weight: 500;
  color: #0d0d0d;
  text-align: center;
  margin-bottom: 0.2em;
}

#main-wrapper {
  padding-bottom: 3em;
  position: relative;
  z-index: 1;
}

.figure-caption p {
  color: #48565f;
  padding: 0 0.3rem;
}

@media (min-width: 48em) {
  p {
    font-size: 1.8rem;
  }

  .figure-caption p {
    font-size: 1.5rem !important;
  }

  .field--name-field-titolo-hero {
    font-size: 3.6rem;
  }
}

/* HEADER */
#header {
  border-top: 8px solid #b32e4b;
}

#header.withbg {
  height: auto;
  display: flex;
  flex-direction: column;
  position: relative;
}

.full-width.main_bg img,
.full-width.main_bg video {
  width: 100%;
  height: auto;
}

.full-width.main_bg > .row,
.full-width.main_bg > .row > div {
  margin: 0;
  padding: 0;
  display: block;
  overflow-x: hidden;
}

.full-width.main_bg {
  width: 100%;
  max-height: 70rem;
  margin: 0;
  padding: 0;
  position: static;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  order: 3;
}

#navbar-top {
  order: 1;
  padding-top: 0.2rem;
  height: 0;
  padding: 0;
}

#navbar-main {
  order: 2;
  min-height: 12rem;
}

.main_hero {
  order: 4;
  /* position: relative; */
}

.main_hero > .row,
.main_hero > .row > div {
  margin: 0;
  padding: 0;
  display: block;
  overflow: hidden;
}

@media (min-width: 48em) {
  #navbar-main {
    padding-top: 1rem;
  }
}

@media (max-width: 63.938em) {
  .main_hero {
    padding: 0 !important;
  }
}

@media (min-width: 64em) {
  .main_hero {
    margin: auto;
    position: absolute;
    width: 100%;
    bottom: 5vw;
    left: 50%;
    transform: translateX(-50%);
  }

  .path-frontpage .main_hero {
    bottom: 0;
  }
}

@media (min-width: 87.5em) {
  .full-width.main_bg {
    top: 21rem;
  }
}

@media (min-width: 100em) {
  .path-frontpage .main_hero {
    bottom: 5vw;
  }
}

.region-top-header {
  width: 100%;
  position: relative;
  top: 2rem;
}

.lingua-select,
.search {
  padding: 0;
}

#block-utility.utility-cn ul {
  padding-right: 20px;
}

#block-utility.utility-cn {
  z-index: 10;
}

#block-utility-4.lingua-select a {
  padding: 1rem;
}

.utility-cn .nav-item a:hover,
.lingua-select .language-link:hover {
  text-decoration: none !important;
  font-weight: 600 !important;
  color: rgb(29 113 184);
}

.utility-cn .nav-item a,
.lingua-select .language-link:focus {
  text-decoration: none !important;
}

.lingua-select .language-link.is-active {
  text-decoration: underline !important;
  text-underline-position: under;
}

.utility-cn span:first-child,
.lingua-select span:not(:last-child) {
  padding-right: 0.5em;
}

[lang="it"] .utility-cn .nav-item:nth-last-child(2),
[lang="it"]
  #block-utility-4.lingua-select--hamburger
  .nav-item:nth-last-child(2) {
  display: none;
}

[lang="es"] .utility-cn .nav-item:nth-last-child(1),
[lang="es"]
  #block-utility-4.lingua-select--hamburger
  .nav-item:nth-last-child(1) {
  display: none;
}

.lingua-select a {
  color: rgb(179 46 75);
  text-transform: uppercase;
  font-size: 2rem;
}

.utility-cn .nav-item a {
  color: rgb(179 46 75);
  text-transform: uppercase;
  font-size: 1.8rem;
}

.search .dropdown-toggle {
  padding: 0;
}

.search .dropdown-toggle::after {
  content: none;
}

.search img {
  width: 2rem;
}

.search .search__icon--white,
.search--top .search__icon--amaranto {
  display: none;
}

.lingua-select--top,
.search--top {
  display: none;
}

.lingua-select--ultimenu,
.search--ultimenu {
  position: relative;
  top: -54px;
  width: auto !important;
}

.search--ultimenu {
  margin-left: 0.5rem;
}

@media (min-width: 64em) {
  .lingua-select--top,
  .search--top {
    position: absolute;
    display: block;
    width: auto !important;
    padding: 0 !important;
    top: -3px;
    z-index: 99;
  }

  .lingua-select--top {
    top: -4px;
    right: 8rem;
  }

  .search--top {
    right: 4.4rem;
  }

  .search--top .search__icon--amaranto {
    display: inline-block;
  }

  .lingua-select--ultimenu,
  .search--ultimenu {
    display: none;
  }
}

#header .sitename {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-left: 0.5rem;
  height: 100%;
  max-width: 70%;
  width: 100%;
  font-family: "Roboto Slab", serif;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: normal;
  color: rgb(179 46 75);
  z-index: 2;
}

.headergrid {
  width: 100%;
  height: auto;
  position: relative;
  display: grid;
  padding-bottom: 1rem;
}

.full-width.main_bg ~ #navbar-main .headergrid {
  box-shadow: none;
}

.headergrid .navbar-brand {
  position: relative;
  width: 90%;
  margin: 0;
  display: flex;
  align-items: center;
}

.headergrid .logoimg {
  width: 78px;
  overflow: hidden;
  position: relative;
  z-index: 97;
  display: inline-block;
}

.headergrid .logoimg img {
  width: 406px;
}

.headergrid img.icon_white {
  display: none;
}

.lingua-select .nav-link {
  padding: 0;
}

[id*="unipv-search"] .nav-link,
[id*="unipv-search"] .nav-link svg {
  text-align: center;
  padding: 0.5rem;
  padding: 0;
}

[id*="unipv-search"] img {
  width: 20px;
  height: 20px;
}

[id*="unipv-search"] .dropdown-toggle::after {
  display: none;
}

[id*="unipv-search"] button,
.form-actions button {
  font-size: 1.6rem;
}

@media (min-width: 48em) {
  /* Igor */
  .headergrid {
    width: 100%;
    display: grid;
    grid-template-columns: 85% 10% 3% 2%;
    grid-template-columns: 77% 23%;
    justify-content: center;
  }

  .language-switcher-language-url .nav-link {
    padding: 0;
    width: 2.5rem;
  }
  /* Lingua di default EN */
  .lingua-en .nav-link {
    width: unset !important;
  }

  /* Davide */
  #header .sitename {
    top: -23px;
    left: 131px;
    max-width: unset;
    height: unset;
    display: block;
    padding-left: 0;
    font-size: 3.2rem;
    line-height: 1.1;
  }

  .headergrid {
    margin-bottom: 1rem;
    padding-top: 0;
    padding-bottom: 0;
  }

  .headergrid .navbar-brand {
    position: static;
    display: block;
  }

  .headergrid .logoimg {
    width: unset;
    overflow: unset;
  }

  .headergrid .logoimg img {
    width: unset;
  }
}

@media (min-width: 62em) {
  .headergrid {
    grid-template-columns: 85% 8% 5% 2%;
  }

  #header .sitename {
    max-width: 80%;
  }
}

@media (min-width: 64em) {
  #header .sitename {
    max-width: 100%;
    font-size: 3.9rem;
  }
}

@media (min-width: 85em) {
  .headergrid {
    grid-template-columns: 88% 6% 3% 3%;
  }
}

/* Nascondere il campo abstract dai menu non in corpo pagina */
.menu-item .field--name-field-abstract {
  display: none;
}

#child-menu .menu-item .field--name-field-abstract {
  display: block;
}

/* Banner fissi */
.banner-fissi {
  margin: 1.6em 0;
}

.banner-fissi .btn {
  width: 100%;
  padding: 0.7em 0;
  font-size: 2rem;
  font-weight: 900;
}

.banner-fissi .nostri-corsi .btn {
  margin-bottom: 0.5em;
}

.banner-fissi .btn a {
  color: #fff;
  padding-left: 3rem;
  position: relative;
}

@media (min-width: 62em) {
  .banner-fissi .btn {
    font-size: 2.4rem;
  }

  .banner-fissi .nostri-corsi {
    margin-bottom: 0;
  }
}

.nostri-corsi a::before,
.nostre-linee a::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: -18%;
  padding: 3rem 0;
  padding-right: 7rem;
  background-position: center;
  background-repeat: no-repeat;
  vertical-align: text-bottom;
}

.nostri-corsi a::before {
  background-image: url(/themes/custom/unipv_base/icons/Shape.svg);
  background-size: 2.5em;
}

.nostre-linee a::before {
  background-image: url(/themes/custom/unipv_base/icons/microscope.svg);
  left: -13%;
  background-size: 1.6em;
  padding-right: 6rem;
}

@media (min-width: 62em) {
  .nostri-corsi a::before {
    background-size: 2.8em;
    left: -20%;
  }
}

/* Breadcrumb */
.block-system-breadcrumb-block .breadcrumb {
  padding-top: 1rem;
}

.block-system-breadcrumb-block .breadcrumb-item.active,
.block-system-breadcrumb-block .breadcrumb-item a {
  font-size: 1.7rem;
  color: rgb(68 68 68);
}

@media (min-width: 48em) {
  .block-system-breadcrumb-block .breadcrumb {
    padding-top: 2rem;
  }
}

/* Menu corpo pagina */
nav.menu-cp .menu-level-0,
.field--name-field-scorciatoie {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding-left: 0;
}

nav.menu-cp .menu-level-0 > li,
.field--name-field-scorciatoie .field__item {
  flex: 0 0 auto;
  position: relative;
  width: 100%;
  border: 1rem solid white;
  min-height: 15rem;
  padding: 2rem 3rem;
  background-color: rgb(29 113 184);
}

nav.menu-cp .menu-level-0 > li a,
nav.menu-cp .menu-level-0 > li p,
.field--name-field-scorciatoie a {
  color: #fff;
  line-height: normal;
}

nav.menu-cp .menu-level-0 > li a,
.field--name-field-scorciatoie a {
  display: block;
  margin: 0 auto 1em;
  padding-bottom: 6rem;
  font-size: 2.2rem;
  font-weight: 600;
  text-align: center;
}

nav.menu-cp .menu-level-0 > li a:hover,
.field--name-field-scorciatoie a:hover {
  color: #fff;
  text-decoration: none !important;
}

.field--name-field-scorciatoie a:focus {
  color: #fff;
}

nav.menu-cp .menu-level-0 > li a::after,
.field--name-field-scorciatoie a::after {
  content: ">";
  position: absolute;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  width: 5.3rem;
  height: 5.3rem;
  border-radius: 50%;
  font-size: 4rem;
  font-weight: 400;
  color: #000000;
  background-color: #fff;
  line-height: 1.3;
}

nav.menu-cp .menu-level-0 > li p {
  margin-bottom: 8.5rem;
}

@media (min-width: 48em) {
  nav.menu-cp .menu-level-0 > li,
  .field--name-field-scorciatoie .field__item {
    width: 50%;
  }

  nav.menu-cp .menu-level-0 > li a::after,
  .field--name-field-scorciatoie a::after {
    bottom: 3.4rem;
  }
}

@media (min-width: 62em) {
  nav.menu-cp .menu-level-0 > li,
  .field--name-field-scorciatoie .field__item {
    width: 33.33%;
  }
}

/* Spaziature */
.paragraph--type--hero-immagine-1,
.paragraph--type--hero-2-immagini,
.paragraph--type--hero-3-immagini,
.paragraph--type--banner-card,
.paragraph--type--esperienze,
.paragraph--type--hero-video,
.layout-bg-row,
.agenda-block,
.menu-cp,
.avvisi,
.field--name-field-scorciatoie {
  margin-bottom: 2.5rem;
}

@media (min-width: 48em) {
  .paragraph--type--hero-immagine-1,
  .paragraph--type--hero-2-immagini,
  .paragraph--type--hero-3-immagini,
  .paragraph--type--banner-card,
  .paragraph--type--esperienze,
  .paragraph--type--hero-video,
  .layout-bg-row,
  .agenda-block,
  .menu-cp,
  .avvisi,
  .field--name-field-scorciatoie {
    margin-bottom: 5rem;
  }
}

/* FOCUS ON */
/* Hero immagini */
body:not(.path-admin) [class*="paragraph--type--hero"] > .layout:nth-child(2) {
  position: relative;
}

body:not(.path-admin) .hero-immagini__titoletto,
body:not(.path-admin) .hero-immagini__abstract,
body:not(.path-admin) .hero-immagini__link {
  padding-left: 2rem;
  padding-right: 2rem;
  background-color: rgb(179 46 75);
  color: #fff;
  line-height: normal;
  position: relative;
}

body:not(.path-admin) .hero-immagini__titoletto {
  padding-top: 3rem;
  font-size: 2.4rem;
  font-weight: 900;
}

body:not(.path-admin) .hero-immagini__abstract {
  padding-top: 1em;
  padding-bottom: 1em;
  font-size: 1.6rem;
}

body:not(.path-admin) .hero-immagini__link {
  display: flex;
  justify-content: flex-end;
  padding-top: 2rem;
  padding-bottom: 1.2rem;
  font-size: 1.8rem;
}

body:not(.path-admin) .hero-immagini__link a {
  padding: 0.8em 1.8em;
  display: block;
  background-color: rgb(68 68 68);
  color: #fff;
  font-size: 2.4rem;
}

body:not(.path-admin) .hero-immagini__link a:hover,
body:not(.path-admin) .hero-immagini__link a:focus {
  color: #fff;
}

body:not(.path-admin) .hero-immagini__link a:hover {
  text-decoration: none !important;
}

body:not(.path-admin) .hero-immagini__img img {
  width: 100%;
  object-fit: cover;
  max-height: 32rem;
}

body:not(.path-admin) .hero-immagini__img * {
  height: 100%;
}

body:not(.path-admin)
  .node
  .paragraph--type--hero-immagine-1
  .field--type-image,
body:not(.path-admin)
  .node
  .paragraph--type--hero-2-immagini
  .field--type-image,
body:not(.path-admin)
  .node
  .paragraph--type--hero-3-immagini
  .field--type-image,
body:not(.path-admin)
  .node
  .paragraph--type--hero-1-immagine
  .field--type-image {
  float: none;
  margin: 0;
}

@media (min-width: 48em) {
  body:not(.path-admin)
    [class*="paragraph--type--hero"]
    > .layout:nth-child(2)
    > .layout__region--content {
    padding: 10rem 0;
  }

  body:not(.path-admin) .hero-immagini__img {
    position: absolute;
    object-fit: cover;
    height: 100%;
    top: 0;
  }

  body:not(.path-admin) .hero-immagini__img img {
    max-height: unset;
  }

  body:not(.path-admin) .hero-immagini__titoletto,
  body:not(.path-admin) .hero-immagini__abstract,
  body:not(.path-admin) .hero-immagini__link {
    padding-left: 3rem;
    padding-right: 3rem;
    max-width: 60%;
  }

  body:not(.path-admin) .hero-immagini__titoletto {
    font-size: 3.6rem;
  }

  body:not(.path-admin) .hero-immagini__abstract {
    font-size: 1.8rem;
  }

  body:not(.path-admin) .hero-immagini__link {
    font-size: 2rem;
  }
}

@media (min-width: 75em) {
  body:not(.path-admin) .hero-immagini__titoletto,
  body:not(.path-admin) .hero-immagini__abstract,
  body:not(.path-admin) .hero-immagini__link {
    max-width: 50%;
  }
}

/* Hero img 1 */
@media (min-width: 48em) {
  body:not(.path-admin) .paragraph--type--hero-immagine-1 .layout:nth-child(3) {
    padding: 9rem 0;
  }

  body:not(.path-admin) .paragraph--type--hero-immagine-1 .hero-immagini__img {
    width: 80%;
    right: 0;
  }
}

@media (min-width: 62em) {
  body:not(.path-admin) .paragraph--type--hero-immagine-1 .hero-immagini__img {
    width: 66%;
  }
}

/* Hero 2 immagini */
@media (min-width: 48em) {
  body:not(.path-admin)
    .paragraph--type--hero-2-immagini
    .hero-immagini__titoletto,
  body:not(.path-admin)
    .paragraph--type--hero-2-immagini
    .hero-immagini__abstract,
  body:not(.path-admin) .paragraph--type--hero-2-immagini .hero-immagini__link {
    margin-left: 10%;
  }

  body:not(.path-admin) .paragraph--type--hero-2-immagini .hero-immagini__img {
    width: 49%;
  }

  body:not(.path-admin)
    .block-field-blockparagraphhero-2-immaginifield-immagini-2b-hero {
    right: 0;
  }
}

/* Hero 3 immagini */
@media (min-width: 48em) {
  body:not(.path-admin) .paragraph--type--hero-3-immagini .layout:nth-child(3) {
    padding: 15rem 0;
  }

  body:not(.path-admin)
    .paragraph--type--hero-3-immagini
    .hero-immagini__titoletto,
  body:not(.path-admin)
    .paragraph--type--hero-3-immagini
    .hero-immagini__abstract,
  body:not(.path-admin) .paragraph--type--hero-3-immagini .hero-immagini__link {
    margin-left: 10%;
  }

  body:not(.path-admin) .paragraph--type--hero-3-immagini .hero-immagini__img {
    width: 49%;
    height: 50%;
  }

  body:not(.path-admin) [class*="immagini-3a-hero"] {
    padding-bottom: 0.5%;
  }

  body:not(.path-admin) [class*="immagini-3b-hero"] {
    top: 50%;
    padding-top: 0.5%;
  }

  body:not(.path-admin)
    .paragraph--type--hero-3-immagini
    [class*="immagini-3c-hero"] {
    height: 100%;
    right: 0;
  }
}

/* Esperienze */
.esperienze .field--name-field-card-esperienza-reference {
  display: flex;
  flex-wrap: wrap;
  margin-top: calc(var(--bs-gutter-y) * -1);
  margin-right: calc(var(--bs-gutter-x) / -2);
  margin-left: calc(var(--bs-gutter-x) / -2);
}

.esperienze .field--name-field-media-image.field--type-image {
  float: none;
}

.esperienze .field--name-field-card-esperienza-reference > .field__item {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-right: calc(var(--bs-gutter-x) / 2);
  padding-left: calc(var(--bs-gutter-x) / 2);
  margin-top: var(--bs-gutter-y);
  margin-bottom: 1.5rem;
}

@media (min-width: 62em) {
  .esperienze .field--name-field-card-esperienza-reference > .field__item {
    flex: 0 0 auto;
    width: 50%;
    margin-bottom: 0;
  }

  .esperienze
    .field--name-field-card-esperienza-reference
    > .field__item:nth-child(2) {
    margin-bottom: 2em;
  }
}

.paragraph.paragraph--type--card-esperienza.paragraph--view-mode--default {
  position: relative;
}

.paragraph--type--card-esperienza .field--name-field-collegamento a {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
  font-size: 0;
  line-height: 0;
}

.esperienze .wrapper {
  background-color: #00a795;
  box-shadow: 0 10px 10px -3px #777;
}

.esperienze .field__item:nth-child(odd) .wrapper {
  background-color: rgb(29 113 184);
}

@media (min-width: 62em) {
  .esperienze .field__item:nth-child(n + 1) .wrapper {
    background-color: #00a795;
  }

  .esperienze .field__item:nth-child(3n + 1) .wrapper {
    background-color: rgb(29 113 184);
  }
}

.esperienze .text-box {
  padding: 3em 1em 0 1.2em;
  font-size: 1.6rem;
  color: #fff;
  position: relative;
}

.esperienze q.citazione {
  font-size: 1.87rem;
  line-height: 2.3rem;
  font-weight: 700;
}

.esperienze q.citazione::before {
  content: "";
  background-image: url("/themes/custom/unipv_base/icons/virgolette.png");
  padding: 2.5rem;
  background-size: 3rem;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  top: 3px;
  left: 0.5em;
}

.esperienze q.citazione::after {
  content: no-close-quote;
}

.esperienze .field--name-field-media-image,
.esperienze .field--type-entity-reference {
  margin: 0 !important;
}

.esperienze .dettagli-persona {
  margin-top: 1.8em;
  margin-bottom: 1em;
  font-size: 1.87rem;
  line-height: 2rem;
}

.esperienze .nome {
  font-weight: 900;
}

.esperienze img {
  object-fit: cover;
  width: 100%;
  max-height: 275px;
}

@media (min-width: 48em) {
  .esperienze .text-box {
    padding-top: 3em;
  }

  .esperienze q.citazione {
    font-size: 2.1rem;
    line-height: 2.6rem;
  }

  .esperienze q.citazione::before {
    background-size: 3rem;
    top: 0.2em;
  }

  .esperienze .dettagli-persona {
    margin-top: 2.1em;
    margin-bottom: 0.9em;
  }
}

@media (min-width: 75em) {
  .esperienze .text-box {
    padding-top: 4em;
  }

  .esperienze q.citazione::before {
    top: 0.8em;
  }

  .esperienze .dettagli-persona {
    margin-top: 2.5em;
    margin-bottom: 1em;
  }
}

/* Card */
.paragraph--type--banner .col-12.col-md-6.field__item {
  margin-bottom: 1.2rem;
}

.paragraph--type--banner .col-12.col-md-6.field__item > div {
  height: 100%;
}

.paragraph--type--banner-card .field--name-field-card-reference {
  display: flex;
}

.paragraph--type--banner-card .field--name-field-card-reference > .field__item {
  margin-bottom: 1em;
}

.paragraph--type--hero-card {
  height: 100%;
}

.field--name-field-immagine-card-hero .contextual-region {
  position: static;
}

.node .field--name-field-immagine-card-hero .field--type-image {
  float: none;
  margin: 0;
}

.paragraph--type--banner
  .field--name-field-banner
  > .field__item:not(:first-child) {
  margin-top: 1.4rem;
}

.card__wrapper {
  overflow-y: hidden;
  position: relative;
  height: 100%;
  margin-bottom: 1rem;
  background-color: #1d71b8;
}

.card__wrapper::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.6);
}

.card__wrapper img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  object-fit: cover;
}

.card__wrapper a {
  position: absolute;
  bottom: 2rem;
  z-index: 2;
  overflow: hidden;
  line-height: 0;
  font-size: 0;
  text-align: center;
  color: transparent;
  left: 50%;
  transform: translateX(-50%);
}

.card__wrapper a::after {
  content: ">";
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 53px;
  height: 53px;
  border-radius: 50%;
  font-size: 4rem;
  color: #000000;
  background-color: rgb(255 255 255);
}

.card__wrapper a::after {
  content: ">";
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  font-size: 3rem;
  color: #000000;
  background-color: rgb(255 255 255 / 0.9);
}

.card__wrapper a:hover {
  text-decoration: none !important;
}

.card__wrapper .card__text-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  margin-bottom: 6.8rem;
  padding: 1.8rem 1.4rem;
  color: #fff;
  line-height: normal;
  z-index: 1;
}

.card__wrapper .field--name-field-titolo-card-hero {
  display: block;
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 24px;
  text-align: center;
  text-shadow: #2a2a2a 0px 0px 10px;
}

.card__wrapper .field--name-field-abstract-hero {
  width: 100%;
  text-align: center;
  line-height: normal;
  font-stretch: 100%;
  text-shadow: #2a2a2a 0px 0px 10px;
}

.paragraph--type--hero-card .field--name-field-immagine-card-hero * {
  height: 100%;
}

@media (min-width: 62em) {
  .paragraph--type--banner
    .field--name-field-banner
    > .field__item:nth-child(2) {
    margin-top: 0 !important;
  }

  .card__wrapper a::after {
    width: 53px;
    height: 53px;
    font-size: 4rem;
    background-color: rgb(255 255 255);
  }
}

@media (min-width: 62em) and (hover: hover) and (pointer: fine) {
  .paragraph--type--hero-card {
    min-height: 32rem;
  }

  .paragraph--type--banner-card
    .field--name-field-card-reference
    > .field__item {
    margin-bottom: 0;
  }

  .paragraph--type--banner-card
    .field--name-field-card-reference
    > .field__item:nth-child(n + 4) {
    margin-top: 3rem;
  }

  .paragraph--type--banner
    .field--name-field-banner
    > .field__item:not(:first-child) {
    margin-top: 0;
  }

  .paragraph--type--banner
    .field--name-field-banner
    > .field__item:nth-child(n + 3) {
    margin-top: 1.4rem;
  }

  .card__wrapper a {
    transition: opacity 0.1s;
    transition-delay: 0s;
    opacity: 0;
  }

  .card__wrapper::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    transition: background 0.4s;
  }

  .card__wrapper .card__text-wrapper {
    padding: 1.8rem 2rem;
    transform: translateY(65%);
    transition: transform 0.4s;
  }

  .paragraph--type--banner .card__wrapper .card__text-wrapper {
    transform: translateY(68%);
  }

  .layout__region--first
    .paragraph--type--banner
    .card__wrapper
    .card__text-wrapper {
    transform: translateY(59%);
  }

  .card__wrapper .field--name-field-titolo-card-hero,
  .card__wrapper .field--name-field-abstract-hero {
    position: relative;
    z-index: 1;
  }

  .card__wrapper .field--name-field-titolo-card-hero {
    text-shadow: #2a2a2a 0px 0px 10px;
  }

  .card__wrapper .field--name-field-abstract-hero {
    opacity: 0;
    transition: opacity 0.4s;
  }

  .card__wrapper:hover a,
  .card__wrapper .field--name-field-link-card-hero:focus-within a {
    opacity: 1;
    transition: opacity 0.4s;
    transition-delay: 0.2s;
  }

  .card__wrapper:hover::before,
  .card__wrapper a:focus + .overlay {
    background-color: rgb(29 113 184);
  }

  .card__wrapper:hover .card__text-wrapper,
  .card__wrapper
    .field--name-field-link-card-hero:focus-within
    ~ .card__text-wrapper {
    transform: translateY(0) !important;
  }

  .card__wrapper:hover .field--name-field-titolo-card-hero,
  .card__wrapper
    .field--name-field-link-card-hero:focus-within
    ~ .card__text-wrapper
    .field--name-field-titolo-card-hero {
    text-shadow: none;
  }

  .card__wrapper .card__text-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: unset;
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 0;
  }

  .card__wrapper
    .field--name-field-link-card-hero:focus-within
    ~ .card__text-wrapper::after {
    opacity: 1;
  }

  .card__wrapper:hover .field--name-field-abstract-hero,
  .card__wrapper
    .field--name-field-link-card-hero:focus-within
    ~ .card__text-wrapper
    .field--name-field-abstract-hero {
    opacity: 1;
  }
}

@media (min-width: 64em) and (max-width: 74.938em) and (hover: hover) and (pointer: fine) {
  .card__wrapper .card__text-wrapper {
    transform: translateY(57%);
  }
}

/* paragrafo con video */
@media (min-width: 1em) and (max-width: 62em) {
  .paragraph--type--hero-video .layout__region--first,
  .paragraph--type--hero-video .layout__region--second {
    flex: 0 0 100% !important;
  }
}

.paragraph--type--hero-video .layout__region--first {
  display: flex;
  flex-direction: column;
}

.paragraph--type--hero-video .layout__region--first > div {
  padding: 1.2em 1.2em 0 1.2em;
  background-color: rgb(179 46 75);
  color: #fff;
  font-size: 1.6rem;
}

.paragraph--type--hero-video .content {
  line-height: normal;
}

.paragraph--type--hero-video [class*="titoletto-hero"] {
  font-size: 2.4rem;
  font-weight: 900;
}

.block-field-blockparagraphhero-videofield-abstract-hero {
  flex: 1;
  padding-bottom: 2rem !important;
}

@media (min-width: 48em) {
  .paragraph--type--hero-video .layout__region--first {
    font-size: 1.8rem;
  }

  .paragraph--type--hero-video [class*="titoletto-hero"] {
    font-size: 3.6rem;
  }
}

/* colonna video */
.paragraph--type--hero-video [class*="video-hero"] {
  height: 100%;
  background-color: rgb(179 46 75);
  display: grid;
}

.paragraph--type--hero-video [class*="video-hero"] .content {
  align-self: center;
}

@media (min-width: 62em) {
  .paragraph--type--hero-video .layout__region--second {
    padding-left: 1%;
  }
}

/* Box video */
.field--name-field-media-oembed-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
}

.field--name-field-media-oembed-video > iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/*Agenda */
.agenda-block .contextual-region {
  position: static;
}

.agenda-img {
  padding-top: 5.5em;
}

.agenda-block h2 {
  max-width: 70%;
}

.agenda {
  padding: 2em 0;
}

.agenda-hp .row {
  flex-direction: column;
}

.agenda-archivio .row {
  --bs-gutter-y: 1em;
}

.agenda-archivio .views-field,
.agenda-archivio .agenda__wrapper {
  height: 100%;
}

.agenda-hp .agenda__wrapper,
.agenda-archivio .agenda__wrapper {
  max-width: 80%;
  margin: 0.7em auto;
  padding: 1em;
  color: #fff;
  background-color: rgb(179 46 75);
}

.agenda-archivio .agenda__wrapper {
  max-width: 100%;
  margin: 0 auto;
}

.agenda__wrapper .agenda-data {
  font-size: 2.1rem;
  font-weight: 900;
  line-height: normal;
  margin-bottom: 0.7em;
}

.agenda__wrapper .agenda-titolo a {
  font-size: 1.6rem;
  text-decoration: none;
  color: #fff;
  line-height: normal;
}

.agenda-hp .agenda-titolo a {
  display: block;
}

@media (min-width: 3125rem) {
  .agenda-img {
    padding-top: 3em;
  }

  .agenda-block h2 {
    max-width: 100%;
  }
}

@media (min-width: 48em) {
  .agenda-img {
    max-width: 70%;
    padding-top: 3em;
  }

  .agenda-hp .agenda__wrapper {
    margin: 0.7em 0 0.7em auto;
    padding: 1.3em;
    max-width: 50%;
  }

  .agenda__wrapper .agenda-data {
    font-size: 2.4rem;
  }

  .agenda__wrapper .agenda-titolo a {
    font-size: 2.1rem;
  }
}

/* Avvisi */
.avvisi {
  position: relative;
}

[class*="block-views-blockavvisi"] {
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.view-avvisi {
  position: relative;
}

.avvisi .view-header {
  margin-bottom: 2em;
}

.avvisi .row {
  --bs-gutter-y: 3rem;
  --bs-gutter-x: 3rem;
}

.avviso {
  margin-bottom: 3rem;
  line-height: normal;
}
/*
.avviso:first-child {
  padding-top: 2.5rem;
  padding-top: unset;
}
*/

.avviso-categoria {
  color: rgb(29 113 184);
  margin-bottom: 0.7em;
  font-weight: 700;
}

.avviso-data {
  margin-bottom: 0.5em;
  font-size: 1.6rem;
  color: #575757;
}

.avviso-titolo {
  font-size: 2.4rem;
  font-weight: 500;
  padding-bottom: 0.6em;
  transition: box-shadow 0.4s ease-out, transform 0.3s ease-out;
}

.avviso-titolo a,
.avviso-titolo a:hover {
  color: #444;
}

.avviso .views-field-field-abstract {
  padding-bottom: 1rem;
}

@media (min-width: 48em) {
  .avvisi .row {
    --bs-gutter-y: 5rem;
  }
  /*
  .avviso:first-child {
    padding-top: 0;
    padding-top: unset;
  }
*/
  .avviso-data {
    margin-bottom: 1em;
  }

  .avviso {
    transition: box-shadow 0.4s ease;
  }

  .avviso > div {
    transition: transform 0.4s ease-in-out;
  }

  /*
  .avviso:hover {
    box-shadow: 0.2px 0.9px 1.1px -10px rgba(0, 0, 0, 0.017),
      0.4px 2.4px 2.7px -10px rgba(0, 0, 0, 0.024),
      0.7px 4.5px 5.1px -10px rgba(0, 0, 0, 0.029),
      1.3px 7.8px 9.2px -10px rgba(0, 0, 0, 0.036),
      2.1px 13.2px 17.1px -10px rgba(0, 0, 0, 0.046),
      5px 31px 41px -10px rgba(0, 0, 0, 0.07);
  }

  .avviso:hover > div {
    transform: translateY(-1px);
  }
  */
}

/* More link*/
.more-link {
  position: absolute;
  top: 4rem;
  padding-top: 1rem;
  font-size: 1.6rem;
  font-style: italic;
  font-weight: 300;
}

.agenda .more-link {
  top: 0;
  right: 0;
}

.more-link a {
  color: rgb(68 68 68);
}

@media (min-width: 48em) {
  .more-link {
    top: 0;
    right: 0;
    padding-top: 0.5rem;
    font-size: 2.4rem;
  }
}

/* MORE TAG */
.moretag {
  margin-top: 1.4rem;
  padding-right: 0.5rem;
  display: block;
  font-size: 17px;
  text-align: right;
  font-style: italic;
}

/* PAGINA BASE */
/* PB - Hero testo */
.pb-hero-text {
  margin: 0;
  padding: 1.2em 0.8em;
  text-align: left;
  color: #fff;
  background-color: grey;
}

.pb-hero-titolo {
  position: relative;
  font-size: 3rem;
  font-weight: 900;
}

.pb-hero-titolo {
  position: relative;
  font-size: 3rem;
  font-weight: 900;
}

.pb-hero-titolo + p {
  position: relative;
}

.pb-hero-sottotitolo {
  margin-bottom: 0.8em;
  font-size: 2rem;
}

.pb-hero-descrizione {
  margin-top: 1em;
}

@media (min-width: 64em) {
  .pb-hero-text {
    position: relative;
    max-width: 70%;
    background-color: rgba(0, 0, 0, 0.7);
    text-align: left;
    color: #fff;
    z-index: 1;
  }

  .pb-hero-text::before {
    content: none;
  }

  .pb-hero-titolo {
    font-size: 6rem;
    line-height: 1.1;
  }

  .pb-hero-sottotitolo {
    font-size: 2.4rem;
  }
}

/* PG - Hero Call to action */
.block-views-blockcampi-block-9 {
  position: relative;
  z-index: 1;
}

/* @media (min-width: 64em) {
  .block-views-blockcampi-block-9 {
    position: static;
  }
} */

.call-to-action {
  position: relative;
  margin-bottom: 1rem;
}

.call-to-action .field__items,
.call-to-action .view-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
  padding: 0;
  width: 100%;
}

.call-to-action .field__item {
  display: flex;
  padding: 0.5rem;
  flex: 0 0 50%;
  max-width: 50%;
  text-align: center;
  align-items: center;
  line-height: 1.05;
}

.call-to-action .field__item a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0.7em 0.9em;
  font-size: 1.8rem;
  background-color: rgb(179 46 75);
  color: rgb(255, 255, 255);
}

@media (max-width: 63.938em) {
  .call-to-action .field__item a {
    width: 100%;
    padding: 0.4em 0.2em;
    font-size: 1.8rem;
    color: #fff;
  }
}

@media (min-width: 64em) {
  .call-to-action {
    margin-top: 2rem;
  }

  .call-to-action .field__items,
  .call-to-action .view-content {
    justify-content: flex-end;
  }

  .call-to-action .field__item {
    display: block;
    margin: 0.7rem 0;
    padding: 1.4rem;
    flex: 0 0 25%;
    width: 25%;
    max-width: none;
    text-align: start;
    align-items: normal;
    background-color: transparent;
  }

  .call-to-action .field__item a {
    font-size: 2.2rem;
  }
}

@media (min-width: 75em) {
  .call-to-action {
    margin-top: 4rem;
  }
  .call-to-action .field__item a {
    font-size: 2.3rem;
  }
}

@media (min-width: 100em) {
  .call-to-action {
    margin-top: 11.5rem;
  }

  .call-to-action .view-content {
    bottom: 3rem;
  }

  .call-to-action .field__item a {
    font-size: 2.4rem;
  }
}

/* Paragrafo*/
.titolo-paragrafo {
  font-size: 3.6rem;
  font-weight: 900;
}

.block-field-blocknodepagefield-paragrafo p {
  margin-bottom: 0;
}

.block-field-blockparagraphsemplicefield-testo-paragrafo + div {
  margin-top: 1.2rem;
}

.field--name-field-paragrafo > .field__item:not(:last-child) {
  margin-bottom: 4rem;
}

.field--name-field-paragrafo > .paragraph:not(:first-child) {
  margin-top: 4rem;
}

.block-field-blockparagraphsemplicefield-immagine-pargrafo img {
  margin-right: 1rem !important;
  margin-bottom: 1rem !important;
  width: 100%;
  height: auto;
}

@media (min-width: 62em) {
  .block-field-blockparagraphsemplicefield-immagine-pargrafo img {
    max-width: 28rem;
  }
}

.figure.block-field-blockparagraphsemplicefield-immagine-pargrafo img {
  margin-bottom: 0.5rem !important;
}

.figure.block-field-blockparagraphsemplicefield-immagine-pargrafo
  .figure-caption {
  max-width: 28rem;
}

.block-field-blockparagraphsemplicefield-link-paragrafo .field__item,
.block-field-blockparagraphsemplicefield-allegati-paragrafo .field__item {
  margin-bottom: 1rem;
}

.paragraph--type--video-con-testo p,
.paragraph--type--immagine-con-testo p {
  margin-top: 0.8em;
}

.paragraph--type--immagine-con-testo .field--type-image {
  float: none !important;
  margin: 0;
}

.field--name-field-immagine-larga * {
  width: 100%;
  height: auto;
}

.field--name-field-immagine-larga img {
  object-fit: cover;
}

/* Naviga sezione & Links utili */
.naviga-sezione,
.link-utili {
  margin-top: 2em;
}

.naviga-sezione *,
.link-utili * {
  background-color: #efefef;
}

.naviga-sezione h2,
.link-utili .field__label {
  margin: 0 !important;
  padding: 2rem 1.5rem 1rem !important;
  font-size: 2.1rem !important;
  font-weight: 700;
}
.naviga-sezione ul.menu.menu-level-0 {
  list-style: none;
  padding: 0;
  /* padding-bottom: 5rem; */
}

.naviga-sezione li.menu-item.menu-item--active-trail,
.link-utili .field__items {
  padding: 0.5rem 1.5rem;
}

.naviga-sezione li.menu-item.menu-item--active-trail a.is-active {
  font-weight: 700;
  color: rgb(0, 113, 181);
}
.naviga-sezione li.menu-item,
.menu-postlauream .naviga-sezione :not(.content-links) a,
.menu-postlauream .naviga-sezione .content-links span {
  padding: 0.8rem 1.5rem;
  line-height: 1.2;
}

.naviga-sezione .menu-level-0 > li.menu-item:last-child {
  padding-bottom: 2rem;
}

.link-utili .field__items > .field__item:last-child {
  padding-bottom: 1rem;
}

.naviga-sezione ul.menu-level-1 li.menu-item {
  list-style: none;
  margin: 0;
  padding: 0.8rem 0 0 1.2rem;
}

.naviga-sezione ul.menu-level-1 li.menu-item.menu-item--collapsed:before,
.naviga-sezione ul.menu-level-1 li.menu-item:before {
  content: ">";
  position: relative;
  margin-left: -1.5rem;
}
.naviga-sezione ul.menu-level-1 li.menu-item.menu-item--collapsed a,
.naviga-sezione ul.menu-level-1 li.menu-item a {
  color: #333;
}

.link-utili .field__items a::before {
  content: url("/themes/custom/unipv_base/icons/link.svg");
  padding-right: 0.7rem;
  position: relative;
  top: 0.4rem;
}

@media (min-width: 48em) {
  .naviga-sezione,
  .link-utili {
    margin-top: 0;
    margin-bottom: 3rem;
  }
}

.sidebar .block.naviga-sezione {
  background-color: transparent;
  border-color: transparent;
}

.sidebar .block.naviga-sezione h2 {
  border-bottom: unset;
}

.sidebar .block.naviga-sezione .nav-item {
  padding: 0.5rem;
}

.sidebar .block.naviga-sezione .nav {
  margin: 0;
}

/* icona pdf */
.file--application-pdf {
  background-image: url("/themes/custom/unipv_base/icons/file.svg");
  background-position-y: 0;
  background-size: 1.4rem;
  line-height: 2.3rem;
  background-repeat: no-repeat;
  padding-left: 1.5rem;
}

.file--application-pdf > a {
  margin-left: 0.23em;
}

/* icona link */
.field--name-field-link-paragrafo a::before {
  content: url("/themes/custom/unipv_base/icons/link.svg");
  padding-right: 5px;
  position: relative;
  top: 3px;
}

.view-filters {
  padding: 3rem 1rem 1rem;
  background: #f5f4f8;
  margin-bottom: 3rem;
  font-size: 2rem;
}

.view-filters .form-row {
  display: flex;
  flex-wrap: wrap;
}

.view-filters label {
  padding: 0 1rem 1rem 0;
  font-weight: bold;
}

.view-filters input,
.view-filters select {
  font-size: 1.6rem !important;
  border-radius: 0px;
}

.view-filters .form-actions {
  margin-top: 2rem;
}

/* Mappa sito */
.mappasito {
  margin-top: 2rem;
}

.mappasito ul {
  list-style: revert;
}

.mappasito li {
  padding-top: 0.6rem;
  padding-left: 0.5rem;
  word-break: break-word;
  hyphens: auto;
}

.mappasito .menu-level-0 > li {
  margin-bottom: 3.2rem;
}

.mappasito .menu-level-0 > li > a {
  font-size: 2.4rem;
  font-weight: 600;
}

.mappasito .menu-level-1 > li {
  margin-bottom: 1rem;
}

.mappasito .menu-level-1 > li > a {
  font-size: 2rem;
}

.mappasito .menu-level-2 > li:first-child {
  padding-top: 0.6rem;
}

@media (min-width: 48em) {
  .mappasito li {
    padding-top: 1rem;
    padding-left: 1rem;
  }
}

/* Paginatore */
ul.pagination {
  margin-top: 4rem;
}

/* Pagina 404 */
.block-field-blocknodepagefield-paragrafo {
  margin-top: 2rem;
}

.block-field-blocknodepagefield-paragrafo p {
  margin-bottom: 1.6rem;
}

.field--name-field-didascalia p {
  margin-bottom: 0rem !important;
}

.block-field-blocknodepagefield-paragrafo ul {
  padding-left: 3rem;
  list-style: disc;
}

/* FOOTER */
.site-footer {
  padding-bottom: 0;
}

.site-footer::before,
.site-footer::after {
  content: "";
  height: 100%;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  top: 0;
}

@media (min-width: 62em) {
  .site-footer {
    position: relative;
    padding-bottom: 1.5rem !important;
  }

  .site-footer::before {
    width: 278px;
    background-image: url(/themes/custom/unipv_base/icons/filigrana_spiga.svg);
    background-size: auto 100%;
    background-position: center;
    background-repeat: no-repeat;
    left: 50%;
  }
}

@media (min-width: 75em) {
  .site-footer::after {
    right: 0;
    width: 48px;
    background-image: url(/themes/custom/unipv_base/icons/filigrana_ingegno.svg);
    background-size: auto 100%;
  }
}

.site-footer ul:not(.contextual-links) a {
  color: #fff !important;
}

.site-footer__bottom {
  border: none !important;
  margin-top: 0 !important;
}

.site-footer__bottom .nav {
  flex-direction: column;
  margin-bottom: 1.2em;
}

.site-footer__bottom .nav li {
  padding-bottom: 0.3em;
}

.site-footer__bottom .nav li span {
  padding-left: 0;
  font-weight: 500;
}

.site-footer__bottom .nav a {
  padding: 0 1rem;
  line-height: normal;
}

.footer-sostieni h2 {
  margin-bottom: 1rem !important;
}

.footer-sostieni span {
  padding: 0;
}

[id*="block-social-block-2"] > div {
  border: 0;
  padding: 0;
}

[id*="block-social-block-2"] .views-field-field-icon .field-content {
  display: flex;
  justify-content: center;
}

[id*="block-social-block-2"] .views-field-title {
  text-align: center;
}

[id*="block-social-block-2"] .views-field-title a {
  font-size: 2.4rem;
  font-weight: 500;
  line-height: normal;
}

[id*="block-social-block-2"] .views-field-field-icon {
  margin-top: 1rem;
}

.site-footer__bottom [id*="footerindirizzo"].block {
  margin-top: 2rem;
  padding-left: 1rem;
}

@media (min-width: 48em) {
  .site-footer__bottom .nav a {
    padding-left: 0;
  }
  .site-footer__bottom [id*="footerindirizzo"].block {
    padding-left: 0;
  }
}

[id*="footerindirizzo"] div {
  font-size: 1.6rem;
  line-height: 1.2;
  color: #fff;
}

[id*="footerindirizzo"] a + div {
  margin-top: 1rem;
}

[id*="social-block-1"]::before {
  content: "";
  display: block;
  margin: 0 auto;
  width: 80%;
  margin-top: 2rem;
  padding-top: 3rem;
  border-top: 1px solid #555;
  border-color: rgba(255, 255, 255, 0.15);
}

[id*="social-block-1"] h2 {
  font-size: 2.4rem !important;
  font-weight: 500;
  text-align: center;
  color: #fff;
}

[id*="social-block-1"] ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-left: 0 !important;
}

[id*="social-block-1"] a:hover {
  filter: opacity(0.7);
}

[id*="social-block-1"] img {
  position: relative;
}

@media (min-width: 48em) {
  #block-views-block-social-block-2,
  #block-unipv-cdl-views-block-social-block-2 {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin-bottom: 5rem;
    z-index: 1;
  }
}

@media (min-width: 48em) {
  [id*="footerindirizzo"].block {
    margin-left: 0;
  }

  [id*="footerindirizzo"] a + div {
    margin-top: 0.5rem;
  }

  [id*="social-block-1"]::before {
    content: none;
  }
}

/* Per ingegneria dip05 */
.footer-ing .logo-dicar {
  margin: 3rem auto 0;
}

@media (min-width: 375px) {
  .footer-ing {
    display: flex;
    align-items: normal !important;
  }

  .footer-ing .logo-dicar {
    margin: 0 auto;
    padding-right: 0.5em;
  }

  .footer-ing .logo-dicar img {
    max-width: 95%;
  }
}

@media (min-width: 768px) {
  .footer-ing .logo-dicar {
    padding-right: 1em;
  }
  .footer-ing .logo-dicar img {
    max-width: 100%;
  }
}

/* Fix per risoluzioni tra i 320px e 764px */
@media (max-width: 374px) {
  #header .sitename {
    max-width: 70%;
    font-size: 2rem;
  }

  .nostri-corsi a::before {
    left: -18%;
    background-size: 2em;
  }

  .nostre-linee a::before {
    left: -11%;
    background-size: 1.4em;
  }
}

/* Fix per layout-builder */
.path-admin .main-content img {
  width: 100%;
  height: auto;
}

/* Dettaglio persona */
span.views-label-field-cv {
  margin-right: 0.5rem;
}

/* Search form */
form#search-form {
  margin: 1rem 0 2.5rem;
}

form#search-form > div {
  display: inline;
}

form#search-form label {
  margin-bottom: 0.5rem;
  font-weight: 600;
}

form#search-form input {
  color: #495057;
}

form#search-form .js-form-type-search input {
  height: 35.8px;
}

form#search-form button {
  margin-top: 0;
  font-size: 1.8rem;
  position: relative;
  top: -1px;
}

form#search-form a.search-help-link {
  color: #2980d1;
  font-weight: 500;
  padding-left: 30px;
  position: relative;
  top: 0.5rem;
}

form#search-form .search-advanced {
  margin-top: 2.4rem;
}

@media (min-width: 48em) {
  form#search-form .search-advanced {
    margin-top: 1rem;
  }
}

form#search-form .details-wrapper {
  margin-top: 0.5rem;
  padding: 2rem;
  border: 1px solid #b32e4b;
}

ol.node_search-results {
  margin-top: 1rem;
}

ol.node_search-results > li {
  padding-top: 1.2rem;
}

ol.node_search-results h3 {
  font-size: 1.8rem;
  font-size: clamp(1.8rem, 1.4rem + 0.78125vw, 2.2rem);
}

/* SHARE BLOCK fix */
.node--type-canale
  .block-extra-field-blocknodecanaleshare-everywhere
  + .menu-cp {
  width: 100%;
  display: grid;
}

/* COOKIES */
.cookiesjsr--app {
  font-size: 1.6rem;
}

.cookiesjsr-btn,
.cookiesjsr-btn:hover {
  transition: transform 0.3s ease;
  will-change: transform;
}

.cookiesjsr-btn {
  transform: scale(1) translateZ(0);
  -webkit-transform: scale(1) translateZ(0);
}

.cookiesjsr-btn:hover {
  transform: scale(1.02) translateZ(0);
  -webkit-transform: scale(1.02) translateZ(0);
}

/** Gestione tabelle PTL-911**/

#no-more-tables th,
.table-responsive-md th {
  background: rgba(0, 0, 0, 0.51) !important;
}

@media only screen and (max-width: 800px) {
  /* Force table to not be like tables anymore */
  #no-more-tables table,
  #no-more-tables thead,
  #no-more-tables tbody,
  #no-more-tables th,
  #no-more-tables td,
  #no-more-tables tr {
    display: block;
  }

  /* Hide table headers (but not display: none;, for accessibility) */
  #no-more-tables thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  #no-more-tables tr {
    border: 1px solid #ccc;
  }

  #no-more-tables td {
    /* Behave  like a "row" */
    border: none;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 50%;
    white-space: normal;
    text-align: left;
  }

  #no-more-tables td:before {
    /* Now like a table header */
    position: absolute;
    /* Top/left values mimic padding */
    top: 6px;
    left: 6px;
    width: 45%;
    padding-right: 10px;
    white-space: nowrap;
    text-align: left;
    font-weight: bold;
  }

  /*
	Label the data
	*/
  #no-more-tables td:before {
    content: attr(data-title);
  }
}

/* PTL - SVILUPPO ADD-ON MODELLO CDL: 2.4. Didascalia immagine */

@media all and (min-width: 560px) {
  .node .paragraph--type--semplice.paragraph--view-mode--token {
    float: left; /* LTR */
    margin: 0 1em 0 0; /* LTR */
  }
}

/* PTL - SVILUPPO ADD-ON MODELLO CDL:  3.3. Condivisione sui social  */
.se-block .block-content .se-container .se-links-container {
  height: 30px !important;
}
/* PTL-1198 */
.se-block .block-content .se-container {
  margin-bottom: 1.4rem;
}

/* PTL-1142 - CITAZIONE BLOCKQUOTE */
blockquote {
  position: relative;
  padding: 1rem;
  text-indent: 1rem;
  font-style: italic;
  font-weight: 600;
}

blockquote p::before {
  content: open-quote;
  position: absolute;
  top: 0.7rem;
  left: 0;
}

blockquote p::after {
  content: close-quote;
  position: absolute;
}

/* Pagina elenco*/
.node--type-pagina-elenco .sidebar .block {
  margin-bottom: 0px !important;
}

/* pagina avvisi */
.view-avvisi-tassonomia .view-filters {
  margin-bottom: 0.5rem;
}
.view-avvisi-tassonomia .view-filters button {
  background-color: rgb(29 113 184);
  font-size: 1.8rem;
}
.view-filters input,
.avvisi-tag {
  font-size: 1.8rem !important;
}
.avvisi-tag {
  margin-right: 1rem;
  color: #fff !important;
  position: relative;
}
.avvisi-tag:hover,
.avvisi-tag:focus,
.avvisi-tag:visited {
  background-color: #175a93 !important;
}
.avvisi-tag .link {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}
@media all and (max-width: 813px) {
  .view-avvisi-tassonomia .view-filters {
    margin-bottom: 1rem;
  }
  .avvisi-tag {
    margin-bottom: 1rem;
  }
}
@media all and (max-width: 415px) {
  .view-avvisi-tassonomia .view-filters {
    margin-bottom: 1.2rem;
  }
}

.avvisi-target {
  font-size: 14px;
  color: #455b71;
  text-transform: uppercase;
}

/* PTL-1647 - aggiunta apri-chiudi per FAQ */
.field--name-field-paragrafo > .paragraph.accordion-paragraph {
  margin-top: 0.4rem;
}

.field--name-field-paragrafo .accordion-body {
  padding-top: 1.6rem;
}

.paragraph--type--semplice .accordion-button {
  background-color: #b02d4a !important;
  text-align: left;
  word-break: break-word;
}

.paragraph--type--semplice .accordion-button::after {
  filter: brightness(0) saturate(100%) invert(100%) sepia(17%) saturate(0%)
    hue-rotate(143deg) brightness(103%) contrast(101%);
  background-size: 1.9rem;
  width: 1.9rem;
  height: 1.9rem;
}

.paragraph--type--semplice .accordion .field--name-field-titolo-paragrafo {
  margin-bottom: 0;
  color: #fff;
  position: relative;
  z-index: 1;
}

@media (min-width: 62em) {
  .paragraph--type--semplice [class*="immagine-pargrafo"] {
    max-width: 300px;
  }
}

.paragraph--type--semplice [class*="link-paragrafo"] .field__item,
.paragraph--type--semplice [class*="allegati-paragrafo"] .field__item {
  margin-bottom: 1rem;
}

/* HOMEPAGE paragrafo Video */
.hp-video .call-to-action .field-content {
  display: flex;
  justify-content: center;
}
.hp-video .call-to-action .field-content a {
  padding: 0.7em 0.9em;
  font-size: 1.8rem;
  background-color: rgb(179 46 75);
  color: rgb(255, 255, 255);
}

.node .field--type-image {
  margin: 0;
}

/*immagini pagina di canale */
img.image-style-max-1300x1300,
.field.field--name-field-media-image.field--type-image.field--label-visually_hidden,
.field.field--name-field-media-image.field--type-image.field--label-visually_hidden
  .field__item,
.field.field--name-field-immagine.field--type-entity-reference.field--label-hidden.field__item
  > div,
.menu-link-contentmain .field.field--name-field-immagine,
.menu-link-contentmain .field.field--name-field-immagine > img {
  height: 100%;
}

/*Eventi HP*/
.block-field-blockparagrapheventofield-data-evento-esposta
  + .block-field-blockparagrapheventofield-titolo {
  margin-top: 6.5rem;
}

.field--name-field-data-evento-esposta-1 {
  min-height: 3.8rem;
}

.eventi--hp .avviso--eventi {
  padding-left: 0rem !important;
}

.field--name-field-data-evento-esposta {
  font-size: 1.6rem;
  color: #b32e4b;
  font-weight: 700;
  padding-left: 15px;
  line-height: 1.6;
}

.field--name-field-data-evento-esposta-1 {
  text-align: left;
  padding: 1.4rem 0 1.4rem 1.5rem;
  color: #444;
  text-transform: uppercase;
  font-weight: 300;
  font-size: 1.6rem;
}
.avviso .field--name-field-titolo > a {
  color: #444;
  display: inline-block;
  text-transform: uppercase;
  font-weight: 700;
  padding-left: 1.5rem;
  font-size: 2rem;
  line-height: 1.2;
}

.avviso {
  margin-bottom: unset !important;
}

.views-field.views-field-nothing {
  height: 100%;
}

@media (min-width: 48em) {
  .avviso .field--name-field-titolo > a {
    font-size: 2.4rem;
  }
}

/*Notizie Homepage*/
.paragraph--type--notizia .field--name-field-data {
  padding-bottom: 1rem;
  padding-top: 2rem;
  font-size: 16px;
}

.field--name-field-titolo-news > a {
  color: #444;
  display: inline-block;
  font-size: 2.1rem;
  font-weight: 700;
  padding-bottom: 0.6em;
  line-height: 1.2;
}

.field--name-field-titolo-news > a:hover {
  color: unset;
}

@media (min-width: 48m) {
  .field--name-field-titolo-news > a {
    font-size: 2.4rem;
  }
}

/* detaglio OU  */
.ui-accordion .ui-accordion-header {
  cursor: pointer;
  margin: 1rem 0 0 0;
  padding: 0.5em 0.5em 0.5em 0.7em;
  font-size: 100%;
}

.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default,
.ui-button,
html .ui-button.ui-state-disabled:hover,
html .ui-button.ui-state-disabled:active {
  border: 1px solid #c5c5c5;
  background: #f6f6f6;
  font-weight: normal;
  color: #454545;
}

.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active,
a.ui-button:active,
.ui-button:active,
.ui-button.ui-state-active:hover {
  border: 1px solid #b32e4b;
  background: #b32e4b;
  font-weight: normal;
  color: #ffffff;
}

.ui-icon {
  display: inline;
  vertical-align: middle;
  margin-top: -0.25em;
  position: relative;
  text-indent: -99999px;
  overflow: hidden;
  background-repeat: no-repeat;
}

.js-views-accordion-group-header {
  display: none;
}
.ui-accordion .views-accordion-header {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.125);
  color: #fff;
  background-color: #b32e4b;
  border-radius: 0;
  overflow-anchor: none;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out,
    border-radius 0.15s ease;
}

.views-accordion-header::after {
  flex-shrink: 0;
  margin-left: auto;
  content: "";
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-size: 1.25rem;
  transition: transform 0.2s ease-in-out;
  filter: brightness(0) saturate(100%) invert(100%) sepia(17%) saturate(0%)
    hue-rotate(143deg) brightness(103%) contrast(101%);
  background-size: 1.9rem;
  width: 1.9rem;
  height: 1.9rem;
}

.views-accordion-header.ui-state-active::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230c63e4'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transform: rotate(180deg);
}

.views-accordion-header h4 {
  font-size: 2.6rem;
  line-height: normal;
  font-weight: 700;
}

.ui-accordion .ui-accordion-content {
  padding: 1.6rem 1.25rem 1rem;
}
/* fine dettaglio ou */

/* Fix menu backoffice layout builder */
.path-admin ul#ultimenu-main {
  display: none;
}

/* PTL-5247 - riattivazione cerca */
.lingua-select--ultimenu,
.ultimenu__region .search--ultimenu {
  position: static;
  width: auto !important;
  margin-bottom: 3rem;
}

.lingua-select--ultimenu,
.ultimenu__region .search--ultimenu {
  margin-left: 1rem;
}

.ultimenu__region .search--ultimenu > .dropdown {
  position: static;
}

.ultimenu__region .search--ultimenu .dropdown-menu.show {
  width: 90vw;
  left: 0;
  right: 0;
  margin: 0 auto;
  top: unset;
}

.lingua-select + .ultimenu__region .search.search--ultimenu {
  margin-left: 1.4rem;
  margin-top: 0.1rem;
}

/* SDPPUB-12098 */
.view-ugov-organizational-unit ul > li {
  padding-right: 0 !important;
}

/* PTL-6180 - adeguamento card offerta formativa */
/* ELENCO CORSI DI LAUREA */
.elenco-corsi__card {
  border-left: 2px solid #b32c4b;
  padding: 1.6rem;
  line-height: 1.3;
  box-shadow: 4px 4px 8px 0 rgb(0 0 0 / 10%);
}

.elenco-corsi__card > div:not(:last-child) {
  margin-bottom: 2.2rem;
}

.elenco-corsi__card .fw-semibold {
  font-weight: 500;
}

.elenco-corsi__card .elenco-corsi__tipologia::before {
  content: "";
  background: url("/themes/custom/unipv_default/icons/Shape.svg") left center /
    2.4rem no-repeat;
  display: inline-block;
  width: 2.4rem;
  height: 1.5rem;
  filter: brightness(0) saturate(100%) invert(18%) sepia(0%) saturate(1077%)
    hue-rotate(231deg) brightness(115%) contrast(91%);
}

.elenco-corsi__card .elenco-corsi__nome {
  margin-bottom: 1.6rem;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.2;
}

.elenco-corsi__card .elenco-corsi__nome,
.elenco-corsi__card .elenco-corsi__nome a {
  color: #b32c4b;
}

.rubrica__button a {
  display: block;
  padding: 0.6rem 2.5rem 0.6rem 1.4rem;
  background-color: #b32c4b;
  color: #fff !important;
  line-height: 1.2;
  width: 100%;
  border-bottom-right-radius: 25px;
  text-align: right;
}

/* Fix altezza card rubrica e organigramma  */
.rubrica .grid > .row,
.personale-afferente .grid > .row {
  --bs-gutter-y: 3rem;
}

.personale-afferente.view-id-ugov_person_role h3:not(:first-child) {
  margin-top: 4rem;
}

.personale-afferente h3 + .grid + .grid {
  margin-top: 3rem;
}

/* Separatore */
.separatore {
  border-bottom: 1px solid #000;
}

@media (min-width: 75em) {
  .separatore {
    padding-bottom: 1rem;
  }
}

/* Drupal 10 */

/* share everywhere */

.se-link.twitter img {
  width: 24px !important;
}