/** 
ELEZIONI: colori
**/

:root {
	--main-color:#06c;
	--main-color-dark:#0059b3;
	/* --bs-link-color: hsl(210deg, 100%, 40%);
	--bs-link-hover-color: #0052a3 */
	--bs-link-color:rgb(0, 102, 204);
	--bs-link-hover-color: #0052a3;
	--bs-secondary-rgb: #191919;
  }
 .text-monospace {
  font-family: "Roboto Mono",monospace !important;
} 
.text-right {
    text-align: right !important;
}
hr {
  color: #06c;
}
  
.it-header-center-wrapper {
	background-color: var(--main-color);
}
.it-footer-main {
	background-color: var(--main-color-dark);
}
@media (max-width: 991.8px) {
	.navbar {
		background: var(--main-color);
	  }
}
@media (min-width: 768px) {
	.it-header-wrapper .search-link svg {
	fill: var(--main-color);
	}
}

.it-header-wrapper .navbar-collapsable .logo-hamburger {
  display: flex;
  align-items: center;
  color: var(--main-color);
  padding: 32px 50px 16px 42px;
}
@media (min-width: 992px) {
  .it-header-wrapper .navbar-collapsable .logo-hamburger {
    display: none;
  }
}
.it-header-wrapper .navbar-collapsable .logo-hamburger .it-brand-title {
  font-weight: 700;
  font-size: 24px;
  line-height: 1.167;
  max-width: 200px;
}

.search-modal .modal-title .search-link svg, .search-modal .form-group .autocomplete-icon .icon, .search-modal .form-group .input-group-prepend svg {
	fill: var(--main-color);
  }
  .btn-primary {
	background-color: var(--main-color);
	border-color: var(--main-color);
  }
  .btn-dropdown,
  .link-list-wrapper ul li a span {
    color: var(--bs-link-color);
  }
  .btn-primary:hover {
    background-color: var(--main-color-dark);
    border-color: var(--main-color-dark);
    
  }
  .btn:hover {
  color: #ffffff;
}
  .btn.btn-dropdown:hover {
    color: var(--bs-link-color-hover);
  }
  .btn-outline-primary {
    color: var(--main-color);
    box-shadow: inset 0 0 0 2px var(--main-color);
  }
  .btn-outline-primary:hover {
    color: var(--main-color-dark);
    box-shadow: inset 0 0 0 2px var(--main-color-dark);
  }
  .calendar-vertical .calendar-date .calendar-date-day {
    color: var(--main-color);
  }


  .calendar-vertical .calendar-date .calendar-date-day::before,
  .calendar-vertical .calendar-date .calendar-date-day::after {
    background-color: var(--main-color);
  }


.it-header-slim-wrapper, .it-footer-small-prints {
	background-color: var(--main-color-dark);
  }

  .card .card-body .category-top a.category {
	color: var(--main-color);
  } 
  .card .card-body .card-link {
	color: hsl(210deg, 100%, 40%);
  } 
  .card .card-body .card-link:hover {
	color: #0052a3;
  } 
  .breadcrumb-container .breadcrumb .breadcrumb-item a,.navbar .navbar-collapsable .navbar-nav li a.nav-link,.it-header-wrapper .navbar-collapsable .logo-hamburger {
    color: var(--bs-link-color);
  }
.breadcrumb-container .breadcrumb .breadcrumb-item a:hover,.navbar .navbar-collapsable .navbar-nav li a.nav-link:hover,.it-header-wrapper .navbar-collapsable .logo-hamburger:hover{
    color: var(--bs-link-color-hover);
  }
  @media (min-width: 992px) {
  .it-header-navbar-wrapper, .navbar {
    background: var(--main-color);
  }
  .navbar .navbar-collapsable .navbar-nav li.nav-item a.nav-link, .navbar .navbar-collapsable .navbar-nav li.nav-item button.nav-link {
    color: #fff;
  }
}
  .dropdown .btn-dropdown{
    --bs-btn-hover-color: #0052a3;
  }
  .card-teaser .link-list-wrapper ul li a, .card-teaser .link-list-wrapper ul li a span,
  .evidence-section .list-item.active span, .useful-links-section .list-item.active span {
    color: var(--bs-link-color) !important;
  }
  .card-teaser .link-list-wrapper ul li a:hover, .card-teaser .link-list-wrapper ul li a:hover span,.evidence-section .list-item.active:hover span, .useful-links-section .list-item.active:hover span {
    color: var(--bs-link-color-hover) !important;  
  }
  .form-check [type="radio"]:checked + label::before {
    border-color: var(--bs-link-color);
  }
  .form-check [type="radio"]:checked + label::after {
    border-color: var(--bs-link-color);
    background-color: var(--bs-link-color);
  }

