/* --- main color scheme -- */




/* --- misc colors -- */






/* --- transition -- */




/* --- main font -- */




.main-form .misc-text {
    font-size: 14px;
    margin: 20px 0 5px;
}

form {
    margin: 0 !important;
}

.form__container .hs-form-field,
.hs-form .hs-form-field {
	  margin-bottom: 1rem;
}

.form__container fieldset.form-columns-3 .hs-form-field {
    width: 33.2% !important;
}

.form__container.button__center form .actions {
    text-align: center;
}

  @media (max-width:768px){
    .form__container fieldset.form-columns-3 .hs-form-field {
      width: 100% !important;
    }
  }

.hs-form fieldset {
  max-width: 100% !important;
  width: 100%;
}

.hs-form textarea,
.hs-form select,
.hs-form input[type="text"],
.hs-form input[type="password"],
.hs-form input[type="datetime"],
.hs-form input[type="datetime-local"],
.hs-form input[type="date"],
.hs-form input[type="month"],
.hs-form input[type="time"],
.hs-form input[type="week"],
.hs-form input[type="number"],
.hs-form input[type="email"],
.hs-form input[type="url"],
.hs-form input[type="search"],
.hs-form input[type="tel"],
input[type="password"],
input.email-edit.hs-input,
.hs-search-field__input {
	width: 100% !important;
  max-width:100% !important;
  border: 1px solid #E9E5E0; !important;
	padding: 1.5rem 1rem !important;
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	font-size: 14px !important;
  border-radius: 0 !important;
  background: #f7f7f7 !important;
  height:40px !important;
  color:#8C8C8C;
}

  @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    /* IE Only */
    .hs-form input[type="file"] {
      width: 100%;
      max-width:100%;
      border: 1px solid #ddd;
      padding: 0.5rem 0.5rem;
      -webkit-appearance: none;
      -moz-appearance: none;
      font-size: 14px;
      border-radius: 5px;
      background: #f3f3f3;
      height:40px;
      outline: none;
    }
  }

.hs-form input.hs-input, 
.hs-form textarea.hs-input {
  -webkit-box-shadow:none !important;
          box-shadow:none !important;
}

.hs-form input:focus,
.hs-form select:focus,
.hs-form textarea:focus,
.hs-form input.hs-input:focus, 
.hs-form textarea.hs-input:focus{
	border-color: #999;
	outline: 0 none !important;
  -webkit-box-shadow:none;
          box-shadow:none;
}

.hs-form input.invalid,
.hs-form select.invalid,
.hs-form textarea.invalid {
	border-color: red;
}

.hs-form input[type="radio"],
.hs-form input[type="checkbox"] {
	line-height: normal;
	cursor: pointer;
}

.hs-form .hs-fieldtype-radio > label, 
.hs-form .hs-fieldtype-radio > label .hs-form-required,
.hs-form .hs-form-required {
  font-weight: 500;
  color: #333;
}

.hs-form textarea {
	overflow: auto;
	vertical-align: top;
  min-height:100px;
  width:100% !important;
}

.hs-form select {
	background-position: calc(100% - 0.5rem) center;
	background-size: 1.6rem 1rem;
	background-repeat: no-repeat;
}

/* HubSpot Form Specific Markup */
.hs-form .hs-error-msgs {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 0.8em;
	opacity: 0.8;
	color: red;
  text-align:left;
}

.hs-form ul.hs-error-msgs li {
  margin: 0;
  text-indent: 0;
  padding-left: 0 !important;
}

.hs-form label:not(.hs-error-msg),
.subscribe-form__container form label:not(.hs-error-msg),
.hs-form label:not(.hs-error-msg) .hs-form-required {
  font-size: 0.85rem;
  color:#8C8C8C;
}

.hs-form .hs-error-msgs label {
  color:red;
  font-size:0.75rem;
}

.hs-form .hs-submit .actions {
  padding: 0 !important;
  margin: 0 !important;
}

/* --- list items --- */
.hs-form ul.inputs-list.multi-container {
  list-style: none;
  margin: 0;
  padding: 10px 0 0 0;
}

