#checklist_svg_icon::before {
  content: url("/assets/plugin_assets/redmineflux_checklist/plus_ico-3044d44a.svg");
  color: #181c25;
  cursor: pointer;
}

/* Redmine 6 uses sprite_icon SVG; Redmine 5 falls back to classic .icon classes. */
.rf-icon-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.rf-icon-link.icon {
  padding-left: 20px;
}

.rf-icon-link .icon-svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
}

.controller-issues.action-show .checklist_input {
  width: 100%;
  min-width: 100px;
  min-height: 35px;
  max-height: 100px;
  margin-top: 4px;
  padding: 4px 8px;
  font-weight: 400;
  font-size: .875rem;
  line-height: 1.83;
  letter-spacing: .0107em;
  outline: none;
  resize: none !important;
  scrollbar-width: none;
}

.save_checklist {
  background-color: #27ae60;
  color: #fff;
  display: none;
  float: right;
  border-radius: 5px;
  padding: 3px;
  margin: 4px 3px 3px 3px;
  cursor: pointer;
}

#checklist-items ul {
  list-style-type: none;
  padding: 0;
}

#checklist-items .checklist-li {
  display: flex;
  justify-content: space-between;
}

.edit-checklist-item-btn {
  cursor: pointer;
}

.delete-checklist-item-btn {
  cursor: pointer;
}

#checklist-item-subject {
  width: 300px;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 14px;
}

#save-checklist-item-btn {
  padding: 8px 12px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}

#save-checklist-item-btn:hover {
  background-color: #0056b3;
}

.controller-issues.action-show .checklist-para .contextual {
  float: right;
  white-space: nowrap;
  line-height: 1.4em;
  margin: 5px 0px;
  padding-left: 10px;
  font-size: 0.9em;
}

.checklist-li {
  padding: 10px;
  background-color: white;
  padding-right: 0px !important;
}

.sub-checklist-item {
  margin-top: 10px;
  margin-left: 20px;
}

.checklist-items {
  margin-left: 20px;
}

#checklist-list li {
  margin-bottom: 10px;
}

.icon-test {
  background-image: url("/assets/plugin_assets/redmineflux_checklist/arrow_ico-df4f0455.svg") !important;
  background-repeat: no-repeat;
  cursor: pointer;
  margin-left: -26px;
  margin-top: -12.8px;
  position: absolute;
  width: 23px;
  display: list-item;
  background-size: 12px;
  background-position: 9px 1px;
  color: transparent;
  border: none;
  padding: 0;
}

.icon-test-rotate {
  transform: rotate(180deg);
  margin-left: -22px !important;
  margin-top: -27px !important;
}

/* .sub-checklist-div{
  width: 100% !important;
} */

/* .sub-checklist-li .sub-checklist-icon-buttons .edit-sub-checklist-item-btn,  .sub-checklist-li .sub-checklist-icon-buttons .delete-checklist-sub-item-btn{
  opacity: 0;
}
.sub-checklist-li:hover .sub-checklist-icon-buttons .edit-sub-checklist-item-btn,.sub-checklist-li:hover .sub-checklist-icon-buttons .delete-checklist-sub-item-btn{
  opacity: 1;
  cursor: pointer;
} */

.checklist-li {
  position: relative;
}

.icon-buttons {
  position: absolute;
  right: 0;
}

.sub-checklist-icon-buttons {
  position: absolute;
  right: 0;
}

.sub-checklist-item-text {
  padding: 5px;
}

.changetext {
  text-decoration: line-through;
}

.toggle-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  padding: 0;
  margin-left: 10px;
}

.toggle-btn.collapsed {
  transform: rotate(180deg);
}

.add-sub-checklist-item-btn:hover {
  cursor: pointer;
}

