/**
 * @file
 * Subtheme specific CSS.
 */
body {
  overflow-x: hidden;
  font-family: "Helvetica", "Arial", sans-serif;
}

*:focus-visible {
  outline-style: auto;
  outline-color: rgb(41 77 172);
  outline-width: 1px;
  outline-offset: 1px;
  position: relative;
  z-index: 99999;
}

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

a {
  text-decoration: none;
  white-space: normal;
}

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

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

.text-formatted ul {
  list-style: initial;
  padding-left: 2rem;
}

img {
  width: 100%;
  height: auto;
}

.contextual-region .contextual .contextual-links a {
  color: #333 !important;
}

/* Color */
.white,
.white a {
  color: #fff !important;
}

.black,
.black a {
  color: #000 !important;
}

.bg--blue {
  background-color: #006ec0;
}

.bg--dark-blue {
  background-color: #004871;
}

.bg--grey {
  background-color: #f1f1f1;
}

/* Font */
h1.title {
  margin-bottom: 2rem;
  font-size: 2.825rem;
  text-transform: uppercase;
}

.title-h2--hp {
  text-align: center;
}

.site-sten .title-h2--hp {
  margin-bottom: 1.4rem;
  font-size: 2rem;
  font-weight: 300;
  margin-top: 3rem;
}
.titolo-h2-inter {
  font-size: 2rem;
  text-align: center;
  margin-top: 3rem;
}

@media (min-width: 48em) {
  .title-h2--hp {
    font-size: 3.25rem;
    text-align: center;
  }
  .titolo-h2-inter {
    font-size: 3.25rem;
    text-align: center;
  }
  .view-test .field-content p {
    font-size: 1.5rem;
  }
}
@media (min-width: 64em) {
  .view-test .field-content p {
    padding: 0rem 12rem 0rem 12rem;
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 40px;
  }
  .titolo-h2-inter {
    text-align: unset;
  }
}

blockquote {
  margin: 1.5em 10px;
  padding: 0.5em 10px;
  quotes: "\201C""\201D""\2018""\2019";
  font-style: italic;
}

blockquote::before {
  color: #ccc;
  content: open-quote;
  font-size: 3em;
  line-height: 0.1em;
  margin-right: 0.25em;
  vertical-align: -0.4em;
}

blockquote::after {
  color: #ccc;
  content: close-quote;
  font-size: 3em;
  line-height: 0.1em;
  margin-left: 0.1em;
  vertical-align: -0.4em;
}

blockquote p {
  display: inline;
}

/* Utility */
body:not(.path-admin) .full-width {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.mb__2 {
  margin-bottom: 2rem;
}

.label--bold .field__label {
  font-weight: 700;
}

/* Bottoni style */
.button {
  margin-bottom: 1rem;
  padding-left: 1.4rem;
  padding-right: 1.4rem;
  border-radius: 30px;
}
.view-test .button {
  float: right;
}

/*Reset */
.field--type-entity-reference {
  margin: 0;
}

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

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

.node--type-home-page-di-target .paragraph--type--card-wrapper {
  margin-top: 1rem;
}

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

.list-group-item {
  border: none;
  background-color: transparent;
}

/* Files */
.file {
  padding-left: 20px; /* LTR */
  display: inline-block;
  min-height: 16px;
  background-repeat: no-repeat;
  background-position: left center; /* LTR */
  word-break: break-word;
}

.file--application-pdf {
  background-image: url(/themes/contrib/bootstrap_barrio/images/icons/application-pdf.png);
}

/* Header */
.navbar .nav-link {
  color: white;
}
#header {
  background-color: #006ec0;
}

#header a,
#header span {
  color: #fff;
}

#CollapsingNavbar .menu--menu-di-servizio ul {
  margin-bottom: 1.9rem;
  row-gap: 0.5rem;
}

.menu--menu-di-servizio .nav-item {
  text-align: center;
}

.menu--menu-di-servizio button {
  background: none;
  border: none;
  margin: 0 auto;
  padding: 0 !important;
  font-size: 1.25rem;
  position: relative;
  height: 100%;
}

.menu--menu-di-servizio button::after {
  content: none;
}

.menu--menu-di-servizio .search__icon--white {
  width: 1.4rem;
  height: 1.91rem;
}

.menu--menu-di-servizio .dropdown-menu.show {
  width: 300px;
  left: -80%;
  outline: 1px solid #004871;
}

.menu--menu-di-servizio form > fieldset {
  flex-grow: 2;
}

.menu--menu-di-servizio form > div {
  flex-grow: 1;
}

.menu--menu-di-servizio form button {
  margin-left: 0.4rem;
  background-color: #006ec0;
  color: #fff;
  height: 100%;
  width: 100%;
}

#header .menu-servizi__lingua {
  margin-top: 0.1rem;
}

#header .menu-servizi__mail {
  background: url(/themes/custom/unime_base/icons/it-mail.svg) center center
    no-repeat no-repeat;
  background-size: 1.91rem;
  height: 100%;
  width: 3rem;
  margin-right: 0.5rem;
  font-size: 0;
  position: relative;
  top: 0;
}

#header .menu--menu-di-servizio--mobile .menu-servizi__mail {
  filter: brightness(0) saturate(100%) invert(26%) sepia(90%) saturate(1669%)
    hue-rotate(187deg) brightness(95%) contrast(101%);
  background-size: 2.2rem;
}
#header .menu--menu-di-servizio--mobile .nav-link-https--wwwunimeit- {
  color: #006ec0;
}
.menu-servizi__rubrica,
.menu-servizi__login {
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  border-radius: 30px;
}

.menu-servizi__rubrica {
  margin-right: 0.6rem;
  background-color: #004871;
  border: 1px solid #004871;
}

#header .menu-servizi__login {
  border: 1px solid #006ec0;
  color: #006ec0;
}

header .menu--main-nc ul {
  flex-direction: row;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-bottom: 0;
}

#navbar-main > .container {
  display: grid;
  grid-template-columns: 40% 1fr 50px;
}

@media (min-width: 48em) {
  #navbar-main > .container {
    grid-template-columns: 35% 55% 10%;
    grid-template-columns: 35% 1fr 10%;
  }

  #header .menu-servizi__login {
    border: 1px solid #fff;
    color: #fff;
  }
}

@media (min-width: 75em) {
  #navbar-main > .container {
    display: grid;
    grid-template-columns: 380px 65% 65px;
  }
}

#navbar-main .navbar-brand {
  grid-column: 1 / 2;
  min-width: 160px;
}

#navbar-main .menu--utility {
  grid-column: 2;
  justify-self: end;
}

@media (min-width: 75em) {
  #navbar-main .navbar-brand {
    grid-row: 1 / 3;
  }

  #navbar-main .menu--utility {
    grid-column: 2 / 4;
    grid-row: 1;
    justify-self: end;
  }

  #navbar-main button.navbar-toggler {
    grid-column: 3;
    grid-row: 2;
  }
}

button.navbar-toggler:focus {
  box-shadow: unset;
}

header .menu--main .nav-link {
  font-size: 1.5rem;
}

header .internazionalizzazione .menu-item a {
  font-size: 1.335rem;
}

@media (min-width: 87.5em) {
  header .internazionalizzazione .menu-item a {
    font-size: 1.5rem;
  }
}

.menu--main-nc .info-per--menu {
  display: none;
}

@media (min-width: 75em) {
  .menu--main-nc {
    display: block;
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
  }
}

#CollapsingNavbar {
  position: absolute;
  background-color: #fff;
  /* z-index: 10; */
  /* aumentata per contrastare il bottone Readspeaker, che ha z-index di 100
  ed i suoi CSS sono importati da URL esterno */
  z-index: 101;
}

#CollapsingNavbar.show {
  top: 0;
  padding-top: 5rem;
  padding-bottom: 4rem;
  padding-bottom: 0;
}

div#CollapsingNavbar {
  opacity: 0;
}

div#CollapsingNavbar.show {
  opacity: 1;
  box-shadow: 0px 10px 20px 0px #343434a3;
}

.collapsing {
  height: unset;
  transition-duration: 0.1s;
}

@media (min-width: 48em) {
  #CollapsingNavbar {
    background-color: #006ec0;
  }
}

@media (min-width: 48em) {
  #CollapsingNavbar .menu--main::before,
  #CollapsingNavbar .menu--main::after {
    content: "";
    position: relative;
    border-top: 2px solid #ffffff8c;
    padding-bottom: 1.8rem;
    display: block;
    width: 102%;
    left: -0.8rem;
  }
}

#CollapsingNavbar > .container {
  position: relative;
  padding: 1rem 1rem 0;
}

/* Hamburger menu */
.hamburger:focus {
  outline-style: auto;
  outline-color: rgb(41 77 172);
  outline-width: 1px;
  outline-offset: 1px;
  position: relative;
  z-index: 3;
}

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

.btn-hamburger {
  position: relative;
  width: 2.6rem;
  height: 1.6rem;
  top: -0.2rem;
}

.btn-hamburger--open {
  top: -4rem;
  position: absolute;
  right: 1rem;
}

.hamburger-inner {
  width: 27px;
  top: 54%;
  -webkit-transform: translateY(50%);
  -ms-transform: translateY(50%);
  transform: translateY(50%);
  display: block;
  margin-top: -2px;
}

.btn-hamburger--close .hamburger-inner:before {
  width: 35px;
  top: -8px;
}

.btn-hamburger--close .hamburger-inner:after {
  top: 8px;
  width: 17px;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
  position: absolute;
  height: 0.18rem;
  border-radius: 4px;
  background-color: #fff;
  -webkit-transition: width 0.15s ease, -webkit-transform 0.15s ease;
  transition: width 0.15s ease, -webkit-transform 0.15s ease;
  -o-transition: transform 0.15s ease, width 0.15s ease;
  transition: transform 0.15s ease, width 0.15s ease;
  transition: transform 0.15s ease, width 0.15s ease,
    -webkit-transform 0.15s ease;
}

button:not(.btn-hamburger--open) .hamburger-inner::before,
.hamburger-inner::after {
  display: block;
  content: "";
}

button:not(.btn-hamburger--close) .hamburger-inner {
  left: 50%;
  top: 50%;
  -webkit-transform: translate3d(0, 10px, 0) rotate(45deg);
  transform: translate3d(-50%, 50%, 0) rotate(45deg);
  width: 30px;
}

button:not(.btn-hamburger--close) .hamburger-inner::before {
  -webkit-transform: translate3d(0, -20px, 0) rotate(-90deg);
  transform: translate3d(0, -20px, 0) rotate(-90deg);
  width: 30px;
  top: 20px;
}

button:not(.btn-hamburger--close) .hamburger-inner::after {
  -webkit-transform: translate3d(0, -20px, 0) rotate(-90deg);
  transform: translate3d(0, -20px, 0) rotate(-90deg);
  width: 30px;
  top: 20px;
}

#CollapsingNavbar .navbar-toggler .hamburger-inner,
#CollapsingNavbar .navbar-toggler .hamburger-inner::after {
  background-color: #006ec0;
}

@media (min-width: 48em) {
  #CollapsingNavbar .navbar-toggler .hamburger-inner,
  #CollapsingNavbar .navbar-toggler .hamburger-inner::after {
    background-color: #fff;
  }
}

/* Menu principale - collassato > search block */
.google-search--mobile {
  margin-bottom: 3rem;
  padding: 0 1rem;
}

.google-search--mobile #search-block-form {
  padding: 0;
  position: relative;
}

