/**
 * @file
 * Subtheme specific CSS.
 */

/*
* UNICO COLORE DA SOTITUIRE
* Rosso: #c11a0e;
* Ps: per la frecce dello slider e il panino del menu mobile sostistuire in valore rgba(193,26,14,1) che è sempre il rosso
*
* CLASSI DA USARE PER LE VISTE
* ARTICOLI
* Usare la classe 'articoli' per la vista, sequenza dei campi: immagine, titolo, link al contenuto
* ULTIMI ARTICOLI
* Usare la classe 'ultimi-articoli' per la vista, sequenza dei campi uguale ad articoli.
* BOX QUADRATO
* Usare la classe 'box-quadrato' per la vista, sequenza dei campi: titolo, immagine.
* NEWS TUTTA PAGINA
* Usare la classe 'news-tuttapagina' per la vista, sequenza dei campi: immagine, data, titolo e testo.
* PS: Le viste principali sono gli eventi hanno lo sfondo bianco, la sequenza dei campi: titolo, corpo del testo, data, circolo, link al contenuto, immagine.
*
* VIEW FOOTER
* Se si inseriscono link nel footer delle viste compaiono come bottoni. Bastano i link semplici.
*/
/* passaggio a barrio 5 */
a {
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.nav-link:focus,
.nav-link:hover {
  text-decoration: none;
}
@media (min-width: 1400px) {
  .container {
    max-width: 1140px;
  }
}
body,
p,
a,
li {
  font-family: "Open Sans", sans-serif;
}
.search-block-form .mb-3 {
  margin-bottom: 0 !important;
}
a,
.link,
.nav-link {
  color: #000;
}
a:hover,
a:focus,
.link:hover,
.link:focus,
.nav-link:hover {
  color: #ccc;
}
/* editor */
.ckb-rosso {
  color: #c11a0e;
}
.ckb-rosso a {
  color: #c11a0e;
}
.museo900 {
  font-size: 1em;
  font-family: "Museo_Slab_900";
  font-weight: 900;
}
.museo700 {
  font-size: 0.8em;
  font-family: "Museo_Slab_700";
  font-weight: 700;
  text-transform: none;
}
h2.museo900 {
  font-size: 1.7rem;
  font-family: "Museo_Slab_900";
  font-weight: 900;
}
h3.museo700 {
  font-size: 1.4rem;
  font-family: "Museo_Slab_700";
  font-weight: 700;
  text-transform: none;
}
p.dida {
  font-size: 13px;
  font-weight: bold;
}

body {
  line-height: 1.7;
}

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

img.aligncenter {
  display: block;
  margin: 0 auto;
}

img.alignleft {
  float: left;
  padding: 0px 15px 0px 0;
}

img.alignright {
  float: right;
  padding: 0px 0 0px 15px;
}

.header {
  border-bottom: 15px solid #fff;
}

#navbar-top {
  justify-content: flex-start;
  padding: 0;
}

/* commentato tutto da giucas per menu isig */
/* #navbar-top .nav-link {
  color: #333;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.4em;
  padding: 0 30px 0 0;
}
#navbar-top .nav-link.is-active,
#navbar-main .nav-link.is-active,
#navbar-main a.is-active {
  text-decoration: underline;
}
#navbar-top .nav-link {
  padding: 15px 0 8px 15px;
}
*/

#navbar-main {
  background-color: #ffffff;
  justify-content: center;
  flex-direction: column;
  padding: 0;
}
#navbar-main .nav-link.dropdown-toggle::after {
  display: none;
}
#navbar-main .nav-link {
  color: #333;
  font-size: 1.5em;
  font-family: "Museo_Slab_700";
  font-weight: 700;
  padding: 0 30px 0 0;
}

/* menu secondo */
#block-kitbarrio2-secondarylinks .nav-link {
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.2em;
}

@media (min-width: 768px) {
  #navbar-top .nav-link,
  #navbar-main .nav-link {
    display: inline-block;
  }

  #navbar-main li.nav-item + li.nav-item:before {
    content: "";
    display: none;
  }
}

#navbar-top .nav-link + .nav-link:before {
  content: "|";
  display: inline-block;
  color: #333;
  margin-right: 15px;
}

.navbar-brand {
  -webkit-transition: all 0.1s linear;
  -moz-transition: all 0.1s linear;
  -o-transition: all 0.1s linear;
  transition: all 0.1s linear;
  display: block;
  margin: 0 auto 0 0;
}
.navbar-brand img {
  max-width: 280px !important;
}
@media (max-width: 767px) {
  header {
    /* display: flex; */
    /* justify-content: space-between; */
    margin-bottom: 2rem;
  }
  .navbar-brand img {
    max-height: 80px !important;
    width: auto !important;
  }
}

#navbar-main.affix {
  top: 43px;
}

#navbar-main.affix .navbar-brand {
  max-width: 100px;
}

#navbar-main .region-secondary-menu .nav {
  display: block;
}

#navbar-top .region-secondary-menu .nav {
  display: none;
}

#navbar-top #search-block-form {
  padding: 10px 0 0 0;
}

#navbar-top #search-block-form .form-group {
  margin: 0;
}

.navbar .navbar-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(193,26,14,1)' stroke-width='3' stroke-linecap='square' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

#search-block-form input[type="submit"] {
  color: transparent;
  width: 41px;
  height: calc(2.25rem + 2px);
}

#search-block-form .form-type-search,
#search-block-form .form-actions {
  padding-right: 0;
  padding-left: 0;
}

#search-block-form #edit-actions {
  position: relative;
}

#search-block-form #edit-actions:before {
  font-family: "Font Awesome 5 Free";
  /*color:#c11a0e;*/
  font-size: 22px;
  font-weight: 900;
  content: "\f002";
  position: absolute;
  display: block;
  top: 0;
  left: 10px;
  pointer-events: none;
}

#search-block-form input[type="search"]::placeholder {
  color: #ccc;
  content: "Cerca";
}
#navbar-top .form-control {
  border: 0;
  background-color: #fff;
  box-shadow: 5px 10px #fff;
}

#navbar-top .form-control:focus {
  border-bottom: 1px solid #dfdfdf;
}

.region-top-header-form {
  display: flex;
  margin: 30px 0;
}
@media (min-width: 768px) {
  #block-kitbarrio2-selettorelingua .links.nav {
    justify-content: end;
  }
}


