.mb-30 { margin-bottom: 30px !important; }
.mt-30 { margin-top: 30px !important; }
.mb-40 { margin-bottom: 40px !important; }
.mt-40 { margin-top: 40px !important; }
.mb-50 { margin-bottom: 50px !important; }
.mt-50 { margin-top: 50px !important; }

/*
 * 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 td a:hover {
  color: inherit;
  text-decoration: underline;
}


/*
 * 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 {
  position: relative;
  border-bottom: 1px solid #eeeeee;
}
.image-box > .image span.label {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 9px;
  font-weight: normal;
  letter-spacing: 1px;
}
.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;
  }
}


table > tbody > tr > td > a {
  color: inherit;
}

table td.option .dropdown-menu {
  padding-top: 0;
  padding-bottom: 0;
}

.sidebar a[data-provide="delete"] {
  background: #EF5350 !important;
  color: #FFFFFF !important;
}

.sidebar a[data-provide="delete"]:hover {
  background: #E57373 !important;
}


.image-preview-box { width: 300px; height: 300px; position: relative; overflow: hidden; background-color: #f8f8f8; color: #ecf0f1; }
.image-preview-box.cover-box { width: 480px; height: 270px; }
.image-preview-box.locandina-box { width: 180px; height: 255px; }
.image-preview-box.copertina-box { width: 420px; height: 280px; }
.image-preview-box.slide-box { width: 558px; height: 372px; }
.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;
}

.calendario-partecipanti .nav.nav-tabs.nav-justified { margin-bottom: 0px; }
.calendario-partecipanti .nav.nav-tabs.nav-justified li a { border: none; }
.calendario-partecipanti .nav.nav-tabs.nav-justified li:not(.active) a {
  border-bottom: 1px solid #ddd;
  background: #e9e9e9;
  color: #555;
}
.calendario-partecipanti .nav.nav-tabs.nav-justified li:not(:last-child) a {
  border-right: 1px solid #ddd !important;
}

#PartecipantiTable_filter,
#PartecipantiTable_filter label { float: none; }

#PartecipantiTable_filter label { display: block; }

#PartecipantiTable_filter label input { width: 100%; }

#PartecipantiTable_length { display: none; }

.editable-popup.left .arrow,
.editable-popup.left .arrow:after {
  border-left-color: #37474F;
}
.editable-popup .popover-content {
  background: #37474F;
}

.dataTables_filter > label.no-icon:after {
  display: none;
}


.credit-actions {
  list-style: none;
  margin: 0;
  float: right;
}

.credit-actions > li { float: left; margin-left: 5px; border: 1px solid #ddd; color: #ddd; }
.credit-actions > li span { padding: 3px 10px; }
.credit-actions > li.active { border-color: #81C784; color: #81C784; }
.credit-actions > li.active.blue { border-color: #2196F3; color: #2196F3; }