@charset "UTF-8";
/**
 * Main custom SCSS
 * Cisia theme.
 */
/*
* Cisia mixin
*/
/***Media queries mixin***/
/* mixin rgba color*/
/**
 * Custom Cisia theme variables
 * Use as reference: node_modules/bootstrap-italia/src/scss/_variables.scss
 * For primary colors see: _palette.scss
 *
 * This file is automatically imported into 'theme.scss'.
 */
/*@media (min-width: 576px) {
    html, body {
    font-size: 16px;
    line-height: 1.555;
}
}*/
/* Useful for extend sass */
.row {
  --bs-gutter-x: 24px;
  --bs-gutter-y: 0;
  display: flex;
  flex-wrap: wrap;
  margin-top: calc(-1*var(--bs-gutter-y));
  margin-right: calc(-0.5*var(--bs-gutter-x));
  margin-left: calc(-0.5*var(--bs-gutter-x));
}

/*Custom title*/
@media (min-width: 992px) and (max-width: 1199px) {
  h4, .h4 {
    font-weight: 800;
    line-height: 30px;
  }
}

@media (min-width: 1200px) {
  h4, .h4 {
    font-weight: 800;
    line-height: 40px;
  }
}

@media (min-width: 1201px) and (max-width: 1400px) {
  h4, .h4 {
    font-weight: 800;
    line-height: 40px;
  }
}

/**
 * SCSS Cisia elements file.
 */
/* 1. Modal
*  2. Button and link
*  3. Color e size
*  4. Pagination
*  5. Card & Grid
*  6. Elements article e pages
*  7. Paragraphs
*  8. Notifiche e Notifiche Accordion
*/
/* 1. modal*/
#modal-header-center-search .modal-content, #modal-header-center-search-cloned .modal-content {
  z-index: 3000;
}

.modal-backdrop.show {
  z-index: 0;
}

/* 2. button */
.btn-light {
  background: #fff;
  color: #4aaeaa;
  font-size: 16px;
  font-weight: bold;
  width: auto;
}

.btn-light a {
  color: #4aaeaa;
  text-decoration: none;
}

.btn-light:hover {
  background-color: #4aaeaa;
  color: #fff;
}

.btn-light:hover a {
  color: inherit;
  text-decoration: none;
}

/*a link bottone */
a.btn-border-green {
  text-decoration: none;
  color: #4aaeaa;
  border: 2px solid #4aaeaa;
}

a.btn-border-green:hover {
  background: #429c99;
  border-color: #429c99;
  color: #fff !important;
  text-decoration: none;
}

a.btn.btn-pink {
  background-color: #d22a77;
  border-color: #d22a77;
  /*        box-shadow: inset 0 1px 0 rgb(255 255 255 / 15%), 0 1px 1px rgb(0 0 0 / 8%);*/
  color: white !important;
}

a.btn.btn-pink:hover {
  background: #921d53;
}

.link-cat, .link-cat a {
  text-transform: uppercase;
  color: #569bb0;
  text-decoration: none;
  font-weight: 600;
}

.link-cat:hover, .link-cat a:hover {
  color: #004968;
}

.btn-white {
  color: #004968;
}

.btn-white a {
  color: #004968;
}

.btn-white:hover {
  background: #d9d9d9;
  color: #fff;
}

.btn-white:hover a {
  color: #fff;
}

.btn.btn-green {
  background: #4aaeaa;
  color: #fff !important;
}

.btn.btn-green a {
  color: #fff !important;
}

.btn.btn-green:hover {
  color: #fff;
  background: #337876;
}

.btn.btn-green:hover a {
  color: #fff;
}

.btn.no-border {
  border: none;
}

.btn.btn-red {
  background: #d1344c;
  border-color: #d1344c;
  color: white;
}

.btn.btn-red:hover {
  background: #962234;
  color: #fff;
}

.btn.btn-red:hover a {
  color: #fff;
}

.btn a, a.btn {
  text-decoration: none;
}

/*link testo e freccia default e color MOOC*/
.link-page a {
  color: #4aaeaa;
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.5 ease;
}

.link-page .icon-cisia {
  fill: #4aaeaa;
  stroke: #4aaeaa;
  width: 16px;
  margin-right: 4px;
}

.link-page:hover a, .link-page:hover .icon-cisia {
  color: #004968;
  fill: #004968;
  stroke: #004968;
}

.link-page a {
  color: #4aaeaa;
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.5 ease;
}

.link-page .icon-cisia {
  fill: #4aaeaa;
  stroke: #4aaeaa;
  width: 16px;
  margin-right: 4px;
}

.link-page:hover a, .link-page:hover .icon-cisia {
  color: #004968;
  fill: #004968;
  stroke: #004968;
}

.MOOC .link-page a {
  color: #E00D76;
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.5 ease;
}

.MOOC .link-page .icon-cisia {
  fill: #E00D76;
  stroke: #E00D76;
  width: 16px;
  margin-right: 4px;
}

.MOOC .link-page:hover a, .MOOC .link-page:hover .icon-cisia {
  color: #004968;
  fill: #004968;
  stroke: #004968;
}

/*in view*/
.icon-cisia {
  width: 16px;
}

.icon-cisia img {
  width: inherit;
  fill: #4aaeaa;
  stroke: #4aaeaa;
  margin-right: 4px;
}

.path-node a {
  color: #4aaeaa;
  text-decoration: none;
}

.path-node a:hover {
  color: #2c6664;
}

/* 3. color e size */
.bg-white {
  background: #fff;
}

.font-small, .data-content, .it-header-slim-wrapper .it-header-slim-wrapper-content .nav-mobile ul.link-list a {
  font-size: 14px;
}

.font-mid {
  font-size: 16px;
}

.btn-light-border {
  text-transform: none;
  color: #569bb0;
  border: 2px solid #569bb0;
}

.btn-light-border:hover {
  background-color: #569bb0;
  color: #004968;
  border-color: #569bb0;
}

/* 
* 3. Color e Size 
*/
/*h4:28px, h3:32px*/
.font-big {
  font-size: 48px;
  /* h1 2.666 rem*/
}

