@media only screen and (max-width: 1895px) {
    .h-childbox,
    .area .h-childbox,
    .chapter .h-childbox {
      margin: 0 10px 15px 10px;
    }
    .national .h-childbox-parent .h-child-pr:first-child:after,
    .national .h-childbox-parent .h-child-pr:nth-child(6):after,
    .national .h-childbox-parent .h-child-pr:nth-child(7):after,
    .national .h-childbox-parent .h-child-pr:last-child:after,
    .area .h-childbox-parent .h-child-pr:first-child:after,
    .chapter .h-childbox-parent .h-child-pr:first-child:after,
    .chapter .h-childbox-parent .h-child-pr:nth-child(5):after {
      width: 99px;
    }
  }
  @media only screen and (max-width: 1600px) {
    .main-wraper {
      padding: 25px 30px;
    }
    .head-search-row {
      flex-direction: column;
      align-items: flex-start;
    }
    .rt-head {
      margin-top: 15px;
    }
    .head-search-row h2.card_row-head {
      margin-bottom: 15px;
      margin-left: 1rem;
      
    }
    /* change */
    .modal-wrap.edit-hg-group-wrap {
      width: 1516px;
      overflow: auto;
      max-width: 100%;
      padding: 0px 20px;
    }
  }
  @media only screen and (max-width: 1440px) {
    .card-box {
      padding: 22px 15px 22px 15px;
    }
  
    .card-box-head p {
      font-size: 16px;
      line-height: 20px;
    }
  
    .card-box-bottom h3 {
      font-size: 21px;
      line-height: 26px;
    }
  
    .card-child {
      padding: 0 8px
    }
    .cm-pad-wrap .form-group .form-control {
      width: 100%;
    }
    .contact-img {
      text-align: center;
    }
    .contact-img > img {
      max-width: 100%;
    }
    .footer-wrap {
      flex-direction: column;
      align-items: flex-start !important;
    }
    .footer-wrap h2 {
      margin-bottom: 22px !important;
    }
    .footer-wrap .card-box {
      width: 100% !important;
    }
  }
  
  @media only screen and (max-width : 1290) {
    /* .pie-chart{
      width: 24vw;
    } */
    .pie-chart {
      position: relative; 
      height:70vh;
      width: 100vw;
    }
  }
  @media only screen and (max-width: 1250px) {
    .search-dropdown-row {
      flex-direction: column;
      align-items: flex-start !important;
    }
    .search-dropdown-row .input-group.search-input {
      margin-bottom: 15px;
    }
  }
  @media only screen and (max-width: 1199px) {
    .main-wraper {
      padding: 25px 20px;
    }
  
    .card-child {
      margin-bottom: 15px;
    }
  
    .card-box {
      padding: 18px 12px 18px 12px;
    }
    .modal-wrap.reports-wrap {
      width: 100%;
      padding: 30px;
    }
    .rep-btns .blu-btn-head.btn-lt {
      height: 60px;
      padding: 6px 18px;
    }
  
    /* .pie-chart{
      width: 33vw;
    } */
  }
  
  @media only screen and (max-width: 991px) {
    .sidebar-header[_ngcontent-ng-c1600046970] {
      text-align: center;
      /* margin: 95px 0 20px; */
    }
    .modal-wrap.add-guest-wrap {
      width: 100%;
    }
    .modal-wrap.add-hg-group-wrap,
    .modal-wrap.edit-hg-group-wrap,
    .modal-wrap.add-area-wrap,
    .modal-wrap.confirm-wrap,
    .modal-wrap.area-split-wrap {
      width: 100%;
    }
  
    .modal-wrap.invite-wrap,
    .modal-wrap.calendar-wrap {
      width: 100%;
      padding: 30px 20px;
    }
    .modal-wrap.hierarchy-modal-wrap {
      width: 100%;
      padding: 0;
    }
    .main-wraper {
      width: 100%;
      left: 0;
    }
  
    /* changes */
    .h-mainbox {
      width: auto;
      padding: 20px;
      margin: 0 auto 40px;
      text-align: center;
    }
    .footer-wrap[_ngcontent-ng-c3513155924]
      .card-box[_ngcontent-ng-c3513155924]
      > div[_ngcontent-ng-c3513155924] {
      /* margin: 0 30px; */
      margin: 0 !important;
      padding: 0 !important;
    }
    .cis-calendar .cis-calendar-wrap .title-15 {
      font-size: 11px;
    }
  
    /* .pie-chart{
      width: 40vw;
    } */
  }
  @media only screen and (max-width: 767px) {
    .form-group label {
      font-size: 16px;
      margin-bottom: 10px;
    }
  
    .form-group .form-control {
      /* height: 40px; */
      /* changed because of material date input */
      height: 55px;
    }
    .mdc-dialog__container .modal-content-wrap {
      padding: 0;
    }
    .modal-wrap.calendar-wrap {
      padding: 30px 20px;
      width: 100%;
    }
    .mdc-fab--mini {
      width: 30px !important;
      height: 30px !important;
    }
    .cdk-overlay-pane {
      max-width: 90vw !important;
    }
    .mat-mdc-mini-fab .mat-icon {
      transform: scale(0.8);
    }
    .form-group.select-input select {
      height: 40px !important;
    }
    .ep-head p {
      margin-bottom: 5px;
    }
    .blu-btn-head {
      padding: 6px 15px;
      height: 40px;
      font-size: 14px;
    }
    .input-group .form-control {
      height: 40px;
      font-size: 14px;
    }
    .rt-head > :not(:last-child) {
      margin-right: 15px;
    }
    .input-group.search-input {
      width: 260px;
    }
    .fl-wrap > div {
     
      gap: 0px;
      margin: 10px px;
      flex-wrap: inherit;
      grid-row-gap: 1rem;
    }
    
    .blu-btn,
    .white-btn {
      font-size: 15px;
      line-height: 1.1;
      height: 40px;
    }
    .inr-wrapper {
      margin-bottom: 20px;
    }
    .btn-grp button.blu-btn,
    .btn-grp button.bluelt-btn {
      font-size: 15px;
      line-height: 1.1;
      min-height: 40px;
      height: 100%;
      padding: 10px;
    }
    .blu-btn,
    .white-btn {
      font-size: 15px;
      height: auto;
      line-height: 30px;
      padding: 10px;
    }
  
    .btn-group > button:first-child {
      margin-right: 10px;
      width: 100% !important;
    }
    .cm-pad-wrap .row {
      flex-direction: column-reverse;
    }
    .contact-img > img {
      max-width: 60%;
    }
    .contact-img {
      margin-bottom: 30px;
    }
    .cm-pad-wrap button.blu-btn {
      margin-top: 0;
    }
    .rep-btns .blu-btn-head.btn-lt {
      height: 40px;
      padding: 3px 18px;
    }
    .report-form .form-group {
      margin-bottom: 0;
    }
    .rep-btns {
      margin-top: 15px;
      gap:10px;
    }
    .report-form .col-12 {
      margin-bottom: 25px;
    }
    .footer-wrap .card-box > div {
      width: 100%;
      margin: 0 0 10px 0;
    }
    .footer-wrap .card-box > div:nth-child(2) {
      border: 0;
      padding: 0;
      margin: 0 0 10px 0;
    }
    .reg-right {
      width: 100%;
    }
    .reg-right .btn {
      margin-bottom: 15px;
    }
    /* change */
    .head-search-row {
      display: flex;
      /* change */
      align-items: self-start;
      justify-content: space-between;
      padding: 30px 13px;
    }
    .main_rowOuter {
      margin-bottom: 10px;
    }
  
    .multiselect-input .mat-mdc-select-trigger {
      padding: 0;
    }
  }
  
  @media only screen and (max-width: 650px) {
    .flx-row {
      flex-direction: column;
      align-items: flex-start;
    }
  
    .rt-head .sel-grp > div, .rt-head .sel-grp button {
      margin-bottom: 10px;
      height: auto;
    }
  
  }
  
  
  @media only screen and (max-width: 576px) {
    .rt-head {
      width: 100%;
      flex-wrap: wrap;
      flex-direction: column;
      align-items: flex-start;
      margin-left: 1rem;
    }
    .rt-head .btn-grp button:first-child {
      margin-bottom: 10px;
    }
    .rt-head .sel-grp {
      flex-wrap: wrap;
    }
    .rt-head .sel-grp > div,
    .rt-head .sel-grp button {
      margin-bottom: 10px;
    }
    .rt-head > div:first-child {
      margin-bottom: 10px;
    }
    .flx-row {
      flex-direction: column;
      align-items: flex-start;
    }
    .head-table-row.flx-row h2.card_row-head {
      margin-bottom: 15px;
    }
    .wrap-logo {
      left: 50%;
      transform: translate(-50%);
    }
    .rep-wrapper .head-table-row {
      /* padding-top: 90px; */
    }
    table thead tr th,
    table tbody tr td {
      font-size: 14px;
    }
    .main-wraper {
      padding: 20px 15px;
    }
    .btn-group {
      flex-direction: column;
    }
  
    .btn-group > button:first-child {
      margin: 0 0 10px 0;
      width: 100% !important;
    }
    .head-search-row.comm-head {
      padding: 25px 0px 15px;
    }
    .cm-pad-wrap {
      padding: 20px 15px;
    }
    .modal-wrap {
      padding: 20px 10px;
    }
  
    .mat-mdc-select-placeholder {
      background: var(--inp-bg);
      color: var(--inp-txt) !important;
      border-color: var(--border);
      height: 60px;
      border-radius: 8px;
      margin: 0;
    }
    .mat-mdc-select-value {
      width: 100%;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      margin: 0 !important;
      font-weight: 500;
      color: gray !important;
    }
    /* change */
    .head-search-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 15px 0px;
    }
    .head-search-row h2.card_row-head {
      margin-bottom: 0;
    }
  
    .mdc-fab {
      float: left;
      position: absolute;
      left: 95%;
    }
    .multiselect-input .mat-mdc-select-trigger {
      padding: 0;
    }
  
    .popup.table-overflow{
      display: block;
      max-height: 40vh;
    }
  
   
  
  }
  
  @media only screen and (max-width: 350px) {
    .pie-chart {
      position: relative; 
      height:70vh;
      width: 100vw;
    }
    
  }
  