@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,300italic,regular,italic,600,600italic,700,700italic,800,800italic);

/* TAGS */ 
html {
  scroll-behavior: smooth;
}
body {
  font-size:15px;
  line-height:150%;
  margin:0;
  text-align:center;
  background:#FFF;
  font-family: 'Open Sans', sans-serif;
  color:#111;
}
@media all and (max-width: 900px) { body { overflow-x:hidden; } }
@media all and (max-width: 480px) { body { font-size:14px; line-height:20px; } }
div {
  position:relative;
  text-align:left;
}
p {
  margin-top:14px;
  margin-bottom:14px;
  padding:0;
}
td {
  padding:4px;
}
h1, h2,h3,h4,h5 {
  font-family: 'Open Sans', sans-serif;
  font-weight:normal;
}
h1 {
  font-size:33px;
  line-height:33px;
  margin:15px 0;
  
}
h2 {
  font-size:33px;
  line-height:33px;
  margin:15px 0;
}
h3 {
  font-size:25px;
  line-height:28px;
}
h4 {
  font-size:18px;
  margin:15px 0;
}
h5 {
  font-weight:bold;
  font-size:21px;
  line-height:22px;
  margin:10px 0;
}
big {
  font-size:120%;
}
small, .small {
  font-size:80%;
}
img {
  border:0;
}
a {
  color:#e91f26;
  text-decoration:none;
  -webkit-transition: all 0.2s ease-in-out 0.1s;
  -moz-transition: all 0.2s ease-in-out 0.1s;
  -o-transition: all 0.2s ease-in-out 0.1s;
  -ms-transition: all 0.2s ease-in-out 0.1s;
  transition: all 0.2s ease-in-out 0.1s;
}
a:hover {
  text-decoration:underline;
}
a:focus {
  outline:0;
}
a.hover-img:hover {
  filter:alpha(opacity=70);
  opacity:0.7;
}
hr {
  border:1px solid transparent;
  border-top:1px solid #CCC;
  margin:20px 0;
}
input, textarea, select {
  border:1px solid #AAA;
  background:#FFF;
  color:#333;
  padding:5px;
  -webkit-box-shadow: 0 0 5px #CCC;
  -moz-box-shadow: 0 0 5px #CCC;
  box-shadow: 0 0 5px #CCC;
  -ms-box-sizing:content-box;
  -moz-box-sizing:content-box;
  -webkit-box-sizing:content-box; 
  box-sizing:content-box;
}
input:hover, textarea:hover, select:hover {
  border:1px solid #000;
  background:#fbefc5;
} 
input:invalid, textarea:invalid, select:invalid {
  border:1px solid #C00;
}
input.submit {
  background:#FC3;
  color:#000;
  cursor:pointer;
  padding:7px 25px;
  font-family: 'Open Sans', sans-serif;
  font-size:20px;
  -moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}
input.submit2 {
  background:#e91f26;
  color:#FFF;
  cursor:pointer;
  padding:7px 25px;
  font-family: 'Open Sans', sans-serif;
  font-size:20px;
  -moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}
input.submit:hover,
input.submit2:hover {
  border:1px solid #000;
  background:#F90;
}
textarea {
  padding:2px;
}
select {
  cursor:pointer;
}

