@media screen and (max-width: 1200px) {
  #megamenu-container {
    position: relative;
    font-family: var(--nunito);
    .megamenu-fixed-wrapper {
      padding: 30px;
      .megamenu-desktop-wrapper {
        padding-top: 60px;
        gap: 40px 10px;
        .col-1 {
          padding-right: 40px;
          border-right: 1px solid var(--color-light-blue);
        }
        .col-2 {
          padding-left: 40px;
          padding-right: 30px;
        }
        .col-3 {
          padding-left: 30px;
        }
      }
    }
  }
  /* Staff Page */
  .staff-popup-container {
    .staff-fixed-wrapper {
      max-width: calc(100% - 50px);
      padding: 40px;
      .close-button {
        width: 40px;
        height: 40px;
      }
      .staff-popup-content-flex-wrapper {
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
        .staff-popup-image-wrapper,
        .staff-popup-content-wrapper {
          flex: 1;
        }
        .staff-popup-image-wrapper {
          width: 300px;
          height: 250px;
          flex: 0 0 auto;
        }
        .staff-popup-content-wrapper {
          .staff-name {
            font-size: 34px;
            line-height: 130%;
          }
          .staff-designation {
            font-size: 18px;
            line-height: 24px;
            margin: 12px 0 18px;
          }
          .staff-bio {
            p {
              font-size: 16px;
              line-height: 165%;
              &:not(:last-child) {
                margin-bottom: 20px;
              }
            }
          }
        }
      }
    }
  }
  /* Megamenu */
  #megamenu-container {
    .megamenu-fixed-wrapper {
      .megamenu-desktop-wrapper {
        .col-1 {
          padding-right: 20px;
          .custom-menu-hamone {
            li {
              a {
                font-size: 14px;
                line-height: 26px;
              }
            }
          }
        }
        .col-2 {
          padding-right: 20px;
          padding-left: 20px;
        }
        .col-3 {
          padding-left: 20px;
        }
      }
    }
  }
  .staff-popup-container {
    .staff-fixed-wrapper {
      background-position: 1%;
    }
  }
  .events-container {
    .events-flex-wrapper {
      justify-content: flex-start;
      gap: 55px 30px;
    }
  }
}

@media screen and (max-width: 1024px) {
  /* Events Page */
  .events-container {
    .events-flex-wrapper {
      gap: 30px 0;
      justify-content: space-between;
      .events-box {
        flex: 0 0 48%;
        .image-wrapper {
          height: 260px;
        }
        .content-wrapper {
          padding: 20px 10px 38px 23px;
          h6.date {
            font-size: 15px;
            line-height: 100%;
          }
          h4.title {
            font-size: 24px;
            margin: 15px 0 0;
          }
          p.date {
            font-size: 15px;
            line-height: 27px;
          }
          p.description {
            font-size: 16px;
            line-height: 165%;
            margin: 10px 0 30px;
          }
        }
      }
    }
    .events-button-wrappper {
      margin: 70px 0 0;
      a.load-more-button {
        width: 200px;
        height: 52px;
      }
    }
  }

  /* Staff Page */
  .staff-container {
    .staff-wrapper {
      .staff-flex-wrapper {
        .staff-content-wrapper {
          flex: 0 0 48%;
          h4.title {
            font-size: 28px;
          }
          p.designation {
            font-size: 18px;
            line-height: 24px;
          }
          p.content {
            font-size: 16px;
            line-height: 24px;
            margin: 15px 0 30px;
          }
        }
      }
    }
  }
}

@media screen and (min-width: 768px) {
  /* Volunteer Page */
  .border-column-left {
    position: relative;
    &::after {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 1px;
      height: 100%;
      background: var(--gradient);
    }
  }
}

