/* STYLE OVERRIDE */
#toolbar-bar {
  z-index: 9999;
}
body.toolbar-tray-open,
body.toolbar-tray-open .modal-mymonterosa .modal-box,
body.toolbar-tray-open .modal-mymonterosa .modal-header,
body.toolbar-tray-open .modal-pref .modal-box,
body.toolbar-tray-open .modal-pref .close-modal-pref {
  padding-top: 78.6px !important;
}
.toolbar-fixed.header__fixed .header__content {
  top: initial;
}
body.toolbar-fixed .menu-bottom-fix-mobile .inner-block.inner.active,
body.toolbar-vertical .menu-bottom-fix-mobile .inner-block.inner.active {
  top: 25px;
  height: calc(100% - 95px);
}

/* captcha cloudflare */
div.cf-turnstile iframe {
  display: block;
  margin: auto;
}

.block-local-tasks-block {
  position: fixed;
  bottom: 0;
  z-index: 999;
  right: 0;
  border: 1px solid;
	background: #fff;
	font-size: 16px;
}
.block-local-tasks-block .tabs {
  padding-top: 5px;
}

.contextual {
  top: 36px;
}
.node--view-mode-full > .contextual {
  top: 6px;
}
.nav__submenu .contextual {
  display: none;
}

/* message error */
div[data-drupal-messages] .messages .placeholder {
	background-color: initial;
	opacity: 0.8;
}

/* Utility */
.u-vertical-space.u-first {
  padding-top: 0;
}
.no-link.btn {
  cursor: initial;
}
.text-nowrap {
  white-space: nowrap !important;
}

