/*========== Start Project Card  ==========*/
.yoo-card-bar-color1 {
  background-color: $accent-color3;
}

.yoo-card-bar-color2 {
  background-color: $accent-color1;
}

.yoo-card-bar-color3 {
  background-color: $accent-color6;
}

.yoo-card-bar-color4 {
  background-color: $accent-color5;
}

.yoo-card-bar-color5 {
  background-color: $accent-color2;
}

.yoo-drop-list>.ui-sortable-helper {
  transform: rotate(5deg);
}

.yoo-project-mang-body-out {
  overflow-x: auto;
  overflow-y: hidden;
}

.yoo-drop-list-wrap {
  display: flex;
  align-items: flex-start;
  flex: none;

  .yoo-drop-list-in {
    margin-right: 30px;
    background: $main-color;
    padding: 0px 10px;
    width: 250px;
    border: 1px solid $base-color4;
    border-radius: 4px;
  }
}

.yoo-drop-list {
  list-style-type: none;
  margin: 0;
  padding: 0;
  padding-top: 10px;

  &>li {
    width: 100%;
    margin-bottom: 10px;
    border: none;
    border-radius: 4px;
  }
}

.yoo-drop-list-wrap.yoo-style2 {
  margin-left: -15px;
  margin-right: -15px;

  .yoo-drop-list-in {
    width: 33.333333%;
    margin-right: 15px;
    margin-left: 15px;
    border: none;
    background-color: transparent;
    padding-left: 0;
    padding-right: 0;
  }

  .yoo-drop-list>li {
    margin-bottom: 30px;

    &:last-child {
      margin-bottom: 0;
    }
  }

  .yoo-drop-list {
    padding-top: 0;
  }
}

.ui-sortable-placeholder {
  visibility: visible !important;
  background: $base-color4 !important;
}

