.modal-open,
.modal {
  padding-right: 0 !important;
}

.modal::-webkit-scrollbar {
  display: none;
}

.modal-body {
  padding: 0 35px;
  max-height: calc(100vh - 200px) !important;
  overflow: scroll;
}
.description {
  width: 100%;
  height: 150px;
  border: none;
  background-color: #f2f2f2;
  padding: 12px;
  border: 1px solid #d4d4d4;
}

.modal-body .title_Infor {
  /* color: var(--primary-color-1); */
  font-size: 15px;
  font-weight: 600;
  font-style: normal;
  margin: 20px 0px 10px;
  /* border: 1px solid #dedede;
  width: 25%;
  padding: 10px 0px 10px 20px; */
  border-left: none;
  border-right: none;
  color: #1d273d;
}
.modal-header {
  border: none;
  padding: 10px 36px;
  background: #fef9f7;
  align-items: center;
}
.modal-title {
  font-family: "Poppins";
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 25px;
  letter-spacing: 0em;
  text-align: left;
  margin-bottom: 0;
  text-transform: capitalize;
  color: #1d273d;
}
.modal-header i {
  border: 1px solid;
  border-radius: 50%;
  padding: 10px;
  /* color: var(--primary-color-1); */
  color: #1d273d;
}

.modal .modal-body .content__input:not(button, [type="file"]) {
  background-color: #ffffff;
  border-radius: 4px;
  border: 1px solid #d4d4d4;
  min-height: 40px;
  min-width: 100%;
  padding: 0 10px;
  font-weight: 400;
  font-size: 14px;
  margin-bottom: 21px;
  line-height: 21px;
  color: #1a1a1a;
  max-width: 100%;
}

.content-tax {
  margin-top: 16px;
}

.modal .modal-body textarea.content__input {
  min-height: 70px !important;
}

/* ---------------------checkbox------------------------------------ */
.modal-body .modal-content-tax {
  position: relative;
  margin-top: 32px;
  padding-bottom: 18px;
}

.lableCheckbox {
  width: 22px;
  height: 22px;
  cursor: pointer;
  position: absolute;
  top: 8px;
  left: 0px;
  background: #204ec6;
  border-radius: 4px;
}

.lableCheckbox::after {
  content: "";
  width: 10px;
  height: 5px;
  position: absolute;
  top: 8px;
  left: 6px;
  border: 2px solid #fff;
  border-top: none;
  border-right: none;
  background: transparent;
  opacity: 0;
  transform: rotate(-45deg);
}

.lableCheckbox:hover::after {
  opacity: 0.3;
}

.contentCheckbox {
  position: absolute;
  width: 300px;
  left: 30px;
}

/* input[type="checkbox"] {
  visibility: hidden;
}
input[type="checkbox"]:checked + label {
  background: #204ec6;
  position: absolute;
  width: 22px;
  height: 22px;
  left: 0;
}
input[type="checkbox"]:checked + label::after {
  opacity: 1;
} */
.squaredcheck {
  position: relative;
}

.category {
  margin-top: 29px;
  font-family: Roboto;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 0em;
  text-align: left;
}

/* --------------------- end checkbox------------------------------------ */
.modal-body .modal-design {
  display: flex;
  position: relative;
  justify-content: space-between;
}

.modal-button-wrapper {
  height: 30px;
  margin-top: 2px;
}

.modal-button-wrapper > button {
  border: none;
  background-color: transparent;
}

.modal-button-wrapper > button:hover > i {
  color: var(--primary-color-1);
}

.modal-body .modal-design .title-Design {
  font-family: Roboto;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: 0.10000000149011612px;
  text-align: left;
  color: #1a1a1a;
  border: none;
  margin-top: 9px;
}

.modal-purport .title-design-content::before {
  content: "";
  position: absolute;
  border-top: 1px solid #c4c4c4;
  width: 700px;
  bottom: -26px;
}

.modal-purport .form-purport .purport {
  background-color: #ffffff;
  border-radius: 5px;
  border: 1px solid #d4d4d4;
  min-height: 40px;
  padding-left: 17px;
  font-weight: 400;
  font-size: 16px;
  line-height: 21px;
  color: #1a1a1a;
  /* outline: none; */
}

.modal-purport .title-design-content {
  font-family: Roboto;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0.1599999964237213px;
  text-align: left;
  border: none;
  margin-bottom: 19px;
  display: block;
  width: 700px;
  resize: none;
}

.title-pirce {
  font-family: Roboto;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 0em;
  text-align: left;
  color: #727272;
}

.isPrice {
  font-family: Open Sans;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0em;
  text-align: left;
  color: #eb5757;
  margin-left: 9px;
}

.modal-ckeditor {
  margin-left: 36px;
}

.content_control-item {
  bottom: 25px;
  position: absolute;
  right: 27px;
}

.content_control-item .addItem {
  background: #204ec6;
  color: #fff;
  border-radius: 10px;
  border: none;
  line-height: 26px;
  padding: 0 10px;
  min-width: 83px;
  min-height: 33px;
}

.content_control-item .addItem span {
  font-family: Open Sans;
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
  line-height: 26px;
  letter-spacing: 0em;
  text-align: left;
}

.content_control-item .addItem fal {
  position: absolute;
  left: 50%;
  right: 50%;
  top: 25%;
  bottom: 25%;

  border: 1.5px solid #ffffff;
}

.modal-content-design {
  background: rgba(158, 193, 246, 0.1);
}

.title-icon {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  list-style: none;
  width: 100%;
}

input[type="date"] {
  cursor: text;
}

.title-icon button {
  background: none;
  border: none;
}

.add-new button {
  background: var(--primary-color-1);
  /* padding: 5px 10px; */
  color: white;
  font-size: 12px;
}

.list-search-result {
  background-color: #fff;
  border-radius: 10px;
  display: none;
  position: absolute;
  z-index: 5;
  top: calc(100% - 25px);
  right: 0;
  left: 0;
  max-height: 300px;
  overflow-y: auto;
  box-shadow: 3px 7px 22px rgba(0, 0, 0, 0.2);
}
.list-search-result li {
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 16px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  cursor: pointer;
  height: 42px;
}
.list-search-result li:hover {
  background-color: var(--primary-color-1);
  color: #fff;
}
.search-customer-input {
  position: relative;
  display: flex;
  align-items: center;
  line-height: 100%;
}
.search-customer-input:focus + .list-search-result,
.list-search-result:active {
  display: block;
}

.category-dropdown {
  overflow: hidden;
  max-height: 0;
  transition: all ease-out 0.4s;
}

.category-row {
  position: relative;
  padding-top: 16px;
  padding-bottom: 16px;
  cursor: grab;
  border: 1px solid #ccc;
  background-color: #fafafa;
}

.category-row:hover {
  box-shadow: 0 1px 5px rgb(0 0 0 / 20%);
}

.category-row.moving {
  background-color: #ccdef5;
  z-index: 10;
  transform: scale(1.04);
  box-shadow: 0px 2px 10px 3px rgb(0 0 0 / 20%);
}

.category-row.grabbing {
  background-color: #f5f9fe;
  transform: scale(1.01);
  box-shadow: 0 1px 5px rgb(0 0 0 / 20%);
  cursor: grabbing;
}

.category-row.droped .category-dropdown {
  max-height: 300px;
}
.dropdown-icon {
  transition: all ease 0.4s;
}
.category-row.droped .dropdown-icon {
  transform: rotateZ(180deg);
}

.img_modal_logo {
  width: 200px;
}

.img-upload-wrap {
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
}

#img-thumbnail-customer {
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}

.name-customer {
  display: block;
}
