@import "./global/variables";

.slick-slider {
  .slick-next {
    width: 45px;
    height: 45px;
    right: 0;

    &:before {
      color: #c5c5c5;
      font-size: 30px;
    }
  }

  .slick-prev {
    width: 45px;
    height: 45px;
    left: 0;
    z-index: 9;

    &:before {
      color: #c5c5c5;
      font-size: 30px;
    }
  }

  .slick-arrow.slick-disabled {
    display: none !important;
  }

  .slick-dots {
    bottom: 10px;

    li {
      margin: 0 2px;

      button {
        background: transparent;

        &:before {
          border: 0;
          color: #c5c5c5 !important;
        }
      }

      &.slick-active {
        button {
          &:before {
            opacity: 1;
          }
        }
      }
    }
  }
}

.wrapText {
  div {
    display: contents;
  }
}

.short-text {
  font-weight: 200;
}

.readMoreText {
  color: inherit !important;
}

.react-thumbnail-generator {
  height: 100%;
  max-width: 100%;

  img {
    height: 100%;
    max-width: 100%;
    object-fit: cover;
  }
}

.DraftEditor-root {
  margin-bottom: 10px;
}

span.hashtag {
  &.fb {
    color: $facebook-hashtag;
  }

  &.ig {
    color: $ig-hashtag;
  }
}

.fc-event-container {
  a.fc-event {
    height: 20px;
    padding: 3px 8px;
    color: #fff;
    border-width: 0;

    &:hover {
      color: #fff;
      opacity: 0.5;
    }

    .fc-content {
    }
  }
}

.draft {
  color: $draft !important;
}

.bg-draft {
  background-color: $draft !important;
}

.wait {
  color: $wait !important;
}

.bg-wait {
  background-color: $wait !important;
}

.approve {
  color: $approve !important;
}

.bg-approve {
  background-color: $approve !important;
}

.reject {
  color: $reject !important;
}

.bg-reject {
  background-color: $reject !important;
}

.public {
  color: $public !important;
}

.bg-public {
  background-color: $public !important;
}

.share {
  color: $approve !important;
}

.bg-share {
  background-color: $share !important;
}

div.chips {
  height: 1.5rem;
  padding: 12px 6px 12px 6px;
  font-size: 16px;
  line-height: 0.6rem;
  border: 2px solid;
  color: #fff;

  span {
    padding-left: 0.6rem;
    padding-right: 0.6rem;
    line-height: 0.6;
  }

  &:hover {
    background-color: #fff !important;
  }

  &.chip-draft {
    @extend .bg-draft;
    border-color: $draft;
    color: #000;

    &:hover {
      color: $draft !important;
    }
  }

  &.chip-wait {
    @extend .bg-wait;
    border-color: $wait;

    &:hover {
      color: $wait !important;
    }
  }

  &.chip-approve {
    @extend .bg-approve;
    border-color: $approve;

    &:hover {
      color: $approve !important;
    }
  }

  &.chip-reject {
    @extend .bg-reject;
    border-color: $reject;

    &:hover {
      color: $reject !important;
    }
  }

  &.chip-public {
    @extend .bg-public;
    border-color: $public;

    &:hover {
      color: $public !important;
    }
  }

  &.chip-share {
    @extend .bg-wait;
    border-color: $wait;

    &:hover {
      color: $wait !important;
    }

    margin-right: 5px;
  }

  &.chip-create {
    @extend .bg-approve;
    border-color: $approve;

    &:hover {
      color: $approve !important;
    }

    margin-right: 5px;
  }
}

.swal2-container.swal2-center {
  z-index: 1310;

  .swal2-popup {
    z-index: 9999 !important;
  }
}

.page-error-content.width-auto {
  width: auto;
}

.loader-card {
  position: absolute;
  z-index: 20;
  margin: -16px;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.3);
}

.loader-top-page {
  // margin-top: -30px;
  // margin-left: -30px;
  // margin-bottom: 30px;
  width: calc(100% + 60px);
}

.block-ui {
  position: absolute;
  background: black;
  opacity: 0.5;
  width: 100%;
  height: 100%;
  z-index: 99;
}

.app-wrapper {
  background-color: $body-bg;
  min-height: 87vh;
}

.page-heading {
  .title {
    color: $primary;
  }
}

.fc {
  .fc-header-toolbar {
    .fc-left {
      .fc-button-group > .fc-button {
        background-color: $secondary;
        border-color: $secondary;
        border: 2px solid;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        align-items: center;
        justify-content: center;
        padding: 0;

        &:not(last-child) {
          margin-right: 0.5rem;
        }

        &:hover {
          color: $secondary;
          background-color: #fff;
        }
      }

      .fc-today-button {
        background-color: $secondary;
        border-color: $secondary;
        border-radius: 24px;
        min-width: 5.5rem;
        text-transform: capitalize;
        border: 2px solid;

        &:hover {
          color: $secondary;
          background-color: #fff;
        }
      }
    }

    .fc-right {
      .fc-button-group {
        & > .fc-button {
          border: 2px solid;

          &:focus {
            box-shadow: none;
          }

          &:not(:last-child) {
            background-color: $secondary;
            border-color: $secondary;
            color: #fff;
            border-top-left-radius: 24px;
            border-bottom-left-radius: 24px;
          }

          &:not(:first-child) {
            background-color: $secondary;
            border-color: $secondary;
            color: #fff;
            border-top-right-radius: 24px;
            border-bottom-right-radius: 24px;
          }

          &:hover {
            color: $secondary;
            background-color: #fff;
          }
        }
      }
    }
  }

  .fc-body {
    .fc-event-container {
      .fc-day-grid-event {
        border-radius: 10px;
      }
    }

    .fc-today {
      background-color: #fdf4cd;
    }
  }
}
.public-DraftEditorPlaceholder-inner{
  color : #bdbdbd;
}
