
.div1 {
    max-height: 450px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
}

::-webkit-scrollbar {
    width: 2px;
  }

@media (max-width: 767px) {
  :host ::ng-deep {
    .FormOverView.scrollbar {
      width: 100%;
      max-width: 100vw;
      overflow-x: hidden;
      box-sizing: border-box;
    }

    .splivDiv {
      display: flex !important;
      flex-direction: column !important;
      width: 100%;
    }

    .div1 {
      width: 100% !important;
      max-width: 100%;
      max-height: 220px;
      box-sizing: border-box;
    }

    .div2 {
      padding-left: 0 !important;
      width: 100%;
      max-width: 100%;
      box-sizing: border-box;
      margin-top: 16px;
    }

    .CodeName {
      display: flex !important;
      flex-direction: column !important;
      height: auto !important;
      width: 100%;
      row-gap: 16px;
    }

    .divmanual {
      display: flex !important;
      flex-direction: row !important;
      align-items: flex-start !important;
      flex-wrap: nowrap !important;
      width: auto !important;
      max-width: 100%;
      box-sizing: border-box;
    }

    .divmanual gb-newpicklist,
    .divmanual gb-newpicklist.adjacentField {
      display: block !important;
      flex: 0 0 auto !important;
      width: auto !important;
      max-width: none !important;
      min-width: 0;
      box-sizing: border-box;
    }

    .manual {
      flex: 0 0 auto !important;
      margin-left: 12px !important;
      margin-bottom: 0 !important;
      margin-right: 0 !important;
      white-space: nowrap;
    }
    
    .manual p {
      margin: 0 !important;
    }

    .adjacentField,
    gb-newpicklist,
    gb-textarea {
      display: block !important;
      width: 100% !important;
      max-width: 100% !important;
      padding-left: 0 !important;
      box-sizing: border-box;
    }
  }
}

@media (min-width: 768px) and (max-width: 820px) {
  :host ::ng-deep {
    .splivDiv {
      display: flex !important;
      flex-direction: row !important;
      width: 100%;
    }

    .div1 {
      width: 220px !important;
      flex-shrink: 0;
    }

    .div2 {
      padding-left: 20px !important;
      flex: 1 1 auto;
      min-width: 0;
      box-sizing: border-box;
    }

    .CodeName {
      display: flex !important;
      flex-wrap: wrap !important;
      height: auto !important;
      row-gap: 12px;
      column-gap: 20px;
      width: 100%;
    }

    .divmanual {
      display: flex !important;
      flex-direction: row !important;
      align-items: flex-start !important;
      flex-wrap: nowrap !important;
      flex: 1 1 220px;
      min-width: 220px;
    }

    .divmanual gb-newpicklist,
    .divmanual gb-newpicklist.adjacentField {
      flex: 0 0 auto !important;
      width: auto !important;
      max-width: none !important;
      min-width: 0;
    }

    .manual {
      flex: 0 0 auto !important;
      margin-left: 12px !important;
      margin-bottom: 0 !important;
      margin-right: 0 !important;
      white-space: nowrap;
    }
    
    .manual p {
      margin: 0 !important;
    }

    .CodeName > gb-newpicklist {
      flex: 1 1 220px;
      padding-left: 0 !important;
    }
  }
}