input,
div,
ul {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1em;
}
.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus, .ui-button:hover, .ui-button:focus {
  border: none;
}
#plan {
  width: 100%;
  display: table;
  table-layout: fixed;
}
.lesson .menu {
  display: table-row
}
.lesson .menu > div {
  display: table-cell
}
.lesson {
/*   margin: auto; */
/*   display: table-cell; */
/*   width: auto; */
  width: 450px;
  height: 200px;
/*   display: flex; */
/*     display: inline */
  float: left;
  padding: 5px;
  border: 1px solid black;
  overflow: hidden;
}
.lesson-inner {
  width: fit-content;
}
#date {
  text-align: center;
}
.time,
.type,
.instructor {
  display: inline;
}
.person,
.horse {
  display: inline;
}
.error {
  color: red;
  font-weight: bold;
  text-decoration: underline;
}
.datepicker {
  border: none;
  cursor: pointer;
}
.datepicker:hover {
  border: 1px solid #c5c5c5;
  background: #f6f6f6;
}
.ui-selectmenu-button {
  border: none;
  background: none;
  color: none;
}
.removeselectmenu-value {
  padding: none;
}
.ui-menu .ui-menu-item-wrapper {
  padding: 3px;
}
.ui-menu .ui-icon {
  left: unset;
  right: 10px;
}

#horses ul,
#people ul {
  columns: 5;
  -webkit-columns: 5;
  -moz-columns: 5;
}
#horses li,
#people li {
  cursor: pointer;
}
#horses li:hover,
#people li:hover {
  background: #bbb
}
#add-horse {
  cursor: pointer;
}
#add-person {
  cursor: pointer;
}

.person.missing-value {
  background: #fdd;
  padding: 0px 50px 0px 50px;
}
.horse.missing-value {
  background: #fdd;
  padding: 0px 50px 0px 50px;
}
.selected-lesson {
  background: #eee;
}
.selected-lesson .person.first-missing-value {
  background: #bbb;
}
.selected-lesson .horse.first-missing-value {
  background: #bbb;
}
.missing-both-values .delete-participant-button {
  display: none
}

.ui-icon-trash {
  cursor: pointer;
}

[draggable] {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.drag-start {
  opacity: 0.8;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
  filter: alpha(opacity=80);
}

.drag-enter {
  opacity: 0.5;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
  filter: alpha(opacity=50);
  box-shadow: 0 8px 12px 0 rgba(0,0,0,0.2)
/*   -webkit-transform: scale(0.9);
  -moz-transform: scale(0.9);
  -o-transform: scale(0.9);
  -ms-transform: scale(0.9);
  transform: scale(0.9); */
}

@media only screen and (max-width: 650px) {
  #horses ul,
  #people ul {
    columns: 3;
    -webkit-columns: 3;
    -moz-columns: 3;
  }
}

@media print {
  #horses,
  #people {
    display: none;
  }
  
  .noprint {
    display: none;
  }
  
  .selected-lesson {
   background: ;
  }
  
  .missing-both-values {
    display: none
  }
}