.hs-form .hs-form-field ul.inputs-list:not(.hs-error-msgs) {
  padding-left: 1rem !important;
  list-style: none;
}

.hs-form ul.inputs-list,
.hs-form ul.inputs-list li.hs-form-booleancheckbox {
    margin: 0 !important;
}

.hs-form ul.inputs-list.multi-container li label,
.hs-form .hs-form-booleancheckbox label {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
}

.hs-form ul.inputs-list.multi-container li label input,
.hs-form ul.inputs-list .hs-input[type='checkbox']{
  width: 30px !important;
}



/* --- auto width for form button --- */

form .hs-button, 
form input.hs-button.primary.large {
    width: auto;
}

/* --- legal ---- */

.hs-form .legal-consent-container {
  font-size: 11px;
  background: #f5f5f5;
  border: solid thin #dadada;
  padding: 15px;
  margin: 15px 0;
}
.hs-form .legal-consent-container ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.hs-form .legal-consent-container ul .hs-input {
  width: 20px;
}
.hs-form .legal-consent-container .hs-richtext, 
.hs-form .legal-consent-container .hs-richtext p, 
.hs-form .legal-consent-container .hs-form-booleancheckbox span {
  font-size: 10px;
  color: #333;
  margin: 0;
}
.hs-form .legal-consent-container .hs-form-booleancheckbox span {
  font-weight: 400;
}

/* -- generic form style -- */

.form__wrapper {
    border: 1px solid #E9E9E9;
    padding: 1.5rem;
    border-radius: 8px;
    background-color: #ffffff;
    -webkit-box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.10);
            box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.10);
}
.form__wrapper .main-title {
    margin-bottom: 15px;
}

/* --- no background --- */

.form__wrapper.background__none {
    border: none;
    padding: 0;
    background-color: transparent;
    -webkit-box-shadow: none;
            box-shadow: none;
}

/* --- subscribe form ---- */

.form__wrapper.subscribe-form form {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.form__wrapper.subscribe-form .hs-richtext.hs-main-font-element,
.form__wrapper.subscribe-form .hs-form label:not(.hs-error-msg) {
    display: none !important;
}

.form__wrapper.subscribe-form .hs-form input[type="email"] {
    padding: 12px 16px !important;
    height: 46px !important;
}

.form__wrapper.subscribe-form input.hs-button.primary.large {
    border-radius: 0 4px 4px 0;
    margin-top: 0;
    padding:12px 16px;
}

.form__wrapper.subscribe-form .hs_email {
    width: 100%;
}

/* Theme styles start here */
.form--dark {
  background-color: #002266;
  padding: 2rem;
}
.form--dark label *,
.form--dark .hs-demo_file_upload_select .hs-input {
  color: white;
}
.form--dark .hs-button {
  background-color:#E9E5E0;
  border-style:solid;
  border-width:4px;
  border-color:#E9E5E0;
  border-radius:4px;
  color:#000;
}
.form--dark .hs-button:hover {
  background-color:#C2BFBB;
  border-color:#C2BFBB;
  color:#ffffff;
}

.form--light {
  background-color: #E9E5E0;
  padding: 2rem;
}
.form--light label * {
  color: black;
}
.form--light .hs-button {
  font-family: ;
  background-color:#002266;
  border-style:solid;
  border-width:4px;
  border-color:#002266;
  border-radius:4px;
  color:#ffffff;
}
.form--light .hs-button:hover {
  background-color:#6B7592;
  border-color:#6B7592;
  color:#ffffff;
}

.form--white {
  background-color: #fff;
  padding: 2rem;
}
.form--white label * {
  color: black;
}
.form--white .hs-button {
  font-family: ;
  background-color:#002266;
  border-style:solid;
  border-width:4px;
  border-color:#002266;
  border-radius:4px;
  color:#ffffff;
}
.form--white .hs-button:hover {
  background-color:#6B7592;
  border-color:#6B7592;
  color:#ffffff;
}