/* Pagina home Eligendo ============================================================= */

/*stili portati da dait.css*/

@font-face {
  /*200*/
  font-family: "Titillium Web";
  src: url("../fonts/TitilliumWeb-ExtraLight.eot");
  src: url("../fonts/TitilliumWeb-ExtraLight.eot?#iefix")
      format("embedded-opentype"),
    url("../fonts/TitilliumWeb-ExtraLight.ttf") format("truetype");
  font-weight: 200;
  font-style: normal;
}

@font-face {
  /*200 italic*/
  font-family: "Titillium Web";
  src: url("../fonts/TitilliumWeb-ExtraLightItalic.eot");
  src: url("../fonts/TitilliumWeb-ExtraLightItalic.eot?#iefix")
      format("embedded-opentype"),
    url("../fonts/TitilliumWeb-ExtraLightItalic.ttf") format("truetype");
  font-weight: 200;
  font-style: italic;
}

@font-face {
  /*300 light*/
  font-family: "Titillium Web";
  src: url("../fonts/TitilliumWeb-Light.eot");
  src: url("../fonts/TitilliumWeb-Light.eot?#iefix") format("embedded-opentype"),
    url("../fonts/TitilliumWeb-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  /*300 light italic*/
  font-family: "Titillium Web";
  src: url("../fonts/TitilliumWeb-LightItalic.eot");
  src: url("../fonts/TitilliumWeb-LightItalic.eot?#iefix")
      format("embedded-opentype"),
    url("../fonts/TitilliumWeb-LightItalic.ttf") format("truetype");
  font-weight: 300;
  font-style: italic;
}

@font-face {
  /*400 normal*/
  font-family: "Titillium Web";
  src: url("../fonts/TitilliumWeb-Regular.eot");
  src: url("../fonts/TitilliumWeb-Regular.eot?#iefix")
      format("embedded-opentype"),
    url("../fonts/TitilliumWeb-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  /*400 normal italic*/
  font-family: "Titillium Web";
  src: url("../fonts/TitilliumWeb-Italic.eot");
  src: url("../fonts/TitilliumWeb-Italic.eot?#iefix")
      format("embedded-opentype"),
    url("../fonts/TitilliumWeb-Italic.ttf") format("truetype");
  font-weight: normal;
  font-style: italic;
}

@font-face {
  /*600 semi-bold*/
  font-family: "Titillium Web";
  src: url("../fonts/TitilliumWeb-SemiBold.eot");
  src: url("../fonts/TitilliumWeb-SemiBold.eot?#iefix")
      format("embedded-opentype"),
    url("../fonts/TitilliumWeb-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  /*600 semi-bold italic*/
  font-family: "Titillium Web";
  src: url("../fonts/TitilliumWeb-SemiBoldItalic.eot");
  src: url("../fonts/TitilliumWeb-SemiBoldItalic.eot?#iefix")
      format("embedded-opentype"),
    url("../fonts/TitilliumWeb-SemiBoldItalic.ttf") format("truetype");
  font-weight: 600;
  font-style: italic;
}

@font-face {
  /*700 bold*/
  font-family: "Titillium Web";
  src: url("../fonts/TitilliumWeb-Bold.eot");
  src: url("../fonts/TitilliumWeb-Bold.eot?#iefix") format("embedded-opentype"),
    url("../fonts/TitilliumWeb-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  /*700 bold italic*/
  font-family: "Titillium Web";
  src: url("../fonts/TitilliumWeb-BoldItalic.eot");
  src: url("../fonts/TitilliumWeb-BoldItalic.eot?#iefix")
      format("embedded-opentype"),
    url("../fonts/TitilliumWeb-BoldItalic.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
}

body,
body.html {
  margin: 0;
  padding: 0;
}

body,
html {
  font-family: Titillium Web, "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #1c2024;
  font-size: 62.5%;
  line-height: 1.5;
  font-weight: normal;
}

p,
span,
dl,
.label,
label,
section,
em {
  font-size: 1.8rem;
}

h1 {
  font-size: 5.4rem;
  font-weight: bold;
  line-height: 1.2;
}

.not-front h1 {
  font-size: 4rem;
  font-weight: bold;
  line-height: 1.2;
  padding-left: 15px;
}

/* =40px */

h2 {
  font-size: 4rem;
  font-weight: bold;
  line-height: 1.2;
}

/* =32px */

h3 {
  font-size: 3.2rem;
  font-weight: bold;
  line-height: 1.2;
}

/* =23px */

h4 {
  font-size: 2.3rem;
  font-weight: bold;
  line-height: 1.2;
}

/* =21px */

h5 {
  font-size: 2.1rem;
  line-height: 1.2;
}

/* =18px */

h6 {
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1.2;
}

a,
a:hover {
  /* color: #06c; */
  color: #004080;
}

li {
  font-size: 1.8rem;
}

input {
  font-size: 1.6rem;
}

.form-control {
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-border-radius: 0;
  border-radius: 0;
  height: 40px;
}

.icon-bar-menu {
  display: block;
  color: #fff;
  text-transform: uppercase;
  font-size: 1.1rem;
  line-height: 1;
  margin-top: -1px;
}

.navbar {
  border: none;
  margin-bottom: 0;
}

.navbar-collapse {
  padding-left: 0;
  padding-right: 0;
}

ul.dropdown-menu {
  width: 100%;
  box-shadow: none;
  -webkit-box-shadow: none;
  border: none;
  margin: 0;
  padding: 0;
}

.dropdown-menu {
  float: none;
  position: relative;
}

@media (min-width: 1500px) {
  .container {
    width: 1300px;
  }
}

ul.secondary-menu.cbp-spmenu-vertical {
  width: 300px;
}

ul.cbp-spmenu a,
ul.secondary-menu a {
  color: #004080;
  line-height: 18px;
  padding-top: 20px;
  padding-bottom: 20px;
  font-size: 1.8rem;
}

.dropdown-menu > li > a {
  padding-left: 30px;
}

ul.dropdown-menu li a {
  white-space: normal;
}

ul.dropdown-menu li a {
  background-color: #e2f7ff;
}

.scrollto_top {
  bottom: 30px;
  color: #fff;
  display: none;
  height: 45px;
  width: 45px;
  position: fixed;
  right: 30px;
  text-align: center;
  text-decoration: none;
  z-index: 9999;
  background-color: #004080;
  border: 2px solid white;
  -webkit-border-radius: 50% 50% 50% 50%;
  border-radius: 50% 50% 50% 50%;
  -webkit-box-shadow: 1px 1px 2px #aaa;
  box-shadow: 1px 1px 2px #aaa;
}

a.scrollto_top:hover {
  text-decoration: none;
}

a.scrollto_top:focus {
  background-color: #004080;
}

.scrollto_top span {
  color: #fff;
  text-align: center;
  border: 0px none white;
}

.scrollto_top span:before {
  font-family: FontAwesome;
  font-size: 130%;
  line-height: 150%;
  color: white;
  text-align: center;
  content: "\f077";
  border: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/*fine stili portati da dait.css*/

html {
  /* per lo sticky footer */
  position: relative;
  min-height: 100%;
  /* per lo smooth scrolling */
  scroll-behavior: smooth;
}

body.front {
  background: url("../images/bg-standby.png") white fixed;
  /* per lo sticky footer */
  margin-bottom: 78px;
}

body.notfront {
  background: url("../images/bg-standby.png") white fixed;
  /* per lo sticky footer */
  margin-bottom: 78px;
}

.paginaHome {
  padding-top: 130px;
}

.pagina-vuota {
  height: 340px;
  padding: 20px;
  padding-bottom: 300px;
}

.front .paginaHome {
  padding-top: 60px;
}

/* Footer */

footer {
  width: 100%;
  position: absolute;
  bottom: 0;
  /* per lo sticky footer */
  min-height: 78px;
  z-index: 10;
}

body.notfront footer {
  width: 100%;
  position: absolute;
  bottom: 0;
  /* per lo sticky footer */
  min-height: 78px;
  z-index: 10;
  line-height: 1.5;
}

.logoEligendo {
  width: 250px;
  /* per problemi con IE */
  height: 70px;
  margin-top: -3px;
}

.front .logoEligendo {
  display: none;
}

.immagineHome {
  width: 50%;
  height: 50%;
}

.testoHome {
  font-size: 6vmin;
  text-align: center;
  padding-bottom: 100px;
}

.pulsanteLive {
  display: block;
  padding: 20px 40px;
  margin-bottom: 30px;
  font-size: 2.2rem;
  text-transform: uppercase;
  font-weight: bold;
  background-color: #036;
  -webkit-border-radius: 4px;
  border-radius: 4px;
}

.pulsanteLive a {
  color: white;
}

.pulsanteLive:after {
  font-family: FontAwesome;
  content: "\f090";
  color: white;
  padding-left: 15px;
}

.pulsanteSuppletive,
.pulsanteStorico,
.pulsanteMobile {
  display: block;
  font-size: 2rem;
  text-transform: uppercase;
  text-decoration: none;
  padding: 10px 20px;
  font-weight: bold;
  margin-bottom: 20px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
}

.pulsanteStorico,
.pulsanteMobile {
  background-color: #f0f0f0;
  /*#f5f5f0*/
}

.pulsanteSuppletive {
  background-color: #0066cc;
}

.pulsanteSuppletive a {
  color: white;
}

.pulsanteStorico a,
.pulsanteMobile a {
  color: #004c99;
}

.pulsanteSuppletive:before,
.pulsanteStorico:before,
.pulsanteMobile:before {
  font-family: FontAwesome;
  content: "\f0c1";
  color: #004c99;
  padding-right: 5px;
}

.pulsanteSuppletive:before {
  /*color: white;*/
  color: #004080;
}

/* Finestra modale ===================================================== */
/* Finestra preferenze */
#modWindow {
  z-index: 2000;
}

.modal-content {
  padding: 10px;
}

#modWindowSection h1.infoPagina,
#modWindowLabel {
  font-size: 1.8rem;
  background: #fff;
  margin: 0;
  padding: 2px 12px 12px 12px;
  color: #5a6772;
  line-height: 30px;
  text-align: left;
  font-weight: bold;
}

.modal-header {
  padding: 0;
  margin-bottom: 10px;
}

.modal-header h3 {
  color: #fff;
}

.modal-body {
  text-align: left;
  background-color: #fff;
  font-size: 1.8rem;
  padding: 0;
  padding-right: 15px;
}

.modal-header .close {
  text-shadow: none;
  color: #5a6772;
  font-size: 16px;
  opacity: 1;
  text-transform: uppercase;
  padding: 10px;
}

.modal-header .close:hover {
  background: none;
  color: #80bce0;
}

button.close {
  filter: none;
}

/* Finestra modale  */

#modWindowRetro .modal-dialog,
#modWindowEletti .modal-dialog,
#modWindowElettiPluri .modal-dialog {
  width: 800px;
}

@media (max-width: 767px) {
  #modWindowRetro .modal-dialog,
  #modWindowEletti .modal-dialog,
  #modWindowElettiPluri .modal-dialog {
    max-width: 380px;
  }
}

#modWindowRetro .modal-body,
#modWindowEletti .modal-body,
#modWindowElettiPluri .modal-body {
  padding: 0;
}

#modWindowRetro .container-fluid,
#modWindowEletti .container-fluid,
#modWindowElettiPluri .container-fluid {
  padding: 0 10px;
}

