/*loader*/
#preloader {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 99999;
  height: 100%;
  width: 100%;
  background: #fff;
  display: flex;
  display: flex;
  justify-content: center;
  align-items: center;
}
/* #loader_container {
  animation: fade 1.2s linear infinite;
} */
#loader {
  width: 25%;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#loader {
  animation: load 1s infinite;
}

@keyframes load {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.footer-area {
  padding: 20px;
  background-color: #fff;
}
.background-none {
  background: unset !important;
}
label.is-invalid {
  color: #dc3545;
  font-style: italic;
  font-size: 12px;
}
label.is-valid {
  color: #28a745;
  font-style: italic;
  font-size: 12px;
}
label.error {
  color: #dc3545;
  font-style: italic;
  font-size: 12px;
}
span.error {
  color: #dc3545;
  font-style: italic;
  font-size: 12px;
}
.combodate {
  display: flex;
  align-items: center;
}
.datepicker {
  cursor: pointer;
}
.select2-container--default
  .select2-selection--multiple
  .select2-selection__choice {
  margin-left: 2px;
  margin-top: 2px;
  margin-bottom: 2px;
}
.select2-container--default
  .select2-selection--multiple
  .select2-selection__choice__display {
  padding-left: 0px;
}
.select2-container--default
  .select2-selection--multiple
  .select2-selection__choice__remove {
  /*    border-right: none;*/
  position: relative;
}
.select2-container--default
  .select2-selection--multiple
  .select2-selection__choice__remove:hover {
  color: red;
  border-radius: unset;
  background-color: unset;
}
.select2-container .select2-search--inline .select2-search__field {
  font-family: "Prompt", sans-serif;
  margin-top: 0;
  height: 26px;
}

.select2-container {
  flex: 1;
}

.select2-selection {
  height: 100% !important;
}

.disabled {
  cursor: no-drop !important;
}

.drag-handle {
  color: #1690ed;
  display: inline-block;
  cursor: move;
  cursor: -webkit-grabbing;
}
b {
  color: #1690ed;
}
select option:checked {
  background-color: #ddd;
}
.hide-show-login {
  top: 13px;
  right: 25px;
  position: absolute;
  z-index: 5;
  display: none;
}
.hide-show-login i {
  font-size: 14px;
  float: right;
  cursor: pointer;
  position: absolute;
}
.hide-show-db {
  right: 10px;
  top: -30px;
  float: right;
  position: relative;
  z-index: 5;
}
.hide-show-db i {
  font-size: 14px;
  cursor: pointer;
}
button.close {
  padding: 0;
  background-color: transparent;
  border: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.close {
  float: right;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  opacity: 0.5;
}
.toggle.android {
  border-radius: 0px;
}
.toggle.android .toggle-handle {
  border-radius: 0px;
}
.select2-container {
  box-sizing: border-box;
  display: block;
  margin: 0;
  position: relative;
  vertical-align: middle;
}
select.form-control.is-valid + .select2 .select2-selection {
  border-color: #17c666;
  padding-right: calc(0.75em + 2.8625rem);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2317C666' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center, center right 2rem;
  background-size: calc(0.75em + 0.575rem) calc(0.75em + 0.575rem);
}

select.form-control.is-valid + .select2 .select2-selection:focus {
  border-color: #17c666;
  box-shadow: 0 0 0 0.2rem rgba(23, 198, 102, 0.25);
}

select.form-control.is-invalid + .select2 .select2-selection {
  border-color: #ea4d4d;
  padding-right: calc(0.75em + 2.8625rem);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23EA4D4D' viewBox='-2 -2 7 7'%3e%3cpath stroke='%23EA4D4D' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center, center right 2rem;
  background-size: calc(0.75em + 0.575rem) calc(0.75em + 0.575rem);
}

select.form-control.is-invalid + .select2 .select2-selection:focus {
  border-color: #ea4d4d;
  box-shadow: 0 0 0 0.2rem rgba(234, 77, 77, 0.25);
}
.hide-show-repass {
  right: 10px;
  float: right;
  position: relative;
  z-index: 5;
  display: none;
  top: -27px;
}
.hide-show-repass i {
  font-size: 14px;
  float: right;
  cursor: pointer;
  position: relative;
}
.hide-show-confirmpass {
  right: 10px;
  float: right;
  position: relative;
  z-index: 5;
  display: none;
  top: -27px;
}
.hide-show-confirmpass i {
  font-size: 14px;
  float: right;
  cursor: pointer;
  position: relative;
}

/*.modal .select2-container {
    width: 100% !important;
    padding: 0;
}*/

/*.owl-theme .owl-nav {
    margin-top: 0;
}*/

/*.owl-nav {
  position: absolute;
  top: -55px;
  left: -5px;
}*/

@media (max-width: 540px) {
  .mobile-d-block {
    display: block;
  }
}

.date-container {
  font-size: 14px;
  background-color: #2c3e52;
  color: white;
  padding: 10px;
  text-align: center;
  grid-area: date;
  display: flex;
  justify-content: center;
  align-items: center;
}
.card-container {
  margin-bottom: 10px;
  display: grid;
  grid-template-areas: "date info action";
  grid-template-columns: 150px 1fr;
  width: 100%;
  background-color: #e5eff9;
  line-height: 1.75em;
}
.info-container {
  padding: 10px;
  grid-area: info;
}
.action-container {
  padding: 10px;
  grid-area: action;
}
.event-time {
  font-size: 14px;
  font-weight: bold;
}
.event-name {
  font-weight: 400;
}
.event-day {
  font-size: 13px;
  font-weight: 400;
}

@media (max-width: 600px) {
  .card-container {
    grid-template-areas: "date date" "info info" "action action";
    width: 100%;
  }
}

.reset-time-start {
  top: -26px;
  right: 35px;
  position: relative;
  z-index: 5;
  display: none;
}
.reset-time-start i {
  font-size: 14px;
  float: right;
  cursor: pointer;
  position: relative;
}

.reset-time-end {
  top: -26px;
  right: 35px;
  position: relative;
  z-index: 5;
  display: none;
}
.reset-time-end i {
  font-size: 14px;
  float: right;
  cursor: pointer;
  position: relative;
}
.fc-ltr .fc-basic-view td.fc-today .fc-day-number {
  font-weight: 600;
  border: 1px solid #ffe668;
  background-color: #ffe668;
}

.fc-ltr .fc-basic-view .fc-other-month {
  background-color: #f3f3f3;
}

.card-menu {
  border: none;
  box-shadow: unset;
  background-color: unset;
  margin-bottom: 10px;
}

.card-menu .card-header {
  padding: 0;
}

.file-uploader {
  background-color: #e4ebf2;
  border-radius: 10px;
  color: #242424;
  max-width: 100%;
  height: auto;
  padding: 10px;
}

.file-uploader__message-area {
  font-weight: 500;
  font-size: 14px;
  padding: 0;
  text-align: center;
  color: #0364a2;
}

.file-uploader__message-area p {
  margin-bottom: 0;
}

.file-list {
  font-size: 15px;
  padding-left: 0;
  margin: 10px 0 0;
  max-width: 100%;
}

.file-list li {
  height: 50px;
  line-height: 50px;
  border: none;
  overflow: hidden;
  color: #428bca;
  background-color: #fff;
  padding-left: 0.8em;
  margin-bottom: 5px;
}

.file-list__name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 80%;
  float: left;
  font-size: 14px;
}

.file-list li:after,
.file-uploader:after {
  content: "";
  display: table;
  clear: both;
}

.removal-button {
  width: 50px;
  height: 100%;
  border: none;
  background-color: #ea4d4d;
  color: white;
  display: inline-block;
  float: right;
}

.removal-button::before {
  content: "X";
}

.removal-button:focus {
  outline: 0;
}

.removal-button-file {
  width: 50px;
  height: 100%;
  border: none;
  background-color: #ea4d4d;
  color: white;
  display: inline-block;
  float: right;
  text-align: center;
}
.removal-button-file:focus {
  outline: 0;
}

.download-button-file {
  width: 50px;
  height: 100%;
  border: none;
  background-color: #0364a2;
  color: white;
  display: inline-block;
  float: right;
  text-align: center;
}

.download-button-file:focus {
  outline: 0;
}

.download-button-file:hover {
  color: #fff;
  background-color: #1690ed;
}

.open-button-file {
  width: 50px;
  height: 100%;
  border: none;
  background-color: #0d4167;
  color: white;
  display: inline-block;
  float: right;
  text-align: center;
}

.open-button-file:focus {
  outline: 0;
}

.open-button-file:hover {
  color: #fff;
  background-color: #1690ed;
}

.file-chooser {
  padding: 0;
  transition: background-color 1s, height 1s;
  width: 100%;
  margin: 10px 0 0;
}

.file-chooser p {
  font-size: 14px;
  padding-top: 10px;
}

.file-chooser__input {
  margin: 0 auto;
}

.file-uploader input[type="submit"] {
  margin-top: 2em;
  float: right;
}

.file-uploader__submit-button {
  width: 100%;
  border: none;
  font-size: 1.5em;
  padding: 1em;
  background-color: #72bfa7;
  color: white;
}

.file-uploader__submit-button:hover {
  background-color: #a7d7c8;
}

.file-uploader .hidden {
  display: none;
}

.hidden input {
  display: none;
}

.file-chooser p.error-message {
  color: #ea4d4d;
  margin-bottom: 0;
}

.file-uploader .hidden-inputs {
  width: 100%;
  margin: 0 auto;
}

.swal2-container.swal2-center > .swal2-popup {
  display: block !important;
}

.watermark {
  position: absolute;
  z-index: 1;
  display: flex;
  min-height: 50%;
  min-width: 100%;
  top: 25%;
  left: 0;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  white-space: nowrap;
  user-select: none;
}

.watermark-text {
  opacity: 0.6;
  color: #ea4d4d;
  font-size: 50px;
  transform: rotate(340deg);
  -webkit-transform: rotate(340deg);
}

@media (max-width: 576px) {
  .watermark {
    position: absolute;
    z-index: 1;
    display: flex;
    min-height: 50%;
    min-width: 100%;
    top: 0;
    left: 0;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    user-select: none;
  }

  .watermark-text {
    opacity: 0.6;
    color: #ea4d4d;
    font-size: 2em;
    transform: rotate(340deg);
    -webkit-transform: rotate(340deg);
  }
}

.notification-card {
  background-color: #ffffff;
  border-radius: 10px;
}

.notification-card.notification-new {
  background-color: #f1f1f1;
}

.notification-card:hover {
  background-color: #f0f8ff;
  border-radius: 10px;
}

.blink {
  animation: blinker 1s linear infinite;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}

/* ================ overlay ================== */
.overlay {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  position: fixed;
  background: #222;
  z-index: 1200;
  opacity: 0.9;
}

.overlay .overlay_inner {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  position: absolute;
}

.overlay .overlay_content {
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.overlay .overlay_content .overlay_content_text {
  text-align: center;
  color: #fff;
  font-weight: 400;
  font-size: 1.25em;
  margin-top: 10px;
}

.overlay .overlay_content .spinner {
  width: 75px;
  height: 75px;
  display: inline-block;
  border-width: 5px;
  border-color: rgba(255, 255, 255, 0.05);
  border-top-color: #fff;
  animation: spin 1s infinite linear;
  border-radius: 100%;
  border-style: solid;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

/*======================== Stepwizard ======================================*/

.setup-content {
  padding: 0px 100px;
}
.stepwizard-step p {
  margin-top: 10px;
}
.stepwizard-row {
  display: contents;
}
.stepwizard {
  display: table;
  width: 100%;
  position: relative;
  text-align: center;
  table-layout: fixed;
}
.stepwizard-step button[disabled] {
  opacity: 1 !important;
  filter: alpha(opacity=100) !important;
}
.step .stepwizard-row:before {
  top: 0;
  bottom: 0;
  left: 0;
  position: absolute;
  content: " ";
  width: 100%;
  height: 100%;
  background-color: none;
}
.stepwizard-step {
  width: 150px;
  display: inline-block;
  text-align: center;
  position: relative;
}
.step {
  position: initial;
  right: 0;
  top: 20px;
  display: block;
}
.step .success-line {
  width: 100%;
  height: 1px;
  margin: 0;
  padding: 0;
  display: inline-block;
  position: absolute;
  top: 50px;
  border-top: 4px solid #05c158;
}
.step .wait-line {
  width: 100%;
  height: 1px;
  margin: 0;
  padding: 0;
  display: inline-block;
  position: absolute;
  top: 50px;
  border-top: 4px solid #d4d4d4;
}
.step em.st1 {
  left: 60px;
}
.step em.st2 {
  left: 140px;
}
.step p.text-active {
  font-weight: 600;
  font-size: 14px;
  color: #1690ed !important;
}
.step p.text-wait {
  font-size: 14px;
  color: #333 !important;
}
.step p.text-success {
  font-size: 14px;
  font-weight: 400;
  color: #05c158 !important;
}
.step div.stepwizard-step .step-btn {
  width: 100px;
  height: 100px;
  line-height: 38px;
  margin: 0;
  padding: 0;
  border-radius: 50px;
  font-size: 16px;
  font-style: normal;
  text-align: center;
  display: inline-block;
}
.step div.stepwizard-step .btn-active {
  border: 4px solid #1690ed;
  color: #ffffff;
  background: #d0ebff;
  animation: pulse 2s infinite;
}
.step div.stepwizard-step .btn-success {
  border: 4px solid #05c158;
  color: #05c158;
  background: #caffe2;
  pointer-events: none;
}
.step div.stepwizard-step .btn-waiting {
  border: 0px solid #d4d4d4;
  color: #c1c1c1;
  background: #f6f6f6;
  pointer-events: none;
}

.step div.stepwizard-step .step-btn .step-img {
  width: 100%;
  padding: 20px;
  text-align: center;
}

.grayscale {
  filter: grayscale(100%);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 #1690ebcc;
  }
  100% {
    box-shadow: 0 0 0 10px #ffffff4d;
  }
}

@media (max-width: 576px) {
  .stepwizard-step {
    width: 100px;
    display: inline-block;
    text-align: center;
    position: relative;
  }

  .step div.stepwizard-step .step-btn {
    width: 60px;
    height: 60px;
    line-height: 38px;
    margin: 0;
    padding: 0;
    border-radius: 50px;
    font-size: 16px;
    font-style: normal;
    text-align: center;
    display: inline-block;
  }

  .step .success-line {
    width: 100%;
    height: 1px;
    margin: 0;
    padding: 0;
    display: inline-block;
    position: absolute;
    top: 30px;
    border-top: 2px solid #05c158;
  }

  .step .wait-line {
    width: 100%;
    height: 1px;
    margin: 0;
    padding: 0;
    display: inline-block;
    position: absolute;
    top: 30px;
    border-top: none;
    border-top: 2px solid #d4d4d4;
  }

  .step div.stepwizard-step .btn-active {
    border: 2px solid #1690ed;
    color: #ffffff;
    background: #d0ebff;
    animation: pulse 2s infinite;
  }
  .step div.stepwizard-step .btn-success {
    border: 2px solid #05c158;
    color: #05c158;
    background: #caffe2;
    pointer-events: none;
  }

  .step div.stepwizard-step .step-btn .step-img {
    width: 100%;
    padding: 10px;
    text-align: center;
  }
}

/* ======= tracking timeline ========== */
.tracking-detail {
  padding: 3rem 0;
}
#tracking {
  margin-bottom: 1rem;
}
.tracking-status-info {
  margin: 0;
  background-color: #214977;
  padding: 0.7rem 0;
}
.tracking-status {
  font-size: 1rem;
  color: #fff;
  text-transform: uppercase;
  text-align: center;
  margin: 0;
}
.tracking-list {
  border: 1px solid #d4d4d4;
}
.tracking-item {
  border-left: 1px solid #d4d4d4;
  position: relative;
  padding: 2rem 1.5rem 0.5rem 2.5rem;
  font-size: 0.9rem;
  margin-left: 3rem;
  min-height: 5rem;
}
.tracking-item:last-child {
  padding-bottom: 2rem;
}
.tracking-item .tracking-date {
  margin-bottom: 0.5rem;
}
.tracking-item .tracking-date .tracking-content-date {
  font-size: 0.9rem;
  margin-bottom: 0;
}
.tracking-item .tracking-date .tracking-content-time {
  color: #888;
  font-size: 85%;
  padding-left: 0.4rem;
  margin-bottom: 0;
}
.tracking-item .tracking-content {
  padding: 0.5rem 0.8rem;
  background-color: #f4f4f4;
  border-radius: 0.5rem;
}
.tracking-item:first-child .tracking-content .tracking-content-status {
  color: #17C666;
}
.tracking-item .tracking-content .tracking-content-status {
  font-size: 0.9rem;
  margin-bottom: 0;
  font-weight: 600;
}
.tracking-item .tracking-content .tracking-content-by, .tracking-content-remark {
  color: #888;
  font-size: 0.8rem;
  margin-bottom: 0;
}
.tracking-item .tracking-icon {
  line-height: 2.6rem;
  position: absolute;
  left: -1.3rem;
  width: 2.6rem;
  height: 2.6rem;
  text-align: center;
  border-radius: 50%;
  font-size: 1.1rem;
  background-color: #fff;
  color: #fff;
}
.tracking-item .tracking-icon.status-success {
  color: #fff;
  background-color: #17C666;
}
.tracking-item .tracking-icon.status-secondary {
  color: #888;
  border: 2px solid #d4d4d4;
  background-color: #f6f6f6;
}
@media (min-width: 992px) {
  .tracking-item {
    margin-left: 10rem;
  }
  .tracking-item .tracking-date {
    position: absolute;
    left: -10rem;
    width: 7.5rem;
    text-align: right;
  }
  .tracking-item .tracking-date .tracking-content-time {
    display: block;
  }
  .tracking-item .tracking-content {
    padding: 0;
    background-color: transparent;
  }
}
/*======================== Stepwizard ======================================*/

div#area_service_product_issue_group ul#area_service_product_issue_group_ul>li {
  position: relative;
  padding: 10px;
  /*background: #f0f8ff;*/
  cursor: move;
}