.mb-node {
  margin-bottom: 4.444rem;
}

.it-content__wrapper h2, .it-content__wrapper .h2 {
  color: #004968;
  font-size: 30px !important;
}

.text-green {
  color: #4aaeaa;
}

/*h4:28px*/
/* 
* 4. Pagination
*/
nav.pager ul a {
  text-decoration: none !important;
}

nav.pager ul li.active a {
  color: #004968;
}

nav.pager ul li.active a.page-link[aria-current] {
  border: 1px solid #4aaeaa;
  color: #fff;
  pointer-events: none;
  background: #4aaeaa;
}

@media (min-width: 1200px) {
  nav.pager ul li.active a.page-link[aria-current] {
    height: 2.6666666667rem;
    min-width: 2.6666666667rem;
  }
}

/* 
* 5. Card & Grid
*/
.card-pub .border-bottom-card::before {
  background: #4aaeaa;
}

.card-pub .flag-icon {
  background: #4aaeaa;
}

.card-pub .etichetta {
  right: 30px !important;
}

.card-pub .etichetta .icon {
  width: auto;
  height: auto;
}

.card-pub .card .card-body .card-title {
  color: #004968;
  font-weight: 600;
}

.card-pub .card .card-body .card-title a {
  color: #004968;
}

.grid {
  background: #fff;
  padding: 20px;
  box-shadow: -3px 8px 20px 5px rgba(0, 0, 0, 0.2);
}

.grid-view .grid {
  box-shadow: none;
  margin-bottom: 1rem;
}

/* 
* 6. Elements article e pages
*/
.data-content {
  letter-spacing: 0.93px;
}

.tag-content {
  color: #4aaeaa;
  text-trnsform: uppercase;
  font-weight: 600;
}

.tag-content a {
  color: #4aaeaa;
  text-decoration: none;
  transition: all 0.2s ease;
}

.tag-content a:hover {
  color: #569bb0;
}

/* 
* 7. Paragraphs
*/
.paragraph .field-icon {
  display: inline-flex;
  vertical-align: bottom;
}

.paragraph .title-text {
  display: inline-flex;
  color: #004968;
}

.paragraph .body-content {
  margin-top: 38px;
}

.paragraph .body-content a {
  color: #569bb0;
}

.paragraph .media--blazy iframe {
  width: 90%;
  margin: 25px auto;
  min-height: 600px;
}

@media (max-width: 767px) {
  .paragraph .media--blazy iframe {
    width: 100%;
    min-height: 30vh;
  }
}

.paragraph .media--bundle--video .media__element {
  margin: 25px auto;
}

@media (max-width: 767px) {
  .paragraph .media--bundle--video .media__element {
    max-width: 100%;
  }
}

.paragraph .color-mooc .title-text, .paragraph.MOOC .title-text {
  color: #680034;
}

.paragraph .color-mooc a, .paragraph .color-mooc .icon, .paragraph.MOOC a, .paragraph.MOOC .icon {
  color: #E00D76 !important;
}

.paragraph .color-mooc a:hover, .paragraph .color-mooc .icon:hover, .paragraph.MOOC a:hover, .paragraph.MOOC .icon:hover {
  color: #4f052a !important;
}

.paragraph .photo img {
  width: 100%;
}

.paragraph.paragraph--type--compact-text {
  max-width: 750px;
  margin: 0 auto;
}

.paragraph.paragraph--type--box-a-tre-colonne .box.grid {
  box-shadow: -3px 8px 20px 5px rgba(0, 43, 85, 0.2);
}

.paragraph--type--table-tolc {
  margin: 24px 0;
}

.paragraph--type--table-tolc .table {
  max-width: 750px;
  margin: 0 auto;
  color: #455b71;
  text-align: center;
}

.paragraph--type--table-tolc .table caption {
  color: #4aaeaa;
  font-weight: 600;
  text-transform: uppercase;
  font-size: inherit;
}

.paragraph--type--table-tolc .table tr {
  border-color: transparent;
}

.paragraph--type--table-tolc .table tr th.row_0.col_1 {
  border-right: 2px solid white;
  border-left: 2px solid white;
}

.paragraph--type--table-tolc .table tbody > tr:nth-of-type(even) > * {
  background: rgba(86, 155, 176, 0.3);
  border: 0;
  color: #455b71;
}

.paragraph--type--table-tolc .table tbody > tr:nth-of-type(odd) > * {
  background: white;
  border: 0;
  color: #455b71;
  --bs-table-accent-bg: white;
}

.paragraph--type--table-tolc .table tbody > tr:last-of-type {
  font-weight: 600;
}

.paragraph--type--accordion .colore {
  margin-bottom: 10px;
}

.paragraph--type--accordion .accordion-body {
  padding-top: 12px;
}

.paragraph--type--accordion .paragraph-accord .accordion-item .accordion-header .accordion-button {
  background: #004968;
  letter-spacing: -0.53px;
  color: white;
  font-weight: 600;
  border-radius: 0;
  text-decoration: none;
}

.paragraph--type--accordion .paragraph-accord .accordion-item .accordion-header .accordion-button:after {
  color: white;
  content: url(/themes/custom/italiagov/assets/images/accordion.svg);
  width: 1rem;
}

.paragraph--type--accordion .paragraph-accord .accordion-item .accordion-header .accordion-button.collapsed {
  background: rgba(0, 73, 104, 0.6);
  font-weight: 400;
}

.paragraph--type--accordion .paragraph-accord .accordion-collapse.show {
  border-bottom: 2px solid #004968;
  border-left: 2px solid #004968;
  border-right: 2px solid #004968;
  border-radius: 0;
}

.paragraph--type--accordion .paragraph-accord.MOOC .title-text {
  color: #680034;
}

.paragraph--type--accordion .paragraph-accord.MOOC .accordion-header .accordion-button {
  background: #680034;
}

.paragraph--type--accordion .paragraph-accord.MOOC .accordion-header .accordion-button.collapsed {
  background: rgba(104, 0, 52, 0.6);
  font-weight: 400;
}

