/**
 * @file
 * Visual styles for Corporate+'s forms.
 */
.form-item,
.form-actions {
  margin: 0 0 20px 0;
}
.view-commerce-cart-form table .form-item,
.view-commerce-cart-form table .form-actions {
  margin: 10px 0;
}
.header__section .form-item,
.header__section .form-actions {
  margin: 0;
}
input.form-text,
input.form-tel,
input.form-email,
input.form-url,
input.form-search,
input.form-file,
input.form-number,
input.form-color,
input.form-date,
input.form-time,
textarea,
select {
  background: #ffffff;
  color: #363636;
  font-size: 18px;
  padding: 14px 15px;
  outline: none;
  border-width: 1px;
  border-style: solid;
  border-color: #acacac;
  -webkit-appearance: none;
  width: 100%;
  font-weight: 400;
  -webkit-box-shadow: inset 0 1px 2px #e1e1e1;
  box-shadow: inset 0 1px 2px #e1e1e1;
  -webkit-transition: border-color 0.2s linear;
  -o-transition: border-color 0.2s linear;
  transition: border-color 0.2s linear;
}
.form-composite > .fieldset-wrapper > .description,
.form-item .description {
  font-size: 14px;
  opacity: 0.65;
  margin-top: 4px;
}
input[type=search] {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.region--shade-background input.form-text,
.region--colored-background input.form-text,
.region--dark-colored-background input.form-text,
.region--dark-background input.form-text,
.region--shade-background input.form-tel,
.region--colored-background input.form-tel,
.region--dark-colored-background input.form-tel,
.region--dark-background input.form-tel,
.region--shade-background input.form-email,
.region--colored-background input.form-email,
.region--dark-colored-background input.form-email,
.region--dark-background input.form-email,
.region--shade-background input.form-url,
.region--colored-background input.form-url,
.region--dark-colored-background input.form-url,
.region--dark-background input.form-url,
.region--shade-background input.form-search,
.region--colored-background input.form-search,
.region--dark-colored-background input.form-search,
.region--dark-background input.form-search,
.region--shade-background input.form-file,
.region--colored-background input.form-file,
.region--dark-colored-background input.form-file,
.region--dark-background input.form-file,
.region--shade-background input.form-number,
.region--colored-background input.form-number,
.region--dark-colored-background input.form-number,
.region--dark-background input.form-number,
.region--shade-background input.form-color,
.region--colored-background input.form-color,
.region--dark-colored-background input.form-color,
.region--dark-background input.form-color,
.region--shade-background input.form-date,
.region--colored-background input.form-date,
.region--dark-colored-background input.form-date,
.region--dark-background input.form-date,
.region--shade-background input.form-time,
.region--colored-background input.form-time,
.region--dark-colored-background input.form-time,
.region--dark-background input.form-time,
.region--shade-background textarea,
.region--colored-background textarea,
.region--dark-colored-background textarea,
.region--dark-background textarea,
.region--shade-background select,
.region--colored-background select,
.region--dark-colored-background select,
.region--dark-background select {
  border-color: #ffffff;
  color: #555555;
}
form .image-preview {
  margin-bottom: 0.5rem;
}

/*webkit specific rules for select list*/
@media screen and (-webkit-min-device-pixel-ratio:0) {
  select {
    background-image: url("../../images/angle-down-black.png");
    background-image: linear-gradient(transparent, transparent), url("../../images/angle-down-black.svg");
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: 98.5% 50%;
  }
}

/*form style 2*/
.form--style-2 {
  position: relative;
}
.form--style-2 input.form-text,
.form--style-2 input.form-tel,
.form--style-2 input.form-email,
.form--style-2 input.form-url,
.form--style-2 input.form-search,
.form--style-2 input.form-file,
.form--style-2 input.form-number,
.form--style-2 input.form-color,
.form--style-2 input.form-date,
.form--style-2 input.form-time,
.form--style-2 textarea,
.form--style-2 select {
  border-color: transparent transparent #707070 transparent;
  background-color: transparent;
}
.form--style-2 input.form-text:hover,
.form--style-2 input.form-tel:hover,
.form--style-2 input.form-email:hover,
.form--style-2 input.form-url:hover,
.form--style-2 input.form-search:hover,
.form--style-2 input.form-file:hover,
.form--style-2 input.form-number:hover,
.form--style-2 input.form-color:hover,
.form--style-2 input.form-date:hover,
.form--style-2 input.form-time:hover,
.form--style-2 textarea:hover,
.form--style-2 select:hover,
.form--style-2 input.form-text:focus,
.form--style-2 input.form-tel:focus,
.form--style-2 input.form-email:focus,
.form--style-2 input.form-url:focus,
.form--style-2 input.form-search:focus,
.form--style-2 input.form-file:focus,
.form--style-2 input.form-number:focus,
.form--style-2 input.form-color:focus,
.form--style-2 input.form-date:focus,
.form--style-2 input.form-time:focus,
.form--style-2 textarea:focus,
.form--style-2 select:focus {
  border-color: #707070;
}
.region--shade-background .form--style-2 input.form-text,
.region--colored-background .form--style-2 input.form-text,
.region--dark-colored-background .form--style-2 input.form-text,
.region--dark-background .form--style-2 input.form-text,
.region--shade-background .form--style-2 input.form-tel,
.region--colored-background .form--style-2 input.form-tel,
.region--dark-colored-background .form--style-2 input.form-tel,
.region--dark-background .form--style-2 input.form-tel,
.region--shade-background .form--style-2 input.form-email,
.region--colored-background .form--style-2 input.form-email,
.region--dark-colored-background .form--style-2 input.form-email,
.region--dark-background .form--style-2 input.form-email,
.region--shade-background .form--style-2 input.form-url,
.region--colored-background .form--style-2 input.form-url,
.region--dark-colored-background .form--style-2 input.form-url,
.region--dark-background .form--style-2 input.form-url,
.region--shade-background .form--style-2 input.form-search,
.region--colored-background .form--style-2 input.form-search,
.region--dark-colored-background .form--style-2 input.form-search,
.region--dark-background .form--style-2 input.form-search,
.region--shade-background .form--style-2 input.form-file,
.region--colored-background .form--style-2 input.form-file,
.region--dark-colored-background .form--style-2 input.form-file,
.region--dark-background .form--style-2 input.form-file,
.region--shade-background .form--style-2 input.form-number,
.region--colored-background .form--style-2 input.form-number,
.region--dark-colored-background .form--style-2 input.form-number,
.region--dark-background .form--style-2 input.form-number,
.region--shade-background .form--style-2 input.form-color,
.region--colored-background .form--style-2 input.form-color,
.region--dark-colored-background .form--style-2 input.form-color,
.region--dark-background .form--style-2 input.form-color,
.region--shade-background .form--style-2 input.form-date,
.region--colored-background .form--style-2 input.form-date,
.region--dark-colored-background .form--style-2 input.form-date,
.region--dark-background .form--style-2 input.form-date,
.region--shade-background .form--style-2 input.form-time,
.region--colored-background .form--style-2 input.form-time,
.region--dark-colored-background .form--style-2 input.form-time,
.region--dark-background .form--style-2 input.form-time,
.region--shade-background .form--style-2 textarea,
.region--colored-background .form--style-2 textarea,
.region--dark-colored-background .form--style-2 textarea,
.region--dark-background .form--style-2 textarea,
.region--shade-background .form--style-2 select,
.region--colored-background .form--style-2 select,
.region--dark-colored-background .form--style-2 select,
.region--dark-background .form--style-2 select {
  border-color: transparent transparent #ffffff transparent;
  background-color: transparent;
}
.region--shade-background .form--style-2 input.form-text:hover,
.region--colored-background .form--style-2 input.form-text:hover,
.region--dark-colored-background .form--style-2 input.form-text:hover,
.region--dark-background .form--style-2 input.form-text:hover,
.region--shade-background .form--style-2 input.form-tel:hover,
.region--colored-background .form--style-2 input.form-tel:hover,
.region--dark-colored-background .form--style-2 input.form-tel:hover,
.region--dark-background .form--style-2 input.form-tel:hover,
.region--shade-background .form--style-2 input.form-email:hover,
.region--colored-background .form--style-2 input.form-email:hover,
.region--dark-colored-background .form--style-2 input.form-email:hover,
.region--dark-background .form--style-2 input.form-email:hover,
.region--shade-background .form--style-2 input.form-url:hover,
.region--colored-background .form--style-2 input.form-url:hover,
.region--dark-colored-background .form--style-2 input.form-url:hover,
.region--dark-background .form--style-2 input.form-url:hover,
.region--shade-background .form--style-2 input.form-search:hover,
.region--colored-background .form--style-2 input.form-search:hover,
.region--dark-colored-background .form--style-2 input.form-search:hover,
.region--dark-background .form--style-2 input.form-search:hover,
.region--shade-background .form--style-2 input.form-file:hover,
.region--colored-background .form--style-2 input.form-file:hover,
.region--dark-colored-background .form--style-2 input.form-file:hover,
.region--dark-background .form--style-2 input.form-file:hover,
.region--shade-background .form--style-2 input.form-number:hover,
.region--colored-background .form--style-2 input.form-number:hover,
.region--dark-colored-background .form--style-2 input.form-number:hover,
.region--dark-background .form--style-2 input.form-number:hover,
.region--shade-background .form--style-2 input.form-color:hover,
.region--colored-background .form--style-2 input.form-color:hover,
.region--dark-colored-background .form--style-2 input.form-color:hover,
.region--dark-background .form--style-2 input.form-color:hover,
.region--shade-background .form--style-2 input.form-date:hover,
.region--colored-background .form--style-2 input.form-date:hover,
.region--dark-colored-background .form--style-2 input.form-date:hover,
.region--dark-background .form--style-2 input.form-date:hover,
.region--shade-background .form--style-2 input.form-time:hover,
.region--colored-background .form--style-2 input.form-time:hover,
.region--dark-colored-background .form--style-2 input.form-time:hover,
.region--dark-background .form--style-2 input.form-time:hover,
.region--shade-background .form--style-2 textarea:hover,
.region--colored-background .form--style-2 textarea:hover,
.region--dark-colored-background .form--style-2 textarea:hover,
.region--dark-background .form--style-2 textarea:hover,
.region--shade-background .form--style-2 select:hover,
.region--colored-background .form--style-2 select:hover,
.region--dark-colored-background .form--style-2 select:hover,
.region--dark-background .form--style-2 select:hover,
.region--shade-background .form--style-2 input.form-text:focus,
.region--colored-background .form--style-2 input.form-text:focus,
.region--dark-colored-background .form--style-2 input.form-text:focus,
.region--dark-background .form--style-2 input.form-text:focus,
.region--shade-background .form--style-2 input.form-tel:focus,
.region--colored-background .form--style-2 input.form-tel:focus,
.region--dark-colored-background .form--style-2 input.form-tel:focus,
.region--dark-background .form--style-2 input.form-tel:focus,
.region--shade-background .form--style-2 input.form-email:focus,
.region--colored-background .form--style-2 input.form-email:focus,
.region--dark-colored-background .form--style-2 input.form-email:focus,
.region--dark-background .form--style-2 input.form-email:focus,
.region--shade-background .form--style-2 input.form-url:focus,
.region--colored-background .form--style-2 input.form-url:focus,
.region--dark-colored-background .form--style-2 input.form-url:focus,
.region--dark-background .form--style-2 input.form-url:focus,
.region--shade-background .form--style-2 input.form-search:focus,
.region--colored-background .form--style-2 input.form-search:focus,
.region--dark-colored-background .form--style-2 input.form-search:focus,
.region--dark-background .form--style-2 input.form-search:focus,
.region--shade-background .form--style-2 input.form-file:focus,
.region--colored-background .form--style-2 input.form-file:focus,
.region--dark-colored-background .form--style-2 input.form-file:focus,
.region--dark-background .form--style-2 input.form-file:focus,
.region--shade-background .form--style-2 input.form-number:focus,
.region--colored-background .form--style-2 input.form-number:focus,
.region--dark-colored-background .form--style-2 input.form-number:focus,
.region--dark-background .form--style-2 input.form-number:focus,
.region--shade-background .form--style-2 input.form-color:focus,
.region--colored-background .form--style-2 input.form-color:focus,
.region--dark-colored-background .form--style-2 input.form-color:focus,
.region--dark-background .form--style-2 input.form-color:focus,
.region--shade-background .form--style-2 input.form-date:focus,
.region--colored-background .form--style-2 input.form-date:focus,
.region--dark-colored-background .form--style-2 input.form-date:focus,
.region--dark-background .form--style-2 input.form-date:focus,
.region--shade-background .form--style-2 input.form-time:focus,
.region--colored-background .form--style-2 input.form-time:focus,
.region--dark-colored-background .form--style-2 input.form-time:focus,
.region--dark-background .form--style-2 input.form-time:focus,
.region--shade-background .form--style-2 textarea:focus,
.region--colored-background .form--style-2 textarea:focus,
.region--dark-colored-background .form--style-2 textarea:focus,
.region--dark-background .form--style-2 textarea:focus,
.region--shade-background .form--style-2 select:focus,
.region--colored-background .form--style-2 select:focus,
.region--dark-colored-background .form--style-2 select:focus,
.region--dark-background .form--style-2 select:focus {
  border-color: #ffffff;
}
.form--style-2 .form-actions {
  position: absolute;
  right: 0;
  bottom: 0;
}
.form--style-2 a.mt-button,
.form--style-2 .mt-button > a,
.form--style-2 button.mt-button,
.form--style-2 input[type="submit"],
.form--style-2 input[type="reset"],
.form--style-2 input[type="button"] {
  border-width: 0;
}
.form--style-2 a.mt-button:hover,
.form--style-2 .mt-button > a:hover,
.form--style-2 button.mt-button:hover,
.form--style-2 input[type="submit"]:hover,
.form--style-2 input[type="reset"]:hover,
.form--style-2 input[type="button"]:hover,
.form--style-2 a.mt-button:focus,
.form--style-2 .mt-button > a:focus,
.form--style-2 button.mt-button:focus,
.form--style-2 input[type="submit"]:focus,
.form--style-2 input[type="reset"]:focus,
.form--style-2 input[type="button"]:focus {
  background-color: transparent;
  color: #333333;
}
.region--shade-background .form--style-2 a.mt-button:hover,
.region--colored-background .form--style-2 a.mt-button:hover,
.region--dark-colored-background .form--style-2 a.mt-button:hover,
.region--dark-background .form--style-2 a.mt-button:hover,
.region--shade-background .form--style-2 .mt-button > a:hover,
.region--colored-background .form--style-2 .mt-button > a:hover,
.region--dark-colored-background .form--style-2 .mt-button > a:hover,
.region--dark-background .form--style-2 .mt-button > a:hover,
.region--shade-background .form--style-2 button.mt-button:hover,
.region--colored-background .form--style-2 button.mt-button:hover,
.region--dark-colored-background .form--style-2 button.mt-button:hover,
.region--dark-background .form--style-2 button.mt-button:hover,
.region--shade-background .form--style-2 input[type="submit"]:hover,
.region--colored-background .form--style-2 input[type="submit"]:hover,
.region--dark-colored-background .form--style-2 input[type="submit"]:hover,
.region--dark-background .form--style-2 input[type="submit"]:hover,
.region--shade-background .form--style-2 input[type="reset"]:hover,
.region--colored-background .form--style-2 input[type="reset"]:hover,
.region--dark-colored-background .form--style-2 input[type="reset"]:hover,
.region--dark-background .form--style-2 input[type="reset"]:hover,
.region--shade-background .form--style-2 input[type="button"]:hover,
.region--colored-background .form--style-2 input[type="button"]:hover,
.region--dark-colored-background .form--style-2 input[type="button"]:hover,
.region--dark-background .form--style-2 input[type="button"]:hover,
.region--shade-background .form--style-2 a.mt-button:focus,
.region--colored-background .form--style-2 a.mt-button:focus,
.region--dark-colored-background .form--style-2 a.mt-button:focus,
.region--dark-background .form--style-2 a.mt-button:focus,
.region--shade-background .form--style-2 .mt-button > a:focus,
.region--colored-background .form--style-2 .mt-button > a:focus,
.region--dark-colored-background .form--style-2 .mt-button > a:focus,
.region--dark-background .form--style-2 .mt-button > a:focus,
.region--shade-background .form--style-2 button.mt-button:focus,
.region--colored-background .form--style-2 button.mt-button:focus,
.region--dark-colored-background .form--style-2 button.mt-button:focus,
.region--dark-background .form--style-2 button.mt-button:focus,
.region--shade-background .form--style-2 input[type="submit"]:focus,
.region--colored-background .form--style-2 input[type="submit"]:focus,
.region--dark-colored-background .form--style-2 input[type="submit"]:focus,
.region--dark-background .form--style-2 input[type="submit"]:focus,
.region--shade-background .form--style-2 input[type="reset"]:focus,
.region--colored-background .form--style-2 input[type="reset"]:focus,
.region--dark-colored-background .form--style-2 input[type="reset"]:focus,
.region--dark-background .form--style-2 input[type="reset"]:focus,
.region--shade-background .form--style-2 input[type="button"]:focus,
.region--colored-background .form--style-2 input[type="button"]:focus,
.region--dark-colored-background .form--style-2 input[type="button"]:focus,
.region--dark-background .form--style-2 input[type="button"]:focus {
  color: #ffffff;
}

/*inline form elements*/
.container-inline div {
  display: inline-block;
  vertical-align: top;
}
.container-inline input.form-text,
.container-inline input.form-tel,
.container-inline input.form-email,
.container-inline input.form-url,
.container-inline input.form-search,
.container-inline input.form-file,
.container-inline input.form-number,
.container-inline input.form-color,
.container-inline input.form-date,
.container-inline input.form-time {
  width: auto;
  margin-right: 0;
  margin-top: 0;
  display: inline-block;
}
.container-inline input[type="submit"] {
  margin: 0;
}
.container-inline input[type="submit"],
.form--inline input[type="submit"] {
  line-height: 25px;
}
@media (max-width: 767px) {
  .container-inline div {
    display: block;
  }
  .container-inline .form-actions {
    margin: 0 0 20px 0;
    display: block;
  }
  .container-inline .form-submit {
    margin-top: 5px;
  }
  .container-inline input.form-text,
  .container-inline input.form-tel,
  .container-inline input.form-email,
  .container-inline input.form-url,
  .container-inline input.form-search,
  .container-inline input.form-file,
  .container-inline input.form-number,
  .container-inline input.form-color,
  .container-inline input.form-date,
  .container-inline input.form-time {
    width: 100%;
  }
}

/*filter wrapper*/
.filter-wrapper .form-item label {
  display: inline-block;
}

/*Form group*/
.form-group {
  margin-bottom: 20px;
  position: relative;
}
.form-group:last-child {
  margin-bottom: 0;
}
.form-group .form-item,
.form-group .form-actions {
  margin: 0;
}
.form-submit-icon {
  position: absolute;
  right: 0;
  top: 0;
  width: 30px;
  height: 100%;
  color: #ffffff;
  border: none;
  border-radius: 0 5px 5px 0;
}
.form-submit-icon .svg-inline--fa {
  height: 100%;
}

/*textarea*/
textarea {
  resize: none;
}
label {
  display: block;
  color: #424242;
  font-size: 15px;
}
.label {
  color: #424242;
}
.region--shade-background .label,
.region--colored-background .label,
.region--dark-colored-background .label,
.region--dark-background .label,
.region--shade-background label,
.region--colored-background label,
.region--dark-colored-background label,
.region--dark-background label {
  color: #ffffff;
}

/*fieldset*/
fieldset {
  border: 1px solid #acacac;
  padding: 0.5em 1.5em 1.4em;
  margin: 0 0 20px;
}
fieldset legend {
  display: inline-block;
  width: auto;
  padding: 5px;
  font-size: 12px;
  text-transform: uppercase;
  margin-left: 10px;
  margin-bottom: 0;
}
fieldset p:last-child {
  padding-bottom: 0;
}
fieldset .fieldset-wrapper > div {
  margin-bottom: 20px;
}
fieldset .fieldset-wrapper > div:last-child {
  margin-bottom: 0;
}
fieldset.webform-type-radios,
fieldset.webform-type-checkboxes {
  border: none;
}
fieldset.webform-type-radios legend,
fieldset.webform-type-checkboxes legend {
  border: none;
  font-weight: 400;
  font-size: 15px;
}
.region--shade-background fieldset legend,
.region--colored-background fieldset legend,
.region--dark-colored-background fieldset legend,
.region--dark-background fieldset legend {
  color: #ffffff;
}
.form-type-checkbox.form-no-label input[type="checkbox"],
.form-type-checkbox.form-no-label input[type="radio"] {
  display: inline-block;
  margin-right: 7px;
}
.form-type-checkbox.form-no-label input[type="checkbox"] + .description,
.form-type-checkbox.form-no-label input[type="radio"] + .description {
  display: inline-block;
  margin-left: 0;
}

/*checkboxes and radios*/
input[type="radio"],
input[type="checkbox"] {
  margin: 0px 10px 3px 0;
}

/*form placeholder*/
::-webkit-input-placeholder {
  color: #000000;
  opacity: 0.5;
}
:-moz-placeholder {
  color: #000000;
  opacity: 0.5;
}
::-moz-placeholder {
  color: #000000;
  opacity: 0.5;
}
:-ms-input-placeholder {
  color: #000000;
  opacity: 0.5;
}
::placeholder {
  color: #000000;
  opacity: 0.5;
}
:root .region--default-background,
:root .region--bright-background,
:root .region--accent-background,
:root .region--tint-background,
:root .region--pattern {
  /*Disabled and read only forms*/
  --mt-form-disabled-background-color: #e9ecef;
  --mt-form-disabled-border-color: #e9ecef;
  --mt-form-disabled-color: #f9f9f9;
  --mt-form-disabled-opacity: 0.7;

  /*Disabled submit type*/
  --mt-submit-disabled-color: var(--mt-button-primary);
  --mt-submit-disabled-background-color: #e9ecef;
  --mt-submit-outline-background-color: transparent;
  --mt-submit-outline-disabled-color: var(--mt-color-base);
  --mt-submit-disabled-opacity: 0.7;
}
:root .region--colored-background,
:root .region--dark-colored-background,
:root .region--shade-background,
:root .region--dark-background {
  /*Disabled and read only forms*/
  --mt-form-disabled-background-color: #e9ecef;
  --mt-form-disabled-border-color: #e9ecef;
  --mt-form-disabled-color: hsl(210deg 50% 98% / 20%);
  --mt-form-disabled-opacity: 0.7;

  /*Disabled submit type*/
  --mt-submit-disabled-color: var(--mt-button-secondary-contrast);
  --mt-submit-outline-disabled-color: var(--mt-color-base-contrast);
  --mt-submit-disabled-opacity: 0.7;
}


/*Disabled form elements*/
.webform-readonly label,
.form-disabled label,
.webform-readonly .description,
.form-disabled .description,
fieldset:disabled legend {
  opacity: 0.5;
}

/*Disabled and read only inputs*/
input[readonly="readonly"],
input:disabled,
input[readonly],
textarea:disabled,
textarea[readonly="readonly"],
textarea[readonly],
select:disabled {
  opacity: var(--mt-form-disabled-opacity);
  background-color: var(--mt-form-disabled-background-color) !important;
  border-color: var(--mt-form-disabled-border-color) !important;
  color: var(--mt-form-disabled-color) !important;
}
input[readonly="readonly"]:hover,
input:disabled:hover,
input[readonly]:hover,
textarea:disabled:hover,
textarea[readonly]:hover,
textarea[readonly="readonly"]:hover,
select:disabled:hover,
input[readonly="readonly"]:focus,
input:disabled:focus,
input[readonly]:focus,
textarea:disabled:focus,
textarea[readonly]:focus,
textarea[readonly="readonly"]:focus,
select:disabled:focus {
  border-color: var(--mt-form-disabled-border-color) !important;
}
input[type="submit"]:disabled {
  color: var(--mt-submit-disabled-color) !important;
  opacity: var(--mt-submit-disabled-opacity);
  background-color: var(--mt-submit-disabled-background-color) !important;
}
input[type="submit"].mt-button--outline:disabled {
  opacity: var(--mt-submit-disabled-opacity);
  background-color: var(--mt-submit-outline-background-color) !important;
  color: var(--mt-submit-outline-disabled-color) !important;
}