.avviso {
  font-size: 1rem;
}
.title-large-regular {
    font-size:1.5rem;
    font-weight:400;
    line-height:1.5
  }
  @media(min-width:576px) {
    .title-large-regular {
      font-size:1.5rem
    }
  }

  .calendar-vertical .calendar-date .calendar-date-day {
    width: 5rem;
  }

  /* Menu */
  .link-list-wrapper ul li.menu-divider {
  font-size: 1rem;
  line-height: 2rem;
  display: block;
  padding: .25rem 24px;
  position: relative;
}
  /* Azioni */
  .cmp-heading .dropdown {
    display: inline-block;
    padding: 10px 0;
  }
  .cmp-heading .dropdown .dropdown-menu .link-list-wrapper ul li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 16px;
}
  /* Elezioni */
  .card .card-body .category-top .data::before {
    content: "";
    margin: 0;
  }
  .it-footer a {
    color: #ffffff;
  }

  /* Footer */
  .it-footer-main .it-brand-wrapper h2 {
  font-size: 1.25rem;
  margin-bottom: 0;
  font-weight: 600;
  letter-spacing: unset;
  line-height: 1.1;
}
.it-footer-main .it-brand-wrapper h3 {
  font-size: .875rem;
  font-weight: normal;
  margin-bottom: 0;
}

/* Homepage */
.scrutinio .card::after {
  display: none;
}
.scrutinio .card .card-body {
  text-align: center;
}

/* Tabelle */
.table {
    margin-bottom: 3rem;
}
.riassunto {
    font-size: 0.9em;
}
.dati-voti {
    text-align: right;
    width: 20%;
}
td.dati-voti {
    font-family: "Roboto Mono",monospace !important;
}
.dati-voti.large {
    width: 30%;
}

/* Colori */
#risultati h3::before {
    content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 1rem;
  vertical-align: middle;
}
  @media(min-width:992px) {
#risultati h3::before {
  width: 30px;
  height: 30px;

}
  }
@media(max-width:576px) {
  #risultati h3 {
    font-size:1.5rem
  }
}  

#risultati h3 {
  margin-top: 1rem;
}
h3.scheda-verde::before {
  background-color: #a5d16d;
}
tr.scheda-verde th {
  background-color: #a5d16d;
}
h3.scheda-arancione::before {
  background-color: #faad5c;
}
tr.scheda-arancione th {
  background-color: #faad5c;
}
h3.scheda-grigia::before {
  background-color: #acb5b6;
}
tr.scheda-grigia th {
  background-color: #acb5b6;
}
h3.scheda-rosso::before {
  background-color: #e35b8b;
}
tr.scheda-rosso th {
  background-color: #e35b8b;
}
h3.scheda-gialla::before {
  background-color: #f4ed6a;
}
tr.scheda-gialla th {
  background-color: #f4ed6a;
}

/* Circoscrizioni */
h1 span.quartieri, h2 span.quartieri{
  display: block;
  font-size: 0.7em;
}
.circinfo {
  font-size: .95rem;
}

/* titoli e testi*/