.titolo_pagina {
  font-weight: 600;
  text-align: left;
  padding: 0px 0px 4px 0px;
}

.riga_testata th {
  line-height: 1.7;
  background: #2079d4;
  color: white;
  font-weight: normal;
  padding: 7px;
}

.dati_riepilogo {
  width: 100%;
  /* border: 1px solid black; */
  border-spacing: 0;
  border-collapse: collapse;
  margin: 0;
  font-size: 1.6rem;
}

.dati {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  margin: 0;
  font-size: 1.6rem;
}

.dati tr.leader {
  font-weight: 600;
  background: #d1e7ff;
}

.dati .simbolo_lista {
  width: 50px;
  text-align: center;
}

.dati th.candidato {
  /* background: white; */
  text-align: left;
  border: none;
  font-weight: normal;
}

.dati td {
  padding: 5px 10px 2px 5px;
  white-space: normal;
}

.dati td {
  padding: 5px 10px 2px 5px;
  white-space: normal;
}

.apparentamento {
  font-weight: bold;
  text-align: left;
  font-style: italic;
}

.vertical_percentuale {
  vertical-align: middle;
  /* width: 30px; */
}

.percentuale {
  text-align: right;
  /* text-align: center; */
}

.vertical_align {
  vertical-align: middle;
}

.align_right {
  text-align: right;
  padding: 2px;
}

.dati tr.leader {
  font-weight: 600;
  background: #d1e7ff;
}

.totalecomplessivovoti {
  background-color: #2079d4;
  color: #fff;
}

#htotalecomplessivovoti {
  font-weight: normal;
  padding-top: 35px;
  padding-left: 6px;
}

#htotale {
  font-weight: normal;
}

.totalecomplessivovoti td {
  font-weight: bold;
}

.testata_deposito {
  background-color: #2079d4;
  color: #fff;
}

.testata_deposito td {
  border-left: 1px solid #fff;
  font-weight: normal;
  line-height: 3;
}
/* CSS DA CONTROLLARE ============================================================= */

/*********Home del nuovo Eligendo che comprende LIVE-MOBILE-STORICO-DOC *********/

.paginaHome h4 {
  font-weight: 600;
  /*normal=500*/
}

.paginaHome a:hover,
.paginaHome a:focus,
.paginaHome a:visited {
  color: #5a6772;
}

.eligendo_main {
  margin-bottom: 35px;
}

.eligendo_main h2 {
  /*margin-bottom:20px;*/
  color: #5a6772;
  margin-left: 30px;
}

/* @media (max-width:991px) {
    .eligendo_main img {
        height: 100px;
    }
} */

.eligendo_mobile {
  line-height: 1.8;
}

.box_dait {
  margin-top: 20px;
  /*background-color: #d1e7ff;*/
  color: #5a6772;
  /*border-radius:8px;
    height: 200px;*/
}

/* .box_dait h3 {
    height: 200px;
    background-image: url("../images/e-dait.png");
    background-repeat: no-repeat;
    background-position-y: top;
    background-position-x: right;
} */

.box_dait a,
.box_dait a:hover {
  color: #004c99;
}

.eligendo_main .rox_box_election,
.eligendo_main .rox_title {
  margin-top: 20px;
}

@media (max-width: 991px) {
  .eligendo_main .rox_box_election,
  .eligendo_main .rox_box_election .odd {
    margin-top: 20px;
  }
}

.box_election {
  box-shadow: 0px 2px 3px 1px rgba(50, 50, 50, 0.3);
  border-radius: 4px;
  padding: 5px;
  margin-bottom: 10px;
  background-color: #fff;
}

.eligendo_main .box_election {
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0px 2px 3px 1px rgba(50, 50, 50, 0.4);
  border-radius: 4px;
  padding: 20px 40px;
  /*margin-bottom: 30px;*/
  font-size: 2.2rem;
}

@media (max-width: 480px) {
  .eligendo_main .box_election {
    padding: 20px 30px;
  }
}

.is_live {
  height: 21px;
  background-image: url(/weblib/images/alert_live.png);
  background-repeat: no-repeat;
  background-position: right;
  margin-right: -20px;
  float: right;
  width: 21px;
}

.eligendo_main .box_election h5 {
  font-size: 1.8rem;
  color: #5a6772;
  /*margin-top: 15px;*/
  margin: 15px 0;
  /*font-style: italic;*/
  line-height: 1.5;
  border-top: 1px solid #ccc;
  padding-top: 5px;
}

.eligendo_main .box_election p {
  margin-top: 15px;
}

.eligendo_main .box_election a.btn {
  border: none;
  background-color: #fff;
}

/*.eligendo_main .box_election a.btn::before{
    font-family: 'FontAwesome';
    content: "\f067";
    color: #596771;
}*/

.footer_box_election {
  /*border-top: 1px solid #ccc;*/
  margin-top: 15px;
}

/*.footer_box_election .link_affl_ris {
     margin-top: 1.5rem;
    float: right;
    padding: 8px;
    background-color: #e6f2f8;
    border-radius: 8px;
}

.footer_box_election a.link_affl_ris {
    text-decoration: none;
    background-color: #f0f0f0;
    border-radius: 8px;
    padding: 8px;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
}

.footer_box_election a.link_affl_ris:hover {
    background-color: #d1e7ff;
    text-decoration: none;
}*/

.leggi_tutto {
  float: left;
}

.btn-text span.meno {
  display: inline;
}

.btn-text:not(.collapsed) span.tutto {
  display: none;
}

.btn-text.collapsed span.meno {
  display: none;
}

.box_election a.btn:hover,
.box_election a.btn:active,
.box_election a.btn:visited,
.box_election a.btn:focus {
  color: #004080 !important;
}

.box_election a.btn:hover {
  text-decoration: underline;
}

.leggi_tutto span.fa {
  margin-right: 5px;
}

.distinct_box {
  background-color: transparent;
}

.eligendo_core h2 {
  color: #5a6772;
  padding-bottom: 10px;
  width: 80%;
  margin: auto;
}

.eligendo_core a,
.eligendo_core a:hover {
  color: #5a6772;
}

.eligendo_core a:focus {
  background-color: transparent;
}

.eligendo_core {
  padding-bottom: 0;
}

@media (max-width: 767px) {
  .eligendo_core .second_box {
    margin-top: 20px;
  }
}

.second_row_core {
  margin-top: 30px;
}

/*Stile box usato per i 4 core: storico, mobile, grafici, opendata*/

.light-grey {
  color: #5a6772;
}

.dark-grey {
  color: #1c2024;
}

.box_style_1 {
  background-color: #fff;
  /*box-shadow: 5px 5px 10px rgba(50, 50, 50, 0.25);*/
  box-shadow: 0px 4px 10px rgba(50, 50, 50, 0.25);
  padding: 10px;
  position: relative;
  border-radius: 4px;
}

.box_style_1 p {
  padding: 20px;
}

.box_style_1 h1 {
  padding: 0 10px 10px 10px;
  width: 100%;
  color: #5a6772;
  font-weight: 600;
}

.box_style_1 h1.yellow {
  border-bottom: 1px solid #f29d16;
}

.box_style_1 h1.purple {
  border-bottom: 1px solid #824c7c;
}

.box_style_1 h1.blue {
  border-bottom: 1px solid #2079d4;
}

.box_style_1 h1.green {
  border-bottom: 1px solid #008759;
}

.box_style_1 img {
  height: 70px;
  position: absolute;
  left: 10px;
}

.box_style_1 img.img_mobile {
  left: 20px;
}

.latest {
  display: block;
}

.latest-mobile {
  display: none;
}