.node--unpublished {
  background-color: #fff4f4;
}
.node--unpublished.node--view-mode-full:after {
  content: "Non pubblicato";
  position: fixed;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  padding: 10px;
  -webkit-border-radius: 5px 5px 0 0;
  border-radius: 5px 5px 0 0;
  text-transform: uppercase;
  font-weight: bold;
  z-index: 998;
  border: 1px solid transparent;
  background-color: #e27c79;
  border-color: #dd6864;
  color: #9f2723;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

/* fix header */
.header__logo {
  max-width: initial;
  max-height: 65px;
}
.search-box-elm {
  top: 90px;
}
.language-box ul {
  min-width: 60px;
}
.language-selection li {
  padding: 0;
}
.language-selection li a {
  padding: 10px 20px;
  display: inline-block;
}
.selected-lang.no-translation::after,
.selected-lang.open.no-translation::after {
  display: none;
}
@media (max-width: 750px) {
  .search-box-elm {
    top: 0;
  }
}

/* fix moduli */
.svg-map {
  width: 100%;
}
.card-dim--infographic img {
  width: auto;
  max-width: initial;
}
.card--bordered .card-block {
  border: 1px solid #ccc;
}
.card-block__tag--primary {
  background: #e30613; 
}
.card-block__caption .card-block__event--date {
  font-size: 70%;
  line-height: normal;
}
/* nascondo alcuni elementi per le cards di tipo xsmall e big */
.card-type--cards_big .card-block__tag,
.card-type--cards_big .card-block__button,
.card-type--cards_big .card-block__info,
.card-type--cards_big .card-block__supertitle,
.card-type--cards_big .card-block__event-duration,
.card-type--cards_big .card-block__event,
.card-type--cards_xsmall .card-block__tag,
.card-type--cards_xsmall .card-block__button, 
.card-type--cards_xsmall .card-block__info,
.card-type--cards_xsmall .card-block__supertitle,
.card-type--cards_xsmall .card-block__event-duration,
.card-type--cards_xsmall .card-block__event
{
  display: none;
}
.card-type--cards_big .card-top-info .card-block {
  height: 100%;
}
.card-type--cards_xsmall .card-top-info .card-block {
  height: calc(100% - 45px);
}
.card-type--cards_big .card-top-info .card-block__image {
  padding-bottom: 76%;
}
.card-type--cards_xsmall .card-top-info .card-block__image {
  padding-bottom: 160%;
}
div.card-block__text {
  padding-bottom: 10px;
}
/* fix modulo lancio */
@media (max-width: 750px) {
  .link-hor ul {
    flex-direction: column;
    padding: 0;
    margin-top: 0;
  }
  .link-hor li {
    border: none;
    padding: 10px 20px;
  }
}

/* fix pag foglia */
.photo-cover {
  height: initial;
  max-height: 52vw;
  text-align: center;
  margin: 20px auto;
}
.photo-cover img {
  width: auto;
  max-width: 100%;
}
.map__body {
  padding: 0;
  height: initial;
}
.accordion .content-item__body a {
  padding: 0;
}
.accordion .content-item__body .link--download:after {
  content: "";
}
.article-header__categories-list {
  padding: 10px 0 20px;
}
.info__text > span {
  font-weight: normal;
}

/* fix AGGREGATORI */
.affina-ricerca .accordion-horizzontal__item__body {
  display: block;
}
.affina-ricerca.bordered-top {
  border-top: 1px solid #000000;
}
.aggregatore-search .affina-ricerca.bordered-top {
  border-top: none;
}
.views-exposed-form .form-actions {
  width: 100%;
  text-align: center;
}
ul.show-more {
  list-style: none;
}
.view-with-filter .view-display-id-map {
  display: none;
}

/* fix SERP */
.view-search-api .form-item.form-item-type,
.affina-ricerca .form-item.form-item-s {
  display: none;
}

/* fix form */
.simple-form .cf-turnstile {
  text-align: center;
}
.simple-form .webform-element-description {
  font-size: 0.7em;
  text-align: right;
  padding: 20px 0;
  font-weight: 500;
}
.simple-form .form-type-checkbox label {
  font-weight: initial;
}
.simple-form #edit-privacy-text {
  font-size: 0.8em;
  padding-top: 20px;
}
.form-type-email .description {
  display: none;
}
.simplenews-subscriber-validate,
.path-simplenews .confirmation {
  margin-left: auto;
  margin-right: auto;
  padding-top: 20px !important;
  padding-bottom: 20px !important;
  clear: both;
  max-width: 1160px;
}
.button.button--primary {
  cursor: pointer;
  background-color: #be000c;
  border: none;
  color: #ffffff;
  float: none;
  padding: 5px 40px;
  text-decoration: none;
  font-size: 18px;
  line-height: 30px;
  cursor: pointer;
  margin: 10px auto 20px;
  display: inline-block;
  text-transform: uppercase;
  font-weight: 500;
}
.views-exposed-form input[type="email"] {
  font-family: sans-serif;
}

/* Social footer */
.info-footer .social-top {
  display: flex;
}
.social-bottom {
  border-right: none; 
}
.social-bottom a {
  text-decoration: none; 
}
.site-footer__utility-links .site-footer__utility-item {
  padding: 0;
  margin: 0;
  list-style-type: none;
  padding: 0 5px;
  border-right: 1px solid #fff;
  margin-left: -1px;
  display: inline-block; 
}
.site-footer__utility-links .site-footer__utility-item:last-child {
  border-right: none;
}
li.site-footer__utility-item a {
  color: #fff !important;
}
@media (max-width: 750px) {
  .menu-footer li {
    padding: 10px;
  }
  .site-footer__utility-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .site-footer__utility-links .site-footer__utility-item {
    padding: 10px;
    border-right: none;
  }
  .info-footer p a {
    word-break: break-word;
  }
  .info-footer .social-bottom .social-logo:first-child {
    padding-left: 0;
  }
  .menu-accordion-items .nav__submenu .nav__submenu-sub .card-dim--quickaccess .card-block__caption {
    padding: 0;
  }
}

.logo-footer img {
  max-width: 300px; 
  width: auto;
  height: auto;
}

/* newslettere anteprima */
.email-container td {
  padding: 0;
}