.title-xxxlarge {
  font-size:2.5rem;
  font-weight:700;
  line-height:1.25
}
@media(min-width:576px) {
  .title-xxxlarge {
    font-size:3rem
  }
}
.title-xxlarge {
  font-size:2rem;
  font-weight:700;
  line-height:1.25
}
@media(min-width:576px) {
  .title-xxlarge {
    font-size:2.5rem
  }
}
.title-xxlarge-regular {
  font-size:2rem;
  font-weight:400;
  line-height:1.25
}
@media(min-width:576px) {
  .title-xxlarge-regular {
    font-size:2.5rem
  }
}
.title-xlarge {
  font-size:1.75rem;
  font-weight:700;
  line-height:1.25;
  letter-spacing:0;
  text-align:left
}
@media(min-width:576px) {
  .title-xlarge {
    font-size:2rem
  }
}
.title-xlarge-card {
  font-size:1.75rem;
  font-weight:700;
  line-height:1.25
}
@media(min-width:576px) {
  .title-xlarge-card {
    font-size:1.75rem
  }
}
.title-large {
  font-size:1.5rem;
  font-weight:700;
  line-height:1.25
}
@media(min-width:576px) {
  .title-large {
    font-size:1.5rem
  }
}
.title-large-semi-bold {
  font-size:1.5rem;
  font-weight:600;
  line-height:1.25
}
@media(min-width:576px) {
  .title-large-semi-bold {
    font-size:1.75rem
  }
}
.title-medium-2 {
  font-size:1.25rem;
  font-weight:400;
  line-height:1.25
}
@media(min-width:576px) {
  .title-medium-2 {
    font-size:1.5rem
  }
}
.title-medium-2-bold {
  font-size:1.25rem;
  font-weight:700;
  line-height:1.25
}
@media(min-width:576px) {
  .title-medium-2-bold {
    font-size:1.5rem
  }
}
.title-medium-2-semi-bold {
  font-size:1.25rem;
  font-weight:600;
  line-height:1.25
}
@media(min-width:576px) {
  .title-medium-2-semi-bold {
    font-size:1.5rem
  }
}
@media(min-width:768px) {
  .title-medium-2-semi-bold {
    line-height:1.25
  }
}
.title-medium-bold {
  font-size:1.125rem;
  font-weight:700;
  line-height:1.25
}
@media(min-width:576px) {
  .title-medium-bold {
    font-size:1.125rem
  }
}
.title-medium-semi-bold {
  font-size:1.125rem;
  font-weight:600;
  line-height:1.25
}
@media(min-width:576px) {
  .title-medium-semi-bold {
    font-size:1.125rem
  }
}
.title-medium {
  font-size:1.125rem;
  font-weight:400;
  line-height:1.5
}
@media(min-width:576px) {
  .title-medium {
    font-size:1.125rem
  }
}
.title-small {
  font-size:1rem;
  font-weight:700;
  line-height:1.5
}
@media(min-width:576px) {
  .title-small {
    font-size:1rem
  }
}
.title-small-semi-bold {
  font-size:1rem;
  font-weight:600;
  line-height:1.5
}
.title-small-semi-bold-big {
  font-size:1rem;
  font-weight:700;
  line-height:1.5
}
@media(min-width:576px) {
  .title-small-semi-bold-big {
    font-size:1.5rem
  }
}
.title-small-semi-bold-medium {
  font-size:1rem;
  font-weight:700;
  line-height:1.5
}
@media(min-width:576px) {
  .title-small-semi-bold-medium {
    font-size:1.25rem
  }
}
.title-xsmall-bold {
  font-size:.875rem;
  font-weight:700;
  line-height:1.5
}
@media(min-width:576px) {
  .title-xsmall-bold {
    font-size:.875rem
  }
}
.title-xsmall-semi-bold {
  font-size:.875rem;
  font-weight:600;
  line-height:1.5
}
@media(min-width:576px) {
  .title-xsmall-semi-bold {
    font-size:.875rem
  }
}
.title-xsmall {
  font-size:.875rem;
  font-weight:400;
  line-height:1.5
}
@media(min-width:576px) {
  .title-xsmall {
    font-size:.875rem
  }
}
.title-xsmall-regular {
  font-size:.875rem;
  font-weight:400;
  line-height:1.5
}
@media(min-width:576px) {
  .title-xsmall-regular {
    font-size:.875rem
  }
}
.date-regular {
  font-size:1rem;
  font-weight:400;
  line-height:1.5
}
.date-xsmall {
  font-size:.875rem;
  font-weight:400;
  line-height:1.3;
  letter-spacing:0;
  text-align:left
}
@media(min-width:576px) {
  .date-xsmall {
    font-size:1rem
  }
}
.subtitle-large {
  font-size:1.75rem;
  font-weight:700;
  line-height:1.25
}
@media(min-width:576px) {
  .subtitle-large {
    font-size:2rem
  }
}
.subtitle-medium {
  font-size:1.5rem;
  font-weight:600;
  line-height:1.25
}
@media(min-width:576px) {
  .subtitle-medium {
    font-size:1.75rem
  }
}
.subtitle-small {
  font-size:1rem;
  line-height:1.5;
  font-weight:400
}
.subtitle-small_semi-bold {
  font-weight:600
}
.text-paragraph {
  font-size:1rem;
  font-weight:400;
  line-height:1.5
}
.text-paragraph-medium {
  font-size:1.25rem;
  line-height:1.5rem;
  font-weight:600
}
@media(min-width:576px) {
  .text-paragraph-medium {
    font-size:1.5rem
  }
}
.text-paragraph-regular-medium {
  font-size:1rem;
  line-height:1.5;
  font-weight:400
}
.text-paragraph-regular-medium-semi {
  font-size:1rem;
  line-height:1.5;
  font-weight:600
}
.text-paragraph-small {
  font-size:.875rem;
  font-weight:400;
  line-height:1.3
}
@media(min-width:576px) {
  .text-paragraph-small {
    font-size:1rem
  }
}
@media(min-width:768px) {
  .text-paragraph-small {
    line-height:1.5
  }
}
.text-paragraph-small-semi {
  font-size:.875rem;
  font-weight:600;
  line-height:1.5
}
@media(min-width:576px) {
  .text-paragraph-small-semi {
    font-size:.875rem
  }
}
.text-paragraph-card {
  font-size:1rem
}
@media(min-width:576px) {
  .text-paragraph-card {
    font-size:1rem
  }
}

/* stampa */
@media print {
  .d-print-inline {
    display:inline!important
  }
  .d-print-inline-block {
    display:inline-block!important
  }
  .d-print-block {
    display:block!important
  }
  .d-print-grid {
    display:grid!important
  }
  .d-print-table {
    display:table!important
  }
  .d-print-table-row {
    display:table-row!important
  }
  .d-print-table-cell {
    display:table-cell!important
  }
  .d-print-flex {
    display:flex!important
  }
  .d-print-inline-flex {
    display:inline-flex!important
  }
  .d-print-none {
    display:none!important
  }

    .cmp-navscroll,
  .dropdown,
  [data-element=personal-area-login],
  footer,
  header nav {
    display:none!important
  }
  .it-header-wrapper {
    print-color-adjust:exact!important;
    -webkit-print-color-adjust:exact!important
  }
  .it-header-navbar-wrapper {
    display:none!important;
    width:0!important
  }
  .it-header-center-wrapper,
  .it-header-wrapper .it-nav-wrapper .it-brand-wrapper {
    padding-left:0!important
  }
  .it-search-wrapper {
    display:none!important
  }
}
