@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 { font-size:14px; line-height:20px; overflow-x:hidden; } }
@media all and (max-width: 480px) { body { font-size:13px; line-height:18px; } }
div {
  position:relative;
  text-align:left;
}
p {
  margin-top:14px;
  margin-bottom:14px;
  padding:0;
}
td {
  padding:4px 5px;
  -webkit-transition: all 0.1s ease-in-out 0.1s;
  -moz-transition: all 0.1s ease-in-out 0.1s;
  -o-transition: all 0.1s ease-in-out 0.1s;
  -ms-transition: all 0.1s ease-in-out 0.1s;
  transition: all 0.1s ease-in-out 0.1s;
}
h1, h2,h3,h4,h5 {
  font-family: 'Open Sans', sans-serif;
  font-weight:normal;
}
h1 {
  font-size:33px;
  line-height:33px;
  margin:20px 0;
}
h2 {
  font-size:33px;
  line-height:33px;
  margin:15px 0;
}
@media all and (max-width: 480px) { h1,h2 { font-size:24px; line-height:26px; 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;
}
hr.grosso {
  border:1px solid transparent;
  border-top:6px solid #CCC;
  margin:25px 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;
} 
input.reset {
  background:#AAA;
  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.reset:hover {
  border:1px solid #000;
  background:#909090;
} 
textarea {
  padding:2px;
  resize:vertical;
}
select {
  cursor:pointer;
}
select option[value=""] {
  color: #999999;
}
table {
  width:100%;
}
fieldset {
  background:rgba(0,0,0,0.02);
  border:2px solid #efd690;
  padding:5px 10px 10px 10px;
}
legend {
  margin-bottom:0px;
  margin-left:0px;
  padding:0 10px;
}

/* 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#footer .container {
  padding-bottom: 0px;
}

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 */
.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 {   
  background: #e91f26;
  border: 1px solid #FFF;
  font-family: 'Open Sans', sans-serif;
  font-weight: normal;
  font-size: 16px;
  line-height: 16px;
  color: #FFF;
  text-align: center;
  margin: 10px auto;
  padding: 10px 28px;
  position: relative;
  cursor: pointer;
  -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;
}
.more:hover {
  text-decoration:none;
  background:#45484a;
  color:#FFF;
} 
@media screen and (max-width: 480px) {
    .more {   
      font-size: 13px;
      line-height: 13px;
    }
}

.titolo_grigio,
.titolo_rosso,
.titolo_azzurro,
.titolo_nero,
.titolo_verde {
  display:block;
  padding:15px;
  font-family: 'Open Sans', sans-serif;
  font-weight: normal;
  font-size:22px;
  line-height:22px;
  text-align:center; 
  color:#FFF;
}
.titolo_rosso {
  background:#e91f26;
}
.titolo_grigio {
  background:#999;
}
.titolo_azzurro {
  background:#3f81c4;
}
.titolo_nero {
  background:#000;
}
.titolo_verde {
  background:#083;
}
@media all and (max-width:480px) {
  .titolo_grigio,
  .titolo_rosso,
  .titolo_azzurro,
  .titolo_nero,
  .titolo_verde {
    font-size:16px;
    line-height:18px;
    padding:16px 12px;
  }
}

td.titolo_rosso {
  display:table-cell;
}

.accordion {
  margin-bottom:10px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.panel {
  margin-bottom:10px;
}
.range, .range:hover {
  border:0;
  display:block;
  width:98%;
  margin:0 0 10px 0;
  padding:0 1%;
  background:#f6f6f6;
  -webkit-box-shadow:none;
  -moz-box-shadow:none;
  box-shadow:none;
  position:relative;
  top:4px;
  cursor:pointer;
}        
.riquadro_selezionabile,
.riquadro_selezionabile * {
  -webkit-transition: all 0.1s ease-in-out 0.1s;
  -moz-transition: all 0.1s ease-in-out 0.1s;
  -o-transition: all 0.1s ease-in-out 0.1s;
  -ms-transition: all 0.1s ease-in-out 0.1s;
  transition: all 0.1s ease-in-out 0.1s;
}
.riquadro_selezionabile {
  font-weight:normal;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  margin-bottom:10px;
}
.riquadro_selezionabile:hover {
  background:#F9F9F9;
}
.riquadro_selezionabile.selected,
.riquadro_selezionabile label.selected {
  font-weight:bold;
  background:#ffe9a3;
}
.riquadro_selezionabile div {
  cursor:pointer;
  padding:10px;
  text-align:center;
}
.riquadro_selezionabile label {
  cursor:pointer;
}
.riquadro_selezionabile img.foto {
  width:96%;
  margin:2%;
  opacity:0.8;
}
.riquadro_selezionabile.selected img.foto,
.riquadro_selezionabile label.selected img.foto {
  width:100%;
  margin:0;
  opacity:1;
}
.prezzo {
  background:#FF0;
  padding:0 4px;
}
.input-quantita {
  width: 50px;
  padding:2px;
}
input.campo, select.campo, textarea.campo {
  padding:9px;
  margin:8px 1% 15px 1%;
  width:300px;
}
@media all and (max-width:480px) {
  input.campo, select.campo, textarea.campo {
    padding:9px 2%;
    width:88%;
  }
}
  
.uppercase {
  text-transform:uppercase;
}

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

.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 {
  display: block;
  background: #e91f26;
  border: 1px solid #FFF;
  font-family: 'Open Sans', sans-serif;
  font-weight: normal;
  font-size: 22px;
  line-height: 22px;
  color: #FFF;
  text-align: center;
  margin: 10px auto;
  padding: 12px 30px;
  position: relative;
  cursor: pointer;
  -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;
}
.pulsante:hover {
  background: #F9F9F9;
  color: #e91f26;
  border: 1px solid #e91f26;
}
@media all and (max-width: 480px) { .pulsante { font-size:20px;line-height:20px; } }
@media all and (max-width: 320px) { .pulsante { font-size:18px;line-height:18px; } }

.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;
    }
}


@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;}