.latest,
.latest-mobile {
  background-color: #fff;
  padding: 10px;
  position: relative;
  /* Modifiche STAX */
  border: 2px solid #e5eaef;
  /* border: 1px solid #CCC; */
  border-radius: 4px;
  margin-bottom: 36px;
}

.latest-mobile {
  margin-bottom: 20px;
}

.latest_title {
  border-radius: 3px;
  margin-top: -25px;
  padding: 15px;
  /* Modifiche STAX */
  background: #e5eaef;
  /* background: #f0f0f0; */
  /* #f5f5f0*/
  border-radius: 4px;
}

.latest h5,
.latest-mobile h5 {
  font-weight: normal;
  padding: 10px 10px 0 10px;
  text-align: left;
  color: #1c2024;
}

.latest p,
.latest-mobile p {
  padding: 0 0 0 10px;
  text-align: left;
  color: #5a6772;
}

.banner-dait {
  background-color: rgba(0, 51, 102, 0.1);
  margin: 40px 0;
  padding: 20px;
}

.banner-dait-top {
  background: url("/assets/images/europee2024_sf_scuro.png") right;
  color: #fff;
  margin: 0 0 40px;
  padding: 40px;
}

.banner-dait-top a,
.banner-dait-top a:visited {
  color: #fff;
  text-decoration: none;
}

.banner-dait-top a:hover {
  color: #ddd;
}

.banner-dait .row {
  margin-bottom: 10px;
}

.banner-dait img {
  margin-left: -15px;
}

.banner-dait h3 {
  border-bottom: 1px solid #5a6772;
  padding-left: 20px;
  color: #5a6772;
}

.banner-dait p {
  color: #1c2024;
  padding: 10px 0 10px 20px;
}

/* inizio adele */
p.text_link {
  padding: 5px 0px;
}

p.text_link a {
  text-decoration: underline;
}

/* fine adele */
.copyright {
  background-color: #5a6772;
  text-align: center;
  font-style: italic;
}

.copyright_text {
  color: #fff;
  padding: 15px 0;
}

.copyright_img {
  padding: 20px 10px 10px 30px;
}

.copyright_text p {
  padding: 0 0 5px 0;
}

@media (max-width: 991px) {
  .box_evidence img {
    width: 200px;
  }

  .link_evidence h2,
  .link_evidence_nl h2 {
    font-size: 3rem;
  }
}

@media (max-width: 600px) {
  .copyright_img {
    padding: 20px 0px 10px 10px;
  }

  .copyright_text p {
    font-size: 1.4rem;
  }
}

@media (max-width: 410px) {
  .copyright_img img {
    width: 40px;
  }

  .banner-dait p {
    font-size: 1.6rem;
    padding: 0px 0 0px 20px;
  }
}

@media (max-width: 330px) {
  .copyright_text p {
    font-size: 1.2rem;
  }
}

@media (max-width: 610px) {
  .box_evidence img {
    width: 170px;
  }
}

@media (max-width: 480px) {
  .box_evidence img {
    width: 140px;
  }

  .box_style_1 h1 {
    font-size: 4.2rem;
    padding-left: 35px;
  }

  .box_style_1 img {
    height: 60px;
  }
}

@media (max-width: 1199px) {
  .latest {
    display: none;
  }

  .latest-mobile {
    display: block;
  }

  .latest {
    margin-top: 30px;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .eligendo_core h2 {
    font-size: 3rem;
  }

  .box_evidence img {
    width: 180px;
  }

  .link_evidence {
    padding-top: 50px;
  }

  .link_evidence h2 {
    font-size: 3rem;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .box_style_1 h1 {
    padding: 0 10px 20px 30px;
    font-size: 4.2rem;
  }

  .box_style_1 img {
    height: 60px;
  }
}

@media (min-width: 1200px) and (max-width: 1499px) {
  .eligendo_core h2 {
    font-size: 3.5rem;
  }

  .box_style_1 h1 {
    padding: 0 10px 20px 30px;
    font-size: 5rem;
  }
}

.home_subtitle {
  color: #5a6772;
  width: 80%;
  margin-top: 30px;
}

@media (max-width: 1199px) {
  .home_subtitle {
    width: 100%;
  }
}

@media (max-width: 991px) {
  .home_subtitle {
    margin-top: 0;
  }
}

.container_evidence {
  /* background-color: rgba(0, 0, 0, .05); */
  background-color: rgba(0, 25, 50, 0.05);
  /*background-color: rgba(0, 51, 102, .05);*/
}

.container_end {
  background-color: rgba(0, 51, 102, 0.1);
  /* Modifiche STAX */
  /* background-color: rgba(0, 0, 0, .1); */
  margin-bottom: 40px;
  border-top: 1px solid #ddd;
  /* Modifiche STAX */
}

.row_evidence {
  /*background-color: rgba(0, 0, 0, .05);*/
  margin-left: 0;
  margin-right: 0;
}

.row_evidence .grafico {
  padding-top: 10px;
  /* TOPPA per grafici a zero */
  /* display: none; */
}

@media (max-width: 425px) {
  #grafico {
    margin-left: -30px;
  }
}

@media (max-width: 395px) {
  #grafico {
    margin-left: -45px;
  }
}

@media (max-width: 409px) {
  .fa-caret-right {
    display: none;
  }

  .box_evidence img {
    margin-left: -10px;
  }
}

.logo-regione1 {
  margin-top: 30px;
  margin-bottom: 30px;
}

@media (max-width: 991px) {
  .logo-regione1 {
    margin-top: 0;
  }
}

@media (max-width: 767px) {
  .logo-regione1 {
    margin-bottom: 20px;
  }

  .logo-regione2 {
    margin-bottom: 20px;
  }
}

.box_evidence {
  padding-top: 40px;
  padding-bottom: 20px;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
  /*background-color: #f0f0f0;*/
  /* #f5f5f0*/
  background-color: transparent;
  /* #f5f5f0*/
}

.box_evidence h2 {
  font-weight: bold;
  border-bottom: none;
  color: #5a6772;
}

.link_evidence,
.link_evidence_nl {
  position: relative;
  min-height: 168px;
  padding-top: 75px;
  padding-left: 30px;
}

.link_evidence_nl {
  padding-top: 0;
}

@media (min-width: 992px) and (max-width: 1199px) {
  .eligendo_core h2 {
    font-size: 3rem;
  }

  .box_evidence img {
    width: 180px;
  }

  .link_evidence {
    padding-top: 50px;
  }

  .link_evidence h2 {
    font-size: 3rem;
  }
}

@media (max-width: 991px) {
  .link_evidence {
    padding-top: 60px;
  }
}

@media (max-width: 611px) {
  .link_evidence {
    padding-top: 40px;
  }
}

.election_date {
  padding-bottom: 10px;
}

.row_end {
  /*background-color: rgba(0, 0, 0, .05);*/
  margin-left: 0;
  margin-right: 0;
}

.row_end p {
  color: #1c2024;
  /*border-top: 1px solid #ccc;*/
  padding: 4px 4px 8px 4px;
}

/********FINE Home nuovo Eligendo**********/

/*Pagine interne ARCHIVIO - OPENDATA*/

.paginaOpendata .dataTables_paginate {
  float: left;
  text-align: left;
  padding-top: 1em;
}

.form-group {
  /*override bottstrap*/
  margin-bottom: 0;
}

.home_interna {
  color: #1c2024;
  line-height: 1.8;
  padding-left: 25px;
}

.home_interna h2,
.home_interna .subtitle {
  color: #5a6772;
}

.paginaInterna,
.paginaOpendata {
  padding-top: 160px;
  padding-bottom: 40px;
}

.paginaOpendata .top {
  background-color: #d6d6d6;
}

.paginaOpendata .top .dataTables_info {
  padding: 10px 15px;
  font-size: 2.1rem;
  font-weight: 600;
  background-color: #d6d6d6;
  width: 100%;
  line-height: 1;
}

.paginaInterna h2 {
  color: #5a6772;
  margin-bottom: 20px;
}

.paginaInterna .center-panel,
.paginaOpendata .center-panel {
  padding-left: 25px !important;
}

.totalecomplessivovoti {
  background-color: #2079d4 !important;
  color: #fff;
}

tr.totale_liste td {
  background-color: #d6d6d6;
}

@media (max-width: 991px) {
  .paginaInterna .center-panel,
  .paginaOpendata .center-panel {
    padding-left: 0 !important;
  }
}

.paginaOpendata table.dataTable tbody tr {
  background-color: transparent;
}

.box_mailto {
  background: rgba(0, 0, 0, 0.05);
  /* min-height: 200px; */
  font-size: 1.6rem;
  padding: 15px;
  min-width: 200px;
  /* width: 325px */
  border-radius: 4px;
}

.header_mailto {
  border-bottom: 1px solid #ccc;
  padding-bottom: 15px;
}

.header_mailto img {
  height: 70px;
}

p.nota,
div.nota {
  border-left: 4px solid #596771;
  padding: 10px !important;
  margin: 15px 0;
}

.alert.banner-dait ul li:before {
  font-family: "FontAwesome";
  content: "\f00c";
  font-size: 2rem;
  margin-right: 10px;
}

.alert.banner-dait {
  color: #56636e;
  padding: 0;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.alert.banner-dait .title {
  background-color: #fff;
  padding: 20px;
  border-bottom: 1px solid #ddd;
}

.alert.banner-dait ul {
  /*margin-top: 20px;*/
  padding: 20px;
}

.alert.banner-dait ul li {
  font-size: 2rem;
  /*color: #5a6772;*/
}

.row-qrcode {
  margin-top: 20px;
}

span#data_retro {
  float: right;
}