.paragraph--type--accordion .paragraph-accord.MOOC .accordion-collapse.show {
  border-bottom: 2px solid #680034;
  border-left: 2px solid #680034;
  border-right: 2px solid #680034;
}

.paragraph--type--accordion .paragraph-accord.MOOC .accordion-collapse.show a {
  color: #680034;
}

.paragraph--type--accordion .paragraph-accord.TEST .title-text {
  color: #610C00;
}

.paragraph--type--accordion .paragraph-accord.TEST .accordion-header .accordion-button {
  background: #610C00;
}

.paragraph--type--accordion .paragraph-accord.TEST .accordion-header .accordion-button.collapsed {
  background: rgba(104, 0, 0, 0.8);
  font-weight: 400;
}

.paragraph--type--accordion .paragraph-accord.TEST .accordion-collapse.show {
  border-bottom: 2px solid #610C00;
  border-left: 2px solid #610C00;
  border-right: 2px solid #610C00;
}

.paragraph--type--accordion .paragraph-accord.TEST .accordion-collapse.show a {
  color: red;
}

.paragraph--type--accordion .paragraph-accord.On-columns .field--name-field-accordion-item {
  /*                column-count: 2;*/
  display: flex;
  flex-wrap: wrap;
  width: auto;
  height: auto;
}

.paragraph--type--accordion .paragraph-accord.On-columns .field--name-field-accordion-item > div {
  break-inside: avoid-column;
  width: 50%;
  height: auto;
  flex: 0 1 50%;
}

@media (max-width: 767px) {
  .paragraph--type--accordion .paragraph-accord.On-columns .field--name-field-accordion-item > div {
    flex: 0 1 100%;
    width: 100%;
  }
}

.paragraph--type--accordion .paragraph-accord.On-columns .field--name-field-accordion-item > div .colore {
  margin-bottom: 10px;
  margin-right: 2px;
  margin-left: 2px;
}

.paragraph--type--accordion .paragraph-accord.On-columns .field--name-field-accordion-item > div .accordion-item:odd {
  margin-left: 10px;
}

.paragraph--type--accordion .tablefield-wrapper {
  text-align: center;
  margin: -12px -22px -42px;
}

.paragraph--type--accordion .tablefield-wrapper .table-responsive > :not(caption) > * > * {
  font-weight: 300;
}

.paragraph--type--accordion .field--name-field-table {
  /*        color: white;*/
}

.paragraph--type--accordion .field--name-field-table div.tablefield-wrapper {
  display: block;
  margin-top: -30px;
}

/* Paragraph anchor link */
.section .section-On .row .col-12 {
  color: inherit;
}

.section .section-On .row .col-12 h2 {
  display: none;
}

.section .section-On .row .col-12 p, .section .section-On .row .col-12 div {
  color: inherit;
}

.section .section-On a {
  text-decoration: underline;
  display: inline-block;
  position: relative;
  padding: 0 40px;
  color: #004968 !important;
}

