.email-form {
  top: 0px;
  left: 0px;
  position: fixed;
  height: 100vh;
  width: 100vw;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 100;
  pointer-events: none;
  opacity: 0;
  -webkit-transition: opacity 0.5s ease;
  transition: opacity 0.5s ease;
}

.email-form.visible {
  pointer-events: auto;
  opacity: 1;
}

.email-form .component-content {
  background-color: #FFF;
  border-radius: 4px;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
  padding: 24px;
  position: relative;
}

@media screen and (max-width: 991.98px) {
  .email-form .component-content {
    padding: 16px;
    margin: 24px;
    max-height: 90%;
    overflow: auto;
    width: 100%;
  }
}

.email-form .component-content .form-group .g-recaptcha {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.email-form .component-content .form-group .input-section {
  width: 100%;
}

.email-form .component-content .form-group .input-section input {
  max-width: inherit;
  min-width: inherit;
}

.email-form .component-content .form-group .input-section .field-validation-error {
  display: block;
}

.email-form .component-content .form-group .input-section::after {
  top: 6px;
}

@media screen and (max-width: 991.98px) {
  .email-form .component-content .form-group .input-section::after {
    top: 10px;
  }
}

.email-form .component-content .on-edit, .email-form .component-content .on-edit-label {
  display: none;
}

.email-form .component-content .title {
  padding-bottom: 24px;
  margin-bottom: 24px;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.email-form .component-content .title span:not(#close-email-form) {
  font-size: 36px;
  line-height: 40px;
  font-weight: 600;
  width: 100%;
}

@media screen and (max-width: 767.98px) {
  .email-form .component-content .title span:not(#close-email-form) {
    font-size: 24px;
    line-height: 30px;
  }
}

.email-form .component-content .title #close-email-form {
  width: 40px;
  height: 40px;
  cursor: pointer;
  position: relative;
}

.email-form .component-content .title #close-email-form::before {
  content: "";
  position: absolute;
  background-image: url(../images/icons/close-main-blue.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  top: 50%;
  -webkit-transform: translate(0%, -50%);
  -ms-transform: translate(0%, -50%);
  transform: translate(0%, -50%);
  height: 60px;
  width: 60px;
  -webkit-transition: 0.2s ease;
  transition: 0.2s ease;
}

.email-form .component-content .title #close-email-form:hover::before {
  background-image: url(../images/icons/close-lighter-green.svg);
}

.email-form .component-content .title #close-email-form:active::before {
  background-image: url(../images/icons/close-darker-green.svg);
}

.email-form .component-content .title::after {
  content: '';
  width: -webkit-calc(100% + 48px);
  width: calc(100% + 48px);
  height: 2px;
  left: -24px;
  bottom: 0px;
  background-color: #C8CBCD;
  opacity: 0.5;
  position: absolute;
}

@media screen and (max-width: 991.98px) {
  .email-form .component-content .title::after {
    width: -webkit-calc(100% + 32px);
    width: calc(100% + 32px);
    left: -16px;
  }
}

.email-form .component-content form {
  min-width: 300px;
  margin-left: 200px;
  margin-right: 200px;
}

@media screen and (max-width: 991.98px) {
  .email-form .component-content form {
    margin-left: 0px;
    margin-right: 0px;
    min-width: 0px;
    width: 100%;
  }
}

.email-form .component-content form textarea {
  width: 100%;
  max-height: 300px;
  min-height: 150px;
  max-width: 500px;
  min-width: 300px;
}

@media screen and (max-width: 991.98px) {
  .email-form .component-content form textarea {
    max-height: 200px;
    min-height: 70px;
    max-width: 100%;
    min-width: 100%;
  }
}

.email-form .component-content form input[type=submit] {
  max-width: 200px;
  margin: auto;
  background-image: inherit;
  box-shadow: inherit;
  font-size: 16px;
  line-height: 27px;
}

.email-form .component-content form .label-with-info .label {
  display: inline-block;
  margin-right: 8px;
}

.email-form .component-content form .info-icon {
  position: relative;
}

.email-form .component-content form .info-icon::before {
  content: "";
  position: absolute;
  background-image: url(../images/icons/info.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  top: 50%;
  -webkit-transform: translate(0%, -50%);
  -ms-transform: translate(0%, -50%);
  transform: translate(0%, -50%);
  height: 18px;
  width: 18px;
  -webkit-transition: 0.2s ease;
  transition: 0.2s ease;
}

.email-form .component-content form .info-icon .info-message {
  pointer-events: none;
  opacity: 0;
  font-size: 10px;
  line-height: 12px;
  position: absolute;
  padding: 4px;
  background-color: #E8F3FE;
  left: 24px;
  bottom: 0px;
  width: 170px;
  -webkit-transition: opacity 0.5s ease;
  transition: opacity 0.5s ease;
}

.email-form .component-content form .info-icon:hover .info-message {
  opacity: 1;
}

.email-form .component-content form .info-icon.standalone {
  -webkit-transform: none;
  -ms-transform: none;
  transform: none;
  margin-left: 0;
  margin-top: 8px;
}

.email-form .component-content form .info-icon.standalone .info-message {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  opacity: 1;
  width: -webkit-calc(100% - 24px);
  width: calc(100% - 24px);
  position: relative;
}

body.on-page-editor .email-form {
  position: inherit;
  opacity: 1;
  pointer-events: auto;
  height: auto;
  width: auto;
}

body.on-page-editor .email-form .component-content {
  border-radius: 0px;
  box-shadow: inherit;
  padding: 0px;
  position: relative;
  width: 100%;
}

@media screen and (max-width: 991.98px) {
  body.on-page-editor .email-form .component-content {
    padding: 0px;
    margin: 0px;
    max-height: auto;
    overflow: auto;
    width: 100%;
  }
}

body.on-page-editor .email-form .component-content .on-edit, body.on-page-editor .email-form .component-content .on-edit-label {
  display: inline-block;
}

body.on-page-editor .email-form .component-content .on-edit {
  margin-bottom: 0px;
}

body.on-page-editor .email-form .component-content .title, body.on-page-editor .email-form .component-content form {
  display: none;
}