@media screen and (max-width: 992px) {
  /* MegaMenu */
  #megamenu-container {
    position: relative;
    font-family: var(--nunito);
    .megamenu-fixed-wrapper {
      padding: 30px 20px;
      .megamenu-logo-close-btn {
        margin-bottom: 40px;
        padding-top: 30px;
        .logo-wrapper {
          flex: 0 0 70%;
        }
        .close-btn {
          top: 23px;
          right: 23px;
          img {
            width: 34px;
            height: 34px;
          }
        }
      }
      .megamenu-desktop-wrapper {
        display: none;
      }
      .mobile-megamenu-wrapper {
        display: block;
        .col-1 {
          #menu-mobile-menu > li {
            a {
              font-size: 18px;
              line-height: normal;
              position: relative;
              width: 100%;
              display: inline-block;
              .arrow-up {
                content: "";
                position: absolute;
                width: 18px;
                height: 18px;
                display: inline-block;
                background-image: url(https://thelevelfg.com/wp-content/uploads/2024/08/toggle-plus.svg);
                background-repeat: no-repeat;
                background-position: right;
                background-size: contain;
                top: 43%;
                right: 0;
                transform: translate(0%, -50%);
                z-index: 99;
              }
              .arrow-down.arrow-up {
                content: "";
                position: absolute;
                width: 18px;
                height: 18px;
                display: inline-block;
                background-image: url(https://thelevelfg.com/wp-content/uploads/2024/08/toggle-minus-1.svg);
                background-repeat: no-repeat;
                background-position: right;
                background-size: contain;
                top: 43%;
                right: 0;
                transform: translate(0%, -50%);
                z-index: 99;
              }
            }
            > .sub-menu {
              display: none;
              padding: 15px 10px;
              > li {
                &:first-child {
                  > a {
                    font-family: Merriweather;
                    font-size: 20px;
                    margin-bottom: 15px;
                    color: var(--color-light-blue);
                  }
                  margin-bottom: 15px;
                  li:not(:last-child) {
                    margin-bottom: 15px;
                  }
                }
                &:last-child {
                  > a {
                    font-family: Merriweather;
                    font-size: 20px;
                    margin-top: 30px;
                    margin-bottom: 15px;
                    color: var(--color-light-blue);
                  }
                  margin-bottom: 15px;
                  li:not(:last-child) {
                    margin-bottom: 15px;
                  }
                }
              }
            }
            &:not(:last-child) {
              margin-bottom: 15px;
              padding-bottom: 15px;
              border-bottom: 1px solid var(--color-light-blue);
            }
            &#menu-item-218 {
              .sub-menu {
                li {
                  &:not(:last-child) {
                    margin-bottom: 15px;
                  }
                  a {
                    font-size: 18px;
                    margin: 0;
                    font-family: var(--nunito);
                    color: var(--color-white);
                  }
                }
              }
            }
          }
        }
        ul {
          padding: 0;
          list-style: none;
          a {
            color: var(--color-white);
            &:hover {
              color: var(--color-light-blue);
            }
          }
        }
        .rch_social_icons_ul {
          display: flex;
          flex-wrap: wrap;
          justify-content: flex-start;
          gap: 10px;
          margin-top: 40px;
        }
      }
    }
  }
}