#is_sezioni .popInfo {
  /* color: #7a1f2e; */
  margin-left: 5px;
}

#headEnti {
  background-color: transparent !important;
  width: 100%;
  text-align: left;
  background-color: #fff;
  padding: 0 2px 0 0;
  clear: both;
}

#headEnti h3 {
  color: #1c2024;
  background-color: transparent;
  font-weight: 600;
  font-size: 2rem;
  margin: 0;
  font-family: "Titillium Web", Verdana, Geneva, sans-serif;
  line-height: 2rem;
  padding: 0 0 5px 0;
}

.paginaInterna #headEnti h3 {
  margin-bottom: 10px;
}

@media (max-width: 1024px) {
  #headEnti h3 {
    font-size: 1.8rem;
  }
}

#headEnti h4 {
  color: #f00;
  font-weight: normal;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  #headEnti h3 {
    margin-top: 10px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  #headEnti h3 {
    margin-top: 20px;
  }
}

#headEnti h5 {
  font-weight: normal;
  font-size: 14px;
}

#headEnti em {
  font-weight: bold;
}

#headEnti small {
  float: right;
  font-style: italic;
  font-size: 0.8em;
  clear: both;
  padding-right: 0.4em;
}

#headEnti #btnExportCsv {
  float: right;
}

#headEnti #btn2t {
  float: right;
  clear: both;
}

#headRiepiloghi {
  background-color: #fff;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
}

#headRiepiloghi h3 {
  font-size: 2rem;
  font-weight: 600;
  padding: 5px;
}

/* Schermata di caricamento pagina */

#loading_screen {
  display: block;
  position: absolute;
  left: 0px;
  top: 0px;
  height: 100%;
  width: 100%;
  text-align: center;
  padding: 80px;
  padding-top: 200px;
  background-color: white;
  opacity: 1;
  z-index: 80;
}

#loading_screen img {
  opacity: 1 !important;
}

/*	PANNELLO CENTRALE	*/

.center-panel {
  height: auto;
  color: #1c2024;
  font-size: 1.6rem;
}

.center-panel table {
  font-size: 1.6rem;
}

.center-panel p {
  padding: 5px;
}

.paginaInterna .center-panel,
.paginaOpendata .center-panel {
  margin-top: 0;
}

@media (max-width: 479px) {
  .center-panel {
    font-size: 1.2rem;
    /*border: solid 1px #BCD2E6;*/
    height: auto;
    width: 100%;
    color: black;
  }

  .center-panel table {
    font-size: 1.3rem;
  }
}

@media (max-width: 498px) {
  .center-panel,
  .center-panel table,
  .center-panel span {
    font-size: 1.3rem;
  }
}

/* Small devices (tablets, 768px and up) */

@media (min-width: 480px) and (max-width: 767px) {
  .center-panel {
    font-size: 1.4rem;
    margin-bottom: 5px;
  }

  .center-panel table {
    font-size: 1.4rem;
  }
}

@media (min-width: 768px) {
  .center-panel .container-fluid {
    padding: 1px;
  }

  .center-panel {
    font-size: 1.7rem;
    height: auto;
    padding: 1px;
    color: #1c2024;
    margin-bottom: 10px;
    margin-top: 10px;
  }

  .center-panel table {
    font-size: 1.7rem;
  }
}

/* @media (min-width: 992px) {
    .center-panel {
        margin-left: 25px;
        min-height: 400px;
    }
} */

.admonition {
  background-color: rgba(0, 0, 0, 0.05);
  padding: 60px 0;
  position: relative;
  border: none;
  margin-top: 30px;
  width: 100%;
  position: relative;
  border-radius: 4px;
}

/*.admonition::before {
    content: "";
    width: 0;
    height: 0;
    left: 0;
    top: 0;
    position: absolute;
    z-index: 1;
    border-bottom: 50px solid transparent;
    border-left: 50px solid #fff;
}

.admonition::after {
    border-top: 50px solid transparent;
    border-bottom: 50px solid #ccc;
    border-left: 50px solid transparent;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    content: "";
    width: 0;
    height: 0;
    left: 0;
    top: 0;
    position: absolute;
    z-index: 1;
}*/

.admonition ul li {
  font-size: 2.4rem;
  /*color: #5a6772;*/
  color: #56636e;
}

.admonition ul li:before {
  font-family: "FontAwesome";
  content: "\f00c";
  font-size: 2rem;
  margin-right: 10px;
}

.admonition .election_list {
  width: 60%;
  margin: auto;
  padding-left: 20px;
}

@media (min-width: 1200px) and (max-width: 1499px) {
  .admonition .election_list {
    width: 70%;
  }
}

@media (min-width: 543px) and (max-width: 1199px) {
  .admonition .election_list {
    width: 80%;
  }

  .admonition .election_list ul li {
    font-size: 2rem;
  }
}

@media (min-width: 470px) and (max-width: 542px) {
  .admonition .election_list {
    width: 90%;
  }

  .admonition .election_list ul li {
    font-size: 1.8rem;
  }
}

@media (max-width: 469px) {
  .admonition .election_list {
    width: 100%;
  }

  .admonition .election_list ul li {
    font-size: 1.6rem;
  }
}

.election_bg {
  background-color: #fff;
  border: 1px solid #ddd;
  color: #1c2024;
  line-height: 1.8;
  border-radius: 4px;
}

.election_bg p {
  padding: 5px 10px;
  background-color: #f0f0f0;
  /* #f5f5f0*/
  border-bottom: 1px solid #ddd;
  margin-bottom: 10px;
  font-weight: bold;
}

.election_bg label {
  font-weight: normal;
}

@media (min-width: 1200px) and (max-width: 1499px) {
  .election_bg label {
    font-size: 1.7rem;
  }
}

.nav_nav_search {
  margin: 20px -13px 0 -15px;
}

.nav_nav_search > li > a {
  border: 1px solid #ccc;
  border-bottom: none;
  background-color: #fff;
}

/*.nav_nav_search>li.active>a,//serviva per tab search and close
.nav_nav_search>li.active>a:focus, 
.nav_nav_search>li.active>a:hover{
    color: #555;
    background-color: #ffff;
    border: none;
}*/

/*.nav_nav_search .nav-item{//serviva per tab search and close
    float: right;
}*/

/*.nav-item.item-search a{//serviva per tab search and close
    background-color: #0059b3;
    color: #fff;
}

.nav-item.item-search a:hover{
    background-color: #0059b3;
    opacity: 0.8;
}*/

.nav-tabs > li.item-navig > a.active {
  background-color: #f0f0f0;
  /* #f5f5f0*/
}

.nav_nav_search .nav-item a {
  margin-right: 0;
}

.nav-item.item-navig a {
  margin-bottom: -1px;
  background-color: #fff;
  /*margin-right: 0;*/
}

.nav-item.item-navig a:hover {
  background-color: #f0f0f0;
  /* #f5f5f0*/
}

/*.nav-item.active{//serviva per tab search and close
    display: none;
}*/

.search_bg {
  background-color: #fff;
  border: 1px solid #ddd;
  border-top: none;
  /*margin-top:20px;*/
  padding: 20px 10px;
  color: #1c2024;
}

.search_1 {
  margin-top: 10px;
  margin-bottom: 30px;
}

.search_2 {
  margin-bottom: 10px;
}

.search_1 .input-group-addon,
.search_2 .input-group-addon {
  /*color: #0075ff;*/
  color: #0059b3;
  font-size: 1.8rem;
  width: 40px;
}

.input-group.search_1 input,
.input-group.search_2 input {
  height: 40px;
  border: 1px solid #ccc;
  /*border-left: none;*/
  border-radius: 4px !important;
  border-top-left-radius: 0% !important;
  border-bottom-left-radius: 0% !important;
  font-size: 1.6rem;
  width: auto;
}

/*input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: searchfield-cancel-button;
  }*/

.input-group.search_1 button.invia,
.input-group.search_2 button.invia {
  border-radius: 4px !important;
  height: 40px;
  width: 40px;
}

.input-group.search_1 .btn-primary,
.input-group.search_2 .btn-primary {
  border: none;
  margin-left: 10px;
  padding: 1px 10px;
}

@media (min-width: 1200px) and (max-width: 1499px) {
  .input-group.search_1 .btn-primary,
  .input-group.search_2 .btn-primary {
    margin-left: 8px;
  }

  .input-group.search_1 button.invia,
  .input-group.search_2 button.invia {
    width: 35px;
  }

  .search_1 .input-group-addon,
  .search_2 .input-group-addon {
    padding: 6px 11px;
  }
}

input {
  width: 100%;
}

input.form-check-input,
.searchbox input {
  width: auto;
}

.searchbox .fa {
  font-size: 2rem;
}

input[type="radio"] {
  margin: 4px 4px 0;
}

.nav_bg {
  background-color: #f0f0f0;
  /* #f5f5f0*/
  padding-bottom: 10px;
  color: #1c2024;
  border: 1px solid #ddd;
  border-top: none;
  border-radius: 0 4px 4px 4px;
}

.nav_bg select {
  text-overflow: ellipsis;
  display: inline;
  width: 100%;
}

/*.nav_bg .form-control{*/

.form-control {
  border-radius: 4px;
  font-size: 1.6rem;
}

/*.nav_bg .form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgb(0 123 255 / 25%) !important;
}*/

/*.nav_bg  select{*/

/*.nav_bg select {*/

select {
  color: #1c2024;
}

/*.nav_bg  select.selected {*/

/*.nav_bg select.selected {*/