/* ELEMENTI LAYOUT */
div#preload {display:none;background:#FFF;position:absolute;top:0;left:0;z-index:99999999999999;width:100%;height:100vh;background:rgba(255,255,255,0.8) url(../images/loading2.gif) no-repeat center center; }
div#logo { width:30%; float:left; }
@media all and (max-width: 980px) { div#logo { width:100%; float:none; } }
div#logo * { text-align: left; }
@media all and (max-width: 980px) { div#logo * { text-align:center; } }

div#box_menu_Homepage { width:69%; float:right; }
@media all and (max-width: 980px) { div#box_menu_Homepage { width:100%; float:none; } }

div#box_menu_Homepage #menu { padding-top:33px; width:75%; float:left; }
@media all and (max-width: 980px) { div#box_menu_Homepage #menu { padding-top:0px !important; } }
@media all and (max-width: 768px) { div#box_menu_Homepage #menu { padding-top:0px; border-top:1px solid #DDD; width:100%; float:none; } }

div#box_menu_Homepage #boxetto_menu_lingua { width:25%; float:left; }
@media all and (max-width: 768px) { div#box_menu_Homepage #boxetto_menu_lingua { width:100%; float:none; } }

div#box_menu_Homepage #menu_lingua { margin-top:33px !important; margin-right:10px; }
@media all and (max-width: 980px) { div#box_menu_Homepage #menu_lingua { margin-top:0px !important; } }
@media all and (max-width: 768px) { div#box_menu_Homepage #menu_lingua { margin-right:0px !important; } }

div#box_menu_Pagine { width:69%; float:right; margin-top:10px; }
@media all and (max-width: 980px) { div#box_menu_Pagine { margin-top:0px; width:100%; float:none; } }

div#box_menu_Pagine div#contenitoreTop { display:block; float:right; }
@media all and (max-width: 980px) { div#box_menu_Pagine div#contenitoreTop { background:#CCC; display:block; float:none; } }

div#box_menu_Pagine #boxetto_ricerca { width:35%; background:#f79431; display:table-cell; vertical-align:middle; padding:0 10px; color:#FFF; }
@media all and (max-width: 768px) { div#box_menu_Pagine #boxetto_ricerca { display:block; width:98%; float:none; padding:1%; } }
div#box_menu_Pagine #boxetto_ricerca input { width:85%; font-family: 'Open Sans', sans-serif; font-size:15px; font-weight:bold; text-transform:uppercase; border:0; background:transparent; -webkit-box-shadow:0 0 0 0; -moz-box-shadow:0 0 0 0; box-shadow:0 0 0 0; color:#FFF; }
div#box_menu_Pagine #boxetto_ricerca input::-webkit-input-placeholder { color:#FFF; opacity:1 !important; }
div#box_menu_Pagine #boxetto_ricerca input:-moz-placeholder { color:#FFF; }
div#box_menu_Pagine #boxetto_ricerca input::-moz-placeholder { color:#FFF; }
div#box_menu_Pagine #boxetto_ricerca input:-ms-input-placeholder { color:#FFF; }
div#box_menu_Pagine #boxetto_ricerca input[placeholder] { color:#FFF; }
div#box_menu_Pagine #boxetto_ricerca input:focus { border:0;outline:0; }
div#box_menu_Pagine #boxetto_ricerca a { position:relative; top:3px; color:#FFF; float:right; padding-right:5px; }

div#box_menu_Pagine #boxetto_menu_lingua { display:table-cell; }
@media all and (max-width: 768px) { div#box_menu_Pagine #boxetto_menu_lingua { display:block; width:100%; float:none; } }
div#box_menu_Pagine #menu_lingua { top:1px; z-index:111; }

div#box_menu_Pagine #link { display:table-cell; vertical-align:middle; background:#ee332d; padding:0 8px; }
div#box_menu_Pagine #link a { color:#FFF; padding:0 5px; font-size:15px; }

div#box_menu_Pagine #social-icon { display:table-cell; vertical-align:middle; }
div#box_menu_Pagine #social-icon a img { width:40px; height:40px; float:left; }

div#box_menu_Pagine .spazio { height:15px !important;background:#FFF; }
@media all and (max-width: 768px) { div#box_menu_Pagine .spazio { height:0; } }

div#immagine-testata {
  overflow:hidden;
  margin:0;
  padding:0;
}
div#immagine-testata img {
  min-width:600px;
  float:left;
}
div#immagine-testata-descrizione {
  position:absolute;
  top:25%;
  right:10%;
  max-width:320px;
  padding:15px 50px 17px 20px;
  background:#efeeee url('../images/freccia-rossa.jpg') no-repeat right center;
  color:#000;
  font-size:110%;
}
@media all and (max-width: 768px) {
    div#immagine-testata-descrizione {
      top:auto;
      bottom:20%;
      right:15%;
      padding:10px 50px 12px 15px;
      font-size:16px;
      line-height:22px;
    }
}
@media all and (max-width: 480px) {
    div#immagine-testata-descrizione {
      bottom:12%;
      right:12%;
      padding:7px 50px 9px 12px;
      font-size:14px;
      line-height:20px;
    }
}

div#contatto_immediato {
  background:#e91f26;
  color:#FFF;
  text-align:center;
  padding:13px;
  font-size:30px;
  line-height:30px;
  -webkit-transition: all 0.2s ease-in-out 0.1s;
  -moz-transition: all 0.2s ease-in-out 0.1s;
  -o-transition: all 0.2s ease-in-out 0.1s;
  -ms-transition: all 0.2s ease-in-out 0.1s;
  transition: all 0.2s ease-in-out 0.1s;
}
div#contatto_immediato:hover {
  background:#FFF;
  color:#e91f26;
}
@media all and (max-width: 768px) {
    div#contatto_immediato {
      font-size:22px;
      line-height:22px;
    }
}
@media all and (max-width: 400px) {
    div#contatto_immediato {
      font-size:17px;
      line-height:17px;
    }
}
div#contatto_immediato i,
div#contatto_immediato b {
  margin:0 5px;
}

div#breadcrumb {
  font-size:80%;
  text-transform:uppercase;
  padding:10px 15px;
}
div#breadcrumb a {
  /*color:#f79431;*/
}

div#footer {
  background:#45484a;
  color:#FFFFFF;
  padding:10px;
  font-size:14px;
  line-height:24px;
}
div#footer a {
  color:#FFFFFF;
}