.google-search--mobile #search-block-form .js-form-item {
  flex-grow: 1;
  margin-bottom: 0 !important;
}

.google-search--mobile .content.container-inline > div {
  display: block;
}

.google-search--mobile fieldset,
.google-search--mobile button {
  margin-bottom: 0 !important;
}

.google-search--mobile fieldset {
  flex-grow: 1;
}

.google-search--mobile .form-control {
  border: 1px solid #fff;
  color: #fff;
  background-color: #006ec0;
  border-radius: 30px;
  padding: 0.5rem 0.75rem;
  padding-right: 3.4rem;
  position: relative;
  z-index: 1;
}

.google-search--mobile .form-control::placeholder {
  color: #fff;
}

.google-search--mobile .form-actions {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0.5rem;
  z-index: 2;
}

.google-search--mobile button {
  display: block;
  border: unset;
  border-radius: unset;
  height: 100%;
  font-size: 0;
  background: transparent
    url(/themes/custom/unime_base/icons/Icon%20ionic-ios-search.svg) no-repeat
    center center;
}

.google-search--mobile button:hover,
.google-search--mobile button:focus {
  background-color: transparent;
}

@media (min-width: 48em) {
  .google-search--mobile {
    margin-bottom: 3rem;
    padding: 0;
  }
}

@media (min-width: 64em) {
  .google-search--mobile #search-block-form {
    max-width: 80%;
    margin: 0 auto;
  }
}

/* Menu principale - collassato */
#CollapsingNavbar #block-unime-default-search-form-narrow {
  display: none;
}

#CollapsingNavbar nav > ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

#CollapsingNavbar .menu--main > ul {
  justify-content: flex-start;
}

#CollapsingNavbar > .container > .menu--main > ul > li {
  flex: 0 0 auto;
  width: 100%;
  margin-bottom: 1.2rem;
}
#CollapsingNavbar > .container > .menu--main > ul > li > a {
  display: inline-block;
}

#CollapsingNavbar > .container > .menu--main > ul > li::after {
  content: "";
  display: block;
  margin-top: 1rem;
  border-bottom: 1px solid #b0b0b0;
}

@media (min-width: 48em) {
  #CollapsingNavbar > .container > .menu--main > ul > li {
    width: 33.3334%;
    margin-bottom: 2rem;
    padding-right: 1rem;
  }

  #CollapsingNavbar > .container > .menu--main > ul > li::after {
    content: none;
  }

  #block-unime-default-main-menu,
  #block-unime-fed-main-menu {
    padding: 0;
  }
}
#block-unime-default-main-menu,
#block-unime-fed-main-menu {
  padding: 0 0.6rem;
}

#block-unime-default-main-menu .dropdown-menu,
#block-unime-fed-main-menu .dropdown-menu,
.hamburger-internazionalizzazione .menu-level-1 {
  display: block;
  background-color: transparent;
  border: none;
  padding: 0 0 0 1.2rem;
  position: static;
}

#block-unime-default-main-menu .dropdown-menu > li,
#block-unime-fed-main-menu .dropdown-menu > li,
.hamburger-internazionalizzazione .menu-level-1 > li {
  padding: 0.1rem 1rem;
  padding-left: 0;
  background-color: transparent;
}
#block-unime-default-main-menu .nav-item a,
#block-unime-default-main-menu .nav-item span,
#block-unime-default-main-menu .menu-item a,
#block-unime-default-main-menu .menu-item span,
#block-unime-fed-main-menu .nav-item a,
#block-unime-fed-main-menu .nav-item span {
  color: #004871;
}

#block-unime-default-main-menu .nav-item > a,
#block-unime-default-main-menu .nav-item > span,
#block-unime-fed-main-menu .nav-item > a,
#block-unime-fed-main-menu .nav-item > span,
.hamburger-internazionalizzazione .menu-item > a,
#block-unime-default-main-menu .menu-item > span {
  font-size: 24px;
  font-weight: 700;
  color: #006ec0;
}
.hamburger-internazionalizzazione .menu-level-1 .menu-item > a {
  font-size: 1rem;
  display: block;
  width: 100%;
  clear: both;
  font-weight: 400;
  text-align: inherit;
  text-decoration: none;
  border: 0;
}

.hamburger-internazionalizzazione .menu-level-1 .menu-item .field__label,
.hamburger-internazionalizzazione .menu-level-1 .menu-item .field__item {
  display: none;
}

header .menu--main .nav-item > a,
header .menu--main .nav-item > span,
header .hamburger-internazionalizzazione .menu-level-0 .menu-item > a,
header .hamburger-internazionalizzazione .menu-level-0 .menu-item > span {
  text-decoration: none;
  position: relative;
  padding: 0 0 0.3rem 0;
  margin: 0 2rem 0 0;
}

header .hamburger-internazionalizzazione .menu-level-1 .menu-item > a:hover {
  text-decoration: underline;
}

header .internazionalizzazione .menu-item > a,
header .internazionalizzazione .menu-item > span {
  text-decoration: none;
  position: relative;
  padding: 0 0 0.3rem 0;
  margin: 0 0.76rem 0 0;
}
@media (min-width: 85rem) {
  header .internazionalizzazione .menu-item > a {
    margin: 0 1.5rem 0 0;
  }
}

#block-menutarget {
  margin-top: 4rem;
}

@media (min-width: 48em) {
  #block-unime-default-main-menu .nav-item a,
  #block-unime-default-main-menu .nav-item span,
  #block-unime-fed-main-menu .nav-item a,
  #block-unime-fed-main-menu .nav-item span,
  #block-unime-default-main-menu .menu-item a,
  #block-unime-default-main-menu .menu-item span {
    color: #fff;
  }

  header .menu--main .nav-item > a::after,
  header .internazionalizzazione .menu-item > a::after,
  header .hamburger-internazionalizzazione .menu-level-0 > li > a::after,
  #CollapsingNavbar > .container > .menu--main > ul > li > a::after {
    content: "";
    border: none;
    border-bottom: 2px solid #fff;
    width: 30px;
    position: absolute;
    bottom: 8px;
    left: 0;
    margin: 0;
    transition: width 0.3s ease-in-out;
  }
  header .internazionalizzazione .menu-item > a::after,
  header .hamburger-internazionalizzazione .menu-level-0 .menu-item > a::after {
    bottom: 2px;
  }

  .menu--main-nc .nav-item > a:hover::after,
  .menu--main-nc .menu-item > a:hover::after,
  .hamburger-internazionalizzazione .menu-level-0 .menu-item > a:hover::after,
  #CollapsingNavbar > .container > .menu--main > ul > li > a:hover::after {
    width: 100%;
  }

  #block-unime-default-main-menu .dropdown-menu > li,
  #block-unime-fed-main-menu .dropdown-menu > li,
  .hamburger-internazionalizzazione .menu-level-1 > li {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
  }

  #block-unime-default-main-menu .dropdown-menu,
  #block-unime-fed-main-menu .dropdown-menu,
  .hamburger-internazionalizzazione .menu-level-1 {
    padding-left: 0;
  }
}

@media (min-width: 48em) {
  #CollapsingNavbar > .container > .menu--main > ul > li:last-child,
  #CollapsingNavbar
    > .container
    > .hamburger-internazionalizzazione
    > ul
    > li:last-child::before {
    position: relative;
  }

  #CollapsingNavbar > .container > .menu--main > ul > li:last-child::before {
    content: "";
    position: absolute;
    width: 60%;
    min-width: 200px;
    height: 103%;
    top: -3%;
    left: -6%;
    background-color: #004871;
    z-index: -1;
  }
  #CollapsingNavbar
    > .container
    > .hamburger-internazionalizzazione
    > ul
    > li:last-child::before,
  #CollapsingNavbar > .container > .burger_fed > ul > li:last-child::before {
    content: "";
    position: absolute;
    width: 60%;
    min-width: 200px;
    height: 103%;
    top: -3%;
    left: -6%;
    z-index: -1;
    background-color: transparent;
  }
}

@media (min-width: 75em) {
  #CollapsingNavbar > .container > .menu--main > ul > li:last-child::before {
    height: 106%;
  }
}

/* Menu social - header */
.menu--menu-social > ul {
  justify-content: center;
  display: flex;
}

.menu--menu-social > ul > li:not(:last-child) {
  margin-right: 1.6rem;
}

.menu--menu-social .menu a {
  font-size: 0;
  display: inline-block;
  display: block;
  background-size: 26px;
  background-repeat: no-repeat;
  background-position: center;
  height: 26px;
  width: 26px;
  opacity: 0.8;
}

.menu--menu-social .menu a[title="Facebook"] {
  background-image: url(/themes/custom/unime_base/icons/Icon%20awesome-facebook.svg);
}

.menu--menu-social .menu a[title="Twitter"] {
  background-image: url(/themes/custom/unime_base/icons/TwitterXunime.svg);
}

.menu--menu-social .menu a[title="Instagram"] {
  background-image: url(/themes/custom/unime_base/icons/instagram.svg);
}

.menu--menu-social .menu a[title="Linkedin"] {
  background-image: url(/themes/custom/unime_base/icons/Icon%20awesome-linkedin.svg);
}

.menu--menu-social .menu a[title="Youtube"] {
  background-image: url(/themes/custom/unime_base/icons/Icon%20awesome-youtube.svg);
}

.menu--menu-social .menu a[title="Telegram"] {
  background-image: url(/themes/custom/unime_base/icons/Icon%20awesome-telegram-plane.svg);
}

.menu--menu-social .menu a[title="App"] {
  background-image: url(/themes/custom/unime_base/icons/ico-app.svg);
}

@media (min-width: 48em) {
  .menu--menu-social .menu a {
    background-size: 35px;
    height: 35px;
    width: 35px;
  }
}

#CollapsingNavbar .menu--menu-social {
  background-color: #006ec0;
  padding: 1.8rem 1rem;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

#CollapsingNavbar .menu--menu-social ul {
  margin: 0;
}

@media (min-width: 48em) {
  #CollapsingNavbar .menu--menu-social {
    margin: 0 0 2rem 0;
    padding: 0;
    width: 100%;
  }
}

/* Menu spalla destra */
.menu-spalla {
  margin-top: 1rem;
}

body:not(.path-admin) .menu-spalla > nav {
  padding: 1rem;
  background-color: #006ec0;
}

.menu-spalla nav h2,
body:not(.path-admin) .menu-spalla nav a {
  color: #fff !important;
}

.menu-spalla h2 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.menu-spalla .nav-item,
.menu-spalla .menu-item {
  margin-bottom: 0.6rem;
}

.menu-spalla li [class*="menu"] {
  display: block;
  position: relative;
  border: unset;
  padding: 0;
  z-index: 0;
}

.menu-spalla li [class*="menu"] li {
  padding: 0.4rem 1rem 0 1.4rem;
  background-color: #006ec0 !important;
  line-height: 1.2;
}

.menu-spalla .nav-item > a,
.menu-spalla .menu-item > a {
  margin: 0;
  padding: 0;
  line-height: 1.2;
}

.menu-spalla .nav-item[class*="active"] > a,
.menu-spalla .menu-item[class*="active"] > a {
  font-weight: 700;
  position: relative;
  padding-left: 0.7rem;
  display: block;
}

.menu-spalla .nav-item[class*="active"] > a::before,
.menu-spalla .menu-item[class*="active"] > a::before {
  content: "";
  position: absolute;
  border-left: 3px solid #fff;
  width: 2px;
  top: 11%;
  left: 0;
  bottom: 12%;
}

