.student-special-modal-container {
  --bs-body-color: #212529;
  position: fixed;
  top: 0;
  left: 0;
  background-color: hsl(0deg 0% 0% / 50%);
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--body_typography-font-family);
  z-index: 99999;

  .special-popup-box {
    max-width: 700px;
    position: relative;

    .special-popup-close {
      position: absolute;
      right: 10px;
      top: 10px;
      width: 26px;
      height: 26px;
      &:before,
      &:after {
        position: absolute;
        left: 10px;
        top: 3px;
        content: " ";
        height: 20px;
        width: 2px;
        background-color: #666;
      }
      &:before {
        transform: rotate(45deg);
      }
      &:after {
        transform: rotate(-45deg);
      }
    }

    .special-popup {
      display: flex;
      min-height: 400px;
      border-radius: 10px;
      overflow: hidden;
      background-color: #fff;

      .special-image {
        flex-basis: 50%;
        background-size: cover;
        background-position: center center;
      }

      .special-content {
        flex-basis: 50%;
        padding: 50px 20px;
        box-sizing: border-box;

        h1 {
          margin: 0 0 20px 0;
          display: flex;
          flex-direction: column;
          justify-content: center;
          align-items: center;
          line-height: 0 !important;

          span {
            background-color: #fdf956;
            margin-bottom: 0;
            padding: 2px 15px;
            font-size: 30px !important;
            line-height: 1.2;
            display: inline-block;
            font-weight: 600;

            &:first-child {
              transform: rotate(-3deg);
            }
          }
        }

        p {
          font-size: 14px;
          color: var(--bs-body-color);
        }

        .special-form {
          margin-bottom: 20px;
          margin-top: 20px;
          .gform_footer {
            margin: 0 !important;
            padding: 0 !important;
            input[type="submit"] {
              position: absolute;
              z-index: -1;
              opacity: 0;
            }
          }
          input[type="email"]::placeholder {
            color: #999;
          }
          input[type="email"] {
            width: 100%;
            padding: 10px !important;
            color: #333 !important;
            font-weight: normal;
            border: 1px solid #7a7a7a !important;
            box-sizing: border-box;
            font-size: 16px !important;
            height: 40px !important;

            &:focus {
              outline: none;
            }
          }

          input[type="submit"] {
            width: 100%;
            font-size: 14px;
            padding: 10px;
            border: 1px solid var(--awb-color1);
            background: var(--awb-color5);
            color: var(--awb-color1);
            cursor: pointer;
            line-height: 1.2 !important;
            margin-top: 10px;
            height: 37px;
            max-width: 145px;

            &:hover {
              --awb-custom_color_3: #d87b57;
              background-color: var(--awb-custom_color_3);
            }
          }
        }

        .special-disclaimer {
          font-size: 11px;
          text-align: center;
          color: var(--bs-body-color);
          line-height: 1.2;
        }
      }
    }
  }
}

.thank-you-div {
  min-height: 243px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.thank-you-div .ty-heading {
  font-size: 26px;
}

.special-modal-container {
  --bs-body-color: #212529;
  position: fixed;
  top: 0;
  left: 0;
  background-color: hsl(0deg 0% 0% / 50%);
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--body_typography-font-family);
  z-index: 99999;

  .special-popup-box {
    background-color: #fff;
    max-width: 700px;
    position: relative;

    .special-modal-close {
      position: absolute;
      right: -10px;
      top: -30px;
      width: 26px;
      height: 26px;

      &:before,
      &:after {
        position: absolute;
        left: 10px;
        top: 3px;
        content: " ";
        height: 20px;
        width: 2px;
        background-color: #ffffff;
      }

      &:before {
        transform: rotate(45deg);
      }

      &:after {
        transform: rotate(-45deg);
      }
    }

    .special-popup {
      display: flex;
      min-height: 380px;
      overflow: hidden;
      background-color: #fff;

      .special-image {
        flex-basis: 50%;
        background-size: cover;
        background-position: center center;
        width: 400px;
      }

      .special-content {
        flex-basis: 50%;
        padding: 50px 20px;
        box-sizing: border-box;

        .special-logo {
          text-align: center;
          margin-bottom: 20px;
          img {
            width: 50px;
          }
        }

        h1 {
          margin: 0 0 20px 0;
          text-align: center;
          font-size: 30px !important;
          line-height: 1.2;
          font-family: var(--h1_typography-font-family);
          color: var(--h1_typography-color);
          font-weight: 500;
        }

        p {
          font-size: 14px;
          color: var(--bs-body-color);
          text-align: center;
        }

        .special-btn {
          text-align: center;
          a {
            font-size: 14px;
            border: 1px solid var(--awb-color1);
            background: var(--awb-color5);
            color: var(--awb-color1);
            cursor: pointer;
            display: inline-block;
            height: 32px;
            max-width: 145px;
            padding: 5px 10px !important;
            min-width: 93px;

            &:hover {
              --awb-custom_color_3: #d87b57;
              background-color: var(--awb-custom_color_3);
            }
          }
        }
      }
    }
  }
}

