@import "variables";
.field-calendarrate {
  font-family: @font-family-nunito-serif;
  .wrapper-calendar {
    width: 100%;
  }
  .list-range-time {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-row-gap: 10px;
    grid-column-gap: 10px;
    grid-template-columns: 1fr 1fr 1fr;
    @media (min-width: @screen-xxxs-min) and (max-width: @screen-xxxs-max) { // 0 ~ 409
      grid-template-columns: 1fr 1fr;
    }

    @media (min-width: @screen-xxs-min)  and (max-width: @screen-xxs-max) { // 409 ~ 600
      grid-template-columns: 1fr 1fr;
    }

    @media (min-width: @screen-xs-min)  and (max-width: @screen-xs-max) { // 600 ~ 768
      grid-template-columns: 1fr 1fr;
    }

    @media (min-width: @screen-sm-min)  and (max-width: @screen-sm-max) { //768 ~992
      grid-template-columns: 1fr 1fr 1fr;
    }
    li.rate-item {
      display: inline;
      & > span {
        display: inline-block;
        color: #fff;
        border-radius: @border-radius-base;
        padding: 5px;
        border: 1px solid #d4d4d4;
        font-size: 12px!important;
        @media (min-width: @screen-xxs-min)  and (max-width: @screen-xxs-max) { // 409 ~ 600
          padding: 5px 10px;
        }

        @media (min-width: @screen-xs-min)  and (max-width: @screen-xs-max) { // 600 ~ 768
          padding: 5px 15px;
        }

        @media (min-width: @screen-sm-min)  and (max-width: @screen-sm-max) { //768 ~992
          padding: 5px 18px;
        }
        &.active, &:hover {
          cursor: pointer;
          background: #9088e3;
          color: @text-color-4;
        }
        &.active {
          cursor: pointer;
          background: @background-color-pink;
          color: @text-color-4;
        }
      }
    }
  }
  .calendar.hasDatepicker {
    padding: 60px;
    .ui-datepicker-inline {
      .ui-datepicker-header {
        .ui-datepicker-title {
          .ui-datepicker-month, .ui-datepicker-year {
            font-family: @font-family-nunito-serif;
            font-weight: @font-weight-bold;
            font-size: @font-size-medium;
          }
        }
      }
      .ui-datepicker-calendar {
        thead {
          th {
            background-color: transparent;
            font-family: @font-family-nunito-serif;
            font-weight: @font-weight-bold;
            font-size: @font-size-medium;
          }
        }
        tbody tr td:first-child {
          background: none;
        }
        tbody {
          tr {
            td {
              padding-top: 5px;
              padding-bottom: 5px;
              a, span {
                font-family: @font-family-nunito-serif;
                font-weight: @font-weight-normal;
                font-size: @font-size-base;
              }
            }
          }
        }
      }
    }
    .ui-datepicker {
      width: 100%;
      table {
        border: none;
        thead {
          background: none;
          border: none;
          th {
            background: none;
            border: none;
            color: #fff;
          }
        }
      }
      td {
        padding: 0;
        background: none;
        &.ui-state-disabled {
          text-align: center;
          span.ui-state-default {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 40px;
            height: 40px;
            text-align: center;
            background: none;
            color: #fff;
            border-radius: 50%;
            vertical-align: middle;
            border: 1px #ffffff solid;
            margin: auto;
            @media (min-width: @screen-xxxs-min) and (max-width: @screen-xxxs-max) { // 0 ~ 409
              width: 30px;
              height: 30px;
            }

            @media (min-width: @screen-xxs-min)  and (max-width: @screen-xxs-max) { // 409 ~ 600
              width: 30px;
              height: 30px;
            }

            @media (min-width: @screen-xs-min)  and (max-width: @screen-xs-max) { // 600 ~ 768
              width: 30px;
              height: 30px;
            }

          }
        }
      }
      td a {
        border: 1px solid #ffffff;
        border-radius: 50%;
        color: #fff;
        background: none;
        text-align: center;
        width: 40px;
        height: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: auto;
        @media (min-width: @screen-xxxs-min) and (max-width: @screen-xxxs-max) { // 0 ~ 409
          width: 30px;
          height: 30px;
        }

        @media (min-width: @screen-xxs-min)  and (max-width: @screen-xxs-max) { // 409 ~ 600
          width: 30px;
          height: 30px;
        }

        @media (min-width: @screen-xs-min)  and (max-width: @screen-xs-max) { // 600 ~ 768
          width: 30px;
          height: 30px;
        }
        &.ui-state-active, &:hover {
          border-radius: 50%;
          border: 1px solid #d4d4d4;
        }
      }
      .ui-widget-header {
        background: none;
        border: none;
      }
    }
    .ui-widget.ui-widget-content {
      background: none;
      border: none;
      box-shadow: none;
    }
  }
}