
div.ccm-block-desktop-waiting-for-me {
  i.ccm-block-desktop-waiting-for-me-loader {
    display: none;
    position: absolute;
    right: 20px;
    top: 18px;
  }

  div.ccm-block-desktop-waiting-for-me-loading {
    i.ccm-block-desktop-waiting-for-me-loader {
      display: block;
    }

    div.ccm-block-desktop-waiting-for-me-item {
      opacity: 0.4;
    }

    div.ccm-pagination-wrapper {
      opacity: 0.4;
    }
  }

  div.ccm-block-desktop-waiting-for-me-item {
    margin-left: -20px;
    margin-right: -20px;
    padding: 20px;
    position: relative;
    transition: all 0.1s linear;

    &.ccm-block-desktop-waiting-for-me-menu-active {
      background-color: #f5f5f5;

      .dropdown-toggle {
        box-shadow: none;
      }

      .btn {
        background-color: #e6e6e6 !important;
        border-color: transparent !important;

        i {
          color: #28647e !important;
        }
      }
    }

    div.ccm-block-desktop-waiting-for-me-icon {
      left: 20px;
      position: absolute;
      top: 20px;

      i {
        color: #b2b1b7;
      }
    }

    div.ccm-block-desktop-waiting-for-me-details {
      padding-left: 25px;
      padding-right: 80px;
    }

    div.ccm-block-desktop-waiting-for-me-about {
      margin-top: 5px;

      div.ccm-block-desktop-waiting-for-me-author-comment {
        border-left: 5px solid #efefef;
        color: #999;
        margin-top: 5px;
        padding-left: 10px;
      }
    }

    div.ccm-block-desktop-waiting-for-me-menu {
      position: absolute;
      right: 20px;
      top: 20px;

      .btn {
        border-color: $gray-300;
        border-radius: 50%;
        box-shadow: none;
        display: block;
        font-size: 1rem;
        font-weight: bold;
        height: 40px;
        padding: 0;
        position: relative;
        text-align: center;
        text-decoration: none;
        transition: none;
        width: 40px !important;

        &:hover {
          background-color: transparent !important;
        }

        &.btn-close {
          border: 1px solid $gray-300; // This needs to be explicit because .btn-close has strong styling otherwise
        }

        i {
          color: $gray-300;
        }

        &:active {
          box-shadow: none;
        }

        &.dropdown-toggle::after {
          display: none;
        }
      }
    }
  }

  div.ccm-pagination-wrapper {
    text-align: center;
  }

}

@include color-mode(dark) {
  div.ccm-block-desktop-waiting-for-me {
    border: 1px solid $gray-700;

    div.ccm-block-desktop-waiting-for-me-item {
      div.ccm-block-desktop-waiting-for-me-menu {
        .btn {
          &.btn-close {
            border: 1px solid $gray-700;
          }

          i {
            color: 1px solid $gray-700;
          }
        }
      }
    }
  }
}
