

/* BACKGROUND-COLOR BASE */
.btn-custom, .dropdown-item:hover, .dropdown-item:focus, .dropdown-item.active:hover, .dropdown-item.active:focus, #header-lang .btn, .btn-social i.fa, #header-nav, .home-content > .sfondocolore:not(:first-child), #headline-carousel .carousel-indicators li.active, .inner-bordered-block:hover, .inner-bordered-block:focus, h3.inner-list-cat, .page-item.active .page-link, .page-item.active .page-link:focus, .page-item.active .page-link:hover, .nav-pills-aside .nav-item.open .nav-link, .nav-pills-aside .nav-link.active, .nav-pills-aside .nav-link.active:focus, .nav-pills-aside .nav-link.active:hover, #footer-feedback, .custom-control-input:checked ~ .custom-control-indicator, .progress-bar, .tooltip-inner, .search-cat, .bootstrap-datetimepicker-widget table td.active, .bootstrap-datetimepicker-widget table td.active:hover, .bootstrap-datetimepicker-widget table td span.active { background-color: #680202; }

/* BORDER-COLOR BASE */
.form-control:focus, .custom-select:focus, a .img-thumbnail:hover, a .img-thumbnail:focus, .page-item.active .page-link, .page-item.active .page-link:focus, .page-item.active .page-link:hover, div#briciole, aside.section-row:first-of-type h2, .bootstrap-datetimepicker-widget table td.today:before { border-color: #680202; }

/* COLOR BASE */
#header-main a, .breadcrumb a, .section-row a, .headline-nav-link a:hover .fa, .headline-nav-link a:focus .fa, .headline-item-cat, .home-news-cat, div#widget-calendario-giorni table a, div.fa, .page-link, #totop:hover, #totop:focus, .dropdown-item, .form-help, #side-nav a, a.fb-link[onclick] { color: #680202; }

/* BACKGROUND-COLOR ROLLOVER */
.btn-custom:focus, .btn-custom:hover, #header-lang .btn:hover, #header-lang .btn:focus, .btn-social i.fa:hover, .btn-social i.fa:focus, div#widget-calendario-giorni table a:hover, div#widget-calendario-giorni table a:focus { background-color: #340101; }

/* COLOR ROLLOVER */
#header-main a:hover, #header-main a:focus, .breadcrumb a:hover, .breadcrumb a:focus, .section-row a:hover, .section-row a:focus, div#widget-calendario-mese a:hover, div#widget-calendario-mese a:focus, .card-title a:hover, .page-link:focus, .page-link:hover, #side-nav a:hover, #side-nav a:focus { color: #340101; }

/* BOX-SHADOW */
.btn:focus, .btn.focus, .form-control:focus, .custom-select:focus, a .img-thumbnail:hover, a .img-thumbnail:focus {
  -webkit-box-shadow: 0 0 2px rgba(104,2,2,0.5);
  box-shadow: 0 0 2px rgba(104,2,2,0.5);
  }
  .custom-control-input:focus ~ .custom-control-indicator {
  -webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #680202;
  box-shadow: 0 0 0 1px #fff, 0 0 0 3px #680202;
  }

  /* BACKGROUND-COLOR BASE 15% */
  #side-nav-menu li.fr-tree-focus > a, .card-newsletter { background-color: rgba(104,2,2,0.15); }

  /* BACKGROUND-COLOR BASE 10% */
  #header-search-form-input1 { background-color: rgba(104,2,2,0.1); }

  /* BACKGROUND-COLOR BASE 5% */
  .home-widget:hover { background-color: rgba(104,2,2,0.05); }

  /* PULSANTI SCHEDA SERVIZI E COMPETENZE UFFICIO */
  .read-more-state ~ .read-more-trigger:after { content: 'Mostra tutto'; }
  .read-more-state:checked ~ .read-more-trigger:after { content: 'Mostra di meno'; }

  /* PULSANTI SCHEDA RUBRICHE */
  .read-scheda ~ .read-more-trigger:after { content: 'Mostra scheda'; }
  .read-scheda:checked ~ .read-more-trigger:after { content: 'Nascondi scheda'; }