@media (max-width: 767px) {
  .section .section-On a {
    padding-left: 0;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .section .section-On a {
    padding-left: 0;
  }
}

.section .section-On a::after {
  content: ' \f078';
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 10px;
  top: 0;
}

/* 
* 8. Notifiche
*/
.notifiche-wrapper {
  margin: 2rem 0.5rem;
  padding: 1rem;
  box-shadow: -3px 5px 20px 5px rgba(0, 0, 0, 0.29);
  background: #fff;
}

.notifiche-wrapper .callout-cisia {
  padding: 1rem;
  max-width: none;
  margin: 0;
}

.notifiche-wrapper .callout-cisia .callout-icon {
  position: absolute;
  background: #fff;
  top: -0.78em;
  width: 42px;
}

.notifiche-wrapper .callout-cisia .title-callout {
  color: #17324d;
  text-transform: uppercase;
}

.notifiche-wrapper .callout-cisia .btn-callout {
  box-shadow: inset 1px 1px 5px 0px rgba(0, 0, 0, 0.15);
  color: white;
}

.notifiche-wrapper .callout-cisia .btn-callout:hover {
  filter: brightness(85%);
}

.notifiche-wrapper .callout-cisia p {
  font-family: inherit;
  color: #455b71;
  font-size: 1rem;
}

.notifiche-wrapper .callout-cisia.notifica-9, .notifiche-wrapper .callout-cisia.Success {
  border: 2px solid #0DD9D2;
}

.notifiche-wrapper .callout-cisia.notifica-9 .icon, .notifiche-wrapper .callout-cisia.Success .icon {
  background: url(icon/notifiche/success-green.png);
  display: block;
}

.notifiche-wrapper .callout-cisia.notifica-9 .btn-callout, .notifiche-wrapper .callout-cisia.Success .btn-callout {
  background: #0DD9D2;
}

.notifiche-wrapper .callout-cisia.rossa, .notifiche-wrapper .callout-cisia.Alert {
  border: 2px solid #FD543A;
}

.notifiche-wrapper .callout-cisia.rossa .icon, .notifiche-wrapper .callout-cisia.Alert .icon {
  background: url(icon/notifiche/danger-red.png);
  display: block;
  width: 42px;
  background-size: contain;
  background-repeat: no-repeat;
}

.notifiche-wrapper .callout-cisia.rossa .btn-callout, .notifiche-wrapper .callout-cisia.Alert .btn-callout {
  background: #FD543A;
}

.notifiche-wrapper .callout-cisia.blu.Info {
  border: 2px solid #004968;
}

.notifiche-wrapper .callout-cisia.blu.Info .icon {
  background: url(icon/notifiche/info-blu.png);
  display: block;
  width: 42px;
  background-size: contain;
  background-repeat: no-repeat;
}

.notifiche-wrapper .callout-cisia.blu.Info .btn-callout {
  background: #004968;
}

.notifiche-wrapper .callout-cisia.azzurro.info {
  border: 2px solid #569bb0;
}

.notifiche-wrapper .callout-cisia.azzurro.info .icon {
  background: url(icon/notifiche/info-azure.png);
  display: block;
  width: 42px;
  background-size: contain;
  background-repeat: no-repeat;
}

.notifiche-wrapper .callout-cisia.azzurro.info .btn-callout {
  background: #569bb0;
}

.view-notifiche {
  display: flex;
  max-width: 1650px;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
}

@media (max-width: 767px) {
  .view-notifiche {
    flex-wrap: wrap;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .view-notifiche {
    flex-wrap: wrap;
  }
  .view-notifiche .views-row {
    width: 50%;
  }
}

/* Notifiche Accordion */
.accordion {
  border-bottom: none;
}

.paragraph--type--avvisi-in-page {
  margin-bottom: 1rem;
}

.paragraph--type--avvisi-in-page .field--entity-paragraph .colore {
  margin-bottom: 0.5rem;
}

.paragraph--type--avvisi-in-page .field--entity-paragraph .colore .accordion-item {
  background: white;
  border-left: 3px solid;
  border-radius: 5px;
  box-shadow: -3px 8px 20px 5px rgba(0, 43, 85, 0.2);
}

.paragraph--type--avvisi-in-page .field--entity-paragraph .colore .accordion-item .accordion-button {
  background-color: white !important;
  background-position: left 10px center;
  padding-left: 50px;
  background-repeat: no-repeat;
}

.paragraph--type--avvisi-in-page .field--entity-paragraph .colore .accordion-item .accordion-button:after {
  content: '\f078';
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.paragraph--type--avvisi-in-page .field--entity-paragraph .colore.colore-Giallo .accordion-item {
  border-color: #d97e00;
}

.paragraph--type--avvisi-in-page .field--entity-paragraph .colore.colore-Giallo .accordion-item .accordion-button {
  color: #d97e00;
  background-image: url(../assets/icon/notifiche/ico-avvisi-yellow.png);
}

.paragraph--type--avvisi-in-page .field--entity-paragraph .colore.colore-Giallo .accordion-item .accordion-button:after {
  color: #d97e00;
}

.paragraph--type--avvisi-in-page .field--entity-paragraph .colore.colore-Giallo .accordion-body {
  background: #d97e0010;
}

.paragraph--type--avvisi-in-page .field--entity-paragraph .colore.colore-Giallo .accordion-body .field--name-field-colori-avviso {
  display: none;
}

.paragraph--type--avvisi-in-page .field--entity-paragraph .colore.colore-Rosso .accordion-item {
  border-color: #d1344c;
}

.paragraph--type--avvisi-in-page .field--entity-paragraph .colore.colore-Rosso .accordion-item .accordion-button {
  color: #d1344c;
  background-image: url(../assets/icon/notifiche/ico-avvisi-red.png);
}

.paragraph--type--avvisi-in-page .field--entity-paragraph .colore.colore-Rosso .accordion-item .accordion-button:after {
  color: #d1344c;
}

.paragraph--type--avvisi-in-page .field--entity-paragraph .colore.colore-Rosso .accordion-body {
  background: #d97e0010;
}

.paragraph--type--avvisi-in-page .field--entity-paragraph .colore.colore-Rosso .accordion-body .field--name-field-colori-avviso {
  display: none;
}

.paragraph--type--avvisi-in-page .field--entity-paragraph .colore.colore-Blu .accordion-item .accordion-header {
  border-color: #0066cc;
}

.paragraph--type--avvisi-in-page .field--entity-paragraph .colore.colore-Blu .accordion-item .accordion-button {
  color: #0066cc;
  background-image: url(../assets/icon/notifiche/ico-avvisi-blu.png);
}

.paragraph--type--avvisi-in-page .field--entity-paragraph .colore.colore-Blu .accordion-item .accordion-button:after {
  color: #0066cc;
}

.paragraph--type--avvisi-in-page .field--entity-paragraph .colore.colore-Blu .accordion-body {
  background: #d97e0010;
}

.paragraph--type--avvisi-in-page .field--entity-paragraph .colore.colore-Blu .accordion-body .field--name-field-colori-avviso {
  display: none;
}

/*
* 9.  block
*/
.block img {
  max-width: 100%;
}

/**
 * Custom Cisia palette
 * For colors see: node_modules/bootstrap-italia/src/scss/utilities/colors_vars.scss
 *
 * This file is automatically imported into 'theme.scss'.
 */
/*
 RED EXAMPLE PRIMARY COLORS DEFINITION
 Tip: use https://rgb.to/ for convert color in HSB
 https://it.wikipedia.org/wiki/Hue_Saturation_Brightness
*/
/*
 GREEN EXAMPLE PRIMARY COLORS DEFINITION
 Tip: use https://rgb.to/ for convert color in HSB
 https://it.wikipedia.org/wiki/Hue_Saturation_Brightness
*/
body, p {
  color: #455b71;
}

/*
* Cisia main elements
* 0. Region
* .1 Header
* .1.1 Slide home
* .1.2 News homepage
* .1.3 TOLC homepage
* .1.4 Custom Block homepage
* .2 Content
* .3 Footer
*/
/*
* .0 Region
*/
.it-header-slim-wrapper-content {
  padding: 0;
}

.it-header-slim-wrapper .it-header-slim-wrapper-content {
  padding: 0;
}

.it-header-slim-wrapper .it-header-slim-wrapper-content .nav-mobile ul.link-list {
  padding: 0;
}

#region-home-second-row-full-width {
  background: #569bb0;
  /* The Fallback */
  background: rgba(86, 155, 176, 0.3);
}

.home-second-row__wrapper {
  background: #004968;
  background: linear-gradient(-180deg, rgba(0, 73, 104, 0.185312) 0%, white 30%);
}

/*
* .1 Header
*/
header.it-header-wrapper {
  background: #004968;
}

header.it-header-wrapper .it-header-slim-wrapper {
  border-bottom: 1px solid #569bb0;
}

@media (min-width: 1200px) {
  header.it-header-wrapper .it-header-slim-wrapper {
    height: 68px;
    padding-top: 0.5rem;
  }
}

header.it-header-wrapper .it-header-slim-wrapper a[data-element="personal-area-login"] {
  background: #569bb0;
}

header.it-header-wrapper .it-header-slim-wrapper, header.it-header-wrapper .it-header-center-wrapper, header.it-header-wrapper .it-header-navbar-wrapper {
  background: #004968;
}

header.it-header-wrapper .it-header-slim-wrapper button#dropdown-account, header.it-header-wrapper .it-header-center-wrapper button#dropdown-account, header.it-header-wrapper .it-header-navbar-wrapper button#dropdown-account {
  background: #569bb0;
}

header.it-header-wrapper .it-header-center-content-wrapper {
  justify-content: right;
}

header.it-header-wrapper .it-header-navbar-wrapper {
  padding-top: 20px;
}

@media (min-width: 1200px) {
  header.it-header-wrapper .it-header-navbar-wrapper .it-header-center-wrapper {
    height: 100px;
    padding-top: 0;
  }
}

header.it-header-wrapper .it-header-navbar-wrapper .navbar-collapsable {
  top: 20px;
}

header.it-header-wrapper.is-sticky .it-brand-wrapper {
  margin-bottom: 1rem;
}

header.it-header-wrapper.is-sticky .it-brand-wrapper img#logo {
  width: auto;
}