div#messaggio_form {
  border:1px solid #000;
  padding:10px;
  margin:15px 0;
  background:#F8F7F8;
  font-weight:bold;
} 

#goTop, #goBack {
  position: fixed;
  bottom: -120px;
  right: 30px;
  z-index: 99999999999;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: #000;
  background-color:rgba(0,0,0,0.9);
  color: #FFF;
  cursor: pointer;
  padding: 10px 15px;
  border-radius: 4px; 
  -webkit-transition: all 0.2s ease-in-out 0.1s;
  -moz-transition: all 0.2s ease-in-out 0.1s;
  -o-transition: all 0.2s ease-in-out 0.1s;
  -ms-transition: all 0.2s ease-in-out 0.1s;
  transition: all 0.2s ease-in-out 0.1s;
}
#goBack {
  right: 81px;
}
#goBack:hover, #goTop:hover {
  background-color: #333; 
  background-color:rgba(0,0,0,0.8); 
  color: #DDD;
}

/* CLASSI */
.left {
  float:left;
  margin-right:10px;
}
.right {
  float:right;
  margin-left:10px;
}
@media screen and (max-width: 768px) {
    .left, .right {
      float:none;
      margin:none;
      display:block;
    }
}
.align-left {
  text-align:left;
}
.align-right {
  text-align:right;
}
.center {
  text-align:center;
}
.justify {
  text-align:justify;
}
.icon {
  position:relative;
  top:3px;
}
#menu_lingua .icon {
  margin-right:2px;
}
.block {
  display:block;
}
.clear {
  clear:both;
}
.spazio {
  height:15px !important;
}
.link {
  cursor:pointer;
}
.link-lingua {
  margin:4px;
  padding:0 4px;
  line-height:170%;
}
.link-lingua:hover {
  background:#EEE;
  text-decoration:none;
  color:#000;
}
.move {
  cursor:move;
}
.nascosto {
  display:none;
} 
.visibile-mobile {
  display:none;
}    
@media screen and (max-width: 768px) {
    .nascosto-mobile {
      display:none !important;
    }
    .visibile-mobile {
      display:inline;
    } 
    tr.visibile-mobile {
      display:table-row;
    }
    .center-mobile {
      text-align:center;
    }
    .left-mobile {
      text-align:left;
    }
}
.hidden {
  visibility:hidden;
}
.senzabordo {
  border:0;
}
.bianco {
  color:#FFF !important;
}
.nero {
  color:#000 !important;
}
.grigio {
  color:#555 !important;
}
.celeste {
  color:#36F !important;
}
.blu {
  color:#00F !important;
}
.rosso {
  color:#e91f26 !important;
}
.giallo {
  color:#FC0 !important;
}
.arancio {
  color:#F60 !important;
}
.verde {
  color:#026a00 !important;
}
.viola {
  color:#60F !important;
}