.navbar > .container,
.navbar > .container-fluid {
  /*display: block;*/
  background: #fff;
}

.navbar-expand-md .navbar-collapse {
  justify-content: flex-start;
  /*border-top: 1px dotted #c0c0c0;
    border-bottom: 1px dotted #c0c0c0;*/
  padding: 4px 0;
  margin: 15px 0 0;
}

@media (min-width: 768px) {
  #navbar-main .region-secondary-menu {
    display: none;
  }
  #navbar-top .region-secondary-menu .nav {
    display: flex;
  }

  #navbar-main.affix .navbar-brand {
    background-color: #fff;
    padding: 5px 10px;
    max-width: 120px;
  }
  #navbar-top .form-control {
    width: 150px;
  }
}

/* social sharehis */

.sharethis-wrapper span {
  display: inline-block;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #c11a0e;
  font-size: 22px;
  padding: 0 12px;
  cursor: pointer;
  text-align: center;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
}
.sharethis-wrapper span:hover {
  color: #851013;
}

.sharethis-wrapper span:last-child {
  padding: 0 0 0 8px;
}

.st_facebook_custom::before {
  font-family: "Font Awesome 5 Brands";
  font-weight: 500;
  content: "\f09a";
}

.st_pinterest_custom::before {
  font-family: "Font Awesome 5 Brands";
  font-weight: 500;
  content: "\f231";
}

.st_twitter_custom::before {
  font-family: "Font Awesome 5 Brands";
  font-weight: 500;
  content: "\f099";
}

.st_googleplus_custom::before {
  font-family: "Font Awesome 5 Brands";
  font-weight: 500;
  content: "\f0d5";
}

.st_sharethis_custom::before {
  font-family: "Font Awesome 5 Free";
  content: "\f1e0";
}

/* Search block */
#search_form_block {
  margin: 0 !important;
  padding: 0 !important;
}
#search_form_block .input-group {
  margin: 0;
  height: 50px;
  padding: 0px;
  font-size: 14px;
  line-height: 1;
  background-color: #333;
  border-radius: 0px;
  border-color: #333;
}
#search_form_block input[type="search"] {
  margin: 0;
  height: 50px;
  padding: 5px;
  font-size: 18px;
  line-height: 1;
  background-color: #333;
  color: #d8d8d8;
  border-radius: 0;
  border-color: #333;
  -webkit-box-shadow: none;
  box-shadow: none;
}
#search_form_block button {
  margin: 0;
  height: 50px;
  padding: 10px;
  font-size: 18px;
  line-height: 1;
  background-color: transparent;
  color: #d8d8d8;
  border: 0;
}

/* Language Switcher */

.block-language ul {
  list-style: none;
  margin: 0;
  padding: 0px;
}
.block-language ul li {
  display: inline-block;
  text-align: center;
  color: #333;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.4em;
  padding: 0 0 0 15px;
}
#block-kitbarrio2-selettorelingua .nav-link + .nav-link:before {
  content: "";
  display: none;
}

.block-language ul li a,
.block-language a {
  text-decoration: none;
  font-size: 16px;
  font-family: Museo_Slab_500;
  font-weight: 500;
  letter-spacing: normal;
  color: #333;
}

/* titoli e fromattazione*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
}

.h1,
h1 {
  font-size: 2rem;
  font-family: "Museo_Slab_700";
  font-weight: 700;
  line-height: 1;
}

@media (min-width: 1110px) {
  .h1,
  h1 {
    font-size: 3rem;
    font-family: "Museo_Slab_700";
    font-weight: 700;
  }
}

.h2,
h2 {
  font-size: 2.5rem;
}

hr {
  border-top: 1px dotted #c11a0e;
  border-bottom: 1px dotted #fff;
}

.region-featured-top {
  margin: 0;
}
.region-featured-top .block {
  padding: 20px 0;
}
/* Page custom header */

.block-views-blockeventi-block-6 {
  width: 100%;
}

.custom-header .views-row {
  display: block;
  position: relative;
  overflow: hidden;
}

.views-field-field-titolo-header {
  padding: 0;
  margin: 0;
}

.views-field-field-immagine-header {
  width: 100%;
  position: absolute;
  z-index: 0;
}

.views-field-field-immagine-header img {
  width: auto;
  height: 100%;
  max-width: unset;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translate(-50%);
}
.main-content {
  position: relative;
}

@media (min-width: 1110px) {
  .custom-header .views-row {
    overflow: unset;
  }
  .views-field-field-immagine-header img {
    width: 100%;
    height: auto;
  }
}

/* end custom header */

h1.title em,
h2.views-field-title em {
  color: #c11a0e;
  font-style: normal;
}
h1.title em {
  font-family: "Museo_Slab_900";
  font-weight: 900;
  font-size: 0.8em;
}
.block-page-title-block h1,
.region-featured-bottom-third h2 {
  font-size: 32px;
  line-height: 32px;
  letter-spacing: 1px;
  padding-top: 5px;
  font-family: "Museo_Slab_700";
  font-weight: 700;
}

@media (min-width: 1110px) {
  .block-page-title-block h1,
  .region-featured-bottom-third h2 {
    font-size: 54px;
    line-height: 54px;
    letter-spacing: normal;
    padding-top: 5px;
  }
}

.block-views h2 {
  font-size: 35px;
  line-height: 40px;
  padding-top: 25px;
  padding-bottom: 10px;
}

.sidebar h2,
.region-featured-bottom-third h2 {
  font-size: 22px;
  line-height: 28px;
  letter-spacing: 1px;
  padding-top: 20px;
  margin: 0px 0 40px;
}

.region-featured-top {
  display: block;
}

/* form */
.form-control,
input[type="email"] {
  display: block;
  width: 100%;
  padding: 6px 12px;
  font-size: 16px;
  line-height: 1.42857143;
  background-color: #ffffff;
  background-image: none;
  border: 1px solid #cccccc;
  border-radius: 0px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition: border-color ease-in-out 0.15s,
    box-shadow ease-in-out 0.15s;
  -o-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}

.form-control {
  border-radius: 0;
  padding: 0.485rem 0.75rem;
}

.form-control:focus {
  border-bottom: 1px solid #dfdfdf;
  box-shadow: none;
}

/* Sidebar */