select.selected {
  color: #1c2024;
  background-color: #e1f5ff;
  border-color: #80bdff;
}

option[selected] {
  /*color: blue;*/
  color: white;
  background-color: #1e90ff;
}

/*paginazione datatable opendata*/

.dataTables_wrapper .dataTables_info {
  padding-top: 0;
}

.paginaInterna table.dataTable tbody tr {
  background-color: transparent;
}

/* .paginaInterna table.dataTable td {
    border-bottom: 1px solid #c5c5c5;
} */

.paginaInterna .views-field-node-field-data-documento .field-content:before {
  font-family: FontAwesome;
  content: "\f073";
  padding-right: 5px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 6px 12px;
  margin-left: -1px;
  line-height: 1.4;
  color: #004080 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
  border-radius: 4px;
  border: 1px solid #337ab7;
  background: none;
  background-color: #337ab7;
  color: #fff !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
  background: none;
  background-color: #f0f0f0;
  color: #1c2024 !important;
  border: 1px solid #ddd;
  border-radius: 4px;
}

/*fine pagine interne ACHIVIO - OPENDATA*/

/*POPUP RETROSPETTIVI*/

/*	DATI DI RIEPILOGO	*/
.box_elevot {
  margin-bottom: 12px;
}

@media (max-width: 991px) {
  .box_schede {
    margin-top: 10px;
  }
}

table th.box_elevot_title {
  border-bottom: 1px solid #dedede;
  color: #5a6772;
  background-color: #f0f0f0;
}

table tr.row_elettori {
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}

.dati_riepilogo {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  margin: 0;
  border: 1px solid #f0f0f0;
  background-color: #fff;
}

.dati_riepilogo td.bd_r {
  border-right: 1px solid #f0f0f0;
}

.dati_riepilogo tr {
  width: auto;
  border-top: none;
  border-bottom: none;
}

.dati_riepilogo .intestazione_turni {
  background: #ebf2ff;
}

.dati_riepilogo th {
  font-weight: 600;
  padding-top: 1px;
  padding-bottom: 1px;
  border-top: none;
  border-bottom: none;
  color: #5a6772;
  font-size: 1.6rem;
  padding-left: 10px;
  padding-right: 10px;
}

.dati_riepilogo td {
  padding-top: 1px;
  padding-bottom: 1px;
  white-space: normal;
  border-top: none;
  border-bottom: none;
  padding-right: 10px;
  font-size: 1.5rem;
  color: #1c2024;
  text-align: right;
}

/*FINE POPUP RETROSPETTIVI*/

/*#boxFacets {
    margin-left: 20px;
}*/

#boxFacets .pillsContainer {
  display: inline-block;
  margin-right: 63px;
}

#boxFacets .pillsContainer li {
  padding: 0px 5px;
}

@media (max-width: 991px) {
  #boxFacetsCell {
    margin-left: 15px !important;
  }
}

@media screen and (min-width: 1501px) {
  #boxFacets .pillsContainer {
    margin-right: 45px;
  }
}

@media (min-width: 768px) {
  #topmenu ul.nav.navbar-nav > li > a {
    padding-top: 10px;
    padding-bottom: 10px;
  }
}

@media (max-width: 991px) {
  #topmenu ul.nav.navbar-nav .condividi {
    margin-top: -38px;
  }
}

@media screen and (min-width: 1240px) {
  /* and (max-width: 1500px) */
  /*#boxFacets {
        margin-left: 39px;
    }*/
  #boxFacets .pillsContainer {
    margin-right: 60px;
  }

  #boxFacets .pillsContainer li {
    padding: 0px 0px;
  }

  #boxFacets .pillsContainer ul.nav.navbar-nav.center-menu li a {
    /*min-width: 110px!important;*/
    min-width: 100px !important;
    font-size: 1.3rem;
  }
}

@media screen and (min-width: 1200px) and (max-width: 1239px) {
  /*#boxFacets {
        margin-left: 25px;
    }*/
  #boxFacets .pillsContainer {
    margin-right: 40px;
  }

  #boxFacets .pillsContainer li {
    padding: 0px 0px;
  }

  #boxFacets .pillsContainer ul.nav.navbar-nav.center-menu li a {
    /*min-width: 120px!important;*/
    min-width: 90px !important;
    font-size: 1.2rem;
  }
}

@media screen and (max-width: 1199px) {
  /*#boxFacets {
        margin-left: 25px;
    }*/
  #boxFacets .pillsContainer {
    margin-right: 18px;
  }

  #boxFacets .pillsContainer li {
    padding: 0px 0px;
  }

  #boxFacets .pillsContainer ul.nav.navbar-nav.center-menu li a {
    /*min-width: 107px!important;*/
    min-width: 95px !important;
    font-size: 1rem;
    padding-left: 0;
    padding-right: 0;
  }
}

.header-row {
  background: #003366;
  height: 75px;
}

.title-top .row-logo-print {
  display: none;
}

.nav-top {
  height: 75px;
  /* padding-top: 10px;*/
  /*margin: 0px -125px;*/
  margin: 0;
}

.nav-social {
  height: 75px;
}

.nav-social > a:focus {
  color: white;
  font-size: 1.8rem;
  background: #003366;
}

.nav-social > li > a {
  font-size: 1.8rem;
}

/*la sovrascrivo trasformandola in fa-share-alt-square*/

/*.fa-share-alt:before {   
    content: "\f1e1";
    font-size: 3rem;
}*/

.front .nav-social > li > a {
  color: #003366 !important;
  background: transparent !important;
}

.nav-social > li > a:hover {
  color: white;
  /*font-size: 2rem;*/
  font-size: 1.8rem;
  /*   background:#003366;*/
  background: none;
}

.li-social {
  width: 75px;
  height: 50px;
  text-align: center;
  background: #003366;
  margin-left: 160px;
}

li.li-social a {
  border-radius: 50%;
  padding: 0px !important;
  height: 40px;
  width: 40px;
  margin-left: 10px;
  box-shadow: 0px 0px 0px 0px #ccc !important;
}

.fa {
  text-align: center;
  text-decoration: none;
}

.fa:hover {
  opacity: 0.7;
}

.candidato .fa-check-circle {
  margin: 5px 2px 2px 2px;
}

.freccia-up {
  padding-top: 1px;
  border-right: 1px solid #1c2024;
  padding-right: 0.2em;
  color: #004080;
}

.guida {
  font-size: 3rem;
}

.guida:hover {
  opacity: 0.7;
}

.condividi:hover {
  opacity: 0.7;
}

.nav-top > li > a {
  color: white;
  font-size: 1.8rem;
  line-height: 45px;
}

.nav-top > li.active > a {
  font-size: 1.8rem;
  background: #496480;
}

.nav-top > li > a:hover,
.nav-top > li > a:focus {
  background: #003366;
  background: none;
  font-size: 1.8rem;
  /*font-size: 1.8rem;*/
  /*	background: #a5abb0;*/
}

.nav-top > li.active > a:hover,
.nav-top > li.active > a:focus {
  /* background:#003366;*/
  /*	background:none;*/
  /*font-size: 2rem;*/
  font-size: 1.8rem;
  background: #496480;
}

.nav-top .open > a,
.nav-top .open > a:focus {
  background-color: #003366;
  /*background: #a5abb0;*/
}

.nav-top > li > a:focus {
  background: #003366;
  font-size: 1.8rem;
  /*  font-weight: bold;*/
}

.open > a {
  /*background:#003366!important;*/
  font-size: 1.8rem;
  font-weight: bold;
}

.down-menu {
  position: relative !important;
  height: 0px;
}

ul.down-menu li a {
  background-color: white;
  color: black;
  padding: 15px;
  box-shadow: 3px 4px 5px 1px #ccc;
}

ul.down-menu li :hover {
  background-color: #e6e6e6 !important;
  color: black !important;
}

.triangolo {
  width: 0;
  height: 10px;
  line-height: 0;
  border-bottom: 25px solid white;
  border-left: 25px solid transparent;
  border-right: 25px solid transparent;
  margin-left: 50px;
}

.title-top {
  /*margin: -3px 0px -10px 0px;*/
  font-size: 1.8rem;
  margin-top: 10px;
}

.title-top p {
  color: white;
  margin-top: 0;
  white-space: nowrap;
}

.li-menu {
  width: 75px;
  height: auto;
  text-align: center;
}

/*è per il pulsante i*/

ul.nav-top .li-menu:last-child {
  width: 100px;
}

@media (max-width: 1380px) {
  ul.nav-top .li-menu:last-child {
    width: 60px;
  }
}

/*.li-menu:last-child>a{
	padding-top:5px;
}*/

.burger-wr {
  top: 10px;
  position: absolute;
}

.burger-wr > button {
  padding: 0px 0px 5px;
  outline: none;
}

body.cbp-spmenu-push-toright .burger-wr {
  left: 65px !important;
}

/*.menu-left>li>a{
    width: 280px;
}*/

li.border-serp > ul > li.active > a {
  background-color: #2079d4;
  color: white;
}

/*.menu-left>li.open>a:hover {
    color: white!important;
}*/

/*.menu-left>li.open>a{
    color:white;
}*/

li.active {
  font-weight: 600;
}

.nav-top > li > a:hover {
  font-weight: 600;
}

/*.nav-social>li>a:hover {
	font-weight: 600;
}*/

/* .nav-social > li {
  width: 180px;
} */

.li-social {
  margin-left: 115px;
}

