.request_consultation {
  position: fixed;
  top: 60%;
  right: 0;
  z-index: 998;
  transform: translateY(-50%) rotate(90deg);
  /* -webkit-transform: translateY(-50%) rotate(90deg); */
  -o-transform: translateY(-50%) rotate(90deg);
  -ms-transform: translateY(-50%) rotate(90deg);
  -moz-transform: translateY(-50%) rotate(90deg);
  transform-origin: 100% 0%;
  padding: 10px 20px;
  text-shadow: none;
  font-weight: bold;
  -webkit-box-shadow: 0 0 13px 3px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 0 13px 3px rgba(0, 0, 0, 0.1);
  box-shadow: 0 0 13px 3px rgba(0, 0, 0, 0.1);
  -webkit-transition: color 300ms ease-out;
  -moz-transition: color 300ms ease-out;
  -ms-transition: color 300ms ease-out;
  -o-transition: color 300ms ease-out;
  transition: color 300ms ease-out;
  cursor: pointer;
  color: #088D60;
  background: #fff;
}

.form .gfield {
  margin-top: 1rem;
}

.form input[type=text],
.form input[type=email],
.form input[type=tel],
.form label[for=fileInput],
.form select,
.form .form-select,
.form textarea {
  padding: 1rem;
  border-radius: 0.375rem;
  border: 0.0625rem solid white;
  /* background: linear-gradient(44deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0) 100%); */
  background: #141617;
  color: white;
  text-align: start;
  width: 100%;
  font-weight: 500;
  font-size: 1rem;
}

@media (min-width: 1200px) {

  .form input[type=text],
  .form input[type=email],
  .form input[type=tel],
  .form label[for=fileInput],
  .form select,
  .form .form-select,
  .form textarea {
    padding: 1.25rem;
    font-size: 1.125rem;
  }
}

.form label[for=fileInput],
.form select {
  cursor: pointer;
}

.form label[for=fileInput]:after {
  font-family: "Font Awesome 5 Free";
  /* Adjust the font family based on the Font Awesome version you're using */
  content: "\e494";
  /* Use the correct Unicode value for the upload icon (e.g., \f093 for the Font Awesome 5 upload icon) */
  float: right;
  font-weight: 600;
}

form option {
  background-color: #000;
}

.form div.ginput_container_fileupload span.gform_fileupload_rules {
  display: none;
}

.form .gfmc-field div:not(.gchoice) {
  padding: 0;
}

.form textarea::textarea {
  /* height: 3.75rem; */
  color: #fff !important;
}

@media (min-width: 1200px) {
  .form textarea {
    /* height: 18rem; */
  }
}

.form body .contact_form_1 .gform_body .gform_fields .gfield .ginput_container_fileupload .gform_button_select_files {
  color: red;
  background-color: black;
}

.form .gfmc-container {
  -webkit-column-gap: 16px;
  -moz-column-gap: 16px;
  column-gap: 16px;
}

.form .gform_wrapper .gfield_label {
  line-height: 1.25rem;
  font-size: 1rem;
  color: white;
  font-weight: 500;
  padding-bottom: 0.25rem;
}

.form .gform_wrapper select option {
  color: white;
  background-color: black;
  border: 0.0625rem solid white;
}

.form .gform_wrapper input::-webkit-input-placeholder,
.form .gform_wrapper textarea::-webkit-input-placeholder {
  color: white;
}

.form .gform_wrapper input::-moz-placeholder,
.form .gform_wrapper textarea::-moz-placeholder {
  color: white;
}

.form .gform_wrapper input:-ms-input-placeholder,
.form .gform_wrapper textarea:-ms-input-placeholder {
  color: white;
}

.form .gform_wrapper input::-ms-input-placeholder,
.form .gform_wrapper textarea::-ms-input-placeholder {
  color: white;
}

.form .gform_wrapper input::placeholder,
.form .gform_wrapper textarea::placeholder {
  color: white;
}

.form #filePickerLabel {
  padding-bottom: 0.125rem;
}

.form .gform_submission_error {
  color: #EA2127;
  text-align: center;
}

.form .validation_message {
  color: #EA2127;
}

#contact_form_1 .gform_submission_error {
  font-size: 1.25rem;
}

#contact_form_1 .gform_submission_error {
  font-size: 1rem;
}

/* Remove the text inside the file upload button in a Gravity Forms File Upload field */
.gform_wrapper .ginput_container input[type=file]::-webkit-file-upload-button {
  display: none;
}