.sidebar .block {
  padding: 0;
}

/* Bottoni */

.btn {
  padding: 0.485rem 0.75rem;
  border-radius: 0;
  font-size: 16px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 2px;
  text-align: center;
  line-height: 40px;
  display: inline-block;
  height: 45px;
  padding: 0 20px;
}

.btn-primary:hover,
.btn-primary:focus {
  border-color: #c11a0e;
  background-color: #fff !important;
  color: #c11a0e;
}

/* featured-top */

.featured-top {
  /*background: #c0c0c0;*/
  position: relative;
}

.featured-top aside {
  background: #fff;
}

/* hightlight */

.highlighted {
  /*background: #c0c0c0;*/
  position: relative;
}

.highlighted aside {
  background: #fff;
}

/* carousel */

.carousel-control-next,
.carousel-control-prev {
  width: 5%;
}
.carousel-control-next-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E");
}
.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E");
}
.carousel-indicators li,
.carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 10px;
  margin-right: 3px;
  margin-left: 3px;
  text-indent: -999px;
  cursor: pointer;
  background-color: transparent;
  border: 1px solid #c11a0e;
}
.carousel-indicators .active {
  background-color: #c11a0e;
}

.carousel-caption h3 a {
  font-weight: 700;
  font-size: 3rem;
  text-transform: none;
}

.carousel-caption {
  position: absolute;
  right: auto;
  bottom: auto;
  left: 6%;
  z-index: 10;
  padding-top: 20px;
  padding-bottom: 20px;
  color: #fff;
  text-align: center;
  top: 5%;
}

/* grid */

.grid .row {
  flex: 1 0 auto;
}
.grid .row > div {
  margin: 0 auto 30px;
  display: flex;
  flex-wrap: wrap;
  align-content: stretch;
}

.grid .row > div > div {
  background: #fff;
  width: 100%;
}

@media (min-width: 768px) {
  .grid .row > div {
    margin: 0 0 30px;
  }
}

.grid .row > div p {
  padding: 0;
  margin: 0;
}

.grid .row > div .views-field {
  padding: 15px;
  justify-content: normal;
}

.grid .row > div .views-field-field-image {
  display: flex;
  padding: 0;

  overflow: hidden;
  width: 100%;
}

.grid .row > div .views-field-field-image > div {
  padding: 0;
  align-self: flex-end;
  border-top: 2px solid #c11a0e;
  width: 100%;
  overflow: hidden;
}

.grid .row > div .views-field-field-image img {
  width: 100%;
  height: auto;
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-transition-duration: 1.8s;
  transition-duration: 1.8s;
}

.grid .row > div .views-field-field-image img:hover {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
  -webkit-transition-duration: 1.8s;
  transition-duration: 1.8s;
}

.grid .row > div .views-field-title {
  font-size: 18px;
  padding-bottom: 0;
  font-weight: 500;
  line-height: 1.5;
}

.grid .row > div .views-field-title a {
  color: #c11a0e;
}

.grid .row > div .views-field-title a:hover {
  color: #333;
  text-decoration: none;
}

.grid .row > div .views-field-body {
  line-height: 1.5;
}

.grid .row > div .views-field-field-data-evento {
  border-top: 1px solid #f7f6f3;
  padding-top: 15px;
  font-size: 13px;
  color: #666;
  text-align: center;
}
.grid .row > div .views-field-field-circoli {
  padding: 0 15px;
}

.grid .row > div .views-field-view-node a:hover {
  text-decoration: none;
}

/* grid articoli */

.articoli .grid .row > div {
  align-content: flex-start;
}

.articoli .grid .row > div {
  padding-left: 15px;
  padding-right: 15px;
  border-right: 0;
  margin-bottom: 15px;
}

@media (min-width: 768px) {
  .articoli .grid .row > div {
    border-right: 1px solid #eae3e0;
  }
}

.articoli .grid .row > div .views-field {
  padding: 15px 0;
}

.articoli .grid .row > div .views-field-field-image > div {
  border-bottom: 2px solid #c11a0e;
  border-top: 0;
  padding: 0;
}

.articoli .grid .row > div .views-field-view-node {
  padding-top: 0;
}

.articoli .grid .row > div > div {
  background: transparent;
}

.articoli .grid .row > div .views-field-title a {
  color: #4a4a4a;
}

/* grid ultimi articoli */

.ultimi-articoli .row {
  margin: 0;
}

.ultimi-articoli .row > div {
  display: block;
  padding: 0;
}

.ultimi-articoli .grid .row > div {
  max-width: none;
  /*margin-left: -15px;
  margin-right: -15px;*/
}

.ultimi-articoli .grid .row > div > div {
  background: transparent;
}

.ultimi-articoli .grid .row > div .views-field-title,
.ultimi-articoli .grid .row > div .views-field-body {
  margin: 0;
  padding: 0 10px;
  width: 67%;
  float: right;
}

.ultimi-articoli .grid .row > div .views-field-title a {
  color: #4a4a4a;
}

.ultimi-articoli .grid .row > div .views-field-field-image {
  width: 33%;
  float: left;
  border-right: 0;
}

.ultimi-articoli .grid .row > div .views-field-field-image > div {
  border-right: 2px solid #c11a0e;
  border-top: 0;
}

.ultimi-articoli .grid .row > div .views-field-view-node {
  padding: 10px;
  width: 67%;
  float: right;
  margin-bottom: 0;
}

.sidebar .ultimi-articoli .grid .row > div .views-field-view-node {
  margin-bottom: 0px;
}

/* grid box quadrato */

.box-quadrato {
  padding: 0;
  margin: 0;
  background: #eee;
}

.box-quadrato .row > div {
  margin: 0 auto 30px;
  display: block;
  position: relative;
  padding: 0;
}

@media (min-width: 768px) {
  .box-quadrato .row > div {
    padding: 30px;
  }
}

.box-quadrato .grid .row > div > div {
  background: transparent;
  width: 100%;
}