.menu-spalla .menu--main + div {
  margin-top: 2rem;
}

.menu-spalla .anteprima-card__wrapper {
  background-color: #f9f9f9;
  padding: 1rem;
  box-shadow: none;
}

.menu-spalla .ti-interessa .field__item {
  margin-bottom: 0.4rem;
}

.menu-spalla .link-correlati__main-link {
  position: relative;
}

.menu-spalla .link-correlati__main-link a {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  padding: 0.2rem 0.6rem;
  text-align: center;
  color: #fff;
  background-color: #0000008c;
  text-shadow: 1px 1px 5px black;
}

.menu-spalla .menu_link_content {
  display: none;
}

@media (min-width: 48em) {
  .menu-spalla {
    margin-top: 0;
  }

  .menu-spalla h2 {
    font-size: 1.75rem;
  }
}

/* Briciole di pane */
.block-system-breadcrumb-block {
  margin-top: 1rem;
}

/* Filtri esposti - form ricerca */
.views-exposed-form > .form-row {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  background-color: #f7f7f7;
  padding: 1rem;
  border-radius: 10px;
}

.views-exposed-form > .form-row > * {
  flex-grow: 1;
}

.form-row label {
  margin-bottom: 0.4rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.form-row .form-actions {
  margin-bottom: 0 !important;
}

/* Hero / Copertina */
.view-hero-copertina img,
.hero--cdl img {
  max-height: 450px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.title-page__wrapper > .container {
  padding: 0;
}

.title-page__title {
  font-size: 2rem;
}

.title-page__title {
  color: #000;
  font-weight: 500;
}

.title-page__title--hero {
  color: #fff;
  background-color: #006ec0;
  padding: 1rem 1.4rem;
  display: inline-block;
  line-height: 1;
}

.title-page__title--hero::first-letter {
  text-transform: uppercase;
}

@media (min-width: 48em) {
  .title-page__title--hero {
    background-color: #0000007d;

    text-shadow: 2px 2px 5px #000;

    width: fit-content;
  }

  .title-page__wrapper {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 20%;
  }

  .title-page__title {
    font-size: 2.4rem;
  }

  .hero--cdl .title-page__title--hero {
    max-width: 75%;
  }

  .hero--cdl .title-page__title--hero--small {
    font-size: 2rem;
    padding: 1rem;
  }
}

@media (min-width: 64em) {
  .title-page__title--hero,
  .hero--cdl .title-page__title--hero {
    font-size: 3rem;
    padding: 1.4rem 2.6rem;
  }

  .hero--cdl .title-page__title--hero--small {
    font-size: 2.6rem;
  }
}

@media (min-width: 1600px) {
  .hero--cdl .title-page__wrapper--small {
    bottom: 10%;
  }

  .hero--cdl .title-page__title--hero--small {
    font-size: 2.8rem;
  }
}

/* Hero home page */
.hero--hp .title-page__wrapper {
  position: absolute;
  left: 0;
  right: 0;
  /* top: 10%;
  bottom: 0; */
}

.hero--hp .title-page__wrapper.title-page__wrapper--img-link {
  position: static;
  background-color: #006ec0;
}

.site-default .hero--hp .container {
  align-items: center;
}

.hero--hp .container {
  height: 100%;
  display: flex;
  flex-direction: column;

  justify-content: center;
}

.hero--hp .title-page__title {
  max-width: max-content;
  margin: 0 auto;
  display: block;
}

.hero--hp .title-page__wrapper--img-link .title-page__title {
  background-color: transparent;
}

.hero--hp .title-page__wrapper--img-link .title-page__sottotitolo {
  margin-top: 0;
  text-align: center;
}

.hero--hp .hero__box-info .hero__call-to-action {
  background-color: transparent;
  margin-bottom: 2rem;
}

.hero--hp .hero__call-to-action a {
  padding: 0.6rem 0.7rem;
  display: block;
  background-color: #006ec0;
  line-height: 1.1;
  font-size: 1.125rem;
  text-align: center;
}

.hero--hp li:not(:first-child) a {
  margin-top: 0.4rem;
}

.hero--hp img {
  min-height: 250px;
}

.title-page__sottotitolo {
  margin-top: 0.2em;
  font-size: 0.7em;
}

@media (min-width: 48em) {
  .hero--hp img {
    min-height: 500px;
    object-fit: cover;
  }

  .hero--hp .title-page__title {
    margin: 0;
  }

  .hero--hp .title-page__wrapper.title-page__wrapper--img-link {
    position: absolute;
    bottom: 0;
    background-color: #006ec06e;
  }

  .hero--hp .hero__box-info {
    max-width: 45%;
    justify-content: flex-end;
  }

  .hero--hp .hero__call-to-action a {
    padding: 0.8rem 1rem;
    font-size: 1.375rem;
  }
}

/* Distanziamento paragrafi */
.field--name-field-contenuto > .paragraph:not(:first-child) {
  margin-top: 3rem;
}

.field--name-field-contenuto > .accordion-paragraph + .accordion-paragraph {
  margin-top: 0.4rem;
}

/* Paragrafo semplice */
.field--name-field-titolo-paragrafo {
  margin-bottom: 0.6rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.accordion .accordion-button {
  color: #fff;
  background-color: #006ec0;
}

.accordion .accordion-button::after {
  filter: brightness(0) saturate(100%) invert(94%) sepia(46%) saturate(0%)
    hue-rotate(235deg) brightness(105%) contrast(106%);
  background-size: 2rem;
  width: 2rem;
  height: 2rem;
}

.accordion .field--name-field-titolo-paragrafo {
  margin-bottom: 0;
  padding: 0.4rem 0;
  font-size: 1.45rem;
  line-height: 1.2;
}

@media (min-width: 48em) {
  .paragraph__image:not(.paragraph__image--wide) {
    margin-right: 1rem;
    margin-bottom: 0;
  }
  .paragraph__image:not(.paragraph__image--wide) img {
    max-width: 300px;
  }
}

@media (min-width: 64em) {
  .paragraph__image:not(.paragraph__image--wide) img {
    max-width: 500px;
  }
}

.paragraph__allegati {
  margin-top: 1rem;
}

.paragraph__allegati .field--name-field-link-paragrafo {
  margin-top: 1rem;
}

/* .paragraph--type--semplice ul,
.paragraph--type--semplice ol {
  position: relative;
  left: 1.2rem;
}

.paragraph--type--semplice ul {
  list-style-type: none;
}

.paragraph--type--semplice ul li:before {
  content: "•";
  padding-right: 1rem;
} */

/* Paragrafo video */
.field--name-field-media-oembed-video {
  position: relative;
}

.field--name-field-media-oembed-video::before {
  display: block;
  content: "";
  padding-top: 56.25%;
}

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

/* Paragrafo Photogallery Masonry */
.masonry-photogallery .masonry-item {
  width: 45%;
}

.masonry-photogallery .field--name-field-media-image {
  padding-bottom: 0.6rem;
}

@media (min-width: 768px) {
  .masonry-photogallery .masonry-item {
    width: 30%;
  }
}

@media (min-width: 1200px) {
  .masonry-photogallery .masonry-item {
    width: 23.4%;
  }
}

.masonry-photogallery:hover img,
.masonry-photogallery:focus-within img {
  opacity: 0.7;
  transition: all 0.6s ease;
}

.masonry-photogallery img {
  transition: all 0.6s ease;
}

.masonry-photogallery img:hover,
.masonry-photogallery a:focus img {
  opacity: 1;
  box-shadow: 4px 4px 6px 2px #797979;
}

/* Paragrafo card wrapper */
.paragraph--type--card-wrapper > .field--name-field-titolo-paragrafo {
  margin-bottom: 1rem;
  font-size: 2.4rem;
  font-weight: 300;
  line-height: 1;
}

.field--name-field-cards-paragrafo {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -12px;
}

.field--name-field-cards-paragrafo > .field__item {
  margin-bottom: 1rem;
  padding: 0 12px;
  flex: 0 0 auto;
  width: 100%;
}

@media (min-width: 48em) {
  .field--name-field-cards-paragrafo > .field__item {
    width: 50%;
  }
  .node--type-home-page-di-target
    .field--name-field-cards-paragrafo
    > .field__item {
    width: 33.3333%;
  }
}

/* Paragrafo card */
.paragraph--type--card {
  height: 100%;
}

.paragraph--type--card img {
  max-height: 300px;
  object-fit: cover;
}

.paragraph--type--card .field--name-field-testo-card {
  margin-bottom: 2rem;
  line-height: 1.3;
}

.paragraph--type--card .card__text-wrapper {
  height: 100%;
  display: flex;
  flex-flow: column nowrap;
  padding: 1rem 1.2rem 1.8rem 1.2rem;
}

.paragraph--type--card a::before {
  content: none;
}

@media (min-width: 48em) {
  .field--name-field-titolo-elenco-cards {
    margin-bottom: 1.4rem;
    font-size: 3rem;
  }

  .paragraph--type--card img {
    max-height: 200px;
  }
}

.paragraph--type--card .anteprima-card__wrapper {
  display: flex;
  flex-flow: column nowrap;
}

.paragraph--type--card .field--name-field-link-paragrafo {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.paragraph--type--card .card__button {
  align-self: end;
  margin-left: auto;
  margin-top: auto;
}

.paragraph--type--card .card__button a {
  display: block;
  width: fit-content;
  margin-left: auto;
  padding: 0.6rem 1.4rem;
  border-radius: 30px;
  background-color: #006ec0;
  color: #fff;
  line-height: 1.2;
}

/* HOMEPAGE Video hero  */
.field--name-field-video-hero-hp {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.field--name-field-video-hero-hp video {
  width: unset;
  height: unset;
  width: 100%;
}

/* HOMEPAGE menu target */
.menu-target--hp {
  padding: 1rem 0 4.5rem;
}

.menu-target--hp li {
  margin-bottom: 1.6rem;
  padding: 0.5rem 1rem;
  flex: 0 0 auto;
  width: 50%;
  text-align: center;
  line-height: 1.2;
}

.menu-target--hp a {
  margin-top: 0.8rem;
  padding: 0;
  display: block;
  position: relative;
  font-size: 1.2rem;
  color: #004871;
}

.menu-target--hp a::before,
.menu-target--hp a::after {
  content: "";
  margin-left: auto;
  margin-right: auto;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 5.8rem;
  height: 5.8rem;
  transition: opacity 0.3s ease-in-out;
}

.menu-target--hp a:hover::before,
.menu-target--hp a::after {
  opacity: 0;
}

.menu-target--hp a::before,
.menu-target--hp a:hover::after {
  opacity: 1;
}

.menu-target--hp a::before {
  margin-bottom: 1rem;
  display: block;
}

.menu-target--hp a::after {
  position: absolute;
  inset: 0;
}

.menu-target--hp .futuri-studenti-icon::before {
  background-image: url(/themes/custom/unime_base/icons/ico-futuri-studenti.svg);
}

.menu-target--hp .futuri-studenti-icon::after {
  background-image: url(/themes/custom/unime_base/icons/invert/futuris%20studenti.svg);
}

.menu-target--hp .studenti-icon::before {
  background-image: url(/themes/custom/unime_base/icons/ico-studenti.svg);
}

.menu-target--hp .studenti-icon::after {
  background-image: url(/themes/custom/unime_base/icons/invert/studenti.svg);
}

.menu-target--hp .laureati-icon::before {
  background-image: url(/themes/custom/unime_base/icons/ico-laureati.svg);
}

.menu-target--hp .laureati-icon::after {
  background-image: url(/themes/custom/unime_base/icons/invert/laureati.svg);
}

.menu-target--hp .personale-icon::before {
  background-image: url(/themes/custom/unime_base/icons/ico-personale.svg);
}

.menu-target--hp .personale-icon::after {
  background-image: url(/themes/custom/unime_base/icons/invert/personale.svg);
}

.menu-target--hp .enti-icon::before {
  background-image: url(/themes/custom/unime_base/icons/ico-imprese.svg);
}

.menu-target--hp .enti-icon::after {
  background-image: url(/themes/custom/unime_base/icons/invert/enti.svg);
}

.menu-target--hp .alunni-icon::before {
  background-image: url(/themes/custom/unime_base/icons/ico-alumni.svg);
}

.menu-target--hp .alunni-icon::after {
  background-image: url(/themes/custom/unime_base/icons/invert/alumni.svg);
}

@media (min-width: 48em) {
  .menu-target--hp li {
    margin: 0;
    width: 16.6667%;
  }

  .menu-target--hp a {
    font-size: 1.425rem;
  }

  .menu-target--hp a::before,
  .menu-target--hp a::after {
    background-size: 5.1rem;
    height: 5.1rem;
    width: 5.1rem;
  }
}

@media (min-width: 62em) {
  .menu-target--hp a {
    font-size: 1.625rem;
  }

  .menu-target--hp a::before,
  .menu-target--hp a::after {
    background-size: 6rem;
    height: 6rem;
    width: 6rem;
  }
}

/* HOMEPAGE Blocco Scopri UNIME */
.scopri_cards {
  display: flex;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  flex-wrap: wrap;
}

.view-scopri-unime .view-content.row,
.blocco_centrale .list-group {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

.view-scopri-unime .views-row,
.blocco_centrale .list-group-item {
  padding: 0;
}
.field.field--name-field-immagine-paragrafo.field--type-entity-reference.field--label-hidden.field__item
  > div {
  height: 100%;
}
.blocco_centrale .list-group-item .field__item,
.blocco_centrale .list-group-item .field__item .field,
.blocco_centrale .list-group-item .field__item .contextual-region {
  height: 100%;
}

.scopri_card,
.blocco_centrale .list-group-item .paragraph--type--banners {
  position: relative; /*relativo all'absolute di scopri_text e a link */
  flex: 0 0 auto;
  width: 100%;
}
.scopri_card:after,
.blocco_centrale .list-group-item .paragraph--type--banners:after {
  content: "";
  transition: all 0.2s ease-out;
}
.scopri_card:hover::after,
.blocco_centrale .list-group-item .paragraph--type--banners:hover::after {
  position: absolute;
  inset: 0;
  background: rgb(10 41 125 / 21%);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.scopri_card:hover .scopri_text,
.blocco_centrale .list-group-item .paragraph--type--banners:hover a {
  text-decoration: underline;
}

.scopri_card a {
  position: absolute;
  inset: 0;
  z-index: 1;
  font-size: 0;
  z-index: 3;
}

.scopri_text {
  position: absolute;
  width: 80%;
  bottom: 60px;
  color: #fff;
  text-shadow: 1px 1px 8px #6c6c6c;
  background: #0d6efde0;
  border-top-right-radius: 40px;
  border-bottom-right-radius: 40px;
  padding: 1rem 1rem 1rem 3.75rem;
  line-height: 1.2;
  font-size: 1.6rem;
  z-index: 1;
}

.blocco_centrale .field--type-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.blocco_centrale .field--type-link a {
  width: 80%;
  color: #fff;
  text-shadow: 1px 1px 8px #6c6c6c;
  background: #0d6efde0;
  border-top-right-radius: 40px;
  border-bottom-right-radius: 40px;
  padding: 1rem 1rem 1rem 3.75rem;
  line-height: 1.2;
  font-size: 1.6rem;
  margin-bottom: 10%;
  word-break: break-word;
}

.blocco_centrale .field--type-link a::before {
  content: "";
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  z-index: 1;
}

.view-scopri-unime .views-field,
.blocco_centrale .list-group,
.scopri_card,
.scopri_img,
.scopri_img > div,
.scopri_img .field--name-field-media-image,
.scopri_img .field__item,
.scopri_img img,
.blocco_centrale .list-group-item .paragraph--type--banners,
.blocco_centrale .list-group-item .paragraph--type--banners img {
  height: 100%;
}
.scopri_card .scopri_img img,
.blocco_centrale .list-group-item .paragraph--type--banners img {
  object-fit: cover;
}

@media (max-width: 1023px) {
  .view-scopri-unime .view-content.row,
  .blocco_centrale .list-group {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .view-scopri-unime .view-content.row,
  .blocco_centrale .list-group {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr;
  }
}

@media (min-width: 48em) {
  .scopri_text {
    padding-left: 1.75rem;
    font-size: 1.2rem;
  }
}

@media (min-width: 64em) {
  .scopri_text {
    padding-left: 2.75rem;
  }
}

/* HOMEPAGE I numeri dell'ente */
.i-numeri {
  padding: 3rem 0 4.5rem;
  position: relative;
  z-index: 1;
}

body:not(.path-admin) .i-numeri::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  z-index: -1;
  background-image: url(/themes/custom/unime_base/images/Gruppo%20di%20maschere%201.svg);
  background-repeat: no-repeat;
  background-color: #d9e4eacf;
}

.i-numeri .field--name-field-paragrafo {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.i-numeri .field--name-field-paragrafo > .field__item {
  flex: 0 0 auto;
  width: 50%;
  margin-bottom: 1rem;
}

.i-numeri .paragraph--type--numeri {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.i-numeri .field--name-field-numero {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.i-numeri .field--name-field-titolo-paragrafo {
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
}

@media (min-width: 48em) {
  .i-numeri .field--name-field-paragrafo > .field__item {
    width: 25%;
    margin-bottom: 0;
  }
}
/* BANDI  */
.node--type-bandi-e-concorsi
  .views-field-field-paragrafo
  .list-group-item:not(:first-child) {
  margin-top: 1rem;
}

.bando-sidebar {
  margin-left: 2rem;
}

.bando-sidebar .views-label {
  border-bottom: 2px solid #006ec0;
  font-weight: 700;
}

@media (max-width: 768px) {
  .bando-sidebar {
    margin-left: unset;
  }

  .bando-sidebar .views-label {
    display: block;
  }
}

/* Bandi elenco */
.bandi-elenco .bandi-elenco__row {
  border-bottom: 1px solid grey;
  padding: 1.4rem 0;
}

.bandi-elenco .bandi-elenco__title {
  font-weight: 700;
  line-height: 1.4;
}

.bandi-elenco__abstract {
  margin-top: 0.8rem;
}

.bandi-elenco p:last-child {
  margin-bottom: 0;
}

.bandi-elenco .bandi-elenco__date {
  border-bottom: 2px solid #006ec0;
  font-weight: 700;
}

/* Slick  */
.slick__arrow button {
  background-repeat: no-repeat;
  background-position: center;
  font-size: 0;
  width: 18px;
  height: 30px;
  padding: 0;
  background-color: unset;
  border: 0;
  position: relative;
}

nav.slick__arrow {
  text-align: center;
  margin-bottom: 1rem;
}

@media (min-width: 48em) {
  nav.slick__arrow {
    text-align: right;
    margin: 0 1rem 1.4rem 0;
  }
}

/* Anteprima news e eventi */
.anteprima-card {
  position: relative;
}

.anteprima-card__wrapper {
  height: 100%;
  border: 1px solid rgb(239 239 239);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 1.5px 1.5px 2.2px rgba(167, 174, 193, 0.018),
    3.7px 3.6px 5.3px rgba(167, 174, 193, 0.024),
    7px 6.8px 10px rgba(167, 174, 193, 0.029),
    12.5px 12.1px 17.9px rgba(167, 174, 193, 0.035),
    23.4px 22.6px 33.4px rgba(167, 174, 193, 0.046);
}

.card__link--hidden {
  position: absolute;
  inset: 0;
  z-index: 1;
  font-size: 0;
}

.card__link--hidden:hover
  ~ .anteprima-card__body-wrapper
  .anteprima-card__title,
.card__link--hidden
  a:focus-visible
  ~ .anteprima-card__body-wrapper
  .anteprima-card__title,
.card__link--hidden:hover ~ .eventi-hp__card-title,
.card__link--hidden:focus-visible ~ .eventi-hp__card-title {
  text-decoration: underline;
}

.anteprima-card .anteprima-card__img img {
  max-height: 200px;
  object-fit: cover;
}

.anteprima-card__body-wrapper {
  padding: 2rem;
}

.anteprima-card__title {
  margin-bottom: 0.6rem;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 24px;
}

.anteprima-card__abstract {
  line-height: 23px;
}

.anteprima-card__data {
  font-size: 0.9rem;
  font-style: italic;
  margin-top: 2rem;
}

@media (min-width: 48em) and (max-width: 63.938em) {
  .anteprima-card {
    max-width: 95%;
  }
}

/* News HP */
.news-hp {
  padding: 2rem 0;
}
.site-sten .news-hp {
  padding: unset;
}

@media (min-width: 48em) {
  .news-hp {
    padding: 4rem 0;
  }

  .news-hp .title-h2--hp {
    margin-bottom: 1.4rem;
  }
}

.news-hp .view-footer {
  margin-top: 0.6rem;
}

/* Elenco card */
.card-elenco .views-display-link {
  display: inline-block;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.375rem 1.4rem;
  font-size: 1rem;
  border-radius: 0.25rem;
  transition: background-color 0.15s ease-in-out;
  margin-bottom: 2rem;
  border-radius: 30px;
  background-color: #006ec0;
  color: #fff !important;
}

.card-elenco .views-display-link:hover,
.card-elenco .views-display-link:focus {
  background-color: #004871;
}

.card-elenco .card-row {
  margin-bottom: 1rem;
}

.card-elenco .anteprima-card,
.card-elenco .anteprima-card__wrapper {
  height: 100%;
  max-width: 100%;
}

.news-hp button {
  background-image: url(/themes/custom/unime_base/icons/Icon%20ionic-ios-arrow-back.svg);
}

.news-hp button.slick-prev {
  transform: rotate(180deg);
}

.news-hp button.slick-next {
  margin-left: 3rem;
}

/* Eventi HP */
.eventi-hp {
  padding: 3rem 0 4.5rem;
  position: relative;
  z-index: 1;
}

body:not(.path-admin) .eventi-hp::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  z-index: -1;
  background-image: url(/themes/custom/unime_base/images/AdobeStock_361597994.png);
  background-repeat: no-repeat;
  background-color: rgb(0 110 192);
}

.eventi-hp__title {
  font-size: 2.25rem;
}

.eventi-hp .slide__caption {
  padding: 0;
}

.eventi-hp__card {
  padding: 0 1rem 1rem 0;
  background-color: #fff;
}

.eventi-hp__data-big {
  display: inline-block;
  background-color: #006ec0;
  color: #fff;
  font-size: 3.625rem;
  font-weight: 700;
  line-height: 1;
  max-height: 3rem;
  overflow-y: hidden;
  padding-right: 0.2rem;
}

.eventi-hp__data {
  margin: 0.1rem 0 0 1rem;
  font-size: 0.875rem;
}

.eventi-hp__card-title {
  margin: 1rem 0 0 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 28px;
}

.eventi-hp button {
  background-image: url(/themes/custom/unime_base/icons/arrow.svg);
  background-size: 1rem;
}

.eventi-hp button.slick-next {
  transform: rotate(180deg);
  margin-left: 2rem;
}

@media (min-width: 48em) {
  .eventi-hp__title {
    font-size: 3.25rem;
  }

  .eventi-hp__card {
    max-width: 90%;
  }

  .eventi-hp__card-title {
    font-size: 1.35rem;
    word-break: break-word;
  }
}

@media (min-width: 75em) {
  .eventi-hp button.slick-next {
    margin-left: 3rem;
  }

  .eventi-hp__card-title {
    font-size: 1.5rem;
    margin-left: 2.5rem;
  }
}

/* Evento */
.evento__data {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.2;
}

@media (min-width: 48em) {
  .evento__data {
    font-size: 1.5rem;
  }
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  padding-top: 1rem;
  background-color: #004871;
}
.site-footer .block {
  border: none;
}
.site-footer .content {
  color: #fff;
}
.site-footer__top {
  display: flex;
  flex-wrap: wrap;
}

.site-footer__top > .region {
  flex: 1 0 auto;
  width: 100%;
  max-width: 100%;
  position: relative;
}

.site-footer__top > .region:not(:first-child) {
  padding-top: 1.2rem;
  padding-bottom: 1.2rem;
}

@media (min-width: 62em) {
  .site-footer__top > .region:not(:first-child) {
    padding-top: 0;
  }
}

.site-footer__top > .region.region-footer-second,
.site-footer__top > .region.region-footer-fourth {
  padding-left: 0;
}

.site-footer__top > .region:not(:last-child)::after {
  content: "";
  border-top: 1px solid #ffffffb5;
  width: 94%;
  position: absolute;
  bottom: 0;
  left: 3%;
}

@media (min-width: 48em) {
  .site-footer__top > .region {
    width: 50%;
  }

  .site-footer__top > .region.region-footer-second,
  .site-footer__top > .region.region-footer-fourth {
    padding: 0 0.65%;
  }

  .site-footer__top > .region:nth-child(3)::after {
    content: none;
  }
}

@media (min-width: 62em) {
  .site-footer {
    padding-top: 2rem;
  }
  .site-footer__top > .region {
    width: 24%;
  }

  .site-footer__top > .region::after {
    content: none !important;
  }
}

.site-footer__top .region-footer-first {
  padding-bottom: 0.6rem;
}

#block-footercontantifooterfirst,
#block-footercontattifooterfirst {
  border: unset;
  margin: 0;
  padding: 0 12px;
}

.region-footer-first img {
  margin-bottom: 0.8rem;
  max-width: 210px;
}

.footer-first__info .content {
  font-size: 1rem;
}

.region-footer-first .menu--menu-social {
  padding: 0 12px;
}

.region-footer-first .menu--menu-social .menu {
  justify-content: flex-start;
}

.region-footer-first .menu--menu-social .menu > li:not(:last-child) {
  margin-right: 1.2rem;
  margin-right: 0;
}

.region-footer-first .menu--menu-social .menu > li {
  flex: auto;
}

.region-footer-first .menu--menu-social .menu a {
  background-size: 24px;
  width: 24px;
  height: 24px;
}

@media (max-width: 374px) {
  .menu--menu-social > ul > li:not(:last-child) {
    margin-right: 1rem;
  }
  .menu--menu-social .menu a {
    background-size: 24px;
  }
}

.site-footer__top .region-footer-second {
  position: relative;
}

@media (min-width: 75em) {
  .site-footer__top .region-footer-second {
    margin-left: 8rem;
  }

  .site-footer__top .region-footer-second::before {
    content: "";
    position: absolute;
    top: 2.5%;
    left: -3.6rem;
    height: 95%;
    width: 1px;
    border-left: 1px solid #ffffffb5;
  }
}

.site-footer__top .nav {
  height: 100%;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 62em) {
  .site-footer__top .nav {
    justify-content: flex-start;
    padding-top: 27%;
  }
}

@media (min-width: 75em) {
  .site-footer__top .nav {
    padding-top: 21%;
  }
}

.site-footer__top .nav-link {
  padding: 0.1rem 1rem;
  color: #fff;
}

/* Mostra il bottone accessibilita' al focus */
a.visually-hidden.focusable.skip-link:focus {
  width: auto !important;
  top: 0;
  left: 0;
  padding: 0.4rem 1rem !important;
  clip: unset !important;
  height: auto !important;
  font-size: 1.3rem;
  margin: 0 !important;
  transform: unset;
  border-radius: 0;
  background-color: rgb(89, 89, 89);
}

/*toglie spazio tra header e il main*/
.node--type-home-page .node__content {
  margin: auto;
}

/* Elenco cdl  */
.card-corsi {
  line-height: 1.2;
}

.card-corsi__wrapper > div:not(:last-child) {
  margin-bottom: 1rem;
}

.card-corsi__wrapper[class*="dip-"] {
  border-top: 2px solid grey;
  border-right: 2px solid grey;
  border-bottom: 2px solid grey;
  border-left-width: 14px;
  padding: 0.8rem;
}

.hero--cdl [class*="dip-"] {
  border-left-width: 18px;
  border-left-style: solid;
}

.dip-GIUR {
  border-color: #5880b2;
}

.dip-MED {
  border-color: #46a0a7;
}

.dip-PED {
  border-color: #f14a4f;
}

.dip-SCI {
  border-color: #003651;
}

.dip-VET {
  border-color: #2c823d;
}

.dip-ES {
  border-color: #7b5cac;
}

.dip-ING {
  border-color: #4f4c4d;
}

.dip-POL {
  border-color: #58031e;
}

.dip-MAT {
  border-color: #39a36c;
}

.dip-FAR {
  border-color: #e17a18;
}

.dip-UM {
  border-color: #335599;
}

.dip-SDF {
  border-color: #864b7c;
}

.card-corsi__wrapper {
  height: 100%;
  position: relative;
}

.view-scuole-di-specializzazione .card-corsi__wrapper div {
  width: 100%;
}

/* test */
.card-corsi__wrapper::before {
  content: "";
  position: absolute;
  border-left-width: 14px;
  border-left-style: solid;
  border-left-color: inherit;
  width: 7px;
  top: -2px;
  bottom: -2px;
  left: -13px;
}

.card-corsi__wrapper::after {
  content: "";
  position: absolute;
  border-left: 9px solid #fff;
  width: 9px;
  top: 17%;
  bottom: -3px;
  left: -14px;
  border-top-right-radius: 11px;
}
/* fine test */

.card-corsi__titolo {
  font-size: 1.125rem;
  font-weight: 700;
  word-wrap: break-word;
}

.card-corsi__wrapper [class*="card-corsi__"]:not(.card-corsi__titolo) {
  display: inline-flex;
}

.card-corsi__wrapper [class*="card-corsi__"]:not(.card-corsi__titolo)::before {
  content: "";
  background-size: 1.4rem;
  height: 1.4rem;
  width: 1.4rem;
  flex: 0 0 1.6rem;
  margin-right: 0.4rem;
  filter: brightness(0) saturate(100%) invert(29%) sepia(66%) saturate(1880%)
    hue-rotate(185deg) brightness(94%) contrast(102%);
}

.card-corsi__wrapper [class*="card-corsi__location"]::before {
  height: 1.5rem !important;
  background-size: 1.1rem !important;
}

.card-corsi__wrapper .card-corsi__dipartimento::before {
  background: url(/themes/custom/unime_base/icons/university-solid.svg)
    no-repeat center center;
}

.card-corsi__wrapper .card-corsi__classe::before {
  background: url(/themes/custom/unime_base/icons/Area.svg) no-repeat center
    center;
}

.card-corsi__wrapper .card-corsi__accesso::before {
  background: url(/themes/custom/unime_base/icons/Accesso.svg) no-repeat center
    center;
}

.card-corsi__wrapper .card-corsi__durata::before {
  background: url(/themes/custom/unime_fed/icons/durata.svg) no-repeat center
    center;
}

.card-corsi__wrapper .card-corsi__lingua::before {
  background: url(/themes/custom/unime_base/icons/Lingua.svg) no-repeat center
    center;
}

.card-corsi__wrapper .card-corsi__location::before {
  background: url(/themes/custom/unime_base/icons/Sede.svg) no-repeat center
    center;
}

.card-corsi__wrapper .card-corsi__tipomaster::before {
  background: url(/themes/custom/unime_base/icons/Livello.svg) no-repeat center
    center;
}


/* CORSO DI LAUREA DETTAGLIO */
.title-page__wrapper > .container {
  position: relative;
}

.hero__box-info {
  margin-top: 1rem;
  display: flex;
  justify-content: space-around;
}

.hero__box-info > div {
  background-color: #006ec0;
  padding: 0.6rem 1rem;
}

.hero__box-info a {
  color: #fff !important;
  font-size: 1.125rem;
}

@media (min-width: 48em) {
  .hero__box-info {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    margin-top: 0;
    flex-direction: column;
    justify-content: flex-end;
  }

  .hero__box-info > div:first-child {
    margin-bottom: 0.6rem;
  }
}

/* infografica */
.infografica__info {
  margin: 3rem 0 2rem;
}

.infografica__info [class*="infografica"] {
  margin-bottom: 2rem;
  font-size: 1.25rem;
  line-height: 1.2;
  text-align: center;
}

.infografica__info .infografica__lingua {
  margin-bottom: 0;
}

.infografica__info [class*="infografica"]::before {
  display: block;
  margin-bottom: 0.8rem;
  filter: brightness(0) saturate(100%) invert(29%) sepia(66%) saturate(1880%)
    hue-rotate(185deg) brightness(94%) contrast(102%);
}

.infografica__classe::before {
  content: url(/themes/custom/unime_base/icons/Area.svg);
}

.infografica__durata::before {
  content: url(/themes/custom/unime_base/icons/Anni.svg);
}

.infografica__sede::before {
  content: url(/themes/custom/unime_base/icons/Sede.svg);
}

.infografica__accesso::before {
  content: url(/themes/custom/unime_base/icons/Accesso.svg);
}

.infografica__lingua::before {
  content: url(/themes/custom/unime_base/icons/Lingua.svg);
}

.infografica__dipartimento::before {
  content: url(/themes/custom/unime_base/icons/dipartimento.svg);
}

.infografica__coordinatore::before {
  content: url(/themes/custom/unime_base/icons/coordinatore.svg);
}

@media (min-width: 62em) {
  .infografica__info [class*="infografica"] {
    margin-bottom: 0;
  }
}

/* info corso */
.info-corso__wrapper h2 {
  margin-bottom: 0;
  font-weight: 600;
  border-bottom-width: 25px;
  border-bottom-style: solid;
}

.view-scuola-di-specializzazione .info-corso {
  height: 100%;
  background-color: lightgrey;
}
.view-scuola-di-specializzazione .correlati-wrapper {
  margin-bottom: 4rem;
}
@media (max-width: 415px) {
  .view-scuola-di-specializzazione .info-corso {
    height: unset;
    background-color: lightgrey;
  }
  .view-scuola-di-specializzazione .info-row {
    margin-bottom: 2rem;
  }
  .view-scuola-di-specializzazione .doc-row {
    margin-bottom: unset;
  }
}

.info-corso li {
  padding-top: 0.2rem !important;
  padding-bottom: 0.2rem !important;
}

.info-corso > div {
  padding: 0.2rem 2rem;
}

.info-corso > div:first-child {
  padding-top: 1rem;
}

.info-corso > div:last-child {
  padding-bottom: 1rem;
}

/* piano studi */
.piano-studi .tab-content {
  margin-top: 1rem;
}

.piano-studi .nav-item {
  flex-basis: 100%;
}

.piano-studi .nav-link {
  height: 100%;
}

.piano-studi .nav-link:not(.active) {
  box-shadow: inset 0px 2px 8px -2px #e1dede;
}

.piano-studi .nav-link.active {
  font-weight: 700;
  border-color: #9d9ea1;
}

@media (min-width: 48em) {
  .piano-studi .nav-item {
    flex: 1;
  }

  .piano-studi .tab-content {
    margin-top: 0;
  }

  .piano-studi .nav-link.active {
    border-color: #dee2e6 #dee2e6 #fff #dee2e6;
  }

  .piano-studi .views-field-field-study-plan {
    margin-left: 0;
    padding: 0.8rem;
    /*border: 1px solid #000;*/
    border: 1px solid #dfe1e8; /*colore bordo modificato*/
  }
}

/* obiettivi formativi */
.obiettivi-formativi h3 {
  margin-top: 1.3rem;
}

/* Paginatore */
.pagination {
  margin: 1.4rem 0 2rem;
  flex-wrap: wrap;
}

@media (min-width: 48em) {
  .pagination {
    margin: 2rem 0 0;
  }
}

/* Mappa sito */
.mappa-sito .dropdown-menu {
  display: block;
  position: static;
  border: unset !important;
  background-color: unset !important;
}

.mappa-sito li {
  display: list-item;
  background-color: unset !important;
}

.mappa-sito li:not(.dropdown) {
  padding-top: 0.1rem;
  padding-bottom: 0.1rem;
}

/* .mappa-sito .navnavbar-nav > li:last-child, */
.mappa-sito .info-per--menu,
.mappa-sito .info-per--menu + ul {
  display: none;
}

.mappa-sito a {
  word-break: break-word;
  hyphens: auto;
  padding-left: 0;
  color: #006ec0;
}

.mappa-sito .navnavbar-nav > li:not(:first-child) {
  border-top: 1px solid lightgray;
  margin-top: 1rem;
  padding-top: 0.6rem;
}

.mappa-sito .navnavbar-nav > li > a {
  font-size: 1.25rem;
  font-weight: 700;
}

.mappa-sito .navnavbar-nav > li > ul {
  padding-top: 0;
}

/* Stile simil tabella */
.tabella__header {
  display: none;
}

@media (min-width: 75em) {
  .tabella__header > div {
    flex: 0 0 auto;
    font-weight: 700;
  }

  .tabella__header > div:not(:first-child) {
    padding-left: 0.8rem;
  }

  .tabella__header {
    margin-bottom: 1rem;
  }
}

.tabella .view-content.row {
  margin: 0;
}

.tabella .tabella__risultati {
  padding: 1rem;
  border: 1px solid #afafaf;
  font-size: 1.125rem;
  transition: background-color 0.2s ease;
}

.tabella .tabella__risultati:nth-child(odd) {
  background-color: #fafafa;
}

.tabella .tabella__risultati:hover {
  background-color: rgb(0 110 192 / 0.05);
}

.tabella .tabella__risultati > .views-field {
  margin-bottom: 0.7rem;
  line-height: 1.2;
}

.tabella [class*="views-label"] {
  display: block;
  font-weight: 700;
}

.tabella .field-content a {
  color: #006ec0;
}

@media (min-width: 48em) {
  .tabella label {
    min-width: unset;
  }
}

@media (min-width: 75em) {
  .tabella .tabella__risultati {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 1.4rem 1rem;
  }

  .tabella .tabella__risultati > .views-field {
    flex: 0 0 auto;
    margin-bottom: 0;
  }

  .tabella .tabella__risultati > .views-field {
    word-break: break-word;
  }

  .tabella .tabella__risultati > .views-field:not(:first-child) {
    padding-left: 0.8rem;
  }

  .tabella [class*="views-label"] {
    display: none;
  }
}

/* Tabella Erasmus */
@media (min-width: 75em) {
  .tabella--erasmus .tabella__header > div,
  .tabella--erasmus .tabella__risultati > .views-field {
    width: 28%;
  }

  .tabella--erasmus .tabella__header > div:last-child,
  .tabella--erasmus .tabella__risultati > .views-field:last-child {
    width: 16%;
  }
}

/* Tabella Circolari */
@media (min-width: 75em) {
  .tabella--circolari .tabella__header > div,
  .tabella--circolari .tabella__risultati > .views-field {
    width: 40%;
  }

  .tabella--circolari .tabella__header > div:nth-child(2) {
    padding-left: 1.2rem;
  }

  .tabella--circolari .tabella__header > div:last-child,
  .tabella--circolari .tabella__risultati > .views-field:last-child {
    width: 20%;
  }
}

/* Tabelle */
table {
  word-wrap: break-word;
  table-layout: fixed;
  width: 100%;
  margin-top: 0;
}

th {
  background: rgba(0, 0, 0, 0.51) !important;
}

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

  /* Hide table headers (but not display: none;, for accessibility) */
  thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
    font-size: 0;
  }

  table tr {
    border: 1px solid #ccc;
    padding: 0.6em 0.6em;
  }

  table td {
    border: none;
    margin-bottom: 0.3rem;
    border-bottom: 1px solid #eee;
    position: relative;
    line-height: 1.2;
    white-space: normal;
    text-align: left;
  }

  table td:before {
    position: relative;
    display: block;
    margin-bottom: 0.1rem;
    white-space: normal;
    text-align: left;
    font-weight: bold;
    text-transform: capitalize;
  }

  /* Label the data	*/
  table td:before {
    content: attr(data-title);
  }
}

/* Modale Cerca */
#navbar-top {
  padding-top: 0;
  padding-bottom: 0;
}

body.modal-open,
.modal-search {
  padding-right: 0 !important;
  overflow-y: unset !important;
}

@media (max-width: 1199px) {
  .modal-search,
  .modal-backdrop {
    display: none !important;
  }
}

.modal-dialog {
  max-width: 100%;
  margin-top: 0;
  background-color: #006ec0;
  box-shadow: 0px 10px 20px 0px #343434a3;
}

.modal-search .modal-header {
  border-bottom: unset;
}

.modal-search button {
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7485%)
    hue-rotate(125deg) brightness(111%) contrast(105%);
  opacity: 1;
}

.modal-dialog > .modal-content {
  background-color: transparent;
  border: unset;
}

.modal-search form {
  position: relative;
  padding: 5px 15px;
  flex-flow: row wrap;
  display: flex;
}

.modal-search form > fieldset {
  flex-grow: 1;
}

.modal-search .form-control {
  border: 1px solid #fff;
  font-size: 1.4rem;
  color: #fff;
  background-color: #006ec0;
  border-radius: 30px;
  padding: 0.5rem 0.75rem 0.5rem 1.2rem;
  padding-right: 3.4rem;
  position: relative;
  z-index: 1;
  box-shadow: 3px 3px 19px -10px #3d3d3d;
}

.modal-search .form-control::placeholder {
  color: #fff;
}

.modal-search .form-actions {
  position: absolute;
  top: -1rem;
  bottom: 0;
  right: 1.4rem;
  z-index: 2;
}

.modal-search .modal-body button {
  display: block;
  border: unset;
  border-radius: unset;
  height: 100%;
  font-size: 0;
  background: transparent
    url(/themes/custom/unime_base/icons/Icon%20ionic-ios-search.svg) no-repeat
    center center;
}

.modal-search .modal-body button:hover,
.modal-search .modal-body button:focus {
  background-color: transparent;
}

.modal-search img {
  display: block !important;
  margin: 3rem 0 1rem;
  margin-left: auto;
  width: 200px;
}

.modal-backdrop.fade.show {
  opacity: 0;
}

/* Pagina di ricerca */
#google-cse-results .gsc-control-cse {
  background-color: #fff;
  border: 0;
}

#google-cse-results .gsc-above-wrapper-area {
  margin-top: 1rem;
}

#google-cse-results .gsc-tabhActive {
  color: #000;
}

#google-cse-results .gsc-tabhInactive {
  color: #666;
}