header.it-header-wrapper.is-sticky .navbar-collapsable {
  top: 0;
}

header.it-header-wrapper.is-sticky .it-header-center-wrapper {
  display: block !important;
  height: 60px;
}

@media (min-width: 768px) and (max-width: 991px) {
  header.it-header-wrapper.is-sticky .it-header-center-wrapper {
    padding-top: 1rem;
  }
}

@media (max-width: 767px) {
  header.it-header-wrapper .it-header-slim-wrapper {
    padding: 6.5px 0px 6.5px 4px;
  }
}

@media (max-width: 767px) {
  header.it-header-wrapper .language-switcher-language-url .nav-link {
    padding: 0.5rem 0rem;
  }
}

header.it-header-wrapper .it-brand-wrapper img#logo {
  width: auto;
  height: 48px;
  z-index: 9;
}

@media (min-width: 992px) and (max-width: 1199px) {
  header.it-header-wrapper .it-brand-wrapper img#logo {
    height: auto;
    width: 140px;
  }
}

@media (min-width: 1200px) {
  header.it-header-wrapper .it-brand-wrapper img#logo {
    height: auto;
    width: 140px;
  }
}

header.it-header-wrapper .it-brand-wrapper.cloned-element {
  display: none;
}

#headerSlimMenu.collapse:not(.show) {
  justify-content: start !important;
}

@media (min-width: 1200px) {
  #headerSlimMenu.collapse:not(.show) {
    justify-content: start !important;
  }
  #headerSlimMenu.collapse:not(.show) .link-list {
    border: none !important;
  }
}

#headerSlimMenu.collapse:not(.show) .link-list {
  border: none !important;
}

.it-header-slim-wrapper .it-header-slim-wrapper-content .nav-mobile ul.link-list a.list-item:hover:not(.active) {
  text-decoration: underline;
  color: white;
}

.it-header-wrapper .it-nav-wrapper .it-header-navbar-wrapper {
  width: 100%;
  margin-top: 0;
}

/*order mobile*/
@media (max-width: 767px) {
  #header-nav-wrapper .col-menu {
    order: 1;
    display: inline-flex;
  }
  #header-nav-wrapper .col-logo {
    order: 2;
    z-index: 9;
    text-align: center;
  }
  #header-nav-wrapper .col-search {
    order: 3;
    height: 60px;
    z-index: 9;
    align-items: center;
    display: flex !important;
  }
}

#header-nav-wrapper .it-brand-wrapper {
  padding-left: 0;
}

/* Menu header top */
.it-header-slim-wrapper .it-header-slim-wrapper-content .nav-mobile ul.link-list a {
  padding-left: 0.5rem;
  line-height: 20px;
}

/* superfish on phone */
@media (max-width: 767px) {
  .region-header-nav-cisia .block-superfish {
    width: 100%;
    position: absolute;
    left: 0;
    background: #004968;
  }
  .region-header-nav-cisia .block-superfish .sf-sub-indicator {
    right: 2rem;
  }
}

.sf-accordion-toggle {
  margin-left: 1rem;
}

.sf-accordion-toggle span {
  display: none;
}

.sf-accordion-toggle > a::after {
  font-size: 30px;
  content: "☰";
  color: white;
}

/* language switcher */
#block-languageswitcher .link-list-wrapper li a, #block-languageswitcher .link-list-wrapper li a.active span, #block-languageswitcher .link-list-wrapper li a span {
  color: #fff;
}

/* menu link esterni */
#dropdown-header-user-link {
  background-color: #004968;
  box-shadow: none;
}

#dropdown-header-user-link:before {
  content: "\f2bd";
  font-family: 'Font Awesome 6 Free';
  visibility: visible;
  font-size: 1.5rem;
  display: block;
}

.dropdown-menu {
  background-color: #569bb0;
}

.dropdown-menu:before {
  background-color: #569bb0;
}

.dropdown-menu .custom-list .list-item-title-icon-wrapper {
  display: none;
}

.dropdown-menu .custom-list .link-sublist {
  display: block;
  padding: 0;
}

.dropdown-menu .custom-list .link-sublist li a {
  line-height: 1.5rem;
  padding-bottom: 5px;
}

.dropdown-menu .custom-list .link-sublist li a:hover {
  color: #fff;
}

.dropdown-menu .custom-list .link-sublist li a:hover span {
  color: #fff;
}

.dropdown-menu .custom-list .link-sublist li span {
  color: #fff;
}

/* Main menu superfish */
@media (min-width: 1200px) {
  #superfish-main {
    margin-top: 1rem;
  }
}

#superfish-main .sf-depth-1 {
  color: white;
  text-decoration: none;
}

#superfish-main .sf-depth-1:hover {
  text-decoration: underline;
}

#superfish-main .sf-with-ul {
  padding-right: 2em;
  color: white;
  text-decoration: none;
}

#superfish-main .sf-with-ul .sf-sub-indicator:after {
  content: '\f107';
  font-family: 'Font Awesome 6 Free';
  color: white;
  font-weight: 900;
  font-size: 15px;
}

