.body > .login-img {
  flex: 1;
}

.help-block {
  margin-bottom: 2rem;
  border-left: 3px solid #484;
  background-color: #fff;
  padding: 0.2rem;
  padding-left: 0.5rem;
}

.form-control {
  background-color: #fff;
}

table#order-calendar th {
  background-color: #555;
  color: #fff;
  padding: 0.5rem;
  text-align: center;
}
table#order-calendar td {
  text-align: center;
  padding: 0.5rem;
  background-color: #fff;
}
table#order-calendar td.today {
  border: 1px solid #363;
  background-color: #efe;
}
table#order-calendar td.selected {
  background-color: #363;
  color: #efe;
}
table#order-calendar td.selected > * {
  color: #efe;
}
table#order-calendar td.empty {
  background-color: #ccc;
}
table#order-calendar td a {
  color: #222;
}

form.list-group .list-group-item {
  transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
  max-height: 100vh;
  padding: 0.5rem;
  overflow: hidden;
}
form.list-group .list-group-item.collapsed {
  max-height: 0;
  padding: 0;
}

table + .pagination {
  justify-content: center;
}

nav > .pagination {
  justify-content: right;
  max-width: 200px;
  margin-right: 0;
}

.list-group-item .detail {
  border: 1px solid #ccc;
  padding: 0.2rem;
  margin: 0.1rem;
}

#main-content .card .body .form-group {
  margin-bottom: 0;
}

.fc .fc-view-container .fc-list-view .fc-list-item {
  color: #444;
}

div#planning-container {
  position: fixed;
  opacity: 0;
  height: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #fff;
  z-index: 9;
  border-top: 1px solid #ccc;
  padding-top: 0.5rem;
  box-shadow: -5px 0px 15px;
  transition-property: opacity, height;
  transition-duration: 0.3s;
  display: block !important;
  overflow: auto;
}
div#planning-container.active {
  opacity: 1;
  height: 40vh;
}

.signing-box {
  width: 100%;
  height: 200px;
  box-sizing: border-box;
}

.note-editable table,
.note-editable td {
  border: 1px dashed #ddd !important;
}

div#customers-search-result {
  transition-property: opacity, height;
  transition-duration: 0.3s;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0;
  background-color: #fff;
  z-index: 9;
  overflow-x: auto;
  border-top: 1px solid #ccc;
  box-shadow: -5px 0px 15px;
  opacity: 0;
}
div#customers-search-result.active {
  height: 40vh;
  opacity: 1;
}
div#customers-search-result .scrollable {
  display: flex;
}
div#customers-search-result .scrollable .result {
  min-width: 300px;
  display: inline-block;
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 1rem;
  margin: 1rem;
  flex: 1;
}
div#customers-search-result .close {
  position: fixed;
  display: block;
  right: 15px;
  height: 32px;
  width: 32px;
  border-radius: 32px;
  background-color: #e00;
  line-height: 32px;
  text-align: center;
  margin-right: 0.5rem;
  margin-top: 0.5rem;
}

/*
 * Formattazione full calendar
 */
@media screen and (max-width: 767px) {
  .fc-toolbar {
    flex-wrap: wrap;
  }
  .fc-toolbar .fc-right {
    display: block !important;
    clear: both;
    width: 100%;
  }
  .fc-toolbar .fc-right > * {
    width: 100%;
  }

  .fc .fc-view-container .fc-listMonth-view .fc-scroller {
    overflow: scroll !important;
    width: 100%;
    display: block;
  }
  .fc .fc-view-container .fc-listMonth-view .fc-scroller table {
    width: 200vw;
  }
}
.fc-list-heading .fc-widget-header {
  padding: 0.2em;
}
.fc-list-heading .fc-widget-header span:nth-child(2) {
  display: none;
}
.fc-list-heading td:nth-child(2) div {
  display: flex;
}
.fc-list-heading td:nth-child(2) div span {
  flex: 1;
  display: inline-block;
  width: 100%;
  height: 100%;
  padding: 0.2em;
  border-left: 1px solid #ccc;
}
.fc-list-heading td:nth-child(2) div span:first-child {
  flex: 40%;
}

.fc-view.fc-listMonth-view .fc-list-item-title a {
  display: flex;
  width: 100%;
}
.fc-view.fc-listMonth-view .fc-list-item-title a span {
  flex: 1;
  width: 100%;
  padding: 0.2em;
  border-left: 1px solid #ccc;
}
.fc-view.fc-listMonth-view .fc-list-item-title a span:first-child {
  flex: 40%;
}