.box-quadrato .row > div .views-field-title {
  display: inline-block;
  position: absolute;
  font-size: 20px;
  padding: 0;
  margin: auto;
  font-weight: bold;
  line-height: 1;
  color: #fff;
  text-align: center;
  vertical-align: middle;
  z-index: 10;
  background: transparent;
  width: auto;
  margin-top: -15px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.box-quadrato .row > div .views-field-field-image {
  display: block;
  padding: 0;
  overflow: hidden;
  width: 100%;
}

.box-quadrato .grid .row > div .views-field-field-image {
  border-bottom: 5px solid transparent;
}

.box-quadrato .grid .row > div:hover .views-field-field-image,
.box-quadrato .grid .row > div .views-field-field-image:hover {
  border-bottom: 5px solid #c11a0e;
}

.box-quadrato .grid .row > div .views-field-field-image > div {
  border-top: 0;
  margin-bottom: 10px;
}

.box-quadrato .grid .row > div:hover .views-field-field-image img {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
  -webkit-transition-duration: 1.8s;
  transition-duration: 1.8s;
}

.box-quadrato .grid .row > div .views-field-title a {
  color: #fff;
  font-weight: bold;
}

.box-quadrato .grid .row > div:hover .views-field-title a,
.box-quadrato .grid .row > div .views-field-title a:hover {
  color: #c11a0e;
}

/* grid news tuttapagina */

.news-tuttapagina .row > div .views-field-field-image > div {
  border-top: 0;
}

.news-tuttapagina {
  margin: 15px 0;
}

.news-tuttapagina .row > div {
  margin-bottom: 5em;
}

.news-tuttapagina .row > div .views-field-title {
  margin: 0;
  line-height: normal;
}
.news-tuttapagina .row > div .views-field-title a {
  font-size: 1.5em;
  font-family: "Museo_Slab_900";
  font-weight: 900;
  color: #000;
}

.news-tuttapagina .row > div .views-field-body {
  margin: 0;
  padding: 0;
}
.news-tuttapagina .row > div .views-field-body p {
  display: inline;
  padding: 0.1em;
}
.news-tuttapagina .row > div .views-field-body a {
  font-weight: bold;
}

.news-tuttapagina .row > div .views-field-field-data-evento {
  color: #c11a0e;
  font-size: 1em;
  font-family: "Museo_Slab_700";
  font-weight: 700;
  margin: 20px 0 0 0;
  line-height: normal;
}

/* jcarousel */

.jcarousel-wrapper.jcarousel-skin-default {
  margin: 20px auto;
  position: relative;
  border: 0;
  width: 100% !important;
  max-width: 100%;
  height: 250px;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

.jcarousel-skin-default .jcarousel li {
  float: left;
  width: auto;
  height: 250px;
  margin: 0 10px;
}

/** Carousel Controls **/

.jcarousel-skin-default .jcarousel-control-prev,
.jcarousel-skin-default .jcarousel-control-next {
  position: absolute;
  top: 105px;
  width: 40px;
  height: 40px;
  text-align: center;
  background: #000;
  color: #fff;
  text-decoration: none;
  text-shadow: none;
  font: 30px Arial, sans-serif;
  text-shadow: 0 0 1px #000;
  -webkit-border-radius: 40px;
  -moz-border-radius: 40px;
  border-radius: 40px;
  -webkit-box-shadow: 0 0 2px #999;
  -moz-box-shadow: 0 0 2px #999;
  box-shadow: 0 0 2px #999;
}
.biografia .jcarousel-skin-default .jcarousel-control-prev,
.biografia .jcarousel-skin-default .jcarousel-control-next {
  background: #fff;
  color: #c11a0e;
}
.biografia .jcarousel-skin-default .jcarousel-control-prev {
  background-image: url(images/freccia_rossa_sx.png);
}
.biografia .jcarousel-skin-default .jcarousel-control-next {
  background-image: url(images/freccia_rossa_dx.png);
}
.jcarousel-skin-default .jcarousel-control-prev {
  left: 20px;
  padding-right: 7px;
}
.jcarousel-skin-default .jcarousel-control-prev:after {
  content: "";
}
.jcarousel-skin-default .jcarousel-control-next {
  right: 20px;
  padding-left: 7px;
}
.jcarousel-skin-default .jcarousel-control-next:after {
  content: "";
}
.jcarousel-skin-default .jcarousel-control-prev {
  background-image: url(images/freccia_nera_sx.png);
}
.jcarousel-skin-default .jcarousel-control-next {
  background-image: url(images/freccia_nera_dx.png);
}

/* group colonna left e right */
.content .field--name-body .layout-page {
  display: flex;
  flex-direction: column;
}

.group-left {
  width: 100%;
}

.group-right {
  width: 100%;
}

.group-right img {
  width: 100%;
  padding: 0;
}

@media (min-width: 768px) {
  .content .field--name-body .layout-page {
    flex-direction: row;
    margin-top: 30px;
  }
  .group-left {
    width: 65%;
    padding-right: 8%;
  }

  .group-right {
    width: 35%;
  }
  .group-right img {
    width: 100%;
    padding: 0 0 0 5%;
  }
}

/* view footer link, e link commenti */

.view-footer p {
  text-align: right;
  margin: 0;
}
.view-header {
  margin: -20px 0 40px 0;
}

a.calendario::after {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f073";
  display: block;
  text-align: center;
  line-height: 20px;
  width: 20px;
  height: 20px;
  position: absolute;
  top: 15px;
  right: 20px;
  transition: all 0.1s ease-in-out;
}

.view-header a.calendario {
  margin: 0 0 25px 0;
}

.sidebar .view-footer,
.region-featured-bottom-third .view-footer {
  margin-left: -25px;
  margin-right: -25px;
}

/* pagination */

.pagination {
  justify-content: center;
  border-radius: 0;
  margin: 1em;
}

.page-item:first-child .page-link {
  margin-left: 0;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.page-item:last-child .page-link {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.page-link {
  margin-left: 5px;
  background-color: #fff;
  border: 1px solid #fff;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 2px;
}

.page-link {
  color: #333 !important;
}

.page-item.active .page-link {
  color: #fff !important;
}

/* First featured */
.region-featured-bottom-first {
  padding: 0;
  margin: 0;
}
@media (min-width: 1024px) {
  .region-featured-bottom-first {
    padding: 0;
  }
}
.region-featured-bottom-first h2 {
  font-size: 3rem;
  font-family: Museo_Slab_900;
  font-weight: 900;
  margin-bottom: 0;
}
.region-featured-bottom-first p {
  margin-top: 0;
}
.region-featured-bottom-first p.btn-attivit {
  text-align: center;
  margin-top: 2rem;
}
.region-featured-bottom-first p a.scritta-social {
  display: block;
  height: 45px;
  font-size: 1em;
  font-weight: 900;
  font-family: "Museo_Slab_900";
  background: #fff;
  border-radius: 30px;
  margin: 0 auto;
  color: #000;
  text-align: center;
  line-height: 45px;
  padding: 0 20px;
  text-decoration: none;
  letter-spacing: 0.3em;
  width: fit-content;
}

/* Second featured */
.region-featured-bottom-second {
  padding: 0;
  margin: 30px 0 0 0;
  color: #000;
  display: block;
}

.region-featured-bottom-second .block {
  border: 0;
  margin: 20px 0;
  width: auto;
}

.region-featured-bottom-second .navbar-nav {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.4em;
  display: inline;
}
.region-featured-bottom-second .navbar-nav li {
  padding: 0 10px;
  display: inline-block;
}

.region-featured-bottom-second .nav-link,
.site-footer .nav-link.active {
  font-size: 14px;
  text-transform: uppercase;
  display: inline;
  letter-spacing: 0.4em;
}
.region-featured-bottom-second .nav-item + .nav-item:before {
  content: "|";
  display: inline-block;
  color: #000;
}
.region-featured-bottom-second #block-newsletter {
  max-width: 100%;
}

.region-featured-bottom-second nav.block ul {
  justify-content: center;
}

.region-featured-bottom-second p {
  margin: 0;
  font-size: 14px;
}
#block-newsletter p {
  display: flex;
  flex-wrap: wrap;
  align-items: self-end;
  padding: 0;
  margin: 15px 0;
  justify-content: center;
}
#block-newsletter p a.icon-social {
  display: block;
  width: 45px;
  height: 45px;
  font-size: 29px;
  background: #fff;
  border-radius: 30px;
  margin: 10px 5px 0 0;
  color: #000;
  text-align: center;
  line-height: 45px;
  flex-shrink: 0;
}
#block-newsletter p a.scritta-social {
  display: block;
  height: 45px;
  font-size: 1.3em;
  font-family: "Museo_Slab_700";
  font-weight: 700;
  background: #fff;
  border-radius: 30px;
  margin: 0 5px 0 0;
  color: #000;
  text-align: center;
  line-height: 50px;
  padding: 0 20px;
  text-decoration: none;
  letter-spacing: 0em;
}
#block-newsletter .fab {
  line-height: 45px;
}