#superfish-main .sf-with-ul ul {
  line-height: 1;
}

#superfish-main li.menuparent ul {
  background: white;
}

#superfish-main li.menuparent ul li {
  background: white;
}

#superfish-main li.menuparent ul li a {
  color: #004968;
  padding: 0.5em 1.5em;
  font-weight: 600;
  text-decoration: none;
}

#superfish-main li.menuparent ul li a:hover {
  background: #004968;
  color: white;
}

#superfish-main li.menuparent ul li a:hover:after {
  color: white;
  transform: rotate(-90deg);
}

#superfish-main li.menuparent ul li a:hover.sf-depth-2 .sf-sub-indicator:after {
  color: white;
  transform: rotate(-90deg);
}

#superfish-main li.menuparent ul li ul {
  border-left: 2px solid #004968;
}

#superfish-main-accordion {
  display: block;
}

#superfish-main-accordion a {
  color: white;
  text-decoration: none;
}

#superfish-main-accordion a span.sf-sub-indicator {
  width: 18px !important;
  height: 14px !important;
}

/*
* .1.1 Slide home
*/
.view-home-slider .slick-slide {
  position: relative;
}

@media (min-width: 768px) and (max-width: 991px) {
  .view-home-slider {
    margin-top: 100px;
  }
  .view-home-slider .slide__caption {
    top: 0;
  }
}

.view-home-slider .slide__media {
  position: relative;
}

.view-home-slider .slide__media:after {
  background: radial-gradient(circle, rgba(0, 73, 104, 0.263743) 0%, #004968 100%);
  content: '';
  position: absolute;
  width: 100%;
  top: 0;
  height: 100%;
}

.view-home-slider .slide__caption {
  position: absolute;
  left: 0;
  color: #fff;
  width: 100%;
  margin: 0 auto;
}

.view-home-slider .slide__caption .title a {
  color: #fff;
  text-decoration: none;
  line-height: 50px;
}

.view-home-slider .slide__caption .pre-title {
  color: #fff;
  font-weight: 600;
}

.view-home-slider .slide__caption .post-title h3 {
  font-weight: 400;
  letter-spacing: -1.03px;
}

@media (max-width: 767px) {
  .view-home-slider .slide__caption {
    position: relative;
    background: #004968;
    padding-top: 10px;
  }
  .view-home-slider .slide__caption h1, .view-home-slider .slide__caption .h1 {
    font-size: calc(1.375rem + 1.5vw);
  }
  .view-home-slider .slide__caption .btn.link-news {
    margin-bottom: 30px;
  }
}

.view-home-slider .slick-dots {
  list-style-type: none;
  margin-top: -50px;
  position: relative;
  text-align: center;
}

.view-home-slider .slick-dots li {
  display: inline-block;
  margin: 0 3px;
}

.view-home-slider .slick-dots li.slick-active button {
  color: white;
  background: white;
}

.view-home-slider .slick-dots button {
  border-radius: 50%;
  width: 12px;
  height: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1px;
  border: none;
  background: rgba(255, 255, 255, 0.8);
}

.view-home-slider .btn.link-news {
  padding: 12px 5%;
}

@media (max-width: 767px) {
  .view-home-slider {
    margin-top: 80px;
  }
}

/* Notifiche */
#it-region-home-second-row-full-width {
  background-image: url(images/bg-puntini.png), url(images/bg-puntini-2.png);
  background-position: top -100px left, top right;
  background-repeat: no-repeat;
  background-color: rgba(86, 155, 176, 0.3);
}

/*
* .1.2 News home
*/
.block-views-blockhome-news-block-1 {
  padding-bottom: 85px;
  background: #fff;
}

.block-views-blockhome-news-block-1 .view-home-news.view-display-id-block_1 {
  position: relative;
  background: #fff;
  z-index: 0;
  background-image: url(images/bg-puntini.png);
  background-position: top -100px left;
  background-repeat: no-repeat;
}

.block-views-blockhome-news-block-1 .view-home-news.view-display-id-block_1:before {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  height: 56%;
  background: #569bb0;
  /* The Fallback */
  background: rgba(86, 155, 176, 0.3);
  z-index: -1;
}

.block-views-blockhome-news-block-1 .view-home-news.view-display-id-block_1 header h2 {
  color: #004968;
}

@media (min-width: 768px) and (max-width: 991px) {
  .path-frontpage .view-home-news .container {
    width: 100%;
    max-width: 100%;
  }
}

.box-news {
  box-shadow: -3px 5px 20px 5px rgba(0, 0, 0, 0.29);
}

.box-news h3 a {
  text-decoration: none;
  color: #004968;
}

.box-news h3 a:hover {
  color: #569bb0;
}

@media (max-width: 767px) {
  .box-news .news-text {
    margin-bottom: 1rem;
  }
}

/*
* .1.3 TOLC home
*/
.view-home-tolc .grid {
  background: #fff;
  padding: 20px;
  box-shadow: -3px 8px 20px 5px rgba(0, 0, 0, 0.2);
}

.view-home-tolc .grid .tolc-title {
  color: #004968;
  font-weight: 700;
}

.view-home-tolc .grid .tolc-link a {
  color: #4aaeaa;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
}

.view-home-tolc .grid .tolc-link a:hover {
  color: #004968;
}

.view-home-tolc .grid .icon-tolc img {
  max-height: 120px;
  width: auto;
}

/*
* .1.4 Custom Block homepage
*/
/* background immagini blocchi homepage */
.background-block {
  padding: 70px 0 60px;
  background-image: url(images/bg-puntini.png), url(images/bg-puntini-2.png), url(images/bg-puntini-3.png);
  background-position: top left, top right, bottom right;
  background-repeat: no-repeat;
}

#it-block-percentualitolctestonlinecisia {
  background: #004968;
  color: white;
}

#it-block-scopriitolchome {
  margin: 100px 0 65px;
}

#it-block-scopriitolchome h2 {
  color: #004968;
}