#second-row {
  position: fixed;
  background: #f0f0f0;
  /* #f5f5f0*/
  height: 40px;
  line-height: 0%;
  top: 80px;
  z-index: 90;
  width: 100%;
  box-shadow: 0px 1px 10px 1px rgba(50, 50, 50, 0.25);
}

.paginaHome #second-row {
  display: none;
}

/*.live .sottotitolo .box-title {
  position: absolute;
  left: 100px;
}*/

@media screen and (max-width: 425px) {
  .live .sottotitolo .box-title {
    left: 80px;
  }
}

/* .sottotitolo {
  position: relative;
} */

#headerContainer .sottotitolo .box-title p {
  padding-top: 3.2rem;
  font-size: 2.2rem;
  color: #fff;
}

#second-row .sottotitolo .box-title p {
  line-height: 2.3;
  font-weight: bold;
}

/* @media screen and (max-width: 412px){
  #second-row .sottotitolo .box-title p {
    line-height: 1 !important;
    font-weight: bold;
  }

  .paginaArchivio #second-row .sottotitolo .box-title p {
    line-height: 2.3 !important;
    font-weight: bold;
  }

} */

#second-row .sottotitolo,
#second-row .sottotitolo .box-title {
  display: none;
}

@media screen and (max-width: 991px) {
  #headerContainer .sottotitolo .box-title p {
    display: none;
  }

  #second-row .sottotitolo,
  #second-row .sottotitolo .box-title {
    display: block;
    /*  float: left;*/
  }

  #topmenu ul.nav.navbar-nav {
    display: none;
  }

  #topmenu ul#socialMenuSmall.nav.navbar-nav {
    display: block;
    float: right;
  }
}

@media screen and (max-width: 510px) {
  #topmenu ul#socialMenuSmall.nav.navbar-nav {
    display: none;
  }
}

/* Da rivedere in base alla lunghezza del titolo */
@media screen and (max-width: 991px) {
  .paginaRegionali .sottotitolo .box-title p,
  .paginaComunali .sottotitolo .box-title p,
  .paginaEuropee .sottotitolo .box-title p,
  .paginaSenato .sottotitolo .box-title p,
  .paginaReport .sottotitolo .box-title p,
  .paginaDeposito .sottotitolo .box-title p,
  .paginaInfo .sottotitolo .box-title p {
    /* Sottotitolo LIVE */
    font-size: 1.8rem;
    line-height: 1 !important;
    padding-top: 2px;
    width: 400px;
  }

  .paginaArchivio .sottotitolo .box-title p,
  .paginaOpendata .sottotitolo .box-title p,
  .paginaMobile .sottotitolo .box-title p,
  .paginaSalastampa .sottotitolo .box-title p {
    line-height: 1.5;
  }
}

/* @media (min-width: 1024px) {
  .sottotitolo .box-live,
  .sottotitolo .box-title {
    float: left;
  }
} */

/*@media (max-width:767px) {
    .sottotitolo .box-title p, .inmlive {
        margin-top: 0;
    }
}*/

/*.paginaEligendo .no-live .box-title {
    position: absolute;
    left: 15px;
}*/

.inmlive,
.inmlive-disabled {
  margin: 10px 1px 2px;
  height: 21px;
  width: 80px;
  background-repeat: no-repeat;
  transition: opacity, 0.4s, ease, 0.25s;
  -webkit-transition: opacity, 0.4s, ease, 0.25s;
  -moz-transition: opacity, 0.4s, ease, 0.25s;
  -ms-transition: opacity, 0.4s, ease, 0.25s;
  -o-transition: opacity, 0.4s, ease, 0.25s;
}

.inmlive-disabled {
  background-image: url("/weblib/images/icona_live-disabled.png");
}

.inmlive {
  background-image: url("/weblib/images/icona_live.png");
}

.inmlive-big {
  background-image: url("/weblib/images/icona_live-b.png");
}

.menu-row {
  /*margin: 15px -20px 15px -60px;*/
  margin-top: 15px;
  margin-bottom: 15px;
}

.center-menu {
  margin: 0px 0px;
}

.center-menu > li {
  padding: 0px 10px;
}

.center-menu > li > a {
  background:
    /*transparent;*/ #f0f0f0;
  /* #f5f5f0*/
  /*color:#2079d4;*/
  color: #004d99;
  /*#000;*/
  /*border:1px solid #2079d4;*/
  border-radius: 0.4rem;
  /*15px;*/
  height: 5px;
  font-size: 1.6rem;
  margin: 0px 2px;
  line-height: 0%;
  text-align: center;
  /*width: 120px;  06042018*/
  min-width: 120px;
  /*  06042018*/
  /*box-shadow: 3px 4px 5px 1px #ccc;*/
  box-shadow: 2px 2px 4px 1px #ccc;
  font-weight: bold;
  padding-right: 10px;
  padding-left: 10px;
}

.center-menu > li > a:hover {
  background: #2079d4;
  color: #eee;
}

.center-menu > li.active > a {
  background: #2079d4;
  color: #eee;
}

.border-serp {
  border-top: solid;
}

.select-menu {
  height: 30px;
  font-size: 1.6rem;
  width: 100%;
}

.select-des {
  /*height: 25px;*/
  font-size: 1.6rem;
  width: 100%;
  font-weight: bold;
}

.sel-set {
  height: 20px;
  width: 330px;
  border-radius: 0px;
}

#div_mappa2 {
  text-align: center;
  margin-bottom: 5px;
  /* display: none; */
  width: 100% !important;
  height: 300px !important;
}

.map-set {
  min-height: 300px !important;
}

.selezione {
  margin-top: -15px;
}

.tab-th {
  background: #2079d4;
  color: white;
}

.tab-th1 {
  background: #d1e7ff;
  color: #2079d4;
}

.tab-td {
  background: #e9e9e9;
  color: #2079d4;
}

.tab-dati {
  height: 470px;
  overflow: auto;
}

/*@media screen and (max-width: 1300px){
	.li-menu {
		width: 200px;
	}
}

@media screen and (max-width: 1200px){
	.li-menu {
		width: 160px;
	}
}*/

/********Storico css********/

/*immagine libri presente nella pagina home.php di archivio e di opendata*/

.sfondohome_arch,
.sfondoHome_open {
  text-align: center;
  width: 100%;
  margin: auto;
  margin-top: 30px;
  margin-bottom: 30px;
  height: 120px;
  background-position: top;
}

.sfondoHome_open {
  background: url("../images/HomeOpendata.JPG") no-repeat;
}

.sfondohome_arch {
  background: url("../images/HomeArchStorBibl.JPG") no-repeat;
}

/****** MENU ***********/

div#headerContainer {
  background-color: #003366;
  height: 80px;
  font-size: 14px;
  position: fixed;
  width: 100%;
  z-index: 100;
}

.front div#headerContainer {
  background-color: transparent;
}

div#headerContainer .Header-toggle.Grid-cell {
  float: left;
  width: 65px !important;
  margin: 6px 20px 0 15px;
}

.front .Header-toggle.Grid-cell {
  background-color: #003366;
}

.u-background-70 {
  background-color: #003366 !important;
}

div#logoContainer {
  float: left;
}

div#headerContainer .Header-toggleText {
  font-size: 11px !important;
  margin-top: 1.9rem;
}

div#headerContainer .Header-toggleText:hover {
  text-decoration: none !important;
}

div#headerContainer .Hamburger-toggle:after {
  bottom: -0.8rem;
}

div#headerContainer .Hamburger-toggle:before {
  top: -1.2rem;
}

div#logoContainer {
  margin: 10px 40px 0 10px;
}

div#logoContainer p {
  color: #fff;
}

#second-row #topmenu {
  background-color: transparent !important;
  padding-left: 0px !important;
  padding-right: 10px !important;
}

#second-row #topmenu a {
  font-weight: 600 !important;
  font-size: 18px !important;
  padding-left: 25px;
  padding-right: 25px;
  color: #444 !important;
}

#second-row #topmenu a:hover {
  text-decoration: none !important;
  /*background-color: #2079d4;*/
  border-bottom: 3px solid #2079d4;
  /*color: #fff !important;*/
}

#second-row #topmenu .active a {
  /*background-color: #2079d4;
  color: #fff !important;*/
  border-bottom: 3px solid #2079d4;
}

#second-row nav.Megamenu.Megamenu--default li.Megamenu-item {
  margin: 0 25px;
}

#topmenu .box-live {
  float: left;
}

ul.subMenuItem li {
  padding: 10px 0;
  /* border-radius: 25px; */
}

ul.subMenuItem li.separatore {
  border-bottom: 1px solid #aaa;
  font-weight: bold;
  cursor: default;
}

/*.separatore {
	font-weight: bold;
}*/

/*.separatore {
	font-weight: bold;
}*/

div#headerContainer li a:hover,
div#headerContainer li a.disabled {
  opacity: 0.7;
}

div#headerContainer li a.disabled {
  cursor: default !important;
}

div#headerContainer li a.disabled:hover {
  cursor: pointer;
}

#second-row li.Megamenu-item.active a:hover {
  opacity: 1;
}

@media (max-width: 767px) {
  div#headerContainer .Header-toggle.Grid-cell {
    margin: 0;
  }

  div#logoContainer {
    margin: 10px 0 0 4px;
  }
}

ul#socialMenuSmall li a:hover {
  /*20190524*/
  /*opacity: 1;*/
  opacity: 0.7;
  /*20190524*/
}

ul.subMenuItem li a {
  color: black;
}

section#sideMenu ul.Linklist li a:hover {
  text-decoration: none !important;
}

div#sideMenuElez li a {
  padding-left: 1.6rem;
}