.sfondo_rosso {
  background:#e91f26;
}
.sfondo_grigio {
  background:#f0f0f0;
}
.sfondo_azzurro {
  background:#3f81c4;
}

.smussato {
  -moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.container {
	max-width:1280px;
	margin:auto;
}

.margintop20 {
  margin-top:20px;
}
.padding15 {
  padding:15px;
}
.padding30 {
  padding:30px;
}

.img-responsive {
	max-width:100%;
}

.mezzo, .mezzo_sempre {
	float:left;
	width:50%;
}
.un_terzo, .un_terzo_sempre {
	float:left;
	width:33.3%;
}
.due_terzi {
	float:left;
	width:66%;
}
.un_quarto, .un_quarto_sempre {
	float:left;
	width:25%;
}
.un_quinto {
	float:left;
	width:20%;
}
.un_sesto {
	float:left;
	width:16.6%;
}
.tre_quarti {
	float:left;
	width:75%;
}
@media screen and (max-width: 1024px) {
    .un_sesto {
        width:20%;
    }
}
@media screen and (max-width: 768px) {
    .mezzo, .un_terzo, .due_terzi {
        float:none;
        width:100%;
    }
    .un_quarto, .tre_quarti, .un_quinto {
        width:50%;
    }
    .un_sesto {
        width:25%;
    }
}
@media screen and (max-width: 480px) {
    .un_quarto, .tre_quarti, .un_quinto {
        float:none;
        width:100%;
    }
    .un_sesto {
        width:33%;
    }
}
@media screen and (max-width:330px) {
    .un_sesto {
        width:50%;
    }
}
.mezzo_big {
	float:left;
	width:50%;
}
@media screen and (max-width: 990px) {
    .mezzo_big {
    	float:none;
    	width:100%;
    }
}

.bordo_bianco {
  border:1px solid #FFF;
}
.border-left {
  border-left:2px solid #CCC;
}
@media screen and (max-width: 768px) {
    .border-left {
      border-left:0;
    }
}

.more {
  color:#FFF;
  padding:4px 17px;
  background:#FFF;
  text-decoration:none;
  border:2px solid #e91f26;
  color:#e91f26;
  display:table-cell;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.more:hover {
  text-decoration:none;
  background:#45484a;
  border:2px solid #45484a;
  color:#FFF;
}

.titolo_rosso {
  display:block;
  background:#e91f26;
  color:#FFF;
  text-align:center;
  padding:13px;
}
.titolo_grigio {
  display:block;
  background:#999;
  color:#FFF;
  text-align:center;
  padding:13px;
}
.titolo_azzurro {
  display:block;
  background:#3f81c4;
  color:#FFF;
  text-align:center;
  padding:13px;
}
.titolo_arancione {
  display:block;
  background:#f79431;
  color:#FFF;
  text-align:center;
  padding:13px;
}
.titolo_nero {
  display:block;
  background:#000;
  color:#FFF;
  text-align:center;
  padding:13px;
}

.uppercase {
  text-transform:uppercase;
}

.social-icon {
  width:30px;
  vertical-align:middle;
  margin:1px;
}

/* PAGINA CATEGORIE */

table.categorie,
table.categorie tr,
table.categorie td {
  margin:0;
  padding:0;
  width:100%;
}
table.categorie td {
  width:33.3%;
}
@media screen and (max-width: 768px) {
    table.categorie td {
      display:block;
      width:100%;
    }
}

.box-categoria {
  border:1px solid #FFF;
  border-top:0;
  margin:0;
  padding:0;
}
.box-categoria,
.box-categoria * {
  -webkit-transition: all 0.2s ease-in-out 0.1s;
  -moz-transition: all 0.2s ease-in-out 0.1s;
  -o-transition: all 0.2s ease-in-out 0.1s;
  -ms-transition: all 0.2s ease-in-out 0.1s;
  transition: all 0.2s ease-in-out 0.1s;
}
.box-categoria .titolo_rosso {
  display:block;
  padding:10px;
  font-size:16px;
  line-height:18px;
  height:38px;
}
.box-categoria:hover .titolo_rosso,
.box-categoria.selected .titolo_rosso {
  background:#FFF;
  color:#e91f26;
}
@media screen and (max-width: 768px) {
    .box-categoria .titolo_rosso {
      height:auto;
    }
}
.box-categoria img {
  float:left;
  width:100%;
  filter:alpha(opacity=50);
  opacity:0.5;
}
.box-categoria:hover img,
.box-categoria.selected img {
  filter:none;
  opacity:1;
}
@media screen and (max-width: 990px) {
    .box-categoria img {
      filter:alpha(opacity=80);
      opacity:0.8;
    }
}
.box-categoria a:hover {
  text-decoration:none;
}

.box-categoria h2.titolo_nero {
  padding:10px;
  font-size:17px;
  line-height:19px;
  height:38px;
  margin:0;
  color:#000;
  text-transform:uppercase;
  text-align:center;
}
.box-categoria .link_rosso {
  clear:both;
  height:auto;
}
.box-categoria .testo {
  text-align:center;
  color:#000;
  font-size:90%;
  line-height:120%;
  padding:2px 0;
  height:46px;
  overflow:hidden;
  display:block;
  clear:both;
}

.box-prodotto,
.box-prodotto * { 
  -webkit-transition: all 0.2s ease-in-out 0.1s;
  -moz-transition: all 0.2s ease-in-out 0.1s;
  -o-transition: all 0.2s ease-in-out 0.1s;
  -ms-transition: all 0.2s ease-in-out 0.1s;
  transition: all 0.2s ease-in-out 0.1s;
}
.box-prodotto:hover { 
  background:#F5F5F5; 
}
.box-prodotto img {
  width:100%;
}
.box-prodotto div.testi {
  height:98px;
  overflow:hidden;
}
.box-prodotto h2 {
  text-align:center;
  margin:3px 0;
  font-size:15px;
  font-weight:bold;
  line-height:19px;
  text-transform:uppercase;
}
.box-prodotto p {
  text-align:center;
  color:#111;
  font-size:14px;
  line-height:17px;
  margin:0;
  margin-bottom:10px;
}
.box-prodotto a,
.box-prodotto a:hover {
  text-decoration:none;
}
.box-prodotto .link_rosso {
  padding:7px;
  border-top:2px solid #FFF;
}
.box-prodotto a:hover .link_rosso {
  border-top:2px solid #EFEFEF;
  background:#DDD;    
  color:#000;
}

.no-filter {
  filter:none !important;
  opacity:1 !important;
}


/* PRODOTTO */

.thumb {
  width:92%;
  padding:0 4%;
}

.icona-pdf {
  vertical-align:middle;
  height:50px;
  margin-right:10px;
}
.icona-flags {
  vertical-align:middle !important;
  width:16px !important;
  height:16px !important;
  margin:0;
  margin-right:5px !important;
  padding:0 !important;
  float:none !important;
}
@media screen and (max-width: 480px) {
  .icona-flags {
    margin-bottom:0px !important;
  }
}

.caption {
  font-size:80%;
  line-height:120%;
  margin-top:4px;
}

@media screen and (max-width: 480px) {
    .img-full-480 {
      width:100%;
      height:auto;
    }
    .justify-480 {
      text-align:justify;
    }
}


.modulo .un_terzo,
.modulo .due_terzi {
  margin:8px 0;
}
.modulo .due_terzi input,
.modulo .due_terzi textarea {
  width:90%;
  resize:vertical;
}
.modulo .due_terzi select {
  max-width:90%;
}
.modulo .step2 {
  display:none;
}

.ui-menu-item > a.ui-corner-all {
    display: block;
    padding: 3px 15px;
    clear: both;
    font-weight: normal;
    line-height: 18px;
    font-size:14px;
    color: #555555;
    white-space: nowrap;
    text-decoration: none;
    text-align:left;
    border-radius: 0px !important;
}
.ui-menu-item > a.ui-corner-all:hover {
    background-image: none;
}
.ui-menu-item > a.ui-corner-all img {
    vertical-align:middle;
    margin-right:6px;
}

/* TEAM */
.linea-rossa {
  border-bottom:2px solid #e91f26;
  margin-top:25px;
  margin-left:2%;
  margin-right:2%;
  margin-bottom:15px;
}

.box-identity {
  padding:2%;
  clear:both;
  margin-top:15px;
}
.box-identity img {
  width:40%;
  margin-right:4%;
  float:left;
}
@media screen and (max-width: 480px) {
  .box-identity img {
    width:100%;
    margin-right:0;
    float:none;
    margin-bottom:15px;
  }
}
.box-identity h4 {
  font-weight:bold;
  text-transform:uppercase;
  margin-top:0;
}

.box-info-sede {
}
.map-sede {
  position:relative;
  top:-1px;
  background:#F9F9F9 url(../images/loading.gif) no-repeat center center;
}
.iframe-youtube {
  background:#000 url(../images/loading.gif) no-repeat center center;
}

.ui-autocomplete {
    max-height:300px;
    overflow:auto;
}

.pulsante_scala_system {
  z-index:10;
  position:relative;
}
@media screen and (max-width: 768px) {
    .pulsante_scala_system {
      margin-top:15px;
    }
}

.pulsante_configuratore {
  display:block;
  background:#e91f26;
  color:#FFF;
  width:auto;
  max-width:250px;
  text-align:center;
  float:right;
  padding:13px 20px;
  margin-left:20px;
  z-index:10;
  font-weight:bold;
  position:relative;
  text-decoration:none;
}
.pulsante_configuratore:hover {
  background:#EEE;
  color:#e91f26;
  text-decoration:none;
}
@media screen and (max-width: 768px) {
    .pulsante_configuratore {
      width:100%; 
      max-width:100%;
      float:none;
      margin:20px 0;
      padding:13px 0;
    }
}

.pulsante_team {
  background:#e91f26;
  color:#FFF;
  padding:8px 16px;
  margin:20px 0;
  z-index:10;
  font-weight:bold;
  position:relative;
  text-decoration:none;
  line-height:25px;
  -moz-border-radius:2px;
	-webkit-border-radius:2px;
	border-radius:2px;
}
.pulsante_team img {
  width:25px !important;
  margin:0 !important;
  float:none;
  position:relative;
  top:2px;
}
.pulsante_team:hover {
  background:#FFF;
  color:#e91f26;
  text-decoration:none;
}  
@media screen and (max-width:400px) {
    .pulsante_team {   
        display:block;
        width:100%;
        padding:8px 0;
        margin:0;
        text-align:center;
    }
}

.pulsante_prodotti_standard {
  position:fixed !important;
  bottom:9px;
  right:10px;
}
@media screen and (max-width:990px) {
    .pulsante_prodotti_standard {
      position:fixed !important;
      bottom:9px;
      left:10px;
      right:auto;
    }
}


@media screen and (max-width: 999px) {
    #footer .un_quinto {
        width:33%;
    }
}
@media screen and (max-width: 640px) {
    #footer .un_quinto {
        width:50%;
    }
    #footer .spazio-mobile {
        height:30px;
    }
}
@media screen and (max-width: 480px) {
    #footer .un_quinto {
        width:100%;
        float:none;
    }
    #footer .icona {
        width:30px;
        float:left !important;
        margin:1px;
    }
}

