/* ************************************************************** */
/*                                                                */
/*                 This file should not be changed.               */
/*        If changes are required - override in styles.css        */
/*                                                                */
/* ************************************************************** */

/* MOBILE SMALL - Non-Retina - (0-321px) */

/* -------------- Scroll to top padding for Form Errors------------- */
html {
  scroll-padding-top:20rem !important;
}
/* -------------- Visual styles for form components ------------- */
.form-item .container-inline {
  margin: 0;
}
/* -------------- Form Items ------------- */
/* -------------- Inline Form Elements   ------------- */
/* reset from Address module */
.address-container-inline > .form-item {
  display: block !important;
  margin-right: 0;
}
/* reset from Webform */
.webform-flexbox {
  display: block;
}
.form-wrapper > .address-container-inline,
.form-wrapper > .stripe-form,
.checkout-pane-contact-information > .fieldset-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-content: stretch;
  align-items: flex-start;
}
.form-wrapper > .address-container-inline {
  align-items: flex-end;
}
.form-wrapper > .address-container-inline,
.form-wrapper > .stripe-form,
.checkout-pane-contact-information > .fieldset-wrapper {
  margin: 0 calc((var(--inner-padding-lr) / 2) * -1);
}
.form-wrapper > .address-container-inline .form-item,
.form-wrapper > .stripe-form .form-item,
.form-wrapper > .stripe-form .payment-method-icon-list,
.stripe-form #payment-errors,
.checkout-pane-contact-information > .fieldset-wrapper .form-item {
  margin: 0 calc(var(--inner-padding-lr) / 2);
}
.form-wrapper > .address-container-inline > .form-item,
.form-wrapper > .stripe-form .form-item,
.checkout-pane-contact-information > .fieldset-wrapper .form-item {
  flex: 1;
}
.form-wrapper > .stripe-form .form-item-payment-information-add-payment-method-payment-details-card-number,
.form-wrapper > .stripe-form .payment-method-icon-list {
  flex-basis: 100% !important;
  max-width: 100%;
}
/* === Form Elements === */
fieldset:not(.form-wrapper),
details summary, /* Details Summary */
details[open] summary, /* Details Summary - open */
details[open] summary:hover, /* Details Summary - open */
details[open] summary:focus, /* Details Summary - open */
details .details-wrapper,
input.form-text,
input.form-tel,
input.form-email,
input.form-url,
input.form-search,
input.form-number,
input.form-date,
input.form-time,
input.form-color.form-color-small,
input.form-color.form-color-medium,
input.form-color.form-color-large,
input.form-color.form-color-output,
select.form-select,
select.facets-dropdown,
textarea.form-textarea,
.form-managed-file,
.stripe-form .form-text,
.webform-scale-options input:checked + label,
.webform-has-field-prefix input,
.webform-has-field-prefix .form-textarea,
.webform-has-field-prefix select,
.webform-has-field-suffix input,
.webform-has-field-suffix .form-textarea,
.webform-has-field-suffix select,
.webform-submission-form input.form-color,
form .CodeMirror,
.form-type-webform-signature canvas,
span.field-suffix,
span.field-prefix {
  line-height:normal !important;
  border-radius: var(--d-base-border-radius);
  background-color: var(--color-white);
  border: 0.1rem solid var(--color-light-grey-hover);
}
/* === Inset shadow on input fields === */
input.form-text,
input.form-tel,
input.form-email,
input.form-url,
input.form-search,
input.form-number,
input.form-date,
input.form-time,
input.form-color.form-color-output,
select.form-select,
select.facets-dropdown,
textarea.form-textarea,
.form-managed-file,
.stripe-form .form-text,
.stripe-form #card-number-element,
.stripe-form #expiration-element,
.stripe-form #security-code-element,
form .CodeMirror,
.form-type-webform-signature canvas {
  width:100%;
  float: none !important;
  box-shadow: inset 0px 0px 3px 0px rgba(0,0,0,0.25);
}
input.form-text,
input.form-tel,
input.form-email,
input.form-url,
input.form-search,
input.form-number,
input.form-color.form-color-output,
input.form-date,
input.form-time,
textarea.form-textarea,
select.form-select,
select.facets-dropdown,
form .CodeMirror .CodeMirror-lines,
.form-type-webform-signature canvas5,
.form-managed-file span.file,
.stripe-form .form-text {
  padding: var(--d-space-s);
}
select { /* drop arrow to right */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--color-grey) 50%), linear-gradient(135deg, var(--color-grey) 50%, transparent 50%), linear-gradient(to right, var(--color-very-light-grey), var(--color-very-light-grey));
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%, 100% 0;
  background-size: 5px 5px, 5px 5px, 4.2rem 100%;
  background-repeat: no-repeat;
}
/* === additional borders for formatted text area === */
/*.text-format-wrapper .cke_top {
  border-bottom-color: var(--color-light-grey-hover);
}
.text-format-wrapper .cke_bottom {
  border-top-color: var(--color-light-grey-hover);
}*/
/* === Code Form items === */
form .CodeMirror .CodeMirror-lines {
  padding-left: 0;
  padding-right: 0;
}
.webform-select-other .fieldset-wrapper > .form-item,
.webform-select-other-input {
  width: 100% !important;
}
/* === Submit items === */
fieldset:not(.form-wrapper),
details summary,
input.form-file,
label[for] {
  cursor:pointer;
}
fieldset:not(.form-wrapper),
details summary {
  padding: var(--d-button-padding-tb) var(--d-button-padding-lr);
}
details[open] .details-wrapper {
  padding: var(--d-margin-bottom-base) calc(var(--d-button-padding-lr) / 1.5) 0 calc(var(--d-button-padding-lr) / 1.5) !important;
}
/* === Suffix & Prefix === */
.webform-has-field-prefix input,
.webform-has-field-suffix input,
.webform-has-field-prefix .form-textarea,
.webform-has-field-suffix .form-textarea,
.webform-has-field-prefix select,
.webform-has-field-suffix select{
  width: 90%;
  float: left !important;
  position: relative;
}
.webform-has-field-prefix input,
.webform-has-field-prefix .form-textarea,
.webform-has-field-prefix select,
span.field-suffix {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.webform-has-field-suffix input,
.webform-has-field-suffix .form-textarea,
.webform-has-field-suffix select,
span.field-prefix {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.webform-has-field-prefix.webform-has-field-suffix input,
.webform-has-field-prefix.webform-has-field-suffix .form-textarea,
.webform-has-field-prefix.webform-has-field-suffix select {
  width: 80%;
  border-radius: 0;
}
div span.field-prefix,
div:not(.form-item-custom-composite-add-more-items) > span.field-suffix {
  display: block;
  width: 10%;
  float: left;
  padding: var(--d-space-s) 0;
  text-align: center;
}
.field-suffix {
  display: inline-block;
}
/* === Reset Form widths === */
input.form-date,
input.form-time,
input.form-color.form-color-output,
input.form-file,
.form-managed-file span.file,
form .CodeMirror {
  width:auto;
}
/* === Inine Forms === */
.form--inline .form-item {
  float: none;
}
/* === Bottom Margins */
form input,
.form-textarea-wrapper textarea,
form select,
.form-managed-file,
.stripe-form .form-text,
.stripe-form #card-number-element,
.stripe-form #expiration-element,
.stripe-form #security-code-element,
form .CodeMirror,
.form-type-range,
.webform-submission-form input.form-color,
form.form-type-webform-custom-composite td input,
#search-form.search-form .container-inline .form-submit,
.form-item .form-search,
.facets-widget-dropdown select {
  display: block;
  margin-top: 0;
  margin-bottom: var(--d-space-xs);
}
.search-block-form .form-type-search .form-search,
.search-block-form .form-actions .form-submit {
  margin-bottom: 0;
}
.form-checkbox,
.form-radio {
  margin-bottom: var(--d-space-xs);
  margin-right: var(--d-space-xs);
}
form td input,
form td textarea,
form td select,
td .CodeMirror,
td .webform-submission-form input.form-color,
td .form-type-range,
.search-block-form input {
  margin-bottom: 0 !important;
}
input.form-file,
.form-managed-file .button,
.form-managed-file span.file {  /* Same as above except Margin */
  margin: 0 !important;
  display: inline-block;
  vertical-align: middle;
}
.form-managed-file {
  padding: var(--d-space-s);
  width: auto;
  display: inline-block;
}
.form-managed-file span.file {
  background: var(--color-very-light-grey);
  border: 1px solid var(--color-very-light-grey);
  border-radius: var(--d-base-border-radius);
  margin-right: 1rem !important;
}
.form-managed-file span.file ~ .form-submit {
  box-shadow: none !important; /*remove standard box shadow */
  border: 1px solid var(--color-light-grey);
}
.form-managed-file span.file.file--application-pdf a {
  display: flex;
  align-items: center;
  color: var(--d-color-base);
  position: relative;
  padding-left: 4rem;
}
.form-managed-file span.file.file--application-pdf a:before {
  content: '';
  background-image: url(../images/pdf-icon.png);
  width: 3.2rem;
  height: 3.2rem;
  background-size: cover;
  background-repeat: no-repeat;
  position: absolute;
  left: 0;
}
.js .form-managed-file .button.js-hide {
  display: none;
}
/* === Labels === */
form label,
.webform-element--title-inline > label,
fieldset legend span.fieldset-legend,
.webform-multiple-table th {
  margin-bottom: var(--d-space-xs);
}
form label,
.webform-element--title-inline > label,
fieldset legend span.fieldset-legend {
  display: block;
}
form label{
  line-height: var(--d-line-height-base) !important;
}
fieldset legend,
label,
.webform-multiple-table th {
  font-weight: bolder;
}
label.option {
  font-weight: 300;
}
/* === Fieldset/Legend === */
fieldset.form-wrapper {
  display: contents; /* fixes weird layout issue on mobile */
}
fieldset,
fieldset.fieldgroup {
  position:relative;
  margin-top: 0;
}
fieldset legend {
  display:block;
  width:100%;
  position: relative;
  background-color:transparent;
}
fieldset.form-wrapper {
  margin-top: 0;
  margin-bottom: 0;
}
/* === Details/Summary === */
details .details-wrapper {
  border-top: none !important;
  margin-top: 0;
  height: 0; /* Is this part of attempt to get Details to open smoothly? */
  overflow: hidden; /* Is this part of attempt to get Details to open smoothly? */
  padding-top: 0 !important; /* Is this part of attempt to get Details to open smoothly? */
  padding-bottom: 0 !important; /* Is this part of attempt to get Details to open smoothly? */
  transition-property: all !important; /* Is this part of attempt to get Details to open smoothly? */
  transition-duration: .5s !important; /* Is this part of attempt to get Details to open smoothly? */
  transition-timing-function: cubic-bezier(0, 1, 0.5, 1) !important; /* Is this part of attempt to get Details to open smoothly? */
}
details[open] summary{
  border-bottom-right-radius: 0px;
  border-bottom-left-radius: 0px;
}
details[open] .details-wrapper {
  height: auto; /* Is this part of attempt to get Details to open smoothly? */
  overflow: visible; /* Is this part of attempt to get Details to open smoothly? */
  border-top-right-radius: 0px;
  border-top-left-radius: 0px;
}
/* === Checkboxes & Radios === */
input[type="checkbox"],
input[type="radio"],
label.option {
  display: inline-block;
  width: auto;
  vertical-align: middle;
}
@supports ( appearance: none ) or ( -moz-appearance: none ) or ( -webkit-appearance: none ) { /* only apply if browser supports appearence */
  input[type="checkbox"],
  input[type="radio"] {
    width: var(--d-margin-bottom-base);
    height: var(--d-margin-bottom-base);
    border: 0.1rem solid var(--color-dark-grey);
    border-radius: var(--d-base-border-radius);
    background: var(--d-page-content-bg) no-repeat 50% 50%;
    background-size: 100% 100%;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
  }
  input[type="radio"] {
    border-radius: 50%;
  }
  /* Hover / Active */
  input[type="checkbox"]:active,
  input[type="checkbox"]:hover,
  input[type="radio"]:active,
  input[type="radio"]:hover {
    border-color: var(--color-dark-grey-hover);
    box-shadow: 0 0 0 0.1rem var(--color-dark-grey-hover) inset;
  }
  /* Checkboxes */
  input[type="checkbox"]:checked {
    background-color: #2c71d9;
    background-image: url("data:image/svg+xml,%3csvg width='16' height='16' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M3.795 7.096l2.387 2.506 6.023-6.327 1.484 1.56-7.507 7.89L2.31 8.656z' fill='%23fff'/%3e%3c/svg%3e");
  }
  input[type="checkbox"]:checked:active,
  input[type="checkbox"]:checked:hover {
    background-color: #1a51c9;
  }
  /* Radios */
  input[type="radio"]:checked {
    background-image: url("data:image/svg+xml,%3csvg width='17' height='17' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle r='4.5' cx='8.5' cy='8.5' fill='%232c71d9'/%3e%3c/svg%3e");
  }
  input[type="radio"]:checked:active,
  input[type="radio"]:checked:hover {
    background-image: url("data:image/svg+xml,%3csvg width='17' height='17' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle r='4.5' cx='8.5' cy='8.5' fill='%231a51c9'/%3e%3c/svg%3e");
  }
  /* Disabled */
  input[type="checkbox"][disabled]:active,
  input[type="checkbox"][disabled]:hover,
  input[type="radio"][disabled]:active,
  input[type="radio"][disabled]:hover {
    border-color: var(--color-dark-grey);
    box-shadow: none;
  }

}
@media (forced-colors: active) { /* don't apply if forced colours is active */
  .form-checkbox {
    -webkit-appearance: auto;
    appearance: auto;
  }
}

/* === Form Option Buttons === */
.webform-options-display-buttons,
.form-composite.webform-fieldset--title-inline .fieldset-wrapper > div.webform-options-display-buttons {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 var(--d-space-xxxs) 0;
  width: 100%;
}
.webform-options-display-buttons .webform-options-display-buttons-wrapper {
  margin: 0;
  flex: 0 1 auto;
}
.webform-options-display-buttons .webform-options-display-buttons-wrapper:not(:first-child) label {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.webform-options-display-buttons .webform-options-display-buttons-wrapper:not(:last-child) label {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

/* === Date items === */
.form-type-datetime .container-inline div,
.form-type-datelist .container-inline div {
  display: inline-block;
}
.form-item.form-type-datelist .container-inline {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-content: stretch;
  align-items: flex-start;
}
.form-type-datelist .form-type-select {
  min-width: 19.65%;
  width: 32%;
}
/* === Form Color === */
input.form-color.form-color-small,
input.form-color.form-color-medium,
input.form-color.form-color-large {
  width: 3rem;
  height: 5rem;
  border-right-width: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
input.form-color.form-color-medium {
  width: 5rem;
}
input.form-color.form-color-large {
  width: 10rem;
}
input.form-color.form-color-output {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
input[type=checkbox].form-color.form-color-small,
input[type=checkbox].form-color.form-color-medium,
input[type=checkbox].form-color.form-color-large{
  width: 2%;
  height: auto; /* same as prefix and suffix */
  font-size: inherit;
  display: inline-block;
}
input[type=checkbox].form-color.form-color-medium {
  width: 5%;
}
input[type=checkbox].form-color.form-color-large {
  width: 10%;
}
/* === Signature Pad === */
.form-type-webform-signature .webform-signature-pad .button {
  top: 1rem;
  right: 1rem;
}
.form-type-webform-signature .description {
  margin-top: 0.8rem;
}
form label.button {
  width: auto;
}
/* === Composite Form Elements === */
.form-composite.webform-fieldset--title-inline legend {
  float: none;
  margin: 0;
}
.form-composite.webform-fieldset--title-inline .fieldset-wrapper,
.form-composite.webform-fieldset--title-inline .fieldset-wrapper > div {
  display: block;
}
.form-item-custom-composite-add-more-items input {
  display: inline;
  width: auto;
}
.webform-telephone--wrapper .form-item,
.webform-telephone--wrapper input,
.webform-telephone--wrapper label {
  display: inline-block;
  width: auto;
}
.webform-multiple-table table {
  margin: 0;
}
.webform-multiple-add .container-inline div,
.webform-multiple-add .form-type-number,
.webform-multiple-add .form-type-number span,
.webform-multiple-add .form-type-number .form-number {
  display: inline-block !important;
}
.webform-multiple-add .form-type-number {
  white-space: nowrap;
}
.webform-multiple-add .form-type-number span {
  float: none !important;
  white-space: nowrap;
  background-color:transparent !important;
  width: auto !important;
}
.webform-multiple-add input,
.webform-multiple-add .form-type-number span {
  padding-top: 0.6rem !important;
  padding-bottom: 0.6rem !important;
  font-size: var(--d-font-size-xs);
  margin-bottom: 0;
}
.webform-multiple-table .tabledrag-toggle-weight-wrapper {
  display: none;
}
.webform-multiple-table th,
.webform-multiple-table tr {
  background-color:transparent;
}
.webform-multiple-table th,
.webform-multiple-table td {
  border: none;
  padding-left: 0 !important;
  line-height:normal !important;
}
.webform-multiple-table td {
  padding-top: 0 !important;
}
/* === Descriptions ===*/
.description,
fieldset .fieldset-description,
details .details-description {
  margin-bottom: var(--d-space-xxxs);
  margin-top: calc(var(--d-space-xxxs) * -1);
  display: inline-block;
}
.form-item .container-inline + .description {
  margin-bottom: var(--d-space-ml);
  margin-top: calc(var(--d-margin-bottom-base) * -1);
}
fieldset .fieldset-description,
fieldset .fieldset-description div,
fieldset .fieldset-description p,
details .details-description,
details .details-description div,
details .details-description p,
.form-item .description,
.form-item .description div,
.form-item .description p,
.webform-submission-form .tabledrag-toggle-weight-wrapper .link,
.password-strength__title,
.password-confirm-message {
  font-style:italic;
}
.webform-submission-form .tabledrag-toggle-weight-wrapper{
  margin-bottom:-1rem;
}
/* === Required / Error === */
.marker {
  color: var(--color-red);
}
.form-required:after {
  content: '';
  vertical-align: super;
  display: inline-block;
  /* Use a background image to prevent screen readers from announcing the text. */
  background-image: url(../images/icons/required.svg);
  background-repeat: no-repeat;
  background-size: 0.6rem 0.6rem;
  width: 0.6rem;
  height: 0.6rem;
  margin: 0 0.3rem;
}
.form-item--error-message {
  color: var(--color-red);
}
.form-item--error-message:before {
  content: '';
  display: inline-block;
  height: var(--d-font-size-base);
  width: var(--d-font-size-base);
  vertical-align: sub;
  background-image: url(../images/icons/error.svg);
  background-repeat: no-repeat;
  background-size: contain;
}
.error input.form-text:invalid,
.error input.form-tel:invalid,
.error input.form-email:invalid,
.error input.form-url:invalid,
.error input.form-search:invalid,
.error input.form-file:invalid,
.error input.form-number:invalid,
.error input.form-color:invalid,
.error textarea.form-textarea:invalid,
.error select.form-select:invalid,
.error select.facets-dropdown:invalid {
  border:1px solid var(--color-red);
  box-shadow: inset 0px 0px 3px 0px rgba(0,0,0,0.25),0px 0px 3px 0px rgba(204,0,0,1);
}
.form-item input.error,
.form-item textarea.error,
.form-item select.error,
.form-item textarea.error,
.form-item textarea.error + .cke,
.stripe-form .form-text.error {
  border: 2px solid var(--color-red);
}
/* === Disabled form elements === */
.form-disabled input,
.form-disabled select,
.form-disabled textarea {
  opacity: 0.5;
}
.form-disabled label {
  opacity: 0.5;
}
/* === Password === */
.password-suggestions ul li {
  margin-left:1.8rem;
}
/* --------------- Search Form ---------------- */
#searchbox.searchbox-header .search-block-form form,
#searchbox.searchbox-nav .search-block-form form,
#search-form.search-form .container-inline {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-content: flex-start;
  align-items: flex-end;
}
#searchbox.searchbox-header .search-block-form form .form-type-search,
#searchbox.searchbox-header .search-block-form form .form-actions.form-wrapper,
#searchbox.searchbox-nav .search-block-form form .form-type-search,
#searchbox.searchbox-nav .search-block-form form .form-actions.form-wrapper,
#search-form.search-form .container-inline .form-type-search,
#search-form.search-form .container-inline .form-submit {
  flex: 0 1 75%;
  align-self: auto;
}
#searchbox.searchbox-header .search-block-form form .form-type-search,
#searchbox.searchbox-header .search-block-form form .form-actions.form-wrapper,
#searchbox.searchbox-nav .search-block-form form .form-type-search,
#searchbox.searchbox-nav .search-block-form form .form-actions.form-wrapper,
#search-form.search-form .container-inline .form-type-search {
  padding-bottom: 0;
}
#searchbox.searchbox-header .search-block-form form .form-actions.form-wrapper,
#searchbox.searchbox-nav .search-block-form form .form-actions.form-wrapper,
#search-form.search-form .container-inline .form-submit {
  flex: 0 1 25%;
  align-self: auto;
}
#searchbox.searchbox-header .search-block-form form .form-search,
#searchbox.searchbox-header .search-block-form form .form-submit,
#searchbox.searchbox-nav .search-block-form form .form-search,
#searchbox.searchbox-nav .search-block-form form .form-submit,
#search-form.search-form .container-inline .form-search,
#search-form.search-form .container-inline .form-submit {
  width: 100%;
}
#searchbox.searchbox-header .search-block-form form .form-search,
#searchbox.searchbox-nav .search-block-form form .form-search,
#search-form.search-form .container-inline .form-search {
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
}
#searchbox.searchbox-header .search-block-form form .form-submit,
#searchbox.searchbox-nav .search-block-form form .form-submit,
#search-form.search-form .container-inline .form-submit { /*Search Button */
  margin-right: 0;
  cursor:pointer;
  text-indent:-9999px;
  text-transform:capitalize; /* This forces IE7 to accept the negative text-indent */
  overflow:hidden;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
}
#search-form .container-inline label {
  display: block;
}
#search-form #edit-basic:after { /* Clearfix on Search wrapper DIV */
  clear: both;
  content: "";
  display: table;
}
#search-form .container-inline .form-submit,
.searchbox-header .form-submit,
.searchbox-nav .form-submit,
#search-form .search-advanced input.form-submit { /*Search Button */
  background-color:var(--d-menu-search-bg);
  background-image: url(../images/icons/search-icon-white.svg);
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: center;
  border-color: var(--d-menu-search-border);
  color:var(--d-menu-search-color);
}
#search-form .search-advanced input.form-submit { /*Search Button */
  background-image: none;
}
#search-form .container-inline .form-submit:hover,
#search-form .container-inline .form-submit:focus,
.searchbox-header .form-submit:hover,
.searchbox-header .form-submit:focus,
.searchbox-nav .form-submit:hover,
.searchbox-nav .form-submit:focus,
#search-form .search-advanced input.form-submit:hover,
#search-form .search-advanced input.form-submit:focus { /*Search Button - hover */
  background-color:var(--d-menu-search-bg-hover);
  background-image: url(../images/icons/search-icon-white.svg);
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: center;
  border-color: var(--d-menu-search-border-hover);
  color:var(--d-menu-search-color-hover);
}
#search-form .search-advanced input.form-submit:hover,
#search-form .search-advanced input.form-submit:focus { /*Search Button - hover */
  background-image: none;
}
#search-form .search-advanced label {
  font-weight: 300;
}
/* === Search Results === */
ol.search-results {
  padding-left: 0;
  list-style: none;
}
ol.search-results li {
  border-bottom:1px solid var(--color-light-grey-hover);
}