section#sideMenu ul.Linklist li:hover,
section#sideMenu ul.Linklist li.active,
section#sideMenu ul.Linklist li a:hover {
  /*background-color: #d9e6f2 !important;*/
  background-color: #eee !important;
  opacity: 1;
}

section#sideMenu ul.Linklist li a.disabled:hover {
  opacity: 0.7;
}

section#sideMenu ul.Linklist li.hasFocus > a {
  background-color: #eee;
  outline: #ff8c00 solid 2px !important;
}

section#sideMenu ul.Linklist li.separatore,
section#sideMenu ul.Linklist li.separatore:hover {
  background-color: #fff !important;
  color: #00264d !important;
  padding-left: 1.5em;
  cursor: default;
  border-bottom: 0.1rem solid #aaa !important;
  border-top: none !important;
}

section#sideMenu ul.Linklist li a {
  color: #004080 !important;
}

section#sideMenu ul.Linklist li.subitem {
  padding-left: 20px;
}

/**/

section#sideMenu ul.Linklist li.disabled:hover,
section#sideMenu ul.Linklist li.disabled a:hover {
  background-color: #fff !important;
}

section#sideMenu ul.Linklist li.disabled a:focus {
  background-color: #fff !important;
}

section#sideMenu ul.Linklist > li > ul > li > a {
  background-color: #e2f7ff !important;
  font-weight: 400;
}

section#sideMenu ul.Linklist > li > ul > li > a:hover {
  background-color: #cef1ff !important;
}

/**/

section#sideMenu.is-active
  ~ div#socialContainer
  ul#socialMenuSmall
  li.li-menu
  a {
  background: inherit !important;
  color: #808080;
  cursor: default;
}

section#sideMenu.is-active
  ~ div#socialContainer
  ul#socialMenuSmall
  li.li-menu
  a:hover {
  font-weight: 500;
}

ul#socialMenuSmall {
  margin-right: 0 !important;
}

a.Hamburger-toggleContainer .icon-bar {
  display: block;
  width: 3.5rem;
  height: 0.4rem;
  border-radius: 0.2rem;
  background-color: #fff;
  margin: 0.6rem 0;
}

.front a.Hamburger-toggleContainer .icon-bar {
  background-color: #fff;
}

@media (max-width: 440px) {
  a.Hamburger-toggleContainer {
    padding-top: 1.3rem;
  }
}

.front .icon-bar-menu {
  color: #fff;
  font-weight: bold;
}

/* ul.nav-social .li-menu:last-child > a {
  padding-top: 1.3em;
} */

@media screen and (max-width: 1090px) {
  nav.Megamenu.Megamenu--default.js-megamenu.hidden-xs.hidden-sm.is-ready {
    opacity: 0;
    position: absolute;
    z-index: -1;
  }

  ul.nav-social .li-menu:last-child > a {
    padding-right: 25px;
  }
}

@media (max-width: 767px) {
  ul.nav-social .li-menu:last-child > a {
    /*padding-top: 1.2em;*/
    padding-right: 1em;
  }

  .front .paginaHome {
    padding-top: 80px;
  }
}

.front ul.nav-social a.condividi {
  border-radius: 50%;
  height: 40px;
  width: 40px;
  box-shadow: 0px 0px 0px 0px #ccc !important;
  background-color: white !important;
  color: black;
  border-color: rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.25);
  border-style: solid;
  border-width: 1px;
  margin: auto;
  text-align: center;
  padding-top: 10px !important;
  padding-left: 12px;
}

@media (max-width: 480px) {
  .front ul.nav-social a.condividi {
    /* problemi di spaccamento sulla home */
    display: none;
  }
}

#socialMenuSmall .dropdown-menu.nav-top.down-menu li:last-of-type {
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

#socialMenuSmall .dropdown-menu.nav-top.down-menu li.li-social {
  margin: 0;
  background: none;
}

#socialMenuSmall .dropdown-menu.nav-top.down-menu li span.fa {
  padding-top: 12px;
}

.Hamburger-toggle,
.Hamburger-toggle:after,
.Hamburger-toggle:before {
  width: 2.6rem;
}

.Footer,
.u-padding-bottom-xxl {
  padding-bottom: 2.5rem !important;
}

.Footer,
.u-padding-top-xxl {
  padding-top: 2rem !important;
}

span#tipoElez li:first-of-type {
  border-top: 2.5px solid #aaa !important;
}

span#areaElez li:first-of-type {
  border-top: 2.5px solid #aaa !important;
}

span#argElez li:first-of-type {
  border-top: 2.5px solid #aaa !important;
}

nav.Megamenu.Megamenu--default.js-megamenu.hidden-xs.hidden-sm.is-ready {
  visibility: inherit !important;
}

#second-row
  .Megamenu.Megamenu--default
  .Megamenu-list.Megamenu
  li.Megamenu-item.disabled
  a {
  opacity: 0.7;
}

div#headerContainer
  .Megamenu.Megamenu--default
  .Megamenu-list.Megamenu
  li.Megamenu-item.active
  ul.subMenuItem
  a {
  background: #fff;
  font-weight: 400 !important;
}

#second-row
  .Megamenu.Megamenu--default
  .Megamenu-list.Megamenu
  li.Megamenu-item.disabled
  ul.subMenuItem
  a {
  opacity: 0.7;
}

ul.Megamenu-list.Megamenu {
  height: 40px;
}

#second-row
  .Megamenu--default
  .Megamenu-list
  > li
  > a[aria-expanded="false"]:after,
#second-row
  .Megamenu--default
  .Megamenu-list
  > li
  > a[aria-expanded="true"]:after {
  display: contents;
  font-size: 1.1rem !important;
}

div#socialContainer {
  position: absolute;
  right: 0px;
  top: 3px;
  z-index: 100;
}

/* div#socialContainer ul#socialMenuSmall li {
  width: 125px !important;
} */

ul#socialMenuSmall .dropdown-menu.nav-top.down-menu {
  margin-top: 15px;
}

ul.down-menu li a {
  margin: auto;
}

/* integrazione dait.css per l'impaginazione dei risultati della ricerca*/

.region-content-top-second {
  padding: 10px 0;
  border-top: 1px solid #eee;
}

.region-content-top,
.region-content-top-second {
  margin-left: 0;
  background-color: #d6d6d6;
}

.current-search-item.current-search-item-text.current-search-item-risultato-ricerca,
.current-search-item.current-search-item-text.current-search-item-keywords {
  padding-left: 15px;
}

.current-search-item.current-search-item-text {
  line-height: 1;
  font-weight: 600;
}

.view-contenuti .views-row,
.view-contenuti-personalizzati .views-row {
  padding: 20px 0;
  border-bottom: 1px solid #c5c5c5;
  margin-left: 0;
  margin-right: 0;
}

.search-field .views-field-node-type span {
  color: #9d9d9d;
  font-weight: bold;
  text-transform: uppercase;
}

.view-contenuti span.field-content,
.view-contenuti-personalizzati span.field-content,
.view-decreti-di-insussistenza span.field-content,
.view-contenuti span.date-display-single,
.view-contenuti-personalizzati span.date-display-single,
.view-decreti-di-insussistenza span.date-display-single {
  font-size: 1.6rem;
}

.view-contenuti .views-row .views-field-node-title a,
.view-contenuti-personalizzati .views-row .views-field-node-title a,
.view-contenuti .views-row .views-field-node-field-oggetto-parere a,
.view-decreti-di-insussistenza .views-row .views-field-node-title a {
  font-size: 2.4rem;
  font-weight: bold;
}

@media screen and (min-width: 1551px) and (max-width: 1600px) {
  div#headerContainer nav.Megamenu.Megamenu--default li.Megamenu-item {
    margin: 0 15px;
  }
}

@media screen and (min-width: 1451px) and (max-width: 1550px) {
  div#headerContainer nav.Megamenu.Megamenu--default li.Megamenu-item {
    margin: 0 10px;
  }
}

@media screen and (max-width: 1450px) {
  div#headerContainer ul.Megamenu li.Megamenu-item a {
    font-size: 16px !important;
  }

  span#condividi {
    display: none;
  }

  div#socialContainer ul#socialMenuSmall li {
    width: 60px !important;
  }

  div#headerContainer nav.Megamenu.Megamenu--default li.Megamenu-item {
    margin: 0 5px;
  }
}

@media screen and (max-width: 1350px) {
  div#headerContainer nav.Megamenu.Megamenu--default li.Megamenu-item {
    margin: 0 0;
  }
}

@media screen and (max-width: 1240px) {
  div#logoContainer {
    margin: 10px 25px 0 10px;
  }
}

@media screen and (max-width: 1100px) {
  div#logoContainer {
    margin: 10px 25px 0 10px;
  }
}

@media screen and (max-width: 1209px) {
  div#headerContainer ul.Megamenu li.Megamenu-item a {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .Megamenu--default .Megamenu-list > li > a[aria-expanded="false"]:after,
  .Megamenu--default .Megamenu-list > li > a[aria-expanded="true"]:after {
    display: none;
  }

  div#headerContainer
    .Megamenu--default
    .Megamenu-list
    > li
    > a[aria-expanded="true"]:after {
    font-size: 1rem !important;
  }
}

/*@media screen and (max-width: 600px) {
    #descElez p {
        font-size: 4vw;
        padding-top: 3vw;
    }
}*/

/**** FINE MENU ****/

