/**
 * @file Styling for the webapp.
 * @author Limepark
 * @copyright Limepark
 * @license https://limepark.se/licensvillkor
 */

.lp-hours {
  border: 1px solid #ddd;
  padding: 10px;
}

.lp-hours__list,
.lp-hours__group-list {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.lp-hours__list-item {
  border-top: 1px solid rgba(0,0,0,0.13);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 9px 0 8px;
  text-decoration: none;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
}

.lp-hours__list-item__schema-name {
  display: block;
}

.lp-hours__list-item__schema-description {
  display: block;
  font-style: italic;
  font-size: 0.875em;
}

.lp-hours__list-item--today {
  font-weight: bold;
}

.lp-hours__openhours--closed {
  color: #c00;
}

.lp-hours__list-item__day-name {
  margin-right: 5px;
  text-transform: capitalize;
}

.lp-hours__openhours {
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  text-align: right;
}

.lp-hours__navigation {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  border-top: 1px solid #ddd;
  padding: 10px 0 0 0;
  margin: 10px 0 0 0;
}

.lp-hours__navigation__link:hover {
  text-decoration: underline;
}