#google-cse-results table *,
#google-cse-results .gsc-result-info {
  background-color: #fff;
  color: #000;
}

@media (max-width: 991px) {
  #google-cse-results table td {
    border-bottom: 0;
  }
}

.search-help-link {
  display: block;
  margin-bottom: 1rem;
  margin-left: auto;
  width: max-content;
}

#google-cse-results .gsc-result-info {
  padding-bottom: 0;
}

#google-cse-results .gsc-results.gsc-webResult {
  width: 100%;
}

#google-cse-results .gs-title,
#google-cse-results .gs-title * {
  font-size: 1.125rem;
}

#google-cse-results .gs-webResult .gs-visibleUrl {
  font-size: 0.9rem;
}

#google-cse-results .gs-title,
#google-cse-results .gs-title *,
#google-cse-results .gs-webResult .gs-visibleUrl,
#google-cse-results .gcsc-find-more-on-google {
  color: #004871;
}

#google-cse-results .gcsc-find-more-on-google svg {
  filter: brightness(0) saturate(100%) invert(17%) sepia(44%) saturate(3379%)
    hue-rotate(181deg) brightness(97%) contrast(101%);
}

/* CQ #140 */
.page-node-37 .mb-5._none {
  display: none;
}

/* CQ #141 */
.menu-spalla nav ul {
  flex-direction: column;
}