table.nc {}
table.nc td {padding:3px 0;vertical-align:top;line-height:1.1;}

table.responsive {width:100%;min-width:100%;}
@media screen and (max-width: 480px) {
  table.responsive td { display:block;width:100%;padding:3px 0;text-indent:4px; }
}

table.resi, table.resi_top {
    border-collapse: collapse;
    margin:auto;
    margin-bottom:40px;
}
table.resi_top, table.resi_top th, table.resi_top td,
table.resi, table.resi th, table.resi td {
    border: 1px solid #ddd;
}
table.resi th, table.resi td {
    padding: 10px 12px;
    text-align: center;
}
table.resi th {
    background-color: #3f81c4;
    color: white;
}
table.resi tr:nth-child(even) {
    background-color: #f2f2f2;
}
table.resi_top th, table.resi_top td {
    padding: 10px 12px;
    text-align: left;
} 
table.resi_top td,
table.resi td {
    background-color: #FCFCFC;
}
/* Stile responsive per dispositivi mobili */
@media only screen and (max-width: 768px) {
    table.resi, table.resi thead, table.resi tbody, table.resi th, table.resi td, table.resi tr {
        display: block;
    }
    table.resi thead tr {
        display: none; /* Nascondi intestazioni su schermi piccoli */
    }
    table.resi tr {
        margin-bottom: 20px;
        /*
        border: 1px solid #ddd;
        padding: 10px;
        border-radius: 8px;
        */
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }
    table.resi td {
        display: block;
        text-align: right;
        padding-left: 50%;
        position: relative;
    }
    table.resi td::before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 45%;
        padding-left: 10px;
        font-weight: bold;
        text-align: left;
    }
    table.resi td:last-child {
        margin-bottom: 10px;
    }
}
table.resi_top th {
    background-color: #CCC;
}
table.resi_top tr.sfondo_grigio td, table.resi tr.sfondo_grigio td,
table.resi_top td.sfondo_grigio, table.resi td.sfondo_grigio {
  background-color: #D6D6D6;
}
table.resi_top tr.sfondo_giallo td, table.resi tr.sfondo_giallo td,
table.resi_top td.sfondo_giallo, table.resi td.sfondo_giallo {
  background-color: #FF9;
}
.tasto_fase {
  background:#e91f26;
  font-size:14px;
  padding:5px;
  line-height:17px;
  cursor:pointer;
}
.tasto_fase:hover {
  background:#222;
}
.tasto_fase_disabilitato {
  background:#F0F0F0;
  font-size:12px;
  padding:5px;
  line-height:15px;
  padding:0; 
}
.tasto_fase_disabilitato b {
  background:#F0F0F0;
  font-size:13px;
  padding:5px;
  line-height:15px;
  padding:0; 
}

