img#logo {
  max-height: 40px !important;
}
.pointer {
  cursor: pointer !important;
}

.annullato {
    color: #ffffff !important;
    background-color: #c0c0c0 !important;
    -webkit-text-decoration-line: line-through !important;
    text-decoration-line: line-through !important;
    border: 0 !important;
    background-image: none !important;
}

.calendar-day {
  width: auto;
  min-width: 80px;
  max-width: 80px;
  height: 80px;
}
.calendar-table {
  margin: 10px auto;
}
.selected {
  background-color: #eee;
}
.outside .date {
  color: #ccc;
}
.timetitle {
  white-space: nowrap;
  text-align: right;
}
.event {
  border-top: 1px solid #b2dba1;
  border-bottom: 1px solid #b2dba1;
  background-image: linear-gradient(to bottom, #dff0d8 0px, #c8e5bc 100%);
  background-repeat: repeat-x;
  color: #3c763d;
  border-width: 1px;
  font-size: 0.75em;
  padding: 0 0.75em;
  line-height: 2em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 1px;
  cursor: pointer;
}
.Xevent {
  border-top: 1px solid #b2dba1;
  border-bottom: 1px solid #b2dba1;
  background-image: linear-gradient(to bottom, #dff0d8 0px, #c8e5bc 100%);
  background-repeat: repeat-x;
  color: #3c763d;
  border-width: 1px;
  font-size: 0.75em;
  padding: 0 0.75em;
  line-height: 2em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 1px;
  cursor: pointer;
}
.event.begin {
  border-left: 1px solid #b2dba1;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}
.event.end {
  border-right: 1px solid #b2dba1;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}
.event.all-day {
  border-top: 1px solid #9acfea;
  border-bottom: 1px solid #9acfea;
  background-image: linear-gradient(to bottom, #d9edf7 0px, #b9def0 100%);
  background-repeat: repeat-x;
  color: #31708f;
  border-width: 1px;
}
.event.all-day.begin {
  border-left: 1px solid #9acfea;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}
.event.all-day.end {
  border-right: 1px solid #9acfea;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}
.event.clear {
  background: none;
  border: 1px solid transparent;
}

.eventAgenda {
    background-image: linear-gradient(to bottom, #dff0d8 0px, #c8e5bc 100%);
    background-repeat: repeat-x;
    color: #808080;
    border-width: 1px;
    font-size: 0.85em;
    padding: 3px 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 5px;
    cursor: pointer;
    border: 1px solid #dcdcdc;
  }


.table-tight > thead > tr > th,
.table-tight > tbody > tr > th,
.table-tight > tfoot > tr > th,
.table-tight > thead > tr > td,
.table-tight > tbody > tr > td,
.table-tight > tfoot > tr > td {
  padding-left: 0;
  padding-right: 0;
}
.table-tight-vert > thead > tr > th,
.table-tight-vert > tbody > tr > th,
.table-tight-vert > tfoot > tr > th,
.table-tight-vert > thead > tr > td,
.table-tight-vert > tbody > tr > td,
.table-tight-vert > tfoot > tr > td {
  padding-top: 0;
  padding-bottom: 0;
}

td.today > div.date {
  font-weight: bold;
  color: orangered;
}

@media (max-width: 575.98px) {
  .table thead th {
    font-size: 0.6rem;
    width: 50px;
  }

  table td,
  .table th {
    padding: 0.5rem;
  }

  .calendar-day {
    width: auto;
    min-width: 10px;
    max-width: 10px;
    height: 80px;
    font-size: 0.7rem;
    padding: 5px !important;
  }

  .event {
    padding: 4px 0 !important;
    line-height: 1em !important;
  }

  .btn {
    font-size: 0.6rem !important;
  }

  #month-year {
    font-size: 1.2rem !important;
  }

  /* Day */
  .timetitle,
  .event {
    font-size: 0.6rem !important;
  }

  .calendar-month {
    font-size: 0.8rem !important;
    padding: 0.5rem !important;
    border: 1px solid #000;
  }
}
