/*================================================
                CheckList Page
======================================================*/

.check-list-page .main-view {
  display: flex;
  margin-top: 95px;
  min-height: 48vh;
  position: relative;
  border-top: 1px solid #000000;
  padding-top: 25px;
}
.check-list-page ul.nav-tabs.scroll-ul {
  position: absolute;
  left: 0px;
  right: 0px;
}
.check-list-page .main-view .tabs-check {
  width: 70%;
  padding-right: 15px;
}
.check-list-page .main-view .tabs-check .tab-content {
  background: #f2f2f2;
  border-radius: 8px;
  padding: 15px 25px;
}
#add-check-list .ant-radio-group {
  margin-bottom: 15px;
  margin-left: 0px;
  margin-top: 6px;
}

#add-check-list .custom-select {
  border: 0px;
  border: solid 1px rgba(0, 0, 0, 0.2) !important;
  box-shadow: none;
  outline: 0px;
  border-radius: 6px;
  height: 43px;
  margin-bottom: 15px;

  &:has(input.is-invalid) {
    border-color: red !important;
  }
}

.check-list-page ul.nav-tabs {
  border: 0px;
}

.check-list-page ul.nav-tabs .nav-item .nav-link {
  border: 0px;
  background: #f2f2f2;
  padding: 7px 20px;
  color: #000000;
  font-size: 16px;
  border-radius: 20px;
  margin-right: 15px;
  min-width: 85px;
  text-align: center;
  font-family: "Cabinet Grotesk", sans-serif;
  font-weight: 500;
  cursor: pointer;
}
.check-list-page ul.nav-tabs .nav-item .nav-link i {
  padding-right: 10px;
  font-size: 17px;
}

.check-list-page ul.nav-tabs .nav-item:nth-child(3) .nav-link {
  display: inline-block;
}
.check-list-page ul.nav-tabs .nav-item .nav-link.active {
  /* background: #0066cc;
  color: #ffffff; */
  background: #d7c7fa;
  color: #000000;
}
.check-list-page ul.nav-tabs .owl-carousel.owl-drag .owl-item {
  width: auto !important;
}
.check-list-page ul.nav-tabs .owl-theme .owl-nav {
  display: none;
}

.check-list-page .top_label-div {
  border-bottom: 1px dashed #cccccc;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.check-list-page .top_label-div > span {
  display: flex;
  justify-content: flex-start;
  width: 120px;
}
.check-list-page .top_label-div span a {
  font-size: 15px;
  color: #212529;
  width: 23px;
  text-align: right;
  cursor: pointer;
}
.check-list-page .top_label-div span a:first-child {
  min-width: 80px;
  text-align: right;
}

.check-list-page .main-view .progress-view {
  width: 30%;
}
.check-list-page .top-task-btns {
  position: absolute;
  top: 7px;
  right: 0px;
}
.check-list-page .top-task-btns a.task {
  background: #d7c7fa;
  padding: 9px 20px;
  color: #000000;
  font-size: 16px;
  font-weight: 600;
  border-radius: 5px;
  margin-right: 15px;
  border: 2px solid #d7c7fa;
  font-family: "Cabinet Grotesk", sans-serif;
  text-decoration: none;
  img {
    display: none;
  }
  .bi {
    display: none;
  }
}
.check-list-page .top-task-btns a.task:hover {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}
.check-list-page .main-view .progress-view .image {
  position: relative;
  background: #f2f2f2;
  border-radius: 8px;
  padding-top: 10px;
}
.check-list-page .main-view .progress-view .image img {
  border-radius: 8px;
  width: 100%;
}
.check-list-page .main-view .progress-view .image p {
  position: absolute;
  top: 10px;
  width: 100%;
  text-align: center;

  font-size: 18px;
  text-transform: capitalize;
  font-weight: 500;
  color: #4e4e4e;
}
.check-list-page .main-view .progress-view .image h6 {
  font-size: 14px;
  text-align: center;
  padding: 10px 0px;
  color: #868686;
}
.check-list-page .main-view .progress-view .progress {
  height: 10px;
  border-radius: 25px;
  margin: 0px 15px;
  background-color: #d0d0d0;
}
.check-list-page .label-success {
  background-color: #5cb85c;
}

.check-list-page .label {
  display: inline;
  padding: 0.2em 0.6em 0.3em;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  color: #000;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 15px;
  display: block;
  padding: 9px 10px;
  font-family: "Cabinet Grotesk", sans-serif;
}
.check-list-page .label-success {
  background-color: #bdf9a2;
}
.check-list-page .label-primary {
  background-color: #a2d9f9;
}

.check-list-page .checklist {
  display: block;
  position: relative;
  padding-left: 30px;
  padding-top: 7px;
  padding-bottom: 8px;
  margin-left: 0;
  margin-bottom: 5px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  width: calc(100% - 140px);
  white-space: normal;
  font-family: "Cabinet Grotesk", sans-serif;
}

