/*-----Goal card start-------*/
.goal-card {
  min-height: auto !important;
  cursor: pointer;
  box-shadow: none !important;
  //border-bottom: solid 1px #ccc;
  margin: 0 !important;
  // padding: 2px 4px 3px 5px !important;
  //  border-left: solid 2px map-get($mat-primary, 200);
  padding: 2px 4px 3px 1px !important
}

.goal-card .project-count {
  padding:-1px 10px !important;
  font-size: 12px !important;
  float: left;
  margin-top: 5px;
  color: $kgridheader-textcolor;
  min-width: 27px;
  width: 100%;
  text-align: center;
  margin-left: -8px;
}

.goal-card .goal-bugs-count {
  color: $red-color !important;
}

.goal-bugs-count {
  color: $red-color !important;
}

.goal-summary {
  &:hover {
  background-color: $hover-color;
}
  .goal-card {
    .more_vert {
      display: none;
      visibility:hidden;
      position:fixed;
    }

    &:hover {
      .more_vert {
        display: inline-block;
      }
    }
  }
}

// .goal-summary-image:hover{
//   background-color: rgb(234, 234, 234);
// }
.goals_summary_member{
   // padding-right: 20px;
}
// .goals_summary_member:hover{
//   background-color: rgb(234, 234, 234);
// }

.goal-summary-card{
  width: 100%;
  background: none !important;
}

.search_goalinput .mat-form-field-underline{
   height: 0px !important;
   display: none;
}
.search_goalinput .mat-form-field-underline::focus{
  height: 0px !important;
}
.goal-list-closeicon{
    margin-left: 30px;
    margin-top: 8px;
}

.search_goalinput .mat-form-field{
      max-width: 100% !important;
}

.goal-summary-image .avatar-container{
   // width: 37px !important;
   // height: 20px;
   // margin-left: 16px;
        padding-right: 0px;
}

.goal-summary-image .avatar-container:hover{
  background: transparent !important;
}

.goal-card img {
  width: 20px !important;
  height: 20px !important;
  border-radius: 30px;
}

.goal-summary-image{
    //padding: 20px !important;
    padding-top: 0px !important;
}

.goal-card:hover {
  background: $grey-background;
  box-shadow: none !important;
}

.userstory-list{
  margin-top: 6.5px;
  padding-left: 0.5px;
  margin-bottom: 6px;
}

.goal-more_horiz {
    width: 20px;
}
.goal-list-more_horiz{
    color: #8a8a8a !important;
    height: 20px !important;
    margin: auto;
}

.absDaysCount {
  color: $red-color !important;
}

.goal-card-type{
  color: $warning-color-icon;
  font-size:10px;
}
.more_vert{
  color: #8a8a8a !important;
  cursor: pointer;
}
 .mat-card {
    // background: none;
    color: #8a8a8a !important;
  font-family: "Nunito Sans", sans-serif !important;
  // box-shadow: -1px 5px 16px -5px rgba(0, 0, 0, 0.22) !important;
  
}

.custom-box{
    border: 1px solid #dfe1e6!important;
    box-shadow: 0px 0px 0px 0px !important;
}


@media only screen and (max-width: 1366px) {}

/*-----Goal card end-------*/

.goalList , .template-list {
  transform: rotate(-90deg) translate(0px, 0);
  position: absolute;
  top: 42px;
  left: 0px;
  transform-origin: 0 0;
  width: 37px;
  height: 30px;
  font-weight: bold;
  border-top: solid 2px $primary-color;
  cursor: pointer;
}

.template-list{
  top: 60px !important;
  left: 7px !important;
  width: 60px !important;
}


.my-work-tab-list {
  padding-top: 90px;
}

.my-work-tab-padding {
  padding-bottom: 110px;
}

.my-adhoc-tab-padding{
  padding-bottom: 180px;
}

.my-reports-tab-padding{
  padding-bottom: 150px;
}

.my-work-tab-list-items {
  transform: rotate(-90deg) translate(0px, 0);
  position: absolute;
  transform-origin: 0 0;
  font-weight: bold;
  border-top: solid 2px #06acc1;
  cursor: pointer;
  padding: 0px 3px;
  // margin-bottom: 10px;
  // font-size: 16px;
  text-align: center;
  color: black;
  // border-radius: 7px;
}

.my-work-tab-color {
  color: $primary-color !important;
}

.goal-card {
  .user-name {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin: 4px 0px 0 4px;
    font-size: 12px;
    float: left;
  }

  p {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 14px;
    margin-top: 2px;
  font-family: "Nunito Sans", sans-serif;
  color: $primary-text-color;
  }

  .board-type-icons {
    font-size: 10px;
    color: $goalCard-project-color;
  }

  .avatar-image {
    margin-left: auto;
    margin-top: 4px;
  }

  .super-agile-icon {
    font-size: 14px;
  }
}