.thumb_quadro {
  width:89%;
  padding:2%;
  margin:2%;
  border:1px solid #DDD;
  background:#FFF;
  -moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
  -webkit-transition: all 0.2s ease-in-out 0.1s;
  -moz-transition: all 0.2s ease-in-out 0.1s;
  -o-transition: all 0.2s ease-in-out 0.1s;
  -ms-transition: all 0.2s ease-in-out 0.1s;
  transition: all 0.2s ease-in-out 0.1s;
}
@media screen and (max-width: 480px) {
    .thumb_quadro {
      width:93%;
      margin:2% 0;
    }
}
.thumb_quadro:hover {
  border:1px solid #999;
  filter:alpha(opacity=70);
  opacity:0.7;
}
@media screen and (min-width: 769px) {
    .thumb_quadro:hover {
      filter:none;
      opacity:1;
      border:0;
      -webkit-transform: scale(1.2,1.2);
      -moz-transform: scale(1.2,1.2);
      -o-transform: scale(1.2,1.2);
      -ms-transform: scale(1.2,1.2);
      transform: scale(1.2,1.2);
      z-index:2;
      box-shadow:  1px  1px 2px #bbb,
                  -1px -1px 2px #bbb,
                   1px -1px 2px #bbb,
                  -1px  1px 2px #bbb;
      -webkit-box-shadow:  1px  1px 2px #bbb,
                          -1px -1px 2px #bbb,
                           1px -1px 2px #bbb,
                          -1px  1px 2px #bbb;
    }
}