/*Project Card*/
.yoo-project-card {
  border: 1px solid $base-color4;
  background: $main-color;
  box-shadow: 0.438px 0.899px 1px 0px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  overflow: hidden;
  position: relative;

  .yoo-project-card-img {
    position: relative;
    display: block;
  }

  .yoo-play-btn.yoo-style1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

.yoo-project-card-info {
  padding: 15px;
}

.yoo-tag-wrap.yoo-style1 {
  display: flex;
  flex-wrap: wrap;
}

.yoo-project-card-info .yoo-project-card-title {
  font-size: 14px;
  font-weight: 400;
  margin-top: -1px;
  margin-bottom: 0;
}

.yoo-project-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.yoo-project-card-user {
  display: flex;
  padding-left: 5px;
  align-items: center;

  li {
    border-radius: 50%;
    overflow: hidden;
    background-color: $main-color;
    height: 26px;
    width: 26px;
    margin-left: -5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 500;
    position: relative;

    a {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 100%;
      width: 100%;
      border-radius: 50%;
      overflow: hidden;
      border: 2px solid $main-color;
    }

    &.yoo-project-card-user-more {
      height: 26px;
      width: 26px;
      border: 2px solid $main-color;

      a {
        border-width: 1px;
        border-color: $base-color4;
        background-color: $base-color5;
      }
    }
  }

  &.yoo-color1 {
    li a {
      border-color: $base-color5;
    }

    li {
      &.yoo-project-card-user-more {

        a {
          border-color: $base-color4;
          background-color: $main-color;
        }
      }
    }
  }
}

.yoo-project-tag {
  display: flex;
  font-size: 13px;

  li {
    margin-left: 8px;
  }

  i {
    font-size: 16px;
    line-height: inherit;
    color: $base-color3;
    margin-right: 2px;
    position: relative;
    top: 3px;
    transition: all 0.3s ease;
  }

  a {
    &:hover i {
      color: $base-color2;
    }
  }
}


.yoo-project-card-img img {
  width: 100%;
  border-radius: 4px 4px 0 0;
}

.yoo-drop-title {
  width: calc(100% + 20px);
  margin-left: -10px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: $base-color1;
  border-bottom: 1px solid $base-color4;
  background-color: $main-color;
  border-radius: 4px 4px 0 0;
}

.yoo-project-card-bar-wrap {
  display: flex;

  .yoo-project-card-bar {
    height: 5px;
    width: 30px;
    border-radius: 10px;
    margin-right: 5px;

    &:last-child {
      margin-right: 0;
    }
  }
}

.yoo-drop-list-btn {
  padding-bottom: 10px;
}

.yoo-drop-title-wrap {
  position: relative;
}

.yoo-drop-toggle.yoo-style1 {
  position: absolute;
  right: 3px;
  top: 11px;
  z-index: 1;

  .yoo-toggle-btn {
    font-size: 18px;
    color: $base-color3;
    cursor: pointer;
  }
}

.yoo-toggle-body .yoo-dropdown.yoo-notify-dropdown.yoo-drop-dropdown {
  right: initial;
  left: 0px;
  width: 220px;
}

.yoo-drop-dropdown-list {
  padding: 10px 0;

  li a {
    display: block;
    padding: 8px 20px;

    &:hover {
      background-color: $base-color5;
      color: $base-color2;
    }
  }
}

.yoo-project-mang-body {
  display: flex;
  align-items: flex-start;
}

.yoo-add-another-card {
  width: 225px;
  flex: none;
}

.yoo-toggle-body.yoo-project-card-add-toggle-btn .yoo-dropdown {
  top: -15px;
  width: 100%;
  padding-left: 10px;
  padding-right: 10px;
}

.yoo-toggle-body.yoo-project-card-add-toggle-btn .yoo-dropdown.active {
  visibility: visible;
  opacity: 1;
  margin-top: 0;
  top: 0;
}

.yoo-toggle-body.yoo-project-card-add-toggle-btn .yoo-dropdown .yoo-toggle-cross-btn {
  background-color: transparent;
  border: none;
  padding: 5px 5px;
  display: inline-flex;
  font-size: 24px;
  color: $base-color3;
  line-height: 1em;
  cursor: pointer;
  transition: all 0.3s ease;

  &:hover {
    color: $base-color2;
  }
}

.yoo-project-card-add-form input {
  border: 1px solid $base-color4;
  border-radius: 4px;
  height: 38px;
  width: 100%;
  padding: 2px 10px;
  margin-bottom: 10px;
  background-color: transparent;
  transition: all 0.3s ease;

  &:focus {
    outline: none;
    border-color: $accent-color2;
  }
}

.yoo-project-board-title {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 0;
}

.yoo-project-board-team {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 500;

  i {
    font-size: 16px;
    margin-right: 5px;
    color: $base-color3;
  }
}

.yoo-project-board-heading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;

  &>div:not(:last-child) {
    padding-right: 15px;
    margin-right: 15px;
    border-right: 1px solid $base-color4;
  }

  .yoo-project-card-user li {
    font-size: 16px;
    line-height: 1.5em;
    height: 28px;
    width: 28px;

    &.yoo-project-card-user-more {
      height: 26px;
      width: 26px;
    }
    &.yoo-project-card-user-more {
      height: 28px;
      width: 28px;
      border-color: $base-color5;
    }
  }
}

.ui-sortable-placeholder {
  background-color: transparent !important;
  position: relative;

}

.ui-sortable-placeholder.yoo-drop-list-in {
  border: none;
}

.ui-sortable-placeholder:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  border-radius: 4px;
  border: 2px dashed $base-color4;
}

.yoo-project-card-img.yoo-video-open:before {
  content: '';
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  background-color: $base-color1;
  opacity: 0.2;
  border-radius: 4px 4px 0 0;
}

.yoo-project-card-edit-btn {
  display: flex;
  height: 24px;
  width: 24px;
  justify-content: center;
  align-items: center;
  padding: 0;
  border: none;
  border-radius: 4px;
  background-color: $main-color;
  color: $base-color2;
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid $base-color4;
  opacity: 0;

  &:hover {
    color: $base-color1;
  }

  &:focus {
    outline: none;
  }
}

.yoo-project-card:hover {
  .yoo-project-card-edit-btn {
    opacity: 1;
  }
}

@media screen and (max-width: 991px) {
  .yoo-drop-list-wrap.yoo-style2 {
    display: block;
    margin: 0;
  }

  .yoo-drop-list-wrap.yoo-style2 {
    .yoo-drop-list-in {
      width: 100%;
      margin-left: 0;
      margin-right: 0;
      margin-bottom: 30px;

      &:last-child {
        margin-bottom: 0;
      }
    }
  }
}

/*========== End Project Card  ==========*/
