.slide-contentnav-prev,
.slide-contentnav-next {
  color: #000 !important;
}

.slide-contentnav-link {
  background-color: rgb(0, 104, 129) !important;
}

.discere-accordion button {
  background-color: rgb(0, 0, 0) !important;
  color: #fff !important;
}

.discere-accordion button:hover {
  background-color: rgb(0, 104, 129) !important;
  color: #fff !important;
}

.dipartimenti .type-7 .theme-boximg .box-content,
.dipartimenti.type-7 .theme-boximg:hover .box-content {
  transition: background-color 0.15s ease-in-out;
  background-color: rgba(255, 255, 255, 0.65) !important;
  color: #fff !important;
}

.bi.bi-display,
.bi.bi-bank,
.bi.bi-globe-europe-africa {
  color: rgb(0, 104, 129) !important;
}
.bi.bi-envelope-at,
.bi.bi-telephone {
  color: rgb(255, 255, 255) !important;
}

.mb2-pb-row.borderb1 .section-inner::after {
  background-color: rgb(0, 104, 129) !important;
}

footer .mb2-pb-row.borderb1 .section-inner::after {
  background-color: rgb(0, 0, 0) !important;
  border-top: 1px solid #666;
}

.pbmainslider-wrap
  .swiper-pagination
  .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: rgb(0, 104, 129) !important;
}

#page-content {
  border-top: 2px solid black;
}

.sezione-grigia .section-inner.mb2-pb-row-inner {
  background-color: rgb(237, 237, 237) !important;
}

/* Colori sensibili sulla base dell'utente loggato */

/* DISCERE - HERO BAR */
.hero-bar .section-inner.mb2-pb-row-inner.d-discere-colors {
  background-color: rgb(0, 104, 129) !important;
}

.hero-bar .section-inner.mb2-pb-row-inner.d-discere-colors::after {
  background-color: rgb(168, 23, 61) !important;
}

/* ISSRA - HERO BAR */
.hero-bar .section-inner.mb2-pb-row-inner.d-issra-colors {
  background-color: rgb(168, 23, 61) !important;
}

.hero-bar .section-inner.mb2-pb-row-inner.d-issra-colors::after {
  background-color: rgb(0, 104, 129) !important;
}

/* ONDEMAND - HERO BAR */
.hero-bar .section-inner.mb2-pb-row-inner.d-ondemand-colors {
  background-color: rgb(122, 145, 49) !important;
}

.hero-bar .section-inner.mb2-pb-row-inner.d-ondemand-colors::after {
  background-color: rgb(0, 104, 129) !important;
}

div#page-header.d-discere-colors {
	background-color: rgb(0, 104, 129) !important;
	background-image: none;
}
div#page-header.d-issra-colors {
	background-color: rgb(168, 23, 61) !important;
	background-image: none;
}

div#page-header.d-ondemand-colors {
	background-color: rgb(122, 145, 49) !important;
	background-image: none;
}
.hero-button {
  border: 1px solid !important;
}

.header-tools-link.loginbtn {
  background-color: rgb(168, 23, 61) !important;
  color: #fff !important;
  border: 0 !important;
}

a.social-link {
  font-size: 18px !important;
  border: 0 !important;
}

ul.social-list li {
  --mb2-social-space: -10px;
}

i.bi.bi-envelope-at,
i.bi.bi-telephone {
  font-size: 18px !important;
}

.sezione-rossa .section-inner.mb2-pb-row-inner {
  --mb-pb-row_pt: 78px;
}

div.box-allcontent .bo a.box-link::hover span.box-title-text {
  color: rgb(0, 0, 0) !important;
}

h4 a:hover {
  color: rgb(0, 0, 0) !important;
}

div.el_onmobile1:nth-child(1)
  > div:nth-child(1)
  > div:nth-child(1)
  > div:nth-child(2)
  > div:nth-child(1)
  > div:nth-child(1)
  > div:nth-child(1)
  > h4:nth-child(1)
  > a:nth-child(1):hover {
  color: rgb(0, 0, 0) !important;
}

.pixel-boxes-grid2 .box-allcontent {
	height: 130px;
}


.tgsdb-links.tgsdb-quicklinks::-webkit-scrollbar-track {
  background-color: rgba(0,0,0,0.6);
  border-radius: 8px;
}

.tgsdb-links.tgsdb-quicklinks::-webkit-scrollbar-thumb {
  background: rgb(168,23,61);
  border-radius: 8px;
}

.theme-boxesimg.type-7 {
  --mb2-pb-bxbgcolor: rgba(255,255,255,.70);
  --mb2-pb-bxaccolor: rgba(0, 94, 184, 0.88);
}

.mb2-accordion.style-default button {
  background-color: rgb(0, 0, 0) !important;
}

.mb2-accordion.style-default button.collapsed {
  background-color: rgb(0, 104, 129) !important;
  color: white;
}

span#video {
	font-size: 1.9rem;
	font-weight: 600;
	line-height: 1.125;
	color: #242027;
}

.testo-hero a{
	color: white;
	font-weight: 600;
	text-decoration: underline;
}