/*BANNER COOKIE*/
#cookiesjsr {
  --btn-bg-color: #006ec0; /*custom*/
  --btn-prime-font-color: #006ec0; /*custom*/
  --btn-inv-font-color: #006ec0; /*custom*/
  --btn-inv-border-color: #006ec0; /*custom*/
  --btn-prime-inv-border-color: #006ec0; /*custom*/
  --btn-prime-inv-bg-color: #006ec0; /*custom*/
  --banner-bg-color: #006ec0; /*custom*/
  --layer-tab-active-bg-color: #006ec0; /*custom*/
  --layer-bg-dark: #006ec0; /*custom*/
}
.cookiesjsr-btn {
  font-size: 0.7em; /*custom*/
}
.cookiesjsr-links.links--row li a {
  color: #fff !important; /*custom*/
}

/*CURRICULUM*/
.anno_corso-label {
  font-weight: bold;
  font-size: 1.3rem;
}
.anno_corso-label:first-child {
  margin-top: -2rem;
}
.insegnamento-label {
  background-color: #006ec0;
  padding: 0.6rem;
  color: white;
}

/* Icona file */
.file--application-pdf {
  background-image: url(/themes/custom/unime_base/icons/file.svg);
}
.hero__box-info .file--application-pdf {
  background-image: url(/themes/custom/unime_base/icons/file-white.svg);
}

