.svv-events-calendar-container {
  position: relative;
  width: 100%;
  .vc-rounded-full {
    border-radius: 10.5px;
  }
  @include media-breakpoint-up(lg) {
    //position: absolute;
    //height: 100%;
    position: relative;
    //top: 5px;
    top: 0;
    left: 0;
    background-color: $svv_common_background;
    z-index: 13;
    overflow: hidden;
    width: 0;
    max-width: 0;
    min-width: 0;
    transition: $global-transition;

    &.open-desktop-calendar {
      width: 320px;
      max-width: 320px;
      min-width: 320px;
      transition: $global-transition;
    }
    &.open-desktop-calendar-section {
      width: 250px;
      max-width: 250px;
      min-width: 250px;
      height: 335px;
      transition: $global-transition;
    }

    &.permanently-open {
      position: relative;
      top: 0;
      left: 0;
      height: auto;
      width: 320px;
      max-width: 320px;
      min-width: 320px;

      .svv-events-calendar-container-inner {
        border-image-source: none;
        border-left: none;
        // border-right: 1px solid $svv-text_border_gray;
        padding-right: 10px;
      }
    }
  }

  @include media-breakpoint-down(md) {
    z-index: 13;
    display: flex;
    // padding: 5px;
    margin: 0;

    .svv-languages-selector {
      display: none;
    }
  }
  .svv-events-calendar-container-inner-seciont {
    border: none;
    justify-content: flex-start;
  }
  .svv-events-calendar-container-inner {
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: $svv_white;
    //border-right: 1px solid $svv_text_border_gray;
    height: 100%;

    // @include media-breakpoint-up(lg) {
    //   border-image-source: linear-gradient(
    //     0deg,
    //     rgba(255, 255, 255, 0) 0%,
    //     rgba(208, 209, 214, 1) 15%,
    //     rgba(208, 209, 214, 1) 85%,
    //     rgba(255, 255, 255, 0) 100%
    //   );
    //   border-image-slice: 1;
    //   border-left: 1px solid;
    //   border-right: 1px solid;
    // }

    @include media-breakpoint-down(md) {
      flex: 1;
      border: none;
    }
  }

  .svv-calendar-section-header {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    width: 100%;
    align-items: center;
    @include media-breakpoint-down(md) {
      display: none;
    }
  }

  .calendar-wrapper {
    width: 281px;
    // padding: 20px 25px 40px 25px;
    margin-top: 25px;
    //opacity: 0.2;
    transition: $global-transition;
    @include media-breakpoint-down(md) {
      padding: 0;
      margin-top: 12px;
      width: 97%;
      margin: 12px 0 5px 0;
    }

    &.active-filter {
      //opacity: 1;
      transition: $global-transition;
    }

    &:hover {
      //opacity: 1;
      transition: $global-transition;
    }

    .calendar-wrapper-controls {
      text-align: left;
    }
    .clear-calendar-filter-btn {
    }
  }
  .calendar-wrapper-section {
    //opacity: 0.2;
    transition: $global-transition;

    &.active-filter {
      //opacity: 1;
      transition: $global-transition;
    }

    &:hover {
      //opacity: 1;
      transition: $global-transition;
    }

    .calendar-wrapper-controls {
      text-align: left;
    }
    .clear-calendar-filter-btn {
    }
    .svv-datepicker {
      margin: 0;
      padding: 0;

      .svv-events-calendar-container {
        margin-left: 0;
      }
      .vc-arrows-container {
        margin-left: 0;
        width: 100%;
      }
      .vc-grid-container {
        margin-bottom: 0;
      }
      .vc-header {
        margin-bottom: 0;
      }
    }
  }

  .svv-datepicker {
    // padding-left: 25px;
    border: none;
    background-color: $svv-white;
    border-radius: 10.5px;
    border: 1px solid $svv-elements-border;
    box-shadow: 0 1px 2px -1px rgba(0, 0, 0, 0.1),
      0 1px 3px 0 rgba(0, 0, 0, 0.1);

    .vc-header {
      margin-bottom: 15px;
    }
    .vc-title {
      color: $svv_text_black;
      //font-family: 'sofia-pro';
      font-family: "Heebo", sans-serif;
      @include media-breakpoint-down(md) {
        color: $svv_text_black;
      }
    }

    // .vc-arrows-container {
    //   margin-left: -25px;
    //   width: calc(100% + 25px);
    // }
    .vc-grid-container.vc-weeks {
      padding: 15px;
      &:before {
        content: "";
        display: block;
        // background-color: rgba($svv_text_border_gray, 0.5);
        height: 1px;
        width: 100%;
        position: absolute;
        left: 0;
        top: 43px;
      }
    }

    .vc-weekday {
      color: $svv-text_gray;
      //font-family: 'sofia-pro';
      font-family: "Heebo", sans-serif;
      font-weight: 500;
    }
    .vc-day-content {
      //font-family: 'sofia-pro';
      font-family: "Heebo", sans-serif;
      &:hover {
        background-color: $svv-brand-secondary;
        color: $svv-brand-primary;
        border-radius: 10.5px;
      }
    }

    .vc-highlights {
      .vc-highlight {
        border-radius: 5px;
        background-color: $svv-brand-primary;
        color: $svv_text_black;
      }
      @include media-breakpoint-down(md) {
        color: $svv_text_black;
      }
    }
    .vc-grid-cell {
      padding-top: 5px;
      // padding-bottom: 5px;
    }

    .svv-v-calendar-highlighted-date-bgr {
      background-color: rgba($svv-brand-secondary, 0.1) !important;
      border-radius: 100px !important;
    }
    .svv-v-calendar-highlighted-date-content {
      color: $svv_text_black;
      background-color: $svv-brand-secondary;
      font-weight: 600 !important;
    }
    .svv-v-calendar-highlighted-selected-date-bgr {
      border-radius: 100px !important;
    }
    .svv-v-calendar-highlighted-selected-date-content {
      color: $svv_white;
      background-color: $svv-brand-primary;
      border-radius: 10.5px;
      &:focus {
        background-color: $svv-brand-primary;
        border-radius: 10.5px;
        color: $svv-white;
      }
    }
  }
}
.svv-close-mobile-calendar-btn {
  display: none;
  margin-top: 30px;
  margin-right: 30px;

  @include media-breakpoint-down(md) {
    display: block;
    color: black !important;
  }
}

.svv-mobile-calendar-panel {
  display: none;

  @include media-breakpoint-down(md) {
    display: flex;
    z-index: 999;
    background-color: transparent;
    height: 100vh;
  }

  position: fixed;
  top: -1000px;
  left: 0;
  width: 100%;

  .svv-events-calendar-container {
    display: flex;
    height: 0;
    overflow: hidden;
    transition: $global-transition;
  }
  .svv-events-calendar-container-inner {
    padding-bottom: 20px;
  }

  &.open-mobile-calendar {
    top: 0;
    //transition: $global-transition height;
    background-color: rgba(0, 0, 0, 0.7);

    .svv-events-calendar-container {
      height: fit-content;
      transition: $global-transition;
      border-bottom-left-radius: 30px;
      border-bottom-right-radius: 30px;
      overflow: auto;
    }
  }
}
@include media-breakpoint-down(md) {
  .open-desktop-calendar {
    display: none !important;
  }
}
