/**
 * @version     CVS: 1.0.0
 * @package     com_coursebooking
 * @copyright   2023 Andrea Tosti
 * @license     GNU General Public License versione 2 o successiva; vedi LICENSE.txt
 * @author      Andrea Tosti <andrea.tosti@partnersolution.it>
 */
 .day{margin:1em 0 1em;}
 
 
 .calendar-day {
  width: 100px;
  min-width: 100px;
  max-width: 100px;
  height: 40px;
  position: relative;

}
.calendar-table {
  margin: 0 auto;
  width: 700px;
}
.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: .75em;
  padding: 0 .75em;
/*  line-height: 2em;
  white-space: nowrap;*/
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 1px;
  position:absolute;
  top:0;
  z-index: 900;
}
.event.attivo{
    border-color:red;
}
a.btn.saving{
    background-color: #999;
}
.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;
}
.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;
}

.col-1.disabled {
    opacity: 50%;
}

/*andrea calendario */


button.aggiungievento.btn{display:none}

td.calendar-day:hover button.aggiungievento{display: block ;}


.calendar-day:hover {

    background-color: #eee;

}

table.saving {background-color: #eee}

#calendar{
display: block;
overflow: auto;
height: 50vh;
}

.durata60{
  height:200%
}

.durata90{
  height:300%
}
.durata120{
  height:400%
}

.durata150{
  height:500%
}
.durata180{
  height:600%
}

.card-body .disabled {
  opacity: 0.5;
}

.evento .btn-group span.badge {
  font-size: 60%;
}
.evento .btn-group a{
margin-right:10px;
}

li.evento.list-group-item {
    padding-left: 0;
}

.event.multi {
  margin-left: 20px;
  margin-top: 20px;
}