.mktoForm {
  font-family: "Cabinet Grotesk", sans-serif !important;
  color: inherit !important;
  font-size: inherit !important;
  width: 100% !important;
}

.mktoForm input {
  color: black !important;

}

.mktoFormCol {
  display: flex;
  flex-direction: row;
  gap: 20px !important;
  /* Clean spacing between all items */
  width: 49%;
}

.mktoFieldWrap {
  width: 100% !important;

}

.mktoLogicalField.mktoCheckboxList.mktoHasWidth {
  width: 100% !important;

}

@media (max-width: 990px) {

  .mktoFormCol {
    display: flex;
    flex-direction: row;
    gap: 20px !important;
    /* Clean spacing between all items */
    width: 49%;
  }

}

@media (max-width: 812px) {
  .mktoFormCol {
    flex-direction: column;
    width: 100%;
    gap: 5px !important;

  }

  .mktoOffset {
    height: 0px !important;
  }
}

@media (min-width: 814px) and (max-width: 986px) {
  .mktoFormCol {
    display: flex;
    flex-direction: row;
    gap: 15px !important;
  }
}

.mktoFormCol:has(input[type="checkbox"]) {
  width: 97% !important;
}

.mktoFormCol:has(#MktoCompanyNotes) {
  width: 100% !important;
}

/*------- SINGLE COLUMN FORM ---------*/

[data-form-layout="true"] .mktoFormCol {
  display: flex;
  flex-direction: row;
  gap: 20px !important;
  /* Clean spacing between all items */
  width: 97% !important;
}

.mktoForm label {
  margin-bottom: 0.45rem !important;

}

.mktoForm input[type="text"],
.mktoForm input[type="email"],
.mktoForm input[type="tel"] {
  width: 98% !important;
}

.mktoForm #Country {}

.mktoField {
  height: 3rem;
  border-radius: 99rem;

}

.mktoField {
  border: 1px solid #8b8a87;
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;

}

.mktoField:focus {
  border: 1px solid #003058 !important;

}

.mktoRequiredField {
  width: 100%;

}

.mktoButton {
  border-radius: 99rem !important;
  color: #F9F8F7 !important;
  background-color: #317CFE !important;
  height: 3rem;
  font-size: 18px !important;
  font-weight: 600 !important;
  font-family: "Cabinet Grotesk", sans-serif !important;
  text-shadow: 0 !important;
}

/*---BUTTON ---*/
.mktoButtonWrap .mktoMinimal {
  width: 100%;

}

.mktoForm .mktoButtonWrap.mktoMinimal .mktoButton {
  border-radius: 99rem !important;
  color: #F9F8F7 !important;
  background-color: #317CFE !important;
  height: 3rem;
  font-size: 18px !important;
  font-weight: 600 !important;
  font-family: "Cabinet Grotesk", sans-serif !important;
  text-shadow: none !important;
  border-color: #317CFE !important;
  box-shadow: none !important;
}

#MktoCompanyNotes {
  width: 100%;

}

.mktoLogicalField.mktoCheckboxList.mktoHasWidth {
  width: 100% !important;
  align-content: right;

}

.mktoButtonRow {
  width: 100%;
}

.mktoButtonRow .mktoButtonWrap {
  margin-left: auto !important;
  display: block;
  width: fit-content;
  padding-right: 5%;
}

.mktoForm .mktoButtonWrap.mktoPaperMashup .mktoButton {
  border-radius: 99rem !important;
  color: #F9F8F7 !important;
  background-color: #317CFE !important;
  height: 3rem;
  font-size: 18px !important;
  font-weight: 600 !important;
  font-family: "Cabinet Grotesk", sans-serif !important;
  text-shadow: none !important;
  border-color: #317CFE !important;
  box-shadow: none !important;
  padding: 5px 16px 3px !important;
}

/*---------- FORM DARK MODE ----------- */
.form-dark {}

/*----- ERRORS ------ */
.mktoErrorMsg {

  background-color: #F44544 !important;
  background-image: none !important;
  background-image: none !important;
  background-image: none !important;
  background-image: none !important;
  border: 1px solid #F44544 !important;
  -webkit-border-radius: 0.5rem !important;
  border-radius: 0.5rem !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  color: #F9F8F7 !important;
  font-size: 1em;
  line-height: 1.2em;
  max-width: 16em;
  padding: 0.4em 0.6em;
  text-shadow: none !important;

}

.mktoForm .mktoError {
  position: absolute;
  z-index: 99;
  color: #F44544 !important;
}

.mktoForm .mktoError .mktoErrorArrowWrap {

  left: 25px !important;

}

.mktoForm .mktoError .mktoErrorArrow {
  background-color: #F44544 !important;
  border: 1px solid #F44544 !important;
  border-right: none;
  border-bottom: none;
  display: inline-block;
  height: 16px;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  width: 16px;
  margin-top: 5px;
}

/*----- SPECIFIC ------ */

#LblMktoCompanyNotes {
  width: 100% !important;

}

select[name="MktoCompanyNotes"] {
  width: 97% !important;
}

select[name="Country"] {
  width: 97% !important;
}

select[name="State"] {
  width: 97% !important;
}

label[for="MktoCompanyNotes"] {
  font-weight: bold !important;

}

.mktoForm select.mktoField,
.mktoForm .mktoFieldWrap select {
  /* Style the select box itself */
  appearance: none;
  padding: 10px 35px 10px 15px;

  background-color: white;
  font-size: 14px;
  min-height: 40px;

  /* Custom arrow */
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2'%3e%3cpath d='M6 9l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
}

.mktoForm select.mktoField:focus {
  border-color: #0066cc;
  outline: none;
}

/* Very limited option styling */
.mktoForm select.mktoField option {
  padding: 5px;
  /* May not work in all browsers */
}

label [for="MktoCompanyNotes"] {
  margin-bottom: 15px !important;

}