table.plan-activity td {
  min-width: 70px;
  padding: 2px;
  margin: 0;
  border-right: 1px solid #ccc !important;
}
table.plan-activity .past-activities {
  background-color: #eee !important;
  border-right: 1px solid #dee2e6 !important;
  box-shadow: -5px 5px 5px 0 #ccc;
}
table.plan-activity a.badge {
  margin: 0;
  box-sizing: border-box;
  border-radius: 0;
  border-bottom-width: 0;
  word-break: break-word;
  line-height: 1.5em;
  width: 100%;
  white-space: normal;
  display: block;
}
table.plan-activity a.badge + br {
  display: none;
}
table.plan-activity a.badge.badge-info {
  font-weight: bold;
  /*
  &.type-extra {
  	border-color:     #8e5c5c;
  	background-color: #f7d9d9;
  	color:            #442300;

  }

  &.type-primo-intervento {
  	border-color:     #5d8e5c;
  	background-color: #dff7d9;
  	color:            #004423;
  	font-weight:      bold;
  }
   */
}
table.plan-activity a.badge.badge-info i {
  font-size: 160%;
  padding: 2px;
}
table.plan-activity a.badge.badge-info.type-extra {
  background-color: #69c;
  color: #fff;
  border: 1px solid #369;
}
table.plan-activity a.badge.badge-info.type-manutenzione-ordinaria {
  background-color: #fff;
  color: #222;
  border: 1px solid #444;
}
table.plan-activity a.badge.badge-info.type-primo-intervento {
  background-color: #cfc;
  color: #020;
  border: 1px solid #686;
}
table.plan-activity a.badge.badge-info.type-sopralluogo {
  background-color: #ffc107;
  color: #564208;
  border: 1px solid #564208;
}
table.plan-activity a.badge:last-of-type {
  border-bottom-width: 1px;
}

@media (max-width: 640px) {
  #planning-table-container .no-contract td:first-child .badge {
    width: 100px;
    word-break: break-word;
    line-height: 1.5em;
    white-space: normal;
  }
}
.planning-page #planning-table-container {
  /* font-size: 1.5vh; */
}
.planning-page #planning-table-container > table > tbody > tr > td {
  max-width: 10vw;
  overflow: hidden;
}
.planning-page #planning-table-container > table > tbody > tr > td:nth-child(2), .planning-page #planning-table-container > table > tbody > tr > td:nth-child(3) {
  white-space: normal;
}
.planning-page #planning-table-container > table > tbody > tr > td:last-child {
  max-width: 50vw !important;
}
.planning-page .no-contract > td > span.badge {
  width: 100px;
  word-break: break-word;
  break-inside: unset;
  white-space: break-spaces;
  display: block;
}
.planning-page a.badge.unsigned {
  border: 2px dotted #888 !important;
  display: block;
  box-shadow: 5px 5px 5px #000 !important;
  z-index: 10;
}
.planning-page a.badge.signed {
  border: 2px solid #2A2 !important;
}
.planning-page a.badge + br {
  display: none;
}
@media screen and (max-width: 800px) {
  .planning-page #planning-table-container {
    font-size: 1em;
  }
  .planning-page #planning-table-container > table {
    max-width: 100%;
    display: block;
  }
  .planning-page #planning-table-container > table > thead {
    display: none;
  }
  .planning-page #planning-table-container > table > tbody {
    display: block;
    width: 100%;
  }
  .planning-page #planning-table-container > table > tbody > tr {
    display: block;
    width: 100%;
    max-width: none;
    border-bottom: 1px dotted #888;
    margin-bottom: 0.5em;
  }
  .planning-page #planning-table-container > table > tbody > tr > td:nth-child(1) {
    display: none;
  }
  .planning-page #planning-table-container > table > tbody > tr > td:nth-child(2) {
    display: inline-block;
    width: 60%;
    max-width: none;
    white-space: normal;
  }
  .planning-page #planning-table-container > table > tbody > tr > td:nth-child(2) small {
    /*
    address {
    	display: none;
    }

     */
  }
  .planning-page #planning-table-container > table > tbody > tr > td:nth-child(2) small strong[tabindex] {
    /*
    &:after {
    	content:          '?';
    	font-family:      monospace;
    	background-color: #ccc;
    	border-radius:    10px;
    	display:          inline-block;
    	width:            15px;
    	height:           15px;
    	line-height:      15px;
    	font-size:        10px;
    	color:            #422;
    	text-align:       center;
    }

    &:focus ~ address {
    	display: block;
    }

     */
  }
  .planning-page #planning-table-container > table > tbody > tr > td:nth-child(2) small strong + a {
    display: none;
  }
  .planning-page #planning-table-container > table > tbody > tr > td:nth-child(3) {
    display: inline-block;
    width: 30%;
    max-width: none;
    white-space: normal;
  }
  .planning-page #planning-table-container > table > tbody > tr > td:nth-child(4) {
    width: 100%;
    display: block;
    max-width: 100vw !important;
  }
  .planning-page #planning-table-container > table table.plan-activity {
    font-size: 0.8em;
  }
}

/*# sourceMappingURL=site.css.map */