#block-newsletter h2 {
  font-size: 1.3em;
}

@media (min-width: 768px) {
  .region-featured-bottom-second {
    padding: 10em 3em 0.5em 3em;
    display: flex;
  }
  .region-featured-bottom-second .block {
    flex: 1 0 50%;
  }
  .region-featured-bottom-second #block-newsletter {
    margin-left: auto;
    max-width: 100%;
    flex: 1 0 max-content;
  }
  .region-featured-bottom-second nav.block {
    margin-left: auto;
    max-width: fit-content;
    flex: 1 0 max-content;
  }
  #block-newsletter p {
    justify-content: right;
  }
  .region-featured-bottom-second nav.block {
    max-width: fit-content;
  }
  .region-featured-bottom-second nav.block ul {
    justify-content: right;
  }
  #block-newsletter p a.icon-social,
  #block-newsletter p a.scritta-social {
    margin: 0 15px 0 0;
  }
}

/* Third featured */

.region-featured-bottom-third {
  margin-top: 40px;
}

.region-featured-bottom-third .block {
  padding: 20px;
}

@media (min-width: 1024px) {
  .region-featured-bottom-third .block {
    position: relative;
    flex-basis: 33%;
  }
}

/* Footer */

.site-footer {
  border-top: 5px solid #008cff;
  padding: 0;
  margin: 4rem 0;
  color: @000;
}
.site-footer .content {
  color: #000;
}
.site-footer .content a {
  color: #000;
  text-decoration: underline;
}
.site-footer .content a:hover,
.site-footer .content a:focus {
  color: #ccc;
}
.site-footer__bottom .content {
  font-size: 12px;
}
.site-footer__bottom .content p {
  margin-bottom: 5px;
}

#block-kitbarrio2-logofooterisig img {
  max-width: 141px;
}

/* Footer responsive layout */
.site-footer__bottom {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  display: flex;
  flex-wrap: wrap;
  margin-top: calc(-1 * var(--bs-gutter-y));
  margin-right: calc(-.5 * var(--bs-gutter-x));
  margin-left: calc(-.5 * var(--bs-gutter-x));
}

@media (min-width: 992px) {
  .site-footer__bottom {
    align-items: flex-start;
  }

  /* Primi 4 blocchi al 19% */
  .site-footer__bottom > div:nth-child(1),
  .site-footer__bottom > div:nth-child(2),
  .site-footer__bottom > div:nth-child(3),
  .site-footer__bottom > div:nth-child(4) {
    flex: 0 0 19% !important;
    max-width: 19% !important;
    padding-right: 1%;
    margin-bottom: 2rem;
  }

  /* Quinto blocco (5x1000) al 23% */
  .site-footer__bottom > div:nth-child(5) {
    flex: 0 0 23% !important;
    max-width: 23% !important;
    padding-right: 1%;
    margin-bottom: 2rem;
  }

  /* Copyright e social: sempre 50% ciascuno, nuova riga */
  .site-footer__bottom > div:nth-child(6),
  .site-footer__bottom > div:nth-child(7) {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    width: 100%; /* Forza il wrap per andare sulla riga successiva */
    border-top: 1px solid #eee;
    padding-top: 1rem;
    margin-top: 1rem;
  }
  .site-footer__bottom > div:nth-child(7) {
    text-align: right;
  }

  /* Migliore allineamento del logo */
  .site-footer__bottom > div:nth-child(1) .content {
    display: flex;
    align-items: flex-start;
  }

  /* Migliore allineamento testi */
  .site-footer__bottom > div:nth-child(2) .content,
  .site-footer__bottom > div:nth-child(3) .content,
  .site-footer__bottom > div:nth-child(4) .content {
    line-height: 1.4;
  }

  /* Spazio consistente per tutti i blocchi */
  .site-footer__bottom > div .content {
    min-height: 120px;
  }

  /* Evita che il 5x1000 sia troppo alto */
  .site-footer__bottom > div:nth-child(5) .content {
    min-height: auto;
  }
}/* Cookie */

