/* Contact Form Styles */
.contact-form-full-wrapper {
  -ms-flex: 0 0 66.666667%;
  flex: 0 0 66.666667%;
  max-width: 66.666667%;
  margin-left: 16.666667%;
  padding-bottom: 50px;
}

.contact-form-full-wrapper .form-group {
  margin-bottom: 15px;
  position: relative;
}

.contact-form-full-wrapper .form-group label {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: #1769b4;
}

.contact-form-full-wrapper .form-group .input-field {
  border-radius: 0;
  padding: 9px;
  height: 40px;
  width: 100%;
  font-size: 1.6rem;
  line-height: 2.2rem;
  border: 1px solid #716a5b;
  font-weight: 300;
  transition: all 0.3s ease;
}

.contact-form-full-wrapper .form-group .input-field.error-occured {
  border-color: #d9534f;
  background-color: #fdf7f7;
}

.contact-form-full-wrapper .form-group.field-error label {
  color: #d9534f;
}

.contact-form-full-wrapper .form-group textarea.input-field {
  height: 140px;
  resize: vertical;
}

.userTabbing .contact-form-full-wrapper .form-group .input-field:focus {
  outline: 1px dotted;
  outline-offset: 3px;
}

.contact-form-full-wrapper .form-group-validation {
  min-height: 20px;
  margin-top: 5px;
}

.contact-form-full-wrapper .form-group-validation span {
  display: none; /* Hidden by default */
  font-size: 1.0rem;
  font-style: normal;
  font-weight: 800;
  line-height: 18px;
  text-transform: uppercase;
  color: #d9534f;
  margin-top: 5px;
}

.contact-form-full-wrapper .form-group-validation span:not(:empty) {
  display: block;
}

.contact-form-full-wrapper .form-group .required {
  color: #d9534f;
}

.contact-form-full-wrapper .form-group .rad-highlight {
  color: #d9534f;
}

.upload-field {
  position: relative;
  margin-top: 10px;
}

.upload-field input[type="file"] {
  display: none;
}

#custom-button {
  cursor: pointer;
  padding: 16px 24px;
  border: 1px solid #343A40;
  color: #1769b4;
  font-size: 1.6rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  background: #fff;
  margin-top: 10px;
}

#custom-button:after {
  content: '';
  background: url(/~/media/Images/S/Senseonics-IR/icons/icons_upload.svg);
  width: 22px;
  height: 22px;
  display: inline-block;
  vertical-align: middle;
  margin-left: 8px;
  background-size: contain;
}

#custom-button:hover {
  background-color: #1769b4;
  color: #fff;
}

#custom-text {
  display: inline-block;
  color: #716a5b;
  font-weight: 300;
  margin-left: 15px;
  vertical-align: middle;
}

.contact-form-full-wrapper .submit-btn--group {
  display: flex;
  gap: 15px;
  margin-bottom: 0;
  margin-top: 30px;
  flex-wrap: wrap;
}

.contact-form-full-wrapper .form-group.submit-btn--group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.contact-form-full-wrapper .form-group.submit-btn--group .form-submit {
  font-weight: 800;
  font-size: 1.6rem;
  line-height: normal;
  background: #1769b4;
  border: 2px #1769b4 solid;
  color: #fff;
  transition: all 0.3s ease;
  cursor: pointer;
  padding: 22px 24px;
  min-width: 192px;
  text-align: center;
  /*font-family: 'Avenir Next W05 Regular';*/
  border-radius: 0;
  flex: 1;
}

.contact-form-full-wrapper .form-group.submit-btn--group .form-submit:hover {
  background: transparent;
  color: #1769b4;
}

.contact-form-full-wrapper .form-group.submit-btn--group .reset-btn {
  font-weight: 800;
  font-size: 1.6rem;
  line-height: normal;
  background: transparent;
  border: 2px solid #1769b4;
  color: #1769b4;
  transition: all 0.3s ease;
  cursor: pointer;
  padding: 22px 24px;
  min-width: 192px;
  text-align: center;
  border-radius: 0;
  flex: 1;
}

.contact-form-full-wrapper .form-group.submit-btn--group .reset-btn:hover {
  background: #1769b4;
  color: #fff;
}

.captcha-group {
  margin-top: 30px;
  margin-bottom: 30px;
  padding-top: 20px;
  border-top: 1px solid #e9ecef;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #1769b4;
}

.modal-content {
  background-color: #fff;
  margin: 15% auto;
  padding: 30px;
  border: 1px solid #716a5b;
  width: 90%;
  max-width: 500px;
  text-align: center;
}

.modal-content p {
  margin-bottom: 20px;
  font-size: 1.8rem;
  color: #1769b4;
}

.accept-btn,
.decline-btn {
  padding: 12px 24px;
  margin: 0 10px;
  border: 2px solid #1769b4;
  background: #1769b4;
  color: #fff;
  cursor: pointer;
  font-size: 1.6rem;
  transition: all 0.3s ease;
}

.decline-btn {
  background: transparent;
  color: #1769b4;
}

.accept-btn:hover {
  background: transparent;
  color: #1769b4;
}

.decline-btn:hover {
  background: #1769b4;
  color: #fff;
}

.contact-message-wrapper {
  margin-bottom: 20px;
  padding: 15px;
  border: 1px solid transparent;
  border-radius: 4px;
}

.contact-message-wrapper:empty {
  display: none;
}

.hide {
  display: none !important;
}

.contact-form-full-wrapper .mandatory {
  color: #d9534f;
  margin-left: 4px;
}

/* Responsive Styles */
@media all and (max-width: 767.98px) {
  .contact-form-full-wrapper {
    -ms-flex: 100%;
    flex: 100%;
    max-width: 100%;
    margin-left: 0;
    padding-bottom: 30px;
  }
  
  .contact-form-full-wrapper .form-group .input-field {
    height: 60px;
    padding: 15px;
  }
  
  .contact-form-full-wrapper .form-group textarea.input-field {
    height: 120px;
  }
  
  .contact-form-full-wrapper .submit-btn--group,
  .contact-form-full-wrapper .form-group.submit-btn--group {
    flex-direction: column;
    gap: 10px;
  }
  
  .contact-form-full-wrapper .form-group.submit-btn--group .form-submit,
  .contact-form-full-wrapper .form-group.submit-btn--group .reset-btn {
    width: 100%;
    min-width: auto;
  }
  
  #custom-button {
    width: 100%;
    justify-content: center;
  }
  
  .modal-content {
    width: 95%;
    margin: 20% auto;
    padding: 20px;
  }
}