#it-block-lanostraattivitahomepage {
  background: #5297ac;
  background: radial-gradient(circle, #5297ac 0%, #004968 61%);
  color: #fff;
  /*    .background-block {
            padding: 70px 0 60px;
            background-image: url(images/bg-puntini.png),url(images/bg-puntini-2.png),url(images/bg-puntini-3.png);
            background-position: top left, top right, bottom right;
            background-repeat: no-repeat;
        }*/
}

#it-block-lanostraattivitahomepage .body-block {
  color: #fff;
}

#it-block-lanostraattivitahomepage .body-block p {
  color: inherit;
}

@media (min-width: 768px) and (max-width: 991px) {
  #it-block-lanostraattivitahomepage .body-block {
    margin: 0 0.5rem;
  }
}

#it-block-lanostraattivitahomepage .ico-number {
  font-size: 48px;
  letter-spacing: -1.54px;
  font-weight: 700;
  line-height: 36px;
}

#it-block-lanostraattivitahomepage .box-ico {
  display: inline-block;
  margin: 0 3.5rem 0 3.5rem;
}

/* Pubblicazioni e convegni homepage */
.view-pubblicazioni .titolo-custom {
  font-size: 1.111rem;
  color: #fff;
  letter-spacing: 0.78px;
  margin-bottom: 70px;
}

.view-pubblicazioni .card {
  padding-bottom: 30px;
}

.view-pubblicazioni .card a.read-more {
  bottom: 40px;
}

.block-views-blockpubblicazioni-block-1 {
  background: radial-gradient(circle, #5297ac 0%, #004968 100%);
  padding: 90px 0;
}

/*
* .2 Content
*/
main {
  margin-top: 2.5rem;
}

.sidebar-wrapper.it-line-left-side {
  border: none;
}

/*
* .3 Footer
*/
.it-footer {
  margin-top: 3rem;
}

@media (max-width: 767px) {
  .it-footer {
    margin-top: 1rem;
  }
}

.it-footer .it-footer-main {
  background: #004968;
  color: #fff;
}

.it-footer .it-footer-main a, .it-footer .it-footer-main p {
  color: inherit;
  font-weight: 400;
}

.it-footer .it-footer-main a span, .it-footer .it-footer-main p span {
  color: #fff;
  font-weight: 400;
  text-decoration: underline;
}

.it-footer .it-footer-small-prints {
  background: #569bb0;
  font-weight: 700;
}

.it-footer .it-footer-small-prints a {
  color: white;
}

.it-footer .it-footer-small-prints a:hover {
  color: #004968;
}

.it-footer ul.contextual-links a {
  color: black !important;
}

/* iPad pro */
@media only screen and (min-width: 1024px) and (max-height: 1366px) and (-webkit-min-device-pixel-ratio: 1.5) and (orientation: portrait) {
  ul.sf-menu a.sf-depth-1 {
    padding: 1em;
  }
  .it-header-center-wrapper {
    align-items: start;
  }
}

@media only screen and (min-width: 820px) and (max-height: 1180px) and (orientation: portrait) {
  .it-brand-wrapper img#logo {
    height: auto;
  }
}

/* Content pages css */
/* 1. TOLC & Altri test
*  2. Atenei
*  3. Article - news 
*  4. Amministrazione trasparente / Pubblicazione e convegni
*  5. Blocks e paragraphs custom
*/
/* Link in genrale */
#page-default .region-content a {
  text-decoration: underline;
}

#page-default .region-content a.btn {
  text-decoration: none;
}

/*
* .1 TOLC
*/
/* Tolc page, tolc list atenei*/
.view-header-img-tolc .img-banner {
  position: relative;
}

.view-header-img-tolc .img-banner::before {
  position: absolute;
  background: #004968;
  background: linear-gradient(-180deg, #004968 1%, rgba(255, 255, 255, 0) 93%);
  content: '';
  position: absolute;
  width: 100%;
  top: 0;
  height: 100%;
}

.view-header-img-tolc .img-banner img {
  width: 100%;
}

.view-header-img-tolc .img-banner .title-page h1 {
  color: #fff;
}

@media (min-width: 768px) and (max-width: 991px) {
  .view-header-img-tolc {
    margin-top: 98px;
  }
  .view-header-img-tolc .title-page {
    top: 40px;
  }
}

.view-tolc-child-page li.grid {
  text-align: center;
}

.view-tolc-child-page .field--type-image {
  height: 145px;
}

.view-tolc-child-page .child-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.84px;
  line-height: 30px;
  max-width: 15rem;
  margin: 10px auto 30px auto;
  min-height: 3rem;
}

/*
* Lista atenei TOLC page and page
*/
.view-header-img .img-banner {
  position: relative;
  border-top: 1px solid white;
}