div#sliding-popup,
div#sliding-popup .eu-cookie-withdraw-banner,
.eu-cookie-withdraw-tab {
  background: #c11a0e;
}

.eu-cookie-compliance-message {
  margin: 15px 0 0;
}

.disagree-button.eu-cookie-compliance-more-button,
.eu-cookie-compliance-agree-button,
.eu-cookie-compliance-default-button,
.eu-cookie-compliance-hide-button,
.eu-cookie-compliance-more-button-thank-you,
.eu-cookie-withdraw-button,
.eu-cookie-compliance-save-preferences-button {
  cursor: pointer;
  margin-right: 5px;
  margin-top: 1em;
  vertical-align: middle;
  overflow: visible;
  width: auto;
  font-size: 16px;
  font-family: inherit;
  box-shadow: 0; /* LTR */
  background-color: #ededed;
  background-image: unset;
  border-radius: 0;
  border: 0;
  color: #000;
  font-weight: 500;
  letter-spacing: 2px;
  text-align: center;
  padding: 4px 8px;
  text-decoration: none;
  text-shadow: 1px 1px 0 #ffffff;
}

/* Pagina eventi */
.node--type-event .field--name-field-data-evento {
  color: #c11a0e;
  font-size: 1em;
  font-family: "Museo_Slab_700";
  font-weight: 700;
  margin: 20px 0 0 0;
  line-height: normal;
}
.node--type-event .field--name-title h2 {
  font-size: 1.2em;
  font-family: "Museo_Slab_900";
  font-weight: 900;
}
#block-kitbarrio2-altrenews {
  margin: 20px 0;
}
#block-kitbarrio2-altrenews h2 a {
  font-size: 1.7rem;
  font-family: "Museo_Slab_700";
  font-weight: 700;
}

/* Exposed Filter */

.views-exposed-form .form-control {
  margin: 0;
}

.views-exposed-form .btn {
  height: 40px;
  line-height: 39px;
}

.views-exposed-form .form-select {
  display: block;
  line-height: 1.3;
  font-size: 16px;
  padding: 0.5rem 0.75rem 0.5rem 0.8rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0;
  border: 1px solid #cccccc;
  box-shadow: 0;
  border-radius: 0;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background-color: #fff;
  background-image: none;
  background-repeat: no-repeat, repeat;
  background-position: right 0.7em top 50%, 0 0;
  background-size: 0.65em auto, 100%;
  cursor: pointer;
  height: calc(2.25rem + 4px) !important;
}

.views-exposed-form .form-type-select:after {
  content: "\f078";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  right: 17px;
  bottom: 4px;
  padding: 0 0 2px;
  position: absolute;
  font-size: 16px;
  color: #c11a0e;
  pointer-events: none;
}

#sidebar_second .views-exposed-form fieldset,
#sidebar_first .views-exposed-form fieldset {
  width: 100%;
}

.views-exposed-form label {
  font-size: 16px;
  line-height: 35px;
  font-weight: 500;
  letter-spacing: 2px;
}

.views-exposed-form h2 {
  margin: 0;
  border: 0;
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.views-exposed-form h2:before,
.views-exposed-form h2:after {
  content: "";
  border-top: 1px solid #eae3e0;
  margin: 0 15px 0 0;
  flex: 1 0 15px;
}

.views-exposed-form h2:after {
  margin: 0 0 0 15px;
}

.views-exposed-form .form-select::-ms-expand {
  display: none;
}
.views-exposed-form .form-select:hover {
  border-color: #c11a0e;
}
.views-exposed-form .form-select:focus {
  border-color: #c11a0e;
  box-shadow: 0;
  color: #222;
  outline: none;
}
.views-exposed-form .form-select option {
  font-weight: normal;
}

#sidebar_second .views-exposed-form .form-actions,
#sidebar_first .views-exposed-form .form-actions {
  display: block;
  margin: 15px auto;
}

/** personalizzazione tema */
/* colori */

.rosso {
  color: #c11a0e;
}

.bianco {
  color: #fff;
}

.nero {
  color: #000;
}

.grigio-chiaro {
  color: #c0c0c0;
}

.grigio-medio {
  /*  color: #838282;*/
}

/* mostre */
.menu--mostre-personali .nav-link.is-active,
.menu--mostre-collettive .nav-link.is-active {
  color: #c90808;
}
.menu--mostre-personali {
  width: 50%;
  padding: 0 10px;
}
.menu--mostre-collettive {
  width: auto;
  padding: 0 10px;
}
.menu--mostre-personali h2,
.menu--mostre-collettive h2 {
  font-size: 1.5em;
  font-family: "Museo_Slab_700";
  font-weight: 700;
  /*color: #000;*/
  text-transform: uppercase;
}
.menu--mostre-personali:has(> ul > li.active) {
  color: #c90808;
}
.menu--mostre-collettive:has(> ul > li.active) {
  color: #c90808;
}
.menu--mostre-personali .nav,
.menu--mostre-collettive .nav {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  height: 90px;
  min-width: 280px;
}
@media (min-width: 768px) {
  .menu--mostre-personali .nav,
  .menu--mostre-collettive .nav {
    width: 50%;
    max-width: 400px;
  }
}
.menu--mostre-personali .nav li,
.menu--mostre-collettive .nav li {
  flex: 0 1 33%;
  padding: 0;
  margin: 0;
  height: 30px;
}
.menu--mostre-personali .nav li a,
.menu--mostre-collettive .nav li a {
  font-size: 1em;
  font-family: "Museo_Slab_900";
  font-weight: 900;
  padding: 0;
  margin: 0;
}

/* pubblicazioni */
.menu--pubblicazioni .nav-link.is-active {
  color: #c90808;
}
.menu--pubblicazioni .nav {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  height: 90px;
}
@media (min-width: 768px) {
  .menu--pubblicazioni .nav {
    width: 50%;
    max-width: 400px;
  }
}
.menu--pubblicazioni .nav li {
  flex: 0 1 33%;
  padding: 0;
  margin: 0;
  height: 30px;
}
.menu--pubblicazioni .nav li a {
  font-size: 1em;
  font-family: "Museo_Slab_900";
  font-weight: 900;
  padding: 0;
  margin: 0;
}