.color-search {
  .mat-button-toggle {
    margin: 3px 1px !important;
    border: solid 2px transparent !important;
    width: 29px !important;
    height: 29px !important;
    border-radius: 50px !important;
    transition: all 0.5s !important;

    &:hover {
      border: solid 2px $primary-color !important;
      transition: all 0.5s !important;
    }
    label{
      cursor: pointer;
    }
  }


  .mat-button-toggle-checked {
    border: 2px solid $primary-color !important;

    &:after {
     // content: '';
      display: block;
      width: 6px;
      height: 10px;
      border: solid $black-color;
      border-width: 0 2px 2px 0;
      transform: rotate(45deg);
      position: absolute;
      top: 7px;
      left: 0;
      right: 0;
      margin: 00px auto;
    }

  }
  .mat-button-toggle-group {
    width: 100%;
  }
}

// search goal input start
.search_goalinput{
  position: relative;
  // background-color: #fff;
}
// .search_goal {
//  padding: 0 26px 0 0px !important;
// }

.close_icon {
  position: absolute !important;
  right: 5px !important;
  top: 21px !important;

  .mat-icon {
    font-size: 14px;
    background: $close-icon-background;
    padding: 3px;
    border-radius: 50%;
    width: 20px;
    height: 20px;
  }
  
  .b-vertical-select {
    display: flex;
    border: 1px solid #e4e9ee;
    background: #f3f5f8;
    height: 2em;
    border-radius: 1em;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    position: relative;
    margin: 2em 0;
  }
  
  .mat-icon .activity-tracker {
    font-size: 4px;
    background: $close-icon-background;
    padding: 2px;
    border-radius: 20%;
    width: 10px;
    height: 10px;
  }
}

.app-on-hover {
  cursor: pointer;
}

.app-on-hover:hover {
  //background:rgba(0, 0, 0, 0.07);
  background-color:#ebebebde;
}

.linked-userstory-close{
  position: absolute;
  right: 5px;
  top: 10px;

  .mat-icon {
    font-size: 14px;
    background: $close-icon-background;
    padding: 3px;
    border-radius: 50%;
    width: 20px;
    height: 20px;
  }

}
.custom-search-close{
  .mat-icon {
    font-size: 14px;
    background: $close-icon-background;
    padding: 3px;
    border-radius: 50%;
    width: 20px;
    height: 20px;
  }
}
.goal_search{
  padding: 12px 4px 15px 0px !important;
}

.date_search{
  padding: 12px 2px 15px 0px !important;
}

.goal-project-left-hours{
  max-width : 100% !important;
  text-overflow: hidden;
  white-space: nowrap;
  overflow: hidden;
  min-width: 70px;
}

.projectStatus-page{
  margin-top: 0px !important;
}

.projectStatus-page-header {
  background: white;
  height: 46px;
}

.projects-tab-dropdown-list .mat-select {
  border: none !important;
}

.mat-option-scroll-hide {
  overflow: hidden !important;
}

.projects-tab-dropdown-list .mat-select-value {
  height: 20px;
}

.projectStatus-page-header .mat-tab-header {
  border-bottom: none !important;
}

.projects-updated-filter {
  height: 42px;
  background: #eaeaea;
}
// search goal input end

.goal-summary .goal-card.goal-summary-card > div {
    height: 55px;
    margin-top: -10px;

    @media only screen and (max-width: 560px) {
      margin-top: 0px !important;
    }


}
mat-card.project-card.goal-card.goal-summary-card.mat-card {
	height: 60%;
    top: 20%;
}

.custom-position-relative{
position: relative;
}
// search goal input end

.userstory-detail-expansion{
  .mat-expansion-panel{
    box-shadow: none !important;
    // border: 1px solid #75757530;
  }
}

.goal-expansion-panel{
  .mat-expansion-panel{
box-shadow: none !important;
  }

  .mat-expansion-panel-body{
background-color: #f3f5f7;
border-left: 1px solid #f1efef;
border-bottom: 1px solid #f1efef;
border-right: 1px solid #f1efef;
color: $primary-text-color;
padding: 10px !important;
  }

  // .mat-expansion-panel{
  //   border-bottom: 1px solid #eae8e8;
  //   border-top: 1px solid #eae8e8;
  // }

}

.rotate-icon {
  -moz-transition: all .3s linear;
  -webkit-transition: all .3s linear;
  transition: all .3s linear;
  display: inline-block;
  margin-right: 6px;
}
.rotate-icon.rotate-icon-down {
  -moz-transform:rotate(90deg);
  -webkit-transform:rotate(90deg);
  transform:rotate(90deg);
}

.goals-count {
// background: #dadce0;
background: #cfd6e4;
padding: 2px 10px;
border-radius: 10px;
// color: #3b51a0;
color: #727686;
font-weight: 600;
}

.selected-goal{
background: #0c0c0c14!important;
.selected-goal-text{
  font-weight: 800; 
}

}

.allgoals-bg{
background-color: $white-color;
}