/*
 * GENERICO
 */
body {
  background: #f2f2f2;
}

.navbar {
  min-height: 38px;
}

.navbar-nav > li > a {
  padding-top: 8px;
  padding-bottom: 8px;
}


/*
 * TABELLE
 */
table.table th.col-status,
table.stable td.col-status {
  width: 50px;
  text-align: center;
}
table.table th.option,
table.table td.option {
  width: 50px;
  text-align: center;
}
table.table-condensed > tbody > tr > td,
table.table-condensed > tbody > tr > th,
table.table-condensed > tfoot > tr > td,
table.table-condensed > tfoot > tr > th,
table.table-condensed > thead > tr > td,
table.table-condensed > thead > tr >th {
  padding: 5px 10px;
}

table.table td:not(.option) a {
  color: inherit;
}

table.table td:not(.option) a:hover {
  text-decoration: underline;
}

.table-responsive.no-scroll {
  overflow-x: visible;
}

/*
 * BOTTONI
 */
.btn.btn-xs {
  padding: 2px 7px;
}



/*
 * TABS
 */
@media (min-width: 769px) {
  .panel-flat .heading-elements.panel-tabs > .nav-tabs > li > a {
    padding-top: 17px;
    padding-bottom: 17px;
  }
}


/*
 * IMAGE BOX
 */
.image-box {
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  background: #ffffff;
  margin-bottom: 10px;
}
.image-box > .image {
  border-bottom: 1px solid #eeeeee;
}
.image-box > .options {
  padding: 5px 0;
  display: table;
  width: 100%;
}
.image-box > .options > a,
.image-box > .options > span {
  display: table-cell;
  width: auto;
  text-align: center;
  vertical-align: middle;
  height: 30px;
  font-size: 17px;
  color: #c0c0c0;
  -webkit-transition: color 120ms linear;
  -moz-transition: color 120ms linear;
  transition: color 120ms linear;
  border-right: 1px solid #eee;
}
.image-box > .options > a:hover {
  color: #333;
}
.image-box > .option > a:last-child {
  border: none;
}



/*
 * BLOCK UI
 */
.blockMsg h3,
.blockMsg h4 {
  margin: 0;
  padding: 0;
}



/*
 * SORTABLE
 */
.sortable {
  -moz-transition: scale 80ms linear;
  -webkit-transition: scale 80ms linear;
  -o-transition: scale 80ms linear;
  transition: scale 80ms linear;
}

.sortable.ui-sortable-helper {
  transform: scale(1.04);
}


.sortable-list > .sortable-box {
  border: 1px solid #eee;
  box-shadow: 0 0 30px -10px rgba(0, 0, 0, 0.15);
  margin-bottom: 10px;
  background: #fff;
}

.sortable-list > .sortable-box .sortable-box-body {
  padding: 10px;
}

.sortable-list > .sortable-box .sortable-box-body a {
  color: #333;
}

.sortable-list > .sortable-box .sortable-box-options {
  width: 100px;
  position: relative;
  float: right;
}

.sortable-list > .sortable-box .sortable-box-options .options {
  width: 100px;
  display: table;
  height: 65px;
}

.sortable-list > .sortable-box .sortable-box-options a,
.sortable-list > .sortable-box .sortable-box-options span {
  display: table-cell;
  color: #333;
  vertical-align: middle;
  text-align: center;
}


/*
 * ALERT
 */
.alert.growl {
  opacity: 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
}



/*
 * SELECT 2
 */
.navbar-component .select2-container .select2-selection {
  border: none;
  cursor: pointer;
  outline: 0;
  display: block;
  height: 40px;
  min-width: 150px;
  padding: 11px 0;
  line-height: 1.5384616;
  position: relative;
  white-space: nowrap;
  border-radius: 3px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.navbar-component .select2-container {
  margin-right: 10px;
}
.navbar-component.navbar-inverse .select2-selection {
  color: #fff;
  background-color: transparent;
}


/*
 * DATEPICKER
 */
.datepicker { z-index: 1051 !important; }


/*
 * DROPDOWN
 */
.nav.navbar-nav .dropdown-menu > li > a {
  padding: 5px 15px;
  outline: 0;
}



/*
 * IMAGE PREVIEW
 */
.image-preview-box { width: 300px; height: 300px; position: relative; overflow: hidden; background-color: #f8f8f8; color: #ecf0f1; }
.image-preview-box.cover-box { width: 600px; height: 300px; }
.image-preview-box.locandina-box { width: 180px; height: 255px; }
.image-preview-box:hover label{ opacity: 1; }
.image-preview-box input { line-height: 200px; font-size: 200px; position: absolute; opacity: 0; z-index: 10; }
.image-preview-box label {
  position: absolute;
  z-index: 5;
  opacity: 0.0;
  cursor: pointer;
  background-color: #bdc3c7;
  width: 200px;
  height: 50px;
  font-size: 20px;
  line-height: 50px;
  text-transform: uppercase;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  text-align: center;
  -webkit-transition: opacity 120ms linear;
  -moz-transition: opacity 120ms linear;
  transition: opacity 120ms linear;
}
.image-preview-box .help-block {
  position: absolute;
  margin: 0;
  padding: 0 10px;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, .70);
  color: #fff;
  line-height: 35px;
}

/*
 * MODALS
 */
@media (min-width: 1025px) {
  .modal-lg {
    width: 1100px !important;
  }
}

.panel.panel-small > .panel-heading {
  padding-top: 10px;
  padding-bottom: 10px;
}

.panel-footer {
  position: relative;
  padding-left: 0;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
}

.panel-footer > .heading-elements {
  position: static;
  margin-top: 0;
}

.pt-3 {
  padding-top: 3px !important;
}

.accordion-body {
  display: none;
}

.accordion-body.visible {
  display: block;
}

.panel-heading > .trigger {
  margin: 3px 0 0 -10px;
  float: left;
  background: #00BCD4;
  color: #fff;
  font-size: 20px;
  line-height: 34px;
  width: 35px;
  height: 35px;
  border: 1px solid #ddd;
  border-radius: 70px;
  text-align: center;

  -webkit-transition: all 120ms linear;
  -o-transition: all 120ms linear;
  -moz-transition: all 120ms linear;
  transition: all 120ms linear;
}


.panel-heading > .trigger:hover {
  background: #fff;
  color: #00BCD4;
}

.panel-heading > .trigger + .panel-title {
  margin-left: 40px;
}

.invoice-inline-form .form-group .form-control,
.form-control.inline {
  border: 0;
  padding: 0 5px;
  margin: 0;
  border-bottom: 1px solid #ddd;
  border-radius: 0;
}

.invoice-inline-form .form-group .select2-selection {
  border: 0;
  border-bottom: 1px solid #ddd;
  border-radius: 0;
}

.form-group {
  margin-bottom: 20px;
  position: relative;
}

.invoice-inline-form .form-group {
  margin: 0;
  padding: 0;
}

.invoice-inline-form .form-group .input-group-addon {
  border: 0;
  background: transparent;
  border-radius: 0;
}


.voce-box { display: block; }
.voce-box .voce-heading b,
.voce-box .voce-heading small { display: block; }
.voce-box .voce-tags {
  margin-top: 5px;
  padding-top: 5px;
  /*border-top: 1px solid #ddd;*/
}