body {
  padding-bottom: 41px;
  background: white;
}

.w-300px {
  width: 300px;
}

.table-hover tbody tr:hover td, .table-hover tbody tr:hover th {
  background-color: rgb(217, 237, 247);
  cursor: pointer;
}
.table-hover tbody tr.active td, .table-hover tbody tr.active th {
  background-color: rgb(40, 96, 144);
  color: rgb(255, 255, 255);
}
.table-hover tbody tr.active:hover td, .table-hover tbody tr.active:hover th {
  background-color: rgb(40, 96, 144);
  color: rgb(255, 255, 255);
}

/* Navigation bar */
.navbar {
  clear: both;
  padding: 4px 20px;
}
.navbar-brand {
  padding: 0;
  height: 60px;
  line-height: 60px;
  font-size: 36px;
}
.navbar-brand img {
  float: left;
}
.navbar-brand span {
  color: #666;
  text-shadow: 0px 0px 1px rgba(0, 0, 0, 1);
  line-height: 60px;
  padding-left: 12px;
}
.navbar-brand small {
  color: #888;
  text-shadow: none;
  font-size: 20px;
}
.navbar-nav > li > a {
  font-size: 108%;
  padding-top: 0;
  padding-bottom: 0;
  line-height: 60px;
}

/* Modals */
#ModaleMateriale .modal-body,
#ModalePianta .modal-body {
  position: relative;
  max-height: 80vh;
  overflow: auto;
}

/* Form */
form .skip-label {
  margin-top: 32px;
}

fieldset {
  padding: 0 12px;
}

fieldset > legend {
  margin-left: -12px;
}

/* Report */
.brand img + img {
  margin-top: 16px;
}

.view-body .active {
  font-variant: small-caps !important;
  text-align: center;
}
.view-body .info {
  font-variant: small-caps !important;
  font-weight: bold;
}
.view-body td + td + td,
.view-body th + th + th {
  text-align: right;
}

/* Prevent unwanted line breaks inside table cells */
.view-body td:nth-child(1),
.view-body td:nth-child(3),
.view-body td:nth-child(4) {
  white-space: nowrap;
}

/* Job list customizations */
ul.lavorazioni {
  padding-left: 1em;
  margin-bottom: 4px;
}

@media print {
  @page {
    size: A4;
    margin: 10mm;
  }
  /* Overall font resizing: without this all text is too big */
  body {
    font-size: 10px;
  }
  header, footer {
    position: fixed;
  }
  /* Remove [href] display */
  a[href]:after {
    content: "";
  }
}