div#area_service_product_issue_group a.js-remove {
  cursor: pointer;
  color: #c00;
  font-style: normal;
  font-weight: 600;
  font-size: 18px;
}

div#area_service_product_issue_group li:hover i {
  opacity: 1;
}

div#area_curr_service_product_issue_group li {
  position: relative;
  padding: 10px;
  /*background: #f0f8ff;*/
  cursor: move;
}

div#area_curr_service_product_issue_group a.js-remove {
  cursor: pointer;
  color: #c00;
  font-style: normal;
  font-weight: 600;
  font-size: 18px;
}

.service_product_issue_group_total_text {
  font-size: 16px;
  font-weight: 600;
  color: #1690ed;
}

.service-file-list li:after {
  display: table;
  clear: both;
}

.service-file-list {
  padding-left: 0px;
  font-size: 15px;
}

.service-file-list-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.service-file-list li {
  height: 50px;
  line-height: 50px;
  border: none;
  overflow: hidden;
  font-weight: 500;
  color: #161c25;
  background-color: #e8ebef;
  padding-left: 1em;
  margin-bottom: 5px;
}

.service-file-list-name {
  max-width: 80%;
  float: left;
}

div#area_service_part ul#area_service_part_ul>li {
  position: relative;
  padding: 10px;
  /*background: #f0f8ff;*/
  cursor: move;
}

div#area_service_part a.js-remove {
  cursor: pointer;
  color: #c00;
  font-style: normal;
  font-weight: 600;
  font-size: 18px;
}

div#area_service_part li:hover i {
  opacity: 1;
}

.service_part_total_text {
  font-size: 16px;
  font-weight: 600;
  color: #1690ed;
}

.case-file-list li:after {
  display: table;
  clear: both;
}

.case-file-list {
  padding-left: 0px;
  font-size: 15px;
}

.case-file-list-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.case-file-list li {
  height: 50px;
  line-height: 50px;
  border: none;
  overflow: hidden;
  font-weight: 500;
  color: #161c25;
  background-color: #e8ebef;
  padding-left: 1em;
  margin-bottom: 5px;
}

.case-file-list-name {
  max-width: 80%;
  float: left;
}