.checklist-li .progress {
  position: relative;
  height: 15px;
  width: 200px;
  overflow: hidden;
  background-color: #f5f5f5;
  border-radius: 4px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.checklist-li .progress-bar {
  float: left;
  width: 0;
  height: 100%;
  font-size: 12px;
  line-height: 13px;
  color: black;
  text-align: center;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
  transition: width 0.6s ease;
}

.checklist-li .progress-bar span {
  position: absolute;
  width: 100%;
  text-align: center;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: black;
  /* Adjust text color as needed */
}

.checklist-li .progress-bar.bg-success {
  background-color: #28a745;
  color: #fff;
}

.checklist-li .progress-bar.bg-success span {
  color: black;
}

.checklist-li .progress-bar.bg-info {
  background-color: #17a2b8;
  color: #fff;
}

.checklist-li .progress-bar.bg-info span {
  color: black;
}

.checklist-li .progress-bar.bg-warning {
  background-color: #ffc107;
}

.sub-checklist-div,
.sub-checklist-icon-buttons {
  display: inline-block;
}

.sub-checklist-item {
  list-style-type: none;
}

.checklist-div {
  width: 85%;
}

.sub-checklist-div {
  display: flex;
  align-items: center;
}

.sub-checklist-div input[type="checkbox"] {
  margin-right: 2px;
}

.edit-input {
  width: 78%;
}

/* .sub-checklist-li:hover{
background-color: rgb(236, 248, 255)
} */
.sub-checklist-icon-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sub-checklist-item-form {
  margin-top: 5px;
}

#checklist-item-subject {
  width: 65%;
}

.edit-checklist-input {
  width: 82%;
}

.sub-checklist-input {
  width: 73.5%;
}

.checklist-item-text {
  display: inline-block;
  width: 95%;
  white-space: normal;
  word-break: break-word;
}


#cancelchecklistBtn,
#confirmchecklistBtn {
  height: 40px;
  width: 120px;
  border-radius: 4px;
  font-family: Poppins-Regular, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 21px;
  cursor: pointer;
}

#confirmchecklistBtn {
  border-color: #0094ff;
  background-color: #0094ff;
  color: #ffffff;
}

#cancelchecklistBtn {
  background: #ffffff;
  border: 1px solid #d8d8d8;
  color: #a2a4ab;
}

#confirmchecklistBtn:hover {
  border-color: #0094ffc7;
  background-color: #0094ffc7;
}

#cancelchecklistBtn:hover {
  background-color: rgba(0, 73, 118, 0.04);
  border-color: rgba(0, 73, 118, 0.16);
}

p#modalMessagechecklist {
  font-size: 12px;
  font-weight: 100;
  width: auto;
  margin-top: 5px;
}

h2#modalheadingchecklist {
  font-size: 17px;
  font-weight: 600;
  font-family: Poppins-Regular, sans-serif;
  font-style: normal;
  color: #1d273c;
  margin: 0;
}

.modal-bg_checklist_delete {
  background: rgba(0, 0, 0, 0.6);
  zoom: 1;
  opacity: 0.8;
  filter: alpha(opacity=80);
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9;
  margin-left: 0px !important;
}

.deletechecklist {
  border-radius: 5px;
  background: rgb(255, 255, 255);
  width: fit-content;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
  -webkit-box-shadow: 5px 5px 5px rgb(0 0 0 / 15%);
  position: fixed;
  top: 50%;
  left: 50%;
  line-height: 25px;
  z-index: 99;
  padding: 30px !important;
  transform: translate(-50%, -50%);
}

@media screen and (max-width :899px) {
  .sub-checklist-div {
    width: calc(50px + 100vw - 368px) !important;
  }
}

.sub-checklist-div {
  width: calc(50px + 100vw - 690px);
}

.checklist_main {
  padding: 3px;
  display: flex;
  gap: 3px;
  align-items: center;
}


.icon-buttons {
  position: relative;
  height: 2px;
}

.icon-actions {
  cursor: pointer;
}

.checklist_option_dropdown {
  display: none;
  position: absolute;
  top: 20px;
  /* left: -60px; */
  left: calc(100% - 100px);
  background-color: #f9f9f9;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown_subchecklist {
  display: none;
  position: absolute;
  top: 26px;
  left: 130px;
  background-color: #f9f9f9;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  /* border: 1px solid #ccc; */
}

.checklist_option_dropdown a,
.dropdown_subchecklist a {
  padding: 6px 20px;
  text-decoration: none;
  background-position-x: 2px;
}

.checklist_option_dropdown a:hover,
.dropdown_subchecklist a:hover {
  background-color: #f1f1f1;
}

.sub-checklist-item-text {
  white-space: normal;
  word-break: break-word;
}

.checklist-heading {
  display: inline-block;
  margin-bottom: 0px;
  margin-top: 6px;
}

#main-dropdown {
  position: relative;
}

.sub-main-dropdown {
  position: absolute;
  right: 0px;
  border: 1px solid #628db6;
  background-color: #fffefe;
  border-radius: 3px;
  z-index: 99;
  padding-top: 5px;
  padding-right: 10px;
  padding-left: 10px;
  padding-bottom: 5px;
}