div.ricerca {background:#000;margin-bottom:30px;padding:1% 0 1% 1%;}
div.ricerca input, div.ricerca select {float:left;width:13.5%;height:30px;padding:0 1% !important;margin:0 1% 0 0 !important;-ms-box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box;border:0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;}
div.ricerca input.submit,div.ricerca input.reset{cursor:pointer;font-size:14px;text-transform:uppercase;}
div.ricerca input.submit:hover,div.ricerca input.reset:hover{border:0;}
div.ricerca input.doppio, div.ricerca select.doppio, div.ricerca select#tab {width:30%;}
div.ricerca input.diviso, div.ricerca select.diviso {width:5.2%;}
@media screen and (max-width:768px) {
  div.ricerca {background:#333;margin-bottom:30px;padding:2% 2% 0 2%;}
  div.ricerca input,
  div.ricerca select {float:none;width:96% !important;padding:0 2% !important;margin:0 2% 2% 0 !important;}
}

.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: #E0E0E0;
  border-right:1px solid #FFF;
}
.pagination a:hover {
  background-color: #CCC;
}
.pagination a.active,
.pagination a.active:hover {
  color: #fff !important;
  background-color: #e91f26 !important;
  cursor:text;
}

.link_allegato_img {
  display: block;
}
.link_allegato_img img {
  display: block;
  width:99%;   
  border:1px solid #CCC;
  margin-bottom:18px;
}
.link_allegato_img img:hover {
  border:1px solid #e91f26;
}
.link_allegato_file {
  display: block;
  padding: 15px;
  margin-bottom:18px;
  font-family: 'Open Sans', sans-serif;
  font-weight: normal;
  font-size: 14px;
  font-style:italic;
  line-height: 20px;
  text-align: left;
  background: #f7f7f8;
  border:1px solid #CCC;
  color: #000;
}
.link_allegato_file:hover {
  text-decoration:none;
  background: #e7e7e8;
  border:1px solid #e91f26;
}
.link_allegato_file img {
  float:left;
  margin-bottom:5px;
  margin-right:7px;
}
.link_allegato_file small {
  display:block;
  clear:both;
}

.riga0 {background:#2a220b;color:#eee;}
.riga1 {background:#e8ddbd;}
.riga2 {background:#ebe7dc;} 
.riga3 {background:#c0e0FF;} 
.riga4 {background:#faeff4;} 
.riga5 {background:#fafafa;}
.riga6 {background:#dbd7cc;}  

.zoom {
  transition: transform .2s;
}
.zoom:hover {
  transform: scale(1.5);
}

.modal {
    display:none;
    position:fixed;
    z-index:10000000;
    padding-top:50px;
    left:0;
    top:0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.7);
}
.modal-content {
    margin: auto;
    display: block;
    width:auto;
    max-width:95%;
    border:5px solid #FFF;
    background-color:#FFF;
}
.modal-content {
    -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)}
}

.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;
}

.left {
  float:left;
  margin-right:10px;
}
.right, 
.link-right {
  float:right;
  margin-left:10px;
}
.link-right {
  margin-right:4px;
}
@media screen and (max-width: 768px) {
    .left, .right {
      float:none;
      margin:0;
      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; 
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.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;
}
.visibile-mobile480 {
  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;
    }
} 
@media screen and (max-width: 480px) {
    .visibile-mobile480 {
      display:inline;
    }
    .nascosto-mobile480 {
      display:none !important;
    } 
}
.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_grigio2 {
  background:#999;
}
.sfondo_azzurro {
  background:#3f81c4;
}

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

.container {
	max-width:1280px;
	margin:auto;
}
div.container {
    padding-bottom:40px;
}

.marginauto {
  margin-left:auto;
  margin-right:auto;
}
.margintop20 {
  margin-top:20px;
}
.padding0 {
  padding:0px;
}
.padding {
  padding:10px;
}
.padding15 {
  padding:15px;
}
.padding20 {
  padding:20px;
}
.padding30 {
  padding:30px;
}

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

.mezzo {
	float:left;
	width:50%;
}
.un_terzo, .un_terzo_sempre {
	float:left;
	width:33.3%;
}
.due_terzi {
	float:left;
	width:66%;
}
.un_quarto {
	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%;
    }
    .mezzo480 { 
        float:left;
        width:50% !important;
        padding:0;
    } 
    .clear480 {
      clear:both;
    }
}
@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%;
    }
}

.default-width-input {
    width:96%;
}
.default-width-textarea {
    width:98%;
}
@media screen and (max-width:990px) {
    .default-width-input {
        width:94%;
    } 
    .default-width-textarea {
        width:96%;
    }
}
@media screen and (max-width:480px) {
    .default-width-input {
        width:92%;
    } 
    .default-width-textarea {
        width:94%;
    }
}

.requesticoncount {
  font-family: 'Open Sans', sans-serif;
  font-size: 9px;
  line-height: 9px;
  color: #FFF;
  text-align:center; 
  display:block;
  width:13px;
  padding: 2px 0;
  position: absolute;
  top: 3px;
  right: 3px;
  background-color: #ff4e00;
  border-radius: 50%;
}

.tooltip {
    cursor:none;
}
#mrw-tooltip {
	display: none;
	position: absolute;
	z-index: 999;
	background: #333;
	padding: 5px 7px;
	max-width: 200px;
}
#mrw-tooltip span {
	color: #EEE;
	font: normal 12px arial;
	line-height: 140%;
}
#mrw-tooltip i {
	display: block;
	position: absolute;
	top: -5px;
	left: 5px;
	width: 0;
	height: 0;
	border-left: 7px solid transparent;
	border-right: 7px solid transparent;
	border-bottom: 7px solid #333;	
}

.sort-asc::after {
  content: " ▲";
}
.sort-desc::after {
  content: " ▼";
}

.highlightedhover:hover {
  color:#000;
  background:#FF0;
}

.bool_value_color_yes {
  font-weight:bold;
  text-transform:uppercase;
}