/**** COLORI TILE ****/
.color_black .card-block__caption {
  color: #000;
} 
.color_white .card-block__caption {
  color: #fff;
} 
.bg_white {
  background-color: #fff;
  color: #000;
}
.bg_black {
  background-color: #000;
  color: #fff;
}
/* ROSA */
.bg_rosa1 {
  background-color: #AD0055;
  color: #fff;
}
.bg_rosa2 {
  background-color: #FC9EC4;
  color: #000;
}
/* AZZURRO */
.bg_azzurro1 {
  background-color: #00639f;
  color: #fff;
}
.bg_azzurro2 {
  background-color: #6fc1ff;
  color: #000;
}
/* ROSSO */
.bg_rosso1 {
  background-color: #B50005;
  color: #fff;
}
.bg_rosso2 {
  background-color: #fc9e9e;
  color: #000;
}
/* MARRONE */
.bg_marrone1 {
  background-color: #422f20;
  color: #fff;
}
.bg_marrone2 {
  background-color: #b5a89e;
  color: #000;
}
/* ARANCIO */
.bg_arancio1 {
  background-color: #9b3401;
  color: #fff;
}
.bg_arancio2 {
  background-color: #ebb180;
  color: #000;
}
/* GRIGIO */
.bg_grigio1 {
  background-color: #575757;
  color: #fff;
}
.bg_grigio2 {
  background-color: #bababa;
  color: #000;
}
/* BLU */
.bg_blu1 {
  background-color: #002d4f;
  color: #fff;
}
.bg_blu2 {
  background-color: #44b6fb;
  color: #000;
}
/* VERDE1 */
.bg_verde1 {
  background-color: #006421;
  color: #fff;
}
.bg_verde2 {
  background-color: #b1edc5;
  color: #000;
}
/* VERDE2 */
.bg_verde3 {
  background-color: #003612;
  color: #fff;
}
.bg_verde4 {
  background-color: #8dd9bc;
  color: #000;
}
/* BEIGE */
.bg_beige1 {
  background-color: #6c5139;
  color: #fff;
}
.bg_beige2 {
  background-color: #d4c1b2;
  color: #000;
}
/* GIALLO */
.bg_giallo1 {
  background-color: #d68f00;
  color: #fff;
}
.bg_giallo2 {
  background-color: #ebc578;
  color: #000;
}
/* VIOLA */
.bg_viola1 {
  background-color: #3d2562;
  color: #fff;
}
.bg_viola2 {
  background-color: #c4aee6;
  color: #000;
}


/**** FIX KATIA ****/
.affina-ricerca .affina-ricerca__form-items label input:checked~.affina-ricerca__checkmark {
  color: #ffffff;
}

.views-exposed-form input[type="submit"] {
  font-size: 18px;
  font-weight: 500;
}

strong,
.u-strong {
  font-weight: 500;
}

.card-search-results-list .card-block__caption:before {
  font-size: 30px;
}

.card-dim--quickaccess .card-block__caption {
  font-size: 20px;
  font-weight: 500;
}

.card-dim--infographic .card-block__caption .number {
  font-weight: 500;
}

.views-exposed-form-box {
  margin: 0 0 20px 0;
}

h3 {
  padding-bottom: 30px;
}

h1 {
  padding-bottom: 10px;
}

.tagFilters .ui-tabs-active a {
  font-weight: 500;
  border: 2px solid #000;
}

.info__icon {
  margin-right: 10px;
}

.modulo-linklist__item:before {
  font-size: 30px;
}

.card-block__caption {
  padding: 20px;
}

.u-section__border-bottom {
  border-bottom: 0px;
}

.u-section__separetor {
  margin-bottom: 10px;
}

h3 {
  padding-bottom: 10px;
}

.card-dim--abstract .card-block__text {
  padding: 10px 20px 10px 30px;
  font-size: 1em;
}

.info-footer li a {
  color: #be000c;
  line-height: 1.8em;
}

.info-footer li a:hover {
  color: #000000;
  text-decoration: none;
}

.link-hor a {
  color: #000000;
}

.link-hor a:hover {
  text-decoration: none;
}

.feed-powered-by-es img {
  width: auto;
}