#edit-help-link {
  display: block;
  line-height:normal !important;
}
.webform-element-help {
  margin: 0.2rem 0.7rem 0 0.7rem;
  vertical-align: top;
}

/* Media edit button in CKEditor */
/*button.media-library-item__edit {
  font-size: 85%;
  padding: 3px 10px 2px 10px;
  background: var(--color-very-light-grey);
  position: absolute;
  margin: 0 auto;
  left: 0;
  right: 0;
  opacity: 0.7;
}
button.media-library-item__edit:hover,
button.media-library-item__edit:focus {
  font-size: 85%;
  padding: 3px 10px 2px 10px;
  background: var(--color-very-light-grey-hover);
  opacity: 0.85;
}*/
/* Closed items, Secondary items and Field Prefix/Suffix*/
details summary, /* Closed Details */
.webform-scale-options input + label,
.webform-element-help,
/*.cart-form #edit-submit,*/ /* Commerce Secondary Button */
div span.field-prefix,
div:not(.form-item-custom-composite-add-more-items) > span.field-suffix {
  background-color:var(--color-light-grey);
  border-color:var(--color-light-grey); /* always have a border - if you don't want a visual border, make this the same colour as the background colour above */
  color:var(--d-button-bg);
  font-weight:bolder;
  text-shadow: none;
}
/* Closed items and Secondary items on hover */
details summary:hover, /* Closed Details */
details summary:focus, /* Closed Details */
.webform-scale-options input + label:hover,
.webform-scale-options input + label:focus,
.webform-element-help:hover,
.webform-element-help:focus {
  background-color:var(--color-light-grey-hover);
  border-color:var(--color-light-grey-hover); /* always have a border - if you don't want a visual border, make this the same colour as the background colour above */
  color:var(--d-button-bg-hover);
}
/* Open Items*/
details[open] summary, /* Details Summary - open */
details[open] summary:hover, /* Details Summary - open */
details[open] summary:focus, /* Details Summary - open */
.webform-scale-options input:checked + label {
  background-color:var(--d-button-bg);
  border-color:var(--d-button-border); /* always have a border - if you don't want a visual border, make this the same colour as the background colour above */
  color:var(--d-button-color);
  font-weight:bolder;
  text-shadow: none;
}
/* === Progress Tracker ===*/
.progress-step.is-active .progress-marker::before,
.webform-progress-tracker .progress-step.is-active:hover .progress-marker::before {
  background-color: var(--d-button-bg);
}
/* --------------- Range Slider on Webform --------------- */
input[type=range] {
  -webkit-appearance: none;
  margin: var(--d-space-s) 0;
  width: 100%;
}
input[type=range]:focus {
  outline: none;
}
/* Range Track */
input[type=range] {
  -webkit-appearance: none;
  margin: var(--d-space-s) 0;
  width: 100%;
}
input[type=range]:focus {
  outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 10px;
  cursor: pointer;
  animate: 0.2s;
  box-shadow: 1px 1px 2px #000000;
  background: var(--d-color-base);
  border-radius: 5px;
  border: 1px solid var(--color-dark-grey);
}
input[type=range]::-webkit-slider-thumb {
  box-shadow: 1px 1px 1px var(--d-color-base);
  border: 1px solid var(--d-button-border);
  height: 30px;
  width: 30px;
  border-radius: 15px;
  background: var(--d-button-bg);
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -11px;
}
input[type=range]:focus::-webkit-slider-runnable-track {
  background: var(--d-color-base);
}
input[type=range]::-moz-range-track {
  width: 100%;
  height: 10px;
  cursor: pointer;
  animate: 0.2s;
  box-shadow: 1px 1px 2px #000000;
  background: var(--d-color-base);
  border-radius: 5px;
  border: 1px solid var(--color-dark-grey);
}
input[type=range]::-moz-range-thumb {
  box-shadow: 1px 1px 1px var(--d-color-base);
  border: 1px solid var(--d-button-border);
  height: 30px;
  width: 30px;
  border-radius: 15px;
  background: var(--d-button-bg);
  cursor: pointer;
}
input[type=range]::-ms-track {
  width: 100%;
  height: 10px;
  cursor: pointer;
  animate: 0.2s;
  background: transparent;
  border-color: transparent;
  color: transparent;
}
input[type=range]::-ms-fill-lower {
  background: var(--d-color-base);
  border: 1px solid var(--color-dark-grey);
  border-radius: 10px;
  box-shadow: 1px 1px 2px #000000;
}
input[type=range]::-ms-fill-upper {
  background: var(--d-color-base);
  border: 1px solid var(--color-dark-grey);
  border-radius: 10px;
  box-shadow: 1px 1px 2px #000000;
}
input[type=range]::-ms-thumb {
  box-shadow: 1px 1px 1px var(--d-color-base);
  border: 1px solid var(--d-button-border);
  height: 30px;
  width: 30px;
  border-radius: 15px;
  background: var(--d-button-bg);
  cursor: pointer;
}
input[type=range]:focus::-ms-fill-lower {
  background: var(--d-color-base);
}
input[type=range]:focus::-ms-fill-upper {
  background: var(--d-color-base);
}
.webform-submission-form #ajax-wrapper {
  line-height:normal !important;
}
/* CKEditor Webforms */
.ck.ck-button {
  padding: 0.25rem !important;
  margin:0.25rem !important;
  background: transparent !important;
  border: transparent !important;
  color: var(--d-color-base) !important;
  box-shadow: none !important;
  border-radius:0 !important;
  transition:all var(--d-transition-base);
}
.ck.ck-button:hover {
  background: var(--color-light-grey) !important;
}
.ck.ck-toolbar .ck.ck-toolbar__separator {
  margin-left: var(--d-space-xxxs);
  margin-right: var(--d-space-xxxs);
}
.ck.ck-content.ck-editor__editable {
  min-height: 30rem !important;
}
.ck.ck-button.ck-button-save {
  color: var(--ck-color-button-save) !important;
}
.ck.ck-button.ck-button-cancel{
  color: var(--ck-color-button-cancel) !important;
}
/* ------------------------------------- RESPONSIVE ADJUSTMENTS ------------------------------------- */
@media all and (min-width: 768px), print {
  /* TABLET - Non-Retina - (768px–1024px) */

  /* -------------- Form Elements   ------------- */
 .webform-flexbox {
    margin: 0 calc((var(--inner-padding-lr) / 2) * -1);
  }
  .webform-flex--container {
    margin: 0 calc(var(--inner-padding-lr) / 2);
  }
  /* === Inine Forms === */
  .form--inline {
    display: flex;
    align-items: flex-end;
  }
  .form--inline .form-item,
  .form--inline .form-actions{
    margin-right: var(--d-space-s);
  }
  .form--inline div:last-child {
    margin-right: 0;
  }

}
@media
only screen and (min-device-pixel-ratio: 2) and (min-width: 768px),
only screen and (min-resolution: 192dpi) and (min-width: 768px),
only screen and (min-resolution: 2dppx) and (min-width: 768px) {
  /* TABLET - Retina - (768px–1024px) */

}
@media all and (min-width: 1025px), print {
  /* DESKTOP SMALL - Non-Retina - (1025px–1280px) */

  /* -------------- Form Elements   ------------- */
  .webform-element--title-inline.form-item.form-type-datelist .container-inline,
  .webform-element--title-inline.webform-options-display-buttons {
      width: 70%;
  }
  .webform-options-display-buttons .webform-options-display-buttons-wrapper {
    flex: 0 1 auto;
  }
  .webform-element--title-inline.form-type-datelist .form-type-select {
    min-width: 19.5%;
  }
  div.webform-element--title-inline:not(.form-type-checkbox):not(.form-type-webform-same),
  .webform-fieldset--title-inline .webform-flex--container > div,
  fieldset.form-composite.webform-element--title-inline:not(.webform-composite-hidden-title) > .fieldset-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-content: stretch;
    align-items: center;
  }
  div.webform-element--title-inline.form-type-textarea {
    align-items: flex-start !important;
  }
  .webform-element--title-inline input.form-text,
  .webform-element--title-inline input.form-tel,
  .webform-element--title-inline input.form-email,
  .webform-element--title-inline input.form-url,
  .webform-element--title-inline input.form-number,
  .webform-element--title-inline input.form-range,
  .webform-element--title-inline .form-textarea-wrapper,
  .webform-element--title-inline:not(.form-type-datelist):not(.webform-select-other) select.form-select,
  .webform-element--title-inline select.facets-dropdown, /* This needs to be checked */
  .webform-fieldset--title-inline input.form-email,
  .webform-element--title-inline input.form-search,
  .webform-element--title-inline .webform-multiple-table,
  .form-composite.webform-fieldset--title-inline:not(.webform-composite-hidden-title) .fieldset-wrapper,
  fieldset.form-composite.webform-element--title-inline:not(.webform-composite-hidden-title) .fieldset-wrapper {
    width:70%;
  }
  .webform-element--title-inline.webform-has-field-prefix input.form-text,
  .webform-element--title-inline.webform-has-field-prefix input.form-tel,
  .webform-element--title-inline.webform-has-field-prefix input.form-email,
  .webform-element--title-inline.webform-has-field-prefix input.form-url,
  .webform-element--title-inline.webform-has-field-prefix input.form-number,
  .webform-element--title-inline.webform-has-field-prefix input.form-range,
  .webform-element--title-inline.webform-has-field-prefix .form-textarea-wrapper,
  .webform-element--title-inline:not(.form-type-datelist):not(.webform-select-other).webform-has-field-prefix select.form-select,
  .webform-element--title-inline.webform-has-field-prefix select.facets-dropdown, /* This needs to be checked */
  .webform-fieldset--title-inline.webform-has-field-prefix input.form-email,
  .webform-element--title-inline.webform-has-field-prefix input.form-search,
  .webform-element--title-inline.webform-has-field-suffix input.form-text,
  .webform-element--title-inline.webform-has-field-suffix input.form-tel,
  .webform-element--title-inline.webform-has-field-suffix input.form-email,
  .webform-element--title-inline.webform-has-field-suffix input.form-url,
  .webform-element--title-inline.webform-has-field-suffix input.form-number,
  .webform-element--title-inline.webform-has-field-suffix input.form-range,
  .webform-element--title-inline.webform-has-field-suffix .form-textarea-wrapper,
  .webform-element--title-inline:not(.form-type-datelist):not(.webform-select-other).webform-has-field-suffix select.form-select,
  .webform-element--title-inline.webform-has-field-suffix select.facets-dropdown, /* This needs to be checked */
  .webform-fieldset--title-inline.webform-has-field-suffix input.form-email,
  .webform-element--title-inline.webform-has-field-suffix input.form-search {
    width:65%;
  }
  .webform-element--title-inline.webform-has-field-prefix.webform-has-field-suffix input.form-text,
  .webform-element--title-inline.webform-has-field-prefix.webform-has-field-suffix input.form-tel,
  .webform-element--title-inline.webform-has-field-prefix.webform-has-field-suffix input.form-email,
  .webform-element--title-inline.webform-has-field-prefix.webform-has-field-suffix input.form-url,
  .webform-element--title-inline.webform-has-field-prefix.webform-has-field-suffix input.form-number,
  .webform-element--title-inline.webform-has-field-prefix.webform-has-field-suffix input.form-range,
  .webform-element--title-inline.webform-has-field-prefix.webform-has-field-suffix .form-textarea-wrapper,
  .webform-element--title-inline:not(.form-type-datelist):not(.webform-select-other).webform-has-field-prefix.webform-has-field-suffix select.form-select,
  .webform-element--title-inline.webform-has-field-prefix.webform-has-field-suffix select.facets-dropdown, /* This needs to be checked */
  .webform-fieldset--title-inline.webform-has-field-prefix.webform-has-field-suffix input.form-email,
  .webform-element--title-inline.webform-has-field-prefix.webform-has-field-suffix input.form-search {
    width:60%;
  }
  div span.field-prefix,
  div:not(.form-item-custom-composite-add-more-items) > span.field-suffix {
  width: 5%;
  }
  .webform-element--title-inline .webform-multiple-table input.form-text,
  .webform-element--title-inline .webform-multiple-table input.form-tel,
  .webform-element--title-inline .webform-multiple-table input.form-email,
  .webform-element--title-inline .webform-multiple-table input.form-url,
  .webform-element--title-inline .webform-multiple-table input.form-number,
  .webform-element--title-inline .webform-multiple-table input.form-range,
  .webform-element--title-inline:not(.form-type-datelist) .webform-multiple-table select.form-select,
  .webform-fieldset--title-inline .webform-multiple-table input.form-email,
  .webform-element--title-inline .webform-multiple-table input.form-search,
  fieldset.webform-type-webform-name.form-composite.webform-element--title-inline:not(.webform-composite-hidden-title) .fieldset-wrapper fieldset.webform-select-other--wrapper .fieldset-wrapper,
  fieldset.webform-select-other--wrapper select.form-select,
  fieldset.webform-select-other--wrapper input.form-text,
  .webform-type-webform-name .form-type-textfield input.form-text {
    width:100%;
  }
  .webform-element--title-inline .form-managed-file {
    width:calc(70% - 2px); /* needs to be slightly narrower as this element has a border */
  }
  .webform-element--title-inline > label,
  .webform-fieldset--title-inline label,
  .form-composite.webform-fieldset--title-inline:not(.webform-composite-hidden-title) legend,
  fieldset.form-composite.webform-element--title-inline:not(.webform-composite-hidden-title) > legend {
    width:28%;
    padding-right: 2%;
  }
  /* Display Flex doesn't work on Fieldsets - so have to use floats instead */
  .form-composite.webform-fieldset--title-inline:not(.webform-composite-hidden-title) legend,
  fieldset.form-composite.webform-element--title-inline:not(.webform-composite-hidden-title) > legend {
    float: left;
  }
  .form-composite.webform-fieldset--title-inline:not(.webform-composite-hidden-title) .fieldset-wrapper {
    float: right;
  }
  .webform-element--title-inline.form-type-checkbox,
  .webform-element--title-inline.form-type-webform-same,
  .webform-element--title-inline .webform-checkboxes-other-input input,
  .webform-element--title-inline .webform-radios-other-input input,
  .webform-element--title-inline .description,
  .webform-element--title-inline fieldset .fieldset-description,
  .webform-element--title-inline details .details-description,
  .webform-element--title-inline .webform-multiple-add {
    margin-left: 30%; /* Same as width plus padding above */
  }
  .form-composite.webform-fieldset--title-inline:not(.webform-composite-hidden-title) .fieldset-wrapper .description {
    margin-left: 0; /* Reset margin on Description as the margin is already set on the .fieldset-wrapper */
  }
  .webform-element--title-inline .rateit .rateit-range {
    margin-top: 0.1rem;
  }
  .webform-type-webform-name fieldset.webform-select-other--wrapper .fieldset-wrapper {
    width: 18% !important;
    padding-right: 2%;
  }
  .webform-type-webform-name .form-type-textfield {
    width: 39%;
  }
  .webform-type-webform-name .form-type-textfield:first-of-type {
    padding-right: 2%;
  }
  /* --------------- Cleafix all form items --------------- */
  .form-item:after,
  input.form-text:after,
  input.form-tel:after,
  input.form-email:after,
  input.form-url:after,
  input.form-number:after,
  input.form-color:after,
  textarea.form-textarea:after,
  select.form-select:after,
  select.facets-dropdown:after {
    display: table;
    clear: both;
    content: "";
  }
  /* reset from Webform */
  .webform-flexbox {
    display: flex;
  }
  /* Form-items */
  input.form-text,
  input.form-tel,
  input.form-email,
  input.form-url,
  input.form-search,
  input.form-number,
  input.form-color.form-color-output,
  input.form-date,
  input.form-time,
  textarea.form-textarea,
  select.form-select,
  select.facets-dropdown,
  /*.webform-submission-form #ajax-wrapper,*/
  form .CodeMirror .CodeMirror-lines,
  .form-type-webform-signature canvas5,
  .form-managed-file span.file,
  .stripe-form .form-text,
  .form-managed-file {
    padding-left: var(--d-space-m);
    padding-right: var(--d-space-m);
  }
  input.form-file,
  .form-managed-file span.file { /* Same as above except Margin */
    margin-left: var(--d-space-m);
    margin-right: var(--d-space-m);
  }
  .webform-signature-pad input.form-submit {
    padding: var(--d-space-xxs) var(--d-space-s);
  }
  .webform-multiple-add input.form-submit {
    padding: var(--d-space-s);
  }
  .webform-element--title-inline.form-type-textarea > label,
  fieldset.form-composite.webform-element--title-inline:not(.webform-composite-hidden-title) > legend,
  .webform-multiple-table th {
    padding-top: calc(var(--d-space-s) + 1px); /* same as above plus border width */
  }
  .webform-element--title-inline.form-type-webform-rating > label,
  .webform-element--title-inline.form-type-range > label {
    padding-top: 0.3rem !important;
  }

}
@media
only screen and (min-device-pixel-ratio: 2) and (min-width: 1025px),
only screen and (min-resolution: 192dpi) and (min-width: 1025px),
only screen and (min-resolution: 2dppx) and (min-width: 1025px) {
  /* DESKTOP SMALL - Retina - (1025px–1280px) */

}
@media all and (min-width: 1281px) {
  /* DESKTOP - Non-Retina - (1281px–1920px) */

}
@media
only screen and (min-device-pixel-ratio: 2) and (min-width: 1281px),
only screen and (min-resolution: 192dpi) and (min-width: 1281px),
only screen and (min-resolution: 2dppx) and (min-width: 1281px) {
  /* DESKTOP - Retina - (1281px–1920px) */

}
@media all and (min-width: 1921px) {
  /* DESKTOP LARGE - Non-Retina - (1921px and larger) */


}
@media
only screen and (-webkit-min-device-pixel-ratio: 2) and (min-width: 1921px),
only screen and (min--moz-device-pixel-ratio: 2) and (min-width: 1921px),
only screen and (-o-min-device-pixel-ratio: 2/1) and (min-width: 1921px),
only screen and (min-device-pixel-ratio: 2) and (min-width: 1921px),
only screen and (min-resolution: 192dpi) and (min-width: 1921px),
only screen and (min-resolution: 2dppx) and (min-width: 1921px) {
  /* DESKTOP LARGE - Retina - (1921px and larger) */

}