#gform_wrapper_4 {
  display: block !important;
}
.email-signup-modal-container {
  --bs-body-color: #212529;
  position: fixed;
  top: 0;
  left: 0;
  background-color: hsl(0deg 0% 0% / 50%);
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--body_typography-font-family);
  z-index: 99999;

  .special-popup-box {
    background-color: #fff;
    width: 700px;
    position: relative;

    .email-signup-modal-close {
      position: absolute;
      right: -10px;
      top: -30px;
      width: 26px;
      height: 26px;

      &:before,
      &:after {
        position: absolute;
        left: 10px;
        top: 3px;
        content: " ";
        height: 20px;
        width: 2px;
        background-color: #ffffff;
      }

      &:before {
        transform: rotate(45deg);
      }

      &:after {
        transform: rotate(-45deg);
      }
    }

    .special-popup {
      display: flex;
      min-height: 380px;
      overflow: hidden;
      background-color: #fff;

      .special-image {
        flex-basis: 50%;
        background-size: cover;
        background-position: center center;
      }

      .special-content {
        flex-basis: 50%;
        padding: 20px;
        box-sizing: border-box;

        .special-logo {
          text-align: center;
          margin-bottom: 20px;
          img {
            width: 50px;
          }
        }

        h1 {
          margin: 0 0 20px 0;
          text-align: center;
          font-size: 30px !important;
          line-height: 1.2;
          color: var(--h1_typography-color);
          font-family: var(--h1_typography-font-family);
          font-weight: 500;
        }

        p {
          font-size: 14px;
          color: var(--bs-body-color);
          text-align: center;
        }

        .special-form {
          /* margin-bottom: 20px;
                    margin-top: 20px;*/
          margin-bottom: 0;
          margin-top: 0;
          max-height: 35vh;
          overflow: auto;
          .gform_fields {
            grid-row-gap: 8px;
          }
          .gform_footer {
            margin: 0 !important;
            padding: 0 !important;
            input[type="submit"] {
              position: absolute;
              z-index: -1;
              opacity: 0;
            }
          }
          input[type="email"]::placeholder,
          input[type="text"]::placeholder,
          input[type="tel"]::placeholder {
            color: #999;
          }
          input[type="email"],
          input[type="text"],
          input[type="tel"] {
            width: 100%;
            padding: 10px !important;
            color: #333 !important;
            font-weight: normal;
            border: 1px solid #7a7a7a !important;
            box-sizing: border-box;
            font-size: 16px !important;
            height: 40px !important;

            &:focus {
              outline: none;
            }
          }
          .name_first {
            margin-bottom: 0;
            input[type="text"] {
              margin-bottom: 8px;
            }
          }
          .name_last {
            margin-bottom: 0;
          }
          input[type="submit"] {
            font-size: 14px;
            padding: 5px 10px;
            border: 1px solid var(--awb-color1);
            background: var(--awb-color5);
            color: var(--awb-color1);
            cursor: pointer;
            line-height: 1 !important;
            height: 32px;
            max-width: 145px;
            min-width: 93px;
            width: auto !important;

            &:hover {
              --awb-custom_color_3: #d87b57;
              background-color: var(--awb-custom_color_3);
            }
          }
        }
      }
    }
  }
}
.special-form form {
  opacity: 1 !important;
}
.no-scroll {
  overflow: hidden;
}