@media screen and (max-width: 767px) {
  /* MegaMenu */
  #megamenu-container {
    position: relative;
    font-family: var(--nunito);
    .megamenu-fixed-wrapper {
      padding: 0px 20px 30px;
      .megamenu-logo-close-btn {
        margin-bottom: 40px;
        padding-top: 30px;
        .logo-wrapper {
          flex: 0 0 70%;
        }
        .close-btn {
          top: 23px;
          right: 23px;
          img {
            width: 34px;
            height: 34px;
          }
        }
      }
      .megamenu-desktop-wrapper {
        display: none;
      }
      .mobile-megamenu-wrapper {
        display: block;
        .col-1 {
          #menu-mobile-menu > li {
            a {
              font-size: 18px;
              line-height: normal;
              position: relative;
              width: 100%;
              display: inline-block;
              .arrow-up {
                content: "";
                position: absolute;
                width: 18px;
                height: 18px;
                display: inline-block;
                background-image: url(https://thelevelfg.com/wp-content/uploads/2024/08/toggle-plus.svg);
                background-repeat: no-repeat;
                background-position: right;
                background-size: contain;
                top: 43%;
                right: 0;
                transform: translate(0%, -50%);
                z-index: 99;
              }
              .arrow-down.arrow-up {
                content: "";
                position: absolute;
                width: 18px;
                height: 18px;
                display: inline-block;
                background-image: url(https://thelevelfg.com/wp-content/uploads/2024/08/toggle-minus-1.svg);
                background-repeat: no-repeat;
                background-position: right;
                background-size: contain;
                top: 43%;
                right: 0;
                transform: translate(0%, -50%);
                z-index: 99;
              }
            }
            > .sub-menu {
              display: none;
              padding: 15px 10px;
              > li {
                &:first-child {
                  > a {
                    font-family: Merriweather;
                    font-size: 20px;
                    margin-bottom: 15px;
                    color: var(--color-light-blue);
                  }
                  margin-bottom: 15px;
                  li:not(:last-child) {
                    margin-bottom: 15px;
                  }
                }
                &:last-child {
                  > a {
                    font-family: Merriweather;
                    font-size: 20px;
                    margin-top: 30px;
                    margin-bottom: 15px;
                    color: var(--color-light-blue);
                  }
                  margin-bottom: 15px;
                  li:not(:last-child) {
                    margin-bottom: 15px;
                  }
                }
              }
            }
            &:not(:last-child) {
              margin-bottom: 15px;
              padding-bottom: 15px;
              border-bottom: 1px solid var(--color-light-blue);
            }
            &#menu-item-218 {
              .sub-menu {
                li {
                  &:not(:last-child) {
                    margin-bottom: 15px;
                  }
                  a {
                    font-size: 18px;
                    margin: 0;
                    font-family: var(--nunito);
                    color: var(--color-white);
                  }
                }
              }
            }
          }
        }
        ul {
          padding: 0;
          list-style: none;
          a {
            color: var(--color-white);
            &:hover {
              color: var(--color-light-blue);
            }
          }
        }
        .rch_social_icons_ul {
          display: flex;
          flex-wrap: wrap;
          justify-content: flex-start;
          gap: 10px;
          margin-top: 40px;
        }
      }
    }
  }
  .gradient_btn {
    .elementor-button {
      &::after {
        content: "";
        height: 2.26px;
      }
    }
  }
  .rch-breadcrumbs {
    ul {
      li {
        line-height: 22px;
        &::after {
          top: 6px !important;
        }
      }
    }
  }
  /* Events Page */
  .events-container {
    .events-flex-wrapper {
      gap: 30px 0;
      .events-box {
        flex: 0 0 100%;
        .image-wrapper {
          height: 260px;
        }
        .content-wrapper {
          padding: 20px 10px 38px 23px;
          h6.date {
            font-size: 15px;
            line-height: 100%;
          }
          h4.title {
            font-size: 24px;
            margin: 15px 0 0;
          }
          p.date {
            font-size: 15px;
            line-height: 27px;
          }
          p.description {
            font-size: 16px;
            line-height: 165%;
            margin: 10px 0 30px;
          }
        }
      }
    }
    .events-button-wrappper {
      margin: 45px 0 0;
      a.load-more-button {
        width: 180px;
        height: 52px;
      }
    }
  }

  /* Staff Page */
  .staff-container {
    .staff-wrapper {
      .staff-flex-wrapper {
        gap: 15px;
        .staff-image-wrapper {
          flex: 0 0 100%;
          width: 100%;
          height: 260px;
        }
        .staff-content-wrapper {
          flex: 0 0 100%;
          h4.title {
            font-size: 24px;
            line-height: 110%;
          }
          p.designation {
            font-size: 16px;
            line-height: 28px;
          }
          p.content {
            font-size: 15px;
            line-height: 25px;
          }
          a.read-bio-button {
            padding: 12px 22px;
            font-size: 14px;
          }
        }
      }
    }
    &:nth-child(even) {
      .staff-wrapper {
        .staff-flex-wrapper {
          flex-direction: unset;
        }
      }
    }
    &:not(:last-child) {
      margin-bottom: 40px;
    }
  }
  /* Staff Page */
  .staff-popup-container {
    .staff-fixed-wrapper {
      max-width: calc(100% - 32px);
      padding: 75px 20px 20px;
      .close-button {
        width: 32px;
        height: 32px;
        top: 20px;
        right: 20px;
      }
      .staff-popup-content-flex-wrapper {
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
        .staff-popup-image-wrapper,
        .staff-popup-content-wrapper {
          flex: 0 0 100%;
        }
        .staff-popup-image-wrapper {
          width: 100%;
          height: 100%;
          flex: 0 0 auto;
        }
        .staff-popup-content-wrapper {
          .staff-name {
            font-size: 26px;
            line-height: 130%;
          }
          .staff-designation {
            font-size: 16px;
            line-height: 24px;
            margin: 12px 0 18px;
          }
          .staff-bio {
            p {
              font-size: 14px;
              line-height: 165%;
              &:not(:last-child) {
                margin-bottom: 18px;
              }
            }
          }
        }
      }
    }
  }

  /* Our Board */
  .emeritus_member {
    ul {
      li {
        &:first-child {
          &::before {
            display: none;
          }
        }
      }
    }
  }

  /* Contact Page */
  .rch-contact-form {
    .gform_submission_error {
      flex-direction: row !important;
      align-items: center;
    }
    .gform-body {
      .gform_fields {
        .gfield {
          .gchoice {
            width: 90%;
          }
        }
      }
    }
  }
}
