@import "../variable";
@import "../mixin";
.list {
  box-shadow: 0 2px 5px 0 color(--tertiary);
  padding: 15px 20px 15px 20px;
}
.list__header {
  padding-top: 10px;
  padding-bottom: 10px;
  margin-bottom: 30px;
}
.list__body {
  margin-bottom: 10px;
  .time {
    margin-bottom: 10px;
    @media screen and (max-width: 480px) {
      flex-direction:  column;
      margin-bottom: 20px;
    }
  }
  .list__item {
    font-size: 12px;
    line-height: 25px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    @media screen and (max-width: 480px) {
      flex-direction: column;
    }
    .text {

    }
    .icon {
      font-size: 10px;
      cursor: pointer;
      + span {
        margin-right: 10px;
      }
    }
  }
  .time {
    display: flex;
    justify-content: space-between;
    .day {
      @media screen and (max-width: 480px) {
        margin-bottom: 10px;
      }
      > span {
        margin-left: 5px;
        font-size: 12px;
      }
    }
    .hours {
      display: flex;
      @media screen and (max-width: 480px) {
        display: flex;
        flex-direction: column;
      }

      .hours__separator {
        margin-left: 20px;
        margin-right: 20px;
      }
      .hours__from {
        .form__group {
          label {
            font-weight: normal;
            margin-bottom: 5px;
          }
          input[type=time] {
            padding:  3px 10px 3px 10px;
          }
        }
      }
      .hours__to {
        .form__group {
          label {
            font-weight: normal;
            margin-bottom: 5px;
          }
          input[type=time] {
            padding:  3px 10px 3px 10px;
          }
        }
      }
    }
  }
}

.list__footer {
  font-size: 12px;
}