/* Pagina 404 */
.path-pagina-404 .title-page__title {
  font-weight: 100;
}

.page-404 {
  position: relative;
}

.page-404 .node__content {
  position: relative;
  margin-left: auto;
  padding: 1rem 0;
}

.page-404__title {
  padding: 1rem 2rem;
  background-color: #0000007d;
  text-shadow: 2px 2px 5px #000;
  position: relative;
  z-index: 1;
}

.page-404__title h3 {
  margin: 0;
  font-weight: 700;
  color: #fff;
  align-items: center;
}

.page-404__body {
  background-color: rgb(242 242 242 / 96%);
  padding: 1rem 1.4rem 1.4rem 1.4rem;
  box-shadow: 4px 4px 20px #5e5e5e;
}

.page-404__body .btn {
  border-radius: 20px;
  margin: 1rem auto;
  width: max-content;
  display: block;
  background-color: #006ec0;
  border-color: #006ec0;
  position: relative;
}

.page-404__body .btn::before {
  content: "";
  margin-right: 0.7rem;
  width: 1.6rem;
  height: 1.6rem;
  background: url(/sites/default/files/2022-10/hand-point-right-solid.svg)
    no-repeat center center;
  filter: invert(27%) sepia(97%) saturate(1306%) hue-rotate(184deg)
    brightness(98%) contrast(102%);
  vertical-align: sub;
  position: absolute;
  left: -2.4rem;
}

