@font-face {
  font-family: "IRANSans";
  src: url("../fonts/X6r4QlL5qBuE.woff") format("woff");
  font-style: normal;
  font-weight: normal;
  font-display: swap;
}
* {
  box-sizing: border-box;
  font-family: "IRANSans";
}

h1 {
  font-size: 16px;
  text-align: center;
  margin: 30px 0;
}

.form-group {
  margin: 10px 0;
  display: flex;
  overflow: hidden;
  border-radius: 10px;
}
.form-group label {
  width: 110px;
  background: #19584D;
  color: #fff;
  padding: 10px;
  text-align: center;
  font-size: 14px;
}
.form-group input {
  flex-grow: 1;
  border: none;
  background: #f1f1f1;
  padding: 10px;
  outline: none;
  text-align: center;
}

.wrap {
  max-width: 1000px;
  margin: auto;
}

#factor {
  padding: 15px;
}
#factor .top {
  display: flex;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 10px;
}
#factor .top .part.part-1 {
  flex-grow: 1;
}
#factor .top .part.part-2 {
  width: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#factor .top .part.part-2 img {
  width: 70px;
}
#factor .top .part.part-3 {
  flex-grow: 1;
}
#factor #product_table {
  border-spacing: 0;
  width: 100%;
}
#factor #product_table > thead th {
  background: #19584D;
  color: #fff;
  text-align: center;
  border-right: 1px solid #ccc;
  padding: 10px;
  font-size: 15px;
  font-weight: normal;
}
#factor #product_table > thead th:first-child {
  border-radius: 0 10px 0 0;
  border-right-color: #19584D;
}
#factor #product_table > thead th:last-child {
  border-radius: 10px 0 0 0;
}
#factor #product_table > thead th .label {
  background: #fff;
  padding: 0 5px;
  border-radius: 21px;
  color: #19584d;
  font-size: 13px;
}
#factor #product_table > tbody > tr:last-child td:first-child {
  border-radius: 0 0 10px 0;
}
#factor #product_table > tbody > tr:last-child td:last-child {
  border-radius: 0 0 0 10px;
}
#factor #product_table > tbody > tr td {
  padding: 0;
  border: 1px solid #ccc;
  border-left: none;
  border-top: none;
}
#factor #product_table > tbody > tr td:first-child {
  padding: 3px 10px;
  text-align: center;
}
#factor #product_table > tbody > tr td:last-child {
  padding: 3px 10px;
  border-left: 1px solid #ccc;
}
#factor #product_table > tbody > tr td:last-child button {
  cursor: pointer;
}
#factor #product_table > tbody > tr td input {
  width: 100%;
  padding: 10px;
  border: none;
  outline: none;
  text-align: center;
}
#factor #product_table > tbody > tr .number_wrap {
  width: 50px;
}
#factor #product_table > tbody > tr .name_wrap {
  width: 30%;
}
#factor #product_table > tbody > tr .amount_wrap {
  width: 20%;
}
#factor #product_table > tbody > tr .count_wrap {
  width: 10%;
}
#factor #product_table > tbody > tr .total_wrap {
  width: calc(40% - 50px);
}
#factor #product_table > tbody .total_wrap {
  position: relative;
  padding-left: 45px !important;
}
#factor #product_table > tbody .remove_row {
  position: absolute;
  background: #fff;
  border: none;
  width: 30px;
  height: 30px;
  left: 5px;
  top: 10px;
}
#factor #product_table > tbody .remove_row:before {
  content: "";
  background: url(../images/sGKKrjOV8gmo.png) no-repeat;
  background-size: contain;
  width: 18px;
  height: 18px;
  display: block;
}
#factor .bottom {
  padding-top: 10px;
}
#factor .bottom table {
  width: 100%;
  border-spacing: 0;
}
#factor .bottom table tr:first-child td:nth-child(1) {
  border-radius: 0 10px 0 0;
  border-top: 1px solid #ccc !important;
}
#factor .bottom table tr:first-child td:nth-child(2) {
  border-radius: 10px 0 0 0;
  border-top: 1px solid #ccc !important;
}
#factor .bottom table tr:last-child td:nth-child(1) {
  border-bottom-right-radius: 10px;
}
#factor .bottom table tr:last-child td:nth-child(2) {
  border-bottom-left-radius: 10px;
}
#factor .bottom table tr td {
  border: 1px solid #ccc;
  border-left: none;
  border-top: none;
}
#factor .bottom table tr td:first-child {
  padding: 0 10px;
}
#factor .bottom table tr td:last-child {
  border-left: 1px solid #ccc;
  overflow: hidden;
  border-right: none;
}
#factor .bottom table tr td input {
  width: 100%;
  padding: 10px;
  border: none;
  outline: none;
  text-align: center;
}
#factor .bottom table tr.disable td {
  position: relative;
  overflow: hidden;
}
#factor .bottom table tr.disable td:before {
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: #f1f1f1;
  opacity: 0.8;
  display: block;
  position: absolute;
  z-index: 1;
}
#factor .bottom table .label {
  background: #19584d;
  padding: 0 5px;
  border-radius: 21px;
  color: #fff;
  font-size: 13px;
  position: relative;
  top: -1px;
}
#factor .bottom #add_new_row {
  width: 100%;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: 0.3s all;
  font-size: 15px;
}
#factor .bottom #add_new_row:hover {
  background: #19584D;
  color: #fff;
}
#factor textarea {
  width: 100% !important;
  border-radius: 10px;
  padding: 10px;
  border: 1px solid #ccc;
}

.actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
}
.actions * {
  width: calc(33.333% - 10px);
  display: inline-block;
  color: #fff;
  padding: 10px;
  border-radius: 10px;
  outline: none;
  border: none;
  text-align: center;
  font-size: 15px;
  cursor: pointer;
  transition: 0.3s all;
}
.actions a {
  text-decoration: none;
}
.actions #reset_factor {
  background: #DD5E3E;
}
.actions #reset_factor:hover {
  background: #af5133;
}
.actions #service_page {
  background: #DD7A25;
}
.actions #service_page:hover {
  background: #a6541f;
}
.actions #save_factor {
  background: #B73118;
}
.actions #save_factor:hover {
  background: #902917;
}

/*# sourceMappingURL=style.css.map */
