.FindButton {
  background-image: none;
  border: 1px solid rgba(0, 0, 0, 0);
  border-radius: 4px;
  cursor: pointer;
  display: inline-block;
  font-size: 14px;
  font-weight: normal;
  line-height: 1.42857;
  width: 80px;
  margin-bottom: 0;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
  padding: 5px 10px;
  // padding: 6px 0px;
  background-color: #428bca;
  color: #ffffff;
  font-family: open sans;
  margin: 0px 3px;
}

.BrowseBtn {
  background-color: #327b00;
  color: #ffffff;
  border-radius: 4px;
  cursor: pointer;
  display: inline-block;
  font-size: 14px;
  font-weight: normal;
  line-height: 1.42857;
  margin-bottom: 0;
  padding: 6px 22px;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
  background-image: none;
  font-family: open sans;
  margin: 0px 3px;
}

.PunchInBtn {
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background-image: none;
  border: 1px solid rgba(0, 0, 0, 0);
  border-radius: 4px;
  cursor: pointer;
  display: inline-block;
  font-size: 14px;
  font-weight: normal;
  line-height: 1.42857;
  margin-bottom: 0;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
  font-family: open sans;
  margin: 0px 5px;
  padding: 6px 0px;
  width: 80px;
  background-color: var(--action-primary-default);
  color: #ffffff;
  border: none;
  box-shadow: -1px 2px 2px 0px #00000026;
}

.PunchOutBtn {
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background-image: none;
  border: 1px solid rgba(0, 0, 0, 0);
  border-radius: 4px;
  cursor: pointer;
  display: inline-block;
  font-size: 14px;
  font-weight: normal;
  line-height: 1.42857;
  margin-bottom: 0;
  padding: 6px 22px;
  font-family: open sans;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
  padding: 6px 0px;
  width: 80px;
  background-color: var(--action-primary-default);
  color: #ffffff;
  border: none;
  box-shadow: -1px 2px 2px 0px #00000026;
}

table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  table-layout: auto;
}

td {
  // text-align: left;
  padding: 0;
}

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  justify-content: center;
  background-color: #fefefe;
  margin: auto;
  padding: 20px 20px 20px 20px;
  border: 1px solid #888;
  width: 1200px;
  height: 500px;
  border-radius: 10px;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.attachmentmodal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

.attachmentmodal-content {
  justify-content: center;
  background-color: #fefefe;
  margin: auto;
  padding: 20px 20px 20px 20px;
  border: 1px solid #888;
  width: 1200px;
  height: 500px;
  border-radius: 10px;
  overflow: auto;
  /* enable scroll */
}

.head {
  color: var(--action-primary-default);
}

@media screen and (max-width: 768px) {
  ::ng-deep .FormOverView {
    padding: 0 0.5rem !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  ::ng-deep .FormOverView > div[style*='gap: 180px'] {
    display: flex !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
    margin-top: 20px !important;
  }

  ::ng-deep .PunchInBtn,
  ::ng-deep .PunchOutBtn {
    flex: 1 1 auto !important;
    min-width: 100px !important;
  }

  ::ng-deep .FormOverView > div[style*='grid-template-columns: 270px'][style*='align-items: center'] {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
  }

  ::ng-deep .FormOverView > div[style*='grid-template-columns: 270px']:not([style*='align-items: center']) {
    display: none !important;
  }

  ::ng-deep .FormOverView .head {
    font-size: 1rem !important;
    word-break: break-word !important;
  }

  ::ng-deep
    .FormOverView
    > div[style*='grid-template-columns: 270px'][style*='align-items: center']
    > div:nth-child(1)
    .head::after {
    content: ' Code';
    font-weight: 400;
    color: #64748b;
  }

  ::ng-deep
    .FormOverView
    > div[style*='grid-template-columns: 270px'][style*='align-items: center']
    > div:nth-child(2)
    .head::after {
    content: ' Name';
    font-weight: 400;
    color: #64748b;
  }

  ::ng-deep .FormOverView > div[style*='flex-direction: row'][style*='gap: 50px'] {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
  }

  ::ng-deep .FormOverView > div[style*='flex-direction: row'] > div:first-child > div {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    gap: 8px !important;
  }

  ::ng-deep .FormOverView span[style*='margin-left'] {
    margin-left: 8px !important;
  }

  ::ng-deep span[style*='width: 337px'] {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    order: 1 !important;
  }

  ::ng-deep span[style*='width: 337px'] span[style*='margin-left'] {
    margin-left: 0 !important;
    margin-top: 2px !important;
  }

  ::ng-deep .FormOverView > div[style*='flex-direction: row'] > div:nth-child(2) {
    display: flex !important;
    flex-direction: column !important;
  }

  ::ng-deep .FormOverView > div[style*='flex-direction: row'] > div:nth-child(2) > div:first-of-type {
    display: flex !important;
    flex-direction: column !important;
    order: 1 !important;
  }

  ::ng-deep .FindButton {
    order: 2 !important;
    margin-left: 0 !important;
    margin-top: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  ::ng-deep .adjacentField {
    order: 3 !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 8px !important;
  }

  ::ng-deep .BrowseBtn {
    order: 4 !important;
    margin-left: 0 !important;
    margin-top: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    display: block !important;
  }

  ::ng-deep gb-textarea {
    order: 5 !important;
    display: block !important;
    width: 100% !important;
    margin-top: 8px !important;
  }

  ::ng-deep .modal-content,
  ::ng-deep .attachmentmodal-content {
    box-sizing: border-box !important;
    width: 94% !important;
    max-width: 94vw !important;
    height: auto !important;
    max-height: 90vh !important;
    padding: 1rem !important;
    overflow-y: auto !important;
  }

  ::ng-deep table {
    display: block !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
}