@media (min-width: 62em) {
  .page-404__title {
    position: absolute;
    bottom: 3rem;
  }

  .page-404 .node__content {
    max-width: 27rem;
    position: relative;
    margin: 0 3rem 0 auto;
    padding: 2rem 0;
  }

  .page-404__body {
    padding: 1rem 1.4rem 1.4rem 1.4rem;
    margin-left: 1rem;
  }

  .page-404 .page-404__bg-img {
    position: absolute;
    height: 100%;
    object-fit: cover;
    filter: blur(1px) brightness(0.9);
    clip-path: inset(1px 0 1px 0);
  }
}

/*UNIME International - Focus on*/
.site-sten .view-focus-on .field-content {
  display: grid;
}
.site-sten .view-focus-on p {
  margin-top: 1.5rem;
  text-align: center;
}
.site-sten .view-focus-on .button {
  margin-top: 1.5rem;
  grid-row: 4;
  width: fit-content;
  margin-left: auto;
}
.site-sten .view-focus-on .contextual-region {
  margin-top: 1.5rem;
}
.site-sten .view-focus-on .field-content img {
  filter: brightness(1);
  transition: filter 0.6s cubic-bezier(0, -1.35, 0, 1.33);
}

.site-sten .view-focus-on .field-content img:hover {
  filter: brightness(0.5);
}
@media (min-width: 64em) {
  .site-sten .view-focus-on p {
    margin-top: 0rem;
    font-size: 1.5rem;
    text-align: unset;
  }
  .site-sten .view-focus-on .field-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 0 2rem;
    grid-template-rows: auto 1fr;
  }
  .site-sten .view-focus-on .button {
    margin-top: 0rem;
    grid-row: 3;
    width: fit-content;
    margin-left: auto;
    margin-bottom: 0;
  }
  .site-sten .view-focus-on .contextual-region {
    grid-column: 2;
    grid-row: 1 / span 3;
    margin-top: 0rem;
  }
}

/*home page di canale International*/

.menu-spalla .menu--main .menu-level-0 .field__label,
.menu-spalla .menu--main .menu-level-0 .field__item,
.node--type-pagina-di-canale .menu-level-0 .field__label,
.node--type-page .menu-level-1 .field__label,
.node--type-page .menu-level-1 .field__item {
  display: none;
}

.node--type-pagina-di-canale .layout--onecol .menu--main .menu-level-0 {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding-left: 0;
}

.node--type-pagina-di-canale .layout--onecol .menu--main .menu-level-0 > li {
  flex: 0 0 auto;
  position: relative;
  width: 100%;
  border: 0;
  min-height: unset;
  margin-bottom: 2.4rem;
  padding: 0px 1.2rem;
  background-color: transparent;
}

.node--type-pagina-di-canale .layout--onecol .menu--main .menu-level-0 > li a,
.node--type-pagina-di-canale .layout--onecol .menu--main .menu-level-0 > li p {
  color: #fff;
  line-height: normal;
}

.node--type-pagina-di-canale .layout--onecol .menu--main .menu-level-0 > li a {
  position: absolute;
  margin: 0 auto;
  padding-bottom: 1rem;
  color: #fff;
  line-height: normal;
  text-align: center;
  z-index: 1;
  inset: 0 0 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 600;
  transition: padding 0.4s cubic-bezier(0.65, 0.05, 0.36, 1);
  padding-left: 1rem;
  padding-right: 1rem;
}

.node--type-pagina-di-canale
  .layout--onecol
  .menu--main
  .menu-level-0
  > li
  a:hover {
  color: #fff;
  text-decoration: none !important;
  padding-bottom: 3rem;
}
.node--type-pagina-di-canale
  .layout--onecol
  .menu--main
  .menu-level-0
  > li
  a:hover
  + div
  img {
  filter: brightness(1);
}

.node--type-pagina-di-canale .layout--onecol .menu--main .menu-level-0 > li p {
  margin-bottom: 8.5rem;
}

@media (min-width: 48em) {
  .node--type-pagina-di-canale .layout--onecol .menu--main .menu-level-0 > li {
    width: 50%;
  }

  .node--type-pagina-di-canale
    .layout--onecol
    .menu--main
    .menu-level-0
    > li
    a::after {
    bottom: 3.4rem;
  }
}

@media (min-width: 62em) {
  .node--type-pagina-di-canale .layout--onecol .menu--main .menu-level-0 > li {
    width: 33.33%;
  }
}
.node--type-pagina-di-canale .layout--onecol .menu--main .menu-level-0 > li {
  min-height: 20rem;
  background-color: #1d71b8;
  clip-path: inset(1px 19px 1px 19px);
}
.node--type-pagina-di-canale
  .layout--onecol
  .menu--main
  .menu-level-0
  > li
  > div
  *,
.node--type-pagina-di-canale
  .layout--onecol
  .menu--main
  .menu-level-0
  .menu-dropdown-0 {
  height: 100%;
}

.node--type-pagina-di-canale .layout--onecol .menu--main .menu-level-0 img {
  filter: brightness(0.5);
  transition: filter 0.4s ease;
  max-height: 380px;
  object-fit: cover;
  transition: filter 0.4s cubic-bezier(0.65, 0.05, 0.36, 1);
}
.node--type-pagina-di-canale
  .layout--onecol
  .menu--main
  .menu-level-0
  img:hover {
  filter: brightness(0.75) blur(0);
  transition: filter 0.4s cubic-bezier(0.65, 0.05, 0.36, 1);
}

/*Sitemap*/
.mappa-sito .menu-dropdown {
  display: block;
  position: static;
  border: unset !important;
  background-color: unset !important;
}

.mappa-sito li {
  display: list-item;
  background-color: unset !important;
}

.mappa-sito li:not(.menu-item) {
  padding-top: 0.1rem;
  padding-bottom: 0.1rem;
}

.mappa-sito .menu-level-0 > li:last-child {
  display: none;
}

.mappa-sito a {
  word-break: break-word;
  hyphens: auto;
  padding-left: 0;
  color: #006ec0;
}

.mappa-sito .menu-level-0 > li:not(:first-child) {
  border-top: 1px solid lightgray;
  margin-top: 1rem;
  padding-top: 0.6rem;
}

.mappa-sito .menu-level-0 > li > a {
  font-size: 1.25rem;
  font-weight: 700;
}

.mappa-sito .menu-level-0 > li > ul {
  padding-top: 0;
}

.mappa-sito .menu-dropdown,
.mappa-sito .menu-item {
  padding: 0.25rem 1rem;
}

/* Stile per aggiunta benner altri avvisi */
.news-hp--con-avvisi {
  padding-bottom: 0;
}

.news-avvisi {
  padding: 0 0 3rem;
}

.news-avvisi .title-h2--hp {
  margin: 1rem 0 2rem;
}

.news-avvisi #views-bootstrap-notizie-block-3 > .row {
  row-gap: 2rem;
}

.news-avvisi .anteprima-card {
  height: 100%;
}

.news-avvisi .anteprima-card__title {
  font-size: 1.125rem;
  color: #006ec0;
  line-height: 21px;
}

.news-avvisi .anteprima-card__abstract {
  margin-top: 0.2rem;
}

.news-avvisi .view-footer {
  margin-top: 2rem;
}

/* Fix per paragrafi con immagine, tipo news */
.block-field-blocknodearticlefield-immagine-news
  + .block-field-blocknodearticlefield-paragrafo
  .field__items
  > .field__item:first-child
  .paragraph--type--semplice
  > .clearfix::after {
  content: none;
}

/* Rubrica */
.rubrica__wrapper {
  height: 100%;
  border: 1px solid rgb(239 239 239);
  border-radius: 10px;
  box-shadow: 1.5px 1.5px 2.2px rgba(167, 174, 193, 0.018),
    3.7px 3.6px 5.3px rgba(167, 174, 193, 0.024),
    7px 6.8px 10px rgba(167, 174, 193, 0.029),
    12.5px 12.1px 17.9px rgba(167, 174, 193, 0.035),
    23.4px 22.6px 33.4px rgba(167, 174, 193, 0.046);
}

.rubrica__wrapper {
  display: flex;
  flex-direction: column;
}

.rubrica-bold {
  color: #004871;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.rubrica__wrapper .rubrica__buttons-wrapper {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  padding-top: 1rem;
}

.rubrica__wrapper .rubrica__button {
  margin-top: 0.5rem;
}

.rubrica__button a {
  display: block;
  width: max-content;
  padding: 0.6rem 1.4rem;
  border-radius: 30px;
  background-color: #006ec0;
  color: #fff;
  line-height: 1.2;
}

/* Fix per sten - international */
@media (min-width: 75em) {
  .site-sten #navbar-main > .container {
    display: grid;
    grid-template-columns: 350px 65% 60px;
  }
}

@media (min-width: 85em) {
  .site-sten #navbar-main > .container {
    display: grid;
    grid-template-columns: 350px 69% 65px;
  }
}

.site-sten header .internazionalizzazione .menu-item a {
  font-size: 1.313rem;
}

.site-sten .blocco_centrale {
  margin-top: 7rem;
}

/*Unibuddy*/
.site-sten #unibuddy-popcard-iframe {
  bottom: 5rem;
}

/*PTL-4239 Scuole di specializzazione*/
.scuola_di_specializzazione > div {
  background-color: #f3f3f3;
  margin-bottom: 0.5rem;
  padding: 1rem;
  position: relative;
}
.scuola_di_specializzazione a {
  color: #101010;
  font-size: 24px;
  padding-left: 1rem;
  display: block;
}
.scuola_di_specializzazione .area_medica::before {
  border-left: 12px solid #003651;
}
.scuola_di_specializzazione .area_no_medica::before {
  border-left: 12px solid #03b245;
}
.scuola_di_specializzazione .area_legale::before {
  border-left: 12px solid #e90000;
}
.scuola_di_specializzazione .area_veterinaria::before {
  border-left: 12px solid #e17a18;
}
.scuola_di_specializzazione .area_psicologia::before {
  border-left: 12px solid #7b5cac;
}
.scuola_di_specializzazione > div::before {
  content: "";
  position: absolute;
  top: 0%;
  left: 0px;
  bottom: 0%;
}

/* PTL-4780 - Card orizzontali */
@media (min-width: 48em) {
  .cards--horizontal .field--name-field-cards-paragrafo > .field__item {
    width: 100%;
  }

  .cards--horizontal .paragraph--type--card .anteprima-card__wrapper {
    flex-flow: row;
  }

  .cards--horizontal .field--name-field-immagine-card {
    width: 45%;
  }

  .cards--horizontal .field--name-field-immagine-card * {
    height: 100%;
  }

  .cards--horizontal .paragraph--type--card img {
    max-height: unset;
  }

  .cards--horizontal .paragraph--type--card .card__text-wrapper {
    width: 55%;
  }
}