@media screen and (max-width: 1040px) {
  /*.li-menu {
    width: 155px;
  }*/
  .center-menu > li > a {
    width: 70px;
    font-size: 1rem;
  }

  .nav-top > li.active > a {
    font-size: 1.4rem;
    background: #496480;
  }

  .nav-top > li > a {
    color: white;
    font-size: 1.4rem;
  }

  .nav-top > li.active > a:hover {
    font-size: 1.4rem;
  }

  .nav-top > li > a:hover,
  .nav-top > li > a:focus {
    font-size: 1.4rem !important;
  }

  .center-menu > li {
    padding: 0px 5px;
  }

  .nav-social > li > a {
    font-size: 1.4rem;
  }

  .nav-social > li > a:hover {
    font-size: 1.4rem;
  }
}

@media screen and (max-width: 767px) {
  .box-live {
    top: 10px;
  }

  /* .box-title {
        top: 6px;
    } */
}

@media (min-width: 800px) and (max-width: 1040px) {
  .center-menu > li > a {
    width: 77px;
    font-size: 1.1rem;
  }

  .nav-top {
    /*   padding-top: 10px;*/
    margin: -6px -31px;
  }
}

@media (min-width: 1041px) and (max-width: 1239px) {
  .li-menu {
    width: 165px;
  }

  .nav-top > li.active > a {
    font-size: 1.4rem;
    background: #496480;
  }

  .nav-top > li > a {
    color: white;
    font-size: 1.4rem;
  }

  .nav-top > li.active > a:hover {
    font-size: 1.4rem;
  }

  .nav-top > li > a:hover,
  .nav-top > li > a:focus {
    font-size: 1.4rem;
  }

  .center-menu > li {
    padding: 0px 5px;
  }

  .nav-social > li > a {
    font-size: 1.4rem;
  }

  .nav-social > li > a:hover {
    font-size: 1.4rem;
  }
}

@media (min-width: 1240px) and (max-width: 1500px) {
  /*.li-menu {
    width: 185px;
  }*/
  /*.center-menu {
        margin: 0px -15px;
    }*/
  .nav-top > li.active > a {
    font-size: 1.6rem;
    background: #496480;
  }

  .nav-top > li > a {
    color: white;
    font-size: 1.6rem;
  }

  .nav-top > li.active > a:hover {
    font-size: 1.6rem;
  }

  .nav-top > li > a:hover,
  .nav-top > li > a:focus {
    font-size: 1.6rem;
  }

  .center-menu > li {
    padding: 0px 5px;
  }

  .nav-social > li > a {
    font-size: 1.6rem;
  }

  .nav-social > li > a:hover {
    font-size: 1.6rem;
  }

  /*.nav-social > li {
    width: 160px !important;
  }*/
}

@media (min-width: 1460px) and (max-width: 1609px) {
  .li-menu {
    width: 200px;
  }
}

@media (min-width: 1170px) and (max-width: 1199px) {
  .nav-social > li {
    width: 60px;
  }
}

@media screen and (max-width: 1170px) {
  .header-row {
    height: 69px;
  }

  .center-menu > li {
    padding: 0px 0px;
  }

  .center-menu {
    margin: 0px 0px;
  }

  .title-top > p {
    font-size: 1.6rem;
  }

  .sel-set {
    height: 20px;
    width: 100%;
    border-radius: 0px;
  }

  /*.nav-social > li,
  .nav-social > li:last-child {
    width: 60px;
  }*/
  .nav-social > li > a {
    width: 75px;
  }

  .li-social {
    /*width: 60px;*/
    height: 50px;
    text-align: center;
    background: #003366;
    margin-left: 16px;
  }

  ul.down-menu li a {
    padding: 8px;
  }

  .li-menu {
    /*width: 135px;*/
    height: auto;
    text-align: center;
  }

  .nav-top {
    /*   padding-top: 10px;*/
    margin: -6px -31px;
  }

  .nav-top > li > a {
    color: white;
    font-size: 1.4rem;
  }

  /*	.title-top p {
		padding-top: 8px;
   		font-size: 17px;
}*/
  .nav-top > li > a:hover {
    font-size: 1.4rem;
  }

  .nav-top > li.active {
    font-size: 1.4rem;
    font-weight: bold;
  }

  .nav-social > a:focus {
    color: white;
    font-size: 1.4rem;
    background: #003366;
  }

  .nav-social > li > a {
    color: white;
    font-size: 1.4rem;
    /*background:#003366 !important;*/
    background: transparent !important;
  }

  .nav-social > li > a:hover {
    color: white;
    font-size: 1.4rem;
    background: #003366;
  }

  .inmlive,
  .inmlive-disabled {
    /* margin: 8px 1px 2px; */
    height: 37px;
    width: 65px;
    background-repeat: no-repeat;
    float: left;
  }
}

@media screen and (max-width: 767px) {
  #socialMenuSmall {
    margin-top: 0;
  }
}

@media screen and (max-width: 640px) {
  .tab-dati {
    height: 350px;
    overflow: auto;
  }

  .nav-social > li > a {
    width: 60px;
  }

  .li-social {
    width: 60px;
    height: 50px;
    text-align: center;
    background: #003366;
    margin-left: 0px;
  }

  .li-menu {
    width: 50px;
  }

  .selct-mob {
    padding-top: 6px;
  }

  .select-menu {
    height: 20px;
    font-size: 12px;
    width: 100%;
    margin-bottom: 10px;
  }

  .select-des {
    /*height: 23px;*/
    font-size: 1.3rem;
    width: 100%;
    font-weight: bold;
    margin-top: 1px;
  }

  .li-social {
    width: 60px;
    height: 50px;
    text-align: center;
    background: #003366;
    margin-left: 0px;
  }
}

@media screen and (max-width: 500px) {
  .title-top p {
    color: white;
    margin-top: 0;
    white-space: nowrap;
    font-size: 1.4rem;
  }
}

@media screen and (min-height: 900px) {
  .my_scroll {
    /*height: 550px !important;*/
    overflow: auto !important;
  }
}

@media screen and (max-height: 760px) and (min-width: 520px) {
  .my_scroll {
    /*height: 400px !important;*/
    overflow: auto !important;
  }
}

@media screen and (max-width: 420px) {
  .paginaDeposito .my_scroll {
    /*height: 400px !important;*/
    overflow: auto !important;
  }
}

@media screen and (max-height: 520px) {
  .my_scroll {
    height: 100% !important;
    overflow: auto;
  }

  @media screen and (max-height: 422px) {
    .burger-wr > button.active {
      padding: 0px 54px 5px;
      outline: none;
    }
  }

  /* .my_scroll {
		-ms-overflow-y:auto;
    }*/
}

/*galleria immagini sala stampa con finsetre modali*/

.row-sreen-app {
  margin-top: 20px;
}

.row-sreen-app > div {
  margin-top: 20px;
}

/*#myImg,*/

.imgGallery {
  /*border-radius: 5px;*/
  cursor: pointer;
  transition: 0.3s;
  width: 100%;
}

/*#myImg:hover,*/

.imgGallery:hover {
  opacity: 0.7;
}

/* The Modal (background) */

.modal-grafici {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 101;
  /* Sit on top */
  padding-top: 100px;
  /* Location of the box */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.9);
  /* Black w/ opacity */
  /*margin-top:120px;*/
}

.modal-app {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 101;
  /* Sit on top */
  padding-top: 50px;
  /* Location of the box */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.9);
  /* Black w/ opacity */
  /*margin-top:120px;*/
}

/* Modal Content (image) */

.modal-content-grafici {
  margin: auto;
  display: block;
  width: 80%;
  /*max-width: 700px;*/
  max-width: 1000px;
}

.modal-content-app {
  margin: auto;
  display: block;
  width: 50%;
  max-width: 500px;
  /*max-height: 1000px;*/
}

/* Caption of Modal Image */

#caption-grafici {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation */

.modal-content-grafici,
#caption-grafici {
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {
    -webkit-transform: scale(0);
  }

  to {
    -webkit-transform: scale(1);
  }
}

@keyframes zoom {
  from {
    transform: scale(0);
  }

  to {
    transform: scale(1);
  }
}

/* The Close Button */

.close-grafici {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  opacity: 1;
}

.close-grafici:hover,
.close-grafici:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */

@media only screen and (max-width: 700px) {
  .modal-content-grafici,
  .modal-content-app {
    width: 100%;
  }
}

/*SALASTAMPA*/

.btn.btn-tab-gallery {
  border-radius: 0;
  width: 100%;
  padding: 20px 0;
  font-size: 2rem;
  font-weight: bold;
  /*border:0 !important;*/
  border-top: none;
  border-left: none;
  border-bottom: none;
  border-right: 5px solid #ddd;
  color: #5a6772;
}

.btn-tab-gallery:focus,
.btn-tab-gallery:active {
  border-right: 5px solid #67b7f9;
  background-color: transparent;
  color: #1c2024;
}

.nav-pills-gallery > li {
  width: 100%;
}

.nav-pills-gallery > li > a {
  border-radius: 0;
  padding: 20px 0;
  font-size: 2rem;
  font-weight: bold;
  /*border:0 !important;*/
  border-top: none;
  border-left: none;
  border-bottom: none;
  border-right: 5px solid #ddd;
  color: #5a6772;
}

.nav-pills-gallery > li.active > a {
  border-right: 5px solid #67b7f9;
  background-color: #fff;
  color: #1c2024;
}

.nav-pills-gallery > li + li {
  margin-left: 0;
}

.nav-pills-gallery > li > a:focus,
.nav-pills-gallery > li > a:hover,
.nav-pills-gallery > li.active > a:focus,
.nav-pills-gallery > li.active > a:hover {
  color: #1c2024;
  background-color: #fff;
}