.timer-slide-in-container {
  --bs-body-color: #212529;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  font-family: var(--body_typography-font-family);
  z-index: 99999;
  background-color: var(--awb-color4);

  .timer-slide-in-box {
    width: 100%;
    position: relative;

    .timer-slide-in-popup-close {
      position: absolute;
      right: 20px;
      top: 20px;
      width: 26px;
      height: 26px;
      cursor: pointer;
      z-index: 999;
      color: #fff;
      font-size: 14px;
      border: 2px solid #fff;
      border-radius: 20px;
      display: flex;
      justify-content: center;
      align-items: center;

      &:before,
      &:after {
        position: absolute;
        left: 10px;
        top: 3px;
        content: " ";
        height: 16px;
        width: 2px;
        background-color: #ffffff;
      }

      &:before {
        transform: rotate(45deg);
      }

      &:after {
        transform: rotate(-45deg);
      }
    }

    .timer-slide-in-content {
      max-width: 1497px;
      margin: 0 auto;
      padding: 30px 20px;
      box-sizing: border-box;

      h2 {
        font-size: 18px;
        color: var(--awb-color1);
        line-height: 1.11;
        padding-right: 20px;
      }

      .timer-slide-in-form {
        .gform_fields {
          grid-row-gap: 8px;
        }
        .gfmc-column {
          flex-direction: row !important;
          align-items: start;
          margin-top: 0;
          .gfmc-container {
            flex-basis: 90%;
            padding-bottom: 0;
            *:not(input) {
              padding-bottom: 0 !important;
            }
          }
          .gfield--type-submit {
            flex-basis: 10%;
          }
        }
        .gform_footer {
          margin: 0 !important;
          padding: 0 !important;
          input[type="submit"] {
            position: absolute;
            z-index: -1;
            opacity: 0;
          }
        }
        input[type="email"]::placeholder,
        input[type="text"]::placeholder,
        input[type="tel"]::placeholder {
          color: #999;
          font-style: italic;
        }
        input[type="email"],
        input[type="text"],
        input[type="tel"] {
          width: 100%;
          padding: 10px !important;
          color: #333 !important;
          font-weight: normal;
          border: 1px solid #fff !important;
          box-sizing: border-box;
          font-size: 14px !important;
          height: 40px !important;

          &:focus {
            outline: none;
          }
        }
        .name_first {
          input[type="text"] {
            margin-bottom: 8px;
          }
        }
        input[type="submit"] {
          width: 100%;
          font-size: 14px;
          padding: 10px;
          background: var(--awb-color4);
          color: var(--awb-color1);
          cursor: pointer;
          line-height: 1.2 !important;
          margin-top: 20px;
          height: 37px;
          max-width: 145px;
          border: 1px solid #fff;

          &:hover {
            background-color: var(--button_gradient_top_color_hover);
            border-color: var(--button_gradient_top_color_hover);
          }
        }
        .gform-loader {
          position: absolute;
          right: -15px;
          bottom: 19px;
        }
        .gfield--type-submit {
          position: relative;
          width: 85px;
          flex-basis: 85px !important;
          margin: 0 auto;
        }
        .gfield--type-captcha iframe {
            height: 75px;
        }
      }
    }
  }
}

@media (max-width: 767px) {
  .student-special-modal-container {
    .special-popup-box {
      max-width: 500px;
      margin: 0 20px;
      .special-popup {
        flex-direction: column;
        .special-image {
          flex-basis: auto;
          height: 200px;
        }
        .special-content {
          padding: 30px 20px;
        }
      }
    }
  }
  .special-modal-container {
    .special-popup-box {
      max-width: 500px;
      margin: 0 20px;
      .special-popup {
        flex-direction: column;
        .special-image {
          flex-basis: auto;
          height: 250px;
          width: 100%;
        }
        .special-content {
          padding: 30px 20px;
          .special-logo {
            display: none;
          }
        }
      }
    }
  }
  .email-signup-modal-container {
    .special-popup-box {
      max-width: 500px;
      margin: 0 20px;
      .special-popup {
        flex-direction: column;
        .special-image {
          flex-basis: auto;
          height: 160px;
        }
        .special-content {
          padding: 30px 20px;
          .special-logo {
            display: none;
          }
        }
      }
    }
  }
  .timer-slide-in-container {
    bottom: 48px;
    .timer-slide-in-form[class] {
      .gfmc-column[class] {
        flex-direction: column !important;
        align-items: initial;
        .gfmc-container {
          flex-basis: 100%;
          .ginput_container--name {
            .name_first {
              margin-right: 5px;
            }
            .name_last {
              margin-left: 5px;
            }
          }
        }
        .gfield--type-submit {
          flex-basis: 100%;
        }
        .gfmc-container {
          *:not(.gchoice) {
            margin-right: 0;
            margin-bottom: 0;
          }
        }
      }
      input[type="submit"] {
        margin-top: 10px !important;
      }
    }
  }
}

body p:empty {
  display: none;
}

@media (max-width: 640px) {
  .timer-slide-in-container {
    .timer-slide-in-form{
    .gform-loader {
        bottom: 12px !important;
      }
    }
  }
}