#add-checklist-item-btn {
  display: block;
  padding-bottom: 4px;
  border-bottom: 1px solid gray;
}

#add-checklist-item-btn:hover {
  text-decoration: none;
}

.button {
  display: block;
  padding-top: 4px;
}

.button:hover {
  text-decoration: none;
}

.show-class {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

.template-btn {
  margin-top: 5px;
}

.template-item {
  font-family: Poppins-Regular, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 21px;
}

.template_submit {
  border-color: #0094FF;
  background-color: #0094FF !important;
  border-radius: 4px;
  height: 40px !important;
  width: 140px;
  color: #FFFFFF;
  font-family: Poppins-Regular, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 21px;
}

.template_submit:hover {
  border-color: #0094ffc7;
  background-color: #0094ffc7 !important;
  cursor: pointer;
}

#template_close:hover {
  background-color: rgba(0, 73, 118, 0.04);
  border-color: rgba(0, 73, 118, 0.16);
  cursor: pointer;
}

#template_close {
  height: 40px;
  width: 140px;
  background: #FFFFFF;
  border: 1px solid #D8D8D8;
  border-radius: 4px;
  font-family: Poppins-Regular, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 21px;
  color: #A2A4AB;
  cursor: pointer;
}

.radio_button_template {
  display: none;
}

.headTemplate {
  margin-top: 0;
  margin-bottom: 8px;
  border-bottom: 1px solid #007bff;
  font-size: 18px;
  color: black;
  font-weight: 600;
  font-family: Poppins-Regular, sans-serif;
  font-style: normal;
  color: #1D273C;
}

#templatemodal {
  position: relative;
}

.cross_close_template {
  width: 14px !important;
  height: 24px !important;
}

.modal-content {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  position: absolute;
  right: 105px;
  top: 25px;
  border-radius: 5px;
  z-index: 1200;
  border: 1px solid #628db6;
  transition: all 0.1s ease-in;
  line-height: 25px;
  width: fit-content;
  background-color: rgba(240, 240, 244);
}

#templatemodal .close_head {
  padding-top: 13px;
  padding-left: 13px;
  padding-right: 13px;
}

#templatemodal .template-list .template-item {
  padding-left: 13px;
  padding-bottom: 0px;
  padding-right: 13px;
}

.template_name {
  cursor: pointer;
}

.template_name_li {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 190px;
}

.no_template_heading {
  margin-top: 0px;
  margin-bottom: 0px;
  padding-left: 13px;
}

#checklist-template-modal {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: all 0.1s ease-in;
  display: none;
}

.journal.note .wiki strong {
  font-weight: bold;
  color: #959595;
}

.template-list {
  height: 22vh;
  overflow-y: auto;
}

.disabled-link-checklist {
  cursor: not-allowed;
}

.controller-issues.action-show .checklist-para .checklist-heading {
  margin-bottom: 10px;
}

.done-date {
  width: 100px !important;
}

#checklist-status {
  display: inline-block;
}

html[lang="ar"] .checklist_option_dropdown {
  left: -4px !important;
}

html[lang="ar"] .sub-checklist-icon-buttons {
  left: 9px !important;
  right: auto !important;
}

html[lang="ar"] .dropdown_subchecklist {
  left: 25px !important;
}

html[lang="ar"] .icon-test {
  margin-right: -25px !important;
}


#content .issue .checklist-para #checklist-items #checklist-list .checklist-li .icon-buttons .checklist_option_dropdown>a.icon.icon-add,
#content .issue .checklist-para #checklist-items #checklist-list .checklist-li .icon-buttons .checklist_option_dropdown>a.icon.icon-del,
#content .issue .checklist-para #checklist-items #checklist-list .checklist-li .icon-buttons .checklist_option_dropdown>a.icon.icon-edit {
  display: flex;
  column-gap: 5px;
  row-gap: 5px;
  align-items: center;
  padding-left: 45px;
}

#content .issue .checklist-para #checklist-items #checklist-list .checklist-li .checklist-div .sub-checklist-item .sub-checklist-li .sub-checklist-div .sub-checklist-icon-buttons .dropdown_subchecklist .icon {
  display: flex;
  column-gap: 5px;
  row-gap: 5px;
  align-items: center;
}

/* .checklist-template-table .icon-edit {
  padding-left: 22px !important;
  background-position-x: 2px !important;
} */

/* .checklist-template-table .icon-del {
  padding-left: 26px !important;
  background-position-x: 5px !important;
} */