.custom-checkbox {
  display: block;
  position: relative;
  padding-left: 30px;
  padding-top: 7px;
  padding-bottom: 8px;
  margin-left: 0;
  margin-bottom: 5px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  width: calc(100% - 140px);
  white-space: normal;
  font-family: "Cabinet Grotesk", sans-serif;
}

.check-list-page .checklist input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0px;
  width: 0px;
}

.check-list-page .checklist .checkmark {
  position: absolute;
  top: 7px;
  left: 0px;
  height: 20px;
  width: 20px;
  background-color: #f9f9f9;
  border: 1px solid #cccccc;
  border-radius: 3px;
}

.check-list-page .checklist:hover input ~ .checkmark {
  background-color: #7352bb;
  border-color: #7352bb;
}

.check-list-page .checklist input:checked ~ .checkmark {
  background-color: #7352bb;
  border-color: #7352bb;
}

.check-list-page .checklist .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.check-list-page .checklist input:checked ~ .checkmark:after {
  display: block;
}

.check-list-page .checklist .checkmark:after {
  left: 5px;
  top: 1px;
  width: 8px;
  height: 13px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  border-radius: 2px;
}

.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 20px;
  width: 20px;
  left: 0;
  top: 6px;
  z-index: 9;
}

.custom-checkbox .checkmark {
  position: absolute;
  top: 7px;
  left: 0px;
  height: 20px;
  width: 20px;
  background-color: #f9f9f9;
  border: 1px solid #cccccc;
  border-radius: 3px;
}

/* .custom-checkbox:hover input ~ .checkmark {
  background-color: #7352bb;
  border-color: #7352bb;
} */

.custom-checkbox input:checked ~ .checkmark {
  background-color: #7352bb;
  border-color: #7352bb;
}

.custom-checkbox .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.custom-checkbox input:checked ~ .checkmark:after {
  display: block;
}

.custom-checkbox .checkmark:after {
  left: 5px;
  top: 1px;
  width: 8px;
  height: 13px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  border-radius: 2px;
}

#completed-check-list ul {
}
#completed-check-list ul li {
  border-bottom: 1px solid #cccccc;
  margin-bottom: 10px;
  padding-bottom: 10px;
}

#completed-check-list ul li span {
  font-weight: 500;
  font-size: 16px;
  color: #646464;
}
#completed-check-list ul li span.main {
  font-weight: 600;
  color: #000000;
  display: block;
  font-size: 20px;
}
#completed-check-list ul li .btn {
  border: 0;
  background: #cccccc;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 600;
  margin-left: 5px;
  border-radius: 20px;
}
#completed-check-list ul li .btn.premove {
  background: #a2d9f9;
}
#completed-check-list ul li .btn.postmove {
  background: #bdf9a2;
}
.custom-select.is-invalid,
.was-validated .custom-select:invalid {
  border-color: #dc3545 !important;
}

#add-check-list span.ant-radio-inner {
  margin-top: -2px;
}
@media (max-width: 1200px) {
  .check-list-page ul.nav-tabs .nav-item .nav-link {
    font-size: 12px;
  }
  .check-list-page .top-task-btns a.task {
    font-size: 15px;
  }
}

@media (max-width: 991px) {
  .check-list-page .checklist {
    font-size: 13px;
  }
  .check-list-page .top_label-div span a {
    font-size: 14px;
  }
  .check-list-page .main-view .progress-view .image {
    margin-top: 0px;
  }
  .top-task-btns {
    position: absolute;
    top: 0px;
    right: 0px;
  }
  .check-list-page ul.nav-tabs .nav-item .nav-link {
    padding: 5px 15px;
  }
  .check-list-page .main-view .tabs-check {
    width: 100%;
  }

  .check-list-page .main-view .progress-view {
    width: 100%;
  }
  .check-list-page ul.nav-tabs .owl-carousel.owl-drag .owl-item {
    margin-bottom: 10px;
  }
  .check-list-page .main-view .tabs-check .tab-content {
    margin-bottom: 20px;
  }
}
@media (max-width: 767px) {
  .check-list-page .main-view .tabs-check {
    width: 100%;
    margin-bottom: 20px;
  }
  .check-list-page .main-view .progress-view {
    width: 100%;
  }
  .check-list-page .main-view .tabs-check {
    padding-right: 0px;
  }
  .check-list-page ul.nav-tabs-2 {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .check-list-page ul.nav-tabs-2 .nav-item {
    text-align: center;
    width: 33%;
  }
  .check-list-page ul.nav-tabs-2 .nav-item .nav-link {
    padding: 5px !important;
    font-size: 11px;
  }
  .check-list-page .main-view .tabs-check .tab-content {
    padding: 15px 0px;
    margin-top: 103px;
  }
}
@media (max-width: 500px) {
  .check-list-page .checklist {
    width: 73%;
  }
  .check-list-page .top_label-div > span {
    width: 45%;
  }
  .check-list-page ul.nav-tabs .nav-item .nav-link {
    padding: 5px 10px;
    margin-right: 7px;
  }
  .check-list-page .main-view .tabs-check {
    margin-top: 50px;
  }
}
