.date-selection {
  .delivery-date::after {
    border: 0;
  }

  .calendar {
    background: $white;
    border: 0;

    &__month {
      font-size: 1rem;
      line-height: 1.125rem;
      font-weight: 500;
      color: $blue-ocean;
      text-align: left;
      padding: 0 10px;
    }

    &__row {
      &_names {
        background: $white;
        color: $blue-ocean-dark;
        font-size: .875rem;
        font-weight: 500;
        margin: 0;
      }

      &_days {
        font-size: .8125rem;
        line-height: .8125rem;
        font-weight: 500;
      }

      &_extended {
        padding-top: 25px;
      }
    }

    &__cell {
      &_cnt {
        font-size: .875rem;
        border-radius: 50%;
        height: 34px;
        line-height: 34px;
        z-index: 1;
        position: relative;

        &:hover {
          border-color: transparent;

          &:after {
            content: '';
            position: absolute;
            border-radius: 50%;
            width: 34px;
            height: 34px;
            left: calc(50% - 34px/2);
            z-index: -1;
            border: 1px solid $blue;
          }
        }
      }

      &_selected,
      &:active  {
        position: relative;
        background: transparent;
        color: $white;
        z-index: 1;

        &:after {
          content: '';
          position: absolute;
          background: $blue;
          border-radius: 50%;
          width: 34px;
          height: 34px;
          left: calc(50% - 34px/2);
          z-index: -1;
        }
      }
    }

    &__message {
      display: flex;
      justify-content: center;
      flex-direction: column;
      padding: 20px 20px 40px;
      font-weight: 500;
      font-size: 1rem;
    }
  }

  &.date-selection_selected {
    border: 0;

    .delivery-types {
      padding: 0;
      margin: 0;
      background: initial;

      &__inner {
        .btn {
          margin-bottom: 20px;
        }

        .delivery-type__action-btn-primary {
          background-color: $blue;
          border-color: $blue;
          color: $white;
          pointer-events: none;
          cursor: default!important;
        }
      }
    }
  }
}

@include media-breakpoint-up(md) {
  .date-selection {
    .delivery-date,
    .delivery-time {
      height: auto;
      min-height: 362px;
    }

    .calendar {
      &__message {
        padding: 50px 40px 70px;
      }
    }
  }
}