@media screen and (max-width:767px) {


  .navbar-brand {
    /* margin-bottom: 20px; */
  }

  .request_consultation {
    display: none;
    /* top: 10%; */
    background-color: #FF7E00;
    color: #fff !important;
    width: 100%;
    top: 0;
    text-align: center;
    right: 50%;
    transform: rotateX(0deg) translateX(50%);
    /* left: 0; */
  }
}

.request_consultation:hover {
  background: #088D60;
  color: #fff;
  text-decoration: none;
}

.contact-form {
  background: #F7F4F1;
  height: 100%;
  /*  border: 1px solid rgba(0, 0, 0, 0.2);*/
  -webkit-box-shadow: 0 0 13px 3px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 0 13px 3px rgba(0, 0, 0, 0.1);
  box-shadow: 0 0 13px 3px rgba(0, 0, 0, 0.1);
  padding: 60px 30px 12px;
  width: 450px;
  position: fixed;
  right: -600px;
  top: 0;
  overflow: auto;
  -webkit-transition: all 350ms ease-in-out;
  -moz-transition: all 350ms ease-in-out;
  -ms-transition: all 350ms ease-in-out;
  -o-transition: all 350ms ease-in-out;
  transition: all 350ms ease-in-out;
  z-index: 100;
}

.contact-form .title {
  display: block;
  position: relative;
  text-align: center;
  font-size: 30px;
  line-height: 1.2;
  font-weight: bold;
  margin-bottom: 12px;
  z-index: 1;
  color: #2A2724 !important;
}

.contact-form p {
  font-family: "open sans", Helvetica, Arial;
  display: block;
  font-weight: normal;
  margin-bottom: 20px;
  font-size: 15px;
  color: #6B6560;
  line-height: 20px;
  text-align: center;
}

.contact-form .form-label span {
  color: red;
}

.contact-form label.error {
  font-size: 15px;
  color: red;
  margin: 0;
  text-shadow: none;
  line-height: 17px;
  padding-left: 5px;
  text-align: left;
  display: block;
  font-weight: normal;
  margin-top: 3px;
}

.contact-form .cta-sub {
  font-size: 13px;
  color: #111112;
  display: block;
  margin-top: 12px;
  text-shadow: none;
  text-align: center;
}

.contact-form .btn {
  margin: 0 auto;
  padding: 10px 0;
  display: block;
  background-color: #FF7E00;
  color: white;
  width: 100%;
  transition: all 0.3s;
}

.contact-form .btn:hover {
  background-color: #000;
}

.contact-form .close {
  background: #191818;
  color: #fff;
  text-shadow: none;
  font-weight: 100;
  padding: 0px 7px;
  margin-top: 0;
  opacity: 1;
  line-height: 1;
  position: absolute;
  top: 15px;
  right: 15px;
  cursor: pointer;
  border-radius: 85px;
  width: 30px;
  height: 30px;
  text-align: center;
  transition: all 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-form .close span {
  font-size: 16px;
  color: #fff;
  line-height: 25px;
}

.contact-form .close:hover {
  /* background: rgba(135, 150, 154, 0.75); */
  background: #EA2127;
}

.contact-form.close .span:hover {
  opacity: 0.8;
}

.sliding-form-holder {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 9999999;
  pointer-events: none;
}

.sliding-form-holder .panel-overlay {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  pointer-events: none;
  z-index: 99;
  -webkit-transition: all 200ms ease-in-out;
  -moz-transition: all 200ms ease-in-out;
  -ms-transition: all 200ms ease-in-out;
  -o-transition: all 200ms ease-in-out;
  transition: all 200ms ease-in-out;
}

.sidebar-open {
  overflow: hidden;
}

.sidebar-open .sliding-form-holder {
  display: block;
  pointer-events: auto;
}

/* .sidebar-open .request_consultation {
  display: none;
} */
.sidebar-open .form-toggle {
  right: 0px !important;
}

.sidebar-open .panel-overlay {
  pointer-events: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

@media screen and (max-width: 414px) {
  .contact-form {
    width: 100%;
  }
}

/* ---------------- Calendly embed inside the sliding panel ---------------- */
.contact-form.calendly-embed {
  /* width: 400px; */
  max-width: 100%;
  padding: 60px 20px 24px;
  overflow: hidden;
}

.contact-form.calendly-embed .calendly-embed-widget {
  width: 100%;
  height: calc(100vh - 180px);
  min-height: 520px;
  background-color: #fff;
  border-radius: 0.5rem;
  overflow: hidden;
}

.contact-form.calendly-embed .calendly-embed-widget iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}