.Load-Button,
.Apply-Button {
  align-items: center;
  gap: 4px !important;
  height: 32px !important;
  padding: 7px 16px;
  font-family: Helvetica;
  font-size: 14px !important;
  font-weight: 700;
  color: #1A1A1ADE;
  background: transparent;
  border-radius: 8px;
  box-sizing: border-box;
  cursor: pointer;
  transition: background 0.2s ease-in-out;
}

.formbtn {
  color: #ffffff;
  background-color: var(--action-primary-default);
}

.modalitem {
  display: none;
  position: fixed;
  z-index: 100;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

.modalitem-content {
  justify-content: center;
  background-color: #fefefe;
  margin: auto;
  padding: 20px 20px 20px 20px;
  border: 1px solid #888;
  width: 920px;
  height: 620px;
  border-radius: 10px;
  padding-left: 30px;
}

.closeicon {
  display: flex;
  justify-content: right;
  cursor: pointer;
  color: rgba(26, 26, 26, 0.87);
  font-family: "Helvetica";
}

@media screen and (min-width: 768px) and (max-width: 991px) {

  .FormOverView {
    padding-right: 8px;
  }

  :host ::ng-deep .adjacentField {
    display: inline-block;
    width: 46%;
    max-width: 46%;
    box-sizing: border-box;
    vertical-align: top;
  }

  :host ::ng-deep mat-form-field.Radio_Form_Field {
    height: auto !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  :host ::ng-deep mat-radio-group[data-cy="DailyAttendanceType-RadioBox"] {
    height: auto !important;
    display: flex !important;
    flex-wrap: wrap;
    column-gap: 20px;
  }

  .modalitem-content {
    width: 90vw !important;
    height: auto !important;
    max-height: 88vh;
    padding-left: 20px;
    overflow-y: auto;
    box-sizing: border-box;
  }

  .modalitem button[style*="margin-right: 36px"] {
    margin-right: 16px !important;
  }

  :host ::ng-deep gb-formgrid {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media screen and (max-width: 767px) {

  .FormOverView {
    padding: 0 8px;
    overflow-x: hidden;
  }

  :host ::ng-deep .adjacentField {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-bottom: 8px;
  }

  :host ::ng-deep mat-form-field.Radio_Form_Field {
    height: auto !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  :host ::ng-deep mat-radio-group[data-cy="DailyAttendanceType-RadioBox"] {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    align-items: flex-start !important;
    row-gap: 8px;
  }

  :host ::ng-deep mat-radio-group[data-cy="DailyAttendanceType-RadioBox"] mat-radio-button {
    display: block !important;
    width: 100%;
  }

  :host ::ng-deep gb-newpicklist,
  :host ::ng-deep gb-input,
  :host ::ng-deep gb-date,
  :host ::ng-deep gb-checkbox {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .Load-Button,
  .Apply-Button {
    width: 100%;
    justify-content: center;
    margin-right: 0 !important;
    margin-bottom: 10px !important;
  }

  .modalitem {
    padding-top: 0;
  }

  .modalitem-content {
    width: 94vw !important;
    height: auto !important;
    max-height: 92vh;
    padding: 12px !important;
    margin: 5vh auto;
    overflow-y: auto;
    box-sizing: border-box;
  }

  .savebut {
    display: flex;
    flex-direction: column;
    width: 100%;
    row-gap: 8px;
  }

  :host ::ng-deep gb-formgrid {
    display: block;
    width: 100%;
    max-width: 100vw;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  :host ::ng-deep gb-formaction {
    display: block;
    width: 100%;
  }
}