.number.publicazioni:first-child,
.number.mostre:first-child {
  margin-top: 40px;
}

.number {
  display: flex;
  margin: 15px 0;
  padding: 15px 0;
  flex-direction: column;
}

@media (min-width: 768px) {
  .number {
    flex-direction: row;
  }
}
/*biografia */
.number.grigio:first-child {
  margin-top: 40px;
}

.number.grigio {
  display: flex;
  margin: 15px 0;
  padding: 15px 0;
}

.number.publicazioni p,
.number.mostre p {
  padding: 0.2rem 0;
  margin: 0;
}

.number div {
  width: 80%;
}

.number h2 {
  display: block;
  width: 20%;
  font-family: "Museo_Slab_900";
  font-weight: 900;
  font-size: 2.6em;
}
.number h2.rosso {
  color: #000;
}

/* musei */
.musei {
  display: flex;
  flex-wrap: wrap;
}
.museo {
  flex: 0 0 auto;
  width: 20%;
  padding: 30px 10px;
  margin: 0;
  min-width: 220px;
}
.museo div {
  text-align: center;
}
.museo h3 {
  text-align: center;
  display: block;
  width: 200px;
  height: 200px;
}
.museo h3 img {
  width: 160px;
  height: auto;
}
.museo p {
  font-size: 0.9em;
  font-family: "Museo_Slab_300";
  font-weight: 300;
  line-height: 1.2;
}
.museo p a {
  font-size: 1em;
  font-family: "Museo_Slab_700";
  font-weight: 700;
}

.node--type-pagina-custom-header h4 {
  font-size: 1em;
  color: #fff;
  background: #c11a0e;
  padding: 10px 35px;
}
.node--type-pagina-custom-header h5 {
  font-family: "Museo_Slab_700";
  font-weight: 700;
}

.node--type-pagina-custom-header #main {
  padding-top: 20px;
}

.node--type-pagina-custom-header .field--type-file,
.node--type-event .field--type-file {
  text-align: right;
}

.node--type-pagina-custom-header .field--type-file .file--application-pdf,
.node--type-event .field--type-file .file--application-pdf {
  padding-left: 0;
  margin: 10px 0;
}
.node--type-pagina-custom-header h3.museo700 {
  font-size: 1.8rem;
  letter-spacing: normal;
}
.node--type-pagina-custom-header .group-right h3.museo700 {
  font-size: 1.3rem;
}

/* opere */
.block-views-blockarticoli-block-3 h2,
.block-views-blockarticoli-block-4 h2,
.block-views-blockarticoli-block-5 h2,
.block-views-blockarticoli-block-6 h2,
.block-views-blockarticoli-block-7 h2,
.block-views-blockarticoli-block-8 h2 {
  font-size: 2.5em;
  font-family: "Museo_Slab_700";
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

@media (min-width: 1110px) {
  .page-node-3816.node--type-pagina-custom-header
    article.node--type-pagina-custom-header {
    padding-left: 20%;
  }
}
.node--type-pagina-custom-header a[href$=".pdf"],
.node--type-event a[href$=".pdf"] {
  background-color: #c0c0c0;
  padding: 12px 35px 12px 65px;
  color: #000;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  display: block;
}

.node--type-pagina-custom-header a[href$=".pdf"]:hover,
.node--type-event a[href$=".pdf"]:hover {
  text-decoration: none;
  color: #c11a0e;
}

.node--type-pagina-custom-header a[href$=".pdf"]::before,
.node--type-event a[href$=".pdf"]::before {
  display: block;
  font-family: "Font Awesome 5 Free";
  content: "\f1c1";
  font-size: 35px;
  margin-right: 20px;
  line-height: 2.1em;
  color: #c11a0e;
  position: absolute;
  top: -10px;
  z-index: 10;
  left: 23px;
}

/* Blocchi home */

.header-home {
  width: 100%;
  min-height: 410px;
  display: block;
  position: relative;
  margin: 30px 0 0 0;
  overflow-x: hidden;
}
.header-video {
  width: 100%;
  position: relative;
  margin: 30px 0 0 0;
}
.iframe-container {
  overflow: hidden;
  padding-top: 75%;
  /* Calculated from the aspect ration of the content (in case of 16:9 it is 9/16= 0.5625)*/
  position: relative;
}
.iframe-container iframe {
  border: 0;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}
@media (min-width: 1110px) {
  .header-home {
    overflow-x: unset;
  }
}

.header-home .title {
  padding: 50px 0 50px 6%;
  margin: 0;
  position: absolute;
  left: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
}

.header-home .image {
  width: 100%;
  position: absolute;
  z-index: 0;
}

.header-home .image img {
  width: auto;
  height: 100%;
  max-width: unset;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translate(-50%);
}
#block-kitbarrio2-archiviohome .header-home .title {
  pointer-events: none;
}

#block-kitbarrio2-attivitahome .header-home .title {
  background: rgba(210, 39, 0, 0.84);
}

.page-node-3815 .views-field-field-titolo-header {
  background: rgba(210, 39, 0, 0.84);
}

.page-node-3812.node--type-pagina-custom-header #main,
.page-node-3825.node--type-pagina-custom-header #main {
  padding-top: 0;
}

.page-node-3812.node--type-pagina-custom-header #main .bottoni,
.page-node-3825.node--type-pagina-custom-header #main .bottoni {
  font-size: 1.3em;
  font-weight: bold;
}

.page-node-3812.node--type-pagina-custom-header #main .bottoni a:hover,
.page-node-3825.node--type-pagina-custom-header #main .bottoni a:hover {
  text-decoration: none;
}

#block-kitbarrio2-attivitahome .header-home .image::after {
  display: block;
}

#block-kitbarrio2-attivitahome .header-home .title a,
.page-node-3815 .views-field-field-titolo-header a,
.page-node-3816 .views-field-field-titolo-header a,
.node--type-pagina-custom-header .btn-attivit {
  color: #fff;
  font-size: 1.3em;
  font-weight: 700;
  line-height: 1.5em;
}

#block-kitbarrio2-attivitahome .header-home .title a:hover,
.page-node-3815 .views-field-field-titolo-header a:hover,
.page-node-3816 .views-field-field-titolo-header a:hover,
.node--type-pagina-custom-header .btn-attivit:hover {
  color: #000;
  text-decoration: none;
}