.logo_referenze {
  border:1px solid #EEE;
  margin-top:5px;
  margin-bottom:20px;
  padding:3px;
}

.testo-banner-fiere-home {
  margin-top:100px;
  text-align:center;
}
@media screen and (max-width: 768px) {
    .testo-banner-fiere-home {
      margin:20px 10px;
    }
}

.video-home {
  width:100%;
  height:360px;
}
@media screen and (max-width: 1240px) {
  .video-home { height:320px; }
}
@media screen and (max-width: 1024px) {
  .video-home { height:280px; }
}
@media screen and (max-width: 768px) {
  .video-home { height:320px; }
}

table.manuali {display:block;width:100%;margin:0;padding:0;margin-bottom:20px;}
table.manuali td {border-bottom:1px solid #EEE}
@media screen and (max-width:480px) { table.manuali td {width:100%;display:block;}}

table.legenda {width:100%;min-width:100%;margin:0;padding:0;margin-bottom:20px;}
table.legenda td {border-bottom:1px solid #EEE;padding:4px 9px;}

.pagination {
  display: inline-block;
  padding: 0;
  margin: 8px 0;
}
.pagination li {
  display: inline;
}
.pagination a {
  color: black;
  float: left;
  padding: 8px 15px;
  text-decoration: none; 
  background-color: #EFEFEF;
  border-right:1px solid #FFF;
}
.pagination a:hover {
  background-color: #DDD;
}
.pagination a.active,
.pagination a.active:hover {
  color: #fff !important;
  background-color: #e91f26 !important;
  cursor:text;
}

.popup {
  position:fixed;
  top:0;
  left:0;
  height:100%;
  width:100%;
  overflow:auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.7);
  z-index:1000000;
  display:none;
  text-align:center;
}
.popup .container {
  background:#FFF;
  margin:10px auto;
}
.close {
    position: fixed;
    top: 15px;
    right: 35px;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.7);
    color: #FFF;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}
.close:hover,
.close:focus {
    color: #f00;
    text-decoration: none;
    cursor: pointer;
}