@media (min-width: 62em) {
  .cards--horizontal .field--name-field-immagine-card {
    width: 40%;
  }

  .cards--horizontal .paragraph--type--card .card__text-wrapper {
    width: 60%;
  }
}

/* ptl-4393 */
.ui-accordion .ui-accordion-header,
.view-id-rubrica.view-display-id-block_7 .ui-accordion .ui-accordion-header {
  cursor: pointer;
  position: relative;
  margin: 2px 0 0 0;
  padding: 0.5em 0.5em 0.5em 0.7em;
  font-size: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.ui-accordion-header,
.view-id-rubrica.view-display-id-block_7 .ui-accordion-header {
  color: #fff !important;
  background-color: #006ec0 !important;
}

.ui-accordion-header::after {
  content: "";
  filter: brightness(0) saturate(100%) invert(94%) sepia(46%) saturate(0%)
    hue-rotate(235deg) brightness(105%) contrast(106%);
  background-size: 2rem;
  width: 2rem;
  height: 2rem;
  position: relative;
  top: 0.15rem;
  background-repeat: no-repeat;
  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");
  transition: rotate 0.25s ease-in-out;
}

.ui-accordion-header.ui-state-active::after {
  rotate: -180deg;
}
.view-id-rubrica .ui-widget-content {
  display: grid;
  grid-template-columns: auto;
  grid-gap: 1rem;
}

.ui-dialog-content {
  height: unset !important;
}
.ui-widget-content {
  overflow: scroll;
}

@media (min-width: 70em) {
  .view-id-rubrica .ui-widget-content {
    grid-template-columns: 1fr 1fr;
  }
}

.view-rubrica h3 {
  padding: 1.5rem 0 0 0;
}

.view-id-ugov_organizational_unit.view-display-id-block_6,
.view-id-ugov_organizational_unit.view-display-id-block_5 {
  /* background-color: #f9f9f9; */
  /* padding: 1rem 0; */
  /* box-shadow: none; */
  height: 100%;
  /* border: 1px solid rgb(239 239 239); */
  /* border-radius: 10px; */
  overflow: hidden;
  margin-top: 1rem;
}
/* fine ptl-4393 */

/*ptl-5477*/
.col-12 .block-block-content .row {
  row-gap: 1rem;
}
.col-12 .block-block-content .title-h2--hp {
  margin-bottom: 2rem;
}
.col-12 .block-block-content .col-12.col-md-6 {
  height: 7rem;
}
.dip_hp {
  position: relative;
  display: flex;
  column-gap: 2rem;
  border: 1px solid rgb(239 239 239);
  overflow: hidden;
  height: 100%;
  justify-content: space-between;
  box-shadow: 1.5px 1.5px 2.2px rgba(167, 174, 193, 0.018),
    3.7px 3.6px 5.3px rgba(167, 174, 193, 0.024),
    7px 6.8px 10px rgba(167, 174, 193, 0.029),
    12.5px 12.1px 17.9px rgba(167, 174, 193, 0.035),
    23.4px 22.6px 33.4px rgba(167, 174, 193, 0.046);
}
.dip_hp > div {
  font-size: 24px; /* 32px; */
  padding-left: 0.5rem;
  align-items: center;
  display: flex;
}
.dip_hp .dip_link {
  text-align: end;
  padding-right: 1rem;
  align-items: center;
  display: flex;
  margin: 1rem 0rem;
}
.dip_hp .dip_nolink {
  display: contents;
}
.dip_hp .dip_nolink a {
  position: absolute;
  z-index: 1;
  inset: 0;
  font-size: 0;
}
.dip_hp:hover .dip_link a,
.dip_hp:focus .dip_link a {
  text-decoration: underline;
}
.dip_hp .dip_link a,
.dip_hp .dip_link a:hover,
.dip_hp .dip_link a:focus {
  font-size: 18px;
  color: #000;
}
@media (max-width: 64em) {
  .col-12 .block-block-content .col-12.col-md-6 {
    height: 10rem;
  }
  .dip_hp > div {
    word-break: break-word;
  }
  .dip_hp {
    flex-direction: column;
  }
  .dip_hp .dip_link {
    text-align: start;
    padding-left: 1rem;
  }
}
.dip_hp .dip_01 {
  border-left: 20px solid #2c823d;
  color: #2c823d;
}
.dip_hp .dip_02 {
  border-left: 20px solid #7b5cac;
  color: #7b5cac;
}
.dip_hp .dip_03 {
  border-left: 20px solid #e17a18;
  color: #e17a18;
}
.dip_hp .dip_04 {
  border-left: 20px solid #5880b2;
  color: #5880b2;
}
.dip_hp .dip_05 {
  border-left: 20px solid #4f4c4d;
  color: #4f4c4d;
}
.dip_hp .dip_06 {
  border-left: 20px solid #39a36c;
  color: #39a36c;
}
.dip_hp .dip_07 {
  border-left: 20px solid #46a0a7;
  color: #46a0a7;
}
.dip_hp .dip_08 {
  border-left: 20px solid #f14a4f;
  color: #f14a4f;
}
.dip_hp .dip_09 {
  border-left: 20px solid #58031e;
  color: #58031e;
}
.dip_hp .dip_10 {
  border-left: 20px solid #003651;
  color: #003651;
}
.dip_hp .dip_11 {
  border-left: 20px solid #864b7c;
  color: #864b7c;
}
.dip_hp .dip_12 {
  border-left: 20px solid #335599;
  color: #335599;
}

.merchandising,
.merchandising a {
  background-color: #f9f9f9;
  color: #212529;
}

.merchandising {
  margin-top: 5rem;
  margin-bottom: -3rem;
  padding: 2.6rem 0;
}

.merchandising .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.merchandising .field--name-field-testo-merchandising {
  font-size: 1.75rem;
  font-size: clamp(1.75rem, 1rem + 1.57vw, 2.25rem);
  font-weight: 600;
  text-align: center;
  line-height: 1.4;
}

.merchandising .field--name-field-link a {
  margin-top: 1.4rem;
  margin-right: 5%;
  border: 3px solid #212529;
  padding: 0.3em 1.2em;
  display: inline-block;
  width: max-content;
  text-align: center;
  font-size: 1.375rem;
  font-size: clamp(1.375rem, 0.8rem + 1.17vw, 1.75rem);
  font-weight: 700;
}

@media (min-width: 48em) {
  .merchandising .container {
    flex-direction: row;
  }

  .merchandising .field--name-field-testo-merchandising {
    text-align: left;
  }

  .merchandising .field--name-field-link a {
    margin-top: 0;
  }
}

.organizational_unit .view-id-rubrica.view-display-id-block_7 ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

/* PTL-6001 */
.view-notizie .view-filters .js-form-type-cshs label,
.view-notizie .view-filters .js-form-type-cshs .select-wrapper {
  display: block;
  margin-right: 0;
}

/* TEST per PTL-5796 */
.categorie-bandi .row {
  list-style: none;
  padding: 0;
}

.categorie-bandi img {
  filter: brightness(0.5);
  transition: filter 0.3s cubic-bezier(0.65, 0.05, 0.36, 1);
}

.categorie-bandi .categorie-bandi__link {
  position: relative;
  display: block;
}

.categorie-bandi .categorie-bandi__link span {
  position: absolute;
  padding: 0 0.5rem 0.5rem;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
  line-height: normal;
  color: #fff;
  transition: padding 0.3s cubic-bezier(0.65, 0.05, 0.36, 1);
  text-shadow: 2px 2px 5px rgb(0 0 0 / 65%);
}

.categorie-bandi .categorie-bandi__link:hover img,
.categorie-bandi .categorie-bandi__link:focus img {
  filter: brightness(0.8);
}

.categorie-bandi .categorie-bandi__link:hover span,
.categorie-bandi .categorie-bandi__link:focus span {
  padding-bottom: 2rem;
}

/* Stile per pagine elenco PTL-5796 */
.bandi-elenco-new .view-filters label {
  margin-bottom: 0.2rem;
  display: block;
  font-weight: 600;
}

.bandi-elenco-new .view-filters .select-wrapper {
  width: 100%;
}

.bandi-elenco-new .view-filters .select-wrapper--level-1 {
  margin-top: 0.5rem;
  padding-left: 1rem;
}

@media (min-width: 48em) {
  .bandi-elenco-new .view-filters .row > div {
    width: 50%;
  }
}

/* PTL-7715 - AGGIUNTA BANNER HOME PAGE */
.banner-hp {
  background-color: #e2e9ee;
}


/*Ptl-7715*/
.field--name-field-link-banner a {
  position: absolute;
  inset: 0;
  z-index: 1;
  font-size: 0;
}
.paragraph--type--banner-wide-img img {
  min-height: 250px;
  object-fit: cover;
}

/*Ptl-7244*/
.hero--hp .slick--view--hero-copertina {
  padding: 0rem;
}
.hero--hp .view-content.row {
  margin-left: 0;
  margin-right: 0;
}
.hero--hp .slide__caption {
  position: relative;
  padding: 0rem;
}
.hero--hp .slide__data {
  width: 100%;
  background-color: #006ec0;
  color: #fff;
}
.hero--hp .slide__title {
  text-align: center;
  padding: 1rem 1.4rem;
  line-height: 1;
}
.hero--hp .slide__description a {
  position: absolute;
  inset: 0;
  font-size: 0rem;
}
@media (min-width: 48em) {
  .hero--hp .slide__data {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: #006ec06e;
    color: #fff;
  }
  .hero--hp .slide__title {
    padding: 1.4rem 2.6rem;
    text-shadow: 2px 2px 5px #000;
  }
}
/*frecce slick hero*/
.hero--hp .slick__arrow {
  z-index: 1;
  margin: 0rem;
  position: absolute;
  top: 50%;
  left: 0;
  font-size: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.hero--hp .slick__arrow button {
  width: unset;
  height: unset;
}
.hero--hp .slick-prev {
  left: 0.5rem;
}
.hero--hp .slick-next {
  right: 0.5rem;
}
.hero--hp .slick-prev:before {
  content: "";
  background: url(/themes/custom/unime_base/icons/arrowleft.svg);
  object-fit: cover;
  background-size: 100%;
  height: 40px;
  width: 40px;
  display: block;
}
.hero--hp .slick-next::before {
  content: "";
  background:url(/themes/custom/unime_base/icons/arrowright.svg); 
  object-fit: cover;
  background-size: 100%;
  height: 40px;
  width: 40px;
  display: block;
}

/*Ptl-9206*/
#block-menudiservizio .menu-servizi__login,
#block-menudiservizio .menu-servizi__mail,
#block-menudiservizio .menu-servizi__rubrica,
#block-unime-fed-menudiservizio .menu-servizi__mail,
#block-unime-fed-menudiservizio .menu-servizi__rubrica,
#block-unime-fed-menudiservizio .menu-servizi__login   {
  display: none;
}
@media (min-width:768px) {
  #block-menudiservizio .menu-servizi__login,
  #block-menudiservizio .menu-servizi__mail,
  #block-menudiservizio .menu-servizi__rubrica,
  #block-unime-fed-menudiservizio .menu-servizi__mail,
  #block-unime-fed-menudiservizio .menu-servizi__rubrica,
  #block-unime-fed-menudiservizio .menu-servizi__login  {
    display: block;
  }
}