.view-header-img .img-banner::before {
  position: absolute;
  background: #004968;
  background: linear-gradient(-180deg, #004968 1%, rgba(255, 255, 255, 0) 93%);
  content: '';
  position: absolute;
  width: 100%;
  top: 0;
  height: 100%;
}

.view-header-img .img-banner img {
  width: 100%;
}

.view-header-img .img-banner.mooc:before {
  background: #680034;
  background: linear-gradient(-180deg, #680034 1%, rgba(255, 255, 255, 0) 93%);
  content: '';
  position: absolute;
  width: 100%;
  top: 0;
  height: 100%;
}

.view-header-img .img-banner.altri-test:before {
  background: #680000;
  background: linear-gradient(-180deg, #680000 1%, rgba(255, 255, 255, 0) 93%);
  content: '';
  position: absolute;
  width: 100%;
  top: 0;
  height: 100%;
}

.view-header-img .field-icon img {
  width: auto;
  height: auto;
}

.view-header-img .wrapper-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}

.view-header-img .wrapper-text h1 {
  color: #fff;
}

.view-header-img .subtitle {
  color: #fff;
}

.table-green .table-striped > tbody > tr {
  border-color: #fff;
}

.table-green .table-striped > tbody > tr:nth-of-type(odd) {
  background: rgba(86, 155, 176, 0.3);
  border-color: rgba(86, 155, 176, 0.3);
}

.table-green .table-striped > tbody > tr a {
  color: #4aaeaa;
  font-weight: 600;
  transition: all .5s ease;
}

.table-green .table-striped > tbody > tr a:hover {
  color: #004968;
}

/* Altri test */
.view-altri-test-list .title a, .view-altri-test-list .title {
  font-weight: 900;
  color: #680000;
  text-decoration: none !important;
}

.view-altri-test-list .title a:hover, .view-altri-test-list .title:hover {
  color: #020000;
}

/*
* .2 Atenei
*/
.node-ateneo h1 {
  color: #004968;
  letter-spacing: -1.19px;
}

.node-ateneo .field--name-body a {
  color: #569bb0;
}

.node-ateneo .field-boolean {
  color: #fff;
}

.full-div {
  width: 100vw;
  position: relative;
  margin-left: -50vw;
  left: 50%;
}

.full-div .field-img img {
  width: 100%;
}

.full-div .wrapper-field {
  overflow: hidden;
}

.full-div h1, .full-div h1 span {
  color: #004968;
}

.view-tolc-atenei .views-exposed-form {
  max-width: 30rem;
  position: relative;
}

.view-tolc-atenei .views-exposed-form label {
  visibility: hidden;
}

.view-tolc-atenei .views-exposed-form .form-textfield {
  padding: 0 0.5rem;
  border-bottom: none;
}

.view-tolc-atenei .views-exposed-form .form-textfield:focus::placeholder {
  color: transparent;
}

.view-tolc-atenei .views-exposed-form .form-group {
  border: 2px solid #4aaeaa;
  border-radius: 5px;
}

.view-tolc-atenei .views-exposed-form .form-submit {
  position: absolute;
  top: 0;
  right: 0;
  background: #4aaeaa;
  color: white;
  height: auto;
  width: auto;
  padding: 14px;
  height: 2.65rem;
  text-align: center;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

/*
* .3 Article - news
*/
.page-node-type--article .it-content__wrapper {
  margin-bottom: 2rem;
}

.page-node-type--article .paragraph a {
  color: #4aaeaa;
  transition: all 0.5s ease;
}

.page-node-type--article .paragraph a:hover {
  color: #2c6664;
}

.view-display-id-block_3 header {
  color: #569bb0;
  font-weight: 600;
  text-transform: uppercase;
}

/*
* .4 Amministrazione trasparente / Pubblicazione e convegni
*/
.menu-side ul {
  list-style-type: none;
  padding-left: 0;
}

.menu-side li {
  border-bottom: 1px solid lightgrey;
}

.menu-side a, .menu-side span.list-item-title {
  text-transform: uppercase;
  color: #004968;
  text-decoration: none;
  font-weight: 400;
  display: block;
  padding: 0.2rem 0.1rem 0.2rem 0.2rem;
  font-size: 16px !important;
}

.menu-side a:hover, .menu-side a:active, .menu-side a.active, .menu-side span.list-item-title:hover, .menu-side span.list-item-title:active, .menu-side span.list-item-title.active {
  background: #004968;
  color: white;
}

.menu-side a:hover span.list-item-title, .menu-side a:active span.list-item-title, .menu-side a.active span.list-item-title, .menu-side span.list-item-title:hover span.list-item-title, .menu-side span.list-item-title:active span.list-item-title, .menu-side span.list-item-title.active span.list-item-title {
  color: white !important;
}

.menu-side a:hover::after, .menu-side a:active::after, .menu-side a.active::after, .menu-side span.list-item-title:hover::after, .menu-side span.list-item-title:active::after, .menu-side span.list-item-title.active::after {
  background: #004968 !important;
}

.page-node-type--pubblicazioni-e-convegni .node__content {
  margin-bottom: 2rem;
}

.page-node-type--pubblicazioni-e-convegni .field--name-field-pubblicazione {
  width: auto;
  display: inline-block;
}

/*
* .5 Pagine MOOC ed esercitazione
*/
#paragraph-section-151 {
  padding: 96px 20px;
}

#paragraph-section-151 h2, #paragraph-section-151 h3 {
  color: #680034;
}

#paragraph-section-151 h3 {
  line-height: 30px;
  min-height: 80px;
}

#paragraph-section-257 h2 {
  color: #5c1134;
}

/*
* .6 Block and paragraph custom
*/
/*custom list su Come sostenere un tolc*/
.tolc-link ul {
  list-style-type: none;
}

@media (min-width: 1200px) {
  .tolc-link ul {
    margin-top: -150px;
  }
}

.tolc-link ul a {
  padding: 1rem;
  background: #e8f1f4;
  display: inline-block;
  min-width: 300px;
  margin: 0.5rem 0;
  text-decoration: none;
  color: #004968;
  transition: all 0.5s ease;
  font-weight: 400;
  position: relative;
}

@media (max-width: 767px) {
  .tolc-link ul a {
    min-width: 100px;
    width: 100%;
  }
}

.tolc-link ul a::after {
  content: '\f105';
  font-family: "Font Awesome 6 Free";
  font-weight: 600;
  position: absolute;
  right: 20px;
}

.tolc-link ul a:hover {
  background: white;
}

.tolc-link-green {
  color: #4aaeaa;
  font-weight: 700;
}

.node--type-page .node__content .paragraph a {
  color: #4aaeaa;
  transition: all 0.5s ease;
}

.node--type-page .node__content .paragraph a:hover {
  color: #2c6664;
}

.page-node-type--contenuto-amm-trasp .field--name-field-child-page {
  display: none;
}

/* Altri test */
.menu-test.menu-side {
  border-top: 1px solid #455b71;
}

.menu-test.menu-side .views-field-title {
  border-bottom: 1px solid #455b71;
}

.menu-test.menu-side .views-field-title a {
  color: #610C00;
  text-transform: uppercase;
  text-decoration: none;
  display: block;
  padding: 0.3rem 0.5rem;
  font-weight: 400;
}

.menu-test.menu-side .views-field-title a:hover, .menu-test.menu-side .views-field-title a.active {
  background: #610C00 !important;
  color: #fff;
}