#block-kitbarrio2-attivitahome .header-home .title a::after,
.page-node-3815 .views-field-field-titolo-header a::after,
.page-node-3816 .views-field-field-titolo-header a::after,
.node--type-pagina-custom-header .btn-attivit::after {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f061";
  transition: all 0.1s ease-in-out;
  color: #000;
  padding-left: 10px;
  line-height: 1.5em;
}

.node--type-pagina-custom-header .btn-attivit {
  background-color: #c11a0e;
  position: relative;
  display: inline-block;
  padding: 10px 30px;
  float: right;
  margin-top: 20px;
  width: 50%;
  text-align: right;
  margin-bottom: 10px;
}

.bookshop.ultimi-articoli .grid .row > div {
  padding: 0;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px dotted #c11a0e;
  margin-left: 0;
}

.bookshop.ultimi-articoli .grid .row {
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px dotted #c11a0e;
}
@media (min-width: 1110px) {
  .bookshop.ultimi-articoli .views-field-field-image {
    float: left;
    margin: 0 60px 30px 0;
  }
  .bookshop.ultimi-articoli .views-field-body {
    padding-left: 250px;
  }
}

.bookshop.ultimi-articoli h2.views-field-title {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.6rem;
}
.bookshop.ultimi-articoli h2.views-field-title a {
  font-family: "Museo_Slab_700";
}

#cboxTitle {
  text-align: center;
}
#block-kitbarrio2-views-block-articoli-block-9 {
  padding-top: 20px;
}

/* form newsletter */
#eNewsForm td.WebForm {
  font-family: "Open Sans", sans-serif !important;
  font-size: 1rem !important;
  font-weight: normal !important;
  background: #fff !important;
}
#eNewsForm tr {
  background: #fff !important;
}
#eNewsForm tr.primorigo,
#eNewsForm table.WebForm tbody tr:nth-child(1),
#eNewsForm table.WebForm tbody tr:nth-child(5),
#eNewsForm table.WebForm tbody tr:nth-child(6) {
  display: none !important;
}
#eNewsForm table.WebForm {
  width: auto !important;
}

#eNewsForm table.WebForm tbody tr:nth-child(11) span::after {
  content: " Accettazione privacy. Elaboriamo le sue informazioni personali in conformità alla politica per la privacy di Archivio Scanavino. Può esercitare il suo diritto di opporsi a determinati trattamenti delle sue informazioni personali. Per ulteriori informazioni, consulti la sezione privacy.";
  font-family: "Open Sans", sans-serif !important;
  font-size: 1rem !important;
}
.eng #eNewsForm table.WebForm tbody tr:nth-child(11) span::after {
  content: " privacy. We process your personal data in accordance with the Archivio Scanavino privacy policy. You have the right to object to certain processings of your personal data. Check your rights in the privacy policy for more information.";
}
#eNewsForm table.WebForm tbody,
#eNewsForm table.WebForm tbody tr {
  display: inline-grid;
}
#eNewsForm table.WebForm tbody,
#eNewsForm table.WebForm tbody tr,
#eNewsForm table.WebForm tbody td {
  border: 0;
  padding: 0;
}
#eNewsForm table.WebForm tbody tr {
  margin-top: 10px;
}
#eNewsForm td.WebForm > input[type="email"],
td.WebForm > input[type="text"] {
  background-color: #dcdcdc !important;
  padding: 8px !important;
  font-size: 1rem !important;
  width: 20rem;
}
#eNewsForm [type="submit"] {
  background-color: #9b0d0d;
  color: #fff;
  border: 0;
  padding: 10px 20px;
  text-transform: uppercase;
  font-family: "Open Sans", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.3em;
  cursor: pointer;
}
#eNewsForm [type="submit"]:hover {
  background-color: #f61303;
}
.visually-hidden-focusable:not(:focus):not(:focus-within) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* edit page */
.layout-region-node-secondary {
  width: 100%;
}
.layout-region-node-main {
  width: 100%;
}

#navbar-top .uma-name {
  display: none;
}
#navbar-top .user-links-part {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

#navbar-top .user-menu-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

#navbar-top .user-menu-wrapper .nav-link + .nav-link:before {
  content: none;
}

/* Bottoni */
#edit-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 20px;
}

#edit-actions input[type="submit"] {
  background: #1a3a5d;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  margin-left: 0.5rem;
}

#edit-actions input[type="submit"]:hover {
  background: #fff !important;
  color: #1a3a5d !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 2px 8px rgba(26,58,93,0.3) !important;
}

/* MODALI WEBFORM */
.ui-dialog {
  max-width: 900px;
  min-width:360px
}
/* Bottoni modal dialog - stesso stile degli input submit */
.ui-dialog .ui-dialog-buttonpane button,
.ui-dialog button.js-form-submit,
.ui-dialog button.form-submit,
.ui-dialog button.btn-primary {
  background: #1a3a5d;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  margin-left: 0.5rem;
}

.ui-dialog .ui-dialog-buttonpane button:hover,
.ui-dialog button.js-form-submit:hover,
.ui-dialog button.form-submit:hover,
.ui-dialog button.btn-primary:hover {
  background: #fff;
  color: #1a3a5d;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(26,58,93,0.3);
}

/* Titoli sezioni webform */
.ui-dialog .webform-section-title {
  position: sticky;
  top: -10px;
  background: #fff;
  padding-top: 0.5rem;
}
.ui-dialog .ui-dialog-titlebar {
  background: #fff;
}


/** My account page **/
.azzurro {
  background-color: #c7fafe;
  padding: 2rem;
}
.azzurro .views-field-user-picture {
  margin-bottom: 20px;
}
.azzurro .tab {
  border-bottom: 1px solid #fff;
  margin: 10px;
  color: #000;
}
.azzurro .field-label {
  font-style: italic;
  color: #333;
}
.azzurro img {
  border: 1px solid #000;
}
.mapaccount {
  margin-bottom: 40px;
}


/* Style for webform submissions data HTML */
.webform-submission-data--view-mode-html details summary {
  font-size: 2rem;
}

.webform-submission-data--view-mode-html .webform-element {
  font-weight: bold;
}
.webform-submission-data--view-mode-html .webform-element label {
  font-weight: normal;
}
.webform-submission-data--view-mode-html .webform-element label:after {
  content: ":";
  font-weight: normal;
}
